/* ==========================================================================
   style.css — Feuille principale
   Reproduction pédagogique de la home Škoda France (visuels = placeholders).
   ========================================================================== */

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,svg,video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: var(--fw-semibold); line-height: 1.08; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ---------- Utilitaires ---------- */
.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-xl); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-lg); flex-wrap: wrap; }
.section__title { font-size: var(--fs-h2); }
.eyebrow { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.18em; font-weight: var(--fw-semibold); color: var(--green-accent); margin-bottom: var(--space-xs); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Reveal au scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.85rem 1.7rem; border-radius: var(--radius-pill); font-weight: var(--fw-semibold); font-size: 0.95rem; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--emerald-900); color: var(--white); }
.btn--primary:hover { background: var(--emerald-700); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--green-electric); color: var(--emerald-900); }
.btn--accent:hover { box-shadow: 0 10px 26px rgba(120,250,174,0.4); }
.btn--ghost { background: transparent; color: var(--emerald-900); border: 1.5px solid currentColor; }
.btn--ghost:hover { background: var(--emerald-900); color: var(--white); }
.btn--on-dark { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.btn--on-dark:hover { background: var(--white); color: var(--emerald-900); }
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: var(--fw-semibold); color: var(--emerald-900); }
.link-arrow .arrow { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); transition: box-shadow var(--dur) var(--ease); }
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { width: min(100% - 3rem, var(--container)); margin-inline: auto; display: flex; align-items: center; gap: var(--space-lg); }
.header__logo svg { width: 130px; height: auto; fill: var(--emerald-900); }
.header__logo { display: flex; align-items: center; }
.nav { display: flex; align-items: center; gap: 0.35rem; margin-right: auto; }
.nav__item { position: relative; }
.nav__link { position: relative; display: inline-flex; align-items: center; height: var(--header-h); padding: 0 0.9rem; font-weight: var(--fw-medium); font-size: 0.95rem; transition: color var(--dur) var(--ease), text-shadow var(--dur) var(--ease); }
/* Trait vert sous l'item (largeur de l'item), révélé au survol/ouverture */
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--emerald-900); transform: scaleX(0); transition: transform var(--dur) var(--ease); }
/* Faux-gras via text-shadow : aspect gras sans décalage de largeur */
.nav__link:hover, .nav__item.is-open .nav__link { color: var(--emerald-900); text-shadow: 0.35px 0 0 currentColor, -0.35px 0 0 currentColor; }
.nav__link:hover::after, .nav__item.is-open .nav__link::after { transform: scaleX(1); }

/* Mega menu */
.megamenu { position: fixed; left: 0; right: 0; top: var(--header-h); background: var(--white); border-top: 1px solid var(--border); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur); }
.nav__item.is-open .megamenu { opacity: 1; visibility: visible; transform: none; }
.megamenu__grid { width: min(100% - 3rem, var(--container)); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); padding-block: var(--space-lg); }
.megamenu__col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: var(--space-sm); }
.megamenu__col a { display: block; padding: 0.4rem 0; font-weight: var(--fw-medium); color: var(--text); transition: color var(--dur) var(--ease), padding var(--dur) var(--ease); }
.megamenu__col a:hover { color: var(--green-accent); padding-left: 6px; }

.burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; }
.burger span { width: 22px; height: 2px; background: var(--emerald-900); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO — carrousel
   ========================================================================== */
.hero { margin-top: var(--header-h); position: relative; }
.hero__track { display: flex; transition: transform 0.8s var(--ease); }
.hero__slide { min-width: 100%; position: relative; height: min(66vh, 608px); display: flex; align-items: flex-end; overflow: hidden; }
/* Image réelle dans le hero */
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Placeholder « photo » : dégradés émeraude */
.hero__slide .ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(120,250,174,0.22), transparent 55%),
    linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-700) 55%, #06231c 100%);
}
.hero__slide .ph::after { content: "Visuel"; position: absolute; right: 6%; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: clamp(4rem, 16vw, 12rem); font-weight: var(--fw-bold); color: rgba(255,255,255,0.05); letter-spacing: -0.04em; }
.hero__slide:nth-child(2) .ph { background: radial-gradient(120% 90% at 20% 20%, rgba(180,224,0,0.18), transparent 55%), linear-gradient(120deg, #103a2e, #0a2820 60%, #061c16); }
.hero__slide:nth-child(3) .ph { background: radial-gradient(110% 90% at 85% 80%, rgba(120,250,174,0.25), transparent 55%), linear-gradient(160deg, #14483a, #0b2b23 70%, #05201a); }
.hero__slide:nth-child(4) .ph { background: linear-gradient(135deg, #0d352b, #082019); }
.hero__content { position: relative; z-index: 2; width: min(100% - 3rem, var(--container)); margin-inline: auto; padding-bottom: var(--space-xl); color: var(--white); }
.hero__eyebrow { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.2em; font-weight: var(--fw-semibold); color: var(--green-electric); margin-bottom: var(--space-sm); }
.hero__title { font-size: var(--fs-hero); max-width: 14ch; margin-bottom: var(--space-sm); }
.hero__text { font-size: 1.15rem; max-width: 42ch; color: var(--text-on-dark); margin-bottom: var(--space-md); }
.hero__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.hero__price { font-size: 1.05rem; margin-bottom: var(--space-md); }
.hero__price strong { font-size: 1.6rem; font-weight: var(--fw-bold); }
.hero__price sup { color: var(--green-electric); }

/* Contrôles carrousel */
.hero__dots { position: absolute; bottom: calc(1.8rem + (48px - 5px) / 2); right: max(1.5rem, calc((100% - var(--container)) / 2 + 1.5rem + 48px + 0.75rem)); z-index: 3; display: flex; flex-direction: row; gap: 0.5rem; align-items: center; }
.hero__dot { width: 41px; height: 5px; border-radius: 5px; background: rgba(255,255,255,0.35); border: none; padding: 0; cursor: pointer; transition: background var(--dur) var(--ease); overflow: hidden; }
.hero__dot.is-active { background: rgba(255,255,255,0.5); }
.hero__dot span { display: block; height: 100%; width: 0; background: #fff; }
.hero__dot.is-active span { width: 100%; transition: width 6s linear; }
.hero__arrow { display: none; }
/* Bouton play/pause */
.hero__playpause { position: absolute; bottom: 1.8rem; right: max(1.5rem, calc((100% - var(--container)) / 2 + 1.5rem)); z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1.5px solid rgba(255,255,255,0.3); display: grid; place-items: center; cursor: pointer; transition: background var(--dur) var(--ease); }
.hero__playpause:hover { background: rgba(255,255,255,0.28); }
.hero__playpause svg { width: 18px; fill: #fff; stroke: none; }
.hero__playpause .icon-pause { display: none; }
.hero__playpause.is-paused .icon-play { display: none; }
.hero__playpause.is-paused .icon-pause { display: block; }

/* ==========================================================================
   GAMME — filtres + grille modèles
   ========================================================================== */
/* ---- Gamme range ---- */
.range { background: var(--off-white); }
.range__tabs-bar { border-bottom: 1px solid var(--border); margin-bottom: var(--space-lg); }
.filters { display: flex; gap: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; margin-bottom: 0; }
.filters::-webkit-scrollbar { display: none; }
.filter { padding: 0.75rem 1.5rem; border-radius: 0; background: transparent; border: none; border-bottom: 2.5px solid transparent; margin-bottom: -1px; font-weight: var(--fw-medium); font-size: 1.125rem; color: var(--grey-500); white-space: nowrap; cursor: pointer; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease); display: flex; flex-direction: column; align-items: center; }
/* Pseudo-élément bold invisible : réserve la largeur pour éviter le layout shift */
.filter::after { content: attr(data-text); font-weight: var(--fw-bold); font-size: 1.125rem; display: block; height: 0; visibility: hidden; overflow: hidden; white-space: nowrap; pointer-events: none; }
.filter:hover { font-weight: var(--fw-bold); color: var(--emerald-900); border-bottom-color: var(--emerald-900); }
.filter.is-active { font-weight: var(--fw-bold); color: var(--ink); background: #E6E6E6; border-bottom-color: var(--emerald-900); }
/* Carousel stage */
.range__stage { display: flex; align-items: center; gap: 0.5rem; margin-bottom: var(--space-md); }
.range__viewport { overflow: hidden; flex: 1; }
.models { display: flex; gap: 0; transition: transform 0.5s var(--ease); }
.model-card { flex: 0 0 20%; padding: 1.5rem 1rem 1rem; background: transparent; box-shadow: none; border-radius: 0; text-align: center; cursor: pointer; }
.model-card.is-hidden { display: none; }
.model-card:hover { transform: none; box-shadow: none; }
.model-card__media { aspect-ratio: 4 / 3; position: relative; background: transparent; display: grid; place-items: center; overflow: hidden; }
.model-card__img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform var(--dur) var(--ease); }
.model-card:hover .model-card__img { transform: scale(1.04); }
.model-card__media .ph-car { width: 90%; opacity: 1; fill: rgba(14,58,47,.3); transition: transform var(--dur) var(--ease); }
.model-card:hover .model-card__media .ph-car { transform: scale(1.04); }
.model-card__body { padding: 0.6rem 0 0; }
.model-card__name { font-size: 1rem; font-weight: var(--fw-medium); margin-bottom: 0.45rem; color: var(--text); }
.model-card__badge { display: inline-block; font-size: 0.65rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.1em; padding: 0.22rem 0.6rem; border-radius: 0; background: #5A5B5C; color: #fff; }
/* Flèches carousel */
.range__arrow { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); display: grid; place-items: center; cursor: pointer; transition: border-color var(--dur) var(--ease); }
.range__arrow:hover { border-color: var(--emerald-900); }
.range__arrow:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.range__arrow svg { width: 20px; stroke: var(--text); }
/* CTA centré */
.range__cta { text-align: center; padding-bottom: var(--space-sm); }
.btn--range-cta { display: inline-block; padding: 0.85rem 2.8rem; border-radius: var(--radius-pill); border: 1.5px solid var(--text); background: transparent; color: var(--text); font-weight: var(--fw-semibold); font-size: 0.9rem; text-decoration: none; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.btn--range-cta:hover { background: var(--text); color: var(--white); }

/* ==========================================================================
   BLOCS À FOND SOMBRE (électrique / Fabia)
   ========================================================================== */
/* ---- Mosaïque services ---- */
.mosaic-section { background: var(--off-white); padding-block: var(--space-sm); }
.mosaic-section__title { font-size: 42px; font-weight: 700; font-style: normal; letter-spacing: normal; line-height: 119%; color: #161718; margin: 90px 20px 45px; text-align: center; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 30px; }
/* Les tuiles centrales carrées fixent la hauteur des rangées — scopé à .mosaic */
.mosaic > .mosaic__tile:nth-child(2),
.mosaic > .mosaic__tile:nth-child(3) { aspect-ratio: 1 / 1; }
/* placement explicite pour garantir le masonry 1|2|1 — scopé à .mosaic */
.mosaic > .mosaic__tile:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.mosaic > .mosaic__tile:nth-child(2) { grid-column: 2; grid-row: 1; }
.mosaic > .mosaic__tile:nth-child(3) { grid-column: 2; grid-row: 2; }
.mosaic > .mosaic__tile:nth-child(4) { grid-column: 3; grid-row: 1 / 3; }
.mosaic__tile { position: relative; overflow: hidden; display: block; text-decoration: none; cursor: pointer; }
.mosaic__tile--tall { grid-row: span 2; }

/* Variante électrique : 2 cols de 2 tuiles carrées + 1 col tall à droite */
.mosaic--electric { grid-template-rows: auto auto; }
.mosaic--electric > .mosaic__tile:nth-child(1) { grid-column: 1; grid-row: 1; aspect-ratio: 1/1; }
.mosaic--electric > .mosaic__tile:nth-child(2) { grid-column: 1; grid-row: 2; aspect-ratio: 1/1; }
.mosaic--electric > .mosaic__tile:nth-child(3) { grid-column: 2; grid-row: 1; aspect-ratio: 1/1; }
.mosaic--electric > .mosaic__tile:nth-child(4) { grid-column: 2; grid-row: 2; aspect-ratio: 1/1; }
.mosaic--electric > .mosaic__tile:nth-child(5) { grid-column: 3; grid-row: 1 / 3; }
/* Placeholders photo (dégradés évocateurs) */
.mosaic__ph { position: absolute; inset: 0; transition: transform 0.5s var(--ease); }
.mosaic__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s var(--ease); }
.mosaic__tile:hover .mosaic__img { transform: scale(1.04); }
.mosaic__ph--1 { background: linear-gradient(160deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%); }
.mosaic__ph--2 { background: linear-gradient(160deg, #2c3e50 0%, #3d5a6b 100%); }
.mosaic__ph--3 { background: linear-gradient(160deg, #4a3728 0%, #6b4c37 60%, #8b6347 100%); }
.mosaic__ph--4 { background: linear-gradient(160deg, var(--emerald-900) 0%, #1a5c47 50%, #0b3d2e 100%); }
/* Dégradé sombre en bas pour lisibilité du texte */
.mosaic__ph::after,
.mosaic__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 45%, transparent 100%); }
/* Gradient sur tuiles avec img réelle (via pseudo sur le tile) */
.mosaic__tile:has(.mosaic__img)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 45%, transparent 100%); z-index: 1; pointer-events: none; }
.mosaic__tile:has(.mosaic__img) .mosaic__content { z-index: 2; }
/* Hover : léger zoom */
.mosaic__tile:hover .mosaic__ph { transform: scale(1.04); }
/* Contenu texte */
.mosaic__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.4rem 1.6rem; z-index: 2; }
.mosaic__name { font-size: 1.7rem; font-weight: var(--fw-bold); color: #fff; margin-bottom: 0.3rem; line-height: 1.25; }
.mosaic__sub { font-size: 1.1rem; color: rgba(255,255,255,0.82); line-height: 1.4; }

/* Actions rapides (grille icônes) */
/* Quick — mosaic */
.quick-mosaic-section { background: var(--off-white); overflow: hidden; padding-bottom: var(--space-xl); }
.quick-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 443px 443px 443px;
  gap: 30px;
}
.quick-mosaic .mosaic__tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.quick-mosaic .mosaic__tile:nth-child(2) { grid-column: 3;     grid-row: 1; }
.quick-mosaic .mosaic__tile:nth-child(3) { grid-column: 1;     grid-row: 2; }
.quick-mosaic .mosaic__tile:nth-child(4) { grid-column: 2;     grid-row: 2; }
.quick-mosaic .mosaic__tile:nth-child(5) { grid-column: 3;     grid-row: 2 / 4; }
.quick-mosaic .mosaic__tile:nth-child(6) { grid-column: 1 / 3; grid-row: 3; }

/* Palettes de fond quick */
.quick-ph--1 { background: linear-gradient(155deg, #1a3d5c 0%, #0a2035 100%); }
.quick-ph--2 { background: linear-gradient(155deg, #2c4a35 0%, #162a1d 100%); }
.quick-ph--3 { background: linear-gradient(155deg, #3d3426 0%, #241e16 100%); }
.quick-ph--4 { background: linear-gradient(155deg, #1f3545 0%, #0e1d27 100%); }
.quick-ph--5 { background: linear-gradient(155deg, #2a3d2a 0%, #161f16 100%); }
.quick-ph--6 { background: linear-gradient(155deg, #3a2a42 0%, #1f1526 100%); }

/* ==========================================================================
   OFFRES
   ========================================================================== */
/* ---- Offres du moment ---- */
.offers-section { background: var(--off-white); padding-block: var(--space-lg); }
.offers-section__title { font-size: 42px; font-weight: 700; line-height: 119%; color: #161718; text-align: center; margin: 0 0 var(--space-lg); }
.offers-list { display: flex; flex-direction: column; gap: var(--space-md); }
.offer-row { background: var(--white); overflow: hidden; }
.offer-row__body { display: grid; grid-template-columns: 1fr 1fr; min-height: 360px; }
/* Côté gauche : visuel */
.offer-row__left { position: relative; background: linear-gradient(135deg, var(--emerald-900), #1a5c47); display: grid; place-items: center; overflow: hidden; }
.offer-row__left--2 { background: linear-gradient(135deg, #103a2e, #0a2820); }
.offer-row__left--3 { background: linear-gradient(135deg, #1c2e3a, #0d1f2d); }
.offer-row__left .ph-car { width: 72%; }
.offer-row__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.offer-row__badge { position: absolute; top: 1rem; left: 1rem; background: var(--ink); color: #fff; font-size: 0.7rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.1em; padding: 0.28rem 0.7rem; border-radius: 0; }
/* Côté droit : texte */
.offer-row__right { padding: 3rem 3.5rem; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.offer-row__name { font-size: 2rem; font-weight: var(--fw-bold); color: var(--ink); line-height: 1.2; }
.offer-row__desc { font-size: 1rem; color: var(--text-muted); line-height: 1.65; }
.offer-row__desc strong { color: var(--ink); }
/* Lien En savoir plus */
.offer-row__link { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: var(--fw-semibold); font-size: 0.95rem; color: var(--ink); text-decoration: none; width: fit-content; }
.offer-row__link svg { transition: transform var(--dur) var(--ease); flex-shrink: 0; }
.offer-row__link:hover svg { transform: translateX(5px); }
.offer-row__validity { font-size: 0.8rem; color: var(--grey-500); }
/* Barre légale */
.offer-row__legal { background: var(--ink); color: rgba(255,255,255,0.6); font-size: 0.72rem; line-height: 1.55; padding: 0.8rem 2rem; }
.offers-cta { text-align: center; padding-top: var(--space-md); }

/* ---- Feature modèle (2 rangées, proportions alternées) ---- */
.feature-model { overflow: hidden; }
.feature-mosaic { display: flex; flex-direction: column; gap: 30px; }
.feature-mosaic__row { display: flex; gap: 30px; height: 443px; }
.feature-mosaic__tile--wide { flex: 2; }
.feature-mosaic__tile--narrow { flex: 1; }

/* ==========================================================================
   ACTUALITÉS
   ========================================================================== */
/* ---- Actualités ---- */
.news-section { background: var(--off-white); padding-block: var(--space-xl); }
.news-section__title { font-size: 42px; font-weight: 700; line-height: 119%; text-align: center; color: #161718; margin-bottom: var(--space-lg); }

.news-list { background: #fff; }

.news-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.6rem 2rem; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background var(--dur) var(--ease); }
.news-row:last-child { border-bottom: none; }
.news-row:hover { background: #f9faf9; }
.news-row__body { flex: 1; min-width: 0; }
.news-row__title { font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin-bottom: 0.45rem; letter-spacing: -0.01em; }
.news-row__meta { font-size: 0.875rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.news-row__date { color: var(--text-muted); white-space: nowrap; }
.news-row__pipe { color: var(--border); }
.news-row__excerpt { color: var(--text-muted); }

.news-row__cta { white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: 0.3rem; font-size: 0.9rem; font-weight: var(--fw-semibold); color: var(--ink); }
.news-row__cta svg { transition: transform var(--dur) var(--ease); }
.news-row:hover .news-row__cta svg { transform: translateX(4px); }

.news-section__cta { text-align: center; margin-top: var(--space-lg); }
.btn--news-cta { border-radius: var(--radius-pill); border: 1.5px solid var(--text); background: transparent; padding: 0.75rem 2rem; font-size: 0.95rem; font-weight: var(--fw-semibold); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.btn--news-cta:hover { background: var(--ink); color: #fff; }

.news-legal { margin-top: var(--space-md); background: #fff; padding: 1.2rem 2rem; font-size: 0.82rem; color: var(--text-muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
:root {
  --footer-bg: rgb(14,58,47);
  --footer-deep: rgb(0,39,29);
  --footer-border: rgba(255,255,255,0.12);
  --footer-text: rgba(255,255,255,0.85);
  --footer-muted: rgba(255,255,255,0.5);
}

.footer { background: var(--footer-bg); color: var(--footer-text); font-size: 0.875rem; }

/* --- Barre contact --- */
.footer__contact-bar { border-bottom: 1px solid var(--footer-border); padding-block: 1.4rem; }
.footer__contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__contact-label { font-size: 0.78rem; color: var(--footer-muted); margin-bottom: 0.5rem; }
.footer__contact-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer__phone, .footer__form-link { display: flex; align-items: center; gap: 0.5rem; font-weight: var(--fw-semibold); font-size: 1.05rem; color: #fff; text-decoration: none; transition: opacity var(--dur) var(--ease); }
.footer__phone:hover, .footer__form-link:hover { opacity: 0.75; }
.footer__phone svg, .footer__form-link svg { flex-shrink: 0; stroke: currentColor; }
.footer__socials { display: flex; align-items: center; gap: 1rem; }
.footer__socials a { color: #fff; opacity: 0.65; transition: opacity var(--dur) var(--ease); }
.footer__socials a:hover { opacity: 1; }
.footer__socials svg { display: block; }

/* --- Barre "À voir également" --- */
.footer__also-bar { border-bottom: 1px solid var(--footer-border); padding-block: 0.85rem; }
.footer__also-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__also-nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer__also-nav strong { font-weight: var(--fw-semibold); color: #fff; }
.footer__also-nav a { color: var(--footer-text); text-decoration: none; font-size: 0.875rem; transition: color var(--dur) var(--ease); }
.footer__also-nav a:hover { color: #fff; }
.footer__apps { display: flex; gap: 0.75rem; }
.footer__app-badge { display: flex; align-items: center; gap: 0.5rem; border: 1.5px solid rgba(255,255,255,0.4); border-radius: var(--radius-sm); padding: 0.35rem 0.75rem; text-decoration: none; color: #fff; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.footer__app-badge:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.footer__app-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.footer__app-badge small { font-size: 0.6rem; opacity: 0.75; }
.footer__app-badge strong { font-size: 0.8rem; }

/* --- Mega-grille liens --- */
.footer__links { padding-block: var(--space-lg); border-bottom: 1px solid var(--footer-border); }
.footer__links-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-md); }
.footer__links-col a { display: block; padding: 0.18rem 0; font-size: 0.82rem; color: var(--footer-text); text-decoration: none; transition: color var(--dur) var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer__links-col a:hover { color: #fff; }
.footer__links-head { font-size: 0.82rem; font-weight: var(--fw-bold); color: #fff; letter-spacing: 0; text-transform: none; margin-bottom: 0.5rem; }
.footer__links-head--mt { margin-top: 1.25rem; }
.footer__links-head--invisible { visibility: hidden; }

/* --- Informations légales (accordéon) — fond plus sombre --- */
.footer__legal-section { background: var(--footer-deep); border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__legal-toggle { display: flex; align-items: center; gap: 0.5rem; width: 100%; padding: 0.9rem 0; font-size: 0.82rem; font-weight: var(--fw-semibold); color: var(--footer-text); cursor: pointer; background: none; border: none; font-family: inherit; transition: color var(--dur) var(--ease); }
.footer__legal-toggle:hover { color: #fff; }
.footer__legal-toggle svg { margin-left: 0.25rem; transition: transform var(--dur) var(--ease); }
.footer__legal-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.footer__legal-body { padding-bottom: 1rem; }
.footer__legal-body p { font-size: 0.82rem; color: var(--footer-muted); padding: 0.2rem 0; }

/* --- Textes légaux — fond plus sombre --- */
.footer__legal-text { background: var(--footer-deep); padding-block: 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__legal-text p { font-size: 0.75rem; color: var(--footer-muted); line-height: 1.5; margin-bottom: 0.6rem; }
.footer__legal-text p:last-child { margin-bottom: 0; }

/* --- Bottom bar — fond plus sombre --- */
.footer__bottom-bar { background: var(--footer-deep); padding-block: 0.85rem; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer__bottom-inner > span { font-size: 0.8rem; color: var(--footer-muted); }
.footer__bottom-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__bottom-nav a { font-size: 0.8rem; color: var(--footer-muted); text-decoration: none; transition: color var(--dur) var(--ease); }
.footer__bottom-nav a:hover { color: #fff; }

/* --- Bouton retour en haut --- */
.back-to-top { position: fixed; bottom: 2rem; left: 2rem; width: 44px; height: 44px; border-radius: 50%; background: var(--emerald-900); color: #fff; display: grid; place-items: center; border: none; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); z-index: 90; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--emerald-700, #1a5c47); }

/* Overlay menu mobile (masqué par défaut, activé en responsive) */
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--white); transform: translateX(100%); transition: transform var(--dur) var(--ease); overflow-y: auto; padding: var(--space-md); visibility: hidden; }
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav__item { border-bottom: 1px solid var(--border); }
.mobile-nav__link { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: var(--space-sm) 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: var(--fw-semibold); color: var(--emerald-900); }
.mobile-nav__link .chev { width: 16px; transition: transform var(--dur) var(--ease); }
.mobile-nav__item.is-open .chev { transform: rotate(180deg); }
.mobile-nav__sub { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.mobile-nav__item.is-open .mobile-nav__sub { max-height: 600px; }
.mobile-nav__sub a { display: block; padding: 0.5rem 0 0.5rem 1rem; color: var(--text); }
