/*
Theme Name: Flow Marine v2
Theme URI: https://flowmarine.fr
Author: Flow Marine
Author URI: https://flowmarine.fr
Description: Thème one-page du groupe Flow Marine — BBQ Boat, Lounge Cruise, RIGID.
Version: 2.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flow-marine
*/

/* ═══════════════════════════════════════════════════════════════
   DIRECTION ARTISTIQUE — « CHANTIER NAVAL »
   Éditorial technique : typographie massive, filets à un pixel,
   numérotation apparente, blanc franc. La couleur est un signal,
   pas une décoration.

   Couleurs : celles du BRANDBOOK Lounge Cruise (le seul document de charte
   formel du groupe) — Space Cadet #161E3B, Honolulu Blue #0E79B2. Le Figma
   Flow Marine en descend : ses valeurs n'en différaient que de 19/255.

   Typographie : Kanit / Outfit, et PAS le Poppins du brandbook — celui-ci
   appartient à Lounge Cruise. Une holding qui reprend la typo d'une de ses
   marques ressemble à sa filiale. Air de famille sur la couleur, voix propre
   sur la typo.
═══════════════════════════════════════════════════════════════ */

:root {
    /* Marque — d'après le brandbook (§1.1 Brand Primary Colours) */
    --navy: #161E3B;          /* Space Cadet */
    --navy-deep: #0D1329;     /* dérivé, pour les sections inversées */
    --navy-slate: #415A77;    /* dérivé, texte secondaire */
    --cyan: #0E79B2;          /* Honolulu Blue */
    --cyan-bright: #00B4D8;   /* dérivé : le Honolulu ne passe pas 4.5:1 sur fond sombre */
    --cyan-pale: #90E0EF;
    --paper: #FFFFFF;
    --paper-warm: #EEF2F6;   /* gris-bleu clair, dérivé du navy — remplace l'ancien beige Isabelline */
    --stone: #DCE2E8;

    /* Rôles — redéfinis par section (voir .section--invert).
       Tous les composants lisent ces variables, jamais les couleurs brutes :
       une section s'inverse alors sans réécrire une seule règle. */
    --fg: var(--navy);
    --fg-muted: var(--navy-slate);
    --fg-faint: #5F7492;
    --bg: var(--paper);
    --rule: rgba(22, 30, 59, 0.14);
    --rule-strong: rgba(22, 30, 59, 0.3);
    --accent: var(--cyan);
    --accent-on: #FFFFFF;

    /* Surfaces & profondeur — remplacent les filets 1px par de vraies cartes.
       Les composants s'appuient dessus ; l'inversion sombre les redéfinit. */
    --surface: #FFFFFF;
    --surface-tint: rgba(14, 121, 178, 0.09);   /* fond des pastilles d'icône */
    --chip: rgba(22, 30, 59, 0.05);             /* puces neutres */
    --chip-hover: rgba(14, 121, 178, 0.12);
    --shadow-card: 0 6px 24px rgba(22, 30, 59, 0.07), 0 1px 2px rgba(22, 30, 59, 0.05);
    --shadow-card-hover: 0 14px 36px rgba(22, 30, 59, 0.13), 0 2px 4px rgba(22, 30, 59, 0.06);
    --radius-card: 16px;

    --font-display: 'Kanit', 'Arial Narrow', sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --container: 1340px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 84px;
}

/* Inversion : RIGID et Innovation basculent en encre profonde. */
.section--invert,
.innovation {
    --fg: #FFFFFF;
    --fg-muted: #B6C4D4;
    --fg-faint: #74879F;
    --bg: var(--navy-deep);
    --rule: rgba(255, 255, 255, 0.16);
    --rule-strong: rgba(255, 255, 255, 0.34);
    --accent: var(--cyan-bright); /* le cyan foncé ne passe pas les 4.5:1 sur fond sombre */
    --accent-on: var(--navy-deep);

    /* Cartes sur fond sombre : léger voile clair + reflet supérieur, pas de
       grille au trait. La profondeur vient du remplissage, pas d'une bordure. */
    --surface: rgba(255, 255, 255, 0.055);
    --surface-tint: rgba(0, 180, 216, 0.14);
    --chip: rgba(255, 255, 255, 0.07);
    --chip-hover: rgba(0, 180, 216, 0.18);
    --shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 30px rgba(0, 0, 0, 0.28);
    --shadow-card-hover: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 42px rgba(0, 0, 0, 0.38);
}

/* ═══════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--fg);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
}
p { margin: 0 0 1.2em; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1000;
    padding: 12px 20px;
    background: var(--navy);
    color: #fff;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

/* ═══════════════════════════════════════════════
   BILINGUE — masquage uniquement (cf. header.php)
═══════════════════════════════════════════════ */
html[data-lang="fr"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-fr { display: none !important; }

/* ═══════════════════════════════════════════════
   REVEAL
═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }
.reveal--delay-5 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ═══════════════════════════════════════════════
   BOUTONS — angles vifs, pas d'arrondi décoratif
═══════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 16px 32px;
    border: 1.5px solid transparent;
    border-radius: 2px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    transition: background 0.3s var(--ease), color 0.3s var(--ease),
                border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn svg { flex-shrink: 0; }
.btn:active { transform: translateY(1px); }

.btn--primary {
    background: var(--fg);
    border-color: var(--fg);
    color: var(--bg);
}
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }

.btn--accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-on);
}
.btn--accent:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }

.btn--ghost,
.btn--outline {
    background: transparent;
    border-color: var(--rule-strong);
    color: var(--fg);
}
.btn--ghost:hover,
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--full { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    border-bottom: 1px solid transparent;
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--rule);
}

.site-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header__logo {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--navy);
}
.site-header__logo-marine { color: var(--cyan); }
.site-header__logo { display: inline-flex; align-items: center; }
.site-header__logo-svg { display: block; height: 40px; width: auto; color: var(--navy); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav__link {
    position: relative;
    padding: 6px 0;
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy-slate);
    transition: color 0.25s;
}
.site-nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--cyan);
    transition: width 0.3s var(--ease);
}
.site-nav__link:hover { color: var(--navy); }
.site-nav__link:hover::after { width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: 16px; }

.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-switch__btn {
    min-width: 30px;
    min-height: 30px;
    padding: 4px 6px;
    background: none;
    border: 0;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--fg-faint);
    transition: color 0.25s;
}
.lang-switch__btn:hover { color: var(--navy); }
.lang-switch__btn.is-active { color: var(--cyan); }
.lang-switch__sep { color: var(--rule-strong); font-size: 11px; }

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 0;
    background: none;
    border: 0;
}
.burger span {
    display: block;
    width: 22px; height: 2px;
    margin: 0 auto;
    background: var(--navy);
    transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 0 40px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__link {
    padding: 18px 0;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--navy);
}
.mobile-menu__link:hover { color: var(--cyan); }
.mobile-menu__link--cta { border-bottom: 0; color: var(--cyan); }

/* ═══════════════════════════════════════════════
   SECTION 1 — HERO : la typographie EST le visuel
═══════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    /* La réserve basse est la mer : le contenu ne descend jamais dessus. */
    padding: calc(var(--header-h) + 50px) 40px 120px;
    background-color: var(--paper);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Repli sans photo : trame technique + halo cyan, jamais un aplat.
   Une image du Customizer écrase ces calques via le style inline. */
.hero:not([style]) {
    background-image: radial-gradient(ellipse 82% 55% at 82% 12%, rgba(0, 180, 216, 0.10) 0%, transparent 60%);
}

/* Voile actif seulement si une photo est posée. */
.hero__overlay { position: absolute; inset: 0; }
.hero[style] .hero__overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 45%, rgba(255, 255, 255, 0.25) 100%);
}

/* La vague (Three.js) tient tout le fond du hero, derrière le contenu. */
.hero__wave { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__wave canvas { display: block; width: 100%; height: 100%; }
.hero__content { position: relative; z-index: 2; }
.hero__scroll-indicator { z-index: 2; }

/* ═══════════════════════════════════════════════
   LE FIL CONDUCTEUR — la planche derrière toute la page
═══════════════════════════════════════════════ */
#plate {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
#plate svg { width: 100%; height: 100%; display: block; }

/* ── Tokens de la planche. Deux couleurs, comme le reste du site.
   Sans ces règles, le SVG n'a aucun fill et retombe sur le noir par
   défaut : la planche mange alors toute la page. ── */
#plate .land-far   { fill: rgba(27, 43, 68, .05); }
#plate .land-mid   { fill: rgba(27, 43, 68, .09); }
#plate .land-near  { fill: rgba(27, 43, 68, .14); }
#plate .built      { fill: rgba(27, 43, 68, .17); }
#plate .built-hi   { fill: rgba(27, 43, 68, .28); }
#plate .quay       { fill: rgba(27, 43, 68, .2); }
#plate .tree       { fill: rgba(27, 43, 68, .19); }
#plate .tree-dark  { fill: rgba(27, 43, 68, .26); }
#plate .water      { fill: rgba(0, 180, 216, .1); stroke: #0B7A9F; stroke-width: 2.5; }
#plate .mark       { fill: #00B4D8; }
#plate .hull       { fill: rgba(0, 180, 216, .16); stroke: #1B2B44; stroke-width: 2.4;
                     stroke-linejoin: round; vector-effect: non-scaling-stroke; }
#plate .wake       { fill: none; stroke: #00B4D8; stroke-width: 2;
                     stroke-linecap: round; opacity: .4; }

/* Le contenu passe devant. */
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* Les sections deviennent SEMI-opaques : la rivière doit se lire derrière,
   sinon la planche ne sert à rien. Le voile reste assez fort pour que le
   texte garde ses 4.5:1 — c'est lui qui fixe la limite, pas le goût. */
.section--paper  { background: rgba(255, 255, 255, 0.86); }
.section--muted  { background: rgba(238, 242, 246, 0.86); }
.section--invert { background: rgba(13, 19, 41, 0.92); }
.hero            { background-color: transparent; }
.hero:not([style]) { background-image: none; }

/* La mer et les trois coques (canvas injecté par js/seascape.js).
   Les couleurs sont déclarées ici, pas dans le JS : c'est ce qui permet de
   poser la même animation sur fond blanc ou sur fond bleu. */
.hero__seascape { display: none; } /* remplacé par la planche #plate */
.hero__seascape-unused {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: min(56vh, 460px);
    z-index: 1;
    pointer-events: none;
}
.hero__seascape canvas { display: block; }

/* Sur clair : coques à l'encre, paysages en aplats de navy. */
[data-seascape] {
    --seascape-hull: #161E3B;
    --seascape-water: #0E79B2;
    --seascape-accent-rgb: 0, 180, 216;
    --seascape-land-rgb: 22, 30, 59;
}

/* Sur bleu : le navy disparaîtrait. Coques et paysages passent en blanc,
   et la ligne d'eau prend le cyan vif — le cyan foncé ne ressort pas. */
[data-seascape="dark"] {
    --seascape-hull: #FFFFFF;
    --seascape-water: #00B4D8;
    --seascape-accent-rgb: 0, 180, 216;
    --seascape-land-rgb: 255, 255, 255;
}

/* Aux couleurs du SITE ACTUEL (flow-marine-theme). Valeurs relevées dans son
   assets/css/main.css : --c-bg #050d1a · --c-gold #c9a84c · --c-cream #f0ebe0
   · --c-navy-light #1a3d5c · Jost.

   L'eau reste BLEUE, et c'est le point. Une première version passait la ligne
   d'eau en doré, par mimétisme avec l'accent du site : le dessin devenait un
   motif décoratif, plus un plan — de l'eau dorée ne dit plus l'eau. Ici le
   doré ne touche que la ligne « univers », soit exactement l'usage qu'en fait
   le site actuel : un accent, jamais une matière. */
[data-seascape="brand-legacy"] {
    --seascape-hull: #f0ebe0;
    --seascape-water: #7fa8c4;
    --seascape-accent-rgb: 127, 168, 196;
    --seascape-land-rgb: 184, 204, 216;
    --seascape-label-accent: #c9a84c;
    --seascape-font: 'Jost', sans-serif;
}

.hero__content { position: relative; z-index: 2; width: 100%; }

/* Label technique : filet + texte, comme une annotation de plan */
.hero__pretitle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 28px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cyan);
}

.hero__title {
    margin: 0 0 32px;
    font-size: clamp(3.6rem, 13.5vw, 12rem);
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}
.hero__title-flow { display: block; color: var(--navy); }

/* Le contour au lieu du plein : la marque se lit en deux temps. */
.hero__title-marine {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px var(--navy);
}
@supports not ((-webkit-text-stroke: 2px black) or (text-stroke: 2px black)) {
    .hero__title-marine { color: var(--cyan); }
}

.hero__tagline {
    max-width: 30ch;
    margin: 0 0 40px;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--navy-slate);
}

.hero__line { display: none; } /* les filets sont désormais portés par les labels */

.hero__brands {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 26px;
    margin-bottom: 40px;
}
.hero__brand-link {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    transition: color 0.25s;
}
.hero__brand-link:hover { color: var(--cyan); }
.hero__brand-sep { color: var(--rule-strong); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__scroll-indicator {
    position: absolute;
    right: 40px; bottom: 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.hero__scroll-line {
    width: 1px; height: 60px;
    background: var(--rule-strong);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cyan);
    animation: scrollRun 2.6s var(--ease) infinite;
}
@keyframes scrollRun {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
.hero__scroll-text {
    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--fg-faint);
    writing-mode: vertical-rl;
}

/* ═══════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════ */
.section {
    position: relative;
    padding: 150px 0;
    background: var(--bg);
    color: var(--fg);
}
.section--paper { --bg: var(--paper); }
.section--muted { --bg: var(--paper-warm); }
.section--invert { background: var(--bg); color: var(--fg); }

/* En-tête de section : numéro + label + titre, alignés à gauche.
   L'asymétrie est volontaire — le centrage systématique est la
   signature du gabarit générique. */
.section__header {
    max-width: 900px;
    margin-bottom: 90px;
}
.section__label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
}
.section__title {
    font-size: clamp(2.2rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    color: var(--fg);
}
.section__title-line { display: none; }

/* ═══════════════════════════════════════════════
   SECTION 2 — LE GROUPE
═══════════════════════════════════════════════ */
/* Vue aérienne : pleine largeur, format panoramique — le produit avant le discours. */
.groupe__visual {
    margin: 0 0 90px;
    overflow: hidden;
}
.groupe__visual img {
    display: block;
    width: 100%;
    height: clamp(280px, 42vw, 560px);
    object-fit: cover;
    object-position: center 62%;
}

.groupe__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 90px;
    align-items: start;
}

.groupe__intro {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--fg);
}
.groupe__text-body {
    max-width: 62ch;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--fg-muted);
}

.groupe__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 60px;
}
.groupe__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 32px 20px 0 0;
}
.groupe__stat:last-child { border-right: 0; }
.groupe__stat + .groupe__stat { padding-left: 24px; }
.groupe__stat-number {
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--accent);
}
.groupe__stat-label {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-faint);
}

/* Cartes marques : filets, pas de boîtes flottantes */
.groupe__brands {
    display: flex;
    flex-direction: column;
}
.groupe__brand-card {
    display: block;
    transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}
.groupe__brand-card:hover { background: var(--paper); padding-left: 20px; }
.section--muted .groupe__brand-card:hover { background: var(--paper); }

.groupe__brand-card-inner {
    position: relative;
    display: grid;
    grid-template-columns: 40px 1fr 28px;
    gap: 22px;
    align-items: center;
    padding: 30px 0;
}
.groupe__brand-icon { width: 30px; height: 30px; color: var(--accent); }
.groupe__brand-icon svg { width: 100%; height: 100%; }

.groupe__brand-name {
    grid-column: 2;
    margin-bottom: 4px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--fg);
}
.groupe__brand-desc {
    grid-column: 2;
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--fg-muted);
}
.groupe__brand-arrow {
    grid-column: 3;
    grid-row: 1 / -1;
    align-self: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.groupe__brand-card:hover .groupe__brand-arrow { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════
   SECTION 3 — MARQUES (triptyque routeur)
   La holding route, elle ne re-vend pas : chaque volet
   est un aiguillage — audience d'abord, marque ensuite,
   destination : le site dédié.
═══════════════════════════════════════════════ */
.marques__intro {
    max-width: 52ch;
    margin: -50px 0 70px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--fg-muted);
}

.marques__deck {
    display: flex;
    gap: 10px;
    min-height: 640px;
}

.marques__panel {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #fff;
    transition: flex 0.6s var(--ease);
}
.marques__panel:hover,
.marques__panel:focus-within,
.marques__panel:focus-visible { flex: 1.6; }

.marques__panel-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--navy-slate, #415A77);
    filter: saturate(0.85);
    transform: scale(1.02);
    transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
}
.marques__panel:hover .marques__panel-photo,
.marques__panel:focus-within .marques__panel-photo {
    filter: saturate(1.05);
    transform: scale(1.07);
}

.marques__panel-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(13, 19, 41, 0.30) 0%,
        rgba(13, 19, 41, 0.10) 30%,
        rgba(13, 19, 41, 0.46) 62%,
        rgba(13, 19, 41, 0.92) 100%);
}
.marques__panel--rigid .marques__panel-veil {
    background: linear-gradient(180deg,
        rgba(13, 19, 41, 0.52) 0%,
        rgba(13, 19, 41, 0.30) 30%,
        rgba(13, 19, 41, 0.60) 62%,
        rgba(13, 19, 41, 0.95) 100%);
}

.marques__panel-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 26px 28px 0;
}
.marques__panel-index {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--cyan-bright, #00B4D8);
}
.marques__panel-audience {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.marques__panel-bottom {
    display: block;
    position: relative;
    z-index: 2;
    padding: 0 28px 28px;
}

.marques__panel-logo {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2.3rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
}
.marques__panel--lounge .marques__panel-logo { font-weight: 300; letter-spacing: -0.01em; }
.marques__panel--rigid .marques__panel-logo { letter-spacing: 0.03em; }

.marques__panel-promise {
    display: block;
    margin: 0;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--cyan-pale, #90E0EF);
}

.marques__panel-facts {
    display: block;
    max-height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.55s var(--ease), opacity 0.45s var(--ease), margin 0.55s var(--ease);
}
.marques__panel:hover .marques__panel-facts,
.marques__panel:focus-within .marques__panel-facts {
    max-height: 220px;
    margin: 18px 0 0;
    opacity: 1;
}
.marques__panel-fact {
    display: block;
    padding: 9px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.marques__panel-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan-bright, #00B4D8);
}
.marques__panel-cta svg { transition: transform 0.35s var(--ease); }
.marques__panel:hover .marques__panel-cta svg,
.marques__panel:focus-within .marques__panel-cta svg { transform: translateX(5px); }

.marques__panel:focus-visible {
    outline: 2px solid var(--cyan-bright, #00B4D8);
    outline-offset: 3px;
}

.marques__outro {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 14px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--rule);
    font-size: 0.95rem;
    color: var(--fg-muted);
}
.marques__outro-link {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    border-bottom: 1.5px solid currentColor;
    padding-bottom: 2px;
    transition: color 0.3s var(--ease);
}
.marques__outro-link:hover { color: var(--navy, #161E3B); }

@media (hover: none) {
    .marques__panel-facts { max-height: none; margin: 18px 0 0; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .marques__panel,
    .marques__panel-photo,
    .marques__panel-facts { transition: none; }
    .marques__panel:hover,
    .marques__panel:focus-within { flex: 1; }
    .marques__panel:hover .marques__panel-photo { transform: scale(1.02); }
}

@media (max-width: 1024px) {
    .marques__deck { min-height: 560px; }
}

@media (max-width: 900px) {
    .marques__deck { flex-direction: column; min-height: 0; }
    .marques__panel { min-height: 400px; }
    .marques__panel:hover,
    .marques__panel:focus-within { flex: 1; }
    .marques__panel-facts { max-height: none; margin: 18px 0 0; opacity: 1; }
    .marques__panel-logo { font-size: 1.9rem; }
    .marques__panel-veil,
    .marques__panel--rigid .marques__panel-veil {
        background: linear-gradient(180deg,
            rgba(13, 19, 41, 0.58) 0%,
            rgba(13, 19, 41, 0.42) 40%,
            rgba(13, 19, 41, 0.93) 100%);
    }
}

@media (max-width: 600px) {
    .marques__panel { min-height: 360px; }
    .marques__panel-top { padding: 20px 20px 0; }
    .marques__panel-bottom { padding: 0 20px 22px; }
    .marques__intro { margin: -30px 0 50px; }
}

/* ═══════════════════════════════════════════════
   SECTION — ACTUALITÉS (cartes articles WordPress)
═══════════════════════════════════════════════ */
.actus__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.actus__card {
    background: var(--surface, #fff);
    border-radius: var(--radius-card, 16px);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.actus__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.actus__link { display: block; height: 100%; }
.actus__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone, #DCE2E8); }
.actus__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}
.actus__card:hover .actus__thumb img { transform: scale(1.04); }
.actus__body { display: block; padding: 24px 26px 26px; }
.actus__date {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}
.actus__title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--fg);
}
.actus__excerpt {
    display: block;
    margin: 0 0 16px;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--fg-muted);
}
.actus__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}
.actus__more svg { transition: transform 0.3s var(--ease); }
.actus__card:hover .actus__more svg { transform: translateX(4px); }

/* ═══════════════════════════════════════════════
   AJUSTEMENTS GLOBAUX (audit 2026-07-22)
   1. Hero jamais dépendant du JS : visible d'emblée.
   2. Reveal raccourci — l'attente fantôme coûtait
      plus que l'effet ne rapportait.
═══════════════════════════════════════════════ */
.hero .reveal { opacity: 1 !important; transform: none !important; }

.reveal {
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.reveal:not(.is-visible) { transform: translateY(14px); }
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }

/* ═══════════════════════════════════════════════
   SECTION 6 — INNOVATION / LA NOUVELLE VAGUE
═══════════════════════════════════════════════ */
.innovation {
    position: relative;
    padding: 120px 0;
    background: var(--bg);
    color: var(--fg);
    overflow: hidden;
}

.innovation__surface {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 80%, rgba(11, 122, 159, 0.4) 0%, transparent 62%);
}
.innovation__surface canvas { display: block; width: 100%; height: 100%; }

.innovation__veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(15, 29, 48, 0.9) 0%, rgba(15, 29, 48, 0.45) 52%, transparent 76%),
        linear-gradient(180deg, var(--navy-deep) 0%, transparent 20%, transparent 80%, var(--navy-deep) 100%);
}

.innovation__content { position: relative; z-index: 2; }

.innovation__lead {
    max-width: 46ch;
    margin: 0 0 80px;
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--fg);
}

.innovation__points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.innovation__point {
    padding: 34px 28px 34px 0;
}
.innovation__point:last-child { border-right: 0; }
.innovation__point + .innovation__point { padding-left: 28px; }

.innovation__point-index {
    display: block;
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--accent);
}
.innovation__point-title {
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--fg);
}
.innovation__point-desc { margin: 0; font-size: 0.88rem; line-height: 1.75; color: var(--fg-muted); }

.innovation__cta { margin-top: 70px; }

/* ═══════════════════════════════════════════════
   SECTION 7 — CONTACT
═══════════════════════════════════════════════ */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 90px;
    align-items: start;
}

.contact__intro {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--fg);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 44px 0;
}
.contact__detail {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    background: var(--surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact__detail:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.contact__detail-icon {
    flex-shrink: 0;
    box-sizing: border-box;
    width: 44px; height: 44px;
    margin-top: 0;
    padding: 11px;
    border-radius: 12px;
    background: var(--surface-tint);
    color: var(--accent);
}
.contact__detail-label {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg-faint);
}
.contact__detail-value {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--fg);
    transition: color 0.25s;
}
.contact__detail-value:hover { color: var(--accent); }

.contact__brands-title {
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-faint);
}
.contact__brands-list { display: flex; flex-wrap: wrap; gap: 6px; }
.contact__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    background: var(--chip);
    border: 0;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-muted);
    transition: background 0.25s, color 0.25s;
}
.contact__brand-link:hover { background: var(--chip-hover); color: var(--accent); }

/* Formulaire — champs en aplat blanc, aucun filet.
   Le champ n'est plus dessiné par un trait sous le texte mais par sa propre
   surface : blanc franc posé sur le gris-bleu du panneau. C'est le « blanc
   franc » de la direction artistique, et la zone cliquable devient lisible
   d'un coup d'œil, ce qu'un simple soulignement ne dit jamais bien.
   La couleur reste un signal : le liseré cyan n'existe qu'au focus, rouge en
   erreur, dans la même grammaire que .form__success / .form__error. */
.contact__form-wrap {
    padding: 44px;
    background: var(--paper-warm);
}
.section--paper .contact__form-wrap { background: var(--paper-warm); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__group { margin-bottom: 20px; display: flex; flex-direction: column; }

.form__label {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-muted);
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 0;
    border-radius: 0;
    background: var(--paper);
    /* Le liseré vit dans le box-shadow, transparent au repos : il apparaît
       sans jamais décaler le texte, contrairement à une bordure. */
    box-shadow: inset 2px 0 0 transparent;
    outline: 2px solid transparent;   /* rendu visible en mode contrastes forcés */
    outline-offset: -2px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--navy);
    transition: box-shadow 0.22s ease;
}
.form__textarea { resize: vertical; min-height: 132px; }
.form__input::placeholder,
.form__textarea::placeholder { color: var(--fg-faint); }

.form__input:hover,
.form__select:hover,
.form__textarea:hover { box-shadow: inset 2px 0 0 var(--rule-strong); }

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    box-shadow: inset 3px 0 0 var(--accent), 0 3px 14px rgba(22, 30, 59, 0.09);
}

.form__select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E79B2' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    cursor: pointer;
}
.form__select option { background: var(--paper); color: var(--navy); }

.form__input.has-error,
.form__select.has-error,
.form__textarea.has-error { box-shadow: inset 3px 0 0 #d4183d; }

.form__submit { margin-top: 12px; position: relative; }

.btn__loading { display: none; }
.form__submit.is-loading .btn__text { visibility: hidden; }
.form__submit.is-loading .btn__loading {
    display: flex;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
}
.btn__spinner { width: 18px; height: 18px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__success,
.form__error {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 15px 18px;
    font-size: 0.85rem;
}
.form__success[hidden],
.form__error[hidden] { display: none; }
.form__success { background: rgba(11, 122, 159, 0.1); border-left: 3px solid var(--cyan); color: #075E7A; }
.form__error { background: rgba(212, 24, 61, 0.08); border-left: 3px solid #d4183d; color: #A31030; }
.form__success svg, .form__error svg { flex-shrink: 0; width: 17px; height: 17px; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
    --fg: #FFFFFF;
    --fg-muted: #B6C4D4;
    --fg-faint: #74879F;
    --rule: rgba(255, 255, 255, 0.16);
    --accent: var(--cyan-bright);
    padding: 100px 0 0;
    background: var(--navy);
    color: var(--fg);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 70px;
}
.site-footer__col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.site-footer__col a {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--fg-muted);
    transition: color 0.25s;
}
.site-footer__col a:hover { color: var(--accent); }

.site-footer__logo {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff;
}
.site-footer__logo-marine { color: var(--cyan-bright); }
.site-footer__logo { display: inline-flex; align-items: center; }
.site-footer__logo-svg { display: block; height: 34px; width: auto; color: #fff; }
.site-footer__baseline { margin: 0; font-size: 0.9rem; color: var(--fg-muted); }

.site-footer__title {
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-faint);
}

.site-footer__bottom {
    padding: 26px 40px;
}
.site-footer__bottom p {
    font-size: 0.78rem;
    color: var(--fg-faint);
    margin: 0;
}
.site-footer__bottom-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 24px;
}
.site-footer__legal-link { margin-left: 14px; }
.site-footer__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s; }
.site-footer__bottom a:hover { color: var(--accent, #0E79B2); }
@media (max-width: 600px) {
    .site-footer__bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
    .site-footer__legal-link { margin-left: 0; display: inline-block; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .section { padding: 100px 0; }
    .innovation { padding: 110px 0; }
    .groupe__grid, .brand__grid, .brand__container--alt, .contact__grid { gap: 60px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .section__header { margin-bottom: 60px; }
}

@media (max-width: 900px) {
    .site-nav { display: none; }
    .burger { display: flex; }

    .groupe__grid, .brand__grid, .brand__container--alt, .contact__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .brand__container--alt .brand__visual { order: -1; }

    .rigid__features { grid-template-columns: 1fr; }

    .innovation__points { grid-template-columns: 1fr; }
    .innovation__point {
        padding: 28px 0;
        border-right: 0;
    }
    .innovation__point + .innovation__point { padding-left: 0; }

    .contact__form-wrap { padding: 30px; }
    .hero__scroll-indicator { display: none; }
}

@media (max-width: 600px) {
    .container, .site-header__inner, .mobile-menu { padding-left: 20px; padding-right: 20px; }
    .section { padding: 76px 0; }
    .innovation { padding: 90px 0; }
    .hero { padding: calc(var(--header-h) + 40px) 20px 60px; }

    .form__row { grid-template-columns: 1fr; gap: 0; }

    .groupe__stats { grid-template-columns: 1fr; border-top: 0; }
    .groupe__stat {
        padding: 22px 0;
        border-right: 0;
    }
    .groupe__stat + .groupe__stat { padding-left: 0; }

    .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__bottom { padding-left: 20px; padding-right: 20px; }

    .hero__title-marine { -webkit-text-stroke-width: 1.5px; }
    .hero__cta .btn, .brand__cta .btn { width: 100%; }
    .brand__badge--1, .brand__badge--2 { position: static; display: inline-block; }
}

/* ═══════════════════════════════════════════════
   MENTIONS LÉGALES  (page-mentions-legales.php)
═══════════════════════════════════════════════ */
.legal { padding-top: calc(var(--header-h) + 80px); }
.legal__container { max-width: 860px; }
.legal__body { margin-top: 44px; }
.legal__heading {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--navy);
    margin: 44px 0 14px;
}
.legal__body > .legal__heading:first-child { margin-top: 0; }
.legal__text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--fg-muted);
    margin-bottom: 18px;
    max-width: 70ch;
}
.legal__text strong { color: var(--navy); }
.legal__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal__text a:hover { color: var(--navy); }
.legal__back { margin-top: 52px; }
@media (max-width: 640px) {
    .legal { padding-top: calc(var(--header-h) + 48px); }
}

/* ═══════════════════════════════════════════════
   BANDEAU PARTENAIRES  (marquee défilant)
═══════════════════════════════════════════════ */
.partners { padding-top: 90px; padding-bottom: 90px; overflow: hidden; }
.partners__head { text-align: center; margin-bottom: 46px; }
.partners__head .section__label { justify-content: center; }
.partners__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    color: var(--navy);
    margin-top: 8px;
}
.partners__marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.partners__track {
    display: flex;
    align-items: center;
    gap: 84px;
    width: max-content;
    animation: partners-scroll 34s linear infinite;
}
.partners__marquee:hover .partners__track { animation-play-state: paused; }
.partners__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 66px;
    filter: grayscale(1);
    opacity: 0.62;
    transition: filter 0.35s var(--ease), opacity 0.35s var(--ease);
}
.partners__item:hover { filter: grayscale(0); opacity: 1; }
.partners__item img { max-height: 66px; width: auto; object-fit: contain; display: block; }
@keyframes partners-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .partners__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 56px; }
    .partners__marquee { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 640px) {
    .partners__track { gap: 52px; }
    .partners__item, .partners__item img { height: 48px; max-height: 48px; }
}

/* Repli texte du bandeau partenaires si un logo distant ne charge pas */
.partners__name {
    display: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: var(--navy);
    white-space: nowrap;
}
.partners__item--text { filter: none; opacity: 1; }
.partners__item--text .partners__name { display: inline; }
