@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/space-grotesk-400.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/space-grotesk-600.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-600.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-700.woff2') format('woff2');}
/* ============================================================
   Design tokens v2 : signature agence partagée par tous les sites.
   Les variables --accent* / --paper / --ink / --muted sont
   surchargées par le theme.css de chaque famille de template.
   Polices : --font-display / --font-body pointent par défaut sur
   des stacks système. Le générateur injecte les @font-face des
   woff2 self-hostés (voir design-system/fonts.json) puis
   surcharge ces deux variables dans un bloc :root postérieur.
   Pas de dark mode : un seul thème clair par famille.
   ============================================================ */

:root {
  /* Typo : stacks système par défaut, surchargées par le générateur */
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-base: 1rem;            /* 16px minimum, jamais moins en corps */
  --text-sm: 0.9rem;
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --text-h1: clamp(2.6rem, 1.6rem + 5vw, 4.4rem);   /* h1 surdimensionné */
  --text-h2: clamp(1.7rem, 1.35rem + 1.8vw, 2.5rem);
  --text-h3: 1.15rem;
  --leading: 1.6;

  /* Couleurs : valeurs par défaut (thème neutre), surchargées par famille */
  --accent: #3e6b59;            /* couleur principale, contraste >= 4.5:1 sur --paper */
  --accent-dark: #2d5244;       /* hover / titres colorés */
  --accent-soft: #eef3ef;       /* fonds de section teintés */
  --paper: #faf8f4;             /* fond de page */
  --surface: #ffffff;           /* cartes */
  --ink: #22302b;               /* texte principal */
  --muted: #5c6b64;             /* texte secondaire, contraste >= 4.5:1 sur --paper */
  --line: rgba(0, 0, 0, 0.08);  /* bordures discrètes */

  /* Ombres : valeurs neutres de repli, teintées plus bas si color-mix existe */
  --shadow-tint: var(--accent-dark);
  --shadow-sm: 0 1px 3px rgba(20, 30, 25, 0.08);
  --shadow: 0 2px 6px rgba(20, 30, 25, 0.05), 0 12px 32px rgba(20, 30, 25, 0.07);
  --shadow-lg: 0 24px 64px rgba(20, 30, 25, 0.16);

  /* Espacements : respiration x1,5 entre sections par rapport à la v1 */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-section: clamp(5.25rem, 3.5rem + 8vw, 9.75rem);

  /* Forme */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-bento: 28px;         /* tuiles bento */

  /* Mouvement */
  --transition: 200ms ease;

  /* Gabarit */
  --container: 1120px;
}

/* Ombres douces teintées par la couleur de famille (via --shadow-tint) */
@supports (color: color-mix(in srgb, red 50%, blue)) {
  :root {
    --shadow-sm: 0 1px 3px color-mix(in srgb, var(--shadow-tint) 10%, transparent);
    --shadow:
      0 2px 8px color-mix(in srgb, var(--shadow-tint) 7%, transparent),
      0 16px 40px color-mix(in srgb, var(--shadow-tint) 12%, transparent);
    --shadow-lg: 0 24px 64px color-mix(in srgb, var(--shadow-tint) 20%, transparent);
  }
}

:root{--font-display:'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;--font-body:'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;}
/* Thème paysagiste : vert feuille sur blanc végétal.
   Contrastes vérifiés : accent 5.4:1 et muted 5.4:1 sur paper. */
:root {
  --accent: #41722d;
  --accent-dark: #325823;
  --accent-soft: #ecf3e6;
  --paper: #f7faf4;
  --surface: #ffffff;
  --ink: #232e1e;
  --muted: #5c6b55;
  --shadow-tint: #2c4d1d;       /* ombres teintées vert sous-bois */
}

::selection { background: var(--accent-soft); color: var(--accent-dark); }

/* Touches propres à la famille */
.card { border-top: 3px solid var(--accent-soft); }
.card:hover { border-top-color: var(--accent); }
.cards > .card:first-child { border-top-color: var(--accent); }
.section-tinted {
  background:
    radial-gradient(1100px 380px at 85% -80px, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    var(--accent-soft);
}
.eyebrow::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: 26px; height: 2px; margin-right: 0.6rem;
  background: var(--accent); border-radius: 2px;
}

/* ============================================================
   Base agence : reset + composants partagés par tous les sites.
   Dépend des variables de tokens.css. HTML + CSS pur, zéro JS.
   ============================================================ */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; }
h1 { font-size: var(--text-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--text-h2); text-wrap: balance; }
h3 { font-size: var(--text-h3); font-family: var(--font-body); font-weight: 600; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* --- Navigation ------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding-block: 0.9rem; }
.nav-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.nav-name:hover { color: var(--accent-dark); }

/* --- Boutons (cible tactile >= 44px) ---------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 47px; padding: 0.7rem 1.5rem;
  border-radius: 999px; border: none;
  font: 500 1rem var(--font-body); text-decoration: none;
  cursor: pointer; transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Hero ------------------------------------------------------- */
.hero { padding-block: var(--space-section); }
.hero-grid { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero-kicker {
  display: inline-block; margin-bottom: var(--space-2);
  padding: 0.35rem 0.9rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.02em;
}
.hero-lead { margin-top: var(--space-3); font-size: var(--text-lg); color: var(--muted); max-width: 36ch; }
.hero-actions { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hero-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }

/* --- Sections ---------------------------------------------------- */
.section { padding-block: var(--space-section); }
.section-tinted { background: var(--accent-soft); }
/* Séparateur élégant entre deux sections de même fond */
.section-sep {
  border: 0; height: 1px; margin: 0 auto;
  width: min(var(--container), 88%);
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.section-head { max-width: 56ch; margin-bottom: var(--space-4); }
.section-head .eyebrow {
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-1);
}

/* --- Cartes prestations : grille bento ---------------------------- */
/* Mobile = 1 colonne. Dès 640px la première tuile occupe 2 colonnes
   (2x plus grande), le reste s'écoule en flux dense sans trou. */
.cards { display: grid; gap: var(--space-3); }
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
  .cards > .card:first-child { grid-column: span 2; }
}
@media (min-width: 980px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards > .card:first-child { grid-column: span 2; }
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-bento); padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.6rem;
}
/* Tuile d'appel : fond légèrement teinté, titre en typo de caractère */
.cards > .card:first-child {
  background: linear-gradient(140deg, var(--accent-soft), var(--surface) 72%);
  padding: var(--space-4) var(--space-3);
}
.cards > .card:first-child h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); font-weight: 600; }
.card-top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); }
.card-prix { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--accent-dark); white-space: nowrap; }
.card p { color: var(--muted); font-size: var(--text-sm); }

/* --- Cadre image : wrapper <picture> avec LQIP en fond -------------- */
.img-frame {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center; /* LQIP inline */
}
.img-frame picture { display: block; width: 100%; height: 100%; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* --- À propos ----------------------------------------------------- */
.apropos-grid { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 860px) { .apropos-grid { grid-template-columns: 0.9fr 1.1fr; } }
.apropos-photo { border-radius: var(--radius-bento); box-shadow: var(--shadow); aspect-ratio: 4 / 3; width: 100%; }
.apropos-texte { color: var(--ink); font-size: var(--text-lg); max-width: 52ch; }

/* --- Infos pratiques ---------------------------------------------- */
.infos { display: grid; gap: var(--space-3); }
@media (min-width: 760px) { .infos { grid-template-columns: repeat(3, 1fr); } }
.info {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--space-3);
}
.info h3 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.info h3 svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; }
.info p, .info a { color: var(--muted); font-size: var(--text-base); }
.info a { display: inline-block; padding-block: 0.35rem; } /* cible tactile */

/* --- Réseaux sociaux ----------------------------------------------- */
.reseaux { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.reseaux a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  transition: background var(--transition);
}
.reseaux a:hover { background: var(--accent); color: #fff; }
.reseaux svg { width: 20px; height: 20px; }

/* --- Bandeau contact (CTA final) ----------------------------------- */
.cta-final { text-align: center; }
.cta-final .hero-actions { justify-content: center; }

/* --- Hero plein écran (passe premium) -------------------------------- */
/* Couches : .hero-media (image + LQIP) -3, dégradé ::after -2,
   grain ::before -1, contenu au-dessus. */
.hero-full {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(560px, 92vh, 860px);
  padding-block: var(--space-5) var(--space-5);
}
.hero-media {
  position: absolute; inset: 0; z-index: -3;
  background-size: cover; background-position: center; /* LQIP inline */
}
.hero-media picture { display: block; width: 100%; height: 100%; }
/* Vidéo d'ambiance héro : recouvre l'image dans la même couche -3 (dégradé
   ::after -2 et grain -1 restent au-dessus). poster = hero.jpg, donc jamais
   d'écran noir avant lecture. */
.hero-media .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
/* Le juge QA capture en reduced-motion : la vidéo se masque, l'image picture
   en dessous reste la source visible. */
@media (prefers-reduced-motion: reduce) {
  .hero-media .hero-video { display: none; }
}
.hero-full .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-full::after {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(to top, rgba(10, 14, 10, 0.86) 0%, rgba(10, 14, 10, 0.55) 38%, rgba(10, 14, 10, 0.25) 70%, rgba(10, 14, 10, 0.18) 100%);
}
@media (max-width: 699px) {
  .hero-full { min-height: 78svh; padding-top: var(--space-4); }
}
/* Grain photographique subtil, hero uniquement */
.hero-full::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.hero-content { max-width: 720px; color: #fff; }
.hero-full .hero-kicker { background: rgba(255, 255, 255, 0.14); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.22); }
.hero-full h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero-full .hero-lead { color: rgba(255, 255, 255, 0.92); max-width: 52ch; }
.hero-full .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.hero-full .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.hero-avis {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: var(--space-2); padding: 0.4rem 1rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px);
  font-size: var(--text-sm); color: #fff;
}
.hero-avis svg { width: 16px; height: 16px; fill: #f6c344; stroke: none; flex-shrink: 0; }
.nav.scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); }

/* --- Bandeau CTA premium --------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--accent-dark); }
.cta-band .btn-primary:hover { background: var(--accent-soft); color: var(--accent-dark); }

/* --- Footer (sombre premium) ------------------------------------------ */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.65); padding-block: var(--space-4); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); color: rgba(255, 255, 255, 0.55); font-size: var(--text-sm); }

/* --- Header v2 : monogramme + ancres ---------------------------------- */
.monogramme {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: var(--accent); color: #fff;
  font: 600 1rem var(--font-display); letter-spacing: 0.02em;
}
.nav-brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.nav-brand .nav-name { text-decoration: none; }
.nav-links { display: none; gap: var(--space-3); }
.nav-links a { color: var(--ink); text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding-block: 0.5rem; }
.nav-links a:hover { color: var(--accent-dark); }
@media (min-width: 820px) { .nav-links { display: flex; } }
@media (max-width: 560px) { .nav .btn-primary { display: none; } }

/* --- Cartes numérotées ------------------------------------------------ */
.card { position: relative; }
.card-num {
  font: 600 0.85rem var(--font-display); letter-spacing: 0.08em;
  color: var(--accent); opacity: 0.85;
}

/* --- Métier expliqué --------------------------------------------------- */
.metier-grid { display: grid; gap: var(--space-3); }
@media (min-width: 860px) { .metier-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } .metier-grid .section-head { margin-bottom: 0; } }
.metier-texte {
  font-size: var(--text-lg); color: var(--ink); max-width: 58ch;
  padding-left: var(--space-3); border-left: 3px solid var(--accent);
}
.metier-points { list-style: none; margin-top: var(--space-3); display: grid; gap: 0.7rem; max-width: 58ch; }
.metier-points li {
  position: relative; padding-left: 2rem;
  color: var(--ink); font-size: var(--text-base);
}
.metier-points li::before {
  content: ''; position: absolute; left: 0; top: 0.12em;
  width: 1.15em; height: 1.15em; border-radius: 50%;
  background: var(--accent-soft);
}
.metier-points li::after {
  content: ''; position: absolute; left: 0.32em; top: 0.38em;
  width: 0.52em; height: 0.3em;
  border-left: 2.5px solid var(--accent-dark); border-bottom: 2.5px solid var(--accent-dark);
  transform: rotate(-45deg);
}

/* --- Galerie : mosaïque adaptative au nombre d'images --------------------- */
.galerie { display: grid; gap: var(--space-2); }
.galerie .img-frame {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 11; width: 100%;
}
@media (min-width: 700px) {
  .galerie { grid-template-columns: repeat(2, 1fr); }
  /* 1 seule image : centrée, jamais étirée pleine largeur */
  .galerie:has(.img-frame:only-child) { grid-template-columns: 1fr; }
  .galerie .img-frame:only-child { max-width: 720px; margin-inline: auto; }
  /* 3 images : la première en colonne haute, les deux autres empilées */
  .galerie:has(.img-frame:nth-child(3)) .img-frame:first-child {
    grid-row: span 2; aspect-ratio: auto; height: 100%;
  }
}

/* --- Déroulé en 3 étapes -------------------------------------------------- */
.etapes { display: grid; gap: var(--space-3); counter-reset: etape; }
@media (min-width: 760px) { .etapes { grid-template-columns: repeat(3, 1fr); } }
.etape {
  background: linear-gradient(165deg, var(--accent-soft), var(--surface) 55%);
  border: 1px solid var(--line);
  border-radius: var(--radius-bento); padding: var(--space-4) var(--space-3);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.etape-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: var(--space-2);
  background: var(--accent); color: transparent;
  font: 600 1.15rem var(--font-display);
  box-shadow: var(--shadow-sm);
  position: relative;
}
/* Icônes des étapes : téléphone, échange, rendez-vous (mask SVG, couleur héritée) */
.etape-num::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 22px; height: 22px; background: #fff;
  mask: center / contain no-repeat;
}
.etape:nth-child(1) .etape-num::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}
.etape:nth-child(2) .etape-num::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM8 11h8v2H8v-2zm0-4h10v2H8V7z'/%3E%3C/svg%3E");
}
.etape:nth-child(3) .etape-num::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V3h-2zm3 18H5V8h14v11z'/%3E%3C/svg%3E");
}
/* Flèche de liaison entre les étapes (desktop) */
@media (min-width: 760px) {
  .etape:not(:last-child)::after {
    content: ''; position: absolute; top: 44px;
    right: calc(-0.5 * var(--space-3) - 7px);
    width: 14px; height: 14px;
    border-top: 2.5px solid var(--accent); border-right: 2.5px solid var(--accent);
    transform: rotate(45deg); opacity: 0.55;
  }
}
.etape h3 { margin-bottom: 0.4rem; }
.etape p { color: var(--muted); font-size: var(--text-sm); }

/* --- Carte Google Maps ----------------------------------------------------- */
.map-wrap {
  margin-top: var(--space-3);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.map-wrap iframe { display: block; width: 100%; height: clamp(360px, 46vw, 520px); border: 0; }
.btn-itineraire { margin-top: var(--space-2); min-height: 42px; padding: 0.45rem 1.15rem; font-size: var(--text-sm); }

/* --- Footer riche ------------------------------------------------------------ */
.footer { padding-block: var(--space-5) var(--space-4); }
.footer-grid { display: grid; gap: var(--space-4); padding-bottom: var(--space-4); margin-bottom: var(--space-3); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-nom { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; color: #fff; }
.footer-sous { color: rgba(255, 255, 255, 0.6); font-size: var(--text-sm); margin-top: 0.35rem; }
.footer-liens { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-liens a, .footer-contact a { color: rgba(255, 255, 255, 0.68); font-size: var(--text-sm); text-decoration: none; padding-block: 0.3rem; }
.footer-liens a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 0.3rem; }

/* --- FAQ : details/summary natif, zéro JS --------------------------------------- */
.faq { display: grid; gap: var(--space-2); max-width: 760px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  min-height: 47px; padding: 0.85rem var(--space-3);
  cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex-shrink: 0;
  font: 400 1.5rem var(--font-display); color: var(--accent);
  transition: transform var(--transition);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p {
  padding: 0 var(--space-3) var(--space-3);
  color: var(--muted); font-size: var(--text-base); max-width: 62ch;
}

/* --- Barre d'appel mobile fixe ------------------------------------------------ */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 0.6rem clamp(1rem, 4vw, 2rem) calc(0.6rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.callbar .btn { width: 100%; justify-content: center; }
.callbar-avis {
  margin-bottom: 0.4rem; text-align: center;
  font-size: 0.85rem; color: var(--muted);
}
.callbar-avis svg { width: 13px; height: 13px; fill: #b8860b; stroke: none; vertical-align: -1px; }
@media (min-width: 700px) { .callbar { display: none; } }
@media (max-width: 699px) { body { padding-bottom: 140px; } }

/* --- Lien mentions légales (footer) --------------------------------------------- */
.footer-legales { color: rgba(255, 255, 255, 0.55); font-size: var(--text-sm); text-decoration: none; padding-block: 0.3rem; }
.footer-legales:hover { color: #fff; }

/* ============================================================
   Animations agence : entrée du hero + révélation au scroll.
   Tout est sous prefers-reduced-motion: no-preference et scopé
   html.js (posé par un inline script) : sans JS ou avec motion
   réduit, le contenu reste pleinement visible.
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {

  /* Révélation au scroll (site.js pose .in via IntersectionObserver) */
  html.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  html.js .reveal.in { opacity: 1; transform: none; }

  /* Stagger des cartes, blocs infos, étapes et galerie */
  html.js .cards > .reveal:nth-child(2), html.js .infos > .reveal:nth-child(2),
  html.js .etapes > .reveal:nth-child(2), html.js .galerie > .reveal:nth-child(2) { transition-delay: 0.1s; }
  html.js .cards > .reveal:nth-child(3), html.js .infos > .reveal:nth-child(3),
  html.js .etapes > .reveal:nth-child(3), html.js .galerie > .reveal:nth-child(3) { transition-delay: 0.2s; }
  html.js .cards > .reveal:nth-child(4) { transition-delay: 0.3s; }

  /* Galerie : zoom doux au survol. La propriété scale (et non transform)
     compose avec l'animation scroll-driven plus bas sans la casser. */
  .galerie .img-frame { transition: box-shadow var(--transition); }
  .galerie .img-frame img { transition: scale 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); }
  .galerie .img-frame:hover { box-shadow: var(--shadow); }
  .galerie .img-frame:hover img { scale: 1.035; }

  /* Étapes : pastille qui s'anime à la révélation */
  html.js .etape .etape-num { transform: scale(0.6); opacity: 0; transition: transform 0.5s 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s 0.25s ease; }
  html.js .etape.in .etape-num { transform: scale(1); opacity: 1; }

  /* Entrée du hero au chargement */
  @keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes hero-zoom {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
  }
  html.js .hero-content > * { animation: rise 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  html.js .hero-content > *:nth-child(2) { animation-delay: 0.1s; }
  html.js .hero-content > *:nth-child(3) { animation-delay: 0.2s; }
  html.js .hero-content > *:nth-child(4) { animation-delay: 0.3s; }
  html.js .hero-content > *:nth-child(5) { animation-delay: 0.4s; }
  html.js .hero-full .hero-bg { animation: hero-zoom 1.8s ease-out both; }

  /* Micro-interactions */
  .card { transition: transform var(--transition), box-shadow var(--transition); }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .btn { transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition); }
  .btn:hover { transform: translateY(-2px); }
  .nav { transition: box-shadow 0.3s ease; }
}

/* ============================================================
   Animations scroll-driven natives (Chrome, Edge). Le fallback
   IntersectionObserver (.reveal/.in via site.js) reste intact
   pour Firefox et Safari : ici on neutralise la transition et
   on pilote la révélation directement par le scroll. Le bloc
   prefers-reduced-motion: reduce de base.css coupe le tout.
   ============================================================ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    /* Révélation progressive des sections liée au scroll */
    @keyframes sd-reveal {
      from { opacity: 0; transform: translateY(34px); }
      to { opacity: 1; transform: none; }
    }
    html.js .reveal {
      opacity: 1; transform: none; transition: none;
      animation: sd-reveal both;
      animation-timeline: view();
      animation-range: entry 5% entry 45%;
    }

    /* Parallax léger du hero sur la première hauteur d'écran */
    @keyframes sd-parallax {
      from { transform: scale(1.12) translateY(0); }
      to { transform: scale(1.12) translateY(5%); }
    }
    html.js .hero-full .hero-bg {
      animation: sd-parallax linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }

    /* Galerie : zoom doux à l'entrée du viewport */
    @keyframes sd-galerie {
      from { opacity: 0.45; transform: scale(1.08); }
      to { opacity: 1; transform: scale(1); }
    }
    html.js .galerie .img-frame img {
      animation: sd-galerie both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}
