/* Raclette en Scène, édition Business — Théâtre Jardin Passion */

:root {
  --rouge: #D23014;
  --rouge-fonce: #B8280F;
  --orange: #FE800A;
  --ampoule: #FFD08A;
  --anis: #BFC011;
  --turquoise: #65B3B5;
  --encre: #2B2B2B;
  --texte-2: #555555;
  --rose: #F6EBE9;
  --gris: #F2F2F2;
  --blanc: #FFFFFF;
  --titre: 'Ubuntu Condensed', 'Arial Narrow', sans-serif;
  --corps: 'Open Sans', system-ui, sans-serif;
  --points: Doto, 'Ubuntu Condensed', sans-serif;
  --gouttiere: 24px;
  --header-h: 77px; /* hauteur de l'en-tête collant (bordure comprise) */
  --r-s: 8px;  /* boutons, champs, stepper */
  --r-m: 12px; /* cartes, tuiles, photos, fieldsets, récapitulatif */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 400 17px/1.6 var(--corps); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { max-width: 100%; }
a { color: var(--rouge); text-underline-offset: 3px; }
a:hover { color: var(--rouge-fonce); }
[hidden] { display: none !important; }
/* Focus visible (WCAG 1.4.11) : encre + halo blanc sur fond clair, blanc sur fond rouge ou sombre */
:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; box-shadow: 0 0 0 7px var(--blanc); }
.hero :focus-visible, .recap :focus-visible, .marquee :focus-visible, .merci :focus-visible, .footer :focus-visible, .lieu :focus-visible { outline-color: var(--blanc); box-shadow: none; }
.merci .logo-box :focus-visible { outline-color: var(--encre); box-shadow: 0 0 0 7px var(--blanc); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--encre); color: var(--blanc); padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; color: var(--blanc); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gouttiere); }
.section { padding: 112px 0; }
main section[id] { scroll-margin-top: var(--header-h); }
.h2 { font: 400 clamp(36px, 4.4vw, 58px)/1.02 var(--titre); letter-spacing: -0.005em; text-wrap: balance; }
.surtitre { margin: 0 0 12px; font: 700 13px/1.2 var(--corps); letter-spacing: .08em; text-transform: uppercase; color: var(--texte-2); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--r-s);
  font: 700 16px/1.2 var(--corps); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--rouge { background: var(--rouge); color: var(--blanc); }
.btn--rouge:hover { background: var(--rouge-fonce); color: var(--blanc); }
.btn--orange { background: var(--orange); color: var(--encre); }
.btn--orange:hover { background: #F07400; color: var(--encre); }
.btn--block { width: 100%; min-height: 58px; font-size: 17px; }
.btn--contour { background: transparent; color: var(--rouge-fonce); border: 2px solid var(--rouge-fonce); }
.btn--contour:hover { background: var(--rouge-fonce); color: var(--blanc); }
.btn:disabled { opacity: .65; cursor: progress; }

/* En-tête */
.header { background: var(--blanc); border-bottom: 1px solid #ECECEC; position: sticky; top: 0; z-index: 5; }
.header-in { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: block; line-height: 0; margin-right: auto; }

/* Navigation : liens en ligne en desktop */
.nav { display: flex; align-items: center; }
.nav-liens { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; }
.nav-liens a { display: inline-block; padding: 12px 0 10px; border-bottom: 2px solid transparent; color: var(--encre); font: 600 15px/1.2 var(--corps); text-decoration: none; }
.nav-liens a:hover { color: var(--rouge); }
.nav-liens a.is-actif { color: var(--rouge); border-bottom-color: var(--rouge); }
.nav-cta { display: none; }
.header-cta { margin-left: 12px; }
.burger {
  display: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 14px;
  border: 1.5px solid #D6D6D6; border-radius: var(--r-s); background: var(--blanc); color: var(--encre);
  font: 600 15px/1 var(--corps); cursor: pointer;
}
.burger:hover { border-color: var(--encre); }
.burger-icone { position: relative; width: 20px; height: 14px; }
.burger-icone i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; }
.burger-icone i:nth-child(1) { top: 0; }
.burger-icone i:nth-child(2) { top: 6px; }
.burger-icone i:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger-icone i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-icone i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-icone i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.brand img { height: 52px; width: auto; }
/* Bouton d'en-tête masqué quand le formulaire est à l'écran (visibility : jamais focusable masqué) */
.header-cta { transition: opacity .25s ease, visibility 0s linear 0s, background-color .15s ease; }
.header-cta.is-masque { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }

/* Hero */
.hero { background: var(--rouge); color: var(--blanc); padding: 56px 0 88px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 26px; }
.hero-event { font: 400 24px/1.2 var(--titre); color: #FFE3DC; }
.hero h1 { font: 400 clamp(52px, 7vw, 100px)/0.92 var(--titre); letter-spacing: -0.015em; text-wrap: balance; }
.hero-show { font: 400 clamp(26px, 2.6vw, 32px)/1.15 var(--titre); margin-top: -8px; text-wrap: balance; }
.hero-lead { max-width: 34em; font-size: 20px; line-height: 1.55; text-wrap: pretty; }
.facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font: 600 16px/1.4 var(--corps); }
.facts li { display: flex; gap: 9px; align-items: center; }
.facts svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* L'enseigne lumineuse : élément signature de la page */
.marquee {
  position: relative; background: var(--encre); color: var(--blanc);
  border-radius: 14px; padding: 44px 40px 36px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 34px 70px rgba(70, 10, 0, .38);
  container-type: inline-size;
}
.marquee::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: var(--bande, 18px);
  background:
    radial-gradient(circle, var(--ampoule) 0 2.4px, var(--orange) 3.2px, rgba(254,128,10,.28) 5px, transparent 7px)
    var(--ampoules-pos, 9px 9px) / 22px 22px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  animation: allumage 1.6s steps(1, end) .35s both;
}
@keyframes allumage {
  0% { opacity: .12; } 30% { opacity: .8; } 38% { opacity: .25; } 52% { opacity: 1; } 60% { opacity: .55; } 72%, 100% { opacity: 1; }
}
.marquee-title { font: 400 34px/1.05 var(--titre); }
.marquee-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.doto {
  font: 400 clamp(64px, 26cqi, 132px)/.9 var(--titre); color: var(--orange); letter-spacing: -0.01em; white-space: nowrap;
  text-shadow: 0 0 28px rgba(254,128,10,.35);
}
.htva { font: 700 16px/1 var(--corps); color: var(--ampoule); letter-spacing: .04em; }
/* L'idée clé : vous + 7 invités, avec 8 fauteuils du théâtre (1 blanc pour vous, 7 orange) */
.marquee-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 2px; }
.marquee-sub strong { font: 400 32px/1 var(--titre); color: var(--blanc); letter-spacing: .005em; }
.marquee-fauteuils { display: flex; gap: 3px; }
.marquee-fauteuils svg { width: 19px; height: 19px; fill: var(--orange); }
.marquee-fauteuils .f-vous { fill: var(--blanc); margin-right: 5px; }
.marquee-inclus-titre { margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); font: 700 13px/1.2 var(--corps); letter-spacing: .08em; text-transform: uppercase; color: #BDBDBD; }
.marquee-inclus { list-style: none; margin: -4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 15px; line-height: 1.4; color: #E6E6E6; }
.marquee-soutien { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: #CFCFCF; text-wrap: pretty; }
.marquee-inclus li { display: flex; gap: 10px; align-items: baseline; }
.marquee-inclus li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 6px rgba(254,128,10,.6); transform: translateY(-1px); }
/* Chenille lumineuse : couche d'ampoules en damier, décalée d'un cran à chaque pas */
.marquee::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: var(--bande, 18px);
  background:
    radial-gradient(circle, #FFF 0 2.6px, #FFE2B0 3.4px, rgba(255,208,138,.5) 6px, transparent 9px) var(--c1, -24px -24px) / 44px 44px,
    radial-gradient(circle, #FFF 0 2.6px, #FFE2B0 3.4px, rgba(255,208,138,.5) 6px, transparent 9px) var(--c2, -2px -2px) / 44px 44px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none; opacity: 0;
}

/* Le pack */
.pack-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.table-fig { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.table-svg { width: 100%; max-width: 380px; height: auto; }
.t-plateau { fill: var(--rose); }
.t-nappe { fill: var(--blanc); stroke: var(--rose); stroke-width: 2; }
.t-sieges use { fill: var(--orange); }
.t-sieges .t-vous { fill: var(--rouge); }
.table-svg text { text-anchor: middle; font-family: var(--titre); }
.t-label-vous { fill: var(--blanc); font-size: 14px; letter-spacing: .02em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.t-centre-num { fill: var(--rouge); font-size: 72px; dominant-baseline: middle; }
.t-centre-txt { fill: var(--texte-2); font-size: 20px; }
.legend { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--texte-2); }
.legend span { display: flex; align-items: center; gap: 10px; }
.dot { width: 18px; height: 18px; flex: none; display: inline-block; }
.dot--rouge { fill: var(--rouge); }
.dot--orange { fill: var(--orange); }

.pack-text { display: flex; flex-direction: column; gap: 40px; }
.pack { background: var(--blanc); }
.inclus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.inclus > div { padding: 22px 0; border-top: 2px solid var(--rose); }
.inclus dt { font: 400 28px/1.1 var(--titre); color: var(--rouge); margin-bottom: 8px; }
.inclus dd { color: var(--texte-2); font-size: 16px; }

/* La Carte Ambassadeur, intégrée à « La soirée » */
.pack-carte { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 16px; }
.pack-carte .carte-visuel { padding: 8px 0; }
.pack-carte .carte-apercu { max-width: 260px; }
.pack-carte-text { display: flex; flex-direction: column; gap: 10px; }
.pack-carte-titre { font: 400 30px/1.1 var(--titre); }
.pack-carte-text p { font-size: 16px; line-height: 1.6; color: var(--texte-2); }

/* Pourquoi */
.why { background: var(--rose); }
.why-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.why-text { display: flex; flex-direction: column; gap: 20px; max-width: 40em; }
.why-text p { font-size: 18px; line-height: 1.7; text-wrap: pretty; }
.why-text .h2 { margin-bottom: 10px; }
.why-strong { font: 400 30px/1.25 var(--titre) !important; color: var(--rouge); }
.fund { background: var(--blanc); border-radius: var(--r-m); padding: 34px; display: flex; flex-direction: column; gap: 20px; }
.fund-title { font: 400 26px/1.2 var(--titre); }
.gauge-wrap { position: relative; padding-top: 30px; }
.gauge-pct { position: absolute; top: 0; left: var(--pct, 78.6%); transform: translateX(-50%); font: 400 22px/1 var(--titre); color: var(--rouge); white-space: nowrap; }
.gauge-pct::after { content: ""; position: absolute; left: 50%; top: 23px; width: 2px; height: 6px; margin-left: -1px; background: var(--rouge); }
.gauge { height: 16px; border-radius: 8px; background: var(--rose); overflow: hidden; }
.gauge-fill { width: var(--pct, 78.6%); height: 100%; background: var(--rouge); border-radius: 8px 0 0 8px; }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.figure { font: 400 40px/1 var(--titre); margin-bottom: 6px; }
.figure--rouge { color: var(--rouge); }
.figure-txt, .fund-maj { font-size: 14px; line-height: 1.5; color: var(--texte-2); margin-top: -6px; }
.fund-maj a { color: inherit; }
.presse { font-size: 14px; line-height: 1.6; color: var(--texte-2); }
.presse a { display: inline-block; padding: 10px 0; color: var(--rouge-fonce); font-weight: 600; }
.chiffres { list-style: none; margin: 0 0 56px; padding: 0 0 28px; border-bottom: 1px solid rgba(43,43,43,.15); display: flex; flex-wrap: wrap; gap: 12px 56px; font-family: var(--titre); }
.chiffres li { display: flex; align-items: baseline; gap: 10px; }
.chiffres strong { font-weight: 400; font-size: clamp(36px, 3.6vw, 48px); line-height: 1; color: var(--rouge); }
.chiffres span { font-size: 22px; line-height: 1.1; }
/* Conclusion de #projet, puis planche des partenaires */
.projet-fin { margin-top: 72px; }
.fund-call { background: var(--orange); color: var(--encre); border-radius: var(--r-m); padding: 28px 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px 40px; align-items: center; font-size: 16px; line-height: 1.6; }
.fund-call-title { font: 400 28px/1.15 var(--titre); }
.planche { margin-top: 56px; }
.planche-liste + .surtitre { margin-top: 32px; }
.planche-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; background: var(--blanc); border-radius: var(--r-m); overflow: hidden; }
.cellule { box-shadow: inset -1px -1px 0 #EDEDED; }
.cellule > a, .cellule-in { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 96px; padding: 14px; text-decoration: none; color: var(--encre); }
.cellule > a:focus-visible { outline-offset: -4px; box-shadow: none; }
.cellule img { display: block; max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.cellule--carre img { max-height: 56px; }
.planche-liste--inst img { max-height: 40px; }
.planche-liste--inst .cellule--carre img { max-height: 52px; }
.cellule-texte { font: 400 26px/1 var(--titre); }

/* Le lieu : salle obscure, photos du théâtre */
.lieu { background: var(--encre); color: var(--blanc); }
.mosaique {
  margin-top: 44px; display: grid; gap: 14px;
  /* Une rangée sans trou : la grande photo (3:2), le public attablé, le cabaret (portrait) */
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, .75fr);
  grid-auto-rows: clamp(200px, 27vw, 336px);
}
.photo { position: relative; margin: 0; border-radius: var(--r-m); overflow: hidden; background: var(--rose); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px;
  background: linear-gradient(to top, rgba(20,20,20,.78), rgba(20,20,20,0));
  color: var(--blanc); font: 600 14px/1.35 var(--corps); text-wrap: balance;
}
.photo--grande figcaption { padding: 48px 20px 16px; font: 400 24px/1.1 var(--titre); }
.lieu-credit { margin-top: 14px; font-size: 12px; opacity: .7; }


.carte-visuel { display: flex; justify-content: center; padding: 20px 0; }

.carte-apercu {
  width: 100%; max-width: 440px; aspect-ratio: 85.6 / 54;
  border-radius: 16px; overflow: hidden; background: var(--rouge); color: var(--blanc);
  display: flex; flex-direction: column;
  box-shadow: 0 22px 40px rgba(120, 20, 5, .28); transform: rotate(var(--carte-rot, -4deg));
  position: relative; container-type: inline-size;
}
.carte-apercu::after { /* reflet, visible seulement pendant l'animation */
  content: ""; position: absolute; inset: -20% -60%; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.38) 50%, transparent 62%);
}
.carte-corps { flex: 1; padding: 7% 8%; display: flex; flex-direction: column; justify-content: space-between; }
.carte-logo { display: flex; align-items: center; gap: 10px; }
.carte-logo-txt { display: flex; flex-direction: column; font-family: var(--points); font-weight: 900; text-transform: uppercase; line-height: .95; }
.carte-logo svg { width: 11cqi; height: 11cqi; }
.carte-logo-txt span:first-child { font-size: 7.6cqi; }
.carte-logo-txt span:last-child { font-size: 4.6cqi; }
.carte-titre { display: flex; flex-direction: column; gap: 4px; }
.carte-titre span:first-child { font: 400 15cqi/.9 var(--titre); text-transform: uppercase; letter-spacing: .02em; }
.carte-titre span:last-child { font: 600 4.4cqi/1.3 var(--corps); letter-spacing: 0; }
.bandes { height: 4cqi; display: flex; }
.bandes i { flex: 1; }
.bandes i:nth-child(1) { background: var(--orange); }
.bandes i:nth-child(2) { background: var(--anis); }
.bandes i:nth-child(3) { background: var(--turquoise); }
.bandes i:nth-child(4) { background: var(--blanc); }

/* Formulaire */
.reserver { background: var(--gris); }
#form-reservation { scroll-margin-top: calc(var(--header-h) + 16px); }
.deja { margin-bottom: 64px; }
.form-submit a { display: inline-block; padding: 10px 0; }
.recap .form-submit a { color: var(--blanc); }
#btn-envoyer { white-space: nowrap; }
.reserver:focus { outline: none; }
.form-intro { display: flex; flex-direction: column; gap: 14px; max-width: 46em; margin-bottom: 44px; }
.form-intro p { color: var(--texte-2); }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 32px; align-items: start; }
.form-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; grid-column: 1; grid-row: 1; }
.form > .recap { grid-column: 2; grid-row: 1; }
.form > .form-submit { grid-column: 1; grid-row: 2; } /* sans JS ; avec JS en desktop, le bloc est dans le récapitulatif */
.form-submit { display: flex; flex-direction: column; gap: 16px; }
.recap .form-submit { gap: 22px; }
.form > .form-submit .small { color: var(--texte-2); }
.form > .form-submit a { color: var(--rouge-fonce); }
.form > .form-submit .form-error { border: 1px solid #E3E3E3; border-left: 4px solid var(--orange); }
fieldset { margin: 0; min-width: 0; border: 1px solid #E3E3E3; padding: 32px; border-radius: var(--r-m); background: var(--blanc); display: flex; flex-direction: column; gap: 20px; }
legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; font: 400 28px/1.1 var(--titre); color: var(--rouge); }
legend + * { clear: both; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld label { font: 600 14px/1.3 var(--corps); }
.fld input {
  font: 400 16px/1.4 var(--corps); color: var(--encre); background: var(--blanc);
  border: 1.5px solid #BDBDBD; border-radius: var(--r-s); padding: 12px 14px; min-height: 50px; width: 100%;
}
.fld input:hover { border-color: #8F8F8F; }
.fld input:focus { outline: 3px solid var(--encre); outline-offset: 2px; box-shadow: 0 0 0 7px var(--blanc); border-color: var(--encre); }
.fld input[aria-invalid="true"] { border-color: var(--rouge); background: #FFF6F4; }
.fld-err { display: flex; gap: 8px; align-items: baseline; font: 600 14px/1.4 var(--corps); color: var(--rouge); }
.fld-err::before { content: "!"; flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--rouge); color: var(--blanc); font: 700 12px/17px var(--corps); text-align: center; transform: translateY(2px); }
.chk { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; font-size: 15px; line-height: 1.5; cursor: pointer; }
/* Le champ focalisé (ex. premier champ invalide) n'est jamais caché par l'en-tête ou la barre collante */
.fld input, .chk input, .step { scroll-margin: 96px 0 100px; }
.chk input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--rouge); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.logo-zone-body { display: flex; flex-direction: column; gap: 10px; }
/* Dépliage en douceur (JS) : 0fr → 1fr ; visibility retire le contenu du parcours clavier une fois replié */
html.js .logo-zone { display: grid; grid-template-rows: 0fr; margin: -20px -8px 0; visibility: hidden; }
html.js .logo-zone-in { min-height: 0; overflow: hidden; }
html.js .logo-zone-body { padding: 20px 8px 8px; }
html.js .logo-zone.is-open { grid-template-rows: 1fr; visibility: visible; }
.drop {
  display: flex; align-items: center; gap: 18px; padding: 18px 20px; cursor: pointer;
  border: 2px dashed #C9C9C9; border-radius: var(--r-m); background: #FCFAFA;
  transition: border-color .15s ease, background-color .15s ease;
}
.drop:hover, .drop.is-over { border-color: var(--rouge); background: var(--rose); }
#f-logo:focus-visible + .hint, .logo-zone:focus-within .drop { outline: 3px solid var(--encre); outline-offset: 2px; }
.drop-preview { width: 96px; height: 64px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--blanc); border: 1px solid #E3E3E3; border-radius: var(--r-s); padding: 6px; }
.drop-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.drop-txt { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--texte-2); }
.drop-txt strong { font-size: 16px; color: var(--rouge); overflow-wrap: anywhere; }
.hint { font-size: 14px; color: var(--texte-2); }

.recap {
  position: sticky; top: 100px;
  background: var(--rouge); color: var(--blanc); border-radius: var(--r-m); padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
}
.recap h3 { font: 400 30px/1.1 var(--titre); }
.packs { display: flex; flex-direction: column; gap: 12px; }
.packs-label { font: 600 14px/1.3 var(--corps); }
.stepper { display: flex; align-items: center; gap: 14px; }
.step { width: 48px; height: 48px; border-radius: var(--r-s); border: 0; background: var(--blanc); color: var(--rouge); font: 700 24px/1 var(--corps); cursor: pointer; }
.step:hover { background: var(--rose); }
.step:disabled { opacity: .45; cursor: not-allowed; }
.stepper output { min-width: 56px; text-align: center; font: 400 48px/1 var(--titre); }
.sieges { display: flex; flex-wrap: wrap; gap: 8px 14px; min-height: 15px; }
.sieges .table { display: flex; gap: 2px; }
.sieges svg { width: 15px; height: 15px; fill: var(--orange); }
.sieges .table:first-child svg:first-child { fill: var(--blanc); } /* un seul Ambassadeur par entreprise */
.small { font-size: 14px; line-height: 1.55; }
.recap-lines { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.4); display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.line { display: flex; justify-content: space-between; gap: 12px; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total > span:first-child { font: 700 18px/1 var(--corps); }
#total { font: 400 46px/1 var(--titre); }
#total, #participants, #invites { display: inline-block; }
.total small { font: 700 13px/1 var(--corps); letter-spacing: .04em; }
.form-error { background: var(--blanc); color: var(--encre); border-left: 4px solid var(--orange); border-radius: var(--r-s); padding: 12px 14px; font: 600 14px/1.5 var(--corps); }

/* Confirmation */
.merci { background: var(--rouge); color: var(--blanc); border-radius: var(--r-m); padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 24px; }
.merci-check { width: 64px; height: 64px; border-radius: 50%; background: var(--blanc); display: flex; align-items: center; justify-content: center; }
.merci-check svg { fill: none; stroke: var(--rouge); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.merci h2:focus { outline: none; }
.merci-lead { max-width: 40em; font-size: 19px; }
.merci-recap { display: flex; flex-wrap: wrap; gap: 16px 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.4); }
.merci-recap dt { font-size: 13px; opacity: .85; }
.merci-recap dd { font-weight: 700; overflow-wrap: anywhere; }
.merci-note { max-width: 40em; }
.merci-pratique { font-size: 15px; opacity: .92; }
.logo-box { background: var(--blanc); color: var(--encre); border-radius: var(--r-m); padding: 24px; display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.logo-box-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.logo-box input[type=file] { font: 400 15px/1.4 var(--corps); max-width: 100%; }
.merci-again { align-self: flex-start; color: var(--blanc); font-weight: 600; }
.merci-again:hover { color: var(--blanc); }

/* Ils ont déjà réservé leur table : logos validés + invitation */
.mur-amb { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.tuile-in {
  height: 100%; min-height: 120px; padding: 14px 12px 12px; border-radius: var(--r-m); background: var(--blanc);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; color: var(--encre);
}
.tuile-logo { flex: 1; width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; }
.tuile-logo img { display: block; max-width: 92%; max-height: 48px; width: auto; height: auto; object-fit: contain; }
.tuile--carre .tuile-logo img { max-height: 60px; max-width: 70%; }
.tuile-nom { font: 600 14px/1.3 var(--corps); color: var(--texte-2); }
.tuile--invite .tuile-in { justify-content: center; gap: 4px; background: transparent; border: 2px dashed #BDBDBD; color: var(--texte-2); }
.tuile--invite .tuile-in:hover { border-color: var(--rouge-fonce); color: var(--rouge-fonce); }
.tuile-plus { width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font: 700 18px/1 var(--corps); }
.tuile-invite-titre { font: 400 22px/1.1 var(--titre); color: var(--encre); }
.tuile-invite-txt { font-size: 14px; line-height: 1.4; }
.mur.a-des-logos .tuile-invite-txt { display: none; }

/* Soutenir autrement : section secondaire */
.soutenir { background: var(--blanc); padding: 88px 0; border-top: 1px solid #E3E3E3; }
.soutenir-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: start; }
.soutenir .h2 { font-size: clamp(30px, 3.3vw, 44px); }
.soutenir-chapo { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--texte-2); max-width: 32em; }
.soutenir-liste { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; }
.soutenir-liste li { display: flex; gap: 12px; }
.soutenir-liste li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: .5em; border-radius: 50%; border: 2px solid var(--rouge-fonce); }
.soutenir-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.soutenir a:not(.btn) { color: var(--rouge-fonce); }
.soutenir-lien { font-weight: 600; display: inline-block; padding: 10px 0; }
.soutenir-contact { margin-top: 22px; font-size: 15px; color: var(--texte-2); }
.soutenir-contact a { white-space: nowrap; display: inline-block; padding: 10px 0; }

/* Barre de réservation collante (mobile) */
.cta-bar { display: none; }

/* Pied de page */
.footer { background: var(--encre); color: #E6E6E6; padding: 56px 0; font-size: 15px; }
.footer-in { display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-name { font: 400 26px/1.2 var(--titre); color: var(--blanc); }
.footer a, .footer a:hover { color: var(--blanc); }
.footer-pratique { max-width: 28em; margin-top: 12px; font-size: 14px; line-height: 1.5; color: #CFCFCF; }
.reseaux { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.reseaux a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; text-decoration: none; }
.reseaux a:hover { text-decoration: underline; }
.reseaux svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-bas { margin-top: 32px; font-size: 13px; color: #BDBDBD; }

/* Responsive */
@media (min-width: 900px) and (max-width: 1120px) {
  .header-in { gap: 12px; }
  .brand img { height: 44px; }
  .nav-liens { gap: 0 20px; }
  .header-cta { padding: 12px 16px; }
}
/* Sous 900 px : bouton Menu et panneau sous l'en-tête */
@media (max-width: 899px) {
  html.js .burger { display: inline-flex; }
  html.js .header-cta { display: none; } /* le bouton Réserver est dans le panneau */
  html.js .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 4px var(--gouttiere) 22px; background: var(--blanc);
    border-bottom: 1px solid #ECECEC; box-shadow: 0 18px 32px rgba(43, 43, 43, .14);
  }
  html.js .nav.is-open { display: flex; }
  /* Voile derrière le panneau ; un clic dessus ferme le menu */
  html.menu-ouvert .header::after { content: ""; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: -1; background: rgba(43, 43, 43, .4); }
  html.js .nav-liens { flex-direction: column; }
  html.js .nav-liens a { display: flex; align-items: center; min-height: 58px; padding: 0; border-bottom: 1px solid #EEEEEE; font: 400 26px/1.1 var(--titre); }
  html.js .nav-liens a.is-actif { border-bottom-color: #EEEEEE; }
  html.js .nav-cta { display: flex; margin-top: 22px; min-height: 52px; }
  /* Sans JS : les liens restent visibles sous le logo */
  html:not(.js) .header-in { flex-wrap: wrap; }
  html:not(.js) .nav { order: 3; width: 100%; }
  html:not(.js) .nav-liens { gap: 0 20px; }
}
@media (max-width: 960px) {
  .hero-in, .pack-in, .why-in, .form, .soutenir-in { grid-template-columns: minmax(0, 1fr); }
  .hero-in, .why-in { gap: 56px; }
  /* La soirée : titre, puis schéma, puis liste et carte */
  .pack-in { gap: 32px; }
  .pack-text { display: contents; }
  .pack-text .h2 { order: 1; }
  .table-fig { order: 2; }
  .inclus { order: 3; }
  .pack-carte { order: 4; margin-top: 0; }
  .fund-call { grid-template-columns: minmax(0, 1fr); }
  .planche-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .marquee { max-width: 520px; width: 100%; justify-self: center; }
  /* Formulaire : récapitulatif en tête, bouton d'envoi en bas */
  .form { gap: 24px; }
  .form > .recap, .form-main, .form > .form-submit { grid-column: auto; grid-row: auto; }
  .recap { position: static; padding: 24px; gap: 16px; }
  .recap h3 { font-size: 26px; }
  .packs { gap: 10px; }
  #total { font-size: 40px; }
}
/* Tablette : titre plus présent, récapitulatif sur deux colonnes */
@media (min-width: 601px) and (max-width: 960px) {
  .hero h1 { font-size: clamp(60px, 9.4vw, 80px); }
  .recap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; align-items: start; }
  .recap h3 { grid-column: 1 / -1; }
  .recap .packs { grid-row: 2 / span 2; }
}
@media (max-width: 600px) {
  :root { --gouttiere: 16px; }
  .section { padding: 48px 0; }

  /* En-tête : plus bas ; le bouton cède la place à la barre collante */
  .header-in { min-height: 56px; gap: 12px; }
  .brand img { height: 34px; }
  :root { --header-h: 57px; }
  .header-cta { display: none; }

  /* Hero compact */
  .hero { padding: 32px 0 48px; }
  .hero-in { gap: 32px; }
  .hero-text { gap: 14px; }
  .hero-event { font-size: 20px; }
  .hero h1 { font-size: clamp(40px, 11vw, 52px); line-height: .95; }
  .hero-show { font-size: 22px; margin-top: 0; }
  .hero-lead { font-size: 16px; }
  .facts { font-size: 15px; gap: 8px 20px; }

  /* Enseigne : bouton remonté juste après « Vous + 7 invités » */
  /* Bande d'ampoules de 14 px, ampoules centrées dans la bande (même grille de 22 px pour la chenille) */
  .marquee { --bande: 14px; --ampoules-pos: -4px -4px; --c1: -15px -15px; --c2: 7px 7px; --c1s: 7px -15px; --c2s: 29px 7px; padding: 36px 24px 28px; gap: 12px; }
  .marquee > .btn { order: 1; margin: 4px 0 2px; }
  .marquee-inclus-titre, .marquee-inclus, .marquee-soutien { order: 2; }
  .marquee-inclus-titre { font-size: 14px; }
  .marquee-inclus { font-size: 16px; }
  .marquee-soutien { font-size: 15px; }

  /* La soirée */
  .pack-in { gap: 20px; }
  .pack-text .h2 { margin-bottom: -4px; }
  .table-svg { max-width: 200px; }
  .legend { display: none; }
  .pack-carte { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pack-carte .carte-visuel { width: 100%; padding: 4px 0; }
  .pack-carte .carte-apercu { max-width: 220px; --carte-rot: -3deg; }
  .pack-carte-titre { font-size: 26px; }
  .inclus { grid-template-columns: minmax(0, 1fr); }
  .inclus > div { padding: 12px 0; }
  .inclus dt { font-size: 22px; }

  /* Pourquoi */
  .fund { padding: 24px 20px; }
  .why-text { gap: 14px; }
  .why-text .h2 { margin-bottom: 4px; }
  .why-text p { font-size: 16px; line-height: 1.6; }
  .why-in { gap: 32px; }
  .fund { gap: 16px; }
  .why-strong { font-size: 24px !important; }
  .figure { font-size: 34px; }
  .figures { grid-template-columns: minmax(0, 1fr); }
  /* Chiffres clés : trois colonnes compactes */
  .chiffres { margin-bottom: 28px; padding-bottom: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .chiffres li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .chiffres strong { font-size: 30px; }
  .chiffres span { font-size: 15px; }
  .projet-fin { margin-top: 40px; }
  .fund-call { padding: 22px 20px; }
  .fund-call-title { font-size: 24px; }
  .planche { margin-top: 40px; }
  .planche-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cellule > a, .cellule-in { min-height: 72px; padding: 10px; }
  .cellule img { max-height: 34px; }
  .cellule--carre img { max-height: 42px; }
  .planche-liste--inst img { max-height: 30px; }
  .planche-liste--inst .cellule--carre img { max-height: 38px; }
  .cellule-texte { font-size: 20px; }


  /* Formulaire */
  .form-intro { margin-bottom: 24px; }
  .form-main { gap: 16px; }
  fieldset { gap: 16px; }
  fieldset { padding: 20px 16px; }
  legend { font-size: 24px; }
  .grid-3 { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .grid-2--mobile { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #sieges { display: none; }
  .deja { margin-bottom: 32px; }
  .grid-3 > .fld:last-child { grid-column: 1 / -1; }
  .recap { padding: 20px 16px; }
  .total small { font-size: 14px; }

  /* Le lieu : une grande photo puis une grille de deux */
  .mosaique { margin-top: 28px; gap: 10px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: auto; }
  .photo--grande { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .photo:not(.photo--grande) { aspect-ratio: 1; }
  .photo figcaption { padding: 28px 12px 10px; }
  .photo--grande figcaption { padding: 36px 14px 12px; font-size: 22px; }


  /* Soutenir autrement */
  .soutenir { padding: 48px 0; }
  .soutenir-in { gap: 24px; }
  .soutenir-liste { gap: 10px; margin-bottom: 20px; }
  .soutenir-chapo { font-size: 16px; }
  .soutenir .btn--contour { width: 100%; }


  /* Pied de page : liens confortables, rien de caché sous la barre collante */
  .footer a { display: inline-block; padding: 10px 0; }
  .mur-amb { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tuile-in { min-height: 96px; padding: 10px 8px; }
  .tuile-logo { min-height: 44px; }
  .tuile-logo img { max-height: 38px; }
  .tuile--carre .tuile-logo img { max-height: 46px; }
  .tuile-invite-titre { font-size: 20px; }
  .footer-nav { width: 100%; }
  .footer-nav ul { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
  .footer { padding-top: 40px; padding-bottom: calc(24px + 76px + env(safe-area-inset-bottom)); }
  .footer-in { gap: 20px; }
  .footer-bas { margin-top: 16px; }

  /* Barre de réservation collante */
  .cta-bar {
    display: flex; align-items: center; gap: 16px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--blanc); box-shadow: 0 -6px 24px rgba(43, 43, 43, .16);
  }
  .cta-bar-prix { font: 400 22px/1 var(--titre); color: var(--encre); white-space: nowrap; }
  .cta-bar-prix span { font: 700 14px/1 var(--corps); letter-spacing: .04em; }
  .cta-bar .btn { flex: 1; min-height: 48px; }
  .cta-bar.is-masque { opacity: 0; visibility: hidden; transform: translateY(16px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee::before { animation: none; }
  .btn, .header-cta, .header-cta.is-masque { transition: none; }
  .burger-icone i { transition: none; }
  .cta-bar.is-masque { transform: none; }
}

/* ---------- Animations (uniquement si l'utilisateur n'a pas demandé moins de mouvement) ----------
   Rien n'est masqué sans la classe html.js posée par le script : sans JS, tout reste visible. */
@media (prefers-reduced-motion: no-preference) {

  /* Barre collante : glisse doucement (visibility retardée pour ne jamais piéger le focus) */
  .cta-bar { transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s; }
  .cta-bar.is-masque { transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }

  /* Menu : le panneau se déplie brièvement, l'icône se transforme en croix */
  .burger-icone i { transition: transform .2s ease, top .2s ease, opacity .15s ease; }
  html.js .nav.is-open { animation: nav-in .22s cubic-bezier(.2,.7,.2,1); }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }

  /* Mur des soutiens : les tuiles apparaissent en cascade légère (délais posés par le script) */
  html.js .mur > li { opacity: 0; transform: translateY(12px); transition: opacity .45s cubic-bezier(.2,.7,.2,1), transform .45s cubic-bezier(.2,.7,.2,1); }
  html.js .mur.is-in > li { opacity: 1; transform: none; }

  /* F. Révélation des titres de section et de leur premier bloc */
  html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1); }
  html.js .rv--2 { transition-delay: .09s; }
  html.js .rv.is-in { opacity: 1; transform: none; }

  /* A. Jauge */
  html.js .gauge-fill { transform: scaleX(0); transform-origin: left center; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
  html.js .gauge-pct { opacity: 0; transition: opacity .35s ease 1s; }
  html.js .fund.is-in .gauge-fill { transform: none; }
  html.js .fund.is-in .gauge-pct { opacity: 1; }

  /* B. Table de 8 : « Vous » d'abord, puis les 7 invités en cascade */
  html.js .t-sieges use, html.js .t-label-vous {
    opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center;
    transition: opacity .32s cubic-bezier(.34,1.56,.64,1), transform .32s cubic-bezier(.34,1.56,.64,1);
  }
  html.js .table-fig.is-in .t-sieges use, html.js .table-fig.is-in .t-label-vous { opacity: 1; transform: none; }
  html.js .t-sieges g:nth-child(2) use { transition-delay: .30s; }
  html.js .t-sieges g:nth-child(3) use { transition-delay: .36s; }
  html.js .t-sieges g:nth-child(4) use { transition-delay: .42s; }
  html.js .t-sieges g:nth-child(5) use { transition-delay: .48s; }
  html.js .t-sieges g:nth-child(6) use { transition-delay: .54s; }
  html.js .t-sieges g:nth-child(7) use { transition-delay: .60s; }
  html.js .t-sieges g:nth-child(8) use { transition-delay: .66s; }

  /* C. Enseigne : après l'allumage, une chenille d'environ 3 s, puis plus rien. Relancée une fois par le script. */
  .marquee::after { animation: chenille .44s steps(2, jump-none) 2.05s 7, chenille-vis 3.08s linear 2.05s both; }
  .marquee.relance::after { animation: chenille-b .44s steps(2, jump-none) 0s 7, chenille-vis-b 3.08s linear 0s both; }
  @keyframes chenille   { from { background-position: var(--c1, -24px -24px), var(--c2, -2px -2px); } to { background-position: var(--c1s, -2px -24px), var(--c2s, 20px -2px); } }
  @keyframes chenille-b { from { background-position: var(--c1, -24px -24px), var(--c2, -2px -2px); } to { background-position: var(--c1s, -2px -24px), var(--c2s, 20px -2px); } }
  @keyframes chenille-vis   { 0% { opacity: 0; } 4%, 92% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes chenille-vis-b { 0% { opacity: 0; } 4%, 92% { opacity: 1; } 100% { opacity: 0; } }

  /* D. Récapitulatif */
  .step { transition: transform .1s ease, background-color .15s ease; }
  .step:active:not(:disabled) { transform: scale(.94); }
  .val-up   { animation: val-up .18s ease-out; }
  .val-down { animation: val-down .18s ease-out; }
  @keyframes val-up   { from { opacity: 0; transform: translateY(.4em); } }
  @keyframes val-down { from { opacity: 0; transform: translateY(-.4em); } }
  .sieges .is-new svg { animation: point-in .22s cubic-bezier(.34,1.56,.64,1) both; }
  .sieges .is-new svg:nth-child(2) { animation-delay: .03s; }
  .sieges .is-new svg:nth-child(3) { animation-delay: .06s; }
  .sieges .is-new svg:nth-child(4) { animation-delay: .09s; }
  .sieges .is-new svg:nth-child(5) { animation-delay: .12s; }
  .sieges .is-new svg:nth-child(6) { animation-delay: .15s; }
  .sieges .is-new svg:nth-child(7) { animation-delay: .18s; }
  .sieges .is-new svg:nth-child(8) { animation-delay: .21s; }
  @keyframes point-in { from { opacity: 0; transform: scale(.3); } }

  /* E. Carte Ambassadeur : elle se pose, puis un reflet la balaie une fois */
  html.js .carte-apercu { opacity: 0; transform: rotate(-10deg) translateY(24px); transition: opacity .7s ease-out, transform .7s ease-out; }
  html.js .carte-visuel.is-in .carte-apercu { opacity: 1; transform: rotate(var(--carte-rot, -4deg)); }
  html.js .carte-visuel.is-in .carte-apercu::after { animation: reflet .9s ease-in-out .7s both; }
  @keyframes reflet { from { opacity: 1; transform: translateX(-60%); } to { opacity: 1; transform: translateX(60%); } }

  /* G. Formulaire */
  html.js .logo-zone { transition: grid-template-rows .25s ease, visibility 0s linear .25s; }
  html.js .logo-zone.is-open { transition: grid-template-rows .25s ease, visibility 0s linear 0s; }
  .fld-err, .form-error { animation: err-in .2s ease-out; }
  @keyframes err-in { from { opacity: 0; transform: translateY(-4px); } }
  .btn.is-loading::before {
    content: ""; width: 16px; height: 16px; margin-right: 10px; flex: none;
    border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
    animation: spin .7s linear infinite; /* seulement le temps de l'envoi */
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* H. Confirmation : la coche se dessine à l'apparition du bloc */
  .merci:not([hidden]) .merci-check path { stroke-dasharray: 1; animation: coche .5s ease-out .15s both; }
  @keyframes coche { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
