/* =====================================================================
   VÉRONICA TEC — Feuille de styles principale
   Location de bateaux & conciergerie haut de gamme — Cannes / Côte d'Azur
   ---------------------------------------------------------------------
   Sommaire :
   1.  Variables (couleurs, typo, espacements)
   2.  Reset & base
   3.  Typographie
   4.  Utilitaires (conteneur, sections, boutons)
   5.  Header & navigation
   6.  Hero
   7.  Sections communes (double expertise, confiance, CTA…)
   8.  Galerie
   9.  Formulaires
   10. Footer
   11. Bouton d'appel flottant (mobile)
   12. Animations au scroll
   13. Responsive (media queries)
   ===================================================================== */

/* ============================ 1. VARIABLES ========================== */
:root {
  /* Couleurs — palette premium nautique */
  --navy:        #0A1F3C; /* Bleu marine profond — dominante */
  --navy-soft:   #12294a; /* Variante légèrement plus claire */

  /* DORÉ CHAMPAGNE — accent de l'univers MARITIME (mer, bateaux).
     Désaturé façon champagne pour un effet plus luxe (moins « moutarde »). */
  --gold:        #C3A76B;
  --gold-light:  #D6BF93;

  /* ROSE POUDRÉ / ROSE GOLD — accent de l'univers CONCIERGERIE (à terre).
     Chic et désaturé, jamais flashy. Ajustable ici. */
  --rose:        #B76E79; /* accent principal */
  --rose-soft:   #C99AA4; /* variante douce (survols, détails) */
  --rose-deep:   #5E313B; /* rose profond, pour dégradés navy → rose */

  --sand:        #E8DFD0; /* Beige sable — fonds doux */
  --sand-light:  #f4efe6;
  --white:       #FFFFFF;
  --ink:         #1a1a1a; /* Texte courant sur fond clair */
  --ink-soft:    #4a4a4a; /* Texte secondaire */
  --line:        rgba(10, 31, 60, 0.12); /* Filets discrets */

  /* Typographie */
  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Espacements & rythme */
  --space-section: clamp(4rem, 9vw, 8rem);
  --container:     1240px;
  --radius:        2px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Header */
  --header-h: 76px;
}

/* ========================= 2. RESET & BASE ========================= */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* Accessibilité : focus visible et net */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ========================= 3. TYPOGRAPHIE ========================= */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.6em;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }

p { margin: 0 0 1.1em; }

/* Suréclat : petit intitulé au-dessus des titres de section */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 60ch;
}

/* Filet décoratif doré */
.rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.6rem;
}
.rule.center { margin-left: auto; margin-right: auto; }

/* ===================== 4. UTILITAIRES / LAYOUT ==================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding: var(--space-section) 0; }
/* Décalage pour que le header fixe ne masque pas les ancres au scroll */
section[id] { scroll-margin-top: var(--header-h); }
.section--sand  { background: var(--sand-light); }
.section--navy  { background: var(--navy); color: var(--white); }
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy .lead { color: rgba(255,255,255,0.78); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover { background: var(--gold-light); }

.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover { background: var(--navy-soft); }

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

/* Variante claire sur fond marine */
.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* Bouton rose — accent conciergerie */
.btn--rose {
  background: var(--rose);
  color: var(--white);
}
.btn--rose:hover { background: #a75d68; }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===================== THÈME ROSE (par section) =================
   Ajouter la classe .theme-rose sur une section pour basculer ses
   accents du doré vers le rose (univers Conciergerie / à terre).      */
.theme-rose .eyebrow { color: var(--rose); }
.theme-rose .rule { background: var(--rose); }
.theme-rose .split ul li::before { border-color: var(--rose); }
.theme-rose .card-link { color: var(--navy); }
.theme-rose .card-link .arrow { color: var(--rose); }
.theme-rose a:not(.btn):hover { color: var(--rose); }

/* ====================== 5. HEADER & NAVIGATION =================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 1000;
  background: rgba(10, 31, 60, 0.0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
/* État "défilé" : fond marine opaque (ajouté par JS) */
.site-header.scrolled {
  background: rgba(10, 31, 60, 0.96);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}
/* Pages internes : header opaque dès le départ (classe sur <body>) */
body.has-solid-header .site-header { background: rgba(10, 31, 60, 0.96); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
}
.brand span { color: var(--gold); }

.nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--white); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { width: 100%; }

.nav .btn { padding: 0.6rem 1.4rem; }

/* Coordonnées du menu : visibles uniquement en version mobile plein écran */
.nav__extra { display: none; }

/* Le bouton Réserver garde son texte marine (sur fond doré), desktop & mobile */
.nav a.btn--gold { color: var(--navy); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.burger span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ 6. HERO ============================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy); /* teinte de fond le temps du chargement des images */
}

/* --- Diaporama de fond : plusieurs photos en fondu enchaîné --- */
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s var(--ease);
  will-change: opacity, transform;
}
/* La photo active : visible + léger zoom continu (effet « Ken Burns ») */
.hero__slide.is-active {
  opacity: 1;
  animation: kenburns 8s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.16); }
}

/* Apparition en cascade des liens du menu mobile */
@keyframes navLinkIn {
  to { opacity: 1; transform: none; }
}

/* Voile dégradé bleu marine pour garantir la lisibilité du texte */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,31,60,0.55) 0%, rgba(10,31,60,0.30) 38%, rgba(10,31,60,0.82) 100%),
    linear-gradient(90deg, rgba(10,31,60,0.6) 0%, rgba(10,31,60,0.05) 60%);
}

/* Puces de navigation du diaporama */
.hero__dots {
  position: absolute;
  bottom: 2.2rem; right: clamp(1.5rem, 4vw, 3rem);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}
.hero__dot {
  width: 34px; height: 3px;
  background: rgba(255,255,255,0.35);
  border: 0; padding: 0; cursor: pointer;
  transition: background 0.4s var(--ease);
}
.hero__dot.is-active { background: var(--gold); }

.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 760px; padding-top: var(--header-h); }
.hero__inner h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero__accroche {
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  color: rgba(255,255,255,0.92);
  max-width: 54ch;
  margin-bottom: 2.4rem;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Hero secondaire (pages internes) */
.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background:
    linear-gradient(180deg, rgba(10,31,60,0.45) 0%, rgba(10,31,60,0.8) 100%),
    linear-gradient(135deg, #16466e 0%, #1f6f95 50%, #3fa9b8 100%);
  background-size: cover;
  background-position: center;
}
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,0.9); }

/* ==================== 7. SECTIONS COMMUNES ======================= */
/* Double expertise : 2 blocs */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.expertise-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -30px rgba(10,31,60,0.4);
}
/* Liseré supérieur : doré pour le maritime, rose pour la conciergerie */
.expertise-card--gold { border-top: 3px solid var(--gold); }
.expertise-card--rose { border-top: 3px solid var(--rose); }
.expertise-card--rose .card-link { color: var(--rose); }
.expertise-card--rose .card-link .arrow { color: var(--rose); }
.expertise-card__media {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 1.2s var(--ease);
}
/* Léger zoom de l'image au survol de la carte */
.expertise-card:hover .expertise-card__media { transform: scale(1.05); }
.media--maritime {
  background-image: linear-gradient(180deg, rgba(10,31,60,0.05), rgba(10,31,60,0.15)), url('../assets/images/yacht-1.webp');
}
.media--conciergerie {
  background-image: linear-gradient(180deg, rgba(10,31,60,0.05), rgba(10,31,60,0.15)), url('../assets/images/interior-1.webp');
}
.expertise-card__body { padding: clamp(1.8rem, 3vw, 2.6rem); }
.expertise-card__body h3 { margin-bottom: 0.6rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.card-link .arrow { transition: transform 0.3s var(--ease); }
.card-link:hover .arrow { transform: translateX(5px); }

/* Confiance : arguments avec icônes */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.trust-item { text-align: left; }
.trust-item__icon {
  width: 46px; height: 46px;
  margin-bottom: 1.2rem;
  color: var(--gold);
}
.trust-item__icon svg { width: 100%; height: 100%; }
.trust-item h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.trust-item p { font-size: 0.98rem; color: rgba(255,255,255,0.72); margin: 0; }

/* Étapes "Comment ça marche" */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 3.5rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 600;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* Bande « signature » : citation plein écran avec parallaxe douce */
.statement {
  position: relative;
  padding: clamp(6rem, 13vw, 11rem) 0;
  color: var(--white);
  text-align: center;
  /* Overlay dégradé navy → rose profond (touche rose discrète) */
  background-image:
    linear-gradient(125deg, rgba(10,31,60,0.86) 0%, rgba(10,31,60,0.7) 45%, rgba(94,49,59,0.72) 100%),
    url('../assets/images/hero-1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.statement blockquote {
  margin: 0 auto;
  max-width: 20ch;
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.25;
}
.statement .quote-mark {
  display: block;
  font-family: var(--font-title);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--rose-soft); /* touche de rose subtile — liaison des deux univers */
  margin-bottom: 1.4rem;
}
.statement cite {
  display: block;
  margin-top: 1.8rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* Bandeau CTA avant footer */
.cta-band {
  background:
    radial-gradient(90% 120% at 100% 100%, rgba(183,110,121,0.22) 0%, transparent 55%),
    var(--navy);
  color: var(--white);
  text-align: center;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  /* Filet décoratif rose (rappel de l'accent conciergerie) */
  content: '';
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(201,154,164,0.28);
  border-radius: var(--radius);
  pointer-events: none;
}
.cta-band h2 { color: var(--white); }
.cta-band .lead { color: rgba(255,255,255,0.8); margin: 0 auto 2rem; text-align: center; }

/* Texte + visuel en deux colonnes (pages internes) */
.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 {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}
.split ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.split ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.9rem;
  color: var(--ink-soft);
}
.split ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 10px; height: 10px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

/* ============================ 8. GALERIE ========================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,31,60,0.75) 100%);
  opacity: 0.85;
  transition: opacity 0.35s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__caption {
  position: absolute;
  left: 1.2rem; bottom: 1.1rem;
  z-index: 2;
  color: var(--white);
}
.gallery__caption strong {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
}
.gallery__caption span { font-size: 0.85rem; color: rgba(255,255,255,0.8); }

/* Images de la galerie bateaux (à compléter par les vraies photos du client) */
.g1 { background-image: url('../assets/images/yacht-1.webp'); }
.g2 { background-image: url('../assets/images/hero-2.webp'); }
.g3 { background-image: url('../assets/images/yacht-2.webp'); }
.g4 { background-image: url('../assets/images/hero-1.webp'); }
.g5 { background-image: url('../assets/images/hero-3.webp'); }
.g6 { background-image: url('../assets/images/resort-1.webp'); }
.gallery__item { transition: transform 0.9s var(--ease); }
.gallery__item:hover { transform: scale(1.03); }

/* ========================== 9. FORMULAIRES ====================== */
.form-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.form {
  display: grid;
  gap: 1.4rem;
}
.form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.55rem;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
  outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-self: start; margin-top: 0.4rem; }
.form__note { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }

/* Bloc coordonnées à côté du formulaire */
.contact-info {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(183,110,121,0.28) 0%, transparent 60%),
    var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
}
.contact-info h3 {
  color: var(--white);
  padding-bottom: 1rem;
  position: relative;
}
.contact-info h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 2px;
  background: var(--rose);
}
.contact-info__item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-info__item:last-of-type { border-bottom: 0; }
.contact-info__item .ico {
  color: var(--gold);
  flex-shrink: 0;
  width: 22px; height: 22px;
}
.contact-info__item .ico svg { width: 100%; height: 100%; }
.contact-info__item span { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info__item a,
.contact-info__item strong { color: var(--white); font-weight: 500; font-size: 1.05rem; }

/* ============================ 10. FOOTER ======================== */
.site-footer {
  background: #061426;
  color: rgba(255,255,255,0.7);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  font-size: 0.92rem;
  /* Liseré supérieur : dégradé doré (maritime) → rose (conciergerie) */
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--gold) 0%, var(--rose) 100%) 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand { font-size: 1.7rem; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { max-width: 34ch; color: rgba(255,255,255,0.6); }
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { margin-bottom: 0.6rem; }
.footer-contact a:hover { color: var(--gold); }

.socials { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.socials a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.socials a:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

/* Mentions légales */
.footer-legal {
  scroll-margin-top: var(--header-h);
  padding: 2rem 0 0;
  max-width: 90ch;
}
.footer-legal p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin: 0; }
.footer-legal strong { color: rgba(255,255,255,0.7); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--gold); }

/* ================= 11. BOUTON D'APPEL FLOTTANT (MOBILE) ========= */
/* Bouton d'appel flottant : pastille ronde compacte en bas à droite */
.call-fab {
  display: none;
  position: fixed;
  right: 1.1rem; bottom: 1.1rem;
  left: auto;
  z-index: 900;
  width: 56px; height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  box-shadow: 0 10px 26px -8px rgba(10,31,60,0.55);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.call-fab:hover { transform: translateY(-2px); background: var(--gold-light); }
.call-fab svg { width: 23px; height: 23px; }
.call-fab__label {
  /* Masqué visuellement mais conservé pour l'accessibilité */
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==================== 12. ANIMATIONS AU SCROLL ================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Léger décalage en cascade pour les grilles */
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ======================== 13. RESPONSIVE ======================== */

/* Tablette */
@media (max-width: 980px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-layout { grid-template-columns: 1fr; }
  .contact-info { order: -1; }
}

/* Mobile */
@media (max-width: 768px) {
  body { font-size: 16px; }

  /* IMPORTANT : sur mobile, on retire le backdrop-filter du header.
     Un filter/backdrop-filter sur un ancêtre transforme celui-ci en bloc
     de référence pour les enfants position:fixed → le menu ne couvrirait
     plus tout l'écran. On garde un fond marine solide à la place. */
  .site-header.scrolled { backdrop-filter: none; background: rgba(10, 31, 60, 0.98); }

  /* Le logo et le burger restent au-dessus de l'overlay du menu.
     Taille réduite pour laisser respirer le nom (plus long) sur petits écrans. */
  .brand { position: relative; z-index: 1100; font-size: 1.35rem; }

  /* Navigation → menu plein écran, élégant */
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2.5rem;
    overflow-y: auto;
    background:
      radial-gradient(120% 80% at 100% 0%, rgba(201,162,39,0.12) 0%, transparent 55%),
      linear-gradient(160deg, #0c274b 0%, #0A1F3C 45%, #061426 100%);
    transform: translateX(100%);
    transition: transform 0.55s var(--ease);
  }
  .nav.open { transform: translateX(0); }

  /* Liens : grande serif élégante, apparition en cascade */
  .nav > a {
    font-family: var(--font-title);
    font-size: 2.1rem;
    font-weight: 500;
    color: #fff;
    opacity: 0;
    transform: translateY(14px);
  }
  .nav > a::after { display: none; } /* pas de soulignement animé ici */
  .nav.open > a { animation: navLinkIn 0.5s var(--ease) forwards; }
  .nav.open > a:nth-child(1) { animation-delay: 0.10s; }
  .nav.open > a:nth-child(2) { animation-delay: 0.16s; }
  .nav.open > a:nth-child(3) { animation-delay: 0.22s; }
  .nav.open > a:nth-child(4) { animation-delay: 0.28s; }
  .nav.open > .btn { animation-delay: 0.36s; }
  .nav.open > .nav__extra { animation-delay: 0.44s; }

  .nav .btn {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.95rem 2.4rem;
    margin-top: 0.6rem;
  }

  /* Coordonnées en bas du menu */
  .nav__extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(14px);
  }
  .nav.open .nav__extra { animation: navLinkIn 0.5s var(--ease) forwards; }
  .nav__extra-line { width: 46px; height: 1px; background: var(--gold); margin-bottom: 0.7rem; }
  .nav__extra a {
    font-family: var(--font-body);
    font-size: 1rem !important;
    color: rgba(255,255,255,0.75);
    opacity: 1;
    transform: none;
    letter-spacing: 0.03em;
  }
  .nav__extra a:first-of-type { color: var(--gold); font-weight: 600; }

  /* Grilles → une colonne */
  .expertise-grid,
  .steps,
  .split,
  .gallery { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }

  .form .field-row { grid-template-columns: 1fr; }

  /* Bouton d'appel flottant visible sur mobile */
  .call-fab { display: flex; }
  /* Un peu d'espace pour que la pastille d'appel ne masque pas le bas du footer */
  .site-footer { padding-bottom: 2.5rem; }

  /* Bandeau CTA : on resserre le contenu pour que les boutons tiennent
     bien à l'intérieur du filet décoratif (inset 1.5rem). */
  .cta-band .container { padding-left: 2.75rem; padding-right: 2.75rem; }
  .cta-band .btn-row .btn { width: 100%; }

  .hero { min-height: 92vh; }
}

/* Petit mobile */
@media (max-width: 420px) {
  .trust-grid,
  .gallery,
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}
