/* =====================================================================
   La Crêperie Roulante — feuille de styles partagée par toutes les pages
   Mise en conformité du 05/10/2026 : même rendu que la version livrée,
   polices auto-hébergées, contrastes AA, focus clavier, CSS mort retiré.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Polices auto-hébergées (latin, fichiers variables)
   Fraunces : axes opsz 9-144 et wght 100-900 · Nunito : wght 200-1000
   Caveat : wght 400-700. Aucun appel à fonts.googleapis.com.
--------------------------------------------------------------------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/fraunces-romain-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/fraunces-italique-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('fonts/nunito-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/caveat-var.woff2') format('woff2');
}
/* Replis aux métriques alignées : le texte ne saute pas quand la police arrive */
@font-face {
  font-family: 'Fraunces Repli';
  src: local('Georgia');
  size-adjust: 106.2%;
  ascent-override: 92.1%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Nunito Repli';
  src: local('Arial');
  size-adjust: 96.6%;
  ascent-override: 104.7%;
  descent-override: 36.5%;
  line-gap-override: 0%;
}

/* ---------------------------------------------------------------------
   2. Base
--------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --terra: #D9531E;             /* orange du logo : décor et grands textes */
  --terra-action: #B8471A;      /* boutons et petits textes orange : 5,3:1 sur blanc, 4,9:1 sur crème */
  --terra-action-hover: #9C3B15;
  --terra-dark: #B8401A;
  --terra-soft: #E97A4D;
  --gold: #F2B544;
  --gold-soft: #F8D27E;
  --gold-ink: #8C6927;          /* or lisible en petit texte : 5:1 sur blanc */
  --cream: #FBF5E9;
  --paper: #F5EDD9;
  --ink: #1A1A1A;
  --ink-soft: #4A4540;
  --line: #E5DBC4;
  --field: #999383;             /* bordure des champs : 3:1 sur blanc */
  --white: #ffffff;
  --shadow-soft: 0 4px 16px rgba(26,26,26,0.08);
  --shadow-card: 0 8px 24px rgba(26,26,26,0.10);
  --shadow-strong: 0 18px 40px rgba(26,26,26,0.18);
  --radius: 14px;
  --font-titre: 'Fraunces', 'Fraunces Repli', Georgia, serif;
  --font-corps: 'Nunito', 'Nunito Repli', Arial, sans-serif;
  --font-main: 'Caveat', cursive;
}

body {
  font-family: var(--font-corps);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
picture { display: contents; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-titre); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.p-accueil h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.p-accueil h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.p-accueil h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.eyebrow { font-family: var(--font-main); font-weight: 700; font-size: 1.5rem; color: var(--terra); display: inline-block; }
.eyebrow::before { content: '★ '; color: var(--gold); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 6rem 0; position: relative; }
@media (max-width: 768px) { section { padding: 4rem 0; } }

/* Accessibilité : lien d'évitement, focus clavier, ancres sous la nav fixe */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 3000; padding: 12px 20px; background: var(--terra-action); color: #fff; font-weight: 700; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--terra-action); outline-offset: 3px; }
.devis :focus-visible, footer :focus-visible, .calc-section :focus-visible, .cred-lightbox :focus-visible, .commit-carousel :focus-visible { outline-color: var(--gold); }
.devis-form :focus-visible, .calc-card :focus-visible { outline-color: var(--terra-action); }
[id] { scroll-margin-top: 110px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Lenis (défilement doux, desktop) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Mouvement réduit : toutes les animations s'arrêtent */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ---------------------------------------------------------------------
   3. Boutons
--------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-corps);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--terra-action); color: var(--white); box-shadow: 0 6px 18px rgba(217,83,30,0.32); }
.btn-primary:hover { transform: translateY(-2px); background: var(--terra-action-hover); box-shadow: 0 12px 26px rgba(217,83,30,0.42); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--ink); color: var(--cream); }

/* Reflet au survol */
.btn-shimmer { position: relative; overflow: hidden; }
.btn-shimmer::before {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
@keyframes shimmer-sweep { to { left: 150%; } }
.btn-shimmer:hover::before { animation: shimmer-sweep 550ms ease-out forwards; }

/* Halo qui suit le curseur */
.btn-hover-glow { position: relative; overflow: hidden; }
.btn-hover-glow .glow-spot {
  position: absolute; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-color, rgba(242,181,68,0.5)) 0%, transparent 70%);
  transform: translate(-50%, -50%); opacity: 0;
  transition: opacity 250ms ease; pointer-events: none;
}
.btn-hover-glow:hover .glow-spot { opacity: 1; }

/* ---------------------------------------------------------------------
   4. Navigation
--------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(251,245,233,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 300ms ease, padding 300ms ease;
  padding: 14px 0;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { box-shadow: 0 2px 18px rgba(26,26,26,0.08); padding: 10px 0; border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.brand { display: flex; align-items: center; gap: 14px; font-family: var(--font-titre); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.brand-logo {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gold-soft);
  box-shadow: 0 4px 12px rgba(217,83,30,0.25);
  flex-shrink: 0;
  transition: transform 300ms ease;
}
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.05); }
.brand-name { line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-main); font-weight: 700; color: var(--terra-action); font-size: 1rem; letter-spacing: 0; margin-top: 2px; }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); position: relative; padding: 4px 0; transition: color 200ms ease; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--terra); transition: width 300ms ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--terra-action); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--ink); color: var(--cream); border-radius: 999px; font-weight: 700; font-size: 0.95rem; transition: background 200ms ease, transform 200ms ease; }
.nav-cta:hover { background: var(--terra-action); transform: translateY(-2px); }
.nav-links a, .nav-cta { white-space: nowrap; }
/* Entre 901 et 1100 px, le logo seul (comme sur mobile) : les six liens et le numéro tiennent sur une ligne */
@media (min-width: 901px) and (max-width: 1100px) {
  .brand-name { display: none; }
  .nav-links { gap: 22px; }
}

.hamburger { display: none; width: 40px; height: 40px; position: relative; cursor: pointer; background: none; border: none; padding: 0; }
.hamburger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink); transition: transform 300ms ease, opacity 300ms ease, top 300ms ease; }
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 0; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: calc(80px + env(safe-area-inset-top)) 24px 28px; gap: 18px; border-bottom: 1px solid var(--line); transform: translateY(-100%); visibility: hidden; transition: transform 350ms ease, visibility 0s linear 350ms; box-shadow: 0 12px 24px rgba(26,26,26,0.10); z-index: 45; }
  .nav { background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; padding-top: max(14px, env(safe-area-inset-top)); }
  .nav-links.open { transform: translateY(0); visibility: visible; transition: transform 350ms ease, visibility 0s linear 0s; }
  .nav-links a { font-size: 1.1rem; }
  .hamburger { display: block; }
  .nav-cta { display: none; }
  .brand-name { display: none; }
  .brand-logo { width: 44px; height: 44px; }
}

/* ---------------------------------------------------------------------
   5. Pieds de page
--------------------------------------------------------------------- */
footer { background: var(--ink); color: var(--cream); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr 0.8fr; gap: 40px; margin-bottom: 3rem; }
.footer-brand-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.footer-brand-logo { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: var(--gold-soft); flex-shrink: 0; }
.footer-brand .footer-brand-titre { color: var(--cream); font-size: 1.3rem; margin: 0; }
.footer-col .footer-titre { color: var(--gold); font-size: 1rem; margin-bottom: 16px; font-family: var(--font-corps); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.15; }
.footer-col address strong { color: var(--cream); }
.footer-brand p { color: rgba(251,245,233,0.7); font-size: 0.95rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(251,245,233,0.75); font-size: 0.95rem; transition: color 200ms ease; }
.footer-col a:hover { color: var(--gold); }
.footer-col address { font-style: normal; color: rgba(251,245,233,0.75); font-size: 0.95rem; line-height: 1.7; }
.footer-col address a { color: rgba(251,245,233,0.75); }
.footer-col address a:hover { color: var(--gold); }
.footer-zone { color: rgba(251,245,233,0.75); font-size: 0.95rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(251,245,233,0.12); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: rgba(251,245,233,0.55); }
.footer-bottom a { color: rgba(251,245,233,0.7); border-bottom: 1px solid rgba(251,245,233,0.2); }
.footer-bottom a:hover { color: var(--gold); }
.footer-liens { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-liens a { padding: 2px 0; } /* zone tactile d'au moins 24 px */
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Crédit Acquisito, dernière ligne de chaque pied de page
   (opacité 0,55 au lieu de 0,45 : 5,6:1 au lieu de 4,2:1 sur l'encre) */
p.footer-credit { font-size: 0.75rem; opacity: 0.55; margin-top: 24px; text-align: center; color: var(--cream); }
p.footer-credit a { color: inherit; border-bottom: none; text-decoration: underline; text-underline-offset: 3px; transition: opacity 200ms ease; }
p.footer-credit a:hover { opacity: 0.8; }

.lien-texte { color: inherit; text-decoration: underline; text-decoration-color: rgba(217,83,30,0.55); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 200ms ease, text-decoration-color 200ms ease; }
.lien-texte:hover { color: var(--terra-action); text-decoration-color: currentColor; }
.devis .lien-texte { text-decoration-color: rgba(242,181,68,0.6); }
.devis .lien-texte:hover { color: var(--gold); }

/* ---------------------------------------------------------------------
   6. Accueil
--------------------------------------------------------------------- */
/* Hero asymétrique, polaroïd */
.hero { padding: 7.5rem 0 5rem; position: relative; overflow: hidden; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; grid-template-areas: "headline photo" "extras photo"; column-gap: 60px; row-gap: 18px; align-items: start; position: relative; z-index: 2; }
.hero-headline { grid-area: headline; max-width: 580px; }
.hero-extras { grid-area: extras; max-width: 580px; }
.hero-photo { grid-area: photo; align-self: center; position: relative; display: flex; justify-content: center; padding-bottom: 40px; }
.hero h1 { margin: 18px 0 22px; }
.hero h1 .accent { color: var(--terra); font-style: italic; font-weight: 600; }
.hero-sub { font-size: 1.18rem; color: var(--ink-soft); margin-bottom: 32px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.polaroid-main {
  background: var(--white);
  padding: 14px 14px 56px;
  box-shadow: var(--shadow-strong);
  transform: rotate(-3deg);
  position: relative;
  max-width: 440px;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.polaroid-main:hover { transform: rotate(0deg) scale(1.02); }
.polaroid-main img { width: 100%; height: 380px; object-fit: cover; display: block; }
.polaroid-cap { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-family: var(--font-main); font-weight: 700; color: var(--ink); font-size: 1.35rem; }
.polaroid-tape { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-3deg); width: 92px; height: 26px; background: rgba(242,181,68,0.55); border: 1px dashed rgba(217,83,30,0.3); }
.polaroid-logo {
  position: absolute; bottom: -20px; right: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--cream);
  padding: 8px;
  box-shadow: var(--shadow-card);
  transform: rotate(8deg);
  transition: transform 500ms ease;
}
.polaroid-logo:hover { transform: rotate(0deg) scale(1.05); }
.polaroid-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

@media (max-width: 900px) {
  .hero { padding-top: 6.5rem; }
  .hero-sub { margin-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "headline" "extras" "photo"; gap: 28px; }
  .polaroid-main { max-width: 320px; }
  .polaroid-main img { height: 320px; }
  /* en haut à droite : en bas, elle cachait la fin de la légende */
  .polaroid-logo { width: 104px; height: 104px; top: -26px; bottom: auto; right: -10px; }
}

/* Avis des trois plateformes, sous les boutons du hero */
.hero-reviews { display: flex; flex-direction: column; gap: 8px; margin-top: 26px; }
.review-badge { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--ink-soft); flex-wrap: wrap; }
.review-badge .rb-logo { flex-shrink: 0; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; }
.review-badge .rb-stars { color: var(--gold); font-size: 1rem; letter-spacing: 1.5px; }
.review-badge strong { color: var(--ink); font-weight: 700; }
.rb-mariage { background: #E94560; color: white; border-radius: 5px; font-family: var(--font-corps); font-weight: 800; font-size: 0.85rem; }
.avis-maj { font-size: 0.8rem; color: var(--ink-soft); margin-top: 2px; }
.hero-tagline { margin-top: 14px; color: var(--terra); font-family: var(--font-main); font-weight: 700; font-size: 1.35rem; transform: rotate(-1deg); display: inline-block; }

/* Bandeau de preuve */
.proof { background: var(--paper); padding: 3.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.proof-item { display: flex; flex-direction: column; gap: 6px; position: relative; }
.proof-item:not(:last-child)::after { content: ''; position: absolute; right: -16px; top: 18%; height: 64%; width: 1px; background: var(--line); }
.proof-num { font-family: var(--font-titre); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--terra); }
.proof-num .stars { color: var(--gold); font-size: 1.8rem; vertical-align: 0.2em; margin-right: 4px; }
.proof-depuis { font-family: var(--font-main); font-size: 1.8rem; color: var(--ink-soft); font-weight: 600; vertical-align: 0.3em; margin-right: 8px; }
.proof-pct { font-size: 1.6rem; }
.proof-label { font-family: var(--font-corps); font-size: 0.95rem; color: var(--ink-soft); font-weight: 600; }
.stat-counter { font-variant-numeric: tabular-nums; display: inline-block; }
@media (max-width: 700px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .proof-item::after { display: none !important; }
  .proof-num { font-size: 2.2rem; }
}

/* En-tête de section */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-head h2 { margin: 12px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* Services en zigzag, polaroïds penchés */
.services-zigzag { display: flex; flex-direction: column; gap: 5rem; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.service-row:nth-child(even) .service-img-wrap { order: -1; }
.service-img-wrap { display: flex; justify-content: center; }
.polaroid-rotate {
  transform: rotate(-2deg);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 400ms ease-out;
  padding: 14px 14px 48px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 528px; /* +20 % (440 px avant) */
  position: relative;
}
.polaroid-rotate:nth-child(even) { transform: rotate(2deg); }
.polaroid-rotate:nth-child(3n)   { transform: rotate(-1deg); }
.polaroid-rotate:nth-child(4n)   { transform: rotate(3deg); }
.polaroid-rotate:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  z-index: 2;
}
.polaroid-rotate img { width: 100%; height: 360px; object-fit: cover; } /* +20 % (300 px avant) */
.polaroid-rotate-cap { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-family: var(--font-main); font-weight: 700; font-size: 1.25rem; color: var(--ink); }

.service-text {
  padding: 28px 30px;
  border-radius: 16px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}
.service-text > * { position: relative; z-index: 1; }
.service-num { font-family: var(--font-titre); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.25em; color: var(--gold-ink); margin-bottom: 8px; text-transform: uppercase; }
.service-text h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); margin-bottom: 14px; }
.service-text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.05rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; list-style: none; }
.service-tag { font-size: 0.85rem; padding: 6px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-weight: 600; }

/* Bordure conique au survol des cartes de service */
@property --gb-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes glow-border-rotate { to { --gb-angle: 360deg; } }
.glowing-border-card { position: relative; }
.glowing-border-card::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--gb-angle, 0deg), transparent, var(--terra) 80deg, var(--gold) 140deg, transparent 200deg, var(--terra) 280deg, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 400ms ease; pointer-events: none;
}
.glowing-border-card:hover::before { opacity: 1; animation: glow-border-rotate 4s linear infinite; }
.glowing-border-card:hover { border-color: var(--terra-soft); transform: translateY(-4px); box-shadow: var(--shadow-card); }

@media (max-width: 800px) {
  .service-row { grid-template-columns: 1fr; gap: 30px; }
  .service-row:nth-child(even) .service-img-wrap { order: 0; }
  .polaroid-rotate { max-width: 100%; }
  .polaroid-rotate img { height: 240px; }
}

/* Qualité : carrousel + cartes */
.commitments { background: var(--paper); position: relative; }
.commitments-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}
.commit-badge {
  display: inline-block;
  padding: 7px 14px;
  background: var(--terra-action);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.commit-cards { display: flex; flex-direction: column; gap: 16px; }
.commit-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  position: relative;
  overflow: hidden;
}
.commit-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--terra);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 400ms ease;
}
.commit-card:hover::before { transform: scaleY(1); }
.commit-card:hover { transform: translateX(4px); border-color: var(--terra-soft); box-shadow: var(--shadow-soft); }
.commit-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--terra-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: transform 300ms ease;
}
.commit-card:hover .commit-icon { transform: rotate(-8deg) scale(1.08); }
.commit-card h3 { font-family: var(--font-titre); font-size: 1.15rem; margin: 0 0 4px; color: var(--ink); font-weight: 600; }
.commit-card p { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.55; margin: 0; }
.commit-link { color: var(--terra-action); font-weight: 600; border-bottom: 1px solid rgba(217,83,30,0.35); transition: color 200ms ease, border-color 200ms ease; }
.commit-link:hover { color: var(--ink); border-bottom-color: var(--terra); }
@media (max-width: 900px) { .commitments-grid { grid-template-columns: 1fr; } }

.commit-carousel { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 480px; background: var(--ink); box-shadow: var(--shadow-card); }
.commit-slides { position: absolute; inset: 0; width: 100%; height: 100%; }
.commit-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 700ms ease; z-index: 1; pointer-events: none; }
.commit-slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.commit-slide img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  animation: ken-burns-slow 12s ease-in-out infinite alternate;
}
@keyframes ken-burns-slow {
  0% { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}
.commit-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.20) 50%, transparent 78%); z-index: 1; }
.commit-slide-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px 34px 58px; z-index: 3; color: var(--cream); }
.commit-slide-content h3 { color: var(--cream); font-size: clamp(1.45rem, 2.2vw, 1.85rem); margin-bottom: 10px; }
.commit-slide-content p { color: rgba(251,245,233,0.88); font-size: 1rem; line-height: 1.55; }
.commit-slide-content .commit-badge { margin-bottom: 12px; }

.commit-nav {
  position: absolute;
  top: 50%;
  width: 44px; height: 44px;
  background: rgba(251,245,233,0.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
  z-index: 10;
  transform: translateY(-50%);
  transition: background 200ms ease, transform 200ms ease, color 200ms ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  border: none;
  opacity: 0.9;
}
.commit-nav:hover { background: var(--terra-action); color: var(--white); transform: translateY(-50%) scale(1.08); opacity: 1; }
.commit-prev { left: 16px; }
.commit-next { right: 16px; }
.commit-pause {
  position: absolute; right: 12px; bottom: 8px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,26,26,0.55); color: var(--cream);
  transition: background 200ms ease;
}
.commit-pause:hover { background: rgba(26,26,26,0.85); }
.commit-pause .ico-lecture, .commit-pause.en-pause .ico-pause { display: none; }
.commit-pause.en-pause .ico-lecture { display: block; }

/* Points du carrousel : 9 px à l'œil, zone cliquable de 25 px */
.commit-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 16px; z-index: 10; }
.commit-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(251,245,233,0.45); cursor: pointer; transition: background 250ms ease, transform 250ms ease, width 250ms ease; border: none; padding: 0; position: relative; }
.commit-dot::before { content: ''; position: absolute; inset: -8px; }
.commit-dot.active { background: var(--gold); width: 28px; border-radius: 999px; }
@media (max-width: 600px) {
  .commit-nav { width: 36px; height: 36px; }
  .commit-slide-content { padding: 26px 22px 50px; }
}

/* Comment ça roule */
.how { background: var(--paper); }
.how-timeline { position: relative; padding-top: 70px; }
.how-line { position: absolute; top: 80px; left: 16%; right: 16%; width: 68%; height: 80px; z-index: 0; pointer-events: none; }
.how-line path { stroke-dasharray: 10 8; animation: dash-flow 6s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -36; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; z-index: 1; }
.step {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 64px 28px 28px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--terra-soft); }
.step h3 { margin-bottom: 10px; font-size: 1.3rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }
.step .step-note { font-size: 0.85rem; font-style: italic; margin-top: 10px; }
.step-icon-wrap { position: absolute; top: -36px; left: 50%; transform: translateX(-50%); width: 88px; height: 88px; z-index: 2; }
.step-icon {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terra) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 12px 24px rgba(217,83,30,0.34);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.step-icon::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed var(--terra); opacity: 0.4; animation: rotate-dash 16s linear infinite; pointer-events: none; }
@keyframes rotate-dash { to { transform: rotate(360deg); } }
.step:hover .step-icon { transform: scale(1.08) rotate(-6deg); }
.step:hover .step-icon::after { animation-duration: 6s; opacity: 0.7; }
.step-tag { font-family: var(--font-main); font-weight: 700; font-size: 1.4rem; color: var(--terra); line-height: 1; margin-bottom: 8px; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 64px; }
  .how-line { display: none; }
}

/* Galerie : défilement continu */
.gallery-wrap { position: relative; padding: 2rem 0; }
.mise-en-place-carousel { overflow: hidden; width: 100%; margin: 1.5rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.carousel-track { display: flex; width: max-content; animation: carousel-scroll 91s linear infinite; }
/* marges plutôt que gap : -50 % tombe pile au début de la copie, sans saut à chaque tour */
.carousel-track > .carousel-item { margin-right: 1.75rem; }
/* second étage : 7 photos, en sens inverse, même vitesse que le premier (12 photos en 91 s) */
.carousel-track-inverse { margin-top: 1.75rem; animation-duration: 53s; animation-direction: reverse; }
.carousel-track:hover { animation-play-state: paused; }
.carousel-item { position: relative; flex-shrink: 0; width: 440px; height: 330px; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.15); cursor: pointer; }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.carousel-item:hover img { transform: scale(1.04); }
.carousel-item-billig img { object-position: center 80%; }
@media (max-width: 768px) { .carousel-item { width: 260px; height: 195px; } }
@keyframes carousel-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Avis : colonnes qui défilent */
.testimonials { background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%); overflow: hidden; content-visibility: auto; contain-intrinsic-size: auto 1100px; }
@keyframes temoignages-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.temoignages-colonnes { display: flex; gap: 24px; justify-content: center; align-items: stretch; max-width: 1100px; margin: 0 auto; height: 680px; overflow: hidden; mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent); }
.temoignage-col { flex: 1; min-width: 0; overflow: hidden; }
.temoignage-col:nth-child(2) .temoignage-col-inner { animation-direction: reverse; }
.temoignage-col-inner { display: flex; flex-direction: column; animation: temoignages-scroll var(--duration, 26s) linear infinite; }
.temoignage-col-inner:hover { animation-play-state: paused; }
.temoignage-col-inner > .tcard { margin-bottom: 20px; }
.tcard { background: var(--white); border-radius: 4px; padding: 24px 22px 22px; box-shadow: 0 6px 18px rgba(26,26,26,0.08); border-left: 4px solid var(--terra); position: relative; flex-shrink: 0; }
.tcard-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 10px; }
.tcard-quote { font-family: var(--font-titre); font-style: italic; font-size: 0.98rem; line-height: 1.55; color: var(--ink); margin-bottom: 16px; position: relative; }
.tcard-quote::before { content: '«'; position: absolute; top: -24px; left: -6px; font-size: 3rem; color: var(--terra); opacity: 0.25; font-family: var(--font-titre); font-weight: 700; line-height: 1; }
.tcard-author { display: flex; align-items: center; gap: 12px; border-top: 1px dashed var(--line); padding-top: 12px; }
.tcard-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--terra-action); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-titre); font-weight: 700; flex-shrink: 0; }
.tcard-name { font-weight: 700; font-size: 0.92rem; }
.tcard-context { color: var(--ink-soft); font-size: 0.82rem; }
/* téléphone : deux colonnes côte à côte, la troisième masquée (modèle TESTIMONIALS_COLUMNS) */
@media (max-width: 767px) {
  .temoignages-colonnes { height: 560px; gap: 12px; }
  .temoignage-col:nth-child(3) { display: none; }
  .temoignage-col-inner > .tcard { margin-bottom: 12px; }
  .tcard { padding: 18px 14px 14px; border-left-width: 3px; }
  .tcard-stars { font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 8px; }
  .tcard-quote { font-size: 0.86rem; line-height: 1.5; margin-bottom: 12px; }
  .tcard-quote::before { font-size: 2.2rem; top: -16px; }
  .tcard-author { gap: 8px; padding-top: 10px; }
  .tcard-avatar { width: 28px; height: 28px; font-size: 0.8rem; }
  .tcard-name { font-size: 0.82rem; }
  .tcard-context { font-size: 0.72rem; }
}
.avis-pied { text-align: center; }
.google-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 3rem; font-weight: 700; color: var(--ink-soft); border-bottom: 2px solid var(--terra); padding-bottom: 4px; transition: color 200ms ease; }
.google-link:hover { color: var(--terra-action); }

/* Bouton pause des contenus qui défilent seuls (WCAG 2.2.2) */
.defile-pause {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 1rem; padding: 10px 16px; min-height: 44px;
  font-size: 0.85rem; font-weight: 700; color: var(--ink-soft);
  border: 1px solid var(--field); border-radius: 999px; background: transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.defile-pause:hover { color: var(--terra-action); border-color: var(--terra-action); }
.defile-pause .ico-lecture, .defile-pause[aria-pressed="true"] .ico-pause { display: none; }
.defile-pause[aria-pressed="true"] .ico-lecture { display: inline; }
.galerie-pied { text-align: center; }
.est-en-pause .carousel-track,
.est-en-pause .temoignage-col-inner,
.mise-en-place-carousel:focus-within .carousel-track,
.temoignages-colonnes:focus-within .temoignage-col-inner { animation-play-state: paused; }

/* Formulaire de devis */
.devis { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.devis::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(242,181,68,0.18) 0%, transparent 70%); }
.devis::after { content: ''; position: absolute; bottom: -120px; left: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(217,83,30,0.18) 0%, transparent 70%); }
.devis h2 { color: var(--cream); }
.devis .section-head p { color: rgba(251,245,233,0.75); }
.devis .eyebrow { color: var(--gold); }
.devis .eyebrow::before { color: var(--terra); }
.devis-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.devis-info { padding-top: 12px; }
.devis-info h3 { color: var(--cream); margin-bottom: 24px; font-size: 1.6rem; }
.devis-info ul { list-style: none; margin: 0 0 28px; }
.devis-info li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; font-size: 1rem; color: rgba(251,245,233,0.85); }
.devis-info li::before {
  content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--terra); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 8 7 12 13 4'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat; background-size: 14px;
}
.devis-contact { border-top: 1px solid rgba(251,245,233,0.15); padding-top: 22px; margin-top: 22px; }
.devis-contact a { display: flex; align-items: center; gap: 12px; font-weight: 700; margin-bottom: 12px; color: var(--cream); transition: color 200ms ease; }
.devis-contact a:hover { color: var(--gold); }
.devis-contact address { font-style: normal; }
.devis-ville { font-style: normal; color: rgba(251,245,233,0.75); font-size: 0.95rem; line-height: 1.6; margin-top: 8px; }
.devis-form { background: var(--cream); color: var(--ink); padding: 38px; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group.message { margin-bottom: 22px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-corps); font-size: 1rem; padding: 12px 14px;
  border: 1.5px solid var(--field); border-radius: 10px; background: var(--white); color: var(--ink);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(217,83,30,0.12); }
.form-group input:focus-visible, .form-group select:focus-visible, .form-group textarea:focus-visible { outline: 2px solid var(--terra-action); outline-offset: 1px; }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group .error { color: var(--terra-dark); font-size: 0.82rem; font-weight: 600; display: none; }
.form-group.invalid .error { display: block; }
.form-group.invalid input, .form-group.invalid select, .form-group.invalid textarea { border-color: var(--terra-dark); }
.pot-de-miel { display: none; }
.btn-submit {
  width: 100%; padding: 18px;
  background: var(--terra-action); color: var(--white);
  border-radius: 999px;
  font-family: var(--font-corps); font-weight: 700; font-size: 1.05rem;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 8px 20px rgba(217,83,30,0.32);
  position: relative; overflow: hidden;
}
.btn-submit:hover { transform: translateY(-2px); background: var(--terra-action-hover); box-shadow: 0 12px 28px rgba(217,83,30,0.42); }
.btn-submit::before { content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-20deg); pointer-events: none; }
.btn-submit:hover::before { animation: shimmer-sweep 700ms ease-out forwards; }
.form-success { display: none; background: rgba(217,83,30,0.08); border: 2px solid var(--terra); border-radius: var(--radius); padding: 28px; text-align: center; font-family: var(--font-titre); color: var(--ink); }
.form-success.show { display: block; animation: pop-in 500ms cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes pop-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.form-success svg { width: 56px; height: 56px; background: var(--terra-action); border-radius: 50%; padding: 12px; color: var(--white); margin-bottom: 16px; }
.form-success h3 { margin-bottom: 10px; color: var(--terra); }
.form-success p { font-family: var(--font-corps); font-size: 1rem; color: var(--ink-soft); }
.form-success a { color: var(--terra-action); border-bottom: 1px solid var(--terra-action); }
@media (max-width: 900px) {
  .devis-grid { grid-template-columns: 1fr; gap: 36px; }
  .devis-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
}

/* FAQ */
.faq { content-visibility: auto; contain-intrinsic-size: auto 600px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: box-shadow 300ms ease, border-color 300ms ease; }
.faq-item.open { box-shadow: var(--shadow-card); border-color: var(--terra-soft); }
.faq-item h3 { font-size: inherit; margin: 0; }
.faq-q { width: 100%; padding: 22px 26px; text-align: left; background: none; border: none; font-family: var(--font-titre); font-weight: 600; font-size: 1.1rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color 200ms ease; }
.faq-q:hover { color: var(--terra-action); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--terra-action); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 600; transition: transform 300ms ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; opacity: 0; overflow: hidden; visibility: hidden; transition: max-height 400ms ease, opacity 300ms ease, padding 300ms ease, visibility 0s linear 400ms; padding: 0 26px; }
.faq-item.open .faq-a { max-height: 400px; opacity: 1; visibility: visible; padding: 0 26px 22px; transition: max-height 400ms ease, opacity 300ms ease, padding 300ms ease, visibility 0s linear 0s; }
.faq-a p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }

/* Barre d'appel mobile : Appeler + Demander un devis, fixe en bas de l'écran */
.barre-appel { display: none; }
@media (max-width: 768px) {
  .barre-appel {
    display: flex; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--cream); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(26,26,26,0.12);
  }
  .barre-appel-btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 12px; border-radius: 999px;
    font-weight: 700; font-size: 0.95rem; white-space: nowrap;
  }
  .barre-appel-tel { background: var(--ink); color: var(--cream); }
  .barre-appel-devis { background: var(--terra-action); color: var(--white); box-shadow: 0 6px 16px rgba(217,83,30,0.28); }
  body:not(.p-merci) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 359px) {
  .barre-appel { gap: 8px; padding-left: 10px; padding-right: 10px; }
  .barre-appel-btn { font-size: 0.85rem; padding: 0 8px; gap: 6px; }
}

/* Apparitions. Rien n'est masqué tant que le script n'a pas démarré (classe .js) */
.js .hero-anim { opacity: 0; transform: translateY(28px); }
.js .hero-anim.visible { opacity: 1; transform: translateY(0); transition: opacity 700ms ease-out, transform 700ms ease-out; }
.js .hero-anim.delay-1.visible { transition-delay: 150ms; }
.js .hero-anim.delay-2.visible { transition-delay: 300ms; }
.js .hero-anim.delay-3.visible { transition-delay: 480ms; }
.js .hero-anim.delay-4.visible { transition-delay: 660ms; }
.js .hero-anim.delay-5.visible { transition-delay: 820ms; }
.js .scroll-reveal { opacity: 0; transform: translateY(28px); transition: opacity 600ms ease-out, transform 600ms ease-out; }
.js .scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.js .scroll-reveal.delay-1 { transition-delay: 100ms; }
.js .scroll-reveal.delay-2 { transition-delay: 220ms; }
.js .scroll-reveal.delay-3 { transition-delay: 360ms; }

/* ---------------------------------------------------------------------
   7. Fil d'Ariane (pages internes)
--------------------------------------------------------------------- */
.ariane { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 14px; position: relative; z-index: 2; }
.ariane a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.ariane a:hover { color: var(--terra-action); }
.ariane ol { list-style: none; display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ariane li + li::before { content: '/'; margin-right: 6px; opacity: 0.6; }

/* ---------------------------------------------------------------------
   8. Page Menu
--------------------------------------------------------------------- */
.menu-hero { padding: 9rem 0 3rem; text-align: center; position: relative; overflow: hidden; }
.menu-hero::before { content: ''; position: absolute; top: 0; right: -150px; width: 380px; height: 380px; background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%); opacity: 0.4; pointer-events: none; }
.menu-hero::after { content: ''; position: absolute; bottom: -80px; left: -120px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(217,83,30,0.16) 0%, transparent 70%); pointer-events: none; }
.menu-hero h1 { margin: 16px auto 16px; max-width: 800px; position: relative; z-index: 2; }
.menu-hero h1 .accent { color: var(--terra); font-style: italic; font-weight: 600; }
.menu-hero p.lead { max-width: 700px; margin: 0 auto; font-size: 1.18rem; color: var(--ink-soft); position: relative; z-index: 2; }
.menu-hero .baseline { display: inline-flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 2; list-style: none; }
.baseline-item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--ink-soft); font-weight: 600; }
.baseline-item::before { content: '✓'; color: var(--terra); font-weight: 800; font-size: 1.1rem; }

.menu-tabs { padding: 1rem 0 3rem; }
.tabs-inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; margin: 0 auto 3rem; padding: 0 20px; }
.tab {
  padding: 14px 26px; background: var(--white); border: 2px solid var(--line); border-radius: 999px;
  font-family: var(--font-titre); font-weight: 600; font-size: 1.05rem; color: var(--ink-soft);
  cursor: pointer; transition: all 250ms ease; position: relative;
}
.tab:hover { border-color: var(--terra-soft); color: var(--terra-action); transform: translateY(-2px); }
.tab.active { background: var(--terra); color: var(--white); border-color: var(--terra); box-shadow: 0 8px 22px rgba(217,83,30,0.32); transform: translateY(-2px); }
.tab .tab-price { display: inline-block; font-family: var(--font-corps); font-weight: 700; font-size: 0.85rem; margin-left: 8px; opacity: 0.8; }

.menu-cards-wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.menu-card {
  background: var(--white); border-radius: var(--radius); padding: 38px 40px;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
  display: none; animation: cardFadeIn 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-card.active { display: block; }
@keyframes cardFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.menu-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 24px; border-bottom: 1px dashed var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.menu-card-title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.menu-card-title h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.menu-card-title .tag { font-family: var(--font-main); font-weight: 700; color: var(--terra); font-size: 1.4rem; transform: rotate(-2deg); display: inline-block; }
.menu-card-price { text-align: right; }
.price-main { font-family: var(--font-titre); font-weight: 700; font-size: 2.6rem; color: var(--terra); line-height: 1; }
.price-unit { font-size: 1rem; color: var(--ink-soft); font-weight: 600; }
.price-child { font-size: 0.95rem; color: var(--ink-soft); margin-top: 6px; }
.price-child strong { color: var(--terra-action); font-weight: 700; }

.menu-section { margin-bottom: 24px; }
.menu-section h3 { font-family: var(--font-corps); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; margin-bottom: 12px; }
.menu-section ul { list-style: none; }
.menu-section li { padding: 8px 0 8px 26px; position: relative; font-size: 1.02rem; color: var(--ink-soft); border-bottom: 1px dotted rgba(229,219,196,0.6); transition: color 200ms ease, padding-left 200ms ease; }
.menu-section li:last-child { border-bottom: none; }
.menu-section li::before { content: ''; position: absolute; left: 4px; top: 50%; transform: translateY(-50%); width: 14px; height: 2px; background: var(--terra); transition: width 200ms ease; }
.menu-section li:hover { color: var(--ink); padding-left: 30px; }
.menu-section li:hover::before { width: 18px; }
.menu-section li .note { font-size: 0.85rem; color: var(--ink-soft); opacity: 0.85; font-style: italic; }
.menu-extra { margin-top: 18px; padding: 12px 16px; background: rgba(242,181,68,0.14); border-left: 3px solid var(--gold); border-radius: 6px; font-size: 0.92rem; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.menu-extra::before { content: '🍽️'; font-size: 1.1rem; }
.menu-extra strong { color: var(--terra-action); font-weight: 700; }
.menu-extra .extra-detail { font-size: 0.85rem; opacity: 0.85; font-style: italic; flex-basis: 100%; margin-top: 4px; }
.unlimited-hero { display: inline-flex; align-items: center; gap: 10px; margin: 22px auto 4px; padding: 10px 22px; background: linear-gradient(135deg, var(--terra) 0%, var(--terra-soft) 100%); color: var(--cream); border-radius: 999px; font-size: 1.02rem; font-weight: 600; box-shadow: 0 8px 20px rgba(217,83,30,0.28); position: relative; z-index: 2; }
.unlimited-hero strong { font-family: var(--font-titre); font-weight: 700; font-style: italic; font-size: 1.12rem; letter-spacing: 0.01em; }
.unlimited-hero .unlimited-icon { font-size: 1.5rem; line-height: 1; font-weight: 800; }
.unlimited-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: var(--terra); color: var(--cream); border-radius: 999px; font-family: var(--font-corps); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 4px 10px rgba(217,83,30,0.28); }
.unlimited-pill::before { content: '∞'; font-size: 1rem; line-height: 1; }

/* Options sous les cartes de menu : vaisselle, barnum, mange-debout et tabourets */
.menu-options { margin-top: 3.5rem; padding: 0; }
.menu-options-titre { text-align: center; font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 1.5rem; }
.option-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-soft); margin-bottom: 20px; }
.option-photo { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--paper); }
.option-photo img { width: 100%; height: 100%; object-fit: cover; }
.option-photo-vide { display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; border: 2px dashed var(--field); }
.option-texte h3 { font-size: 1.3rem; margin-bottom: 8px; }
.option-texte h3 strong { color: var(--terra-action); white-space: nowrap; }
.option-texte p { color: var(--ink-soft); font-size: 0.98rem; }
.option-prix { list-style: none; }
.option-prix li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dotted var(--line); color: var(--ink-soft); }
.option-prix li:last-child { border-bottom: none; }
.option-prix strong { color: var(--terra-action); white-space: nowrap; }
@media (max-width: 700px) { .option-row { grid-template-columns: 1fr; gap: 16px; } }

/* Calculateur */
.calc-section { background: var(--ink); color: var(--cream); padding: 5rem 0; margin-top: 5rem; position: relative; overflow: hidden; }
.calc-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(242,181,68,0.18) 0%, transparent 70%); }
.calc-section::after { content: ''; position: absolute; bottom: -120px; left: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(217,83,30,0.18) 0%, transparent 70%); }
.calc-head { text-align: center; max-width: 700px; margin: 0 auto 3rem; position: relative; z-index: 2; }
.calc-head h2 { color: var(--cream); margin: 14px 0 14px; }
.calc-head p { color: rgba(251,245,233,0.78); }
.calc-head .eyebrow { color: var(--gold); }
.calc-head .eyebrow::before { color: var(--terra); }
.calc-card { max-width: 720px; margin: 0 auto; background: var(--cream); color: var(--ink); padding: 38px 40px; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,0.4); position: relative; z-index: 2; }
.calc-row { margin-bottom: 26px; }
.calc-row label, .calc-row .calc-label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; }
.calc-row-last { margin-bottom: 0; }
.calc-formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.calc-formules button { padding: 12px 16px; background: var(--white); border: 2px solid var(--line); border-radius: 10px; font-family: var(--font-titre); font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); cursor: pointer; transition: all 200ms ease; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.calc-formules button:hover { border-color: var(--terra-soft); }
.calc-formules button.active { background: var(--terra); color: var(--white); border-color: var(--terra); box-shadow: 0 6px 16px rgba(217,83,30,0.32); }
.calc-formules button small { font-family: var(--font-corps); font-weight: 700; font-size: 0.85rem; opacity: 0.85; }
.slider-wrap { display: flex; align-items: center; gap: 18px; }
.slider-wrap input[type="range"] { flex: 1; height: 26px; -webkit-appearance: none; appearance: none; background: linear-gradient(to right, var(--terra) var(--p, 0%), var(--line) var(--p, 0%)) center / 100% 6px no-repeat; border-radius: 999px; outline: none; cursor: pointer; } /* 26 px de zone tactile, piste dessinée sur 6 px */
.slider-wrap input[type="range"]:focus-visible { outline: 3px solid var(--terra-action); outline-offset: 6px; }
.slider-wrap input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; background: var(--terra); border: 3px solid var(--cream); border-radius: 50%; cursor: pointer; box-shadow: 0 4px 10px rgba(217,83,30,0.42); }
.slider-wrap input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; background: var(--terra); border: 3px solid var(--cream); border-radius: 50%; cursor: pointer; box-shadow: 0 4px 10px rgba(217,83,30,0.42); }
.slider-val { font-family: var(--font-titre); font-weight: 700; font-size: 1.5rem; color: var(--terra); min-width: 70px; text-align: right; }
.calc-options { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.calc-option { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; font-size: 0.95rem; color: var(--ink-soft); position: relative; }
.calc-option input { position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin: -11px 0 0; opacity: 0; cursor: pointer; }
.calc-option .cb-box { width: 22px; height: 22px; border: 2px solid var(--field); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: var(--white); transition: all 200ms ease; }
.calc-option input:checked + .cb-box { background: var(--terra-action); border-color: var(--terra-action); }
.calc-option input:checked + .cb-box::after { content: '✓'; color: var(--white); font-weight: 700; font-size: 0.95rem; }
.calc-option input:focus-visible + .cb-box { outline: 3px solid var(--terra-action); outline-offset: 3px; }
.calc-quantites { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.calc-quantite label { font-size: 0.9rem; margin-bottom: 6px; }
.calc-quantite input, .calc-quantite select { width: 100%; font-family: var(--font-corps); font-size: 1rem; padding: 10px 12px; border: 1.5px solid var(--field); border-radius: 10px; background: var(--white); color: var(--ink); }
@media (max-width: 600px) { .calc-quantites { grid-template-columns: 1fr; } }
.calc-total { margin-top: 32px; padding: 26px 28px; background: linear-gradient(135deg, rgba(217,83,30,0.08) 0%, rgba(242,181,68,0.08) 100%); border: 2px dashed var(--terra-soft); border-radius: var(--radius); text-align: center; }
.calc-total .total-label { font-size: 0.95rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.calc-total .total-val { font-family: var(--font-titre); font-weight: 700; font-size: 3rem; color: var(--terra); line-height: 1; margin: 10px 0 6px; }
.calc-total .total-detail { font-size: 0.92rem; color: var(--ink-soft); }
.calc-total .total-detail strong { color: var(--ink); }
.calc-cta { display: block; margin: 28px auto 0; padding: 16px 36px; background: var(--terra-action); color: var(--white); font-family: var(--font-corps); font-weight: 700; font-size: 1.05rem; border-radius: 999px; box-shadow: 0 8px 22px rgba(217,83,30,0.32); transition: all 200ms ease; text-align: center; max-width: 360px; }
.calc-cta:hover { transform: translateY(-2px); background: var(--terra-action-hover); box-shadow: 0 12px 28px rgba(217,83,30,0.42); }

/* Infos pratiques */
.infos { padding: 4rem 0; background: var(--paper); content-visibility: auto; contain-intrinsic-size: auto 400px; }
.infos-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 20px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; text-align: center; transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--terra-soft); }
.info-card .info-icon { width: 52px; height: 52px; margin: 0 auto 14px; background: linear-gradient(135deg, var(--gold-soft) 0%, var(--terra-soft) 100%); color: var(--white); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.info-card h3 { font-family: var(--font-titre); font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }
.info-card strong { color: var(--terra-action); font-weight: 700; }
@media (max-width: 700px) { .infos-grid { grid-template-columns: 1fr; } }

.back-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; background: var(--white); border: 2px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--ink-soft); transition: all 200ms ease; margin-top: 3rem; }
.back-link:hover { border-color: var(--terra-action); color: var(--terra-action); transform: translateX(-4px); }
.back-wrap { text-align: center; padding: 0 0 4rem; }

/* ---------------------------------------------------------------------
   9. Page Mon histoire
--------------------------------------------------------------------- */
.story-hero { padding: 9rem 0 3rem; text-align: center; position: relative; overflow: hidden; }
.story-hero::before { content: ''; position: absolute; top: 0; right: -150px; width: 380px; height: 380px; background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%); opacity: 0.4; pointer-events: none; }
.story-hero::after { content: ''; position: absolute; bottom: -80px; left: -120px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(217,83,30,0.16) 0%, transparent 70%); pointer-events: none; }
.story-hero h1 { margin: 16px auto 16px; max-width: 800px; position: relative; z-index: 2; }
.story-hero h1 .accent { color: var(--terra); font-style: italic; font-weight: 600; }

.portrait { padding: 3rem 0 1rem; }
.portrait-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; align-items: stretch; position: relative; }
.portrait-main { position: relative; min-height: 540px; }
.portrait-frame { background: var(--white); padding: 14px 14px 56px; border-radius: 8px; box-shadow: var(--shadow-strong); transform: rotate(-1.2deg); transition: transform 400ms ease; position: relative; height: 100%; }
.portrait-frame:hover { transform: rotate(0) translateY(-4px); }
.portrait-frame img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; border-radius: 4px; }
.portrait-frame .frame-tape { position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg); width: 110px; height: 26px; background: rgba(242,181,68,0.55); border: 1px dashed rgba(217,83,30,0.3); }
.portrait-frame .frame-cap { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-family: var(--font-main); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.portrait-side { display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 5; }
.cred-card { background: var(--white); padding: 14px; border-radius: 10px; box-shadow: var(--shadow-card); flex: 1; display: flex; flex-direction: column; transform: rotate(1.2deg); transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms ease; min-height: 250px; cursor: zoom-in; position: relative; }
.cred-card:nth-child(2) { transform: rotate(-1.4deg); }
.cred-card:hover { transform: scale(1.06) rotate(0); z-index: 50; box-shadow: 0 20px 50px rgba(0,0,0,0.32); }
@media (hover: none) {
  .cred-card:hover { transform: rotate(1.2deg); box-shadow: var(--shadow-card); }
  .cred-card:nth-child(2):hover { transform: rotate(-1.4deg); }
}
.cred-card .cred-img-wrap { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--paper); border-radius: 6px; padding: 10px; overflow: hidden; }
.cred-card img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cred-card .cred-cap { text-align: center; font-family: var(--font-main); font-weight: 700; font-size: 1.2rem; color: var(--terra); margin-top: 12px; padding: 0 6px 4px; }
.cred-lightbox { display: none; position: fixed; inset: 0; background: rgba(26,26,26,0.92); z-index: 999; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.cred-lightbox.open { display: flex; }
.cred-lightbox img { max-width: 95vw; max-height: 88vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); background: white; padding: 8px; }
.cred-lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: white; font-size: 2.5rem; cursor: pointer; padding: 0 8px; line-height: 1; z-index: 1000; min-width: 44px; min-height: 44px; }
.cred-lightbox-close:hover { color: var(--gold); }
@media (max-width: 900px) {
  .portrait-grid { grid-template-columns: 1fr; }
  .portrait-main { min-height: 0; }
  .portrait-frame img { min-height: 360px; }
  .cred-card { min-height: 220px; }
}

.story-text { padding: 3rem 0 4rem; }
.story-text-inner { max-width: 820px; margin: 0 auto; }
.story-text-eyebrow { text-align: center; margin-bottom: 14px; }
.story-text h2 { text-align: center; margin-bottom: 32px; }
.story-text h2 em { color: var(--terra); font-style: italic; }
.story-text p { font-size: 1.08rem; line-height: 1.78; color: var(--ink-soft); margin-bottom: 18px; }
.story-text p strong { color: var(--ink); font-weight: 700; }
.schedule-card { background: var(--white); padding: 28px 30px; border-radius: var(--radius); margin: 32px 0; box-shadow: var(--shadow-soft); border-left: 4px solid var(--terra); }
.schedule-card h3 { font-size: 1.15rem; margin-bottom: 16px; }
.schedule-card ul { list-style: none; }
.schedule-card li { padding: 10px 0; border-bottom: 1px dotted var(--line); display: flex; gap: 16px; align-items: baseline; }
.schedule-card li:last-child { border-bottom: none; }
.schedule-card .day { font-family: var(--font-titre); font-weight: 700; color: var(--terra-action); width: 90px; flex-shrink: 0; }

.partners { padding: 4rem 0 5rem; background: var(--paper); position: relative; overflow: hidden; content-visibility: auto; contain-intrinsic-size: auto 2200px; }
.partners::before { content: ''; position: absolute; top: -120px; left: -120px; width: 320px; height: 320px; background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%); opacity: 0.4; pointer-events: none; }
.partners-head { text-align: center; max-width: 700px; margin: 0 auto 3rem; position: relative; z-index: 2; }
.partners-head h2 { margin: 12px 0 14px; }
.partners-head h2 em { color: var(--terra); font-style: italic; }
.partners-head p { color: var(--ink-soft); font-size: 1.05rem; }
.partners-list { display: flex; flex-direction: column; gap: 70px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.partner-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
.partner-row.reverse .partner-photo-big { order: 2; }
.partner-photo-big { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-strong); background: var(--ink); }
.partner-photo-big img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.partner-photo-big:hover img { transform: scale(1.05); }
.partner-credit { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 14px 8px; background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 100%); color: rgba(255,255,255,0.92); font-size: 0.78rem; font-style: italic; pointer-events: none; }
.partner-content { padding: 0 12px; }
.partner-content h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 10px; margin-bottom: 4px; }
.partner-day { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: var(--terra-action); color: var(--cream); border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; align-self: flex-start; margin-bottom: 6px; }
.partner-name { font-family: var(--font-titre); font-weight: 600; color: var(--ink); }
.partner-city { font-size: 1.05rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 18px; }
.partner-link { padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--terra-action); font-weight: 700; font-size: 1rem; transition: gap 200ms ease, color 200ms ease; }
.partner-link:hover { gap: 10px; color: var(--terra-action-hover); }
.partner-link::after { content: '→'; font-size: 1.1rem; }
@media (max-width: 800px) { .partner-row { grid-template-columns: 1fr; gap: 22px; } .partner-row.reverse .partner-photo-big { order: 0; } }
.partners-note { max-width: 720px; margin: 5rem auto 0; padding: 22px 28px; background: var(--cream); border-radius: 12px; text-align: center; font-size: 0.95rem; color: var(--ink-soft); border: 1px dashed var(--line); position: relative; z-index: 2; clear: both; }
.partners-note strong { color: var(--terra-action); }
.partners-note a { color: var(--terra-action); font-weight: 700; }
.partners-note-credit { font-size: 0.85rem; opacity: 0.85; }

/* ---------------------------------------------------------------------
   10. Pages légales
--------------------------------------------------------------------- */
.page-tete { padding: 9rem 24px 2rem; text-align: center; }
.page-tete h1 { margin-top: 8px; }
.page-tete .intro { max-width: 640px; margin: 14px auto 0; color: var(--ink-soft); font-size: 1.08rem; }
.legal { max-width: 820px; margin: 0 auto; padding: 1rem 0 5rem; font-size: 1rem; color: var(--ink-soft); }
.legal h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 2.4rem 0 0.8rem; }
.legal p, .legal li { line-height: 1.7; margin-bottom: 0.7rem; }
.legal ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.legal a { color: var(--terra-action); text-decoration: underline; text-underline-offset: 3px; }
.legal strong, .legal b { color: var(--ink); }
.table-defile { overflow-x: auto; margin: 1rem 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--white); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: var(--paper); color: var(--ink); font-weight: 700; }
.a-completer { background: #FFF1B8; color: #5C4400; padding: 0 4px; border-radius: 3px; font-weight: 700; }

/* ---------------------------------------------------------------------
   11. Page de remerciement
--------------------------------------------------------------------- */
body.p-merci { font-size: 16px; line-height: 1.6; background: linear-gradient(135deg, var(--cream) 0%, var(--paper) 100%); display: flex; align-items: center; justify-content: center; padding: 2rem; min-height: 100vh; }
.p-merci main { width: 100%; display: flex; justify-content: center; }
.merci-card { background: #fff; max-width: 600px; width: 100%; padding: 3.5rem 3rem; border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); text-align: center; position: relative; border-top: 6px solid var(--terra); }
.icon-circle { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, var(--terra), var(--gold)); margin: 0 auto 1.8rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(217, 83, 30, 0.3); }
.icon-circle svg { width: 50px; height: 50px; stroke: #fff; stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.p-merci .eyebrow { color: var(--terra-action); font-size: 1.4rem; font-weight: 400; margin-bottom: 0.4rem; }
.p-merci .eyebrow::before { content: '★  '; color: var(--gold); }
.p-merci .eyebrow::after { content: '  ★'; color: var(--gold); }
.p-merci h1 { font-size: 2.4rem; font-weight: 600; margin-bottom: 1.2rem; line-height: 1.15; }
.p-merci h1 em { color: var(--terra); font-style: italic; }
.p-merci .lead { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 2rem; }
.info-box { background: var(--paper); border-left: 4px solid var(--gold); padding: 1.2rem 1.4rem; margin: 1.8rem 0; text-align: left; border-radius: 0 8px 8px 0; }
.info-box p { margin: 0.3rem 0; font-size: 0.95rem; color: var(--ink-soft); }
.info-box strong { color: var(--ink); }
.actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.p-merci .btn { gap: 0.5rem; padding: 0.85rem 1.6rem; font-weight: 600; font-size: 0.95rem; transition: transform 0.2s, box-shadow 0.2s; overflow: visible; }
.p-merci .btn-primary { background: var(--terra-action); color: #fff; box-shadow: 0 4px 14px rgba(217, 83, 30, 0.3); }
.p-merci .btn-primary:hover { background: var(--terra-action); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(217, 83, 30, 0.4); }
.btn-secondary { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.footer-note { margin-top: 2.2rem; font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }
.footer-note a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.signature { font-family: var(--font-main); font-size: 1.5rem; color: var(--terra); margin-top: 1.2rem; }
@media (max-width: 600px) {
  .merci-card { padding: 2.5rem 1.8rem; }
  .p-merci h1 { font-size: 1.8rem; }
  .actions { flex-direction: column; }
  .p-merci .btn { justify-content: center; }
}

/* Badge « Formule pour repas de groupe à volonté » (visuel du client) */
img.badge-sticker { height: auto; filter: drop-shadow(0 6px 12px rgba(26,26,26,0.20)); }
.polaroid-rotate img.badge-polaroid { position: absolute; z-index: 3; top: -34px; right: -30px; width: 112px; height: auto; transform: rotate(-10deg); }
.devis-info .badge-devis { float: right; width: 112px; margin: -10px 0 10px 16px; transform: rotate(8deg); }
.menu-hero .badge-menu { position: absolute; z-index: 2; top: 7.5rem; right: max(24px, calc(50% - 580px)); width: 150px; transform: rotate(10deg); }
@media (max-width: 1239px) {
  .menu-hero .badge-menu { position: static; display: block; width: 96px; margin: 4px auto 12px; transform: rotate(-6deg); }
}
@media (max-width: 800px) {
  .polaroid-rotate img.badge-polaroid { width: 88px; top: -26px; right: -8px; }
  .devis-info .badge-devis { width: 88px; margin: -6px 0 8px 12px; }
}

/* Vidéo : la crêpe flambée */
.flambee { background: var(--cream); }
.flambee-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 520px); justify-content: center; align-items: center; gap: 64px; }
.flambee-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: var(--ink); box-shadow: var(--shadow-card); }
.flambee-texte h2 { margin: 12px 0 16px; }
.flambee-texte p { color: var(--ink-soft); font-size: 1.1rem; }
.flambee-texte .flambee-question { font-family: var(--font-titre); font-weight: 700; font-size: 1.3rem; color: var(--ink); margin-bottom: 8px; }
@media (max-width: 800px) {
  .flambee-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .flambee-texte { order: -1; }
  .flambee-video { width: 100%; max-width: 300px; margin: 0 auto; }
}

/* Hero : dégradé animé, formes SVG floues qui dérivent (ANIMATED_GRADIENT_SVG) */
.gradient-svg-bg { position: relative; overflow: hidden; }
.gradient-svg-bg .svg-blob-el {
  position: absolute; pointer-events: none; opacity: 0.45; filter: blur(55px); will-change: transform;
  animation: svg-blob-move var(--sb-speed, 12s) ease-in-out infinite alternate;
  animation-delay: var(--sb-delay, 0s);
}
@keyframes svg-blob-move {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(8%, -10%) rotate(20deg) scale(1.07); }
  66%  { transform: translate(-7%, 8%) rotate(-10deg) scale(0.96); }
  100% { transform: translate(5%, 4%) rotate(15deg) scale(1.04); }
}
.gradient-svg-bg > *:not(.svg-blob-el) { position: relative; z-index: 1; }
/* or doux en haut à droite, orange très léger en bas à gauche, comme les halos de la version en ligne */
.gradient-svg-bg .hero-blob-or { width: 420px; height: 420px; top: 12%; right: -120px; opacity: 0.4; --sb-speed: 10s; }
.gradient-svg-bg .hero-blob-terra { width: 340px; height: 340px; bottom: -80px; left: -110px; opacity: 0.15; --sb-speed: 14s; --sb-delay: -5s; }
@media (max-width: 900px) {
  .gradient-svg-bg .hero-blob-or { width: 300px; height: 300px; }
  .gradient-svg-bg .hero-blob-terra { width: 260px; height: 260px; }
}

/* Citation client sur chaque prestation */
.service-avis { margin: 0 0 18px; padding: 2px 0 2px 16px; border-left: 3px solid var(--terra); }
.service-text .service-avis p { font-family: var(--font-titre); font-style: italic; font-size: 0.98rem; line-height: 1.5; color: var(--ink); margin: 0 0 6px; }
.service-avis figcaption { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }

/* Vidéo : renvoi vers le menu Gourmand */
.flambee-texte .flambee-menu { margin-top: 14px; font-size: 1rem; }

/* Hero : accroche SEO dans le H1, au-dessus de la phrase */
.hero h1 .hero-accroche {
  display: block; margin-bottom: 12px;
  font-family: var(--font-main); font-weight: 700; font-style: normal;
  font-size: clamp(1.25rem, 4.6vw, 1.5rem); line-height: 1.2; letter-spacing: 0; color: var(--terra);
}

/* Pied de page : réseaux sociaux */
.footer-reseaux { display: flex; gap: 10px; margin-top: 14px; }
.footer-col .footer-reseaux a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1px solid rgba(251,245,233,0.3); border-radius: 50%; color: var(--cream);
  transition: color 200ms ease, border-color 200ms ease;
}
.footer-col .footer-reseaux a:hover { color: var(--gold); border-color: var(--gold); }


/* Vidéo : bouton son */
.flambee-video { position: relative; }
.flambee-son {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 8px 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(26,26,26,0.72); color: var(--cream); font-family: var(--font-corps); font-size: 0.85rem; font-weight: 700;
  transition: background 200ms ease;
}
.flambee-son:hover { background: rgba(26,26,26,0.9); }
.flambee-son .ico-son-on, .flambee-son.son-actif .ico-son-off { display: none; }
.flambee-son.son-actif .ico-son-on { display: inline; }

/* Calculateur : options qui dépendent d'une autre */
.calc-option:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }
.calc-option input:disabled { cursor: not-allowed; }
.calc-options-housses { margin-top: 14px; }

/* Formulaire de devis : options */
.form-options { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.form-options legend { font-size: 0.85rem; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; padding: 0; margin-bottom: 10px; }
.form-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 16px; }
.form-option { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; line-height: 1.35; color: var(--ink); cursor: pointer; }
.form-option input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--terra-action); }
.form-options .form-row { margin-bottom: 0; }
@media (max-width: 600px) { .form-options-grid { grid-template-columns: 1fr; } }

/* Options : « Voir la photo » sous chaque prix */
.option-prix li { flex-wrap: wrap; }
.voir-photo { flex-basis: 100%; }
.voir-photo summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 24px; cursor: pointer; list-style: none;
  font-size: 0.85rem; font-weight: 700; color: var(--terra-action);
}
.voir-photo summary::-webkit-details-marker { display: none; }
.voir-photo summary::before { content: '+'; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 0.85rem; line-height: 1; }
.voir-photo[open] summary::before { content: '\2212'; }
.voir-photo summary:hover { text-decoration: underline; }
.voir-photo img { display: block; width: auto; max-width: 100%; max-height: 240px; height: auto; margin: 10px 0 4px; border-radius: 10px; }
/* photos détourées : juste l'objet, posé par une ombre légère */
.voir-photo img.detoure { border-radius: 0; filter: drop-shadow(0 8px 10px rgba(26,26,26,0.18)); }
.option-prix .option-nom { flex: 1 1 0; min-width: 0; }

/* Hero, écrans larges : la légende s'écarte de la pastille du logo posée en bas à droite */
@media (min-width: 901px) { .polaroid-main .polaroid-cap { padding-right: 64px; } }

/* Navigation : bouton « Menus & tarifs » mis en avant, à côté du bouton d'appel */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-menu {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; white-space: nowrap;
  border: 2px solid var(--terra-action); border-radius: 999px; color: var(--terra-action);
  font-weight: 700; font-size: 0.95rem; transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.nav-menu:hover, .nav-menu[aria-current="page"] { background: var(--terra-action); color: var(--white); }
.nav-menu:hover { transform: translateY(-2px); }
@media (min-width: 901px) and (max-width: 1219px) { .nav-menu-suite { display: none; } }
@media (max-width: 900px) {
  .nav-actions { margin-left: auto; margin-right: 14px; }
  .nav-menu { padding: 7px 14px; font-size: 0.9rem; }
  .nav-menu-suite { display: none; }
}

/* Menu, téléphone : le bandeau « à volonté » se lit comme une phrase, au lieu de trois colonnes */
@media (max-width: 700px) {
  .unlimited-hero { display: inline-block; max-width: 100%; text-align: center; line-height: 1.5; padding: 10px 20px; border-radius: 22px; }
  .unlimited-hero .unlimited-icon { vertical-align: -3px; margin-right: 4px; }
}

/* Cases d'option du calculateur : la case reste à gauche, un libellé long revient à la ligne sous son texte */
.calc-row label.calc-option { display: inline-flex; align-items: flex-start; }
.calc-option .cb-box { flex-shrink: 0; }
.calc-row label.calc-option input { top: 11px; }

/* ---------------------------------------------------------------------
   Hero sur téléphone et tablette : la roulotte en plein écran, le titre par-dessus
--------------------------------------------------------------------- */
.hero > .hero-fond { display: none; }
@media (max-width: 900px) {
  .hero { padding-top: 0; }
  .hero > .hero-fond {
    display: block; position: absolute; z-index: 0; top: 0; left: 0; right: 0;
    height: 100vh; height: 100svh; min-height: 560px;
  }
  .hero-fond img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
  /* voile sombre en haut (titre) et en bas (sous-titre), photo claire au milieu */
  .hero-fond::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(20,14,10,0.70) 0%, rgba(20,14,10,0.45) 32%, rgba(20,14,10,0) 52%, rgba(20,14,10,0) 62%, rgba(20,14,10,0.72) 100%);
  }
  .hero-headline {
    min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between;
    padding: 96px 0 96px; max-width: none; color: var(--white);
  }
  .hero h1 { color: var(--white); margin-top: 0; text-shadow: 0 2px 14px rgba(0,0,0,0.35); }
  .hero h1 .accent { color: var(--gold); }
  .hero h1 .hero-accroche { color: var(--gold); }
  .hero-sub { color: var(--white); text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
  .hero-sub strong { color: var(--white); }
  .hero-photo { display: none; }
  .hero-extras { padding-top: 8px; }
}

