/* Site vitrine — charte algoralp (mêmes couleurs que l'appli : sable, sapin, pêche, orange). Mobile d'abord. */
:root {
    --sapin: #293f31; --sapin-2: #1f2f25; --sand: #f5ecdf; --paper: #fff9ef; --cream: #fbefd9;
    --peche: #f29b65; --orange: #e86f2d; --orange-fonce: #c95a1f; --ink: #241a12;
    --muted: rgba(36, 26, 18, .66); --line: rgba(36, 26, 18, .12); --rouge: #b23a2a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 16px/1.55 Inter, system-ui, -apple-system, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--orange-fonce); }
.icon { width: 20px; height: 20px; flex: none; }
.s-wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.s-narrow { max-width: 720px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: 26px; font-weight: 800; }
.s-sub { color: var(--muted); margin: -.2em 0 1.4em; }
.s-sub span { display: block; font-size: 13px; margin-top: .3em; }

/* En-tête */
.s-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top)); background: var(--sapin-2); box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.s-brand { display: flex; align-items: center; gap: 9px; color: #fff9ef; text-decoration: none; }
.s-brand img:first-child { border-radius: 9px; }
.s-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.s-brand strong { font-size: 15px; font-weight: 800; }
.s-brand small { display: flex; align-items: center; gap: 4px; font-size: 10px; opacity: .75; margin-top: 3px; }
.s-login { color: #fff9ef; text-decoration: none; font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.s-login:hover { background: rgba(255, 255, 255, .18); }

/* Boutons */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
    background: var(--orange); color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.s-btn:hover { background: var(--orange-fonce); }
.s-btn-ghost { background: transparent; color: #fff9ef; box-shadow: inset 0 0 0 2px rgba(255, 249, 239, .35); }
.s-btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* Accroche */
.s-hero { background: var(--sapin-2); color: #fff9ef; padding: 36px 0 0; overflow: hidden; }
.s-hero-in { display: grid; gap: 28px; }
.s-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--peche); }
.s-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: -.01em; }
.s-hero h1 span { color: var(--peche); }
.s-lead { font-size: 17px; color: rgba(255, 249, 239, .82); margin: 0 0 24px; }
.s-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.s-phone { margin: 0; }
.s-phone img { display: block; border-radius: 26px; border: 6px solid #0f1a13; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.s-phone-hero { justify-self: center; width: min(300px, 82vw); margin-bottom: -60px; }

/* Histoire */
.s-story { padding: 96px 0 44px; }
.s-story p { font-size: 17px; }
.s-sign { color: var(--muted); font-size: 15px !important; font-style: italic; }

/* Fonctions */
.s-features { padding: 20px 0 44px; }
.s-grid { display: grid; gap: 12px; }
.s-feat { background: var(--paper); border-radius: 14px; padding: 18px; box-shadow: 0 1px 2px rgba(36, 26, 18, .05), 0 4px 14px rgba(36, 26, 18, .06); }
.s-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sapin-2); color: var(--peche); margin-bottom: 10px; }
.s-feat h3 { font-size: 17px; font-weight: 800; margin-bottom: .35em; }
.s-feat p { margin: 0; color: var(--muted); font-size: 15px; }

/* Captures */
.s-shots { padding: 20px 0 44px; }
.s-phones { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.s-phones .s-phone { flex: 0 0 min(240px, 70vw); scroll-snap-align: center; }
.s-phones figcaption { text-align: center; font-weight: 700; font-size: 14px; margin-top: 10px; }

/* Honnêteté */
.s-honest { padding: 20px 0 44px; }
.s-honest ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.s-honest li { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border-radius: 14px; padding: 14px 16px; }
.s-honest li .icon { color: var(--orange); margin-top: 2px; }

/* Formulaire */
.s-form { padding: 36px 0 56px; background: var(--cream); }
.s-f { display: grid; gap: 14px; background: var(--paper); border-radius: 14px; padding: 18px; box-shadow: 0 4px 14px rgba(36, 26, 18, .06); }
.s-f label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.s-f label small { font-weight: 500; color: var(--muted); }
.s-f input[type=text], .s-f input[type=email], .s-f select, .s-f textarea {
    width: 100%; font: inherit; font-size: 16px; font-weight: 500; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.s-f input:focus, .s-f select:focus, .s-f textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.s-check { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-weight: 500 !important; font-size: 14px !important; color: var(--muted); }
.s-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--orange); flex: none; }
.f-err { display: block; color: var(--rouge); font-size: 13px; font-weight: 700; }
.s-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.s-thanks { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border-radius: 14px; padding: 18px; border-left: 5px solid #4fae66; }
.s-thanks .icon { width: 28px; height: 28px; color: #3f7d4e; }
.s-thanks p { margin: .2em 0 0; color: var(--muted); }

/* Pied */
.s-foot { background: var(--sapin-2); color: rgba(255, 249, 239, .7); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 13px; text-align: center; }
.s-foot p { margin: 0 0 10px; }
.s-foot a { color: #fff9ef; }

/* Mentions */
.s-legal { padding-top: 28px; padding-bottom: 56px; }
.s-legal h1 { font-size: 26px; font-weight: 800; }
.s-legal h2 { font-size: 18px; margin-top: 1.6em; }
.s-legal li { margin-bottom: .4em; }

/* Ordinateur */
@media (min-width: 760px) {
    .s-hero { padding-top: 64px; }
    .s-hero-in { grid-template-columns: 1.15fr .85fr; align-items: center; }
    .s-hero h1 { font-size: 52px; }
    .s-phone-hero { width: 320px; margin-bottom: -90px; }
    .s-story { padding-top: 120px; }
    .s-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .s-phones { justify-content: center; overflow: visible; margin: 0; }
    .s-phones .s-phone { flex-basis: 260px; }
    h2 { font-size: 32px; }
}

/* Sélecteur de langue */
.s-langs { display: flex; gap: 2px; margin-left: auto; }
.s-langs a { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 4px; border-radius: 8px; color: rgba(255, 249, 239, .65); font-size: 12px; font-weight: 800; text-decoration: none; }
.s-langs a:hover { color: #fff9ef; background: rgba(255, 255, 255, .08); }
.s-langs a[aria-current="true"] { color: var(--sapin-2); background: var(--peche); }
@media (max-width: 420px) { .s-brand small { display: none; } .s-login { padding: 8px 10px; font-size: 13px; } .s-langs a { min-width: 26px; } }

/* Double porte : essayer l'appli / projet sur mesure (algoralp) */
.s-pro { background: var(--sapin); color: #fff9ef; padding: 40px 0; }
.s-pro p { color: rgba(255, 249, 239, .85); font-size: 17px; }
.s-pro .s-kicker { color: var(--peche); }
.s-type { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.s-type legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.s-type label { position: relative; display: block; }
.s-type input { position: absolute; opacity: 0; }
.s-type span { display: grid; gap: 2px; height: 100%; padding: 12px; border-radius: 12px; border: 2px solid var(--line); background: #fff; cursor: pointer; }
.s-type span .icon { color: var(--orange); }
.s-type strong { font-size: 15px; }
.s-type small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.s-type input:checked + span { border-color: var(--orange); background: #fff4ec; }
.s-type input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.s-login { white-space: nowrap; }
.s-langs-foot { justify-content: center; flex-wrap: wrap; margin: 0 0 14px; }
.s-langs-foot a { padding: 0 10px; min-height: 36px; }
@media (max-width: 520px) { .s-top .s-langs { display: none; } }

/* ===================== Histoire animée (private/site/phone.php) =====================
   UN seul écran qui évolue, cycle de 20 s, 5 chapitres de 4 s : 0–20 % lundi · 20–40 % routine · 40–60 % trail ? ·
   60–80 % rouge · 80–100 % dimanche ✓. Tous les pourcentages ci-dessous sont sur ce cycle unique. */
.s-phone-live { justify-self: center; width: min(320px, 86vw); margin: 0; }
.ph { position: relative; border-radius: 34px; border: 8px solid #0f1a13; background: var(--sand); overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .35); } /* immobile : le flottement donnait une impression de tremblement */
.ph-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: var(--sapin-2); color: #fff9ef; font-size: 13px; }
.ph-bar img { border-radius: 6px; }
.ph-story .ph-screen { position: relative; height: auto; padding: 12px; }

/* Jauge compacte */
.st-gauge { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--sapin-2); color: #fff9ef;
    animation: st-hot 20s infinite both; }
@keyframes st-hot { 0%, 60% { box-shadow: none; } 62%, 79% { box-shadow: 0 0 0 3px #f08a4b, 0 0 24px rgba(240, 138, 75, .55); } 81%, 100% { box-shadow: none; } }
.st-arc { width: 100%; display: block; }
.st-needle { transform-box: view-box; transform-origin: 60px 58px; animation: st-needle 20s infinite both cubic-bezier(.3, 1.35, .5, 1); }
@keyframes st-needle { 0% { transform: rotate(-60deg); } 3%, 19% { transform: rotate(4.5deg); } 23%, 59% { transform: rotate(16.2deg); }
    63%, 79% { transform: rotate(37.8deg); } 83%, 96% { transform: rotate(21.6deg); } 100% { transform: rotate(-60deg); } }
.st-read { position: relative; min-height: 78px; }
.st-vals, .st-lbl, .st-chip { position: relative; }
.st-vals { height: 34px; }
.st-vals b { position: absolute; left: 0; font-size: 32px; font-weight: 800; line-height: 1; color: var(--peche); }
.st-vals b.hot { color: #ff8a5c; }
.st-lbl { height: 16px; font-size: 11.5px; opacity: .75; }
.st-lbl span { position: absolute; left: 0; white-space: nowrap; }
.st-chip { height: 26px; margin-top: 6px; }
.st-chip span { position: absolute; left: 0; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.st-chip .ok { background: #4fae66; } .st-chip .over { background: #f08a4b; }
.w1 { animation: st-w1 20s infinite both; } .w2 { animation: st-w2 20s infinite both; } .w3 { animation: st-w3 20s infinite both; } .w4 { animation: st-w4 20s infinite both; }
.w-peak { animation: st-peak 20s infinite both; } .c-ok { animation: st-cok 20s infinite both; }
@keyframes st-w1 { 0%, 19% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes st-w2 { 0%, 20% { opacity: 0; } 22%, 59% { opacity: 1; } 61%, 100% { opacity: 0; } }
@keyframes st-w3 { 0%, 60% { opacity: 0; } 62%, 79% { opacity: 1; } 81%, 100% { opacity: 0; } }
@keyframes st-w4 { 0%, 80% { opacity: 0; } 82%, 98% { opacity: 1; } 100% { opacity: 0; } }
@keyframes st-peak { 0%, 20% { opacity: 0; } 22%, 98% { opacity: 1; } 100% { opacity: 0; } }
@keyframes st-cok { 0%, 60% { opacity: 1; } 62%, 79% { opacity: 0; } 81%, 100% { opacity: 1; } }

/* Semaine (7 lignes de 28 px, pas de 31 px) */
.st-week { position: relative; list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 3px; }
.st-week li { position: relative; display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 8px; background: var(--paper); font-size: 12px; }
@keyframes st-sat { 0%, 60% { background: var(--paper); } 62%, 79% { background: #fbe3d6; } 81%, 100% { background: var(--paper); } }
.st-day { width: 30px; flex: none; font-weight: 800; color: var(--muted); }
.st-slot { flex: 1; min-width: 0; }
.st-chip-s { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font-style: normal; font-weight: 700; font-size: 11.5px; white-space: nowrap;
    background: repeating-linear-gradient(135deg, rgba(36, 26, 18, .08) 0 2px, transparent 2px 6px), #fff; box-shadow: inset 0 0 0 1.5px rgba(41, 63, 49, .45); color: var(--sapin-2); }
.st-chip-s .icon { width: 13px; height: 13px; color: var(--sapin); }
.st-chip-s small { font-weight: 800; color: var(--orange-fonce); }
.ch-1 { animation: st-in1 20s infinite both; } .ch-3 { animation: st-in3 20s infinite both; } .ch-4 { animation: st-in4 20s infinite both; }
@keyframes st-in1 { 0%, 20% { opacity: 0; transform: translateX(14px); } 22.5%, 97% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes st-in3 { 0%, 23% { opacity: 0; transform: translateX(14px); } 25.5%, 97% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes st-in4 { 0%, 26% { opacity: 0; transform: translateX(14px); } 28.5%, 97% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
.st-badge { margin-left: auto; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; color: #fff; }
.b-thu { background: #4fae66; animation: st-bthu 20s infinite both; }
.b-sat { background: #c4501f; animation: st-w3 20s infinite both; }
.b-sun { background: #3f7d4e; animation: st-bsun 20s infinite both; }
@keyframes st-bthu { 0%, 28% { opacity: 0; } 30%, 97% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes st-bsun { 0%, 83% { opacity: 0; } 85%, 97% { opacity: 1; } 99%, 100% { opacity: 0; } }

/* La séance en plus : arrive samedi (pointillés, « ? »), passe au rouge, glisse sur dimanche et repasse au vert */
.st-week li.st-trail { position: absolute; left: 46px; right: 64px; top: calc(5 * 31px); height: 28px; padding: 0; background: transparent; animation: st-move 20s infinite both cubic-bezier(.4, 0, .2, 1); }
.st-trail .st-chip-s { animation: st-trail 20s infinite both; }
@keyframes st-move { 0%, 80% { transform: none; } 84%, 100% { transform: translateY(31px); } }
@keyframes st-trail {
    0%, 40% { opacity: 0; transform: scale(.7); background: #fff; color: var(--sapin-2); box-shadow: inset 0 0 0 1.5px var(--orange); }
    43%, 59% { opacity: 1; transform: none; background: #fff; color: var(--sapin-2); box-shadow: inset 0 0 0 2px var(--orange); }
    61%, 79% { opacity: 1; background: #c4501f; color: #fff; box-shadow: none; }
    83%, 97% { opacity: 1; background: #3f7d4e; color: #fff; box-shadow: none; }
    99%, 100% { opacity: 0; } }
.st-trail .st-chip-s { background-image: none; }
.st-trail .st-chip-s .icon, .st-trail .st-chip-s small { color: inherit; }
.st-q { display: grid; place-items: center; width: 16px; height: 16px; margin-left: 2px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 11px; animation: st-q 20s infinite both; }
@keyframes st-q { 0%, 43% { opacity: 0; transform: scale(.5); } 45%, 47%, 51%, 55% { opacity: 1; transform: scale(1.25); } 46%, 49%, 53%, 57%, 59% { opacity: 1; transform: none; } 60.5%, 100% { opacity: 0; } }

/* Le récit sous le téléphone : une phrase par chapitre + 5 points */
.st-story { margin-top: 18px; text-align: center; }
.st-lines { position: relative; height: 52px; }
.st-line { position: absolute; left: 0; right: 0; margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; color: #fff9ef; opacity: 0; animation: st-win 20s infinite both; }
.st-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.st-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 249, 239, .25); animation: st-dot 20s infinite both; }
.l1 { animation-delay: 0s !important; } .l2 { animation-delay: 4s !important; } .l3 { animation-delay: 8s !important; } .l4 { animation-delay: 12s !important; } .l5 { animation-delay: 16s !important; }
@keyframes st-win { 0% { opacity: 0; transform: translateY(8px); } 2% { opacity: 1; transform: none; } 18.5% { opacity: 1; transform: none; } 20%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes st-dot { 0% { width: 7px; background: rgba(255, 249, 239, .25); } 1.5%, 18.5% { width: 22px; background: var(--peche); } 20%, 100% { width: 7px; background: rgba(255, 249, 239, .25); } }

/* Moins d'animations : on montre directement la fin de l'histoire (dimanche, ça passe) */
@media (prefers-reduced-motion: reduce) {
    .ph, .ph *, .st-story * { animation: none !important; }
    .w1, .w2, .w3, .st-line, .b-sat { opacity: 0; }
    .w4, .w-peak, .c-ok, .b-thu, .b-sun, .st-line.l5 { opacity: 1; }
    .st-needle { transform: rotate(21.6deg); }
    .st-week li.st-trail { transform: translateY(31px); }
    .st-trail .st-chip-s { background: #3f7d4e; color: #fff; box-shadow: none; }
    .st-q { display: none; }
    .st-dots i.l5 { width: 22px; background: var(--peche); }
}
@media (min-width: 760px) { .s-phone-live { width: 330px; } }

/* Histoire courte en encadré */
.s-story-box { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border-radius: 14px; padding: 18px; border-left: 5px solid var(--orange); box-shadow: 0 4px 14px rgba(36, 26, 18, .06); }
.s-story-box .icon { width: 26px; height: 26px; color: var(--orange); margin-top: 3px; }
.s-story-box h2 { font-size: 20px; margin-bottom: .3em; }
.s-story-box p { margin: 0 0 .4em; }

/* ===================== Fonctions : apparition au défilement (public/site/site.js) ===================== */
.js-reveal .s-feat { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js-reveal .s-feat.is-in { opacity: 1; transform: none; }
.s-feat.is-in .s-ic svg { animation: ic-pop .7s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i, 0) * 90ms + .25s); }
@keyframes ic-pop { 0% { transform: scale(.4) rotate(-20deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.s-feat .s-ic { transition: transform .2s; }
.s-feat:hover .s-ic { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .js-reveal .s-feat { opacity: 1; transform: none; transition: none; } .s-feat.is-in .s-ic svg { animation: none; } }

.s-story { padding: 20px 0 24px; }

/* Téléphone animé : entièrement visible dans le bandeau */
.s-hero { padding-bottom: 40px; }
.s-hero + .s-features { padding-top: 44px; }
@media (min-width: 760px) { .s-hero { padding-bottom: 56px; } }

/* ===================== Vitrine v3 : peu de texte, gros titres, visuel ===================== */
.s-big { font-size: 30px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.s-hero + .s-vs { padding-top: 56px; }

/* Flow mesure / l'appli anticipe */
.s-vs { padding: 56px 0 40px; }
.vs-grid { display: grid; gap: 12px; align-items: stretch; }
.vs-card { position: relative; border-radius: 18px; padding: 22px 20px 20px; }
.vs-flow { background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.vs-app { background: var(--sapin-2); color: #fff9ef; box-shadow: 0 18px 40px rgba(31, 47, 37, .28); }
.vs-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--sand); color: var(--muted); }
.vs-app .vs-tag { background: var(--peche); color: var(--sapin-2); }
.vs-name { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 800; margin: 12px 0 14px; color: var(--ink); }
.vs-app .vs-name { color: #fff9ef; }
.vs-name img { border-radius: 7px; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 17px; font-weight: 600; }
.vs-card li { display: flex; align-items: center; gap: 10px; }
.vs-flow li .icon { color: #9aa59c; }
.vs-app li .icon { color: var(--peche); }
.vs-plus { justify-self: center; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 28px; font-weight: 800; margin: -24px 0; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--sand); }
.vs-note { text-align: center; color: var(--muted); font-size: 14px; margin: 16px 0 0; }

/* 5 choses en plus */
.s-plus { padding: 40px 0; }
.plus-grid { display: grid; gap: 12px; }
.plus-i { position: relative; overflow: hidden; background: var(--paper); border-radius: 18px; padding: 20px; box-shadow: 0 1px 2px rgba(36, 26, 18, .05), 0 4px 14px rgba(36, 26, 18, .06); }
.plus-i:nth-child(odd) { background: var(--sapin-2); color: #fff9ef; }
.plus-i:nth-child(odd) p { color: rgba(255, 249, 239, .75); }
.plus-i:nth-child(odd) .s-ic { background: rgba(255, 255, 255, .08); }
.plus-n { position: absolute; top: 14px; right: 18px; font-size: 13px; font-weight: 800; opacity: .45; }
.plus-big { display: block; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--orange); margin: 6px 0 10px; }
.plus-i:nth-child(odd) .plus-big { color: var(--peche); }
.plus-i h3 { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.plus-i p { margin: 0; font-size: 15px; color: var(--muted); }

/* Le but */
.s-goal { background: var(--orange); color: #fff; padding: 56px 0; text-align: center; }
.s-goal .s-kicker { color: rgba(255, 255, 255, .85); }
.goal-big { font-size: clamp(56px, 16vw, 128px); font-weight: 800; line-height: .95; letter-spacing: -.03em; margin: 0 0 14px; }
.goal-t { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.goal-d { margin: 0; opacity: .9; }

/* Comment : 3 étapes */
.s-how { padding: 48px 0 32px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
.how-steps li { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: var(--paper); border-radius: 18px; padding: 18px 18px 18px 22px; }
.how-steps .s-ic { grid-row: 1 / 3; margin: 0; }
.how-steps strong { font-size: 18px; font-weight: 800; }
.how-steps small { color: var(--muted); font-size: 14px; }
.how-n { position: absolute; top: -10px; left: -6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 0 0 4px var(--sand); }

/* Confiance */
.trust { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 700; }
.trust .icon { width: 17px; height: 17px; color: var(--orange); }

@media (min-width: 760px) {
    .s-big { font-size: 44px; }
    .vs-grid { grid-template-columns: 1fr auto 1.15fr; align-items: center; }
    .vs-plus { margin: 0 -18px; }
    .vs-app { transform: scale(1.03); }
    .plus-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
    .plus-i { grid-column: span 2; padding: 26px; }
    .plus-4, .plus-5 { grid-column: span 3; }
    .plus-big { font-size: 56px; }
    .how-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .how-steps li { grid-template-columns: 1fr; text-align: left; padding: 26px; row-gap: 6px; }
    .how-steps .s-ic { grid-row: auto; margin-bottom: 8px; }
}

/* ===================== Mobile : le héro remplit l'écran (fond vert plein écran) =====================
   Texte en haut, animation en bas, aussi grande que la hauteur le permet (« zoom » du téléphone selon la hauteur
   d'écran ; le récit sous le téléphone garde sa taille). Petits écrans : on retire d'abord le 2e bouton, puis le sous-titre. */
@media (max-width: 759px) {
    .s-hero { min-height: calc(100svh - 56px); display: flex; padding: 22px 0 18px; }
    .s-hero > .s-wrap { flex: 1; }
    .s-hero-in { height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
    .s-hero .s-kicker { font-size: 12px; margin-bottom: 8px; }
    .s-hero h1 { font-size: 30px; margin-bottom: 10px; }
    .s-hero .s-lead { font-size: 16px; margin-bottom: 14px; }
    .s-hero .s-btn-ghost { display: none; }
    .s-phone-live { width: 100%; display: flex; flex-direction: column; align-items: center; }
    .s-phone-live .ph { width: 320px; zoom: .9; }
    .st-story { margin-top: 10px; width: 100%; max-width: 360px; }
    .st-lines { height: 44px; }
    .st-line { font-size: 15px; }
    .st-dots { margin-top: 2px; }
}
@media (max-width: 759px) and (max-height: 839px) { .s-phone-live .ph { zoom: .8; } }
@media (max-width: 759px) and (max-height: 739px) { .s-phone-live .ph { zoom: .7; } .s-hero h1 { font-size: 28px; } }
@media (max-width: 759px) and (max-height: 659px) { .s-phone-live .ph { zoom: .68; } .s-hero .s-lead { display: none; } .s-hero h1 { margin-bottom: 14px; } }
@media (max-width: 759px) and (max-height: 579px) { .s-phone-live .ph { zoom: .6; } .s-hero .s-kicker { display: none; } .s-hero { padding-top: 14px; } }

/* ===================== Cartes animées « 5 choses en plus » (private/site/plus.php) =====================
   Cycle de 6 s ; en pause tant que la carte n'est pas apparue (.is-in, site.js) ; sans JS : animation directe.
   Cartes impaires (1, 3, 5) = fond sapin, paires (2, 4) = fond papier. */
.plus-viz { height: 74px; margin: 2px 0 10px; display: flex; align-items: center; }
.pv { width: 100%; }
.plus-viz * { animation-play-state: paused; }
.is-in .plus-viz *, html:not(.js-reveal) .plus-viz * { animation-play-state: running; }

/* 1. J+7 : sortie de la zone rouge */
.pv-1 { height: 74px; overflow: visible; }
.pv1-zone { fill: rgba(240, 138, 75, .16); }
.pv1-limit { stroke: #f08a4b; stroke-width: 1.5; stroke-dasharray: 3 4; }
.pv1-past { fill: none; stroke: #fff9ef; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pv1-proj { fill: none; stroke: #ffb27f; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 7 5; clip-path: inset(0 100% 0 0); animation: pv1-draw 6s infinite both; }
@keyframes pv1-draw { 0%, 8% { clip-path: inset(0 100% 0 0); } 45%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
.pv1-dot { transform-box: fill-box; transform-origin: center; animation: pv1-pop 6s infinite both; }
.pv1-dot circle { fill: #4fae66; }
.pv1-check { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pv1-pop { 0%, 22% { transform: scale(0); } 28% { transform: scale(1.35); } 32%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
.pv1-tick { fill: rgba(255, 249, 239, .35); }

/* 2. Et si ? : « ? » → « ✓ » */
.pv-2 { display: flex; align-items: center; gap: 12px; }
.pv2-chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; font-weight: 800; font-size: 15px; color: var(--sapin-2);
    background: repeating-linear-gradient(135deg, rgba(36, 26, 18, .07) 0 2px, transparent 2px 7px), #fff; box-shadow: inset 0 0 0 2px var(--orange); animation: pv2-chip 6s infinite both; }
.pv2-chip .icon { width: 18px; height: 18px; color: var(--orange); }
@keyframes pv2-chip { 0%, 45% { box-shadow: inset 0 0 0 2px var(--orange); } 52%, 92% { box-shadow: inset 0 0 0 2px #3f7d4e; } 100% { box-shadow: inset 0 0 0 2px var(--orange); } }
.pv2-ans { position: relative; width: 46px; height: 46px; }
.pv2-ans b { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 24px; font-weight: 800; }
.pv2-q { background: var(--orange); animation: pv2-q 6s infinite both; }
.pv2-ok { background: #3f7d4e; animation: pv2-ok 6s infinite both; }
@keyframes pv2-q { 0% { transform: scale(0); } 6% { transform: scale(1.2); } 10%, 16%, 24%, 32% { transform: scale(1); } 13%, 20%, 28% { transform: scale(1.12); } 40%, 46% { transform: scale(1) rotate(0); opacity: 1; } 50%, 100% { transform: scale(0) rotate(90deg); opacity: 0; } }
@keyframes pv2-ok { 0%, 46% { transform: scale(0); opacity: 0; } 53% { transform: scale(1.25); opacity: 1; } 58%, 92% { transform: scale(1); opacity: 1; } 100% { transform: scale(0); opacity: 0; } }

/* 3. Planning : la séance prévue franchit la limite → alerte */
.pv-3 { display: flex; align-items: center; gap: 12px; }
.pv3-track { position: relative; flex: 1; display: flex; gap: 3px; height: 34px; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .08); }
.pv3-track i { display: block; height: 100%; border-radius: 6px; }
.pv3-a { width: 22%; background: #9fd0a6; }
.pv3-b { width: 26%; background: #4fae66; }
.pv3-plan { width: 0; background: repeating-linear-gradient(135deg, rgba(255, 249, 239, .55) 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1.5px rgba(255, 249, 239, .6); animation: pv3-grow 6s infinite both; }
@keyframes pv3-grow { 0%, 10% { width: 0; } 45%, 90% { width: 34%; } 100% { width: 0; } }
.pv3-limit { position: absolute; top: -5px; bottom: -5px; left: 70%; border-left: 3px solid #f08a4b; animation: pv3-lim 6s infinite both; }
@keyframes pv3-lim { 0%, 38% { box-shadow: none; } 44%, 88% { box-shadow: 0 0 0 3px rgba(240, 138, 75, .35), 0 0 14px rgba(240, 138, 75, .8); } 100% { box-shadow: none; } }
.pv3-bell { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: rgba(255, 249, 239, .4); animation: pv3-bell 6s infinite both; }
.pv3-bell .icon { width: 22px; height: 22px; }
@keyframes pv3-bell { 0%, 40% { background: rgba(255, 255, 255, .08); color: rgba(255, 249, 239, .4); transform: none; }
    44% { background: #c4501f; color: #fff; transform: rotate(-14deg) scale(1.12); } 48% { transform: rotate(12deg) scale(1.12); } 52% { transform: rotate(-9deg); } 56% { transform: rotate(6deg); }
    60%, 90% { background: #c4501f; color: #fff; transform: none; } 100% { background: rgba(255, 255, 255, .08); color: rgba(255, 249, 239, .4); } }

/* 4. Corps : un appui à la fois */
.pv-4 { display: flex; gap: 10px; }
.pv4-b { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #fff; border: 2px solid var(--line); color: var(--muted); animation: pv4-tap 6s infinite both; }
.pv4-b .icon { width: 24px; height: 24px; }
.pv4-b.b1 { animation-delay: 1.2s; } .pv4-b.b2 { animation-delay: 2.4s; } .pv4-b.b3 { animation-delay: 3.6s; }
.pv4-b.b0 { --c: #3f7d4e; } .pv4-b.b1 { --c: #8a5a00; } .pv4-b.b2 { --c: #b23a2a; } .pv4-b.b3 { --c: #3f8fbf; }
@keyframes pv4-tap { 0% { transform: none; border-color: var(--line); color: var(--muted); background: #fff; }
    4% { transform: scale(.88); } 9% { transform: scale(1.08); border-color: var(--c); color: #fff; background: var(--c); }
    14%, 18% { transform: none; border-color: var(--c); color: #fff; background: var(--c); }
    24%, 100% { transform: none; border-color: var(--line); color: var(--muted); background: #fff; } }

/* 5. 1 an : 52 semaines en vague */
.pv-5 { display: grid; grid-template-columns: repeat(26, 1fr); gap: 3px; }
.pv5-w { display: block; aspect-ratio: 1; border-radius: 3px; background: rgba(255, 255, 255, .12); animation: pv5-in 6s infinite both; animation-delay: calc(var(--w) * 40ms); }
.pv5-w.k1 { --c: #4fae66; } .pv5-w.k2 { --c: #f08a4b; } .pv5-w.k0 { --c: #9fd0a6; }
@keyframes pv5-in { 0%, 4% { background: rgba(255, 255, 255, .12); transform: scale(.4); } 10%, 80% { background: var(--c); transform: none; } 92%, 100% { background: rgba(255, 255, 255, .12); transform: scale(.4); } }

/* Moins d'animations : état final, sans mouvement */
@media (prefers-reduced-motion: reduce) {
    .plus-viz * { animation: none !important; }
    .pv1-proj { clip-path: none; }
    .pv2-q { opacity: 0; } .pv2-chip { box-shadow: inset 0 0 0 2px #3f7d4e; }
    .pv3-plan { width: 34%; } .pv3-bell { background: #c4501f; color: #fff; }
    .pv4-b.b2 { border-color: #b23a2a; color: #fff; background: #b23a2a; }
    .pv5-w { background: var(--c); }
}

/* Titre sur 2 lignes sur mobile */
.br-m { display: none; }
@media (max-width: 759px) { .br-m { display: inline; } }

/* Histoire animée : le repère orange (bordure gauche + nom du jour) suit le jour concerné,
   lun. (0–26 %) → mer. (course) → jeu. (tennis) → sam. (trail ?, puis rouge) → dim. (ça passe). Séances espacées en conséquence. */
.st-week li { color: var(--muted); box-shadow: none; }
.st-day { color: inherit; }
.st-week li.d1 { animation: st-on1 20s infinite both; }
.st-week li.d3 { animation: st-on3 20s infinite both; }
.st-week li.d4 { animation: st-on4 20s infinite both; }
.st-week li.d6 { animation: st-on6 20s infinite both; }
.st-week li.d7 { animation: st-on7 20s infinite both; }
@keyframes st-on1 { 0%, 25.5% { box-shadow: inset 3px 0 0 var(--orange); color: var(--orange-fonce); } 26.5%, 100% { box-shadow: none; color: var(--muted); } }
@keyframes st-on3 { 0%, 25.5% { box-shadow: none; color: var(--muted); } 26.5%, 31.5% { box-shadow: inset 3px 0 0 var(--orange); color: var(--orange-fonce); } 32.5%, 100% { box-shadow: none; color: var(--muted); } }
@keyframes st-on4 { 0%, 31.5% { box-shadow: none; color: var(--muted); } 32.5%, 39.5% { box-shadow: inset 3px 0 0 var(--orange); color: var(--orange-fonce); } 40.5%, 100% { box-shadow: none; color: var(--muted); } }
@keyframes st-on6 { 0%, 39.5% { box-shadow: none; color: var(--muted); background: var(--paper); }
    40.5%, 60% { box-shadow: inset 3px 0 0 var(--orange); color: var(--orange-fonce); background: var(--paper); }
    62%, 79.5% { box-shadow: inset 3px 0 0 #c4501f; color: #c4501f; background: #fbe3d6; }
    80.5%, 100% { box-shadow: none; color: var(--muted); background: var(--paper); } }
@keyframes st-on7 { 0%, 79.5% { box-shadow: none; color: var(--muted); } 80.5%, 99% { box-shadow: inset 3px 0 0 #3f7d4e; color: #24563a; } 100% { box-shadow: none; color: var(--muted); } }
/* séances de la routine : vélo (lun.) puis course (mer.) puis tennis (jeu.), au rythme du repère */
@keyframes st-in3 { 0%, 26% { opacity: 0; transform: translateX(14px); } 28.5%, 97% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes st-in4 { 0%, 32% { opacity: 0; transform: translateX(14px); } 34.5%, 97% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes st-bthu { 0%, 35% { opacity: 0; } 37%, 97% { opacity: 1; } 99%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .st-week li.d7 { box-shadow: inset 3px 0 0 #3f7d4e; color: #24563a; } }

/* Confiance (3 engagements) et signature humaine près du formulaire */
.s-trust { padding: 8px 0 36px; }
.s-trust .trust { justify-content: center; margin: 0; }
.s-maker { display: flex; align-items: center; gap: 8px; margin: -.6em 0 1.2em; font-size: 14px; color: var(--muted); }
.s-maker .icon { width: 18px; height: 18px; color: var(--orange); }

/* ===================== Logotype « D◉zone » (private/lib/logotype.php) ===================== */
.lt { --lt-ink: #fff9ef; --lt-zone: #f29b65; display: inline-block; font-family: 'Outfit', Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; line-height: 1; white-space: nowrap; color: var(--lt-ink); }
.lt .o { display: inline-block; width: .505em; height: .505em; vertical-align: baseline; margin: 0 .035em; overflow: visible; color: var(--lt-ink); }
.lt i, .lt em { font-style: normal; }
.lt em { font-style: normal; color: var(--lt-zone); }
.lt .zz { font-weight: inherit; background: linear-gradient(100deg, var(--lt-ink) 0 38%, var(--lt-zone) 64% 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-brand { text-decoration: none; }
.lt-site { font-size: 30px; }
@media (max-width: 420px) { .lt-site { font-size: 26px; } }
.ph-bar .lt-ph { font-size: 20px; }

/* le logotype ne suit pas l’ancienne mise en colonne de .s-brand span */
.s-brand .lt, .s-brand .lt > span { display: inline-block; flex-direction: row; line-height: 1; }

/* Signature « by algoralp » (by_algoralp() dans logotype.php) */
.by-algoralp { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: inherit; opacity: .75; text-decoration: none; }
.by-algoralp:hover { opacity: 1; }
.by-algoralp img { height: 12px; width: auto; display: block; }

/* =====================================================================================================================
   Refonte du 2026-10-28 (retours utilisateur) : bandeau centré sans « Se connecter », direction artistique des titres,
   pied de page complet, mentions simplifiées. Les règles ci-dessous priment sur les précédentes.
   ===================================================================================================================== */

/* Bandeau : logotype au centre, langues à droite (cachées sur téléphone : elles sont dans le pied de page) */
.s-top { display: grid; grid-template-columns: 1fr auto 1fr; justify-content: initial; }
.s-top .s-brand { grid-column: 2; justify-self: center; }
.s-top .s-langs { grid-column: 3; justify-self: end; margin-left: 0; }
.s-top .lt-site { font-size: 32px; }
@media (max-width: 520px) { .s-top { padding-top: calc(12px + env(safe-area-inset-top)); padding-bottom: 12px; } }

/* Typographie de marque : les grands titres prennent la police du logotype (Outfit 800) */
.s-hero h1, .s-title, .goal-big, .plus-big, .s-legal h1 { font-family: 'Outfit', Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; }
.s-hero h1 { font-size: clamp(38px, 6.4vw, 64px); line-height: 1.02; }

/* En-tête de section : surtitre numéroté · grand titre · graduations du bouton de dosage · sous-titre */
.s-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.s-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-fonce); }
.s-eyebrow span { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--sapin-2); color: var(--peche); font-size: 11.5px; letter-spacing: .04em; }
.s-eyebrow a { color: inherit; text-decoration: none; }
.s-title { font-size: clamp(32px, 5.4vw, 54px); line-height: 1.04; margin: 0; color: var(--ink); text-wrap: balance; }
.s-dose { display: flex; justify-content: center; align-items: flex-end; gap: 5px; height: 16px; margin: 18px auto 0; }
.s-dose i { width: 5px; height: 9px; border-radius: 3px; background: rgba(36, 26, 18, .2); }
.s-dose i.g { height: 14px; background: #5fc47a; }
.s-dose i.p { height: 16px; background: var(--peche); }
.s-head .s-sub { margin: 16px auto 0; max-width: 560px; font-size: 17px; }
.s-head .s-sub span { font-size: 13.5px; }
/* sur fond sombre (Sur mesure) */
.s-pro .s-head { text-align: left; margin-left: 0; margin-bottom: 18px; }
.s-pro .s-eyebrow { color: var(--peche); font-size: 12.5px; }
.s-pro .s-eyebrow span { background: var(--peche); color: var(--sapin-2); }
.s-pro .s-title { color: #fff9ef; font-size: clamp(28px, 4.4vw, 42px); }
.s-pro .s-dose { justify-content: flex-start; margin-left: 0; }
.s-pro .s-dose i { background: rgba(255, 249, 239, .28); }
.s-pro .s-dose i.g { background: #5fc47a; } .s-pro .s-dose i.p { background: var(--peche); }
/* espacements des sections (titres plus présents → plus d'air) */
.s-vs, .s-plus, .s-how, .s-shots { padding-top: 72px; padding-bottom: 56px; }
.s-hero + .s-vs { padding-top: 88px; }
.s-pro { padding: 64px 0; }
.s-form { padding: 72px 0 80px; }
.s-form .s-head { margin-bottom: 18px; }
.s-form .s-sub, .s-form .s-maker { text-align: center; justify-content: center; }
.s-form .s-sub { margin: 0 auto 10px; font-size: 17px; }
.s-form .s-maker { margin: 0 0 22px; }
.s-shots .s-phones { margin-top: 8px; }
.vs-note { margin-top: 22px; }

/* Formulaire : plus de case à cocher, une information claire sous le bouton */
.s-f .s-btn { width: 100%; min-height: 54px; font-size: 17px; }
.s-fnote { display: flex; gap: 8px; align-items: flex-start; margin: -2px 0 0; font-size: 13px; color: var(--muted); }
.s-fnote .icon { width: 16px; height: 16px; color: #3f7d4e; margin-top: 2px; }
.s-fnote a { color: var(--muted); }

/* Pied de page */
.s-foot { text-align: left; padding: 56px 0 calc(24px + env(safe-area-inset-bottom)); font-size: 14px; color: rgba(255, 249, 239, .72); }
.sf-grid { display: grid; gap: 34px; }
.sf-brand p { margin: 12px 0 18px; font-size: 16px; color: #fff9ef; max-width: 320px; }
.sf-logo { display: inline-block; text-decoration: none; }
.sf-logo .lt-site { font-size: 36px; }
.s-btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.sf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sf-col h2 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--peche); margin: 0 0 8px; }
.s-foot .sf-col a { color: #fff9ef; text-decoration: none; padding: 7px 0; font-weight: 600; }
.s-foot .sf-col a:hover { color: var(--peche); }
.sf-indep { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: rgba(255, 249, 239, .55); max-width: 340px; }
.sf-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 249, 239, .12); }
.s-foot .s-langs-foot { justify-content: flex-start; margin: 0; }
.s-foot .s-langs-foot a { min-height: 36px; padding: 0 9px; color: rgba(255, 249, 239, .7); }
.s-foot .s-langs-foot a[aria-current="true"] { color: var(--sapin-2); }
.sf-by { display: flex; align-items: center; gap: 16px; margin: 0; font-size: 13px; }
.s-foot .by-algoralp { font-size: 14px; opacity: .9; color: #fff9ef; }
.s-foot .by-algoralp img { height: 18px; }
@media (min-width: 760px) {
    .sf-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}

/* Mentions légales : simple et lisible */
.s-legal { padding-top: 40px; padding-bottom: 72px; }
.s-legal .s-eyebrow { margin-bottom: 10px; }
.s-legal h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.05; margin-bottom: 26px; }
.lg-list { margin: 0; display: grid; gap: 4px; }
.lg-list dt { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-fonce); margin-top: 18px; }
.lg-list dd { margin: 0; padding: 14px 16px; background: var(--paper); border-radius: 14px; line-height: 1.6; }
.s-vs, .s-plus, .s-how, .s-shots, .s-form, .s-pro { scroll-margin-top: 56px; }

/* Questions fréquentes (accordéons natifs, sans script) */
.s-faq { padding: 72px 0 64px; scroll-margin-top: 56px; }
.faq { display: grid; gap: 10px; }
.faq-i { background: var(--paper); border-radius: 16px; box-shadow: 0 1px 2px rgba(36, 26, 18, .05), 0 4px 14px rgba(36, 26, 18, .05); }
.faq-i summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; cursor: pointer; min-height: 44px; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary h3 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; }
.faq-i summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); color: var(--orange-fonce); font-size: 20px; font-weight: 800; transition: transform .2s; }
.faq-i[open] summary::after { content: '–'; background: var(--orange); color: #fff; }
.faq-i p { margin: 0; padding: 0 20px 20px; color: var(--muted); line-height: 1.6; }

/* Drapeaux des langues (lang_flag dans lang/site.php) */
.s-langs a { gap: 5px; }
.s-top .s-langs a { display: inline-flex; align-items: center; padding: 0 7px; }
.s-foot .s-langs-foot a { display: inline-flex; align-items: center; gap: 7px; }
.flag { width: 20px; height: 14px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 249, 239, .25); }

/* ---------- Menu (2026-10-28) ---------- */
.s-top { grid-template-columns: 1fr auto 1fr; }
.s-menu { grid-column: 1; justify-self: start; display: none; gap: 2px; }
.s-menu a { color: rgba(255, 249, 239, .82); text-decoration: none; font-size: 14px; font-weight: 700; padding: 9px 12px; border-radius: 999px; white-space: nowrap; }
.s-menu a:hover { color: #fff9ef; background: rgba(255, 255, 255, .08); }
.s-top .s-brand { grid-column: 2; grid-row: 1; }
.s-top-r { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 10px; }
.s-top-r .s-langs { margin: 0; }
.s-top-cta { display: none; min-height: 38px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
@media (min-width: 1100px) { .s-menu { display: flex; } }
@media (min-width: 900px) { .s-top-cta { display: inline-flex; } }
@media (max-width: 1240px) and (min-width: 1100px) { .s-top .s-langs a { padding: 0 5px; } .s-top .s-langs .flag { display: none; } }

/* Téléphone : bouton du haut de page centré, bouton flottant « Essayer gratuitement » */
@media (max-width: 759px) {
    .s-hero .s-cta { justify-content: center; }
}
.s-sticky { display: none; }
@media (max-width: 899px) {
    .s-sticky { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 20; display: inline-flex; align-items: center; gap: 8px;
        min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap;
        box-shadow: 0 10px 28px rgba(31, 47, 37, .35); transform: translate(-50%, 140%); opacity: 0; pointer-events: none; transition: transform .3s ease, opacity .3s ease; }
    .s-sticky.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .s-sticky { transition: none; } }

/* ---------- Hamburger + langues déroulantes + hero centré sur téléphone (2026-10-28) ---------- */
.s-top { position: sticky; }
.s-burger { grid-column: 1; grid-row: 1; justify-self: start; }
.s-burger summary { list-style: none; display: grid; align-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border-radius: 12px; cursor: pointer; }
.s-burger summary::-webkit-details-marker { display: none; }
.s-burger summary span { display: block; height: 2.5px; border-radius: 2px; background: #fff9ef; transition: transform .2s, opacity .2s; }
.s-burger[open] summary { background: rgba(255, 255, 255, .1); }
.s-burger[open] summary span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.s-burger[open] summary span:nth-child(2) { opacity: 0; }
.s-burger[open] summary span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.s-burger-panel { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 2px; padding: 10px 16px 18px; background: var(--sapin-2); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.s-burger-panel a:not(.s-btn) { color: #fff9ef; text-decoration: none; font-size: 18px; font-weight: 700; padding: 12px 6px; border-bottom: 1px solid rgba(255, 249, 239, .1); }
.s-burger-panel .s-btn { margin-top: 12px; }
@media (min-width: 1100px) { .s-burger { display: none; } }

.s-lang-dd { position: relative; }
.s-lang-dd summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 10px; border-radius: 10px; cursor: pointer;
    color: #fff9ef; font-size: 13px; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(255, 249, 239, .22); }
.s-lang-dd summary::-webkit-details-marker { display: none; }
.s-lang-dd summary i { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.s-lang-dd[open] summary { background: rgba(255, 255, 255, .1); }
.s-lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; display: grid; padding: 6px; border-radius: 14px; background: var(--paper); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.s-lang-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.s-lang-list a:hover { background: var(--sand); }
.s-lang-list .flag { box-shadow: 0 0 0 1px rgba(36, 26, 18, .12); }
@media (max-width: 520px) { .s-top .s-lang-dd { display: block; } .s-lang-dd summary span { display: none; } }

@media (max-width: 759px) {
    .s-hero-txt { text-align: center; }
}

/* ---------- Petites notes (2026-10-28) : texte secondaire encadré de deux filets dégradés, discret mais « posé » ---------- */
.s-note { display: flex !important; align-items: center; justify-content: center; gap: 14px; max-width: 640px; margin-left: auto !important; margin-right: auto !important;
    color: var(--muted); font-size: 15px; line-height: 1.45; text-align: center; }
.s-note::before, .s-note::after { content: ''; flex: 0 1 56px; min-width: 18px; height: 1.5px; border-radius: 2px; }
.s-note::before { background: linear-gradient(90deg, rgba(232, 111, 45, 0), rgba(232, 111, 45, .55)); }
.s-note::after { background: linear-gradient(90deg, rgba(232, 111, 45, .55), rgba(232, 111, 45, 0)); }
.s-note > span { flex: 0 1 auto; }
.s-head .s-note { margin-top: 18px; font-size: 16px; }
.vs-note.s-note { margin-top: 26px; }
.s-maker.s-note > span { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; }
.s-maker.s-note .icon { width: 18px; height: 18px; color: var(--orange); }
.s-maker-logo { height: 13px; width: auto; display: inline-block; vertical-align: -1px; }

/* Langue du pied de page : même menu déroulant, qui s'ouvre vers le haut */
.s-lang-up .s-lang-list { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
.s-foot .s-lang-dd summary span { display: inline; }

/* ---------- Menu hamburger PLEIN ÉCRAN (2026-10-28) : items centrés, lueur orangée, filigrane algoralp en biais ----------
   Le panneau est fixe sur tout l'écran mais placé « sous » le contenu du bandeau (z-index négatif dans le bandeau) :
   le logo, la croix et la langue restent visibles et utilisables par-dessus. */
.s-burger-panel {
    position: fixed; inset: 0; top: 0; z-index: -1; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 90px 24px calc(120px + env(safe-area-inset-bottom));
    background:
        radial-gradient(520px 380px at 85% 18%, rgba(232, 111, 45, .30), rgba(232, 111, 45, 0) 70%),
        radial-gradient(420px 320px at 8% 92%, rgba(242, 155, 101, .16), rgba(242, 155, 101, 0) 70%),
        var(--sapin-2);
    box-shadow: none;
}
.s-burger-panel::after { /* filigrane algoralp, en travers et estompé */
    content: ''; position: absolute; left: 50%; bottom: 7%; width: min(88%, 420px); height: 64px; pointer-events: none;
    background: url('/app/assets/logo_nom_algoralp_white.svg') center / contain no-repeat;
    opacity: .06; transform: translateX(-50%) rotate(-10deg);
}
.s-burger-panel a:not(.s-btn) {
    position: relative; z-index: 1; display: block; width: 100%; max-width: 360px; text-align: center; border-bottom: 0;
    font-family: 'Outfit', Inter, system-ui, sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -.01em; padding: 12px 6px;
}
.s-burger-panel a:not(.s-btn):hover, .s-burger-panel a:not(.s-btn):focus-visible { color: var(--peche); }
.s-burger-panel .s-btn { position: relative; z-index: 1; margin-top: 22px; min-height: 54px; padding: 0 28px; font-size: 17px; }
.s-burger-panel::before { /* petites graduations du bouton de dosage au-dessus des liens */
    content: ''; width: 64px; height: 16px; margin-bottom: 14px;
    background: linear-gradient(90deg, rgba(255,249,239,.25) 0 5px, transparent 5px 10px, rgba(255,249,239,.25) 10px 15px, transparent 15px 20px,
        rgba(255,249,239,.25) 20px 25px, transparent 25px 30px, #5fc47a 30px 35px, transparent 35px 40px, #5fc47a 40px 45px, transparent 45px 50px,
        #f29b65 50px 55px, transparent 55px 60px) left bottom / 64px 10px no-repeat;
}
.s-burger[open] .s-burger-panel > * { animation: burger-in .35s ease-out both; }
.s-burger[open] .s-burger-panel > :nth-child(2) { animation-delay: .04s; } .s-burger[open] .s-burger-panel > :nth-child(3) { animation-delay: .08s; }
.s-burger[open] .s-burger-panel > :nth-child(4) { animation-delay: .12s; } .s-burger[open] .s-burger-panel > :nth-child(5) { animation-delay: .16s; }
@keyframes burger-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .s-burger[open] .s-burger-panel > * { animation: none; } }
body:has(.s-burger[open]) { overflow: hidden; } /* pas de défilement de la page derrière le menu */
body:has(.s-burger[open]) .s-sticky { display: none; }
.s-top:has(.s-burger[open]) { box-shadow: none; background: transparent; }
