/* ============================================
   RESET & BASE
   ============================================ */

/* Suppression des marges/paddings par défaut */
* {
  margin: 0;
  padding: 0;
}

/* Modèle de boîte uniforme sur tous les éléments */
*,
*::before,
*::after {
  box-sizing: border-box;
}


/* ============================================
   VARIABLES — Palette brune + neutres
   ============================================ */

:root {
 
  --text-main:    #2a1a10;  /* Texte principal */
  --text-muted:   #7a5c4e;  /* Texte secondaire */
  --stats-band-height: 90px; /* était 90px, réduit d'un chouilla */
   --bg:          #cfc9c9;
}


/* ============================================
   BASE
   ============================================ */


body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  background-color: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
}


/* ============================================
   HERO — Section plein écran avec image de fond
   ============================================ */

.hero {
  margin-top: 10px;
  /*min-height: calc(100vh - 10px); */
  min-height: calc(100vh - 90px); /* 70px ≈ hauteur du stats-band */
  margin-top: 0; /* retire le margin-top: 10px si tu veux un vrai 100vh */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Image de fond absolue */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: brightness(1.3);
}

/* Overlay sombre pour lisibilité du texte */
.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(100deg, rgba(0,0,0,0.75) 5%, rgba(0,0,0,0.25) 95%, transparent 100%); */
  z-index: 1;
}

/* Contenu centré au-dessus de l'overlay */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 3rem;
  width: 100%;
}

/* Petit label au-dessus du titre */
.hero-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8c9a0;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

/* Titre principal — police serif élégante */
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem); /* Fluide entre mobile et desktop */
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  max-width: 800px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

/* Accent doré sur les mots en italique */
.hero-title em {
  font-style: italic;
  color: #e8c9a0;
}

/* Texte d'accroche sous le titre */
.hero-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

/* Bouton CTA */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #867063;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
/*  border-radius: 4px; */
  transition: background 0.2s;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-cta:hover {
  background: var(--brown-dark);
}

.hero-cta svg {
  width: 14px;
  height: 14px;
}


/* ============================================
   STATS BAND — Bandeau de chiffres clés
   ============================================ */
/*
.stats-band {
  position: relative;
  padding: 2rem 3rem;
  overflow: hidden;
}
*/
.stats-band {
  position: relative;
  overflow: hidden;
  height: var(--stats-band-height);
  display: flex;
  align-items: center;
  padding-inline: 3rem;
}

/* Image de fond du bandeau */
.stats-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stats-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(1.2);
}

/* Overlay sombre pour faire ressortir les chiffres */
.stats-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1;
}

/* Grille des stats au-dessus de l'overlay */
.stats-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
}

/* Cellule stat — séparateur vertical entre les items */
.stats-item {
  text-align: center;
  padding: 1rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-item:last-child {
  border-right: none;
}

/* Grand chiffre doré */
.stats-number {
  font-size: 2.2rem;
  font-weight: 500;
  color: #e8c9a0;
  line-height: 1;
}

/* Label discret sous le chiffre */
.stats-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}


/* ============================================
   MAIN SECTION — Contenu principal centré
   ============================================ */

.main-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 3rem;
}

/* Label de section avec ligne décorative à droite */
.section-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--brown-mid);
}




/* ============================================
   ANIMATIONS
   ============================================ */

/* Animation d'entrée vers le haut */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Classe utilitaire — fade simple avec léger glissement */
.fade-in {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

/* Délais échelonnés pour les apparitions en cascade */
.fade-in-1 { animation-delay: 0.10s; }
.fade-in-2 { animation-delay: 0.25s; }
.fade-in-3 { animation-delay: 0.40s; }
.fade-in-4 { animation-delay: 0.55s; }

/* ============================================
   MOBILE (>= 769px)
   ============================================ */

@media only screen and (min-width: 769px) {
  html {
    overflow-y: scroll;
  }
}



/* ============================================
   MOBILE (< 768px)
   ============================================ */

@media only screen and (max-width: 768px) {

  html {
    font-size: 14px;
    scroll-behavior: smooth;
  }

  body {
    font-weight: 300;
    line-height: 1.5;
  }

 /* .smart { display: none; }*/

  .stats-band { display: none; }

  .hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100svh - 20px); /* ← 20px = 10px top + 10px bottom */
    height: auto;
    margin: 10px;
    align-items: flex-start; /* ← remonte le contenu en haut */
    display: flex;            /* ← s'assurer que flex est actif */
  }

  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
  }

  .hero-content {       /* ← une seule déclaration, propre */
    position: relative;
    z-index: 2;
    padding: 1.5rem 1.25rem;
    color: #fff;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero-body {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 1.75rem;
  }

  .hero-cta {
    font-size: 12px;
    padding: 10px 22px;
  }

  .about-strip {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
}