/* ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════
   Kairo sur code-christian.fr : la feuille commune des pages /kairo, /kairo/fonctionnalites, /kairo/tarifs,
   /kairo/contact et /kairo/merci (MISSION-SITE-2, W1, 03/11/2026).
   Identité Kairo « Pêche & encre de nuit » (docs/design/marque/peche du dépôt code-resto). Aucune bibliothèque :
   CSS et JavaScript maison, polices hébergées ici (/fonts/kairo, SIL OFL 1.1), icônes Lucide (ISC) dans chaque page.
   Contrastes vérifiés (WCAG AA, ≥ 4,5:1) : texte clair sur la nuit 13:1, pêche claire sur la nuit 11,4:1,
   encre sur la pêche 8,9:1, texte sur le clair 14:1, texte secondaire sur le clair 6,2:1. La pêche n'est jamais du texte
   sur le clair.
   ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── Polices ── */
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-style: normal; font-display: swap;
  src: url(/fonts/kairo/barlow-semi-condensed-700-latin.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 400; font-style: normal; font-display: swap;
  src: url(/fonts/kairo/atkinson-hyperlegible-next-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 700; font-style: normal; font-display: swap;
  src: url(/fonts/kairo/atkinson-hyperlegible-next-700-latin.woff2) format('woff2'); }

/* ── Jetons ── */
:root {
  --clair: #FBEBE3;
  --surface: #FFFAF7;
  --peche: #FBC5BA;
  --peche-claire: #F5CFC2;
  --peche-fonce: #E3A091;
  --peche-vive: #F7A894;
  --encre: #353344;
  --nuit: #1D1F2C;
  --nuit-2: #262735;
  --nuit-3: #303140;
  --nuit-4: #3A3B4B;
  --trait-nuit: #46475A;
  --texte: #25252E;
  --texte-2: #585962;
  --texte-sombre: #F0E3DB;
  --texte-sombre-2: #CBBFB7;
  --trait: #DDCBC3;
  --menthe: #7FD6C2;
  --or: #E5B95C;
  --verre: rgba(240, 227, 219, .07);
  --verre-2: rgba(240, 227, 219, .12);
  --verre-bord: rgba(255, 245, 240, .18);
  --lumiere: rgba(251, 197, 186, .22);
  --lumiere-forte: rgba(251, 197, 186, .55);
  --titre: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --police: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  --rayon: 20px;
  --rayon-petit: 12px;
  --ombre: 0 18px 40px -12px rgba(29, 31, 44, .35), 0 2px 6px rgba(29, 31, 44, .12);
  --ombre-nuit: 0 30px 60px -24px rgba(0, 0, 0, .75), 0 0 0 1px var(--verre-bord);
  --vite: 180ms;
  --doux: cubic-bezier(.22, .8, .24, 1);
  --barre: 72px;
  --large: 1180px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--nuit); color: var(--texte-sombre); font: 400 17px/1.55 var(--police);
  padding-bottom: calc(var(--barre) + env(safe-area-inset-bottom)); overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--peche); outline-offset: 3px; border-radius: 6px; }
.clair :focus-visible, .sur-clair:focus-visible { outline-color: var(--encre); }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nowrap { white-space: nowrap; }
.visuel-masque { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bloc { width: min(100% - 32px, var(--large)); margin-inline: auto; }
.bloc-etroit { width: min(100% - 32px, 760px); margin-inline: auto; }
.passer { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: var(--peche); color: var(--encre); font-weight: 700; }
.passer:focus { top: 12px; }

/* ── Titres et textes ── */
.sur { display: inline-flex; align-items: center; gap: 10px; font: 700 14px/1.2 var(--police); letter-spacing: .12em; text-transform: uppercase; color: var(--texte-sombre-2); }
.sur::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.h-geant { font: 700 clamp(46px, 12vw, 116px)/.9 var(--titre); letter-spacing: -.02em; }
.h2 { margin-top: 12px; font: 700 clamp(36px, 8.6vw, 72px)/.95 var(--titre); letter-spacing: -.015em; }
.h2 em, .h-geant em { font-style: normal; color: var(--peche-claire); }
.intro { margin-top: 16px; max-width: 640px; font-size: clamp(18px, 2.2vw, 21px); color: var(--texte-sombre-2); }
.intro strong { color: var(--texte-sombre); }
.section { position: relative; padding: clamp(64px, 11vw, 120px) 0; }
.centre { text-align: center; }
.centre .intro { margin-inline: auto; }

/* Les sections claires (alternance nuit / clair décidée : nuit = le service, clair = le restaurateur qui lit) */
.clair { background: var(--clair); color: var(--texte); }
.clair .sur { color: var(--texte-2); }
.clair .h2, .clair h3 { color: var(--encre); }
.clair .h2 em { color: var(--encre); background: linear-gradient(180deg, transparent 62%, var(--peche) 62%, var(--peche) 92%, transparent 92%); padding: 0 .06em; }
.clair .intro { color: var(--texte-2); }
.clair .intro strong { color: var(--texte); }
/* La section pêche (la couleur franche : « Ce qui distingue Kairo », le prix) */
.peche { background: radial-gradient(120% 90% at 10% 0%, #FFE3DA 0%, var(--peche) 45%, #F2AE9F 100%); color: var(--encre); }
.peche .sur { color: var(--encre); }
.peche .h2, .peche h3 { color: var(--encre); }
.peche .h2 em { color: var(--nuit); }
.peche .intro { color: var(--encre); }
.peche :focus-visible { outline-color: var(--nuit); }
/* La nuit, avec son halo */
.nuit { background: radial-gradient(110% 70% at 50% 0%, var(--nuit-2), var(--nuit) 70%); }

/* ── L'icône en volume (inspi-1) et l'étiquette inclinée ── */
.vol { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 30%; color: var(--encre);
  background: radial-gradient(circle at 30% 24%, #FFF3EE 0%, var(--peche) 46%, var(--peche-fonce) 100%);
  box-shadow: inset -3px -5px 9px rgba(53, 51, 68, .25), inset 3px 4px 7px rgba(255, 255, 255, .6), 0 12px 20px -10px rgba(29, 31, 44, .55); }
.vol .ic { width: 26px; height: 26px; }
.etiquette { display: inline-block; padding: 5px 14px 6px; border-radius: 10px; transform: rotate(-4deg); font: 700 15px/1.2 var(--police);
  background: linear-gradient(180deg, #FFF3EE, var(--peche) 60%, var(--peche-fonce)); color: var(--encre); box-shadow: 0 8px 16px -8px rgba(29, 31, 44, .5); }
.etiquette--droite { transform: rotate(3deg); }

/* ── Boutons ── */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; border-radius: 999px;
  font: 700 17px/1.2 var(--police); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform var(--vite) var(--doux), box-shadow var(--vite) var(--doux), background var(--vite); }
.bouton:active { transform: scale(.96); }
.bouton--plein { background: var(--peche); color: var(--encre); box-shadow: 0 10px 26px -10px var(--lumiere-forte); }
.bouton--plein:hover { background: #FFD3C9; box-shadow: 0 14px 34px -10px var(--lumiere-forte); }
.bouton--trait { border-color: var(--verre-bord); color: var(--texte-sombre); background: var(--verre); }
.bouton--trait:hover { background: var(--verre-2); }
.bouton--encre { background: var(--encre); color: var(--texte-sombre); }
.bouton--encre:hover { background: var(--nuit); }
.clair .bouton--trait { border-color: var(--encre); color: var(--encre); background: transparent; }
.clair .bouton--trait:hover { background: rgba(53, 51, 68, .06); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--peche-claire); text-underline-offset: 4px; }
.clair .lien-fleche, .peche .lien-fleche { color: var(--encre); }

/* ═══ En-tête ═══ */
.tete { position: sticky; top: 0; z-index: 40; background: rgba(29, 31, 44, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 245, 240, .08); }
.tete .bloc { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.tete .marque { display: flex; align-items: center; text-decoration: none; padding: 6px 0; }
.tete .marque img { height: 36px; width: auto; }
.tete nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.tete nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-size: 16px; color: var(--texte-sombre-2); transition: color var(--vite), background var(--vite); }
.tete nav a:hover { color: var(--texte-sombre); background: var(--verre); }
.tete nav a[aria-current="page"] { color: var(--texte-sombre); background: var(--verre-2); }
.tete nav a.tete-demo { background: var(--peche); color: var(--encre); font-weight: 700; padding: 0 18px; }
.tete nav a.tete-demo:hover { background: #FFD3C9; }
.tete .menu-ouvrir { display: none; }
@media (max-width: 899px) {
  .tete nav { position: fixed; inset: 64px 0 auto 0; background: var(--nuit); border-bottom: 1px solid var(--trait-nuit); padding: 8px 16px 18px; display: none; }
  .tete nav.ouvert { display: block; }
  .tete nav ul { flex-direction: column; align-items: stretch; }
  .tete nav a { width: 100%; font-size: 18px; padding: 0 14px; min-height: 52px; }
  .tete .menu-ouvrir { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--verre-bord); background: var(--verre); color: var(--texte-sombre); cursor: pointer; }
}
/* Sans JavaScript, le menu reste visible (liens simples sous le logo) */
.sans-js .tete nav { position: static; display: block; padding: 0 0 10px; border: 0; background: none; }
.sans-js .tete .bloc { flex-wrap: wrap; }
.sans-js .tete .menu-ouvrir { display: none; }
.signature { font-size: 15px; color: var(--texte-sombre-2); }
.signature a { color: var(--peche-claire); font-weight: 700; text-underline-offset: 3px; }

/* ═══ L'animation d'ouverture (moins de 1,5 s, passable, jamais devant le contenu plus longtemps) ═══ */
.ouverture { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(29, 31, 44, .9); cursor: pointer;
  animation: ouverture-fin .35s var(--doux) .8s forwards; }
.ouverture[hidden] { display: none; }
.ouverture .scene { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.ouverture svg.orbite-o { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ouverture .orbite-o ellipse { fill: none; stroke: var(--peche); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700;
  filter: drop-shadow(0 0 8px var(--lumiere-forte)); animation: trace .65s var(--doux) .05s forwards; }
.ouverture .orbite-o circle { fill: var(--peche); opacity: 0; animation: point .5s var(--doux) forwards; }
.ouverture .orbite-o circle:nth-of-type(1) { animation-delay: .25s; }
.ouverture .orbite-o circle:nth-of-type(2) { animation-delay: .35s; }
.ouverture .orbite-o circle:nth-of-type(3) { animation-delay: .45s; }
.ouverture .orbite-o circle:nth-of-type(4) { animation-delay: .55s; }
.ouverture .orbite-o circle:nth-of-type(5) { animation-delay: .65s; }
.ouverture .orbite-o circle:nth-of-type(6) { animation-delay: .75s; }
.ouverture img { width: 96px; height: 96px; opacity: 0; transform: scale(.7); animation: logo .55s var(--doux) .3s forwards; }
.ouverture .passer-ouverture { position: absolute; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom)); min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--verre-bord); background: var(--verre); color: var(--texte-sombre); cursor: pointer; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes point { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes logo { to { opacity: 1; transform: scale(1); } }
@keyframes ouverture-fin { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }

/* ═══ Le haut de /kairo : le projecteur (inspi-4), « KAIRO » géant en fond, la vidéo ═══ */
.haut { position: relative; overflow: hidden; padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 9vw, 104px); }
.haut::before { content: ""; position: absolute; left: 50%; top: -60px; width: min(1100px, 160vw); height: 1100px; transform: translateX(-50%); pointer-events: none;
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(255, 236, 228, .18), rgba(255, 236, 228, 0) 72%); filter: blur(18px); }
.haut .geant { position: absolute; left: 0; right: 0; top: 18%; text-align: center; font: 700 min(40vw, 420px)/.82 var(--titre); color: rgba(240, 227, 219, .035);
  -webkit-text-stroke: 2px rgba(251, 197, 186, .1); pointer-events: none; user-select: none; letter-spacing: -.02em; }
.haut .grille { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .haut .grille { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.haut h1 { position: relative; }
.haut h1 .ligne { display: block; overflow: hidden; padding-bottom: .04em; }
.haut h1 .ligne > span { display: inline-block; }
.haut .chapo { position: relative; margin-top: 22px; max-width: 560px; font-size: clamp(18px, 2.3vw, 22px); color: var(--texte-sombre-2); }
.haut .chapo strong { color: var(--texte-sombre); }
.haut .pastilles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; list-style: none; }
.haut .pastilles li { padding: 7px 14px; border-radius: 999px; background: var(--verre); border: 1px solid var(--verre-bord); font-size: 15px; color: var(--texte-sombre); }
.haut .prix-haut { margin-top: 22px; font-size: 17px; color: var(--texte-sombre-2); }
.haut .prix-haut strong { color: var(--peche-claire); font: 700 26px/1 var(--titre); letter-spacing: .01em; }

/* La vidéo dans son cadre de verre */
.video { position: relative; width: min(100%, 380px, calc(72svh * 9 / 16)); min-width: 240px; margin: 0 auto; border-radius: 26px; overflow: hidden; background: var(--nuit-2);
  box-shadow: var(--ombre-nuit), 0 0 120px -30px var(--lumiere-forte); }
.video video { width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--nuit-2); object-fit: cover; }
.lecture { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(180deg, rgba(29, 31, 44, 0) 50%, rgba(29, 31, 44, .55)); cursor: pointer; color: var(--encre); }
.lecture .rond { display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: var(--peche); box-shadow: 0 0 0 10px rgba(251, 197, 186, .22), 0 10px 30px rgba(29, 31, 44, .55);
  transition: transform var(--vite) var(--doux); animation: pouls 2.4s ease-in-out infinite; }
.lecture .rond .ic { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; stroke: none; }
.lecture:hover .rond { transform: scale(1.06); }
.lecture .duree { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(29, 31, 44, .72); color: var(--texte-sombre); font: 700 14px/1 var(--police); }
.lecture[hidden] { display: none; }
@keyframes pouls { 50% { box-shadow: 0 0 0 18px rgba(251, 197, 186, .08), 0 10px 30px rgba(29, 31, 44, .55); } }
.legende-video { margin-top: 14px; text-align: center; font-size: 15px; color: var(--texte-sombre-2); }

/* ═══ « Tout est connecté » : les cartes de verre reliées par la ligne lumineuse (inspi-2) ═══ */
.orbite { position: relative; margin-top: 44px; }
.orbite .centre-k { display: none; }
.orbite svg.anneau { display: none; }
.orbite ol { list-style: none; position: relative; display: grid; gap: 16px; padding-left: 34px; }
/* Au téléphone : la ligne verticale lumineuse qui se dessine au défilement, un point par carte */
.orbite ol::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--trait-nuit); }
.orbite ol::after { content: ""; position: absolute; left: 11px; top: 8px; width: 2px; height: calc(var(--avance, 0) * (100% - 16px)); border-radius: 2px;
  background: linear-gradient(180deg, var(--peche), var(--peche-claire)); box-shadow: 0 0 12px var(--lumiere-forte); transition: height .2s linear; }
.verre { position: relative; padding: 18px 18px 18px 18px; border-radius: var(--rayon); background: linear-gradient(160deg, rgba(255, 245, 240, .1), rgba(255, 245, 240, .03));
  border: 1px solid var(--verre-bord); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .12); }
.orbite li.verre { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; }
.orbite li.verre::before { content: ""; position: absolute; left: -29px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--nuit); border: 2px solid var(--peche); box-shadow: 0 0 10px var(--lumiere-forte); }
.orbite li strong { display: block; font: 700 22px/1.1 var(--titre); color: var(--texte-sombre); letter-spacing: .005em; }
.orbite li span.desc { display: block; margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--texte-sombre-2); }
/* À l'ordinateur : les 6 cartes posées sur une ellipse, la ligne lumineuse qui tourne autour du K */
@media (min-width: 960px) {
  .orbite { height: 600px; margin-top: 24px; }
  .orbite svg.anneau { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .orbite .anneau ellipse.fond { fill: none; stroke: var(--trait-nuit); stroke-width: 1.5; }
  .orbite .anneau ellipse.lumiere { fill: none; stroke: url(#degrade-orbite); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260 2300; filter: drop-shadow(0 0 10px var(--lumiere-forte)); animation: tourne 9s linear infinite; }
  .orbite .centre-k { display: grid; place-items: center; position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 34px;
    background: radial-gradient(circle at 35% 25%, #2f3142, var(--nuit)); box-shadow: 0 0 0 1px var(--verre-bord), 0 0 90px -10px var(--lumiere-forte); }
  .orbite .centre-k img { width: 84px; height: 84px; }
  .orbite .centre-k p { position: absolute; top: calc(100% + 16px); width: 260px; text-align: center; font: 700 22px/1.1 var(--titre); color: var(--peche-claire); }
  .orbite ol { position: absolute; inset: 0; padding: 0; display: block; }
  .orbite ol::before, .orbite ol::after { display: none; }
  .orbite li.verre { position: absolute; width: 300px; transform: translate(-50%, -50%); }
  .orbite li.verre::before { display: none; }
  .orbite li:nth-child(1) { left: 50%; top: 7%; }
  .orbite li:nth-child(2) { left: 85%; top: 28%; }
  .orbite li:nth-child(3) { left: 85%; top: 72%; }
  .orbite li:nth-child(4) { left: 50%; top: 93%; }
  .orbite li:nth-child(5) { left: 15%; top: 72%; }
  .orbite li:nth-child(6) { left: 15%; top: 28%; }
  .orbite li.verre.allume { border-color: rgba(251, 197, 186, .65); box-shadow: 0 0 0 1px rgba(251, 197, 186, .35), 0 0 50px -12px var(--lumiere-forte), 0 20px 40px -24px rgba(0, 0, 0, .8); }
}
@keyframes tourne { to { stroke-dashoffset: -2560; } }

/* Les cartes « Et aussi » (page des fonctionnalités) */
.aussi li.verre { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; }
.aussi li strong { display: block; font: 700 22px/1.1 var(--titre); color: var(--texte-sombre); }
.aussi li span.desc { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--texte-sombre-2); }

/* ═══ « Ce qui distingue Kairo » (section pêche) ═══ */
.distingue { list-style: none; display: grid; gap: 14px; margin-top: 40px; counter-reset: d; }
@media (min-width: 720px) { .distingue { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .distingue { grid-template-columns: repeat(3, 1fr); } }
.distingue li { position: relative; padding: 24px 22px 22px; border-radius: var(--rayon); background: rgba(255, 250, 247, .62); border: 1px solid rgba(53, 51, 68, .12);
  box-shadow: 0 18px 30px -22px rgba(53, 51, 68, .6); counter-increment: d; transition: transform var(--vite) var(--doux), box-shadow var(--vite); }
.distingue li:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -22px rgba(53, 51, 68, .7); }
.distingue li::before { content: counter(d, decimal-leading-zero); position: absolute; right: 18px; top: 14px; font: 700 40px/1 var(--titre); color: rgba(53, 51, 68, .16); }
.distingue strong { display: block; margin-top: 14px; font: 700 26px/1.05 var(--titre); color: var(--encre); }
.distingue span.desc { display: block; margin-top: 6px; font-size: 16px; color: var(--encre); }
.distingue .vol { background: radial-gradient(circle at 30% 24%, #4a4960 0%, var(--encre) 55%, var(--nuit) 100%); color: var(--peche-claire); }

/* ═══ Sans Kairo / Avec Kairo (inspi-3) ═══ */
.duel { display: grid; gap: 12px; margin-top: 36px; }
.duel-tete, .duel-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duel-tete span { padding: 10px; border-radius: 999px; text-align: center; font: 700 20px/1.1 var(--titre); }
.duel-tete span:first-child { background: var(--nuit-3); color: #B9B3B0; }
.duel-tete span:last-child { background: var(--peche); color: var(--encre); }
.duel-col { padding: 16px; border-radius: 16px; font-size: 16px; line-height: 1.45; }
.duel-col b { display: block; margin-bottom: 4px; font: 700 13px/1.2 var(--police); letter-spacing: .07em; text-transform: uppercase; }
.duel-sans { background: var(--nuit-3); color: var(--texte-sombre-2); }
.duel-sans b { color: #B9B3B0; }
.duel-avec { background: var(--verre); border: 1px solid var(--verre-bord); color: var(--texte-sombre); box-shadow: 0 0 40px -16px var(--lumiere); }
.duel-avec b { color: var(--peche-claire); }

/* ═══ Les 3 vidéos ═══ */
.videos { display: grid; gap: 28px; margin-top: 44px; }
@media (min-width: 760px) { .videos { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.carte-video { display: flex; flex-direction: column; }
.carte-video .video { width: 100%; max-width: 360px; }
.carte-video .num { margin-top: 18px; font: 700 14px/1 var(--police); letter-spacing: .1em; color: var(--peche-claire); }
.carte-video h3 { margin-top: 8px; font: 700 28px/1.02 var(--titre); color: var(--texte-sombre); }
.carte-video p { margin-top: 8px; color: var(--texte-sombre-2); }
@media (max-width: 759px) { .carte-video .video { margin: 0 auto; } .carte-video { text-align: left; } }
.carte-video .renvoi { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; background: rgba(29, 31, 44, .2); }

/* ═══ Les écrans vivants (refaits en HTML d'après les vraies captures de Kairo, animés élément par élément) ═══ */
.appareil { position: relative; margin: 0 auto; border-radius: 26px; padding: 12px; background: linear-gradient(160deg, #3c3d4d, #17181f);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px rgba(0, 0, 0, .5); }
.appareil--tablette { width: min(100%, 640px); aspect-ratio: 16 / 10.4; }
.appareil--ecran { width: min(100%, 700px); aspect-ratio: 16 / 9.6; border-radius: 14px; padding: 10px; }
.appareil--tel { width: min(100%, 300px); aspect-ratio: 9 / 17; border-radius: 38px; padding: 10px; }
.ecran { position: relative; height: 100%; overflow: hidden; border-radius: 16px; background: var(--nuit); color: var(--texte-sombre); font: 400 13px/1.3 var(--police); container-type: inline-size; }
.appareil--tel .ecran { border-radius: 30px; }
.appareil--ecran .ecran { border-radius: 6px; }
/* Chaque écran est dessiné à sa vraie taille (data-largeur) puis réduit à la place disponible par kairo.js :
   au téléphone, rien n'est coupé ni tassé. Sans JavaScript, la toile garde sa taille et l'écran la rogne proprement. */
.ecran .toile { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; }
.appareil--tablette .toile { width: 540px; }
.appareil--ecran .toile { width: 600px; }
.appareil--tel .toile { width: 280px; }
.ecran .barre-app { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--trait-nuit); font-weight: 700; font-size: 12px; }
.ecran .barre-app small { font-weight: 400; color: var(--texte-sombre-2); }
.ecran .ic-mini { display: inline-block; width: 1.1em; height: 1.1em; margin-right: .3em; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ecran .point-vert { display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: var(--menthe); }
/* Ce qui entre : caché tant que la scène ne l'a pas « allumé » (data-t) */
.ecran [data-t] { transition: opacity .45s var(--doux), transform .45s var(--doux), background .35s, color .35s, border-color .35s, box-shadow .35s; }
.ecran [data-t].entre:not(.vu) { opacity: 0; transform: translateY(10px) scale(.98); }
.ecran [data-t].glisse:not(.vu) { opacity: 0; transform: translateX(26px); }
/* L'appui (pas de main ni de curseur : le bouton s'enfonce et change d'état) */
.ecran .appui.vu { animation: appui .45s var(--doux); }
@keyframes appui { 40% { transform: scale(.92); } 100% { transform: scale(1); } }

/* Tablette : saisie de la commande */
.tb { display: grid; grid-template-columns: 26% 1fr 36%; height: calc(100% - 33px); }
.tb .cats { border-right: 1px solid var(--trait-nuit); }
.tb .cats div { padding: 8px 10px; border-bottom: 1px solid var(--trait-nuit); font-size: 12px; font-weight: 700; }
.tb .cats div.actif { background: var(--nuit-3); box-shadow: inset 3px 0 0 var(--peche); }
.tb .centre-tb { padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.tb .allergie { padding: 6px 8px; border-radius: 8px; border: 1.5px solid var(--or); background: rgba(229, 185, 92, .12); color: #F2D28F; font-size: 11px; font-weight: 700; }
.tb .articles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tb .article { position: relative; padding: 8px; border-radius: 8px; border: 1px solid var(--trait-nuit); background: var(--nuit-2); font-size: 11.5px; font-weight: 700; }
.tb .article em { display: block; margin-top: 4px; font-style: normal; font-weight: 400; color: var(--texte-sombre-2); }
.tb .article.vu.appui { border-color: var(--peche); }
.tb .envoi { border-left: 1px solid var(--trait-nuit); padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.tb .envoi .t4 { font-size: 12px; padding-bottom: 6px; border-bottom: 2px solid var(--texte-sombre); display: flex; justify-content: space-between; }
.tb .envoi .t4 small { font-weight: 400; color: var(--texte-sombre-2); }
.tb .ligne { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 6px 0; border-bottom: 1px solid var(--trait-nuit); font-size: 11.5px; font-weight: 700; }
.tb .ligne .qte { display: grid; place-items: center; min-width: 26px; height: 22px; border-radius: 6px; border: 1px solid var(--trait-nuit); }
.tb .envoyer { margin-top: auto; padding: 9px; border-radius: 9px; background: var(--peche); color: var(--encre); text-align: center; font-weight: 700; font-size: 13px; }
.tb .envoyer.parti { background: var(--menthe); color: var(--nuit); }

/* Cuisine : les bons */
.cu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 8px; height: calc(100% - 33px); }
.bon { display: flex; flex-direction: column; border-radius: 9px; border: 1px solid var(--trait-nuit); background: var(--nuit-2); overflow: hidden; }
.bon .bon-tete { display: flex; justify-content: space-between; align-items: flex-start; padding: 6px 8px; background: var(--nuit-3); }
.bon .bon-tete b { font: 700 22px/1 var(--titre); }
.bon .bon-tete small { display: block; font-size: 9.5px; color: var(--texte-sombre-2); font-weight: 400; }
.bon .bon-tete .temps { text-align: right; font-weight: 700; font-size: 12px; }
.bon ul { list-style: none; padding: 4px 8px; flex: 1; }
.bon li { padding: 4px 0; border-bottom: 1px solid var(--trait-nuit); font-size: 12.5px; font-weight: 700; }
.bon .alerte { margin: 4px 8px 0; padding: 4px 6px; border-radius: 5px; background: var(--or); color: var(--nuit); font-size: 10px; font-weight: 700; }
.bon .action { margin: 6px 8px 8px; padding: 6px; border-radius: 7px; background: var(--peche); color: var(--encre); text-align: center; font-weight: 700; font-size: 12px; }
.bon .action.pret { background: transparent; border: 1.5px solid var(--texte-sombre); color: var(--texte-sombre); }
.bon .action.fini { background: var(--menthe); border-color: var(--menthe); color: var(--nuit); }
.bon.nouveau { border-color: var(--peche); box-shadow: 0 0 0 1px var(--peche), 0 0 24px -6px var(--lumiere-forte); }
.bon .etat { display: inline-block; margin-top: 2px; padding: 1px 5px; border-radius: 4px; border: 1px solid var(--texte-sombre-2); font-size: 9px; font-weight: 700; }

/* Caisse : la note de la table */
.ca { display: grid; grid-template-columns: 34% 1fr; gap: 8px; padding: 8px; height: calc(100% - 33px); }
.ca .notes div { display: flex; justify-content: space-between; padding: 7px 8px; margin-bottom: 6px; border-radius: 8px; background: var(--nuit-2); border: 1px solid var(--trait-nuit); font-size: 11.5px; font-weight: 700; }
.ca .notes div.choisie { border-color: var(--peche); }
.ca .note { padding: 8px 10px; border-radius: 10px; background: var(--nuit-2); display: flex; flex-direction: column; }
.ca .note .t4 { font: 700 20px/1 var(--titre); }
.ca .note .t4 small { font: 400 11px var(--police); color: var(--texte-sombre-2); }
.ca .note .l { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--trait-nuit); font-size: 11.5px; font-weight: 700; }
.ca .note .l i { font-style: normal; color: var(--texte-sombre-2); font-weight: 400; display: block; font-size: 10px; }
.ca .total { margin-top: auto; padding-top: 6px; border-top: 2px solid var(--texte-sombre); display: flex; justify-content: space-between; align-items: baseline; }
.ca .total b { font: 700 30px/1 var(--titre); }
.ca .tva { margin-top: 3px; font-size: 10px; color: var(--texte-sombre-2); text-align: right; }
.ca .modes { display: flex; gap: 5px; margin-top: 6px; }
.ca .modes span { flex: 1; padding: 6px; border-radius: 7px; border: 1px solid var(--trait-nuit); text-align: center; font-size: 11px; font-weight: 700; }
.ca .modes span.choisi { background: var(--peche); color: var(--encre); border-color: var(--peche); }

/* Téléphone : le site du restaurant (réservation) et le patron (Aujourd'hui) */
.tel-clair { background: #F6EEE4; color: #2B1E18; }
.tel-clair .barre-app { border-color: #E2D3C2; }
.tel-site .t5 { margin: 12px 12px 4px; font: 700 26px/1 Georgia, 'Times New Roman', serif; color: #3A1D12; }
.tel-site p { margin: 0 12px 8px; font-size: 11px; color: #6B5548; }
.tel-site .etiq { margin: 10px 12px 6px; font-size: 9.5px; letter-spacing: .14em; font-weight: 700; color: #6B5548; }
.tel-site .creneaux { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 0 12px; }
.tel-site .creneaux span { padding: 7px 0; border-radius: 999px; border: 1.5px solid #C49A4A; text-align: center; font-size: 11px; font-weight: 700; }
.tel-site .creneaux span.choisi { background: #7C2E22; border-color: #7C2E22; color: #FFF6EE; }
.tel-site .confirme { margin: 12px; padding: 12px; border-radius: 12px; background: #FFFFFF; border: 1px solid #E2D3C2; font-size: 12px; }
.tel-site .confirme b { display: block; font-size: 15px; color: #7C2E22; }
.tel-patron { background: #FDF0EA; color: #25252E; }
.tel-patron .t5 { margin: 12px 14px 2px; font: 700 26px/1 var(--titre); color: var(--encre); }
.tel-patron p { margin: 0 14px 10px; font-size: 11px; color: var(--texte-2); }
.tel-patron .tuile { display: flex; justify-content: space-between; align-items: center; margin: 0 12px 8px; padding: 11px 12px; border-radius: 12px; background: #F1DDD4; font-size: 12px; font-weight: 700; }
.tel-patron .tuile b { font: 700 18px/1 var(--titre); }
.tel-patron .resa { margin: 0 12px; padding: 6px 12px; border-radius: 12px; background: #FFFAF7; }
.tel-patron .resa div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #EBDCD3; font-size: 11px; }
.tel-patron .resa span.arrivee { padding: 1px 7px; border-radius: 999px; background: #F7E2D9; font-size: 10px; font-weight: 700; }
.tel-portail { background: #F4EEE3; color: #2B1E18; }
.tel-portail .bandeau { display: flex; justify-content: space-between; padding: 9px 12px; background: #7A2E22; color: #FFF6EE; font-size: 11px; font-weight: 700; }
.tel-portail .bandeau span { display: flex; gap: 9px; }
.tel-portail .bandeau span i { font-style: normal; opacity: .75; }
.tel-portail .bandeau span i.on { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.tel-portail .t5 { margin: 12px 0 8px; text-align: center; font: 700 24px/1 Georgia, serif; color: #7A2E22; }
.tel-portail .filtre { margin: 0 12px 8px; padding: 9px 12px; border-radius: 12px; background: #FFFFFF; border: 1px solid #E5D8C6; font-size: 12px; font-weight: 700; }
.tel-portail .plat { display: flex; justify-content: space-between; gap: 8px; margin: 0 12px; padding: 9px 0; border-bottom: 1px solid #E5D8C6; font-size: 12px; }
.tel-portail .plat b { font-family: Georgia, serif; font-size: 13px; }
.tel-portail .plat small { display: block; color: #6B5548; font-size: 10.5px; margin-top: 2px; }
.tel-portail .plat .prix { align-self: start; padding: 2px 7px; border-radius: 999px; border: 1px solid #C9A99B; color: #7A2E22; font-weight: 700; white-space: nowrap; }
.tel-portail .plat.masque { opacity: .35; text-decoration: line-through; }
/* Plan de salle (tablette) */
.plan { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 24px 14px 60px; height: calc(100% - 33px); align-content: center;
  background-image: linear-gradient(rgba(255, 245, 240, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 245, 240, .04) 1px, transparent 1px); background-size: 18px 18px; }
.plan .plan-zone { position: absolute; left: 14px; top: 6px; font: 700 9px/1 var(--police); letter-spacing: .12em; color: var(--texte-sombre-2); }
.plan .plan-zone.bas { top: auto; bottom: 8px; }
.plan .t { display: grid; place-items: center; aspect-ratio: 1.6; border-radius: 9px; border: 1.5px solid var(--trait-nuit); background: var(--nuit-2); font: 700 18px/1 var(--titre); }
.plan .t small { display: block; font: 700 9.5px/1 var(--police); color: var(--texte-sombre-2); margin-top: 3px; }
.plan .t.resa { border-style: dashed; border-color: var(--texte-sombre-2); }
.plan .t.cuisine { border-color: var(--peche); }
.plan .t.pret { border-style: solid;  background: rgba(127, 214, 194, .2); border-color: var(--menthe); }
.plan .t.ouverte { border-style: solid;  border-color: var(--peche); background: rgba(251, 197, 186, .14); box-shadow: 0 0 22px -6px var(--lumiere-forte); }
.plan .qui { position: absolute; right: 12px; bottom: 10px; padding: 8px 10px; border-radius: 10px; background: var(--nuit-3); border: 1px solid var(--peche); font-size: 11px; box-shadow: 0 10px 20px -10px #000; }
.plan .qui b { display: block; font-size: 12px; }

/* ═══ Pages « fonctionnalités » : un module par bloc, l'écran vivant à côté ═══ */
.module { display: grid; gap: 34px; align-items: center; padding: clamp(56px, 9vw, 104px) 0; border-top: 1px solid rgba(255, 245, 240, .07); }
@media (min-width: 960px) { .module { grid-template-columns: 1fr 1fr; gap: 64px; } .module.inverse .module-texte { order: 2; } }
.module .num { font: 700 15px/1 var(--police); letter-spacing: .12em; color: var(--peche-claire); }
.module h2 { margin-top: 10px; font: 700 clamp(36px, 7vw, 60px)/.95 var(--titre); letter-spacing: -.01em; }
.module .module-texte > p { margin-top: 14px; font-size: 18px; color: var(--texte-sombre-2); }
.gagne { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.gagne li { position: relative; padding-left: 34px; color: var(--texte-sombre); }
.gagne li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--peche) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23353344' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.module .vous-gagnez { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: var(--verre); border: 1px solid var(--verre-bord); }
.module .vous-gagnez b { color: var(--peche-claire); }
.note-loi { margin-top: 16px; font-size: 15px; color: var(--texte-sombre-2); border-left: 3px solid var(--peche); padding-left: 12px; }
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; }
.sommaire a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--verre-bord); background: var(--verre); text-decoration: none; font-size: 15px; }
.sommaire a:hover { background: var(--verre-2); }

/* ═══ Scénarios ═══ */
.scenarios { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .scenarios { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .scenarios { grid-template-columns: repeat(3, 1fr); } }
.scenario { padding: 24px 22px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--trait); box-shadow: 0 16px 30px -24px rgba(53, 51, 68, .55); }
.scenario .etiquette { margin-bottom: 12px; }
.scenario h3 { font: 700 26px/1.05 var(--titre); color: var(--encre); }
.scenario .situation { margin-top: 8px; color: var(--texte-2); }
.scenario ol { list-style: none; margin-top: 14px; display: grid; gap: 8px; counter-reset: etape; }
.scenario ol li { position: relative; padding-left: 38px; counter-increment: etape; }
.scenario ol li::before { content: counter(etape); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--encre); color: var(--peche-claire); font: 700 14px/1 var(--police); }
.scenario .gagne-s { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--trait); font-weight: 700; color: var(--encre); }
.scenario a.voir { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; color: var(--encre); font-weight: 700; text-underline-offset: 4px; }

/* ═══ Prix ═══ */
.prix-grille { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 900px) { .prix-grille { grid-template-columns: 1.1fr .9fr; align-items: stretch; } }
.tarif { position: relative; overflow: hidden; padding: 30px 26px; border-radius: 26px; background: var(--nuit); color: var(--texte-sombre); box-shadow: 0 30px 60px -30px rgba(29, 31, 44, .9); }
.tarif::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, var(--lumiere-forte), transparent 70%); }
.tarif .depuis { font-weight: 700; color: var(--texte-sombre-2); }
.tarif .montant { margin-top: 4px; font: 700 clamp(68px, 14vw, 104px)/.9 var(--titre); color: var(--peche-claire); letter-spacing: -.02em; }
.tarif .montant small { font: 700 24px/1 var(--police); color: var(--texte-sombre); letter-spacing: 0; }
.tarif ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.tarif ul li { position: relative; padding-left: 30px; }
.tarif ul li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--peche); }
.options-prix { padding: 28px 24px; border-radius: 26px; background: rgba(255, 250, 247, .7); border: 1px solid rgba(53, 51, 68, .14); color: var(--encre); }
.options-prix h3 { font: 700 28px/1.05 var(--titre); }
.options-prix ul { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.options-prix li { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; }
.options-prix .max { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--encre); color: var(--texte-sombre); font-weight: 700; }
.compris { margin-top: 18px; }
.compris h3 { font: 700 26px/1.05 var(--titre); color: var(--encre); }
.puces { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.puces li { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid rgba(53, 51, 68, .16); font-size: 15px; color: var(--encre); }
/* Les conditions écrites (tarifs, décisions du 03/11/2026) : résiliation et assistance, une carte par point */
.conditions { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.conditions li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 20px;
  background: var(--surface); border: 1px solid rgba(53, 51, 68, .14); color: var(--encre); font-size: 17px; }
.conditions b { display: block; margin-bottom: 4px; font: 700 21px/1.15 var(--titre); }
.tableau-prix { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 16px; }
.tableau-prix th, .tableau-prix td { padding: 12px 10px; text-align: left; border-bottom: 1px solid rgba(53, 51, 68, .16); }
.tableau-prix td:last-child, .tableau-prix th:last-child { text-align: right; white-space: nowrap; }
.tableau-prix tfoot td { font-weight: 700; border-bottom: 0; }

/* ═══ Questions fréquentes ═══ */
.faq { display: grid; gap: 10px; margin-top: 32px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--trait); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 14px 18px; cursor: pointer; font: 700 21px/1.15 var(--titre); color: var(--encre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--peche); color: var(--encre); font: 700 22px/1 var(--police); transition: transform var(--vite); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 18px; color: var(--texte-2); }

/* ═══ La demande de contact ═══ */
.contact-grille { display: grid; gap: 30px; margin-top: 36px; }
@media (min-width: 960px) { .contact-grille { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; } }
.qui-carte { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--verre); border: 1px solid var(--verre-bord); }
.qui-carte .monogramme { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--peche); color: var(--encre); font: 700 26px/1 var(--titre); }
.qui-carte strong { display: block; font: 700 22px/1.1 var(--titre); }
.qui-carte span { color: var(--texte-sombre-2); font-size: 15px; }
.joindre { display: grid; gap: 10px; margin-top: 18px; }
.joindre .bouton { justify-content: flex-start; }
.formulaire { padding: clamp(20px, 4vw, 34px); border-radius: 26px; background: var(--surface); color: var(--texte); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9); }
.formulaire .form-titre { font: 700 30px/1.05 var(--titre); color: var(--encre); }
.formulaire .aide { margin-top: 6px; color: var(--texte-2); font-size: 15px; }
.champs { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 600px) { .champs { grid-template-columns: 1fr 1fr; } .champs .large { grid-column: 1 / -1; } }
.champ label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 15px; color: var(--texte); }
.champ label small { font-weight: 400; color: var(--texte-2); }
.champ input, .champ textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #B8A59C; background: #FFFFFF; color: var(--texte); font: 400 17px/1.4 var(--police); }
.champ textarea { min-height: 110px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: 3px solid var(--encre); outline-offset: 1px; border-color: var(--encre); }
.champ [aria-invalid="true"] { border-color: #B3261E; }
.champ .erreur { margin-top: 5px; color: #9B1C14; font-size: 14px; font-weight: 700; }
.case { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--clair); cursor: pointer; }
.case input { width: 24px; height: 24px; margin-top: 1px; flex: none; accent-color: var(--encre); }
.case span { font-weight: 700; color: var(--encre); }
.piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .bouton--encre { width: 100%; margin-top: 18px; min-height: 56px; font-size: 18px; }
.rgpd { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--texte-2); }
.rgpd a { color: var(--encre); font-weight: 700; }
.message-form { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.message-form.erreur { background: #FCE4E1; color: #8A1C14; }
.message-form.info { background: var(--clair); color: var(--encre); }

/* ═══ Pied de page et barre fixe ═══ */
.pied { padding: 40px 0 28px; background: var(--nuit); border-top: 1px solid rgba(255, 245, 240, .08); color: var(--texte-sombre-2); font-size: 15px; }
.pied .bloc { display: grid; gap: 18px; }
@media (min-width: 760px) { .pied .bloc { grid-template-columns: 1.2fr 1fr 1fr; } }
.pied img { height: 34px; width: auto; }
.pied ul { list-style: none; display: grid; gap: 2px; }
.pied a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.pied p.petit { grid-column: 1 / -1; font-size: 14px; }
.barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); background: rgba(29, 31, 44, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--trait-nuit); }
.barre .bloc { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; max-width: 640px; }
.barre a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 16px;
  color: var(--texte-sombre); background: var(--verre-2); border: 1px solid var(--verre-bord); }
.barre a.demo { background: var(--peche); color: var(--encre); border-color: var(--peche); }
.barre a .ic { width: 20px; height: 20px; }

/* ═══ Apparitions au défilement (JavaScript ajoute .js à <html> ; sans lui, tout est visible) ═══ */
.js .revele { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--doux), transform .8s var(--doux); transition-delay: var(--delai, 0s); }
.js .revele.vu { opacity: 1; transform: none; }
/* Le titre du haut monte ligne par ligne dès le premier affichage (animation CSS : elle n'attend pas le script, donc
   elle ne retarde pas l'affichage du plus gros élément de la page) */
.haut h1 .ligne > span { animation: monte .8s var(--doux) both; animation-delay: var(--delai, 0s); }
@keyframes monte { from { transform: translateY(105%); } }

/* ═══ Moins d'animations demandé : tout est là, rien ne bouge ═══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ouverture { display: none !important; }
  .js .revele, .haut h1 .ligne > span { opacity: 1 !important; transform: none !important; }
  .ecran [data-t] { opacity: 1 !important; transform: none !important; }
}
