/* NDC — pages du site (univers, groupe, stations, actualités, contact).
   Complète styles.css sans le modifier : même grammaire (flux, Ronsard Crystal, cadres photo),
   une couleur par univers tirée du flux : rouge Énergies, orange Fuel Management, turquoise Transport. */

/* ---------- Couleur d'univers ---------- */
body, .u-energies {
  --accent: #D00000; --accent-hi: #E3000F; --accent-dark: #A80008; --accent-ink: #D6101D; --accent-soft: #FFF3F3;
  --terr-1: #E3000F; --terr-2: #D00000; --terr-3: #A80008;
  --veil: 178, 0, 13; --veil-warm: 255, 80, 10; --soft-end: #FFB9C0;
}
body[data-univers="fm"], .u-fm {
  --accent: #BF4E00; --accent-hi: #D45800; --accent-dark: #A04000; --accent-ink: #BA4C00; --accent-soft: #FFF3E8;
  --terr-1: #F27000; --terr-2: #E35F00; --terr-3: #B04400;
  --veil: 196, 72, 0; --veil-warm: 255, 160, 40; --soft-end: #FFD6AE;
}
body[data-univers="tt"], .u-tt {
  --accent: #00838D; --accent-hi: #0A9AA6; --accent-dark: #005E66; --accent-ink: #007882; --accent-soft: #E8F7F8;
  --terr-1: #0A949F; --terr-2: #00838D; --terr-3: #005E66;
  --veil: 0, 94, 104; --veil-warm: 3, 200, 214; --soft-end: #B5F4F8;
}

/* Les composants existants prennent la couleur de l'univers */
.title .bk, .eyebrow-red, .kicker, .service-n, .link-arrow, .contact-k { color: var(--accent-ink); }
[data-theme="red"] .title .bk, [data-theme="night"] .title .bk, [data-theme="red"] .link-arrow { color: var(--white); }
.ticks li::before { background-color: var(--accent-ink); }
.sec[data-theme="red"] { background: var(--accent); }
.btn-red, .btn-accent { background: var(--accent); color: var(--white); box-shadow: 0 12px 26px -12px rgba(var(--veil), .8); }
.btn-red:hover, .btn-accent:hover { background: var(--accent-hi); }
.btn-light { color: var(--accent); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.choice input:checked + span::before { border-color: var(--accent); }
.faq summary::after { background-color: var(--accent); }
.pillars .i { color: var(--accent-ink); }
.step-n::after { border-color: var(--accent-ink); }
.features li::before { background: var(--accent); }
.u-fm .features li::before, .u-tt .features li::before { background: var(--accent); }
[data-theme="red"] .eyebrow { color: rgba(255, 255, 255, .92); }
.service-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }

/* ---------- En-tête : cinq entrées, deux actions, langue ---------- */
.header-spacer { height: var(--header-h); }
.site-header .header-row { gap: 0; }
.nav { align-items: center; }
.nav-item { position: relative; display: flex; align-items: center; }
.site-header .nav-item > a { display: inline-flex; align-items: center; min-height: 40px; position: relative; }
.site-header .nav-item > a.is-current { color: var(--accent-ink) !important; }
.site-header .nav-item > a.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; border-radius: 3px; background: var(--flux); }
.nav-item.u-energies > a.is-current { color: #D6101D !important; }
.nav-panel {
  position: absolute; top: calc(100% + 6px); left: -18px; min-width: 270px; z-index: 60;
  display: grid; gap: 2px; padding: 10px; border-radius: 18px; background: var(--white);
  box-shadow: 0 30px 60px -24px rgba(30, 10, 10, .35), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-panel::after { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
.nav-item:hover:not(.is-closed) .nav-panel, .nav-item:focus-within:not(.is-closed) .nav-panel { opacity: 1; visibility: visible; transform: none; }
.site-header .nav-panel a, .site-header.is-solid .nav-panel a {
  display: block; padding: 10px 14px !important; border-radius: 10px !important; font-size: 14px !important; font-weight: 600 !important;
  color: var(--ink) !important; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s;
}
.site-header .nav-panel a:hover, .site-header .nav-panel a[aria-current="page"] { background: var(--accent-soft) !important; color: var(--accent-ink) !important; }

.header-actions { gap: max(10px, calc(22 * var(--u, 1px))); }
.hdr-station { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 700; color: var(--ink); white-space: nowrap; font-size: max(12px, calc(23 * var(--u, 1px))); }
.hdr-station svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; color: var(--accent-ink); }
.hdr-station:hover, .hdr-station.is-current { color: var(--accent-ink); }
.hdr-devis {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; text-decoration: none;
  height: max(36px, calc(57 * var(--u, 1px))); padding: 0 max(16px, calc(30 * var(--u, 1px))); border-radius: 999px;
  background: var(--accent); color: var(--white); font-weight: 700; font-size: max(12px, calc(21 * var(--u, 1px)));
  transition: background-color .2s, transform .2s var(--ease);
}
.hdr-devis:hover { background: var(--accent-hi); transform: translateY(-1px); }
.hdr-devis-s { display: none; }
a.lang { text-decoration: none; }
.site-header .lang span.on, .site-header.is-solid .lang span.on { background: var(--accent); }

@media (max-width: 1279px) {
  .site-header .nav { display: none !important; }
  .site-header .burger { display: block !important; margin-left: 4px; }
  .site-header .header-actions { margin-left: auto; }
}
@media (max-width: 1279px) and (min-width: 700px) {
  .hdr-station span { display: none; }
  .hdr-station svg { width: 22px; height: 22px; }
}
@media (max-width: 699px) {
  .hdr-station, .hdr-devis { display: none; }
}

/* Menu mobile : rubriques dépliables */
.mobile-menu { background: var(--accent); gap: 0; padding-bottom: calc(40px + env(safe-area-inset-bottom)); z-index: 55; }
.mm-group { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.mm-group summary, .mobile-menu .mm-link {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: var(--white); text-decoration: none; font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 24px; padding: 12px 0;
}
.mobile-menu .mm-link { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 26px; transition: transform .25s var(--ease); }
.mm-group[open] summary::after { transform: rotate(45deg); }
.mobile-menu .mm-group a { display: block; padding: 9px 0 9px 14px; border: 0; font-family: var(--font-body); text-transform: none; font-weight: 500; font-size: 16px; color: rgba(255, 255, 255, .9); }
.mobile-menu .mm-group a:last-child { padding-bottom: 18px; }
.mobile-menu .mm-group a[aria-current="page"] { color: var(--white); font-weight: 700; }
.mobile-menu .btn { margin-top: 16px; }

/* Barre d'actions (téléphone) : les deux actions toujours visibles */
.action-bar { display: none; }
@media (max-width: 699px) {
  .action-bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45;
    display: grid; grid-template-columns: 1fr 1fr 48px; gap: 6px; padding: 6px; border-radius: 999px;
    background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 18px 40px -16px rgba(20, 5, 5, .45), 0 0 0 1px var(--line);
    transition: transform .35s var(--ease), opacity .3s;
  }
  .action-bar.is-hidden { transform: translateY(140%); opacity: 0; }
  .action-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 13px; color: var(--ink); white-space: nowrap; }
  .action-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; color: var(--accent-ink); flex: none; }
  .action-bar .ab-devis { background: var(--accent); color: var(--white); }
  .action-bar .ab-call { background: var(--mist); }
  .footer { padding-bottom: calc(36px + 70px); }
}
@media (max-width: 359px) { .action-bar a { font-size: 12px; } }

/* ---------- Barre des univers ---------- */
.univers-bar { margin-top: var(--header-h); height: max(36px, calc(54 * var(--u, 1px))); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; z-index: 4; }
.univers-bar a {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 14px;
  color: var(--white); text-decoration: none; font-size: max(11px, calc(21 * var(--u, 1px))); font-weight: 700; letter-spacing: .02em; line-height: 1.2;
  position: relative; box-shadow: inset 0 0 0 999px rgba(20, 3, 4, .22); transition: box-shadow .2s;
}
.univers-bar a span { opacity: 1; }
.univers-bar a:hover, .univers-bar a.is-current { box-shadow: none; }
.univers-bar a:hover span, .univers-bar a.is-current span { opacity: 1; }
.univers-bar a.is-current::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.ub-energies { background: #C80A16; } .ub-fm { background: #BF4E00; } .ub-tt { background: #00838D; }
@media (max-width: 599px) {
  .univers-bar a { font-size: 11px; padding: 7px 6px; min-height: 34px; }
  .ub-fm span { font-size: 0; } .ub-fm span::before { content: "Fuel Management"; font-size: 11px; }
  html[lang="en"] .ub-fm span::before { content: "Fuel Management"; }
}

/* ---------- En-tête d'univers : le hero de l'accueil, à l'identique ----------
   Même balisage et mêmes cotes de maquette (--u) que le landing : titre 87,5 u, accroche 1010 u, pilules 82 u,
   N et ruban aux mêmes positions. Seuls changent la hauteur (--hh, en unités de maquette), la photo et la couleur
   du voile (celle de l'univers). Le bloc de texte est ancré en bas, à 100 u, comme les boutons du landing. */
.hero-u .hero-media { background: rgb(var(--veil)); }
.hero-u .hero-title .soft { background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 18%, var(--soft-end) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-u .pill-white { color: var(--accent-ink); }
.pill-red { background: #C8102E; color: var(--white); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-weight: 600; color: rgba(255, 255, 255, .88); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { opacity: .6; }
@media (min-width: 480px) {
  .hero-u { --hh: 1106; height: calc(var(--hh) * var(--u)) !important; margin-top: 0 !important; }
  .hero-u.hero-sub { --hh: 900; }
  .hero-u .hero-media img { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; max-width: none; transform: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
  .hero-u .hero-media::after { background:
    radial-gradient(60% 50% at 0% 100%, rgba(var(--veil-warm), .95) 0%, rgba(var(--veil-warm), .4) 45%, transparent 72%),
    linear-gradient(197deg, rgba(var(--veil), 0) 0%, rgba(var(--veil), 0) 30%, rgba(var(--veil), .4) 43%, rgba(var(--veil), .84) 57%, rgba(var(--veil), .97) 70%, rgb(var(--veil)) 100%),
    linear-gradient(90deg, rgba(var(--veil), .32) 0%, rgba(var(--veil), 0) 40%); }
  .hero-u .hero-inner { position: absolute; z-index: 3; left: calc(var(--x0) + 142 * var(--u)); bottom: calc(100 * var(--u)); top: auto; width: auto; max-width: calc(1320 * var(--u)); padding: 0; margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
  .hero-u .hero-title, .hero-u .hero-lead, .hero-u .hero-ctas { position: static !important; left: auto !important; top: auto !important; }
  .hero-u .hero-lead { margin-top: calc(14 * var(--u)); width: auto; max-width: max(calc(1010 * var(--u)), 30em); }
  .hero-u .hero-ctas { margin-top: calc(44 * var(--u)); }
  .hero-u .crumbs { margin-bottom: calc(30 * var(--u)); font-size: max(11px, calc(21 * var(--u))); }
  .hero-u .hero-mark { top: calc((958 - 1160 + var(--hh)) * var(--u)); }
  .hero-u .hero-ribbon { top: calc((572 - 1160 + var(--hh)) * var(--u)); }
  .hero-u .pill, .hero-u .pill-white, .hero-u .pill-orange { width: auto !important; min-width: calc(333 * var(--u)); }
  .hero-u .pill-white { min-width: calc(375 * var(--u)); }
  .hero-u .hero-title.is-long { font-size: calc(66 * var(--u)); line-height: calc(68 * var(--u)); }
}
@media (max-width: 479px) {
  .hero-u { margin-top: 0 !important; }
  .hero-u .hero-media img { height: 340px; width: 100%; left: 0; transform: none; object-fit: cover; object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .hero-u .hero-inner { padding-top: 196px; }
  .hero-u .hero-media { background: rgb(var(--veil)); }
  .hero-u .hero-media::after { background:
    radial-gradient(90% 40% at 0% 100%, rgba(var(--veil-warm), .9) 0%, rgba(var(--veil-warm), .35) 50%, transparent 75%),
    linear-gradient(180deg, rgba(var(--veil), 0) 0px, rgba(var(--veil), 0) 110px, rgba(var(--veil), .55) 210px, rgba(var(--veil), .92) 290px, rgb(var(--veil)) 340px, rgb(var(--veil)) 100%); }
  .hero-u .hero-title { white-space: normal; font-size: min(31px, calc((100vw - 36px) / 12.4)); }
  /* sur téléphone le titre se recompose seul : les retours à la ligne de la version large sont ignorés */
  .hero-u .hero-title br { display: none; }
  .hero-u .hero-title { text-wrap: balance; }
  .hero-u .crumbs { margin-bottom: 12px; font-size: 12px; }
}

/* ---------- Chiffres d'un univers ---------- */
.ustats { padding-top: clamp(96px, 9vw, 150px); padding-bottom: clamp(24px, 3vw, 48px); }
.ustats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ustat { padding: 4px clamp(14px, 2.4vw, 36px); border-left: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ustat:first-child { border-left: 0; padding-left: 0; }
.ustat strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4vw, 70px); line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, var(--accent-ink), var(--accent-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.ustat b { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(14px, 1.3vw, 22px); line-height: 1.05; color: var(--accent-ink); }
.ustat > span { font-size: 13px; color: var(--muted); line-height: 1.4; max-width: 28ch; }
.ustat strong.word { font-size: clamp(26px, 2.6vw, 46px); white-space: normal; padding-bottom: .06em; }
.ustats .kpi-line { margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 899px) {
  .ustats-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .ustat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 479px) { .ustat strong { font-size: 34px; } .ustat { padding-right: 8px; } }

/* ---------- Cartes de pages (explorer un univers) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.card-img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); box-shadow: 0 30px 50px -34px rgba(40, 10, 10, .45); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.card h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.1; }
.card p { color: var(--muted); font-size: 15px; }
.card .link-arrow { margin-top: 2px; }
.card-plain { padding: 26px; border-radius: var(--r); background: var(--mist); gap: 10px; transition: transform .3s var(--ease), box-shadow .3s; }
a.card-plain:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(40, 10, 10, .45); }
.card-plain::before { content: ""; width: 34px; height: 4px; border-radius: 4px; background: var(--flux); }
[data-theme="red"] .card, [data-theme="night"] .card { color: var(--white); }
[data-theme="red"] .card p, [data-theme="night"] .card p { color: rgba(255, 255, 255, .8); }
[data-theme="red"] .card-k, [data-theme="night"] .card-k { color: rgba(255, 255, 255, .85); }
@media (max-width: 960px) { .cards, .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .cards, .cards-2, .cards-4 { grid-template-columns: 1fr; } }

/* ---------- Niveaux de service ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: tier; }
.tier { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 22px 24px; border-radius: var(--r); background: var(--mist); }
.tier::before { content: ""; height: 6px; border-radius: 6px; background: var(--flux); background-size: 400% 100%; background-position: var(--p, 0%) 0; margin-bottom: 8px; }
.tier:nth-child(2) { --p: 33%; } .tier:nth-child(3) { --p: 66%; } .tier:nth-child(4) { --p: 100%; }
.tier-n { font-family: var(--font-display); font-weight: 300; font-size: 46px; line-height: .9; color: var(--accent-ink); }
.tier h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 19px; line-height: 1.1; }
.tier p { color: var(--muted); font-size: 15px; }
.tier ul { display: grid; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.tier li { font-size: 14px; font-weight: 500; padding-left: 18px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); }
.tier-full { background: var(--ink); color: var(--white); }
.tier-full p, .tier-full li { color: rgba(255, 255, 255, .8); }
.tier-full .tier-n { color: var(--accent-hi); }
.tier-full ul { border-top-color: rgba(255, 255, 255, .15); }
.tier-full li::before { background: var(--accent-hi); }
@media (max-width: 1060px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- Texte long en chapitres ---------- */
.chapters { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color .2s; }
.toc a:hover, .toc a.is-on { color: var(--accent-ink); }
.chapter + .chapter { margin-top: clamp(64px, 8vw, 110px); }
.chapter > .eyebrow { margin-bottom: 18px; }
.chapter .title { margin-bottom: 24px; }
.prose { display: grid; gap: 18px; max-width: 68ch; }
.prose p { color: var(--muted); font-size: 17px; }
.prose p strong { color: var(--ink); }
@media (max-width: 960px) {
  .chapters { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; }
  .toc a { padding: 8px 14px; border-radius: 999px; background: var(--mist); font-size: 13px; }
}

/* Valeurs, engagements : grille de blocs à liseré de flux */
.blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.blocks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blocks-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.block { padding: 24px; border-radius: var(--r); background: var(--mist); display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.block::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--flux); }
.block h3, .block h4 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 17px; line-height: 1.15; }
.block p { color: var(--muted); font-size: 15px; }
.block .i { width: 28px; height: 28px; color: var(--accent-ink); }
[data-theme="red"] .block, [data-theme="night"] .block { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
[data-theme="red"] .block p, [data-theme="night"] .block p { color: rgba(255, 255, 255, .82); }
[data-theme="red"] .block .i, [data-theme="night"] .block .i { color: var(--white); }
@media (max-width: 960px) { .blocks, .blocks-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .blocks, .blocks-2, .blocks-4 { grid-template-columns: 1fr; } }

/* Bande d'appel à l'action (sur territoire coloré) */
.cta-band { display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: end; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* Tableau sobre (corridors, produits) */
.table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--mist); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 700; }

/* Liste de produits (carburants) */
.fuels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fuel { border-radius: var(--r); padding: 28px 24px; background: var(--mist); display: flex; flex-direction: column; gap: 10px; }
.fuel-tag { align-self: flex-start; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; padding: 10px 14px; border-radius: 12px; color: var(--white); background: var(--accent); }
.fuel:nth-child(2) .fuel-tag { background: #BF4E00; }
.fuel:nth-child(3) .fuel-tag { background: #9C7A3C; }
.fuel h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 19px; }
.fuel p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .fuels { grid-template-columns: 1fr; } }

/* ---------- Actualités ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.news-item { display: flex; flex-direction: column; gap: 12px; }
.news-item:first-child { grid-column: span 2; }
.news-item:first-child .card-img { aspect-ratio: 16 / 9; }
.news-item:first-child h3 { font-size: clamp(22px, 2vw, 30px); }
.news-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: var(--ink); }
.badge.u-energies { background: #C80A16; } .badge.u-fm { background: #BF4E00; } .badge.u-tt { background: #00838D; }
@media (max-width: 960px) { .news { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .news { grid-template-columns: 1fr; } .news-item:first-child { grid-column: auto; } }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article .prose p { font-size: 18px; }
.article figure { margin: 36px 0; }

/* ---------- Carrières ---------- */
.jobs { display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 22px 26px; border-radius: var(--r); background: var(--mist); }
.job h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 18px; }
.job p { color: var(--muted); font-size: 14px; }
.empty { padding: 32px; border-radius: var(--r); border: 1.5px dashed #D8CFC9; display: grid; gap: 10px; justify-items: start; }
.empty h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 19px; }
.empty p { color: var(--muted); }

/* ---------- Contact ---------- */
.entities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.entity { border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 8px; color: var(--white); background: var(--accent); }
.entity h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 19px; line-height: 1.1; }
.entity p { color: rgba(255, 255, 255, .86); font-size: 15px; }
.entity a { color: var(--white); font-weight: 700; }
@media (max-width: 860px) { .entities { grid-template-columns: 1fr; } }

/* ---------- Carte des stations ---------- */
.locator { display: grid; grid-template-columns: 380px minmax(0, 1fr); height: min(720px, calc(100svh - var(--header-h) - 120px)); min-height: 520px; border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: 0 40px 70px -40px rgba(40, 10, 10, .45), 0 0 0 1px var(--line); }
.loc-side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.loc-search { padding: 18px; display: grid; gap: 12px; border-bottom: 1px solid var(--line); }
.loc-search input { width: 100%; min-height: 48px; padding: 0 16px 0 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C5C5C' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 14px center / 18px no-repeat; font-size: 15px; font-weight: 500; }
.loc-search input:focus { outline: none; border-color: var(--orange); background-color: var(--white); }
.loc-near { justify-self: start; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; color: var(--accent-ink); font-weight: 700; font-size: 14px; cursor: pointer; }
.loc-near svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.loc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.loc-chips button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.loc-chips button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.loc-status { padding: 10px 18px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.loc-list { overflow-y: auto; flex: 1; }
.loc-item { display: grid; gap: 4px; padding: 16px 18px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background-color .15s; }
.loc-item:hover { background: var(--mist); }
.loc-item.is-sel { background: var(--mist); box-shadow: inset 4px 0 0 var(--accent); }
.loc-item h2 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 16px; }
.loc-item .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.loc-item .services { font-size: 13px; color: var(--muted); }
.loc-item .acts { display: flex; gap: 8px; margin-top: 8px; }
.is-open { color: #0D8A45; font-weight: 700; }
.is-shut { color: var(--muted); font-weight: 700; }
.loc-map { position: relative; min-height: 0; background: #EEE9E5; }
.loc-map .leaflet-container { width: 100%; height: 100%; font-family: var(--font-body); background: #EEE9E5; }
.loc-empty { padding: 24px 18px; color: var(--muted); font-size: 14px; }
/* Repère de station : une station NDC en miniature */
.pin-wrap { background: none; border: 0; }
.pin-ndc { position: relative; display: block; width: 44px; height: 54px; transform-origin: 50% 94%; transition: transform .22s var(--ease); filter: drop-shadow(0 5px 6px rgba(20, 0, 0, .28)); }
.pin-ndc img { display: block; width: 44px; height: 54px; pointer-events: none; }
.leaflet-marker-icon:hover .pin-ndc, .leaflet-marker-icon:focus-visible .pin-ndc { transform: scale(1.1); }
.pin-ndc.is-sel { transform: scale(1.22); z-index: 1; }
.pin-ndc.is-sel::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 16px; height: 6px; margin-left: -8px; border-radius: 50%; background: var(--accent); opacity: .55; }
.pin-me { width: 18px; height: 18px; border-radius: 50%; background: #2F7BFF; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(47, 123, 255, .2); }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.leaflet-popup-content { margin: 14px 16px; font-family: var(--font-body); font-size: 13px; line-height: 1.5; }
.leaflet-popup-content h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 15px; margin-bottom: 2px; }
.leaflet-popup-content .acts { display: flex; gap: 6px; margin-top: 8px; }
.leaflet-popup-content .btn { min-height: 34px; padding: 0 14px; font-size: 12.5px; }
.leaflet-popup-content a.btn-red { color: var(--white); }
@media (max-width: 860px) {
  .locator { grid-template-columns: 1fr; grid-template-rows: 340px auto; height: auto; }
  .loc-map { grid-row: 1; }
  .loc-side { grid-row: 2; border-right: 0; border-top: 1px solid var(--line); }
  .loc-list { max-height: 520px; }
}
.station-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .station-facts { grid-template-columns: 1fr; } }
.mini-map { height: 360px; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }

/* ---------- Pages simples (mentions légales, 404) ---------- */
.legal .wrap { max-width: 860px; }
.legal h2 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 20px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 20px; }
.page-title { padding-top: clamp(56px, 7vw, 100px); }

/* Utilitaires */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.crumbs-ink { color: var(--muted); margin-bottom: 18px; }
.crumbs-ink a:hover { color: var(--accent-ink); }
.leaflet-popup-content .meta { display: flex; gap: 10px; margin-top: 2px; }
.leaflet-control-attribution { font-size: 10px; }
/* Fond de carte adouci : les repères NDC ressortent */
.leaflet-tile-pane { filter: grayscale(1) sepia(.12) contrast(.92) brightness(1.04); }
a.block { text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s; }
a.block:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(40, 10, 10, .45); }
/* Chapitres : espacement entre texte et composants ; galerie */
.chapter > * + * { margin-top: 24px; }
.chapter > .title { margin-top: 0; }
figure.card { margin: 0; }
figure.card figcaption { display: flex; flex-direction: column; gap: 4px; }
.wrap > .head + .cards, .wrap > figure + .cards, .wrap > .frame + .head { margin-top: clamp(28px, 3vw, 44px); }
.chapter .ustats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
.chapter .ustat:nth-child(3) { border-left: 0; padding-left: 0; }
.footer-social { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; }
/* Cinq cartes : deux grandes puis trois (pas de case vide) */
@media (min-width: 961px) {
  .cards:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cards:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .cards:has(> :nth-child(5):last-child) > :nth-child(-n+2) { grid-column: span 3; }
  .cards:has(> :nth-child(5):last-child) > :nth-child(-n+2) .card-img { aspect-ratio: 16 / 9; }
}
/* Chiffres en chapitres : même progression de couleurs que le bandeau de l'accueil */
.ustat:nth-child(1) strong { background-image: linear-gradient(90deg, #C51222, #D6101D); } .ustat:nth-child(1) b { color: #C51222; }
.ustat:nth-child(2) strong { background-image: linear-gradient(90deg, #E8441D, #F7702A); } .ustat:nth-child(2) b { color: #EA4B1E; }
.ustat:nth-child(3) strong { background-image: linear-gradient(90deg, #B5701A, #C98C33); } .ustat:nth-child(3) b { color: #B7721B; }
.ustat:nth-child(4) strong { background-image: linear-gradient(90deg, #8AA58A, #2CC9CC); } .ustat:nth-child(4) b { color: #6FA898; }
.site-header .nav-item > a:hover { color: var(--accent-ink) !important; }
.nav-item.u-energies > a:hover { color: #D6101D !important; }
/* L'en-tête est opaque : pas de flou d'arrière-plan (il enfermerait le menu mobile, en position fixe, dans la barre) */
.site-header, .site-header.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; }
.mobile-menu { inset: var(--header-h) 0 0 0; height: calc(100dvh - var(--header-h)); }
.mobile-menu .btn-light, .site-header.is-solid .mobile-menu .btn-light { background: var(--white); color: var(--accent-ink); }
.mm-group summary, .mobile-menu .mm-link { font-size: clamp(19px, 5.6vw, 24px); }
/* Tableau comparatif : la colonne des prestations reste visible au défilement horizontal */
.table th:first-child, .table td:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--line); }
.table th:first-child { background: var(--mist); }
@media (max-width: 599px) { .table th, .table td { padding: 12px 14px; font-size: 14px; } .table td:first-child { min-width: 150px; } }

/* Carte des stations : ville, regroupement des repères */
.loc-search select { width: 100%; min-height: 44px; padding: 0 40px 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; appearance: none; font-size: 14px; font-weight: 600; cursor: pointer; }
.loc-search select:focus { outline: none; border-color: var(--orange); }
.pin-cluster { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 15px; border: 3px solid var(--white); box-shadow: 0 0 0 6px rgba(208, 0, 0, .18), 0 10px 20px -8px rgba(0, 0, 0, .5); transition: transform .2s var(--ease); }
.pin-cluster:hover { transform: scale(1.08); }
.loc-item .dist { font-weight: 700; color: var(--ink); }
.loc-noscript { margin-top: 20px; }
.leaflet-popup-content a.btn-ghost { color: var(--ink); }
.loc-map .leaflet-control-attribution, .mini-map .leaflet-control-attribution { margin: 0 14px 6px 0; border-radius: 6px; padding: 1px 6px; }
.loc-map { scroll-margin-top: calc(var(--header-h) + 12px); }
.pillars h3 { font-size: 16px; font-weight: 700; font-family: var(--font-body); text-transform: none; }

/* Visuel détouré (citerne, cartes) : posé sur un fond clair arrondi, jamais recadré */
.frame-cut { display: grid; place-items: center; border-radius: var(--r); background: linear-gradient(160deg, #FBF9F7 0%, #F1ECE8 100%); aspect-ratio: 3 / 2; padding: clamp(8px, 1.4vw, 20px); overflow: hidden; }
.frame-cut img, .service .frame-cut img, .fleet .frame-cut img { width: 100%; height: auto !important; aspect-ratio: auto !important; object-fit: contain; border-radius: 0; box-shadow: none !important; filter: drop-shadow(0 26px 22px rgba(40, 10, 10, .22)); transform: none !important; }
.frame-cut:hover img { transform: translateY(-4px) !important; }
[data-theme="red"] .frame-cut, [data-theme="night"] .frame-cut { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
[data-theme="red"] .frame-cut img, [data-theme="night"] .frame-cut img { filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .35)); }
.card-img.is-cut { background: linear-gradient(160deg, #FBF9F7 0%, #F1ECE8 100%); box-shadow: none; display: grid; place-items: center; }
.card-img.is-cut img { object-fit: contain; padding: 8% 6%; filter: drop-shadow(0 14px 12px rgba(40, 10, 10, .2)); }
.mini-map { margin-top: 28px; }
.legal h1 + p, .legal .title + p { margin-top: 22px; font-size: 17px; }
.legal .eyebrow { color: var(--muted); }
/* Sur-titre dans un bloc service : même style que partout (la règle des paragraphes du bloc ne s'y applique pas) */
.service-body > p.eyebrow { font-size: 12px; margin-bottom: 0; color: rgba(255, 255, 255, .9); }
.service-body > p.eyebrow.eyebrow-red { color: var(--accent-ink); }
.loc-note { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 86ch; }
.loc-note a { color: var(--accent-ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
/* Téléphone : recherche, puis carte, puis liste */
@media (max-width: 860px) {
  .locator { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .loc-side { display: contents; }
  .loc-search { order: 1; }
  .loc-map { order: 2; height: 320px; flex: none; }
  .loc-status { order: 3; border-top: 1px solid var(--line); }
  .loc-list { order: 4; max-height: 480px; }
}

/* Fiche station : services sur deux colonnes, téléphone, ouverte / fermée */
.ticks-2 { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.block .ticks li { border-bottom: 0; padding-bottom: 0; font-size: 15px; }
.block .ticks { gap: 10px; margin-top: 4px; }
.block-sub { margin-top: 14px; }
.station-tels a { color: var(--ink); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; line-height: 1.9; }
.station-tels a:hover { color: var(--accent-ink); }
.station-status { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.station-status.is-open::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #14C463; box-shadow: 0 0 0 4px rgba(20, 196, 99, .2); vertical-align: 1px; }
.loc-item .acts { flex-wrap: wrap; }
@media (max-width: 479px) { .ticks-2 { grid-template-columns: 1fr; } }

/* Univers NDC Énergies : le haut de page de l'accueil, à l'identique (la barre des univers le précède) */
.hero.hero-same { margin-top: 0 !important; }
.job-meta { font-weight: 600; color: var(--accent-ink) !important; margin: 2px 0 6px; }
.offers .card { padding: 24px; border-radius: var(--r); background: var(--mist); }
.offers .card-img { margin: -24px -24px 6px; border-radius: var(--r) var(--r) 0 0; box-shadow: none; }
@media (max-width: 599px) { .job { grid-template-columns: 1fr; } }

/* Accueil du groupe : les trois portes, une par entité et par couleur du flux */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.door { display: flex; flex-direction: column; border-radius: var(--r); background: var(--white); box-shadow: 0 34px 60px -40px rgba(40, 10, 10, .45), 0 0 0 1px var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.door:hover { transform: translateY(-6px); box-shadow: 0 44px 70px -38px rgba(40, 10, 10, .5), 0 0 0 1px var(--line); }
.door-img { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.door-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.door:hover .door-img img { transform: scale(1.05); }
.door-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); }
.door-body { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2vw, 28px); flex: 1; }
.door-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.door-body > p { color: var(--muted); }
.door .ticks { gap: 10px; }
.door .ticks li { font-size: 15px; padding-bottom: 10px; }
.door .service-links { margin-top: auto; padding-top: 6px; }
@media (max-width: 1060px) { .doors { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }

/* Encart « réseau » : le réseau entier, jamais une seule station */
.net-card { gap: 12px; }
.net-ico { width: 44px; height: 54px; margin: -6px 0 2px -4px; filter: drop-shadow(0 6px 8px rgba(20, 0, 0, .22)); }
.net-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.net-figs { display: flex; gap: clamp(22px, 3vw, 34px); margin: 2px 0 4px; }
.net-figs p { display: grid; gap: 4px; }
.net-figs strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 3.6vw, 50px); line-height: .95; font-variant-numeric: tabular-nums; color: var(--ink); }
.net-figs span { font-size: 13px; font-weight: 600; color: var(--muted); }
.net-villes { list-style: none; margin: 0 0 6px; padding: 0; width: 100%; border-top: 1px solid var(--line); }
.net-villes a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s, padding .2s; }
.net-villes a:hover { color: var(--accent-ink); padding-left: 6px; }
.net-villes b { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.net-villes .net-plus a { justify-content: flex-start; color: var(--accent-ink); font-weight: 700; border-bottom: 0; }
.net-villes .net-plus a::after { content: "→"; }
/* Les calques de Leaflet (z-index 400 à 1000) restent dans la carte : le menu fixe passe toujours au-dessus */
.loc-map, .mini-map { isolation: isolate; z-index: 0; }

/* ---------- Page d'article (actualités rédigées dans l'administration) ---------- */
.article { padding-top: clamp(28px, 4vw, 56px); }
.article-wrap { max-width: calc(880px + 2 * var(--gutter)); }
.article-crumbs { color: var(--muted); }
.article-crumbs a { color: inherit; }
.article-meta { margin: clamp(18px, 2vw, 26px) 0 14px; }
.article-title { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(28px, 4vw, 50px); line-height: 1.03; text-wrap: balance; color: var(--ink); }
.article-cover, .video { margin: clamp(24px, 3vw, 40px) 0; border-radius: var(--r); overflow: hidden; background: #111; aspect-ratio: 16 / 9; box-shadow: 0 34px 60px -40px rgba(40, 10, 10, .55); }
.article-cover { background: var(--mist); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { all: unset; cursor: pointer; position: relative; display: block; width: 100%; height: 100%; }
.video-play img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .82; transition: opacity .3s, transform .8s var(--ease); }
.video-play:hover img { opacity: .7; transform: scale(1.02); }
.video-btn { position: absolute; left: 50%; top: 50%; width: clamp(64px, 8vw, 88px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255, 255, 255, .18), 0 20px 40px -12px rgba(0, 0, 0, .6); transition: transform .3s var(--ease); }
.video-btn svg { width: 38%; fill: #fff; margin-left: 6%; }
.video-play:hover .video-btn, .video-play:focus-visible .video-btn { transform: translate(-50%, -50%) scale(1.08); }
.video-play:focus-visible { outline: 3px solid var(--focus, #F67300); outline-offset: -3px; }
.video iframe, .video video { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.article-body { max-width: 68ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.78; color: #2A2A2A; }
.article-body p + p { margin-top: 1.1em; }
.article-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: clamp(28px, 3vw, 40px) 0 0; }
.gal-item { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--mist); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.gal-item:hover img { transform: scale(1.04); }
.article-gal .gal-item:first-child:nth-last-child(n + 4) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(32px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--line); }
.article-share-k { margin-right: 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.share-btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: border-color .2s; }
.share-btn:hover { border-color: var(--ink); }
.news-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(208, 0, 0, .92); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255, 255, 255, .22); }
.news-play svg { width: 22px; fill: #fff; margin-left: 3px; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 2, 3, .95); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lb-img { max-width: min(94vw, 1600px); max-height: 86dvh; object-fit: contain; border-radius: 8px; }
.lb-x, .lb-p, .lb-n { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-x:hover, .lb-p:hover, .lb-n:hover { background: rgba(255, 255, 255, .24); }
.lb-x { top: 18px; right: 18px; }
.lb-p { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-n { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-c { position: fixed; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 719px) {
  .article-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .article-gal .gal-item:first-child:nth-last-child(n + 4) { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .lb-p, .lb-n { top: auto; bottom: 10px; transform: none; }
}
