/* ==========================================================================
   HARMONIE — Constructeur de villas à La Réunion
   Design system : Trust & Authority
   Palette dérivée du logo (bleu marine + or)
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */

:root {
  /* Couleurs */
  --ink:          #0B1A2F;
  --navy:         #123A63;
  --navy-deep:    #0A2440;
  --navy-soft:    #1D4E80;
  --gold:         #C8A248;
  --gold-light:   #E0C579;
  --gold-deep:    #8A6D1C;
  --sand:         #FAF8F4;
  --sand-deep:    #F2EEE6;
  --white:        #FFFFFF;
  --muted:        #57646F;
  --border:       #E4E0D7;
  --border-strong:#CFC8B9;
  --success:      #1B7A4B;
  --danger:       #B4231F;

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

  /* Échelle typographique fluide */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.1875rem;
  --fs-xl:   clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-2xl:  clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-3xl:  clamp(2.125rem, 1.6rem + 2.4vw, 3.25rem);
  --fs-hero: clamp(2.5rem, 1.7rem + 3.6vw, 4.5rem);

  /* Espacements (rythme 4/8) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Divers */
  --radius:    4px;
  --radius-lg: 8px;
  --container: 1200px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 47, .06), 0 2px 8px rgba(11, 26, 47, .04);
  --shadow-md: 0 4px 12px rgba(11, 26, 47, .08), 0 12px 32px rgba(11, 26, 47, .06);
  --shadow-lg: 0 12px 28px rgba(11, 26, 47, .12), 0 32px 64px rgba(11, 26, 47, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Couches */
  --z-header: 100;
  --z-wa:     200;
  --z-modal:  1000;
}

/* --- 2. Reset ----------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--sp-4);
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--sp-4); max-width: 68ch; text-wrap: pretty; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }

ul { margin: 0; padding: 0; }

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

/* --- 3. Utilitaires ----------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy-deep); color: #E8EDF3; }
.section--navy h2,
.section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section--navy .eyebrow { color: var(--gold-light); }

.section-head { max-width: 46rem; margin-bottom: var(--sp-7); }
.section-head p { font-size: var(--fs-lg); color: var(--muted); margin-bottom: 0; }
.section--navy .section-head p { color: #B9C6D6; }

.lead { font-size: var(--fs-lg); color: var(--muted); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: var(--z-modal);
  background: var(--navy-deep);
  color: var(--white);
  padding: var(--sp-3) var(--sp-5);
  font-weight: 600;
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- 4. Boutons --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }

.btn--dark { background: var(--navy-deep); color: var(--white); border-color: var(--navy-deep); }
.btn--dark:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); color: var(--white); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn--outline:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }

.btn--wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* --- 5. En-tête --------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease);
}
.header--scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 76px;
}

.header__logo { display: flex; align-items: center; flex-shrink: 0; }
.header__logo img { height: 64px; width: auto; }

@media (min-width: 1024px) {
  .header__inner { min-height: 92px; gap: var(--sp-5); }
  .header__logo img { height: 76px; }
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: var(--sp-6); list-style: none; }
.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: var(--sp-2) 0;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s var(--ease);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: var(--sp-3); }
.header__tel {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header__tel:hover { color: var(--gold-deep); }
.header__tel svg { width: 18px; height: 18px; color: var(--gold-deep); }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
}
.burger svg { width: 22px; height: 22px; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: var(--sp-4) 0 var(--sp-6);
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav__list { list-style: none; }
.mobile-nav__list a {
  display: block;
  padding: var(--sp-4) 0;
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: var(--sp-5); }

/* --- 6. Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: min(88svh, 780px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,36,64,.60) 0%, rgba(10,36,64,.34) 30%, rgba(10,36,64,.78) 70%, rgba(10,36,64,.93) 100%),
    linear-gradient(90deg, rgba(10,36,64,.62) 0%, rgba(10,36,64,.10) 70%);
}
.hero__inner { position: relative; padding-block: var(--sp-8) var(--sp-7); width: 100%; }
.hero__content { max-width: 40rem; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--sp-4);
}
.hero__eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }

.hero h1 { color: var(--white); margin-bottom: var(--sp-5); }
.hero h1 em { font-style: italic; color: var(--gold-light); }

.hero__text {
  font-size: var(--fs-lg);
  color: #DCE4EE;
  margin-bottom: var(--sp-6);
  max-width: 34rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-7); }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.18);
  list-style: none;
}
.hero__badges li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #CBD6E4;
}
.hero__badges svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* --- 7. Bandeau chiffres ------------------------------------------------ */

.stats { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.08); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6) var(--sp-4);
  padding-block: var(--sp-7);
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: var(--sp-2);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A9B8CA;
  line-height: 1.5;
}

/* --- 8. Histoire / philosophie ------------------------------------------ */

.split {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.split__media::before {
  content: '';
  position: absolute;
  inset: auto auto -14px -14px;
  width: 62%;
  height: 62%;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  border-bottom-left-radius: var(--radius-lg);
  z-index: -1;
}

.legacy-note {
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.legacy-note p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.legacy-note strong { color: var(--ink); }

.pillars { list-style: none; display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
.pillars li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--sp-4);
  align-items: start;
}
.pillars svg { width: 24px; height: 24px; color: var(--gold-deep); margin-top: 2px; }
.pillars strong { display: block; margin-bottom: 2px; }
.pillars span { color: var(--muted); font-size: var(--fs-sm); }

/* --- 9. Parcours (6 étapes) --------------------------------------------- */

.steps { list-style: none; display: grid; gap: var(--sp-5); counter-reset: step; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-5);
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.step__num {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-variant-numeric: tabular-nums;
}
.step:hover .step__num { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.step p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

/* --- 10. Réalisations --------------------------------------------------- */

.gallery { display: grid; gap: var(--sp-4); }
.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-deep);
}
.gal-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s var(--ease), opacity .3s var(--ease);
}
.gal-item:hover img { transform: scale(1.05); opacity: .82; }
.gal-item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-6) var(--sp-4) var(--sp-4);
  background: linear-gradient(180deg, rgba(10,36,64,0) 0%, rgba(10,36,64,.92) 100%);
  color: var(--white);
}
.gal-item__caption strong {
  display: block;
  font-family: var(--font-title);
  font-size: var(--fs-lg);
  font-weight: 500;
  margin-bottom: 2px;
}
.gal-item__caption span {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.gal-item--tall { grid-row: span 2; }
.gal-item--tall img { aspect-ratio: 4 / 5; }

/* --- 11. Savoir-faire --------------------------------------------------- */

.skills-grid { display: grid; gap: var(--sp-5); }
.skill-card {
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.skill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.skill-card svg { width: 32px; height: 32px; color: var(--navy); margin-bottom: var(--sp-4); }
.skill-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.skill-card p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

/* --- 12. Avant / après -------------------------------------------------- */

.beforeafter { display: grid; gap: var(--sp-5); }
.ba-item figure { margin: 0; }
.ba-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.ba-item figcaption {
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* --- 13. Pourquoi Harmonie ---------------------------------------------- */

.why-grid { display: grid; gap: var(--sp-5); }
.why-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
}
.why-card__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(200,162,72,.16);
  border: 1px solid rgba(200,162,72,.4);
}
.why-card__icon svg { width: 20px; height: 20px; color: var(--gold-light); }
.why-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.why-card p { margin: 0; font-size: var(--fs-sm); color: #B9C6D6; }

/* --- 14. Témoignages ---------------------------------------------------- */

.quotes { display: grid; gap: var(--sp-5); }
.quote {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.quote img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.quote__body { padding: var(--sp-6); flex: 1; display: flex; flex-direction: column; }
.quote__mark {
  font-family: var(--font-title);
  font-size: 3rem;
  line-height: .8;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.quote blockquote {
  margin: 0 0 var(--sp-5);
  font-family: var(--font-title);
  font-size: var(--fs-lg);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  flex: 1;
}
.quote figcaption { font-size: var(--fs-sm); color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }

/* --- 15. FAQ ------------------------------------------------------------ */

.faq { display: grid; gap: var(--sp-3); max-width: 52rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5);
  min-height: 48px;
  font-weight: 600;
  font-size: var(--fs-base);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy); }
.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__answer { padding: 0 var(--sp-5) var(--sp-5); }
.faq__answer p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

/* --- 16. Contact -------------------------------------------------------- */

.contact-grid { display: grid; gap: var(--sp-7); align-items: start; }

.contact-aside__img {
  width: 100%;
  max-width: 340px;
  margin-bottom: var(--sp-5);
}

.contact-list { list-style: none; display: grid; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: var(--sp-4); align-items: center; }
.contact-list__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sand-deep);
  border: 1px solid var(--border);
}
.contact-list__icon svg { width: 18px; height: 18px; color: var(--navy); }
.contact-list span { display: block; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list strong { font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a { display: inline-block; padding-block: var(--sp-2); }
.contact-list a:hover { color: var(--gold-deep); }

.form {
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form__grid { display: grid; gap: var(--sp-5); }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field label .req { color: var(--danger); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357646F' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(18,58,99,.14);
}
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.field__error { font-size: var(--fs-xs); font-weight: 500; color: var(--danger); min-height: 0; }
.field--invalid input,
.field--invalid select,
.field--invalid textarea { border-color: var(--danger); }
.field--invalid input:focus,
.field--invalid textarea:focus { box-shadow: 0 0 0 3px rgba(180,35,31,.14); }

.field--check { display: grid; grid-template-columns: 22px 1fr; gap: var(--sp-3); align-items: start; }
.field--check input { width: 22px; height: 22px; min-height: 22px; margin-top: 2px; accent-color: var(--navy); cursor: pointer; }
.field--check label { font-size: var(--fs-xs); font-weight: 400; line-height: 1.55; color: var(--muted); }

.honey { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form__note { font-size: var(--fs-xs); color: var(--muted); text-align: center; margin: var(--sp-4) 0 0; }

.form__alert {
  display: none;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-5);
}
.form__alert[data-state="success"] { display: flex; background: #EAF6EF; border: 1px solid #B8DFC8; color: #14603A; }
.form__alert[data-state="error"]   { display: flex; background: #FCEDEC; border: 1px solid #F2C4C1; color: #8F1B18; }
.form__alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(11,26,47,.25);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- 17. Bandeau final -------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../images/chantier-coulage-fondations.webp') center/cover;
  opacity: .16;
}
.cta-band__inner { position: relative; text-align: center; padding-block: var(--sp-8); }
.cta-band h2 { color: var(--white); margin-bottom: var(--sp-4); }
.cta-band p { color: #C3D0DF; max-width: 42rem; margin-inline: auto; margin-bottom: var(--sp-6); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* --- 18. Pied de page --------------------------------------------------- */

.footer { background: var(--ink); color: #9FADBE; padding-block: var(--sp-8) var(--sp-6); font-size: var(--fs-sm); }
.footer__grid { display: grid; gap: var(--sp-7); margin-bottom: var(--sp-7); }
.footer__logo img { height: 72px; width: auto; margin-bottom: var(--sp-4); }
.footer h3 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-4);
}
.footer ul { list-style: none; display: grid; gap: var(--sp-1); }
.footer li { line-height: 1.6; }
.footer ul a {
  display: inline-block;
  padding-block: var(--sp-2);
  color: #9FADBE;
  text-decoration: none;
}
.footer a { color: #9FADBE; text-decoration: none; }
.footer a:hover { color: var(--gold-light); }
.footer p { margin-bottom: var(--sp-3); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: var(--fs-xs);
}

/* --- 19. Bouton WhatsApp flottant --------------------------------------- */

/* Pastille WhatsApp : vert de marque #25D366, glyphe blanc, sans libellé. */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: var(--z-wa);
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,.18), 0 8px 24px rgba(0,0,0,.16);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.wa-float:hover {
  background: #1EBE57;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.22), 0 14px 32px rgba(0,0,0,.2);
}
.wa-float:active { transform: translateY(0); }
.wa-float svg { width: 34px; height: 34px; }

/* --- 20. Animations d'entrée -------------------------------------------- */

/* Le contenu ne se masque que si JavaScript répond présent.
   Sans JS, tout reste visible pour le lecteur et pour les moteurs. */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

/* --- 21. Points de rupture ---------------------------------------------- */

@media (min-width: 600px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .beforeafter { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .form__grid--2 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .split--reverse .split__media { order: 2; }
  .split--reverse .split__media::before { inset: auto -14px -14px auto; border-left: 0; border-right: 2px solid var(--gold); border-bottom-left-radius: 0; border-bottom-right-radius: var(--radius-lg); }
  .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--sp-8); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .hero__inner { padding-block: var(--sp-9) var(--sp-8); }
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .header__tel { display: inline-flex; }
  .burger { display: none; }
  .mobile-nav { display: none !important; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .skills-grid { grid-template-columns: repeat(4, 1fr); }
  .quotes { gap: var(--sp-6); }
}

/* --- 22. Impression & préférences --------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .wa-float, .cta-band, .form { display: none; }
  body { color: #000; }
}
