/* ============================================================
   La météo du 13 — feuille de style (refonte 2026)
   Tokens en tête : couleurs, typographie, rayons, ombres.
   ============================================================ */
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --ink: #0b1526;
  --muted: #5c6b80;
  --line: #e2e8f0;
  --navy: #0a1b33;
  --navy-2: #10264a;
  --sky: #2e7cf6;
  --sky-deep: #1b5fd1;
  --sky-soft: #e4efff;
  --sun: #ffb02e;
  --sun-soft: #fff3dc;
  --rain: #22b8cf;
  --radar: linear-gradient(90deg, #4cc3ff 0%, #3ddc84 30%, #ffe25c 55%, #ff8a3d 78%, #ff3d5a 100%);
  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(11,21,38,.05), 0 6px 20px rgba(11,21,38,.06);
  --shadow-md: 0 12px 40px rgba(11,21,38,.10);
  --shadow-lg: 0 30px 80px rgba(11,21,38,.18);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; color: var(--ink); letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -.03em; }
h2 { font-size: clamp(28px, 3.8vw, 44px); }
h3 { font-size: clamp(19px, 2vw, 22px); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 760px; }
.text-center { text-align: center; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-deep); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--radar); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark p { color: #fff; }
.on-dark .lead { color: rgba(255,255,255,.75); }
.on-dark .eyebrow { color: #9cc3ff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }

section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-head { max-width: 680px; margin: 0 0 clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* Boutons ------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; font-family: var(--font-body); border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-decoration: none !important; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1c2a44; }
.btn-sky { background: var(--sky); color: #fff; box-shadow: 0 8px 24px rgba(46,124,246,.35); }
.btn-sky:hover { background: var(--sky-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: #c9d3e0; }
.btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn svg { width: 18px; height: 18px; }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badges img { height: 50px; width: auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.store-badges a:hover img { box-shadow: var(--shadow-md); }
.on-dark .store-badges img, .premium .store-badges img { border-color: rgba(255,255,255,.18); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.store-badges a:hover img { transform: translateY(-2px); }

/* Header : pilule flottante -------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 60; padding: 14px 0; pointer-events: none; }
.site-header .container { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border: 1px solid rgba(226,232,240,.8); border-radius: 999px; padding: 8px 10px 8px 12px; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease; }
.site-header.is-scrolled .container { box-shadow: var(--shadow-md); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 16px; text-decoration: none !important; padding-right: 8px; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.site-nav { display: flex; gap: 2px; align-items: center; }
.site-nav a { color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; text-decoration: none !important; transition: background .15s ease, color .15s ease; }
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.site-nav .nav-cta { background: var(--ink); color: #fff; margin-left: 6px; padding: 10px 18px; }
.site-nav .nav-cta:hover { background: #1c2a44; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
@media (max-width: 960px) {
  .site-header .container { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.96); }
  .nav-toggle { display: block; }
  /* Menu mobile : un panneau qui se déplie sous la pilule, dans les mêmes codes (surface blanche, arrondis, ombre) */
  .site-nav { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 4px); flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right; visibility: hidden; transition: opacity .22s ease, transform .22s cubic-bezier(.2,.8,.2,1), visibility 0s .22s; z-index: 65; }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .22s ease, transform .22s cubic-bezier(.2,.8,.2,1); }
  .site-nav a { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 17px; padding: 13px 16px; border-radius: 14px; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
  .site-nav .nav-cta { margin: 6px 0 0; background: var(--ink); color: #fff; text-align: center; padding: 14px 16px; border-radius: 999px; }
  .site-nav .nav-cta:hover { background: #1c2a44; color: #fff; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
}

/* Hero ------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; margin-top: -78px; padding: clamp(120px, 14vw, 170px) 0 0; background: var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(52% 60% at 82% 24%, rgba(46,124,246,.18), transparent 70%),
  radial-gradient(40% 40% at 15% 85%, rgba(255,176,46,.16), transparent 70%),
  radial-gradient(30% 30% at 55% 100%, rgba(34,184,207,.14), transparent 70%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: end; }
.hero-copy { padding-bottom: clamp(56px, 8vw, 100px); }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.chip .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--sun-soft); color: var(--sun); display: grid; place-items: center; font-size: 12px; }
.hero h1 { margin: 22px 0 16px; max-width: 12ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--sky), var(--rain)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 30px 0 28px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.proof-item { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.proof-item img { width: 30px; height: 30px; border-radius: 9px; background: #fff; padding: 5px; border: 1px solid var(--line); }
.proof-item b { font-family: var(--font-display); font-size: 18px; line-height: 1; display: block; }
.proof-item small { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }
.stars { display: inline-flex; gap: 1px; vertical-align: -1px; margin-left: 4px; }
.stars svg { width: 12px; height: 12px; fill: var(--sun); }
.hero-visual { position: relative; align-self: end; justify-self: center; width: min(100%, 420px); }
.hero-phone { width: min(78%, 330px); margin: 0 auto -8%; transform: rotate(-4deg) translateY(4%); filter: drop-shadow(0 40px 60px rgba(11,21,38,.28)); transition: transform .6s ease; }
.glass { position: absolute; background: rgba(255,255,255,.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-md); font-size: 13px; display: grid; gap: 2px; min-width: 150px; }
.glass b { font-family: var(--font-display); font-size: 20px; letter-spacing: -.02em; }
.glass small { color: var(--muted); font-size: 12px; }
.glass .k { font-weight: 700; color: var(--ink); }
.glass-1 { top: 12%; left: -10%; animation: float 7s ease-in-out infinite; }
.glass-2 { bottom: 26%; right: -8%; animation: float 8s ease-in-out infinite; animation-delay: -4s; }
/* Notifications qui défilent sous le titre --------------------------- */
.notif-ticker { position: relative; height: 72px; max-width: 500px; margin: 8px 0 18px; }
.notif-card { position: absolute; inset: 0; display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.95); border-radius: 20px; padding: 12px 14px; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(-70%) scale(.96); transition: transform .9s cubic-bezier(.22,.8,.2,1), opacity .7s ease; will-change: transform, opacity; }
.notif-card.is-in { opacity: 1; transform: none; }
.notif-card.is-out { opacity: 0; transform: translateY(60%) scale(.98); transition: transform .9s cubic-bezier(.5,0,.3,1), opacity .6s ease .15s; }
.notif-card img { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.notif-card div { display: grid; gap: 2px; min-width: 0; flex: 1; }
.notif-card b { font-size: 15px; line-height: 1.2; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-card span { font-size: 13px; color: var(--muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-card small { align-self: flex-start; font-size: 12px; color: var(--muted); flex: none; margin-top: 1px; }
@media (max-width: 520px) { .notif-ticker { height: 84px; } .notif-card b, .notif-card span { white-space: normal; overflow: visible; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } .notif-card b { -webkit-line-clamp: 2; font-size: 14px; } .notif-card span { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .notif-card { transition: none; } }
.glass .radar-bar { height: 6px; border-radius: 3px; background: var(--radar); margin-top: 6px; }
.glass .bolt { color: var(--sun); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 24px; }
  .hero h1 { max-width: none; }
  .hero-visual { width: min(100%, 360px); }
  .hero-phone { width: min(70%, 280px); transform: none; margin-bottom: -6%; }
  .glass-1 { left: 0; top: 8%; } .glass-2 { right: 0; bottom: 20%; }
}
@media (max-width: 520px) { .glass { min-width: 0; padding: 8px 11px; font-size: 11px; border-radius: 14px; } .glass b { font-size: 16px; } .glass small { font-size: 10px; } .glass-1 { left: 0; top: 6%; } .glass-2 { right: 0; bottom: 12%; max-width: 62%; } }

/* Défilé des communes ------------------------------------------- */
.communes { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; 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); }
.communes ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; width: max-content; animation: marquee 70s linear infinite; }
.communes li { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 34px; }
.communes li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .communes ul { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .glass, .hero-phone { animation: none; } }

/* Bento ------------------------------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; min-height: 300px; }
.card h3 { margin-top: 12px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-deep); }
.card .tag i { width: 26px; height: 26px; border-radius: 8px; background: var(--sky-soft); display: grid; place-items: center; font-style: normal; }
.card .tag i svg { width: 14px; height: 14px; }
.card-body { position: relative; z-index: 1; max-width: 420px; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
.card-prev { min-height: 440px; padding-right: 0; }
.card-prev .card-body { padding-right: 30px; }
.card-prev .phone-in { position: absolute; right: 6%; bottom: -16%; width: 250px; filter: drop-shadow(0 24px 40px rgba(11,21,38,.22)); }
.periods { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; align-items: center; }
.periods li { padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.periods li.opt { background: transparent; color: var(--muted); border: 1.5px dashed #b9c4d3; font-weight: 600; }
.periods li.legend { padding: 0 0 0 4px; background: none; color: var(--muted); font-size: 12px; font-weight: 500; flex-basis: 100%; }
.card-dark { background: var(--navy); border-color: transparent; color: #fff; }
.card-dark h3 { color: #fff; } .card-dark p { color: rgba(255,255,255,.72); } .card-dark .tag { color: #9cc3ff; } .card-dark .tag i { background: rgba(255,255,255,.12); }
.notif { margin-top: auto; padding-top: 18px; }
.notif-belt { flex: 1; min-height: 280px; position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); }
.belt-track { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; animation: belt-down 32s linear infinite; will-change: transform; }
@keyframes belt-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.notif-item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 9px 12px; display: flex; gap: 10px; align-items: center; font-size: 12px; color: #fff; line-height: 1.35; }
.notif-item img { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.notif-item div { min-width: 0; }
@media (prefers-reduced-motion: reduce) { .belt-track { animation: none; } }
.notif-item b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-item span { color: rgba(255,255,255,.7); }
.card-media { padding: 0; min-height: 360px; }
.card-media .card-body { padding: 28px 28px 0; }
.card-media .shot { margin: 22px auto 0; width: 76%; max-width: 280px; filter: drop-shadow(0 20px 36px rgba(11,21,38,.2)); margin-bottom: -30%; }
.card-media.tall .shot { margin-bottom: -22%; }
.card-webcam { background: var(--navy) url("../images/local/marseille.webp") center / cover; color: #fff; justify-content: flex-end; min-height: 360px; }
.card-webcam::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,27,51,.1), rgba(10,27,51,.92) 70%); }
.card-webcam h3, .card-webcam .tag { color: #fff; } .card-webcam p { color: rgba(255,255,255,.75); } .card-webcam .tag i { background: rgba(255,255,255,.16); }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; background: #ff3d5a; color: #fff; padding: 4px 10px; border-radius: 999px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.card-stations { flex-direction: row; align-items: center; gap: 24px; padding: 0; min-height: 320px; }
.card-stations .card-body { padding: 30px 0 30px 30px; flex: 1; }
.card-stations .shot { width: 42%; max-width: 260px; align-self: center; margin-top: -36%; margin-bottom: -46%; filter: drop-shadow(0 20px 36px rgba(11,21,38,.2)); flex: none; margin-right: 24px; }
.temp-row { display: flex; gap: 14px; margin-top: 18px; }
.temp { background: var(--surface-2); border-radius: 14px; padding: 10px 14px; min-width: 88px; }
.temp b { font-family: var(--font-display); font-size: 22px; display: block; letter-spacing: -.02em; }
.temp small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.temp.max b { color: #e8590c; } .temp.min b { color: var(--sky-deep); }
@media (max-width: 1000px) { .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 6; } }
@media (max-width: 680px) { .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; } }

/* Territoire : galerie défilante --------------------------------- */
.territoire { background: var(--surface); overflow: hidden; }
.territoire .section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }
@media (max-width: 680px) { .territoire .section-head { flex-direction: column; align-items: flex-start; gap: 12px; } }
.territoire .section-head > div { max-width: 640px; }
.scroller-nav { display: flex; gap: 8px; }
.scroller-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: background .15s ease; }
.scroller-nav button:hover { background: var(--surface-2); }
.scroller-nav svg { width: 18px; height: 18px; }
.scroller { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.place { flex: 0 0 min(78vw, 360px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; position: relative; scroll-snap-align: start; background: var(--navy-2); display: flex; align-items: flex-end; padding: 22px; isolation: isolate; }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.place:hover img { transform: scale(1.05); }
.place::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,27,51,0) 40%, rgba(10,27,51,.9)); }
.place-body h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.place-body p { color: rgba(255,255,255,.78); margin: 0; font-size: 14px; }
.place-body .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); padding: 5px 10px; border-radius: 999px; margin-bottom: 10px; }
.place-body .tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.credits { font-size: 12px; color: var(--muted); }
.credits a { color: var(--muted); text-decoration: underline; }

/* Sans publicité (dark) -------------------------------------------- */
.premium { position: relative; background: var(--navy) url("../images/local/orage.webp") center / cover no-repeat; overflow: hidden; }
.premium::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,27,51,.92) 30%, rgba(10,27,51,.55)); }
.premium .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.premium-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.premium-list li { display: flex; gap: 12px; align-items: flex-start; color: #fff; }
/* Anneaux de statut Prévi+ (argent, or, irisé) — matières reprises du document de référence */
.premium-list { --mat1: conic-gradient(from 208deg,#7E8A98 0deg,#DCE4EC 42deg,#A9B5C1 88deg,#FFFFFF 132deg,#8E9AA7 186deg,#CFD8E1 240deg,#93A0AD 292deg,#EEF3F8 336deg,#7E8A98 360deg);
                --mat2: conic-gradient(from 208deg,#A85F1A 0deg,#FFD98A 40deg,#E0912B 86deg,#FFF0C4 130deg,#C06E15 184deg,#F5B942 238deg,#CE8A1C 290deg,#FFE6A6 334deg,#A85F1A 360deg);
                --mat3: conic-gradient(from 196deg,#E8407A 0deg,#F0A22E 46deg,#EFD338 88deg,#66C94A 132deg,#2FA9C9 178deg,#2F6FD0 222deg,#6E4FC4 268deg,#B93FA8 312deg,#E8407A 360deg); }
.premium-list .ring { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px; display: grid; place-items: center; }
.premium-list .ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mat);
  -webkit-mask: radial-gradient(circle closest-side at 50% 50%, transparent 0 76%, #000 78% 100%); mask: radial-gradient(circle closest-side at 50% 50%, transparent 0 76%, #000 78% 100%); }
.premium-list .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: .5; background: linear-gradient(122deg, transparent 26%, rgba(255,255,255,.85) 43%, rgba(255,255,255,.2) 52%, transparent 63%);
  -webkit-mask: radial-gradient(circle closest-side at 50% 50%, transparent 0 76%, #000 78% 100%); mask: radial-gradient(circle closest-side at 50% 50%, transparent 0 76%, #000 78% 100%); }
.premium-list .ring i { font-style: normal; font-size: 11px; font-weight: 900; line-height: 1; background: var(--mat); -webkit-background-clip: text; background-clip: text; color: transparent; }
.premium-list .r1 { --mat: var(--mat1); filter: drop-shadow(0 0 3px rgba(255,255,255,.28)); }
.premium-list .r2 { --mat: var(--mat2); filter: drop-shadow(0 0 3px rgba(248,200,100,.4)); }
.premium-list .r3 { --mat: var(--mat3); filter: drop-shadow(0 0 3px rgba(226,150,215,.34)); }
.premium-price { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.premium-price small { font-size: 14px; color: rgba(255,255,255,.7); font-weight: 500; margin-left: 8px; font-family: var(--font-body); }
.premium-note { font-size: 13px; color: rgba(255,255,255,.65); margin: 14px 0 22px; }
.premium-note a { color: #fff; text-decoration: underline; }
.premium-visual { justify-self: center; width: min(100%, 300px); filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
@media (max-width: 860px) { .premium .container { grid-template-columns: 1fr; } .premium-visual { width: min(100%, 260px); justify-self: start; } }

/* Expertise --------------------------------------------------------- */
.expertise .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--navy) url("https://i.ytimg.com/vi/5MzS8yFNVBQ/hqdefault.jpg") center / cover no-repeat; cursor: pointer; box-shadow: var(--shadow-lg); }
.video::after { content: ""; position: absolute; inset: 0; background: rgba(10,27,51,.25); transition: background .2s ease; }
.video:hover::after { background: rgba(10,27,51,.08); }
.video .play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; z-index: 1; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s ease; }
.video:hover .play { transform: scale(1.06); }
.video .play svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 3px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing::after, .video.is-playing .play { display: none; }
.expert { display: flex; align-items: center; gap: 14px; margin: 22px 0 26px; }
.expert img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.expert b { display: block; font-family: var(--font-display); }
.expert small { color: var(--muted); }
.media-logos { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 24px 44px; align-items: center; justify-content: center; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.media-logos span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.media-logos img { height: 30px; width: auto; max-width: 140px; object-fit: contain; opacity: .75; }
@media (max-width: 860px) { .expertise .container { grid-template-columns: 1fr; } }

/* Équipe ------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.team-card .who { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 8px; }
.team-card .who b { font-family: var(--font-display); font-size: 18px; }
.team-card .who a { font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); text-decoration: none !important; white-space: nowrap; }
.team-card .who a:hover { background: var(--sky-soft); }
.team-card p { color: var(--muted); margin: 0; font-size: 15px; flex: 1; }
.person { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.person b { display: block; } .person small { color: var(--muted); }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }

/* CTA final ------------------------------------------------------------ */
.cta-final { background: var(--surface); border-top: 1px solid var(--line); text-align: center; }
.cta-final .store-badges { justify-content: center; margin-top: 26px; }
.cta-final .icon { width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 22px; box-shadow: var(--shadow-md); }

/* Pied de page ---------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: 14px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--radar); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 14px; text-decoration: none !important; }
.footer-brand img { width: 40px; height: 40px; border-radius: 11px; }
.site-footer h4 { color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--font-body); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .15s ease; }
.social a:hover { background: var(--sky); }
.social svg { width: 17px; height: 17px; fill: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.5); font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,.7); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Pages intérieures ------------------------------------------------------ */
.page-hero { position: relative; margin-top: -78px; padding: clamp(120px, 14vw, 160px) 0 clamp(36px, 5vw, 56px); background: var(--bg); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 85% 10%, rgba(46,124,246,.16), transparent 70%), radial-gradient(35% 40% at 10% 100%, rgba(255,176,46,.14), transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); }
.page-hero .meta { font-size: 13px; color: var(--muted); margin-top: 10px; }
.page-hero .lead { margin: 6px 0 0; max-width: 640px; }
.page-body { padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 8vw, 100px); }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 96px; display: grid; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 16px; }
.side-card .store-badges { flex-direction: column; align-items: stretch; }
.side-card .store-badges img { height: 46px; width: auto; }
@media (max-width: 900px) { .page-layout { grid-template-columns: 1fr; } .sidebar { position: static; } }

.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; font-size: clamp(22px, 2.6vw, 28px); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--r-md); box-shadow: var(--shadow-md); margin: 24px 0; }
.prose .note { background: var(--sky-soft); border-left: 3px solid var(--sky); padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 15px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0 24px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 700; }
.prose ol.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 10px; }
.prose ol.steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.prose ol.steps li::before { content: counter(step); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; font-family: var(--font-display); }
.icon-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.icon-list li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; display: flex; gap: 10px; align-items: center; }
.icon-list .emoji { font-size: 20px; }
.platform { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin: 24px 0; }
.platform-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.platform-head img { width: 28px; height: 28px; }
.platform-head h2 { margin: 0; font-size: 20px; }
.platform-body { padding: 20px; }
.direct-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 20px 0 8px; }
.direct-mini figure { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.direct-mini img { border-radius: 14px; box-shadow: var(--shadow-sm); margin: 0 0 10px; aspect-ratio: 9 / 11; object-fit: cover; object-position: top; width: 100%; }
.direct-mini figcaption { font-size: 14px; color: var(--muted); }
@media (max-width: 560px) { .direct-mini { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline > li { position: relative; padding: 0 0 36px 44px; }
.timeline > li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.timeline > li:first-child::before { background: var(--sun); }
.version { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.version h2 { margin: 0; font-size: 22px; }
.version time { color: var(--muted); font-size: 14px; }
.version .badge { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--sun-soft); color: #b3690a; padding: 3px 8px; border-radius: 6px; }
.timeline ul { margin: 0; padding-left: 1.2em; color: var(--ink); }

.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-family: var(--font-display); font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--sky); line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

.legal h2 { font-size: 20px; margin-top: 2em; }
.legal h3 { font-size: 17px; }
.legal .todo { background: #fff6d6; border: 1px dashed #e0b400; padding: 2px 6px; border-radius: 4px; font-weight: 700; }
.legal-toc { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; margin-bottom: 32px; }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; gap: 24px; font-size: 15px; }
.legal-toc li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }

/* Apparitions */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* Captures « écran nu » (sans cadre téléphone), affichées en entier -------- */
.screen-tile { background: linear-gradient(160deg, var(--sky-soft), #f7fafe); border-radius: 22px; padding: 22px; display: flex; justify-content: center; align-items: center; }
.screen { display: block; height: auto; width: min(100%, 230px); border-radius: 22px; border: 1px solid rgba(11,21,38,.08); box-shadow: 0 16px 40px rgba(11,21,38,.16); }
.card-media { padding: 28px; min-height: 0; }
.card-media .card-body { padding: 0 0 22px; }
.card-media .screen-tile { margin-top: auto; }
.card-media .screen { width: min(100%, 220px); }
.card-prev { min-height: 0; padding: 30px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.card-prev .card-body { padding: 0; }
.card-prev .screen-tile { height: 100%; }
.card-stations { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; padding: 30px; align-items: center; }
.card-stations .card-body { padding: 0; }

.premium-visual { width: min(100%, 320px); padding: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); filter: none; }
.premium-visual .screen { width: 100%; border-color: rgba(255,255,255,.2); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
@media (max-width: 680px) { .card-prev, .card-stations { grid-template-columns: 1fr; } }

/* Trois captures côte à côte, sans chevauchement (carte Stations) ---------- */
.screen-fan { display: flex; justify-content: center; align-items: flex-end; gap: 14px; padding: 26px; }
.screen-fan .screen { width: 31%; max-width: 200px; transition: transform .3s ease; }
.screen-fan .fan-2 { box-shadow: 0 16px 40px rgba(11,21,38,.16); }
.screen-fan .screen:hover { transform: translateY(-6px); }
@media (max-width: 680px) { .screen-fan { justify-content: flex-start; gap: 12px; padding: 18px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .screen-fan::-webkit-scrollbar { display: none; } .screen-fan .screen { flex: 0 0 62%; width: 62%; max-width: none; scroll-snap-align: center; } }
