/* =============================================================================
   KAZ CONCEPT — Feuille de style principale
   Habitat modulaire · La Réunion
   -----------------------------------------------------------------------------
   Organisation du fichier :
     1.  Variables (couleurs, polices, espacements)  → personnalisables ici
     2.  Réinitialisation & bases
     3.  Utilitaires de mise en page (.container, .section…)
     4.  Typographie (titres, éléments décoratifs)
     5.  Boutons
     6.  En-tête / navigation
     7.  Hero (grande accroche)
     8.  Cartes & grille de modèles
     9.  Sections spécifiques (atouts, étapes, à propos…)
     10. Galerie
     11. Formulaires
     12. Pied de page
     13. Bouton WhatsApp flottant
     14. Animations au défilement
     15. Responsive (mobile en priorité)

   👉 Toute la palette se règle dans la section 1. Modifiez une variable,
      elle s'applique partout.
   ========================================================================== */

/* 1. ------------------------------------------------------------------ VARIABLES */
:root {
  /* Couleurs de marque (issues du logo Kaz Concept) */
  --gold:        #A88B5F;   /* or bronze — couleur principale */
  --gold-dark:   #A88B5F;   /* unifié sur le doré principal #A88B5F (aucune nuance différente) */
  --gold-light:  #A88B5F;   /* unifié sur le doré principal #A88B5F */
  --anthracite:  #26282C;   /* anthracite — couleur secondaire */

  /* Neutres & fonds */
  --ink:         #26282C;   /* texte courant */
  --muted:       #6B6E74;   /* texte secondaire */
  --cream:       #FAF7F2;   /* fond crème, sections claires */
  --cream-2:     #F3ECE1;   /* fond crème plus marqué */
  --line:        #E8E1D5;   /* filets / bordures */
  --white:       #FFFFFF;

  /* Typographie */
  --font-title: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Mise en page */
  --container:  1200px;
  --container-narrow: 820px;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 18px 50px -22px rgba(38, 40, 44, .28);
  --shadow-sm:  0 8px 24px -14px rgba(38, 40, 44, .25);

  /* Rythme vertical des sections */
  --section-y:  clamp(2.25rem, 5vw, 4rem);

  /* Transitions */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. -------------------------------------------------------- RÉINITIALISATION */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;            /* 17px */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 3. ------------------------------------------------------------- UTILITAIRES */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }

.section--cream { background: var(--cream); }
.section--dark  { background: var(--anthracite); color: #EDEBE7; }

.text-center { text-align: center; }

/* En-tête de section : petit label + grand titre + intro */
.section-head { max-width: 680px; margin-bottom: clamp(1.7rem, 4vw, 2.6rem); }
.section-head.text-center { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--gold);
  display: inline-block;
}
.text-center .eyebrow { justify-content: center; }

/* 4. ------------------------------------------------------------ TYPOGRAPHIE */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--anthracite);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--muted);
  line-height: 1.6;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }

/* 5. ----------------------------------------------------------------- BOUTONS */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s var(--ease),
              color .3s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn--gold    { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); }

.btn--dark    { background: var(--anthracite); color: #fff; }
.btn--dark:hover { background: #15171a; }

.btn--outline {
  background: transparent;
  color: var(--anthracite);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold-dark); }

/* Variante claire (sur fonds sombres / hero) */
.btn--ghost-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: #fff; color: var(--anthracite); border-color:#fff; }

.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.04rem; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Lien fléché discret */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* 6. ----------------------------------------------------- EN-TÊTE / NAVIGATION */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 78px;
}
/* Logo = image complète fournie (cubes dorés + « Kaz Concept » + « Habitat modulaire »).
   Utilisée telle quelle, sans recolorer : l'en-tête est donc à fond clair pour
   garantir la lisibilité du texte foncé du logo. */
.brand { display: inline-flex; align-items: center; }
.brand__img { display: block; height: 64px; width: auto; transition: height .35s var(--ease); }

/* En-tête plein (fond blanc) — état utilisé sur toutes les pages. */
.site-header--transparent { background: transparent; }
.site-header--transparent .nav__link { color: rgba(255,255,255,.92); }
.site-header--transparent .nav__toggle span { background: #fff; }

.site-header--solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -20px rgba(0,0,0,.5);
}
.site-header--solid .brand__img { height: 64px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 1.7rem; }
.nav__link {
  position: relative;
  font-size: .96rem;
  font-weight: 500;
  color: var(--ink);
  padding: .25rem 0;
  transition: color .25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link:hover { color: var(--gold-dark); }
.site-header--transparent .nav__link:hover { color: #fff; }

/* Bouton hamburger (mobile) */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--anthracite);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
  margin-inline: auto;
}

/* 7. ------------------------------------------------------------------- HERO */
/* Le hero affiche la photo de bannière EN ENTIER (jamais rognée sur les côtés) :
   l'image occupe toute la largeur, sa hauteur suit son ratio. Le texte se place
   par-dessus le bas de l'image (grands écrans) ou juste en dessous (mobile). */
.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  background: var(--anthracite);
}
/* On garde toute la largeur (aucune maison coupée sur les côtés) et on retire
   seulement une fine bande de ciel EN HAUT — cela supprime le logo incrusté
   dans la photo, pour ne garder qu'un seul logo (celui de l'en-tête). */
.hero__media { position: relative; width: 100%; line-height: 0; aspect-ratio: 3.33 / 1; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.hero__media::after {       /* voile dégradé pour la lisibilité du texte */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,21,24,.5) 0%, rgba(20,21,24,.05) 38%, rgba(20,21,24,.72) 100%);
}
.hero__inner {              /* bloc de texte centré, descendu vers le bas de la photo */
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding-block: 0 2.4rem;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.hero h1 { color: #fff; }
.hero__title {
  color: #fff;                              /* titre entièrement en blanc */
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);  /* réduit pour tenir sur une ligne */
  white-space: nowrap;                       /* une seule ligne (ordinateur) */
  margin-bottom: 1.8rem;                     /* espace juste au-dessus des boutons */
  text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 3px 18px rgba(20,21,24,.55);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero__scroll {
  position: absolute;
  bottom: 1.5rem; right: clamp(1.2rem, 4vw, 2.5rem); z-index: 2;
  color: rgba(255,255,255,.85);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 38px;
  background: linear-gradient(rgba(255,255,255,.9), transparent);
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse { 0%,100% { opacity:.3; } 50% { opacity:1; } }

/* Écrans étroits : l'image devient trop courte pour superposer le texte
   → on place le texte juste EN DESSOUS, sur le fond anthracite. */
@media (max-width: 880px) {
  /* L'en-tête est fixe : sur petit écran la photo est trop courte pour passer
     dessous. On la descend ENTIÈREMENT sous la barre de menu et on la montre à
     son ratio naturel (aucune coupe des maisons en haut). */
  .hero { padding-top: 78px; }
  .hero__media { aspect-ratio: 3.2 / 1; }
  .hero__inner {
    position: static;
    max-width: none;
    padding-block: 2.2rem 2.8rem;
    background: var(--anthracite);
  }
  .hero__title { white-space: normal; }   /* retour à la ligne autorisé sur mobile */
  .hero__scroll { display: none; }
}

/* Bandeau de chiffres-clés (chaque chiffre centré, avec son libellé dessous) */
.stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem,5vw,4rem); }
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-dark);
  line-height: 1;
}
.stat__label { color: var(--muted); font-size: .95rem; margin-top: .35rem; }

/* 8. ------------------------------------------------- CARTES & GRILLE DE MODÈLES */
/* La grille s'adapte automatiquement de 1 à 8 modèles (et au-delà) sans casse. */
.grid-models {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.2rem);
}

.model-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease),
              border-color .3s;
}
.model-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.model-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-2);
}
.model-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.model-card:hover .model-card__media img { transform: scale(1.06); }

.model-card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(255,255,255,.92);
  color: var(--anthracite);
  font-size: .78rem; font-weight: 600;
  padding: .35rem .8rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.model-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.model-card__name { margin-bottom: .35rem; }
.model-card__desc { color: var(--muted); font-size: .96rem; margin-bottom: 1.1rem; }

.model-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.model-card__surface { font-size: .92rem; color: var(--muted); }
.model-card__surface strong { color: var(--anthracite); font-weight: 600; }
.model-card__price { text-align: right; }
.model-card__price .from { display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color: var(--muted); }
.model-card__price .amount { font-family: var(--font-title); font-size: 1.35rem; color: var(--gold-dark); font-weight: 600; }

/* Toute la carte est cliquable */
.model-card__link::after { content:""; position:absolute; inset:0; z-index: 1; }

/* 9. -------------------------------------------------- SECTIONS SPÉCIFIQUES */
/* Bloc "deux colonnes" image + texte */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover;
}

/* Atouts / points forts */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: clamp(1.2rem,3vw,2rem); }
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.feature__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--cream-2);
  color: var(--gold-dark);
  border-radius: 14px;
  margin-bottom: 1.2rem;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: .97rem; }

/* Étapes (parcours d'achat) */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 600;
  min-width: 2.4ch;
}
.step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .97rem; }

/* Listes inclus / non inclus */
.incl-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: clamp(1.4rem,3vw,2rem); }
.incl-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; background: var(--white); }
.incl-card h3 { display:flex; align-items:center; gap:.6rem; font-size:1.25rem; }
.incl-list li { display:flex; gap:.7rem; padding:.55rem 0; border-bottom:1px dashed var(--line); color: var(--ink); }
.incl-list li:last-child { border-bottom: 0; }
.incl-list .ic { flex: none; margin-top: .15rem; }
.ic--yes { color: #4a8d63; }
.ic--no  { color: #b1543f; }

/* Liste d'équipements (fiche modèle) */
/* Listes équipements / options : colonnes indépendantes (chaque élément à sa
   hauteur naturelle → plus de grands vides quand un élément passe sur 2 lignes). */
.equip-list { column-count: 2; column-gap: 1.5rem; }
.equip-list li { display:flex; gap:.6rem; padding:.4rem 0; color: var(--ink);
  break-inside: avoid; -webkit-column-break-inside: avoid; }
.equip-list .ic--yes, .equip-list .ic--opt { flex:none; margin-top:.2rem; }
/* « En option » : marqueur « + » doré au lieu de la coche verte */
.ic--opt { color: var(--gold); }
@media (max-width: 560px) { .equip-list { column-count: 1; } }

/* Appel à l'action pleine largeur */
.cta-band { text-align:center; }
.cta-band .container { display:flex; flex-direction:column; align-items:center; gap:1.5rem; }
.cta-band h2 { color:#fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 52ch; }
/* Variante claire (fond crème) : texte foncé pour rester lisible */
.cta-band--light h2 { color: var(--anthracite); }
.cta-band--light p { color: var(--muted); }
.cta-band .btn-row { display:flex; flex-wrap:wrap; gap:1rem; justify-content:center; }

/* Bande « showroom » (accueil) : fond anthracite, fine et compacte, éléments groupés. */
.section.showroom-cta { background: var(--anthracite); padding-block: 32px; }
.showroom-cta .container { gap: .7rem; padding-block: 0; }
/* « Notre showroom » joue le rôle de titre : nettement plus grand, doré, majuscules espacées, petit tiret conservé. */
.showroom-cta .eyebrow { color: var(--gold); margin-bottom: 0; font-size: clamp(1.4rem, 3.2vw, 1.85rem); line-height: 1.15; }
.showroom-cta .eyebrow::before { background: var(--gold); }
.showroom-cta h2, .showroom-cta p { margin: 0; }
@media (max-width: 760px) { .section.showroom-cta { padding-block: 24px; } }

/* 10. --------------------------------------------------------------- GALERIE */
/* Galerie « photo principale + vignettes » (style immobilier / e-commerce) */
.gallery2 { display: flex; flex-direction: column; gap: 1rem; }
.gallery2__main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  aspect-ratio: 3/2;
  max-height: 62vh;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.gallery2__img { width:100%; height:100%; object-fit: cover; display:block; }
.gallery2__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.85); color: var(--anthracite);
  border:0; width:46px; height:46px; border-radius:999px; cursor:pointer;
  font-size:1.5rem; line-height:1; display:grid; place-items:center;
  box-shadow: var(--shadow-sm); transition: background .25s; z-index: 2;
}
.gallery2__nav:hover { background:#fff; }
.gallery2__nav--prev { left: .8rem; }
.gallery2__nav--next { right: .8rem; }
.gallery2__thumbs {
  display: flex; gap: .7rem; overflow-x: auto;
  padding-bottom: .3rem; scroll-snap-type: x proximity;
}
.gallery2__thumb {
  flex: 0 0 auto; width: 104px; height: 78px; padding: 0;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--cream-2); cursor: pointer;
  opacity: .72; transition: opacity .25s, border-color .25s;
  scroll-snap-align: start;
}
.gallery2__thumb img { width:100%; height:100%; object-fit: cover; display:block; }
.gallery2__thumb:hover { opacity: 1; }
.gallery2__thumb.is-active { border-color: var(--gold); opacity: 1; }

/* Visionneuse plein écran (lightbox) */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,21,24,.92);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.12); color:#fff;
  border:0; width:52px; height:52px; border-radius:999px; cursor:pointer;
  font-size:1.4rem; display:grid; place-items:center; transition: background .25s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__nav[hidden] { display: none; }
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__nav--prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* 11. ------------------------------------------------------------- FORMULAIRES */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--anthracite); }
.field label .req { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  width: 100%;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(168,139,95,.14);
}
.field input::placeholder, .field textarea::placeholder { color: #9a9ca1; }

.form-note { font-size: .85rem; color: var(--muted); }
.form-status { display:none; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size:.95rem; margin-bottom:1rem; }
.form-status.is-visible { display: block; }
.form-status--ok  { background:#eaf5ee; color:#2e6b46; border:1px solid #bfe0cb; }
.form-status--err { background:#fbece8; color:#9a3b29; border:1px solid #f0c8bd; }

/* Coordonnées (page contact) */
.contact-list { display:grid; gap:1.4rem; }
.contact-item { display:flex; gap:1rem; align-items:flex-start; }
.contact-item__ic {
  flex:none; width:48px; height:48px; border-radius:12px;
  background: var(--cream-2); color: var(--gold-dark);
  display:grid; place-items:center;
}
.contact-item__ic svg { width:22px; height:22px; }
.contact-item h3 { font-size:1.05rem; margin-bottom:.15rem; }
.contact-item a, .contact-item p { color: var(--muted); }
.contact-item a:hover { color: var(--gold-dark); }

/* 12. ------------------------------------------------------------ PIED DE PAGE */
.site-footer { background: var(--anthracite); color: #C9CBCF; padding-block: clamp(1.1rem,2.4vw,1.7rem) .85rem; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(.9rem,2vw,1.5rem); }
/* Logo du pied de page : variante à fond transparent et texte « Kaz Concept »
   en blanc (logo-full-footer.png), donc lisible directement sur le fond foncé. */
.footer-brand__img {
  display: block;
  height: 60px; width: auto;
  margin-bottom: .6rem;
}
.footer-brand p { color:#9C9EA3; font-size:.95rem; max-width: 34ch; }
.footer-col h4 { color:#fff; font-family: var(--font-body); font-size:.82rem; letter-spacing:.16em; text-transform:uppercase; margin-bottom:.55rem; }
.footer-col li { margin-bottom:.3rem; color:#A9ABAF; line-height:1.4; }
.footer-col a, .footer-col p { color:#A9ABAF; font-size:.95rem; line-height:1.4; transition: color .25s; }
.footer-col a:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; align-items:center;
  margin-top: clamp(.9rem,2vw,1.3rem); padding-top:.8rem;
  border-top:1px solid rgba(255,255,255,.1);
  font-size:.85rem; color:#8A8C90;
}
.footer-bottom a:hover { color: var(--gold-light); }
.footer-social { display:flex; gap:.7rem; }
.footer-social a {
  width:40px; height:40px; border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  display:grid; place-items:center; color:#C9CBCF;
  transition: background .25s, color .25s, border-color .25s;
}
.footer-social a:hover { background: var(--gold); color:#fff; border-color: var(--gold); }
.footer-social svg { width:18px; height:18px; }

/* 13. -------------------------------------------------- BOUTON WHATSAPP FLOTTANT */
.float-actions {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  animation: waPop .5s var(--ease) both;
}
.float-btn { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-decoration: none; }
.float-btn__icon {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 999px;
  display: grid; place-items: center;
  color: #fff;
  transition: transform .3s var(--ease);
}
.float-btn:hover .float-btn__icon { transform: scale(1.08); }
.float-btn__icon svg { width: 28px; height: 28px; }
.float-btn__label {
  font-size: .68rem; font-weight: 600;
  color: var(--anthracite);
  background: rgba(255,255,255,.92);
  padding: .12rem .55rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px -6px rgba(0,0,0,.4);
  white-space: nowrap;
}
.float-btn--wa .float-btn__icon { background: #25D366; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); }
.float-btn--call .float-btn__icon { background: var(--gold); box-shadow: 0 12px 30px -8px rgba(168,139,95,.6); }
.float-btn--wa .float-btn__icon::after {     /* halo pulsant discret (WhatsApp) */
  content:""; position:absolute; inset:0; border-radius:inherit;
  box-shadow: 0 0 0 0 rgba(37,211,102,.45);
  animation: waPulse 2.6s var(--ease) infinite;
}
@keyframes waPulse { 0% { box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0);} }
.float-btn--call .float-btn__icon::after {   /* halo pulsant doré (Appel direct) — même effet que WhatsApp */
  content:""; position:absolute; inset:0; border-radius:inherit;
  box-shadow: 0 0 0 0 rgba(168,139,95,.45);
  animation: callPulse 2.6s var(--ease) infinite;
}
@keyframes callPulse { 0% { box-shadow:0 0 0 0 rgba(168,139,95,.5);} 70%{ box-shadow:0 0 0 16px rgba(168,139,95,0);} 100%{ box-shadow:0 0 0 0 rgba(168,139,95,0);} }
@keyframes waPop { from { transform: scale(0); } to { transform: scale(1); } }

/* 14. ------------------------------------------------ ANIMATIONS AU DÉFILEMENT */
/* Le contenu reste visible si JavaScript est absent : on ne masque que
   lorsque la classe « js » est présente sur <html> (ajoutée par un script). */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
/* léger décalage en cascade quand plusieurs éléments se suivent */
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Page intérieure : petit bandeau de titre sous l'en-tête fixe */
.page-hero { padding-top: 78px; background: var(--cream); }
.page-hero__inner { padding-block: clamp(2.2rem, 5vw, 4rem) clamp(1.6rem,4vw,2.6rem); }
.breadcrumb { font-size:.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span { margin-inline:.4rem; opacity:.5; }

/* 15. ------------------------------------------------------------- RESPONSIVE */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* Navigation → menu déroulant plein écran */
  .nav__toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: #fff;
    padding: 6rem 2rem 2rem;
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.4);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__link { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink) !important; font-size:1.1rem; }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: 1.2rem; }

  /* Hamburger animé en croix */
  body.nav-open .nav__toggle span { background: var(--anthracite); }
  body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Voile sombre derrière le menu */
  .nav-scrim { position: fixed; inset:0; background: rgba(20,21,24,.5); opacity:0; visibility:hidden; transition: opacity .35s; z-index: 99; }
  body.nav-open .nav-scrim { opacity:1; visibility:visible; }

  .form-grid { grid-template-columns: 1fr; }
  .gallery2__main { aspect-ratio: 4/3; }
  .gallery2__nav { width: 40px; height: 40px; font-size: 1.3rem; }
  .gallery2__thumb { width: 84px; height: 64px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .grid-models { grid-template-columns: 1fr; }
  .stats { gap: 1.4rem 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
