/* ============================================================
   EFFISIUM — Site vitrine — Design system
   Flat colors only (NO gradients), Material vibe, dual theme.
   ============================================================ */

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── Palette : thème clair (défaut) ──────────────────────── */
:root {
  --primary:        #00547a;
  --primary-strong: #003e5c;
  --primary-soft:   #e2f0f6;
  --accent:         #d64a30;   /* warm accent from logo */
  --accent-soft:    #fbe6e0;

  --bg:        #f5f7f9;
  --surface:   #ffffff;
  --surface-2: #eef2f5;
  --text:      #14242e;
  --muted:     #5a6a74;
  --border:    #dde4ea;
  --success:   #1f8a5b;

  --shadow-sm: 0 1px 2px rgba(15, 35, 48, .06), 0 1px 3px rgba(15, 35, 48, .08);
  --shadow-md: 0 4px 12px rgba(15, 35, 48, .08), 0 2px 4px rgba(15, 35, 48, .06);
  --shadow-lg: 0 18px 40px rgba(15, 35, 48, .12), 0 6px 14px rgba(15, 35, 48, .08);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --maxw: 1180px;

  /* SVG ink colors used by background patterns (theme-aware) */
  --ink: 11, 64, 90;          /* rgb of primary-ish for patterns */
}

/* ── Palette : thème sombre ──────────────────────────────── */
[data-theme="dark"] {
  --primary:        #4db5da;
  --primary-strong: #7ccbe6;
  --primary-soft:   #102f3c;
  --accent:         #ef7d63;
  --accent-soft:    #3a221c;

  --bg:        #0c1419;
  --surface:   #131f27;
  --surface-2: #1a2832;
  --text:      #e7eef2;
  --muted:     #9bacb6;
  --border:    #243743;
  --success:   #43c98a;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 14px rgba(0,0,0,.45);
  --shadow-lg: 0 20px 44px rgba(0,0,0,.55);

  --ink: 120, 190, 215;
}

/* ── Icons ───────────────────────────────────────────────── */
.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 24px;
  line-height: 1;
  vertical-align: middle;
  user-select: none;
}

/* ── Helpers ─────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--border);
  padding: .35rem .8rem; border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: .9rem;
}
.section-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--muted); max-width: 62ch;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .98rem;
  padding: .8rem 1.4rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .material-symbols-rounded { font-size: 20px; }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary); color: #fff; box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
[data-theme="dark"] .btn-primary { color: #06222e; }

.btn-ghost {
  background: var(--surface); color: var(--text); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease, background-color .3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem clamp(1rem, 4vw, 2.5rem);
}
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; letter-spacing: -.01em; }
.brand-mark { border-radius: 8px; }
.brand-name { font-size: 1.18rem; }

.nav-links { display: flex; gap: .35rem; margin-left: auto; }
.nav-link {
  font-weight: 600; font-size: .92rem; color: var(--muted);
  padding: .5rem .8rem; border-radius: var(--radius-sm);
  transition: color .15s ease, background-color .15s ease;
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }

.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-actions .nav-links + & { margin-left: 0; }
.nav-links:not(:last-child) ~ .nav-actions { margin-left: .5rem; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
  transition: background-color .15s ease, color .15s ease, transform .12s ease;
}
.icon-btn:hover { color: var(--primary); transform: translateY(-1px); }
.nav-burger { display: none; }

/* ── Sections base ───────────────────────────────────────── */
section.block {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  overflow: hidden;
}
section.block > .container { position: relative; z-index: 1; }

/* alternating surface tint for rhythm */
section.block.tint { background: var(--surface); }

/* ── SVG background variants (NO gradients — patterns only) ─ */
/* Each uses a low-opacity inline SVG data-URI, theme tint via --ink overlay opacity. */
[data-bg="dots"]::before,
[data-bg="grid"]::before,
[data-bg="waves"]::before,
[data-bg="mesh"]::before,
[data-bg="rings"]::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: .5;
}
[data-theme="dark"] [data-bg]::before { opacity: .35; }

/* dots */
[data-bg="dots"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%2300547a' fill-opacity='0.18'/%3E%3C/svg%3E");
  background-size: 28px 28px;
}
[data-theme="dark"] [data-bg="dots"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%234db5da' fill-opacity='0.22'/%3E%3C/svg%3E");
}

/* grid */
[data-bg="grid"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M44 0H0V44' fill='none' stroke='%2300547a' stroke-opacity='0.12' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 44px 44px;
}
[data-theme="dark"] [data-bg="grid"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M44 0H0V44' fill='none' stroke='%234db5da' stroke-opacity='0.14' stroke-width='1'/%3E%3C/svg%3E");
}

/* waves (repeating wave path, no fill) */
[data-bg="waves"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Cpath d='M0 20 Q30 0 60 20 T120 20' fill='none' stroke='%2300547a' stroke-opacity='0.14' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 120px 40px;
}
[data-theme="dark"] [data-bg="waves"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Cpath d='M0 20 Q30 0 60 20 T120 20' fill='none' stroke='%234db5da' stroke-opacity='0.16' stroke-width='1.4'/%3E%3C/svg%3E");
}

/* mesh (crossing thin diagonal lines) */
[data-bg="mesh"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60 L60 0 M-15 15 L15 -15 M45 75 L75 45' stroke='%2300547a' stroke-opacity='0.10' stroke-width='1'/%3E%3Cpath d='M0 0 L60 60 M-15 45 L15 75 M45 -15 L75 15' stroke='%23d64a30' stroke-opacity='0.07' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
[data-theme="dark"] [data-bg="mesh"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60 L60 0 M-15 15 L15 -15 M45 75 L75 45' stroke='%234db5da' stroke-opacity='0.12' stroke-width='1'/%3E%3Cpath d='M0 0 L60 60 M-15 45 L15 75 M45 -15 L75 15' stroke='%23ef7d63' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
}

/* rings (concentric circles) */
[data-bg="rings"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%2300547a' stroke-opacity='0.10'%3E%3Ccircle cx='80' cy='80' r='20'/%3E%3Ccircle cx='80' cy='80' r='40'/%3E%3Ccircle cx='80' cy='80' r='60'/%3E%3Ccircle cx='80' cy='80' r='78'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 160px;
}
[data-theme="dark"] [data-bg="rings"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%234db5da' stroke-opacity='0.12'%3E%3Ccircle cx='80' cy='80' r='20'/%3E%3Ccircle cx='80' cy='80' r='40'/%3E%3Ccircle cx='80' cy='80' r='60'/%3E%3Ccircle cx='80' cy='80' r='78'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── HERO ────────────────────────────────────────────────── */
.hero { padding-top: clamp(3.5rem, 9vw, 6.5rem); }
.hero-inner { max-width: 880px; }
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900; line-height: 1.08; letter-spacing: -.03em;
  margin: .4rem 0 1.1rem;
}
.hero-sub {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 600; color: var(--primary); margin-bottom: 1rem;
}
.hero-text { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 60ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ── BULLES (floating trust badges) ──────────────────────── */
.bulles { padding: clamp(2rem, 5vw, 3rem) 0; }
.bulles-row {
  display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; align-items: center;
}
.bulle {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: .65rem 1.15rem; font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow-sm);
  animation: floaty 4s ease-in-out infinite;
  will-change: transform;
}
.bulle .material-symbols-rounded { color: var(--primary); font-size: 22px; }
.bulle:nth-child(2n)   { animation-duration: 4.6s; animation-delay: .3s; }
.bulle:nth-child(3n)   { animation-duration: 5.2s; animation-delay: .6s; }
.bulle:nth-child(4n)   { animation-duration: 4.2s; animation-delay: .9s; }
.bulle:nth-child(5n)   { animation-duration: 5.6s; animation-delay: 1.2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ── PRODUIT (alternating feature blocks) ───────────────── */
.produit-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.produit.sens-right .produit-media { order: -1; }   /* image on left when text on right */
.produit-copy .eyebrow { color: var(--accent); background: var(--accent-soft); }
.produit-head-icon {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--primary-soft); color: var(--primary);
  margin-bottom: 1rem;
}
.produit-head-icon .material-symbols-rounded { font-size: 30px; }
.produit-copy .lead { font-size: 1.05rem; color: var(--muted); margin: .8rem 0 1.4rem; }
.produit-copy .note { font-size: .95rem; color: var(--muted); margin-top: 1.2rem; }

.points { display: grid; gap: 1rem; margin: 1.2rem 0; }
.point { display: flex; gap: .85rem; align-items: flex-start; }
.point-icon {
  flex: none; display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--surface-2); color: var(--primary); border: 1px solid var(--border);
}
.point-icon .material-symbols-rounded { font-size: 22px; }
.point-body strong { display: block; font-weight: 700; }
.point-body span { color: var(--muted); font-size: .95rem; }

.produit-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }

.produit-media { position: relative; }
.shot {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  background: var(--surface);
}

/* ── REGLEMENTAIRE (icon grid) ──────────────────────────── */
.regl-head { text-align: center; margin: 0 auto 2.5rem; max-width: 760px; }
.regl-head .section-sub { margin: 0 auto; }
.regl-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.regl-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.regl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.regl-icon {
  display: inline-grid; place-items: center;
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 1rem;
}
.regl-icon .material-symbols-rounded { font-size: 26px; }
.regl-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .35rem; }
.regl-card p { color: var(--muted); font-size: .95rem; }

/* ── SCREENSHOTS (gallery) ──────────────────────────────── */
.gallery-head { text-align: center; margin: 0 auto 2.5rem; max-width: 760px; }
.gallery-head .section-sub { margin: 0 auto; }
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.gallery figure {
  margin: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
  cursor: zoom-in;
}
.gallery figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.gallery figcaption {
  padding: .8rem 1rem; font-size: .9rem; font-weight: 600; color: var(--muted);
  border-top: 1px solid var(--border);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  background: rgba(6, 16, 22, .82);
  padding: 4vw; cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: 92vw; max-height: 88vh; border-radius: 14px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12);
}
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.14); color: #fff;
  display: grid; place-items: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.26); }

/* ── CONTACT (form) ─────────────────────────────────────── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-intro .section-title { margin-top: .3rem; }
.contact-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; }
.contact-points li { display: flex; gap: .7rem; align-items: center; color: var(--muted); font-weight: 500; }
.contact-points .material-symbols-rounded { color: var(--success); }

.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  font: inherit; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: .75rem .9rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.form-msg { font-size: .92rem; font-weight: 600; }
.form-msg.ok  { color: var(--success); }
.form-msg.err { color: var(--accent); }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem; align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; margin-bottom: .8rem; }
.footer-about { color: var(--muted); font-size: .95rem; max-width: 38ch; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .9rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-col a { color: var(--text); font-weight: 500; font-size: .95rem; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between;
}

/* ── CTA / TEXTE (tolerant future types) ────────────────── */
.cta-band { text-align: center; }
.cta-band .section-title { margin-bottom: 1.2rem; }
.cta-band .hero-cta { justify-content: center; }
.texte-block { max-width: 70ch; }
.texte-block p { color: var(--muted); }

/* ── noscript ───────────────────────────────────────────── */
.noscript { max-width: 700px; margin: 3rem auto; padding: 2rem; text-align: center; }
.noscript h1 { margin-bottom: .8rem; }
.noscript a { color: var(--primary); font-weight: 600; }

/* ── Reveal on scroll ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 940px) {
  .produit-grid { grid-template-columns: 1fr; }
  .produit.sens-right .produit-media { order: 0; }
  .regl-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: inline-grid; }
  /* mobile menu drawer */
  .navbar.menu-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: .8rem clamp(1rem, 4vw, 2.5rem) 1.2rem; gap: .2rem;
    box-shadow: var(--shadow-md);
  }
  .navbar.menu-open .nav-link { padding: .8rem .6rem; font-size: 1rem; }
}
@media (max-width: 560px) {
  .regl-grid, .gallery, .form-row { grid-template-columns: 1fr; }
  .bulle { font-size: .88rem; padding: .55rem .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .bulle { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══ Pages légales (mentions légales / confidentialité) ═══ */
.legal-page { max-width: var(--maxw); margin: 0 auto; padding: 110px 22px 60px; }
.legal-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 38px clamp(20px, 5vw, 56px); max-width: 880px; margin: 0 auto;
}
.legal-wrap h1 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 22px; color: var(--text); }
.legal-content { color: var(--text); line-height: 1.7; font-size: 15.5px; }
.legal-content h2 { font-size: 20px; margin: 30px 0 10px; color: var(--primary-strong, var(--primary)); }
.legal-content h3 { font-size: 16px; margin: 20px 0 8px; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; }
.legal-content li { margin-bottom: 5px; }
.legal-content a { color: var(--primary); text-decoration: underline; }
.legal-content strong { color: var(--text); }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 14px; }
.legal-table th, .legal-table td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--surface-2); font-weight: 700; }
.legal-update, .legal-updated { color: var(--muted); font-size: 13px; margin-top: 22px; }

/* ═══ Footer légal ═══ */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 40px; }
.site-footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.site-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer-links a, .footer-legal-links a { color: var(--muted); text-decoration: none; }
.site-footer-links a:hover, .footer-legal-links a:hover { color: var(--primary); text-decoration: underline; }
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; }

/* ═══ Footer 3 colonnes (page d'accueil) ═══ */
.site-footer-cols {
  max-width: var(--maxw); margin: 0 auto; padding: 40px 22px 26px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px;
}
.site-footer-cols .sf-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--text); margin: 0 0 12px; }
.site-footer-cols .sf-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer-cols .sf-col a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-footer-cols .sf-col a:hover { color: var(--primary); }
.sf-brand .brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); margin-bottom: 10px; }
.sf-brand .brand-name { font-weight: 800; font-size: 17px; }
.sf-brand p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; max-width: 320px; }
.site-footer-bottom {
  border-top: 1px solid var(--border); padding: 16px 22px; text-align: center;
  color: var(--muted); font-size: 13px;
}
@media (max-width: 720px) {
  .site-footer-cols { grid-template-columns: 1fr; gap: 24px; padding-bottom: 18px; }
}
