/* Vitrine et pages d'aide. Couleurs et polices : theme.css. Mobile d'abord. */
/* theme.css est chargé par une balise <link> dans chaque page (évite un aller-retour). */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--sun-1); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-top: 0; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p, ul, ol { margin: 0 0 1em; }
code { font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 6px; }

.conteneur, .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* ---------- En-tête ---------- */
header.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
header.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.marque img { width: 34px; height: 34px; border-radius: 10px; }
nav.menu { display: none; gap: 4px; margin-left: 12px; }
nav.menu a { color: var(--text-2); text-decoration: none; font-size: .93rem; font-weight: 500; padding: 7px 12px; border-radius: 999px; }
nav.menu a:hover { color: var(--text); background: var(--surface-2); }
.grow { flex: 1; }
.lang { max-width: 112px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font: inherit; font-size: .85rem; color: var(--text-2); cursor: pointer; text-decoration: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: 14px; font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); white-space: nowrap; transition: transform .1s, box-shadow .2s, filter .2s, background .2s; }
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.sun, .principal { background: var(--sun); color: var(--on-sun); border-color: transparent; box-shadow: var(--shadow-sun); }
.btn.sun:hover, .principal:hover { filter: brightness(1.05) saturate(1.05); background: var(--sun); box-shadow: 0 12px 32px rgba(242, 85, 62, .38); }
.btn.soon { cursor: default; pointer-events: none; opacity: .72; box-shadow: none; filter: saturate(.7); }
.btn.small { height: 38px; padding: 0 16px; border-radius: 12px; font-size: .9rem; }
.principal { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 14px; font-weight: 600; text-decoration: none; }

/* ---------- Accueil : héros ---------- */
.hero { position: relative; padding: 48px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 900px; background: var(--glow); pointer-events: none; z-index: -1; }
.hero::after { content: ""; position: absolute; right: -180px; top: 40px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 181, 71, .32), rgba(255, 107, 87, .18) 45%, transparent 70%); filter: blur(10px); z-index: -1; }
.hero .grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); padding: 6px 14px 6px 8px; border-radius: 999px; text-decoration: none; box-shadow: var(--shadow); }
.eyebrow b { background: var(--sun); color: var(--on-sun); font-size: .72rem; padding: 3px 8px; border-radius: 999px; letter-spacing: .02em; }
.hero h1 { margin: 22px 0 18px; }
.hero h1 em { font-style: italic; font-weight: 500; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.hero .sub { font-size: 1.12rem; color: var(--text-2); max-width: 36em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0 0 12px; font-size: .92rem; color: var(--text-2); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.note { font-size: .82rem; color: var(--text-3); }

/* Fenêtre de l'application dans le héros */
.shot { position: relative; }
.frame { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--text-3); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame-bar span { margin-left: auto; margin-right: auto; font-weight: 600; }
.frame img { width: 100%; height: auto; }
.float { position: absolute; padding: 7px 7px 26px; border-radius: 7px; background: #fffdf9; box-shadow: 0 16px 36px rgba(20, 10, 0, .25); }
.float img { width: 96px; height: 124px; object-fit: cover; border-radius: 3px; }
.float b { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font: 650 .68rem/1 var(--font); color: #5a4d44; }
.float.f1 { left: -26px; bottom: -28px; transform: rotate(-8deg); animation: bob 7s ease-in-out infinite; }
.float.f2 { right: -14px; top: -30px; transform: rotate(7deg); animation: bob 8s ease-in-out -2s infinite; }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ---------- Sections ---------- */
section.band { padding: 72px 0; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun-1); margin-bottom: 12px; }
.center { text-align: center; }
.center .lead-p { margin-left: auto; margin-right: auto; }
.lead-p { color: var(--text-2); font-size: 1.08rem; max-width: 40em; }

/* Avant / après */
.ba { display: grid; gap: 16px; margin-top: 34px; }
.ba-card { position: relative; border-radius: 22px; padding: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.ba-card h3 { margin: 14px 0 4px; }
.ba-card p { color: var(--text-2); margin: 0; font-size: .95rem; }
.ba-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.ba-card.before .ba-tag { background: var(--surface-2); color: var(--text-3); }
.ba-card.after .ba-tag { background: var(--mint-soft); color: var(--mint-text); }
.ba-card.after { border-color: transparent; box-shadow: var(--shadow-lg); }
.ba-card.after::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; background: var(--sun); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.strip figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface-2); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip figcaption { position: absolute; left: 6px; right: 6px; bottom: 6px; font-size: .68rem; font-weight: 650; line-height: 1.25; color: #fff; background: rgba(12, 10, 20, .62); backdrop-filter: blur(4px); border-radius: 7px; padding: 4px 6px; text-align: center; }
.before .strip img { filter: grayscale(.85) brightness(.9); }
.before .strip figcaption { background: rgba(120, 40, 30, .75); }

/* Fonctions */
.features { display: grid; gap: 14px; margin-top: 36px; }
.feature { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.feature .ico svg { width: 21px; height: 21px; }
.feature:nth-child(3n+1) .ico { background: var(--sun-soft); color: var(--sun-1); }
.feature:nth-child(3n+2) .ico { background: var(--lilac-soft); color: var(--lilac); }
.feature:nth-child(3n+3) .ico { background: var(--mint-soft); color: var(--mint); }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: .95rem; margin: 0; }

/* Étapes */
.steps3 { display: grid; gap: 14px; margin-top: 36px; counter-reset: st; }
.step3 { position: relative; padding: 26px 24px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); counter-increment: st; }
.step3::before { content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--on-sun); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 16px; box-shadow: var(--shadow-sun); }
.step3 p { color: var(--text-2); font-size: .95rem; margin: 0; }

/* Tarifs */
.prices { display: grid; gap: 16px; margin: 36px auto 0; max-width: 860px; }
.price { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.price.best { border-color: transparent; box-shadow: var(--shadow-lg); }
.price.best::before { content: ""; position: absolute; inset: 0; padding: 2px; border-radius: inherit; background: var(--sun); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price h3 { font-size: 1.35rem; margin-bottom: 4px; }
.amount { font-family: var(--font-display); font-size: 3.2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; margin: 14px 0 6px; }
.amount small { font-family: var(--font); font-size: .8rem; font-weight: 500; color: var(--text-3, var(--text-2)); letter-spacing: .01em; margin-left: 6px; }
/* « hors TVA · une fois » : une petite ligne grise sous le prix. */
.amount small[data-s] { display: block; margin: 8px 0 0 2px; }
.price > p { color: var(--text-2); font-size: .95rem; min-height: 3em; }
.price ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; font-size: .95rem; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23198f64' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.price .btn { width: 100%; margin-top: auto; }  /* boutons alignés en bas des deux cartes */
.pnote { text-align: center; color: var(--text-3); font-size: .85rem; margin-top: 16px; }

/* FAQ */
.faq { max-width: 780px; margin: 30px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); margin: 0 0 18px; }

/* Bandeau final */
.final { position: relative; overflow: hidden; margin: 20px 16px 0; padding: 56px 24px; border-radius: 28px; text-align: center; color: #fff6ec; background: radial-gradient(80% 120% at 85% 0%, rgba(255, 181, 71, .55), transparent 60%), radial-gradient(80% 120% at 0% 100%, rgba(255, 107, 87, .55), transparent 60%), #1a1630; }
.final h2 { color: #fff6ec; }
.final p { color: #f2d9cf; margin-bottom: 24px; }

/* Pied de page */
footer.foot { padding: 40px 0 48px; color: var(--text-2); font-size: .9rem; }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
footer.foot a { color: var(--text-2); text-decoration: none; }
footer.foot a:hover { color: var(--text); }
footer.foot .disc { flex-basis: 100%; color: var(--text-3); font-size: .8rem; }

/* ---------- Pages d'aide (guide, janvier 2027, mentions) ---------- */
header:not(.top) { border-bottom: 1px solid var(--line); background: var(--surface); }
header:not(.top) .conteneur { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; }
main.conteneur { max-width: 780px; padding-top: 40px; padding-bottom: 56px; }
main.conteneur h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
main.conteneur h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.tagline { font-size: 1.12rem; color: var(--text-2); }
.meta, .petit { color: var(--text-3); font-size: .88rem; }
.boite { border-radius: 18px; padding: 18px 22px; margin: 1.4rem 0; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.boite h2 { margin-top: 0; font-size: 1.25rem; }
.boite p:last-child, .boite ul:last-child { margin-bottom: 0; }
.boite.ok { background: var(--mint-soft); border-color: transparent; box-shadow: none; }
.boite.alerte { background: var(--warn-soft); border-color: transparent; box-shadow: none; }
ol.etapes { list-style: none; padding: 0; counter-reset: e; }
ol.etapes li { position: relative; padding-left: 3rem; margin-bottom: 1.1rem; counter-increment: e; }
ol.etapes li::before { content: counter(e); position: absolute; left: 0; top: -.1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--sun); color: var(--on-sun); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; }
details { margin: .6rem 0; }
summary { cursor: pointer; font-weight: 600; }
footer:not(.foot) { border-top: 1px solid var(--line); padding: 1.4rem 0 2.2rem; font-size: .9rem; color: var(--text-2); }
footer:not(.foot) .conteneur { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.cache { display: none !important; }

/* ---------- Écrans plus larges ---------- */
@media (min-width: 700px) {
  .wrap, .conteneur { padding: 0 28px; }
  .ba, .prices { grid-template-columns: 1fr 1fr; }
  .features, .steps3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  nav.menu { display: flex; }
  .hero { padding: 72px 0 64px; }
  .hero .grid { grid-template-columns: 1.02fr 1fr; gap: 56px; }
  .features, .steps3 { grid-template-columns: repeat(3, 1fr); }
  section.band { padding: 96px 0; }
  .final { margin: 20px auto 0; max-width: 1124px; padding: 72px 24px; }
}
@media (max-width: 699px) {
  .frame { transform: none; }
  .float.f1 { left: -6px; bottom: -22px; } .float.f2 { right: -4px; top: -24px; }
  .float img { width: 70px; height: 92px; }
  .hide-sm { display: none !important; }
  .ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Outils d'en-tête des pages d'aide (thème + langue). */
.head-tools { display: inline-flex; align-items: center; gap: 8px; }
header:not(.top) .conteneur > .theme-btn { margin-left: auto; }
header.top .theme-btn { width: 36px; height: 36px; }
/* En-tête : rien ne passe à la ligne ; le lien du guide disparaît du menu sur les écrans moyens. */
.marque, nav.menu a { white-space: nowrap; }
@media (max-width: 1240px) { nav.menu a.js-guide { display: none; } }
@media (min-width: 1000px) and (max-width: 1120px) { nav.menu a { padding: 7px 9px; font-size: .9rem; } }

/* Pages d'aide : page disponible seulement en anglais et en français. */
.lang-note { margin: 18px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--surface-2, var(--surface)); border: 1px solid var(--line); color: var(--text-2); font-size: .9rem; }

/* Zones cliquables d'au moins 24 px de haut (WCAG 2.2, critère 2.5.8). */
footer a, .foot a { display: inline-block; padding-block: 4px; }

/* =====================================================================================
   Couche « confort 2026 » (04/11/2026) : même identité (couleurs, polices, cartes, dégradé),
   mise en page plus fluide et animations douces. Tout mouvement se coupe si le visiteur a demandé
   « moins d'animations » dans son système. Les effets récents (popover, défilement animé,
   transitions de page) dégradent proprement dans les navigateurs plus anciens.
   ===================================================================================== */

/* Typographie et espacements fluides */
h1, h2, h3, .faq summary { text-wrap: balance; }
p, li { text-wrap: pretty; }
section.band { padding-block: clamp(52px, 9vw, 104px); }
section[id], [id="how-problem"] { scroll-margin-top: 80px; }
::selection { background: color-mix(in srgb, var(--sun-1) 28%, transparent); }
html { accent-color: var(--sun-1); scrollbar-color: color-mix(in srgb, var(--text-3) 55%, transparent) transparent; }

/* Boutons : petit retour au survol et à l'appui */
.btn { transition: transform .15s cubic-bezier(.2, .7, .2, 1), box-shadow .2s, filter .2s, background .2s; }
.btn:active { transform: translateY(1px) scale(.985); }
@media (hover: hover) { .btn.sun:hover { transform: translateY(-1px); } }

/* ---------- En-tête ---------- */
.burger { display: none; flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; place-content: center; gap: 5px; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s, opacity .2s; }
header.top:has(.mnav:popover-open) .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
header.top:has(.mnav:popover-open) .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mnav { position: fixed; inset: 72px 12px auto 12px; width: auto; max-width: 520px; margin: 0 0 0 auto; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(18px); color: var(--text); box-shadow: var(--shadow-lg);
  opacity: 0; translate: 0 -8px; transition: opacity .22s, translate .22s, overlay .22s allow-discrete, display .22s allow-discrete; }
.mnav:popover-open { opacity: 1; translate: 0 0; }
@starting-style { .mnav:popover-open { opacity: 0; translate: 0 -8px; } }
.mnav::backdrop { background: rgba(10, 8, 20, .18); }
.mnav nav { display: grid; }
.mnav nav a { padding: 13px 14px; border-radius: 14px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.02rem; }
.mnav nav a:hover, .mnav nav a:focus-visible { background: var(--surface-2); }
.mnav-foot { display: flex; gap: 10px; align-items: center; padding: 10px 4px 4px; margin-top: 6px; border-top: 1px solid var(--line); }
.mnav-foot .theme-btn { width: 46px; height: 46px; flex: none; }
.mnav-foot .btn { flex: 1; }
@media (max-width: 999px) { .burger { display: inline-grid; } }
@media (max-width: 560px) { .hide-xs { display: none !important; } header.top .wrap { gap: 10px; } }
/* L'en-tête se détache légèrement quand on défile. */
@supports (animation-timeline: scroll()) {
  header.top { animation: hdr-lift linear both; animation-timeline: scroll(); animation-range: 0 140px; }
  @keyframes hdr-lift { to { box-shadow: 0 10px 30px rgba(20, 10, 0, .08); border-bottom-color: var(--line); } }
}

/* ---------- Héros : apparition en cascade à l'ouverture ---------- */
@keyframes rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  /* Le titre, le sous-titre et l'image restent fixes dès le départ (vitesse mesurée par Google ;
     animer le bloc de l'image casse aussi l'affichage de la capture inclinée dans Chrome) :
     seuls les éléments autour apparaissent en cascade. */
  .hero .eyebrow, .hero .ctas, .hero .trust, .hero .note { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .ctas { animation-delay: .1s; } .hero .trust { animation-delay: .18s; } .hero .note { animation-delay: .24s; }
}
@media (max-width: 699px) {
  .hero { padding-top: 28px; }
  .hero h1 { margin: 18px 0 14px; }
  .hero .sub { font-size: 1.04rem; }
  .ctas { margin: 22px 0 18px; }
  .trust { gap: 8px 18px; }
  .shot { margin: 8px 6px 18px; }
}

/* ---------- Apparition des blocs au fil du défilement ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    section.band h2, .ba-card, .feature, .step3, .price, .faq details, .final { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
  }
}

/* ---------- Fonctions : lignes compactes sur téléphone ---------- */
@media (max-width: 699px) {
  .features { gap: 10px; margin-top: 26px; }
  .feature { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: start; padding: 16px 16px 18px; border-radius: 18px; }
  .feature .ico { grid-row: span 2; margin: 2px 0 0; }
  .feature h3 { font-size: 1.08rem; margin: 2px 0 4px; }
  .feature p { font-size: .93rem; }
}
@media (hover: hover) and (min-width: 700px) { .feature:hover { border-color: color-mix(in srgb, var(--sun-1) 30%, var(--line)); } }

/* ---------- Étapes : frise verticale sur téléphone et tablette ---------- */
@media (max-width: 999px) {
  .steps3 { grid-template-columns: 1fr; gap: 0; margin: 28px auto 0; max-width: 620px; }
  .step3 { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0 0 24px; background: none; border: 0; border-radius: 0; }
  .step3::before { grid-row: span 2; margin: 0; }
  .step3:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: 4px; width: 2px; border-radius: 2px; background: linear-gradient(var(--sun-1), color-mix(in srgb, var(--sun-1) 10%, transparent)); }
  .step3 h3 { margin: 7px 0 4px; font-size: 1.1rem; }
}
/* Écrans larges : un fil discret relie les trois numéros. */
@media (min-width: 1000px) {
  .steps3 { position: relative; }
  .steps3::before { content: ""; position: absolute; top: 46px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sun-1) 35%, transparent), transparent); z-index: 0; }
  .step3 { z-index: 1; }
}

/* ---------- Avant / après et tarifs sur téléphone ---------- */
@media (max-width: 699px) {
  .ba { margin-top: 0; }
  .ba-card { padding: 18px; border-radius: 20px; }
  .strip { gap: 6px; }
  .price { padding: 22px; border-radius: 22px; }
  .amount { font-size: 2.8rem; }
  .price > p { min-height: 0; }
}

/* ---------- FAQ : ouverture en douceur ---------- */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content { height: 0; overflow: clip; transition: height .32s cubic-bezier(.2, .7, .2, 1), content-visibility .32s allow-discrete; }
    .faq details[open]::details-content { height: auto; }
  }
}
.faq summary { border-radius: 12px; }
@media (hover: hover) { .faq summary:hover::after { background: var(--sun-soft); color: var(--sun-1); } }

/* ---------- Bandeau final et pied de page ---------- */
@media (max-width: 699px) {
  .final { margin: 8px 12px 0; padding: 44px 20px; border-radius: 24px; }
  .final .ctas .btn { flex: 1 1 100%; }
  footer.foot .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
  footer.foot .disc { grid-column: 1 / -1; margin-top: 10px; }
}

/* ---------- Pages d'aide : lecture confortable ---------- */
main.conteneur { padding-top: clamp(28px, 6vw, 48px); }
main.conteneur p, main.conteneur li { line-height: 1.7; }
main.conteneur .boite { border-radius: 20px; }
@media (max-width: 560px) { header:not(.top) .marque { font-size: 1.05rem; } header:not(.top) .marque img { width: 30px; height: 30px; } }

/* ---------- Transitions de page (fondu entre l'accueil, l'outil et les pages d'aide) ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Navigateurs intégrés (Telegram, Instagram, Messenger…) et Safari récent : leur barre d'adresse est
   transparente, et la page qui défile restait visible au-dessus de l'en-tête collé, qui semblait flotter
   au milieu. Un fond plein prolonge l'en-tête vers le haut, sous la barre du navigateur (04/11/2026). */
header.top::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh; background: var(--bg); pointer-events: none; }

/* ---------- Tableau comparatif (page compare) : défile seul sur téléphone, jamais la page ---------- */
.tableau { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  position: relative; left: 50%; transform: translateX(-50%); width: min(1080px, calc(100vw - 32px)); }
.tableau table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .92rem; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.tableau thead th { background: var(--surface-2); font-weight: 650; }
.tableau tbody th { font-weight: 650; white-space: nowrap; }
.tableau tbody tr:last-child th, .tableau tbody tr:last-child td { border-bottom: 0; }
.tableau tr.nous th, .tableau tr.nous td { background: var(--sun-soft); }
