/* ================================================================
   CTM Web TV — Styles
   CEL TECH MEDIA : bleu nuit · bleu roi · or
   ================================================================ */

:root {
    /* Couleurs de la marque (logo CTM) */
    --bleu:       #2453E0;
    --bleu-fonce: #0E2A86;
    --or:         #F2B51E;
    --or-clair:   #FFD866;
    --or-fonce:   #B8860B;
    --or-degrade: linear-gradient(180deg, #FFE08A, #F2B51E 55%, #C8901A);
    --rouge:      #E3202F;    /* uniquement pour les voyants « en direct » */

    /* Interface : base bleu nuit, comme le bandeau bas des affiches */
    --blanc:   #FFFFFF;
    --bg:      #040B24;
    --bg-2:    #071338;
    --line:    rgba(255, 255, 255, .10);
    --text:    #F3F5FB;
    --muted:   #AFBAD8;
    --faint:   #7C89B0;

    --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --script: "Dancing Script", "Segoe Script", cursive;
    --wrap: 1200px;
    --gutter: 24px;
    --header-h: 66px;
    --radius: 16px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html {
    color-scheme: dark;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(65% 55% at 0% 0%, rgba(36, 83, 224, .38), transparent 70%),
        radial-gradient(50% 40% at 100% 0%, rgba(242, 181, 30, .12), transparent 70%);
    background-repeat: no-repeat;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; border-radius: 6px; }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.ico { width: 22px; height: 22px; flex: none; }

/* ─── Marque ─── */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .emblem { width: 40px; height: 40px; flex: none; border-radius: 50%; }
.wordmark {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1;
    white-space: nowrap;
}
.wordmark span { font-weight: 500; margin-left: .3em; color: var(--or); }

/* ─── Filet doré, comme sur les affiches ─── */
.gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--or-fonce) 12%, var(--or-clair) 50%, var(--or-fonce) 88%, transparent);
    box-shadow: 0 0 14px rgba(242, 181, 30, .35);
}
.gold-line--lg { height: 3px; }

/* ═════════════ EN-TÊTE ═════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(4, 11, 36, .84);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav { display: flex; gap: 4px; }
.nav a {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    transition: color .2s, background .2s;
}
.nav a:hover { color: var(--blanc); background: rgba(255, 255, 255, .07); }

.on-air {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px 6px 11px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .06);
    color: var(--muted);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background .3s, color .3s;
}
.on-air i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }

body[data-live="on"] .on-air { background: var(--rouge); border-color: transparent; color: var(--blanc); }
body[data-live="on"] .on-air i { background: var(--blanc); animation: pulse 1.6s ease-in-out infinite; }
body[data-live="loading"] .on-air i { background: var(--or); animation: blink 1s ease-in-out infinite; }

/* ═════════════ DIRECT ═════════════ */
.hero { flex: 1; padding: 28px 0 56px; }

.player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    isolation: isolate;
    background: #000;
    border-radius: var(--radius);
    box-shadow:
        0 0 0 1px rgba(242, 181, 30, .22),
        0 30px 80px -24px rgba(0, 0, 0, .85),
        0 0 80px -24px rgba(36, 83, 224, .65);
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.player video,
.player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
    object-fit: contain;
}

.player:fullscreen { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.player:-webkit-full-screen { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }

.player[data-state="live"]:not(.ui-on) { cursor: none; }

/* Badge EN DIRECT */
.p-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: none;
    align-items: center;
    gap: 7px;
    padding: 5px 11px 5px 9px;
    border-radius: 6px;
    background: var(--rouge);
    color: var(--blanc);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(227, 32, 47, .45);
    pointer-events: none;
}
.p-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--blanc); animation: pulse 1.6s ease-in-out infinite; }

/* Bouton « Activer le son » (lecture auto en muet) */
.p-unmute {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px 8px 12px;
    border-radius: 999px;
    background: var(--or-degrade);
    color: var(--bg);
    font-size: .85rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
    animation: nudge 2.4s ease-in-out infinite;
}
.p-unmute .ico { width: 18px; height: 18px; }

/* Chargement */
.p-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: none;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .18);
    border-top-color: var(--or);
    animation: spin .8s linear infinite;
    pointer-events: none;
}

/* Grand bouton lecture */
.p-bigplay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none;
    place-items: center;
    background: rgba(4, 11, 36, .35);
}
.p-bigplay span {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--or-degrade);
    color: var(--bg);
    box-shadow: 0 10px 40px rgba(242, 181, 30, .45);
    transition: transform .2s var(--ease);
}
.p-bigplay:hover span { transform: scale(1.07); }
.p-bigplay svg { width: 34px; height: 34px; margin-left: 4px; }

/* Écran hors antenne / interlude animé
   --beat et --level sont mis à jour par script.js au rythme de la musique */
.p-offline {
    --emblem: 84px;
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    place-items: center;
    padding: 24px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(80% 70% at 50% 40%, #0B1D5C, var(--bg) 75%);
}
.player.is-fs .p-offline { --emblem: clamp(64px, 12vh, 140px); }
.p-offline:has(.p-ivol[data-audio="pending"]) { cursor: pointer; }

/* Canvas : halo de fréquences, onde sonore, particules */
.p-interlude-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Bandes lumineuses qui défilent, plus vives quand la musique monte */
.p-interlude-bands {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: calc(.6 + var(--level, 0) * 1.2);
}
.p-interlude-bands .band {
    position: absolute;
    width: 200%;
    height: 5px;
    opacity: .3;
    filter: blur(2px);
    animation: band-slide 8s linear infinite;
}
.band-1 {
    background: linear-gradient(90deg, transparent, var(--bleu), transparent);
    top: 28%;
    animation-delay: 0s;
}
.band-2 {
    background: linear-gradient(90deg, transparent, var(--or), transparent);
    top: 50%;
    animation-delay: -2.6s;
}
.band-3 {
    background: linear-gradient(90deg, transparent, var(--bleu), transparent);
    top: 72%;
    animation-delay: -5.2s;
}

/* Logo qui bat au rythme de la musique (le halo est dessiné autour, sur le canvas) */
.p-interlude-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto calc(var(--emblem) * .62);
    transform: scale(calc(1 + var(--beat, 0) * .1));
}
.p-offline .p-interlude-logo .emblem {
    width: var(--emblem);
    height: var(--emblem);
    position: relative;
    z-index: 2;
    border-radius: 50%;
    animation: logo-breathe 3s ease-in-out infinite;
    filter: drop-shadow(0 0 18px rgba(242, 181, 30, .45));
}

.p-offline-inner {
    position: relative;
    z-index: 2;
    max-width: 480px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .85);
}
.p-offline h2 { font-size: clamp(1.05rem, .9rem + 1vw, 1.6rem); font-weight: 800; line-height: 1.25; }
.p-offline p { margin-top: 6px; color: var(--muted); font-size: clamp(.82rem, .78rem + .3vw, 1rem); }
.p-offline .p-detail { margin-top: 12px; color: var(--faint); font-size: .78rem; }

/* Bandeau défilant doré, comme « Votre image, notre expertise » sur l'affiche */
.p-ticker {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 36px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--or-fonce), var(--or-clair) 50%, var(--or-fonce));
    display: flex;
    align-items: center;
}
.p-ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 24s linear infinite;
}
.p-ticker-track span {
    display: inline-block;
    padding: 0 2em;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--bg);
}

/* Son de l'interlude : bouton + réglage du volume */
.p-ivol {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 4px;
    border-radius: 999px;
    background: rgba(4, 11, 36, .55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(242, 181, 30, .3);
    color: var(--blanc);
    cursor: auto;
    transition: background .2s, color .2s;
}
.p-ivol-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    transition: background .2s;
}
.p-ivol-btn:hover { background: rgba(255, 255, 255, .14); }
.p-ivol-btn .ico { width: 20px; height: 20px; }
.p-ivol-label { display: none; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.p-ivol input { width: 92px; margin: 0 12px 0 6px; }

.p-ivol .i-sound-off,
.p-ivol[data-audio="pending"] .i-sound-on,
.p-ivol[data-audio="muted"] .i-sound-on { display: none; }
.p-ivol[data-audio="pending"] .i-sound-off,
.p-ivol[data-audio="muted"] .i-sound-off { display: block; }

/* Avant le premier clic, le navigateur bloque le son : on invite à l'activer */
.p-ivol[data-audio="pending"] {
    background: var(--or-degrade);
    border-color: transparent;
    color: var(--bg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
    animation: nudge 2.4s ease-in-out infinite;
}
.p-ivol[data-audio="pending"] .p-ivol-btn { padding: 0 12px 0 8px; }
.p-ivol[data-audio="pending"] .p-ivol-btn:hover { background: transparent; }
.p-ivol[data-audio="pending"] .p-ivol-label { display: inline; }
.p-ivol[data-audio="pending"] input { display: none; }

@media (pointer: coarse) {
    .p-ivol input::-webkit-slider-thumb { width: 18px; height: 18px; }
    .p-ivol input::-moz-range-thumb { width: 18px; height: 18px; }
}

/* Interlude-specific keyframes */
@keyframes band-slide {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}
@keyframes logo-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Barre de contrôles */
.p-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: none;
    align-items: center;
    gap: 2px;
    padding: 48px 10px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.p-btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--blanc);
    transition: background .2s;
}
.p-btn:hover { background: rgba(255, 255, 255, .14); }
.p-btn .ico { width: 24px; height: 24px; }
.p-spacer { flex: 1; }

.p-volume { display: flex; align-items: center; }
.p-volume input {
    width: 0;
    opacity: 0;
    transition: width .25s var(--ease), opacity .2s, margin .25s var(--ease);
}
.p-volume:hover input,
.p-volume:focus-within input { width: 84px; opacity: 1; margin: 0 8px 0 4px; }

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--or) var(--v, 100%), rgba(255, 255, 255, .3) var(--v, 100%));
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    border: 0;
    border-radius: 50%;
    background: var(--or);
}
input[type="range"]::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border: 0;
    border-radius: 50%;
    background: var(--or);
}

.p-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    margin-left: 6px;
    padding: 0 10px;
    border-radius: 6px;
    color: var(--blanc);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: background .2s, color .2s;
}
.p-live:hover { background: rgba(255, 255, 255, .14); }
.p-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 3px rgba(227, 32, 47, .3); }
.player.is-behind .p-live { color: var(--muted); }
.player.is-behind .p-live i { background: var(--faint); box-shadow: none; }

/* Icônes alternées */
.i-pause, .i-muted, .i-fs-exit { display: none; }
.player[data-state="live"] .i-play { display: none; }
.player[data-state="live"] .i-pause { display: block; }
.player.is-muted .i-vol { display: none; }
.player.is-muted .i-muted { display: block; }
.player.is-fs .i-fs { display: none; }
.player.is-fs .i-fs-exit { display: block; }

/* ─── Affichage selon l'état du lecteur ─── */
.player[data-state="loading"] .p-spinner,
.player[data-state="live"].is-waiting .p-spinner { display: block; }

.player[data-state="paused"] .p-bigplay { display: grid; }

.player[data-state="offline"] .p-offline,
.player[data-state="error"] .p-offline,
.player.is-retrying[data-state="loading"] .p-offline { display: grid; }

.player[data-state="live"] .p-badge,
.player[data-state="paused"] .p-badge { display: inline-flex; }

.player[data-state="live"] .p-controls,
.player[data-state="paused"] .p-controls { display: flex; }

.player.ui-on .p-controls,
.player[data-state="paused"] .p-controls { opacity: 1; transform: none; pointer-events: auto; }

.player:not([data-state="live"]):not([data-state="paused"]) .p-unmute { display: none; }

/* Mode lecteur intégré (iframe MediaCP) : il a ses propres contrôles */
.player.is-iframe .p-badge,
.player.is-iframe .p-controls,
.player.is-iframe .p-bigplay,
.player.is-iframe .p-spinner,
.player.is-iframe .p-unmute { display: none !important; }

/* ─── Sous le lecteur ─── */
.now {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 22px;
}
.now h1 {
    font-size: clamp(1.2rem, 1rem + 1vw, 1.65rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
}
.now h1 span { font-weight: 400; color: var(--muted); }
.now p { margin-top: 4px; color: var(--muted); font-size: .95rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    font-size: .9rem;
    font-weight: 600;
    transition: background .2s, color .2s, border-color .2s, filter .2s;
}
.btn:hover { background: var(--or); border-color: var(--or); color: var(--bg); }
.btn .ico { width: 18px; height: 18px; }
.btn--gold { background: var(--or-degrade); border-color: transparent; color: var(--bg); }
.btn--gold:hover { background: var(--or-degrade); border-color: transparent; filter: brightness(1.08); }

/* ═════════════ SECTIONS ═════════════ */
.section { padding: 88px 0; }
.section--alt {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(14, 42, 134, .28), rgba(4, 11, 36, 0) 70%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--or);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--or); }

.section-title {
    margin-top: 10px;
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.01em;
}
.section-title em {
    font-style: normal;
    background: var(--or-degrade);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { margin-top: 14px; color: var(--muted); }

/* ─── Qui sommes-nous ─── */
.about {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: start;
}
.about-intro > p { margin-top: 18px; color: var(--muted); }
.about-intro .mission {
    padding: 16px 18px;
    border-left: 3px solid var(--or);
    border-radius: 0 10px 10px 0;
    background: linear-gradient(90deg, rgba(242, 181, 30, .10), rgba(36, 83, 224, .12));
    color: var(--text);
}
.about-intro .mission strong { color: var(--or); }

.mini-title {
    margin-top: 30px;
    color: var(--faint);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.domains { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; padding: 0; list-style: none; }
.domains li {
    padding: 8px 16px;
    border: 1px solid rgba(242, 181, 30, .35);
    border-radius: 999px;
    background: rgba(36, 83, 224, .14);
    font-size: .88rem;
    font-weight: 500;
}

.slogan {
    margin-top: 30px;
    color: var(--or);
    font-family: var(--script);
    font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem);
    line-height: 1.2;
}
.slogan::after {
    content: "";
    display: block;
    width: 160px;
    height: 2px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--or), transparent);
}

.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(36, 83, 224, .18), rgba(10, 26, 74, .35));
}
.card--wide { grid-column: 1 / -1; }
.card h3 { margin-top: 14px; font-size: 1.1rem; font-weight: 600; }
.card p { margin-top: 8px; color: var(--muted); font-size: .95rem; }

.card-ico {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--or-degrade);
    color: var(--bg);
    box-shadow: 0 6px 18px rgba(242, 181, 30, .25);
}
.card-ico svg,
.service-ico svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checks { display: grid; gap: 8px; margin-top: 12px; padding: 0; list-style: none; }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks li { position: relative; padding-left: 28px; font-size: .95rem; }
.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23040B24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ─── Nos services ─── */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.service {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(10, 26, 74, .45);
    transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.service:hover { border-color: rgba(242, 181, 30, .5); background: rgba(14, 42, 134, .45); transform: translateY(-3px); }

.service-top { display: flex; align-items: center; justify-content: space-between; }
.service-num {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 2px solid var(--or);
    border-radius: 50%;
    color: var(--or);
    font-size: 1.05rem;
    font-weight: 800;
}
.service-ico {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--bleu), var(--bleu-fonce));
    color: var(--blanc);
    box-shadow: 0 8px 20px rgba(36, 83, 224, .3);
}
.service-ico svg { width: 26px; height: 26px; }
.service-ico .fill { fill: currentColor; stroke: none; }

.service h3 {
    margin-top: 18px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.service ul { display: grid; gap: 6px; margin-top: 12px; padding: 0; list-style: none; }
.service li { position: relative; padding-left: 16px; color: var(--muted); font-size: .92rem; }
.service li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--or);
}

.service--cta {
    justify-content: center;
    border-color: rgba(242, 181, 30, .45);
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(242, 181, 30, .18), transparent 60%),
        linear-gradient(145deg, var(--bleu-fonce), #081A55);
}
.service--cta:hover { background:
        radial-gradient(120% 120% at 100% 0%, rgba(242, 181, 30, .24), transparent 60%),
        linear-gradient(145deg, var(--bleu-fonce), #081A55); }
.service--cta h3 { margin-top: 0; font-size: 1.25rem; text-transform: none; letter-spacing: 0; }
.service--cta p { margin-top: 8px; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ═════════════ PIED DE PAGE ═════════════ */
.site-footer { background: var(--bg-2); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr 1.3fr;
    gap: 40px 56px;
    padding-block: 56px 44px;
}

.f-brand .emblem { width: 56px; height: 56px; }
.f-desc { margin-top: 16px; max-width: 40ch; color: var(--muted); font-size: .95rem; }
.f-slogan { margin-top: 12px; color: var(--or); font-family: var(--script); font-size: 1.45rem; line-height: 1.2; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.socials a:hover { background: var(--or); border-color: var(--or); color: var(--bg); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.f-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.f-title::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--or-degrade); }

.f-info { display: grid; gap: 14px; }
.f-info dt { color: var(--faint); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.f-info dd { margin: 0; font-size: .95rem; }

.f-contact { display: grid; gap: 14px; padding: 0; list-style: none; }
.f-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; }
.f-contact b { font-weight: 600; color: var(--muted); }
.f-contact .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--or); }
.f-contact a { white-space: nowrap; transition: color .2s; }
.f-contact a:hover { color: var(--or); }

.f-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 20px 28px;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-size: .82rem;
}
.f-bottom a { transition: color .2s; }
.f-bottom a:hover { color: var(--text); }

/* ─── Notification ─── */
.toast {
    position: fixed;
    left: 50%;
    bottom: calc(24px + env(safe-area-inset-bottom));
    z-index: 100;
    max-width: calc(100% - 32px);
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--or-degrade);
    color: var(--bg);
    font-size: .9rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    opacity: 0;
    transform: translate(-50%, 16px);
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ─── Animations ─── */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes blink { 50% { opacity: .3; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

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

/* ═════════════ RESPONSIVE ═════════════ */
@media (hover: none) {
    .p-volume input { display: none; }
}

@media (max-width: 1000px) {
    .about { grid-template-columns: 1fr; gap: 40px; }
    .services { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .nav { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .f-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; --header-h: 58px; }

    .wordmark { font-size: 1.1rem; }
    .brand .emblem { width: 34px; height: 34px; }

    .hero { padding: 12px 0 36px; }

    /* Lecteur bord à bord sur mobile */
    .player {
        width: auto;
        margin-inline: calc(var(--gutter) * -1);
        border-radius: 0;
        box-shadow: none;
    }
    .p-badge { top: 10px; left: 10px; }
    .p-unmute { top: 8px; right: 8px; }
    .p-offline { --emblem: 46px; padding: 16px; }
    .p-ticker { height: 28px; }
    .p-ticker-track span { font-size: .72rem; }
    .p-ivol { top: 8px; right: 8px; height: 34px; }
    .p-ivol input { width: 64px; margin-right: 10px; }
    .p-btn { width: 40px; height: 40px; }
    .p-controls { padding: 40px 6px 6px; }

    .now { margin-top: 18px; }

    .section { padding: 60px 0; }
    .about-cards,
    .checks--2,
    .services { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 44px 36px; }
}
