/*
Theme Name: Rive Paiements
Theme URI: https://rivepaiements.com
Author: Marchand M.C INC.
Description: Thème du site Rive Paiements, revendeur officiel Square (Canada et France). Trois langues (fr-CA, en-CA, fr-FR), SEO/GEO intégré (titres, descriptions, hreflang, JSON-LD, sitemap, llms.txt, flux RSS), formulaire de prospects, calculateur d'économies.
Version: 1.2.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: Propriétaire
Text Domain: rive
*/

/* Inter auto-hébergée (assets/fonts, licence OFL) : aucun appel à Google Fonts (Loi 25, RGPD/CNIL, performance). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/inter-400.woff) format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-500.woff) format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/inter-600.woff) format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/inter-700.woff) format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/inter-800.woff) format("woff"); }
/* ============================================================================
   Rive Paiements — feuille de style (direction : squareup.com 2026)
   Blanc, noir, bleu. Titres en serif, texte en Inter, boutons arrondis,
   tuiles produits grises, sections noires (FAQ, pied de page).
   ============================================================================ */

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f5;
  --bg-3: #ebebeb;
  --ink: #000000;
  --ink-2: #4b4b4b;
  --ink-3: #767676;
  --line: #e2e2e2;
  --accent: #006aff;
  --accent-hover: #0057d3;
  --accent-ink: #ffffff;
  --accent-soft: #eaf2ff;
  --accent-soft-ink: #0046ad;
  --good: #0e7a36;
  --bad: #c7261f;
  --dark: #000000;
  --dark-2: #121212;
  --dark-ink: #ffffff;
  --dark-muted: #a9a9a9;
  --dark-line: rgba(255, 255, 255, 0.22);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 8px;
  --pill: 999px;
  --wrap: 1180px;
  --gutter: 16px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-arrive: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
  interpolate-size: allow-keywords;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --bg-2: #141414; --bg-3: #1f1f1f;
    --ink: #ffffff; --ink-2: #c2c2c2; --ink-3: #8f8f8f; --line: #2a2a2a;
    --accent: #3b8bff; --accent-hover: #5e9fff; --accent-soft: #0f2246; --accent-soft-ink: #9cc3ff;
    --dark: #0c0c0c; --dark-2: #161616; --dark-line: rgba(255, 255, 255, 0.18);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --bg-2: #141414; --bg-3: #1f1f1f;
  --ink: #ffffff; --ink-2: #c2c2c2; --ink-3: #8f8f8f; --line: #2a2a2a;
  --accent: #3b8bff; --accent-hover: #5e9fff; --accent-soft: #0f2246; --accent-soft-ink: #9cc3ff;
  --dark: #0c0c0c; --dark-2: #161616; --dark-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html { scrollbar-color: var(--ink-3) transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--accent); text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.band :focus-visible, .hero.dark :focus-visible, .site-footer :focus-visible, .story :focus-visible { outline-color: #fff; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: break-word; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.08; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.muted { color: var(--ink-2); }
.small { font-size: 0.9rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.num { font-variant-numeric: tabular-nums; font-weight: 600; }
.eyebrow { font-size: 0.95rem; font-weight: 500; color: var(--ink-2); margin: 0 0 1rem; }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); max-width: 36em; margin: 1.25rem 0 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.icon { width: 40px; height: 40px; color: var(--ink); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 48px; padding: 0 1.4rem; border-radius: var(--pill); border: 1px solid transparent; font: 600 0.95rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 160ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { height: 40px; padding: 0 1.1rem; font-size: 0.9rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: #fff; color: #000; border-color: #fff; }
.btn-light:hover { background: #e6e6e6; border-color: #e6e6e6; color: #000; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { --wrap: 1320px; }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo .mark { width: 30px; height: 30px; flex: 0 0 auto; }
.mark .waves { stroke: var(--bg); }
.site-footer .mark .waves { stroke: var(--dark); }
.logo .sub { font-weight: 400; color: var(--ink-2); font-size: 1rem; letter-spacing: 0; }
.auth-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-soft-ink); font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.auth-badge svg { width: 14px; height: 14px; }
.auth-badge.light { background: rgba(255, 255, 255, .12); color: #fff; font-size: 0.85rem; padding: .45rem .85rem; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: .5rem; }
.nav a { text-decoration: none; padding: .5rem .65rem; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-2); color: var(--ink); }
.nav .nav-cta { display: none; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-size: 0.85rem; font-weight: 500; padding: .45rem .7rem; border-radius: var(--pill); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 190px; padding: .4rem; display: grid; z-index: 60; }
.lang-menu a { text-decoration: none; padding: .55rem .7rem; border-radius: 8px; font-size: 0.9rem; }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--bg-2); color: var(--ink); }
.call-btn { display: none; align-items: center; gap: .35rem; height: 40px; padding: 0 .85rem; border-radius: var(--pill); background: var(--ink); color: var(--bg); font-size: 0.85rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.call-btn svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .call-btn { display: inline-flex; flex-shrink: 0; } .menu-btn { flex-shrink: 0; } }
@media (max-width: 520px) { .call-btn { width: 40px; padding: 0; justify-content: center; } .call-btn span { display: none; } }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: var(--radius-sm); cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; margin: auto; }
@media (max-width: 1280px) {
  .nav a { padding: .5rem .45rem; font-size: 0.9rem; }
  .site-header .auth-badge { display: none; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: .75rem var(--gutter) 1.25rem; flex-direction: column; align-items: stretch; gap: .15rem; box-shadow: var(--shadow); }
  .nav a { padding: .8rem .6rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav .nav-cta { display: inline-flex; margin-top: .75rem; justify-content: center; }
  .site-header.open .nav { display: flex; }
}

/* ---------- Fil d'Ariane ---------- */
.crumbs { padding: 1rem 0 0; font-size: 0.85rem; color: var(--ink-3); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--ink-3); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 40em; margin-bottom: 2rem; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin-top: .9rem; max-width: 40em; }
.section-foot { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2rem, 5vw, 3rem); }
.hero.dark { background: var(--dark); color: var(--dark-ink); padding: clamp(2rem, 5vw, 4rem) 0 0; overflow: hidden; }
.hero.dark .hero-grid { grid-template-columns: 1.15fr .85fr; min-height: calc(100svh - 68px - 4rem - 3.4rem); align-items: center; padding-bottom: clamp(2rem, 5vw, 4rem); }
.hero.dark h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
.hero.dark .lead { max-width: 30em; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise-solid { from { transform: translateY(22px); } to { transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(28px) scale(0.96); } to { opacity: 1; transform: none; } }
.js .hero.dark .r { animation: rise 700ms var(--ease-arrive) both; }
.js .hero.dark .r2 { animation: rise-solid 700ms var(--ease-arrive) both; } /* le H1 reste opaque : il est le candidat LCP dès le premier rendu */
.js .hero.dark .r3 { animation-delay: 140ms; }
.js .hero.dark .r4 { animation-delay: 220ms; }
.js .hero.dark .r5 { animation-delay: 300ms; }
.js .hero.dark .r6 { animation: settle 1000ms var(--ease-arrive) 120ms both; }
.js .product-hero > div:first-child { animation: rise-solid 700ms var(--ease-arrive) both; }
.js .product-hero .device-stage img { animation: settle 1000ms var(--ease-arrive) 120ms both; }
@media (prefers-reduced-motion: reduce) {
  .js .hero.dark .r, .js .hero.dark .r6, .js .product-hero .device-stage img { animation: rise 400ms ease both; transform: none; }
  .js .hero.dark .r2, .js .product-hero > div:first-child { animation: none; }
  @keyframes rise { from { opacity: 0; } to { opacity: 1; } }
}
.hero.dark .eyebrow, .hero.dark .lead { color: var(--dark-muted); }
.hero.dark .hero-grid { grid-template-columns: 1.05fr .95fr; }
.hero.dark .hero-art { min-height: 440px; }
.hero.dark .hero-art::before { content: ""; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%); }
.hero.dark .hero-art img { filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.hero.dark .hero-art .a1 { right: 0; top: 0; width: 100%; height: 100%; }
.ticker { border-top: 1px solid var(--dark-line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; }
.ticker ul { list-style: none; margin: 0; padding: 1rem 0; display: flex; gap: 2.5rem; padding-right: 2.5rem; white-space: nowrap; font-size: 0.9rem; font-weight: 500; color: var(--dark-muted); }
.ticker li { display: inline-flex; align-items: center; gap: 2.5rem; }
.ticker li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--dark-line); }
.ticker .ticker-label { color: #fff; }
@keyframes ticker { to { transform: translateX(-50%); } }
.js .ticker-track { animation: ticker 48s linear infinite; }
.js .ticker[data-off] .ticker-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .js .ticker-track { animation: none; } .ticker { mask-image: none; -webkit-mask-image: none; } .ticker ul { white-space: normal; flex-wrap: wrap; row-gap: .5rem; } .ticker ul[aria-hidden] { display: none; } }
.checks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.checks li { display: inline-flex; align-items: center; gap: .5rem; font-size: 0.95rem; font-weight: 500; }
.checks svg { width: 18px; height: 18px; color: #fff; }
@media (max-width: 860px) { .hero.dark .hero-grid { grid-template-columns: 1fr; } .hero.dark .hero-art { min-height: 300px; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero:not(.dark) .hero-grid h1, .product-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.hero-visual { display: flex; justify-content: center; }
.hero-card { background: var(--bg-2); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3.5rem); display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; overflow: hidden; }
.hero-art { position: relative; min-height: 360px; }
.hero-art img { position: absolute; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .18)); }
.hero-art .a1 { right: 0; top: 0; width: 72%; height: 78%; }
.hero-art .a2 { left: 0; bottom: 0; width: 42%; height: 42%; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: var(--pill); background: var(--bg); border: 1px solid var(--line); font-size: 0.85rem; font-weight: 500; color: var(--ink-2); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (max-width: 860px) {
  .hero-grid, .hero-card { grid-template-columns: 1fr; }
  .hero-art { min-height: 280px; }
}

/* ---------- Récit produit (scène épinglée) ---------- */
.story { background: var(--dark); color: var(--dark-ink); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.story-stage { position: sticky; top: 68px; height: calc(100svh - 68px); display: flex; align-items: center; justify-content: center; }
.story-media { position: relative; width: min(100%, 520px); aspect-ratio: 1; }
.story-media::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 62%); }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(24px) scale(0.94); filter: blur(6px) drop-shadow(0 30px 60px rgba(0,0,0,.6)); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out), filter 320ms var(--ease-out); }
.story-media img.is-on { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 30px 60px rgba(0,0,0,.6)); transition: opacity 640ms var(--ease-arrive), transform 820ms var(--ease-arrive), filter 640ms var(--ease-arrive); }
.story-steps { padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.story-h { font-size: 1.05rem; font-weight: 500; color: var(--dark-muted); margin-bottom: 1rem; letter-spacing: 0; }
.story-step { min-height: calc(100svh - 68px); display: flex; flex-direction: column; justify-content: center; padding: 2rem 0; }
.story-step:first-of-type { min-height: calc(100svh - 68px - 6rem); }
.story-big { font-weight: 700; font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; margin: 0 0 1.25rem; max-width: 12em; }
.story-text { color: var(--dark-muted); font-size: 1.2rem; line-height: 1.5; max-width: 30em; margin: 0; }
.story-step .hero-actions { margin-top: 1.75rem; }
.js .story-step { opacity: .28; transition: opacity 500ms var(--ease-out); }
.js .story-step.is-on { opacity: 1; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-stage { top: 68px; height: 38svh; z-index: 1; background: var(--dark); }
  .story-media { width: min(64%, 300px); }
  .story-steps { padding-top: 0; }
  .story-step, .story-step:first-of-type { min-height: calc(62svh - 68px); justify-content: center; padding: 1rem 0 2.5rem; }
  .story-h { padding-top: 1rem; }
  .story-big { font-size: clamp(2rem, 9vw, 2.8rem); }
}
@media (prefers-reduced-motion: reduce) {
  .story-media img { transform: none; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); transition: opacity 300ms ease; }
  .story-media img.is-on { transition: opacity 400ms ease; }
}

/* ---------- Entrée d'une liste (une fois, quand elle apparaît) ---------- */
@keyframes enter-item { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js .enter > * { opacity: 0; }
.js .enter.is-in > * { animation: enter-item 420ms var(--ease-out) both; }
.js .enter.is-in > :nth-child(2) { animation-delay: 50ms; }
.js .enter.is-in > :nth-child(3) { animation-delay: 100ms; }
.js .enter.is-in > :nth-child(4) { animation-delay: 150ms; }
.js .enter.is-in > :nth-child(5) { animation-delay: 200ms; }
.js .enter.is-in > :nth-child(6) { animation-delay: 250ms; }
@media (prefers-reduced-motion: reduce), print { .js .enter > * { opacity: 1; animation: none; } }

/* ---------- Liste des secteurs ---------- */
.sector-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sector-list li { border-bottom: 1px solid var(--line); }
.sector-list a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 1.25rem; padding: 1.25rem 0; text-decoration: none; color: var(--ink); }
.sector-list .icon { width: 40px; height: 40px; }
.sector-list strong { display: block; font-size: 1.15rem; font-weight: 600; }
.sector-list small { display: block; color: var(--ink-2); font-size: 0.95rem; margin-top: .15rem; max-width: 60ch; }
.sector-list .arrow { width: 22px; height: 22px; color: var(--ink-3); transition: transform 200ms var(--ease-out), color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .sector-list a:hover .arrow { transform: translateX(4px); color: var(--ink); } .sector-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 620px) { .sector-list a { grid-template-columns: 40px 1fr auto; gap: .9rem; } .sector-list .icon { width: 32px; height: 32px; } }

/* Bandeau de faits (4 colonnes avec séparateurs) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 1.5rem 1.5rem 1.5rem 0; border-left: 1px solid var(--line); padding-left: 1.5rem; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.stat span { display: block; color: var(--ink-2); font-size: 0.95rem; margin-top: .35rem; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Grilles et cartes ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--bg-2); border-radius: var(--radius); padding: 1.75rem; }
.card.outline { background: var(--bg); border: 1px solid var(--line); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-2); }
.card .icon { margin-bottom: 1rem; color: var(--ink); }
.card-link { display: block; text-decoration: none; color: inherit; transition: background-color 150ms ease, border-color 150ms ease; }
.card-link:hover { background: var(--bg-3); color: inherit; }
.card-link .more { display: inline-block; margin-top: 1rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.callout { background: var(--bg-2); border-radius: var(--radius); padding: 1.75rem 2rem; }
.callout h3 { margin-bottom: .5rem; }
.sticky-aside { position: sticky; top: 90px; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { padding: .35rem .75rem; border-radius: var(--pill); background: var(--bg); border: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-2); }

/* Tuiles produits */
.product-card { padding: 1rem 1rem 1.5rem; background: var(--bg); border: 1px solid var(--line); text-align: center; }
.product-card:hover { background: var(--bg); border-color: var(--ink-3); }
.product-card .device { height: 200px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; background: #0a0a0a; border-radius: 12px; padding: 1rem; }
.product-card .device img { max-height: 170px; width: auto; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0,0,0,.6)); transition: transform 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .product-card:hover .device img { transform: scale(1.04) translateY(-2px); } }
.product-card .device .icon { width: 72px; height: 72px; color: #fff; }
.product-card h3 { font-size: 1.15rem; }
.product-card p { font-size: 0.95rem; min-height: 2.9em; padding: 0 .5rem; }
.product-card .price { margin: .4rem 0 .6rem; font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.product-card .price small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.85rem; margin-top: .15rem; letter-spacing: 0; }
.product-card .more { margin-top: .5rem; }
.band .product-card { background: var(--dark-2); border-color: var(--dark-line); }
.band .product-card:hover { border-color: #fff; }

/* ---------- Sections noires ---------- */
.band { background: var(--dark); color: var(--dark-ink); }
.band .muted, .band .section-head p, .band .eyebrow, .band .lead { color: var(--dark-muted); }
.band a:hover { color: #fff; }
.band .card { background: var(--dark-2); color: var(--dark-ink); }
.band .card p { color: var(--dark-muted); }
.band .card h3 { color: var(--dark-ink); }
.band .card .icon { color: var(--dark-ink); }
.band .card-link:hover { background: #1f1f1f; }
.band .product-card .device { background: transparent; }
.band .product-card .price small { color: var(--dark-muted); }
.band .tag { background: transparent; border-color: var(--dark-line); color: var(--dark-muted); }
.band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.band .btn-ghost:hover { background: #fff; color: #000; }
.band .steps li { background: var(--dark-2); }
.band .steps p { color: var(--dark-muted); }
.band .checklist { color: var(--dark-ink); }
.band .kv dt { color: var(--dark-muted); }
.band .kv dd { color: var(--dark-ink); }
.band .callout { background: var(--dark-2); }
.band .plan ul { color: var(--dark-muted); }
.band .stats, .band .stat { border-color: var(--dark-line); }
.band .stat span { color: var(--dark-muted); }

/* ---------- Carte des frais (remplace le ticket) ---------- */
.receipt { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; width: 100%; max-width: 460px; }
.band .receipt { background: var(--dark-2); border-color: var(--dark-line); color: var(--dark-ink); }
.receipt-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding-bottom: .75rem; border-bottom: 1px solid var(--line); margin-bottom: .25rem; }
.band .receipt-head { border-color: var(--dark-line); }
.receipt-title { font-weight: 600; font-size: 1rem; }
.receipt-head span:last-child { font-size: 0.8rem; color: var(--ink-3); }
.band .receipt-head span:last-child { color: var(--dark-muted); }
.receipt-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.band .receipt-row { border-color: var(--dark-line); }
.receipt-row:last-of-type { border-bottom: 0; }
.receipt-row .k { color: var(--ink-2); }
.band .receipt-row .k { color: var(--dark-muted); }
.receipt-row .v { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt-row .v.zero { color: var(--good); }
.band .receipt-row .v.zero { color: #6fd38c; }
.receipt-total { display: flex; justify-content: space-between; font-weight: 600; padding-top: .75rem; border-top: 1px solid var(--line); }
.receipt-note { font-size: 0.82rem; color: var(--ink-3); margin: .9rem 0 0; }
.band .receipt-note { color: var(--dark-muted); }

/* ---------- Listes ---------- */
.checklist { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 1.7rem; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .4em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23000'/%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23000'/%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.band .checklist li { color: var(--dark-ink); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.25rem; margin: 1rem 0 0; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 500; }
.kv.wrap-dd { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.steps li { background: var(--bg-2); border-radius: var(--radius); padding: 1.6rem; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 600; color: var(--accent); margin-bottom: .8rem; font-size: 0.9rem; letter-spacing: .04em; }
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--ink-2); font-size: 0.95rem; }
.steps.vertical { grid-template-columns: 1fr; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }

/* Accordéons (atouts, FAQ) */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; font-weight: 600; font-size: 1.05rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h3 { font-size: 1.05rem; font-weight: 600; }
.acc summary::after { content: "+"; flex: 0 0 auto; font-size: 1.6rem; font-weight: 300; line-height: 1; color: var(--ink); width: 1.2em; text-align: center; }
.acc details[open] summary::after { content: "−"; }
.acc details > p, .acc details > div { padding: 0 0 1.3rem; color: var(--ink-2); max-width: 46em; }
.band .acc, .band .acc details { border-color: var(--dark-line); }
.band .acc summary::after { color: #fff; }
.band .acc details > p, .band .acc details > div { color: var(--dark-muted); }

details::details-content { height: 0; opacity: 0; overflow: clip; transition: height 220ms var(--ease-out), opacity 220ms var(--ease-out), content-visibility 220ms allow-discrete; }
details[open]::details-content { height: auto; opacity: 1; }
.acc summary::after, .faq-item summary::after { transition: transform 200ms var(--ease-out); }
.acc details[open] summary::after, .faq-item[open] summary::after { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { details::details-content { transition: opacity 150ms ease, content-visibility 150ms allow-discrete; } }

/* FAQ */
.faq { display: grid; gap: 0; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.05rem; font-weight: 600; }
.faq-item summary::after { content: "+"; flex: 0 0 auto; font-size: 1.7rem; font-weight: 300; line-height: 1; width: 1.2em; text-align: center; }
.faq-item[open] summary::after { content: "−"; }
.faq-item > p { color: var(--ink-2); padding: 0 0 1.4rem; max-width: 48em; }
.band .faq-item, .band .faq-item:last-child { border-color: var(--dark-line); }
.band .faq-item > p { color: var(--dark-muted); }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.96rem; }
th, td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; font-size: 0.9rem; background: var(--bg-2); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.v, th.v { white-space: nowrap; font-variant-numeric: tabular-nums; }
.article table { min-width: 420px; }
.cmp { min-width: 860px; font-size: 0.95rem; }
.cmp th[scope="row"] { background: var(--bg); font-weight: 600; font-size: 0.95rem; min-width: 11em; }
.cmp thead th { position: sticky; top: 0; z-index: 1; }
.cmp td { color: var(--ink-2); }
.cmp td.num { white-space: nowrap; color: var(--ink); }
.cmp td.num strong { font-size: 1.05rem; }
.cmp td.num small { white-space: normal; font-weight: 400; }
.cmp-prod { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.cmp-prod:hover span { text-decoration: underline; }
.cmp-prod img { width: 64px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.cmp-market { min-width: 760px; }
.cmp-market td.hl { background: var(--accent-soft); color: var(--ink); font-weight: 500; }
.cmp-market thead th:nth-child(2) { color: var(--accent); }
.band .table-wrap { border-color: var(--dark-line); background: var(--bg); color: var(--ink); }
.band .cmp th { color: var(--ink); }
.band .cmp td { color: var(--ink-2); }
.band .cmp td.hl { color: var(--ink); }
.band .cmp-market thead th:nth-child(2) { color: var(--accent); }
@media (max-width: 720px) { .cmp, .cmp-market { font-size: 0.9rem; } .cmp th, .cmp td { padding: .65rem .75rem; } }

/* ---------- Tarifs ---------- */
.fee-list { border-top: 1px solid var(--line); }
.fee { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.fee h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.fee p { color: var(--ink-2); font-size: 0.95rem; max-width: 40em; }
.fee .amt { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; text-align: right; }
.fee .amt small { display: block; font-size: 0.8rem; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
@media (max-width: 560px) { .fee { flex-direction: column; align-items: flex-start; gap: .5rem; } .fee .amt { text-align: left; } }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan .price { font-size: 1.6rem; font-weight: 600; margin: .5rem 0 1rem; letter-spacing: -0.02em; }
.plan ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); display: grid; gap: .35rem; font-size: 0.95rem; }

/* ---------- Fiche produit ---------- */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; background: var(--dark); color: var(--dark-ink); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3.5rem); }
.product-hero .eyebrow, .product-hero .lead { color: var(--dark-muted); }
.product-hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.product-hero .btn-ghost:hover { background: #fff; color: #000; }
.device-stage { display: flex; align-items: center; justify-content: center; min-height: 320px; position: relative; }
.device-stage::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%); }
.device-stage img { position: relative; max-height: 420px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }
.device-stage .icon { width: 160px; height: 160px; color: #fff; }
.price-tag { margin-top: 1.5rem; font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; }
.price-tag small { display: block; font-size: 0.95rem; font-weight: 400; color: var(--dark-muted); margin-top: .2rem; letter-spacing: 0; }
.product-bar { position: sticky; top: 68px; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.product-bar .inner { display: flex; align-items: center; gap: 1rem; height: 60px; }
.product-bar .name { font-weight: 600; }
.product-bar .pprice { color: var(--ink-2); font-size: 0.95rem; }
.product-bar .actions { margin-left: auto; display: flex; gap: .5rem; }
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-strip div { padding: 1.5rem 1.25rem; border-left: 1px solid var(--line); text-align: center; font-weight: 600; }
.feature-strip div:first-child { border-left: 0; }
.feature-strip small { display: block; font-weight: 400; color: var(--ink-2); margin-top: .25rem; font-size: 0.9rem; }
@media (max-width: 860px) { .product-hero { grid-template-columns: 1fr; } .device-stage { min-height: 240px; } .device-stage img { max-height: 300px; } .product-bar .pprice, .product-bar .actions .btn-ghost { display: none; } }
@media (max-width: 760px) { .feature-strip { grid-template-columns: 1fr 1fr; } .feature-strip div:nth-child(odd) { border-left: 0; } .feature-strip div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: .8rem .9rem; border: 1px solid #bdbdbd; border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); }
.check input { margin-top: .25rem; width: 18px; height: 18px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.form-status { margin-top: 1rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--bg-2); }
.form-status.err { background: #fdecec; color: #7a1a15; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Calculateur ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; background: var(--bg-2); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); }
.calc-inputs { display: grid; gap: 1.1rem; }
.calc-inputs label { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; font-weight: 500; }
.calc-inputs output { font-weight: 600; white-space: nowrap; }
.calc-inputs input[type="range"] { width: 100%; accent-color: var(--accent); margin: .4rem 0 0; }
.calc-result { background: var(--bg); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.calc-result .row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.calc-result .row .v { font-weight: 600; }
.calc-result .total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1rem 0 .5rem; font-weight: 600; font-size: 1.1rem; }
.calc-result .total .v { font-size: 1.9rem; color: var(--good); letter-spacing: -0.02em; }
.calc-result .total .v.neg { color: var(--bad); }
.calc-result .note, .calc-result .neg-msg { font-size: 0.82rem; color: var(--ink-3); margin: .5rem 0 0; }
.calc-result .neg-msg { color: var(--bad); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band { background: var(--bg); color: var(--ink); }
.cta-inner { background: var(--bg-2); border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; }
.cta-inner h2 { max-width: 16em; margin-inline: auto; }
.cta-inner p { max-width: 40em; margin: 1rem auto 0; color: var(--ink-2); font-size: 1.1rem; }
.cta-inner .hero-actions { justify-content: center; }
.cta-band .btn-light { background: var(--accent); color: #fff; border-color: var(--accent); }
.cta-band .btn-light:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.cta-band .btn-outline-light { color: var(--ink); border-color: var(--ink); }
.cta-band .btn-outline-light:hover { background: var(--ink); color: var(--bg); }

/* ---------- Blogue / article ---------- */
.post-card .date { display: block; font-size: 0.85rem; color: var(--ink-3); margin-bottom: .6rem; }
.article-head { max-width: 46em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--ink-3); font-size: 0.9rem; margin: 1rem 0; }
.article, .prose { max-width: 46em; font-size: 1.08rem; line-height: 1.65; }
.article h2, .prose h2 { font-size: 1.9rem; margin: 2.2rem 0 .8rem; }
.article h3, .prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
.article p, .prose p { margin-bottom: 1.1em; }
.article ul, .article ol, .prose ul, .prose ol { padding-left: 1.3rem; }
.article li, .prose li { margin-bottom: .4em; }
.article .table-wrap { margin: 1.2rem 0; }
.article table { font-size: 0.95rem; }
.author { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-2); border-radius: var(--radius); padding: 1.25rem 1.5rem; max-width: 46em; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 600; flex: 0 0 auto; }
.author p { color: var(--ink-2); font-size: 0.95rem; margin: .3rem 0 0; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 5rem 0; }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 15vw, 9rem); line-height: 1; letter-spacing: -0.05em; font-weight: 700; }
.notfound h1 { font-size: 2rem; margin-top: 1rem; }
.notfound .lead { margin-inline: auto; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--dark); color: var(--dark-ink); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.site-footer .logo { color: #fff; }
.site-footer .logo:hover { color: #fff; }
.site-footer h4 { font-size: 0.9rem; font-weight: 500; color: var(--dark-muted); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer ul a { text-decoration: none; font-size: 0.95rem; }
.site-footer ul a:hover { text-decoration: underline; color: #fff; }
.site-footer .tagline { color: var(--dark-muted); margin: 1rem 0; max-width: 32em; }
.site-footer .auth-badge { background: rgba(255, 255, 255, .1); color: #fff; }
.footer-contact { display: grid; gap: .35rem; color: var(--dark-muted); font-size: 0.92rem; }
.footer-contact a { color: #fff; }
.footer-bottom { border-top: 1px solid var(--dark-line); margin-top: 2.5rem; padding-top: 1.5rem; display: grid; gap: 1rem; color: var(--dark-muted); font-size: 0.82rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.footer-legal a, .footer-legal button { color: var(--dark-muted); background: none; border: 0; font: inherit; cursor: pointer; padding: 0; text-decoration: none; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; text-decoration: underline; }
.disclaimer { max-width: 80em; line-height: 1.5; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Consentement ---------- */
.consent { position: fixed; left: 1rem; bottom: 1rem; z-index: 90; max-width: 440px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow); }
.consent h3 { font-size: 1rem; margin-bottom: .4rem; }
.consent p { font-size: 0.9rem; color: var(--ink-2); }
.consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; }
.consent-actions a { font-size: 0.85rem; margin-left: auto; }
@media (max-width: 520px) { .consent { left: .5rem; right: .5rem; max-width: none; } }

/* ---------- Divers ---------- */
.rive-divider { display: none; }
::selection { background: var(--accent); color: #fff; }

/* Page Inscription : formulaire dans le héros, lien Square direct en second */
.signup-hero .hero-grid { align-items: start; }
.signup-form { width: 100%; background: var(--bg); color: var(--ink); }
.direct-link { margin: 1.5rem 0 0; font-size: 0.95rem; }
.direct-link a { color: inherit; text-underline-offset: 3px; }
.ts-box { margin: .25rem 0 1rem; min-height: 65px; }
/* Après envoi, le script masque les champs (attribut hidden) : il doit l'emporter sur display:grid/flex */
.form [hidden] { display: none !important; }
