/* ---------------------------------------------------------------------------
 * OxygenCast : page de présentation (oxygencast.com)
 * Même logique que oxygenstream.fr et oxygenevent.fr (Poppins, fond sombre #212121, bleu #5797BB),
 * avec « CAST » en indigo (#4a4a9f) : cette teinte devient la couleur principale du site.
 *
 * Poppins est AUTO-HÉBERGÉE (dossier /fonts) : aucune ressource tierce, aucune requête vers Google.
 * Aucun style en ligne dans les pages (compatible avec une politique de sécurité stricte).
 * ------------------------------------------------------------------------- */

@font-face { font-family:"Poppins"; font-style:normal; font-weight:400; font-display:swap; src:url("/fonts/poppins-latin-400.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:"Poppins"; font-style:normal; font-weight:400; font-display:swap; src:url("/fonts/poppins-latin-ext-400.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:"Poppins"; font-style:normal; font-weight:700; font-display:swap; src:url("/fonts/poppins-latin-700.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:"Poppins"; font-style:normal; font-weight:700; font-display:swap; src:url("/fonts/poppins-latin-ext-700.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --primary:#4a4a9f; --blue:#5797BB; --blue-d:#3f7fa6; --accent:#7c7fe8; --light:#b9b9ec;
  --dark:#212121; --ink:#212121; --muted:rgba(33,33,33,.7);
  --soft:#f0f1f9; --line:#dcdeee; --white:#fff;
  --grad:linear-gradient(to right,#3f7fa6,#4a4a9f);
  --radius:20px; --shadow:0 10px 30px rgba(33,33,60,.10); --shadow-lg:0 24px 60px rgba(14,14,43,.28);
  --maxw:1280px;
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:90px; }
body { margin:0; font-family:"Poppins",system-ui,sans-serif; font-size:1.0625rem; line-height:1.65; color:var(--ink); background:#fff; -webkit-font-smoothing:antialiased; }
img,svg { max-width:100%; }
img { display:block; height:auto; }
a { color:var(--primary); text-decoration:none; }
a:hover { color:var(--accent); }
:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }
h1,h2,h3,h4 { margin:0; line-height:1.15; font-weight:700; text-wrap:balance; }
p,li { text-wrap:pretty; }
p { margin:0 0 1em; }
ul { margin:0; padding:0; list-style:none; }
.container { width:100%; max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.skip { position:absolute; left:-999px; top:8px; background:#fff; padding:8px 14px; border-radius:8px; z-index:100; }
.skip:focus { left:8px; }
.sprite { position:absolute; width:0; height:0; overflow:hidden; }

/* ---------- boutons ---------- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:.5em; border-radius:12px; padding:.8em 1.7em; font:inherit; font-weight:700; font-size:1rem; line-height:1.2; cursor:pointer; border:2px solid transparent; white-space:nowrap; transition:box-shadow .25s, background-position .45s ease, background .15s, color .15s; }
.btn-primary { background:linear-gradient(to right,#3f7fa6,#4a4a9f,#3f7fa6); background-size:200% 100%; background-position:0 0; background-origin:border-box; color:#fff; box-shadow:0 6px 18px rgba(74,74,159,.35); }
.btn-primary:hover { color:#fff; background-position:100% 0; box-shadow:0 10px 24px rgba(74,74,159,.45); }
.btn-ghost { background:transparent; color:#fff; border-color:rgba(255,255,255,.75); }
.btn-ghost:hover { background:#fff; color:var(--primary); }
.btn-dark-ghost { background:transparent; color:var(--primary); border-color:var(--primary); }
.btn-dark-ghost:hover { background:var(--primary); color:#fff; }
.btn-sm { padding:.55em 1.3em; font-size:.95rem; }

/* ---------- en-tête : toujours visible, se compacte au défilement (assets/site.js) ---------- */
.header { position:sticky; top:0; z-index:50; background:#fff; box-shadow:0 1px 8px rgba(0,0,0,.08); transition:box-shadow .3s ease-in-out; }
.header.header-compact { box-shadow:0 2px 8px rgba(0,0,0,.12); }
.header .container { max-width:1700px; }
.header-in { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:12px; padding-bottom:12px; transition:padding .3s ease-in-out; }
.logo { flex:none; }
.logo img { height:30px; width:auto; transition:height .3s ease-in-out; }
.nav { display:none; }
.nav ul { display:flex; gap:clamp(14px,1.6vw,26px); align-items:center; }
.nav a { color:var(--ink); font-size:.95rem; white-space:nowrap; padding:6px 0; }
.nav a:hover { color:var(--blue); }
.nav a[aria-current] { color:var(--primary); text-decoration:underline; text-decoration-color:var(--blue); text-decoration-thickness:2px; text-underline-offset:7px; }
.header-cta { display:flex; align-items:center; gap:clamp(8px,1vw,14px); }
.header-cta .btn { display:none; }
.header-cta a.btn[aria-current] { background:var(--primary); color:#fff; }
@media (min-width:640px) { .header-cta .btn { display:inline-flex; } }
.burger { display:inline-flex; width:44px; height:44px; align-items:center; justify-content:center; background:none; border:0; cursor:pointer; border-radius:10px; }
.burger span { display:block; width:24px; height:2px; background:var(--ink); position:relative; transition:background .2s; }
.burger span::before,.burger span::after { content:""; position:absolute; left:0; width:24px; height:2px; background:var(--ink); transition:transform .2s; }
.burger span::before { top:-8px; } .burger span::after { top:8px; }
.burger[aria-expanded="true"] span { background:transparent; }
.burger[aria-expanded="true"] span::before { transform:translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform:translateY(-8px) rotate(-45deg); }
@media (min-width:768px) { .header-in { padding-top:16px; padding-bottom:16px; } .logo img { height:34px; } }
@media (min-width:1100px) { .header-in { padding-top:18px; padding-bottom:18px; } .nav { display:block; } .burger { display:none; } .logo img { height:38px; } }
@media (min-width:1536px) { .logo img { height:42px; } .nav a { font-size:1rem; } }
.header.header-compact .header-in { padding-top:6px; padding-bottom:6px; }
.header.header-compact .logo img { height:26px; }
.header.header-compact .header-cta .btn { padding-top:5px; padding-bottom:5px; }

/* sélecteur de langue FR / EN */
.lang { display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:10px; overflow:hidden; font-size:.85rem; line-height:1; }
.lang a,.lang b { padding:8px 12px; display:block; }
.lang b { background:var(--grad); color:#fff; }
.lang a { color:var(--ink); }
.lang a:hover { background:var(--soft); color:var(--primary); }

/* menu burger : panneau latéral */
.mobile-overlay { position:fixed; inset:0; background:rgba(33,33,33,.4); z-index:55; opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s; }
.mobile-overlay.open { opacity:1; visibility:visible; }
.mobile-panel { position:fixed; top:0; right:0; height:100%; width:85%; max-width:384px; z-index:60; background:var(--primary); color:#fff; padding:20px 24px 32px; overflow-y:auto; transform:translateX(100%); visibility:hidden; transition:transform .3s ease, visibility .3s; box-shadow:-10px 0 30px rgba(0,0,0,.25); }
.mobile-panel.open { transform:translateX(0); visibility:visible; }
.mp-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:30px; }
.mp-logo img { height:30px; width:auto; display:block; }
.mp-close { background:none; border:0; color:#fff; font-size:2.2rem; line-height:1; cursor:pointer; padding:2px 8px; border-radius:8px; }
.mp-close:focus-visible { outline:2px solid var(--light); }
.mobile-panel a:not(.btn) { display:block; padding:13px 0; color:#fff; font-size:1rem; border-bottom:1px solid rgba(255,255,255,.18); }
.mobile-panel a.mp-logo { padding:0; border-bottom:0; display:inline-block; }
.mobile-panel a:not(.btn):hover { color:var(--light); }
.mobile-panel a:not(.btn)[aria-current] { padding:13px 8px 13px 10px; margin-left:-10px; border-radius:4px; background:rgba(255,255,255,.12); box-shadow:inset 3px 0 var(--blue); font-weight:700; }
.mobile-panel .btn { margin-top:18px; width:100%; }
.mobile-panel .btn-primary { background:#fff; color:var(--primary); box-shadow:none; }
.mobile-panel .btn-primary:hover { background:#eef0fb; color:var(--primary); }
body.menu-open { overflow:hidden; }
@media (min-width:1100px) { .mobile-panel, .mobile-overlay { display:none; } }

/* ---------- hero ---------- */
.hero { position:relative; color:#fff; background:#12122b url("/images/hero-ondes.svg") center bottom/cover no-repeat; overflow:hidden; }
.hero-in { position:relative; padding-top:clamp(56px,9vw,120px); padding-bottom:clamp(48px,7vw,96px); text-align:center; }
.kicker { text-transform:uppercase; letter-spacing:.14em; font-weight:700; font-size:.82rem; color:var(--primary); margin-bottom:14px; }
.hero .kicker { color:var(--light); }
.hero h1 { font-size:clamp(2.3rem,6vw,4.6rem); letter-spacing:-.02em; margin-bottom:22px; }
.hero h1 em { font-style:normal; color:var(--light); }
.hero .lead { max-width:860px; margin:0 auto 34px; font-size:clamp(1.05rem,1.6vw,1.3rem); color:rgba(255,255,255,.92); }
.hero-cta { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-bottom:34px; }
.hero .btn-primary { background:#fff; color:var(--primary); box-shadow:none; }
.hero .btn-primary:hover { background:var(--light); color:#12122b; }
.chips { display:flex; flex-wrap:wrap; gap:10px 12px; justify-content:center; max-width:1000px; margin:0 auto; }
.chips li { display:inline-flex; align-items:center; gap:9px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.28); border-radius:10px; padding:8px 16px 8px 13px; font-weight:700; font-size:.92rem; color:#fff; }
.chips svg { width:20px; height:20px; stroke:var(--light); fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; flex:none; }

/* ---------- sections ---------- */
section { padding:clamp(56px,8vw,104px) 0; }
.sec-head { max-width:860px; margin-bottom:clamp(30px,5vw,52px); }
.sec-head.center { margin-left:auto; margin-right:auto; text-align:center; }
h2 { font-size:clamp(1.8rem,3.6vw,3.1rem); letter-spacing:-.015em; margin-bottom:16px; }
.sec-head p { color:var(--muted); font-size:1.15rem; }
.dark { background:var(--dark); color:#fff; }
.dark h2,.dark h3 { color:#fff; }
.dark .kicker { color:var(--light); }
.dark .sec-head p,.dark p,.dark li { color:rgba(255,255,255,.82); }
.dark a { color:var(--light); }
.soft { background:var(--soft); }

/* bandeau de repères */
.band { background:var(--grad); color:#fff; padding:34px 0; }
.band-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:22px 28px; }
@media (min-width:900px) { .band-grid { grid-template-columns:repeat(4,1fr); } }
.band b { display:block; font-size:1.2rem; line-height:1.25; margin-bottom:4px; }
.band span { font-size:.95rem; opacity:.95; }

/* cartes */
.grid { display:grid; gap:24px; grid-template-columns:1fr; }
@media (min-width:640px) { .g2,.g3,.g4 { grid-template-columns:repeat(2,1fr); } }
@media (min-width:960px) { .g3 { grid-template-columns:repeat(3,1fr); } .g4 { grid-template-columns:repeat(4,1fr); } }
.card { background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); padding:30px 28px; border:1px solid rgba(0,0,0,.04); display:flex; flex-direction:column; }
.card h3 { font-size:1.3rem; margin:16px 0 8px; }
.card p { color:var(--muted); margin:0; font-size:1rem; }
.card .more { margin-top:auto; padding-top:16px; font-weight:700; }
.dark .card { background:#2b2b34; border-color:rgba(255,255,255,.06); box-shadow:none; }
.dark .card p { color:rgba(255,255,255,.78); }
.ico { width:54px; height:54px; border-radius:14px; background:var(--grad); display:flex; align-items:center; justify-content:center; }
.ico svg { width:28px; height:28px; stroke:#fff; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

/* texte + visuel */
.split { display:grid; grid-template-columns:1fr; gap:clamp(28px,5vw,64px); align-items:center; }
@media (min-width:960px) { .split { grid-template-columns:1fr 1fr; } }
.split h2 { font-size:clamp(1.7rem,3vw,2.5rem); }
.ticks li { position:relative; padding-left:32px; margin:10px 0; }
.ticks li::before { content:""; position:absolute; left:0; top:.45em; width:18px; height:18px; border-radius:50%; background:var(--grad); }
.ticks li::after { content:""; position:absolute; left:6px; top:.62em; width:5px; height:9px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }
.visual { border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-lg); background:#12122b; }
.visual img { width:100%; }

/* étapes */
.steps { list-style:none; margin:0; padding:0; counter-reset:s; display:grid; gap:24px; grid-template-columns:1fr; }
@media (min-width:720px) { .steps { grid-template-columns:repeat(2,1fr); } }
@media (min-width:1100px) { .steps { grid-template-columns:repeat(4,1fr); } }
.step { padding:26px 24px; border-radius:var(--radius); background:#fff; box-shadow:var(--shadow); }
.step::before { counter-increment:s; content:counter(s); display:flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:50%; background:var(--grad); color:#fff; font-weight:700; margin-bottom:14px; }
.step h3 { font-size:1.2rem; margin-bottom:6px; }
.step p { margin:0; color:var(--muted); font-size:.98rem; }

/* FAQ */
.faq { max-width:900px; margin:0 auto; }
.faq details { background:#fff; border-radius:16px; box-shadow:var(--shadow); margin-bottom:14px; border:1px solid rgba(0,0,0,.04); }
.faq summary { cursor:pointer; list-style:none; padding:20px 56px 20px 24px; font-weight:700; position:relative; font-size:1.08rem; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; position:absolute; right:24px; top:50%; transform:translateY(-50%); font-size:1.6rem; color:var(--primary); transition:transform .2s; }
.faq details[open] summary::after { transform:translateY(-50%) rotate(45deg); }
.faq details p { padding:0 24px 22px; margin:0; color:var(--muted); }

/* ---------- contact ---------- */
.cta { background:var(--grad); color:#fff; text-align:center; }
.cta h2 { color:#fff; }
.cta > .container > p { color:rgba(255,255,255,.95); max-width:760px; margin:0 auto 28px; font-size:1.15rem; }
.btn-light { background:#fff; color:var(--primary); }
@media (hover:hover) { .cta .btn-light:hover { background:var(--dark); color:#fff; } }
.cform { max-width:720px; margin:0 auto 22px; text-align:left; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.28); border-radius:18px; padding:26px 28px; }
.cform label { display:block; font-weight:700; font-size:.92rem; color:#fff; margin-bottom:14px; }
.cform .row2 { display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
.cform input[type=text], .cform input[type=email], .cform input[type=tel], .cform textarea { display:block; width:100%; margin-top:6px; padding:11px 14px; border:1px solid transparent; border-radius:10px; font:inherit; font-size:1rem; color:#212121; background:#fff; }
.cform textarea { resize:vertical; min-height:120px; }
.cform input:focus, .cform textarea:focus { outline:3px solid rgba(255,255,255,.7); outline-offset:1px; }
.cform .consent { display:flex; gap:10px; align-items:flex-start; font-weight:400; font-size:.88rem; line-height:1.45; }
.cform .consent input { margin-top:3px; flex:none; width:18px; height:18px; }
.cform .consent a { color:#fff; text-decoration:underline; }
.cform .hp { position:absolute; left:-5000px; width:1px; height:1px; overflow:hidden; }
.cstatus { min-height:1.4em; margin:4px 0 12px !important; font-size:1rem !important; font-weight:700; text-align:left !important; }
.cstatus.ok { color:#c6f6d8; } .cstatus.err { color:#ffd9d4; }
.cform button { cursor:pointer; border:0; font:inherit; font-weight:700; }
.cform button:disabled { opacity:.6; cursor:wait; }
@media (max-width:640px) { .cform { padding:20px 16px; } .cform .row2 { grid-template-columns:1fr; } .cform button[type=submit] { width:100%; } }
.quick { max-width:900px; margin:34px auto 0; display:grid; grid-template-columns:1fr; gap:16px; text-align:left; }
@media (min-width:860px) { .quick { grid-template-columns:repeat(2,1fr); } }
.qcard { display:flex; gap:16px; align-items:flex-start; padding:22px 24px; border-radius:18px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.28); }
.qi { flex:none; width:48px; height:48px; border-radius:14px; background:#fff; display:flex; align-items:center; justify-content:center; }
.qi svg { width:26px; height:26px; stroke:var(--primary); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.qb { min-width:0; }
.qb h3 { color:#fff; font-size:1.1rem; margin:2px 0 8px; }
.qlink { display:inline-flex; vertical-align:top; align-items:center; margin:4px 8px 0 0; padding:6px 14px; border-radius:10px; border:1.5px solid rgba(255,255,255,.75); color:#fff; font-weight:700; font-size:.92rem; line-height:1.3; white-space:nowrap; transition:background .2s, color .2s; }
.qlink:hover, .qlink:focus-visible { background:#fff; color:var(--primary); }

/* ---------- pied de page ---------- */
.footer { background:var(--dark); color:#fff; padding:64px 0 22px; font-size:1rem; }
.footer-grid { display:grid; grid-template-columns:1fr; gap:34px; }
@media (min-width:720px) { .footer-grid { grid-template-columns:1.4fr 1fr 1fr 1.2fr; } }
.footer img { height:34px; width:auto; }
.footer h4 { font-size:1.1rem; margin-bottom:12px; }
.footer li { margin:6px 0; }
.footer a { color:rgba(255,255,255,.82); }
.footer a:hover { color:#fff; }
.footer p { color:rgba(255,255,255,.72); font-size:.95rem; margin-top:14px; max-width:320px; }
.copy { border-top:1px solid rgba(255,255,255,.14); margin-top:42px; padding-top:18px; color:rgba(255,255,255,.68); font-size:.9rem; display:flex; flex-wrap:wrap; gap:8px 24px; justify-content:space-between; }
.copy a { text-decoration:underline; }

/* ---------- pages légales et 404 ---------- */
.page-hero { background:var(--dark) linear-gradient(135deg,#2a2a5c 0%,#212121 70%); color:#fff; padding:clamp(48px,7vw,88px) 0 clamp(36px,5vw,56px); }
.page-hero h1 { font-size:clamp(2rem,4.5vw,3.4rem); letter-spacing:-.015em; }
.page-hero p { margin:14px 0 0; color:rgba(255,255,255,.82); }
.page-hero .kicker { color:var(--light); }
.page-hero.center { min-height:70vh; display:flex; align-items:center; text-align:center; }
.page-hero.center .btn { margin:6px; }
.legal { max-width:860px; margin:0 auto; padding:clamp(40px,6vw,72px) 24px; }
.legal section { padding:0 0 clamp(28px,4vw,44px); }
.legal h2 { font-size:clamp(1.4rem,2.6vw,1.9rem); margin:0 0 14px; padding-top:6px; }
.legal h3 { font-size:1.12rem; margin:22px 0 8px; }
.legal ul { list-style:disc; padding-left:1.4em; margin:0 0 1em; }
.legal li { margin:5px 0; }
.legal dl { margin:0 0 1em; display:grid; grid-template-columns:max-content 1fr; gap:6px 22px; }
.legal dt { font-weight:700; }
.legal dd { margin:0; }
@media (max-width:600px) { .legal dl { grid-template-columns:1fr; gap:0; } .legal dd { margin-bottom:10px; } }
.legal .note { background:var(--soft); border-radius:14px; padding:18px 22px; margin:18px 0; }
.legal .note p { margin:0; }
.legal-nav { display:flex; flex-wrap:wrap; gap:10px; margin:22px 0 0; }
.legal-nav a { background:rgba(255,255,255,.12); color:#fff; border-radius:10px; padding:6px 16px; font-size:.92rem; }
.legal-nav a:hover { background:#fff; color:var(--primary); }

@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { transition:none !important; } }
