/* hugimun.com — Huginn & Muninn. Univers vert de l'animation « La semaine d'Arthur » et du spot. */
:root {
    --primaire: #4f46e5;
    --primaire-fonce: #4338ca;
    --nuit: #1e1b4b;
    --mauve: #8b5cf6;
    --lavande: #c4b5fd;
    --pale: #eef2ff;
    --fond: #f5f6fa;
    --fond-2: #eef0fb;
    --carte: #ffffff;
    --encre: #0f172a;
    --gris: #475569;
    --trait: #e2e8f0;
    --ambre: #f0a536;
    --rouge: #d2453f;
    --titre: "Lexend", "Segoe UI", system-ui, sans-serif;
    --texte: "Inter", "Segoe UI", system-ui, sans-serif;
    --code: "JetBrains Mono", Consolas, monospace;
    --rayon: 14px;
    --ombre: 0 6px 24px rgba(15, 23, 42, .07);
    --entete: 68px;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 17px/1.6 var(--texte); }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--primaire); }
a:hover { color: var(--primaire-fonce); }
h1, h2, h3, h4 { font-family: var(--titre); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 2px; border-radius: 4px; }
.icone { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 8px; }
.evitement:focus { top: 10px; color: #fff; }

.conteneur { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.etroit { max-width: 820px; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.entete.defile { border-color: var(--trait); box-shadow: 0 2px 14px rgba(15, 23, 42, .06); }
.entete .conteneur { height: var(--entete); display: flex; align-items: center; gap: 24px; }
.marque { display: flex; align-items: center; gap: 10px; font: 700 19px var(--titre); color: var(--encre); text-decoration: none; white-space: nowrap; }
.marque svg { width: 36px; height: 36px; }
.marque span { color: var(--primaire); }
.marque:hover { color: var(--encre); }
.menu { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.menu a { color: var(--encre); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 8px 12px; border-radius: 8px; }
.menu a:hover { background: var(--fond-2); }
.menu a[aria-current="page"] { color: var(--primaire-fonce); box-shadow: inset 0 -2px 0 var(--primaire); border-radius: 0; }
.menu .bouton { margin-left: 8px; color: #fff; }
.menu .bouton:hover { background: var(--primaire-fonce); color: #fff; }
.bouton-menu { display: none; margin-left: auto; background: none; border: 1px solid var(--trait); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--encre); cursor: pointer; }

/* ---------- Boutons ---------- */
.bouton, .bouton-contour { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 12px; font: 600 16px var(--titre); text-decoration: none; cursor: pointer; border: 2px solid var(--primaire); transition: background .15s, color .15s, transform .15s; }
.bouton { background: var(--primaire); color: #fff; }
.bouton:hover { background: var(--primaire-fonce); border-color: var(--primaire-fonce); color: #fff; }
.bouton-contour { background: transparent; color: var(--primaire-fonce); }
.bouton-contour:hover { background: var(--pale); color: var(--primaire-fonce); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-blanche { background: var(--carte); }
.section-menthe { background: var(--fond-2); }
.chapeau { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.chapeau p { color: var(--gris); font-size: 18px; margin: 0; }
.surtitre { display: inline-block; font: 600 13px var(--titre); text-transform: uppercase; letter-spacing: .14em; color: var(--primaire); margin-bottom: 12px; }
.accent { color: var(--primaire); }
.grille { display: grid; gap: 24px; }
.grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Héros (clair, halos violets, captures flottantes) ---------- */
.heros { position: relative; overflow: hidden; color: var(--encre); background: #fbfbff; padding: 80px 0 96px; isolation: isolate; }
.heros::before, .heros::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.heros::before { width: 560px; height: 560px; right: -120px; top: -160px; background: #c4b5fd; }
.heros::after { width: 420px; height: 420px; left: -160px; bottom: -200px; background: #c7d2fe; }
.heros .conteneur { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.heros .surtitre { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--primaire-fonce); border: 1px solid #e0e7ff; box-shadow: 0 4px 14px rgba(79, 70, 229, .08); padding: 7px 14px; border-radius: 99px; letter-spacing: .08em; font-size: 12px; }
.heros .surtitre::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mauve); box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
.heros h1 { color: var(--nuit); font-weight: 800; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -.03em; margin: 18px 0 22px; }
.heros h1 em { font-style: normal; position: relative; white-space: nowrap; background: linear-gradient(100deg, var(--primaire) 10%, var(--mauve) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eclats { position: absolute; right: -44px; top: 4px; width: 38px; height: 38px; color: var(--ambre); fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.heros .accroche { font-size: 19px; color: var(--gris); max-width: 560px; margin-bottom: 32px; }
.heros .devise { margin: 28px 0 0; font-size: 15px; color: var(--gris); }
.heros .devise b { color: var(--nuit); }
.lien-film { display: inline-flex; align-items: center; gap: 12px; color: var(--nuit); font: 600 16px var(--titre); text-decoration: none; min-height: 48px; padding: 0 8px; }
.lien-film span { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--primaire); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(79, 70, 229, .22); transition: transform .2s; }
.lien-film span .icone { width: 18px; height: 18px; fill: currentColor; margin-left: 3px; }
.lien-film:hover { color: var(--primaire); }
.lien-film:hover span { transform: scale(1.08); }
.corbeaux-heros { position: absolute; right: 3%; bottom: 8px; width: 120px; opacity: .5; pointer-events: none; }
.heros-page { padding: 72px 0 64px; }
.heros-page .conteneur { display: block; max-width: 900px; }
.heros-page .accroche { max-width: 720px; }
.heros-page h1 { font-size: clamp(34px, 4.6vw, 56px); }

/* Pile de captures qui flottent */
.pile { position: relative; height: 500px; --px: 0; --py: 0; }
.flotte { position: absolute; margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #e0e7ff; box-shadow: 0 30px 60px -12px rgba(30, 27, 75, .28), 0 12px 24px -8px rgba(79, 70, 229, .18); animation: flotter 7s ease-in-out infinite; will-change: translate; }
.flotte img { width: 100%; height: auto; }
.f1 { width: 74%; left: 0; top: 70px; z-index: 2; transform: rotate(-4deg) translate(calc(var(--px) * -10px), calc(var(--py) * -8px)); }
.f2 { width: 58%; right: 0; top: 0; z-index: 1; transform: rotate(3deg) translate(calc(var(--px) * 16px), calc(var(--py) * 12px)); animation-delay: -2.5s; animation-duration: 8s; }
.f3 { width: 56%; right: 4%; bottom: 0; z-index: 3; transform: rotate(-1.5deg) translate(calc(var(--px) * 22px), calc(var(--py) * 18px)); animation-delay: -4.5s; animation-duration: 9s; }
.puce { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 16px 10px 10px; font: 600 14px var(--titre); color: var(--nuit); box-shadow: 0 16px 36px -8px rgba(30, 27, 75, .3); animation: flotter 6s ease-in-out infinite; white-space: nowrap; }
.puce i { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-style: normal; color: #fff; background: var(--primaire); }
.puce i .icone { width: 18px; height: 18px; }
.puce small { display: block; font: 500 12px var(--texte); color: var(--gris); }
.p1 { left: -18px; bottom: 54px; animation-delay: -1s; }
.p1 i { background: #059669; }
.p2 { right: -10px; top: 40%; animation-delay: -3s; }
.p2 i { background: var(--mauve); }
@keyframes flotter { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* Bandeau qui défile */
.defile { padding: 34px 0; background: #fff; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); overflow: hidden; }
.defile p { text-align: center; font: 600 13px var(--titre); color: var(--primaire); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 18px; }
.defile-fenetre { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.defile-piste { display: flex; gap: 14px; width: max-content; animation: defiler 45s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
.defile-piste span { font: 600 17px var(--titre); color: var(--nuit); padding: 10px 20px; border-radius: 99px; background: var(--fond); border: 1px solid var(--trait); white-space: nowrap; }
@keyframes defiler { to { transform: translateX(-50%); } }

/* Film */
.film-section .film { max-width: 1000px; margin: 0 auto; }
.film { position: relative; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -20px rgba(30, 27, 75, .45); aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film-legende { max-width: 1000px; margin: 16px auto 0; font-size: 14.5px; color: var(--gris); display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ---------- Pensée / mémoire ---------- */
.duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; }
.duo .corbeaux { width: 220px; }
.duo-carte h3 { font-size: 24px; }
.duo-carte p { color: var(--gris); margin: 0; }
.duo-carte .nom { font: 600 14px var(--titre); text-transform: uppercase; letter-spacing: .12em; color: var(--primaire); }
.duo-carte:last-child { text-align: right; }

/* ---------- Cartes ---------- */
.carte { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre); height: 100%; }
.carte h3 { margin-top: 14px; }
.carte p { color: var(--gris); font-size: 15.5px; margin: 0; }
.carte .pastille { width: 48px; height: 48px; border-radius: 12px; background: var(--pale); color: var(--primaire-fonce); display: flex; align-items: center; justify-content: center; }
.irritant { border-top: 4px solid var(--primaire); }
.irritant .reponse { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--trait); color: var(--primaire-fonce); font-weight: 600; display: flex; gap: 8px; }
.irritant .reponse .icone { width: 20px; height: 20px; margin-top: 3px; }
a.carte { display: block; color: inherit; text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
a.carte:hover { transform: translateY(-3px); border-color: var(--lavande); box-shadow: 0 12px 30px rgba(15, 23, 42, .1); color: inherit; }
a.carte .suite { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--primaire); font-weight: 600; font-size: 15px; }
a.carte .suite .icone { width: 18px; height: 18px; }

/* ---------- Étapes ---------- */
.etapes { counter-reset: etape; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.etape { position: relative; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px 28px 28px; }
.etape::before { counter-increment: etape; content: counter(etape); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primaire); color: #fff; font: 700 18px var(--titre); margin-bottom: 16px; }
.etape p { color: var(--gris); margin: 0; font-size: 15.5px; }
.etape-ia { display: inline-block; margin-top: 12px; font: 600 12.5px var(--titre); text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 99px; background: var(--pale); color: var(--primaire-fonce); }
.etape-ia.sans { background: #fff4e0; color: #8a5300; }

/* ---------- Captures ---------- */
.capture { margin: 0; }
.capture .cadre { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--trait); box-shadow: 0 14px 40px rgba(15, 23, 42, .12); background: #fff; }
.capture .cadre img { width: 100%; height: auto; }
.capture figcaption { margin-top: 12px; font-size: 14.5px; color: var(--gris); }
.capture figcaption b { color: var(--encre); }

/* ---------- Fonctionnalités (pages détaillées) ---------- */
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sommaire a { color: var(--primaire-fonce); background: #fff; text-decoration: none; font-size: 14.5px; padding: 8px 16px; border: 1px solid #e0e7ff; border-radius: 99px; }
.sommaire a:hover { background: var(--primaire); border-color: var(--primaire); color: #fff; }
.usage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.usage.inverse > :first-child { order: 2; }
.usage .numero { font: 700 14px var(--titre); color: var(--primaire); letter-spacing: .1em; text-transform: uppercase; }
.usage h2 { margin-top: 8px; }
.usage .intro { color: var(--gris); font-size: 18px; }
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 12px; }
.points li .icone { color: var(--primaire); margin-top: 2px; width: 22px; height: 22px; }
.points b { display: block; font-family: var(--titre); font-weight: 600; }
.points span { color: var(--gris); font-size: 15.5px; }
.paire { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panneau { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre); }
.panneau h3 { display: flex; align-items: center; gap: 10px; }
.panneau h3 .icone { color: var(--primaire); }
.panneau p { color: var(--gris); margin: 0; font-size: 15.5px; }
.panneau + .panneau { margin-top: 16px; }
.code { background: #1e1b4b; color: #d8e6ff; border-radius: 12px; padding: 22px 24px; font: 14px/1.6 var(--code); overflow-x: auto; margin: 0; box-shadow: 0 14px 40px rgba(15, 23, 42, .18); }
.code .c1 { color: #a5f3c4; }
.code .c2 { color: #f0c27b; }
.code .c3 { color: #7f93b0; }
.niveaux { display: grid; gap: 12px; }
.niveau { display: flex; gap: 16px; align-items: flex-start; background: var(--carte); border: 1px solid var(--trait); border-radius: 12px; padding: 18px 20px; }
.niveau strong { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--primaire); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--titre); }
.niveau p { margin: 0; color: var(--gris); font-size: 15.5px; }
.niveau b { color: var(--encre); display: block; font-family: var(--titre); font-weight: 600; }

/* ---------- Arthur ---------- */
.arthur { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: linear-gradient(135deg, #fff 0%, var(--pale) 100%); border: 1px solid var(--trait); border-radius: 22px; padding: 44px; box-shadow: var(--ombre); }
.arthur .vignette { display: block; border-radius: 14px; overflow: hidden; position: relative; box-shadow: 0 16px 40px rgba(15, 23, 42, .18); }
.arthur .vignette img { width: 100%; height: auto; }
.arthur .vignette::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(17, 13, 51, .6)); }
.arthur .lecture { position: absolute; left: 20px; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 10px; color: #fff; font: 600 16px var(--titre); }
.arthur .lecture span { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--primaire-fonce); display: flex; align-items: center; justify-content: center; }
.arthur .lecture .icone { width: 20px; height: 20px; fill: currentColor; margin-left: 3px; }
.semaine-jours { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; padding: 0; list-style: none; }
.semaine-jours li { font-size: 14px; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--trait); color: var(--gris); }

/* ---------- Confiance ---------- */
.confiance .carte { display: flex; gap: 16px; align-items: flex-start; }
.confiance .carte h3 { margin: 0 0 4px; font-size: 17px; }
.confiance .pastille { flex: none; }

/* ---------- FAQ ---------- */
.faq details { background: var(--carte); border: 1px solid var(--trait); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font: 600 17px var(--titre); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 15px; font-size: 26px; font-weight: 400; color: var(--primaire); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--gris); }

/* ---------- Appel à l'action ---------- */
.appel { background: linear-gradient(135deg, var(--nuit), #5b21b6); color: #fff; border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.appel h2 { color: #fff; margin-bottom: 8px; }
.appel p { color: #e0e7ff; margin: 0; font-size: 18px; }
.appel .bouton { background: #fff; color: var(--primaire-fonce); border-color: #fff; }
.appel .bouton:hover { background: var(--pale); border-color: var(--pale); }
.appel .corbeaux { position: absolute; right: 24px; top: 10px; width: 120px; opacity: .12; }

/* ---------- Formulaire ---------- */
.demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.formulaire { background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; padding: 36px; box-shadow: var(--ombre); }
.formulaire h2 { font-size: 26px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ.large { grid-column: 1 / -1; }
.champ label { font-weight: 600; font-size: 14.5px; }
.champ input, .champ select, .champ textarea { font: inherit; font-size: 16px; color: var(--encre); background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px 14px; min-height: 48px; width: 100%; }
.champ textarea { resize: vertical; min-height: 96px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--primaire); box-shadow: 0 0 0 3px rgba(79, 70, 229, .22); }
.formulaire .bouton { width: 100%; margin-top: 8px; }
.note { font-size: 13.5px; color: var(--gris); margin: 14px 0 0; }
.message-envoi { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.message-envoi.ok { background: var(--pale); color: var(--primaire-fonce); }
.message-envoi.ko { background: #fde7e5; color: #8f2420; }
.liste-coche { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.liste-coche li { display: flex; gap: 12px; }
.liste-coche .icone { color: var(--primaire); margin-top: 2px; }
.contact-direct { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--trait); color: var(--gris); font-size: 15.5px; }
.contact-direct p { margin: 0 0 6px; }

/* ---------- Pages de texte ---------- */
.texte h2 { font-size: 24px; margin-top: 40px; }
.texte h2:first-child { margin-top: 0; }
.texte p, .texte li { color: #334155; }
.texte ul { padding-left: 22px; }

/* ---------- Pied de page ---------- */
.pied { background: #110d33; color: #c7d2fe; padding: 64px 0 28px; font-size: 15px; }
.pied a { color: #eef2ff; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied .conteneur > .grille { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.pied .marque { color: #fff; margin-bottom: 14px; }
.pied .marque span { color: var(--lavande); }
.pied h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied-bas { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.pied-bas ul { display: flex; flex-wrap: wrap; gap: 18px; }
.pied button { background: none; border: 0; padding: 0; color: #eef2ff; font: inherit; cursor: pointer; }
.pied button:hover { text-decoration: underline; }

/* ---------- Cookies ---------- */
.consentement { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 520px; margin-left: auto; background: #fff; border-radius: 14px; padding: 20px 22px; box-shadow: 0 12px 44px rgba(0, 0, 0, .22); }
.consentement h2 { font-size: 16px; margin-bottom: 6px; }
.consentement p { font-size: 14px; color: var(--gris); margin-bottom: 14px; }
.consentement .boutons button { flex: 1; min-height: 42px; padding: 8px 14px; font-size: 14.5px; }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1020px) {
    .heros .conteneur, .usage, .demo, .arthur { grid-template-columns: 1fr; gap: 40px; }
    .usage.inverse > :first-child { order: 0; }
    .grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grille-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pied .conteneur > .grille { grid-template-columns: 1fr 1fr; }
    .pied .conteneur > .grille > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .bouton-menu { display: inline-flex; }
    .menu { display: none; position: absolute; top: var(--entete); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--trait); padding: 8px 16px 18px; box-shadow: 0 14px 30px rgba(15, 23, 42, .1); }
    .menu.ouvert { display: flex; }
    .menu a { padding: 14px 8px; border-bottom: 1px solid var(--fond-2); border-radius: 0; }
    .menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--primaire); padding-left: 14px; }
    .menu .bouton { margin: 14px 0 0; border-radius: 12px; border-bottom: 0; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 640px) {
    body { font-size: 16px; }
    .conteneur { padding: 0 16px; }
    .section { padding: 60px 0; }
    .heros .accroche { font-size: 17px; }
    .heros .boutons > .bouton { flex: 1 1 100%; }
    .grille-2, .grille-3, .grille-4, .etapes, .champs, .paire { grid-template-columns: 1fr; }
    .duo { grid-template-columns: 1fr; text-align: center; gap: 20px; }
    .duo .corbeaux { width: 160px; margin: 0 auto; order: -1; }
    .duo-carte:last-child { text-align: center; }
    .arthur { padding: 22px; border-radius: 18px; }
    .appel { grid-template-columns: 1fr; padding: 32px 22px; }
    .appel .bouton { width: 100%; }
    .formulaire { padding: 22px; }
    .carte, .panneau { padding: 22px; }
    .chapeau { margin-bottom: 32px; }
    .pied .conteneur > .grille { grid-template-columns: 1fr; }
    .marque { font-size: 17px; }
    .marque svg { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
.pied-bas p { margin: 0; }
.capture-centree { max-width: 920px; margin: 48px auto 0; }
@media (max-width: 640px) {
    .arthur .lecture { font-size: 14px; left: 14px; bottom: 12px; }
    .arthur .lecture span { width: 38px; height: 38px; }
    .code { font-size: 12.5px; padding: 18px; }
}
.formule .liste-coche { margin-bottom: 0; } .formule > p { margin-bottom: 0; }

/* ---------- Effets : apparition au défilement, captures en relief, cartes ---------- */
html.js .revele { opacity: 0; translate: 0 32px; transition: opacity .8s cubic-bezier(.2, .7, .2, 1), translate .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--rang, 0) * 90ms); }
html.js .revele.visible { opacity: 1; translate: 0 0; }
.usage .capture .cadre, .capture-centree .cadre { transform: perspective(1400px) rotateY(var(--ry, -5deg)) rotateX(2deg) translateY(var(--decal, 0px)); transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .6s; box-shadow: 0 34px 70px -18px rgba(30, 27, 75, .35); }
.usage.inverse .capture .cadre { --ry: 5deg; }
.capture-centree .cadre { --ry: 0deg; }
.usage .capture:hover .cadre, .capture-centree:hover .cadre { transform: perspective(1400px) rotateY(0) rotateX(0) translateY(calc(var(--decal, 0px) - 6px)); box-shadow: 0 44px 90px -20px rgba(30, 27, 75, .42); }
.carte, .panneau, .etape, .formulaire, .faq details { border-radius: 20px; }
a.carte { position: relative; }
.fleche-ronde { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--trait); display: flex; align-items: center; justify-content: center; color: var(--nuit); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.fleche-ronde .icone { width: 18px; height: 18px; }
a.carte:hover .fleche-ronde { background: var(--primaire); border-color: var(--primaire); color: #fff; transform: rotate(45deg); }
.bouton, .bouton-contour { border-radius: 999px; }
.bouton { box-shadow: 0 10px 24px -8px rgba(79, 70, 229, .55); }
.bouton:hover { transform: translateY(-2px); }
.chapeau h2, .usage h2, .arthur h2, .appel h2 { font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 1020px) {
    .pile { height: 420px; max-width: 620px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
    .heros { padding: 40px 0 64px; }
    .pile { height: 300px; }
    .puce { font-size: 12.5px; padding: 8px 12px 8px 8px; }
    .puce i { width: 26px; height: 26px; }
    .p1 { left: 0; bottom: 18px; }
    .p2 { right: 0; top: 34%; }
    .eclats { right: -32px; top: 6px; width: 28px; height: 28px; }
    .defile-piste span { font-size: 15px; padding: 8px 16px; }
    .usage .capture .cadre { transform: none; }
    .fleche-ronde { top: 18px; right: 18px; width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    .flotte, .puce, .defile-piste { animation: none; }
    html.js .revele { opacity: 1; translate: none; transition: none; }
    .pile { --px: 0 !important; --py: 0 !important; }
}

/* ---------- La semaine d'Arthur : lecteur dans la page ---------- */
.heros-arthur { padding-bottom: 120px; }
.section-lecteur { margin-top: -84px; position: relative; z-index: 2; padding-bottom: 24px; }
.lecteur { border-radius: 24px; overflow: hidden; background: #f5f6fa; border: 1px solid #e0e7ff; box-shadow: 0 40px 80px -20px rgba(30, 27, 75, .35); aspect-ratio: 16 / 10; max-height: calc(100vh - 120px); margin: 0 auto; }
.lecteur iframe { display: block; width: 100%; height: 100%; border: 0; }
.lecteur-aide { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 14.5px; color: var(--gris); text-align: center; }
.lecteur-aide .icone { width: 16px; height: 16px; color: var(--primaire); }
@media (max-width: 760px) {
    .lecteur { aspect-ratio: auto; height: 82svh; max-height: none; border-radius: 18px; }
    .heros-arthur { padding-bottom: 100px; }
}
