/* ==========================================================================
   Taziri Business — feuille de style
   Organisation : tokens · base · utilitaires · sections (ordre de la page)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --yellow: #FFB900;
  --yellow-dark: #B37F00;
  --yellow-soft: #FFF3D1;
  --ink: #1C1C1E;
  --ink-2: #4A4A4F;
  --muted: #6B6B70;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F5;
  --line: #ECECEE;

  --font-display: 'Clash Display', 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Satoshi', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-card: 16px;
  --radius-cta: 24px;
  --radius-btn: 12px;

  --shadow-soft: 0 2px 10px rgba(28, 28, 30, 0.04);
  --shadow-hover: 0 14px 36px rgba(28, 28, 30, 0.10);

  --header-h: 76px;
  --gutter: 24px;
  --section-y: clamp(56px, 8vw, 96px);
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--ink); }
a:hover { color: #000; }

h1, h2, h3 { margin: 0; }
p { margin: 0; }

section[id],
footer[id] { scroll-margin-top: var(--header-h); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilitaires ---------- */
.container {
  width: 100%;
  max-width: calc(1200px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-btn);
  background: var(--ink);
  color: #FFF;
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #FFF; }

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 2.2rem + 2.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-head--center {
  align-items: center;
  text-align: center;
}

/* Ornement : trait + losange (+ trait) */
.ornament {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ornament::before,
.ornament--both::after {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--yellow);
}
.ornament span {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  transform: rotate(45deg);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--yellow-soft);
  color: var(--ink);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #F2AE00; color: var(--ink); }
.btn--outline {
  border: 1.5px solid var(--ink);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #FFF; }
.btn--dark { background: var(--ink); color: #FFF; }
.btn--dark:hover { background: #000; color: #FFF; }

/* Cartes : survol */
.card {
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Apparition au défilement (activée uniquement si JS) */
/* « translate » (et non « transform ») : l'entrée ne bloque plus l'effet
   de survol des cartes (.card:hover utilise transform). Avant, une carte
   « .card.reveal » ne se soulevait jamais au survol. */
.js .reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .6s ease, translate .6s ease, box-shadow .2s ease, transform .2s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  translate: none;
}

/* ==========================================================================
   6.1 Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(28, 28, 30, 0.08); }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
/* Hauteur du header FIXE : ne jamais la modifier au défilement.
   (Avant : -10 px quand on défilait → l'ancrage de défilement du navigateur
   remontait la page de 10 px → l'état « défilé » s'annulait → boucle infinie
   = la page « tremblait » près du haut, très visible sur la page Blog.)
   L'effet de réduction ne touche plus que le logo, via transform (aucun impact sur la mise en page). */

.header-logo { display: flex; align-items: center; min-height: 44px; }
.header-logo img { height: 48px; width: auto; transform-origin: left center; transition: transform .25s ease; }
.site-header.is-scrolled .header-logo img { transform: scale(.88); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(var(--yellow), var(--yellow)) left calc(100% - 8px) / 0 2px no-repeat;
  transition: background-size .2s ease;
}
.main-nav a:hover { background-size: 100% 2px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.call-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
}
.call-pill:hover { background: #F2AE00; color: var(--ink); }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #E2E2E5;
  border-radius: var(--radius-btn);
  background: #FFF;
  color: var(--ink);
  cursor: pointer;
}
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: #FFF;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul {
  margin: 0;
  padding: 4px var(--gutter) 16px;
  list-style: none;
}
.mobile-menu li + li { border-top: 1px solid #F0F0F2; }
.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .call-pill { padding: 0; width: 44px; }
  .call-pill__label { display: none; }
  .header-logo img { height: 40px; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* ==========================================================================
   6.2 Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: #FFF;
}

.hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.55) 22%, rgba(255, 255, 255, 0) 48%);
}

.hero__inner {
  position: relative;
  padding-top: 96px;
  padding-bottom: 170px;
}

.hero__copy {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 1.6rem + 4.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--yellow);
}

.hero__text {
  max-width: 540px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

/* Bureau : mosaïque (fond transparent) affichée en entier, à droite,
   au-dessus du bandeau des chiffres (qui remonte de 84 px). */
@media (min-width: 861px) {
  .hero__visual {
    top: 28px;
    bottom: 96px;
    left: calc(max(0px, (100% - 1200px) / 2) + 610px);
    right: max(8px, calc((100% - 1340px) / 2));
    width: auto;
  }
  .hero__visual img { object-fit: contain; object-position: right center; }
  .hero__visual::after { content: none; }
  .hero__copy { max-width: 560px; }
  .hero__title { font-size: clamp(48px, 1.6rem + 3.4vw, 72px); }
}
@media (min-width: 861px) and (max-width: 1280px) {
  .hero__visual { left: 52%; right: 12px; }
  .hero__copy { max-width: 46%; }
  .hero__title { font-size: clamp(40px, 4.4vw, 58px); }
  .hero__text { font-size: 17px; }
  .hero__actions .btn { padding: 0 20px; }
}
@media (max-width: 860px) {
  .hero { background: var(--ink); color: #FFF; }
  .hero__visual { width: 100%; }
  .hero__visual::after {
    background: linear-gradient(180deg, rgba(28, 28, 30, 0.72) 0%, rgba(28, 28, 30, 0.62) 55%, rgba(28, 28, 30, 0.85) 100%);
  }
  .hero__inner { padding-top: 56px; padding-bottom: 130px; }
  .hero__copy { gap: 20px; }
  .hero__eyebrow { font-size: 12px; color: var(--yellow); }
  .hero__title { color: #FFF; line-height: 1; }
  .hero__text { font-size: 17px; color: #E5E5EA; }
  .hero__actions { flex-direction: column; gap: 12px; padding-top: 6px; }
  .hero__actions .btn { width: 100%; }
  .hero .btn--outline { border-color: #FFF; background: transparent; color: #FFF; }
  .hero .btn--outline:hover { background: #FFF; color: var(--ink); }
}

/* ==========================================================================
   6.3 Stats
   ========================================================================== */
.stats {
  position: relative;
  z-index: 5;
  margin-top: -84px;
}

.stats__card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #FFF;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 50px rgba(28, 28, 30, 0.10), 0 2px 6px rgba(28, 28, 30, 0.04);
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
}
.stat + .stat { border-left: 1px solid #F0F0F2; }

.stat .icon-tile { width: 52px; height: 52px; }

.stat__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.stat__value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 1.6rem + 1.6vw, 52px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--yellow);
}
.stat__unit {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--ink);
}
.stat__label {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .stat { padding: 20px 16px; gap: 12px; }
}

@media (max-width: 980px) {
  .stats__card { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid #F0F0F2; }
}

@media (max-width: 860px) {
  .stats { margin-top: -76px; }
  .stats__card { box-shadow: 0 16px 40px rgba(28, 28, 30, 0.14); }
  .stat { flex-direction: column; align-items: flex-start; gap: 4px; }
  .stat .icon-tile { display: none; }
  .stat__body::before {
    content: "";
    width: 24px;
    height: 3px;
    margin-bottom: 8px;
    border-radius: 2px;
    background: var(--yellow);
  }
  .stat__body { gap: 4px; }
  .stat__unit { font-size: 13px; }
  .stat__label { font-size: 14px; }
}

/* ==========================================================================
   6.4 À propos
   ========================================================================== */
.about {
  padding: 110px 0 100px;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.about__media { position: relative; }
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.about__badge {
  position: absolute;
  left: -16px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #FFF;
  box-shadow: 0 14px 30px rgba(28, 28, 30, 0.25);
}
.about__badge::before {
  content: "";
  width: 10px;
  height: 40px;
  border-radius: 4px;
  background: var(--yellow);
}
.about__badge-year {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--yellow);
}
.about__badge-place {
  display: block;
  font-size: 13px;
  color: #D1D1D6;
}

.about__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about__text {
  font-size: 18px;
  color: var(--ink-2);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 17px;
}
.checklist__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
}

/* Mission, vision, valeurs (À propos) */
.mv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mv__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--bg-alt);
  border-top: 3px solid var(--yellow);
}
.mv__title,
.values__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.mv__item p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.values__title { margin-top: 4px; }
.checklist.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}
.checklist.values li { align-items: flex-start; font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.checklist.values strong { display: block; font-weight: 700; font-size: 17px; color: var(--ink); }
@media (max-width: 600px) {
  .mv,
  .checklist.values { grid-template-columns: 1fr; }
}

.about__brand {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .about { padding: 64px 0 56px; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__media { order: 2; }
  .about__badge { left: 12px; bottom: 12px; padding: 12px 16px; }
  .about__text { font-size: 16px; }
}

/* ==========================================================================
   6.5 Domaines
   ========================================================================== */
.domains {
  padding: var(--section-y) 0;
  background: var(--bg-alt);
}
.domains .container,
.sectors .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.domains__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.domain {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 26px;
  border-radius: var(--radius-card);
  background: #FFF;
  box-shadow: var(--shadow-soft);
}
.domain h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.domain p {
  margin-top: 12px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .domains__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .domains .container,
  .sectors .container { gap: 28px; }
  .domains__grid { grid-template-columns: 1fr; gap: 12px; }
  .domain {
    flex-direction: row;
    align-items: center;
    padding: 18px;
    border-radius: 14px;
  }
  .domain .icon-tile { width: 50px; height: 50px; border-radius: 12px; }
  .domain h3 { font-size: 19px; }
  .domain p { font-size: 15px; margin-top: 3px; }
}

/* ==========================================================================
   6.6 Ceux que nous équipons
   ========================================================================== */
.sectors {
  padding: var(--section-y) 0;
}

.sectors__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sector {
  position: relative;
  height: 300px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #E6E6E9;
}
.sector img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sector::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(28, 28, 30, 0) 0%, rgba(28, 28, 30, 0.78) 100%);
}
.sector figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #FFF;
}
.sector figcaption::before {
  content: "";
  flex: none;
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: var(--yellow);
}

@media (max-width: 1100px) {
  .sectors__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Mobile : rangée défilante avec aimantation */
@media (max-width: 760px) {
  .sectors__grid {
    display: flex;
    gap: 12px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    -webkit-overflow-scrolling: touch;
  }
  .sectors__grid > li {
    flex: 0 0 200px;
    scroll-snap-align: start;
  }
  .sector { height: 250px; }
  .sector::after { height: 100px; }
  .sector figcaption { left: 14px; right: 14px; bottom: 14px; font-size: 18px; }
}

/* ==========================================================================
   6.7 Nos engagements (#services)
   ========================================================================== */
.commitments {
  padding: var(--section-y) 0;
  background: var(--bg-alt);
}

.commitments__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.commitments__main {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.commitments__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.commitment {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 26px;
  border-radius: var(--radius-card);
  background: #FFF;
}
.commitment h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.commitment p { color: var(--muted); }

.map-card {
  display: flex;
  justify-content: center;
  padding: 28px;
  border-radius: 20px;
  background: #FFF;
}
.map-card svg {
  width: 100%;
  max-width: 480px;
  height: auto;
}

@media (max-width: 980px) {
  .commitments__grid { grid-template-columns: 1fr; gap: 24px; }
  /* Mobile : titre → carte → engagements */
  .commitments__main { display: contents; }
  .commitments__cards { order: 2; }
  .map-card { order: 1; padding: 16px; border-radius: var(--radius-card); }
  .map-card svg { max-width: 340px; }
}

@media (max-width: 600px) {
  .commitments__main { gap: 24px; }
  .commitments__cards { gap: 12px; }
  .commitment { gap: 8px; padding: 16px 14px; border-radius: 14px; }
  .commitment h3 { font-size: clamp(16px, 4.4vw, 19px); }
  .commitment p { font-size: 14px; }
}

@media (max-width: 359px) {
  .commitments__cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   6.8 Références
   ========================================================================== */
.references {
  padding: 100px 0;
}
.references .container {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.references__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.references__eyebrow { gap: 14px; }
.references__eyebrow::before,
.references__eyebrow::after {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--yellow);
}

.quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 780px;
  margin: 0;
}
.quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 1.2rem + 2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.ref-group {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ref-group__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
}
.ref-group__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #E5E5EA;
}

.logos__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.logos__list--dup { display: none; }

.logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  margin: 0;
  padding: 18px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #FFF;
  text-align: center;
}
.logo-card img {
  width: auto;
  max-width: 100%;
  height: 88px;
  object-fit: contain;
}
.logo-card figcaption {
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink-2);
}

/* Mobile : deux bandeaux défilants (sens opposés) */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 760px) {
  .references { padding: 56px 0; }
  .references .container { gap: 28px; }
  .ref-group { gap: 14px; }
  .ref-group__title { font-size: 19px; }
  .ref-group__title::after { display: none; }

  .logos {
    margin: 0 calc(-1 * var(--gutter));
    overflow: hidden;
  }
  .logos__track {
    display: flex;
    width: max-content;
    padding: 4px 0;
    animation: marquee 40s linear infinite;
  }
  .logos--reverse .logos__track {
    animation-duration: 34s;
    animation-direction: reverse;
  }
  .logos:hover .logos__track,
  .logos:focus-within .logos__track { animation-play-state: paused; }

  .logos__list,
  .logos__list--dup {
    display: flex;
    gap: 12px;
    padding-right: 12px;
  }
  .logos__list > li { flex: 0 0 150px; }
  .logo-card { gap: 10px; padding: 14px 10px; }
  .logo-card img { height: 70px; }
  .logo-card figcaption { font-size: 11.5px; line-height: 1.35; }
}

/* ==========================================================================
   6.8a Avis clients (remplace l'ancien bandeau « promesse »)
   Fond sombre pour garder le rythme clair/sombre de la page.
   ========================================================================== */
.reviews {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: #FFF;
}
.reviews .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
}
.reviews__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
}
.reviews__intro .h2 em { font-style: normal; color: var(--yellow); }
.reviews__intro p { font-size: 18px; color: #C7C7CC; }
.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
}
.reviews__badge-stars,
.review__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--yellow);
}
.reviews__badge-stars svg { width: 16px; height: 16px; }

.reviews__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.review { display: flex; }
.review__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 32px;
  border-radius: var(--radius-card);
  background: #FFF;
  color: var(--ink);
}
.review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review__mark { color: var(--yellow-soft); }
.review__text { flex: 1; margin: 0; }
.review__text p { font-size: 17px; line-height: 1.6; }
.review__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--yellow-soft);
  font-weight: 700;
  font-size: 15px;
}
.review__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review__who strong { font-size: 15px; line-height: 1.3; }
.review__who span { font-size: 14px; line-height: 1.4; color: var(--muted); }

@media (max-width: 980px) {
  .reviews__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review:last-child { grid-column: 1 / -1; }
}
/* Mobile : rangée de cartes à faire défiler horizontalement (aimantation) */
@media (max-width: 760px) {
  .reviews .container { gap: 28px; }
  .reviews__intro { gap: 14px; }
  .reviews__intro p { font-size: 16px; }
  .reviews__badge { min-height: 42px; font-size: 14px; }
  .reviews__list {
    display: flex;
    gap: 12px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .reviews__list::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 min(86%, 340px); scroll-snap-align: start; }
  .review:last-child { grid-column: auto; }
  .review__card { gap: 16px; padding: 24px 20px; }
  .review__text p { font-size: 16px; }
}

/* ==========================================================================
   6.8b Blog — section de l'accueil et page « Blog » (classes .articles conservées)
   ========================================================================== */
.main-nav a[aria-current="page"] { background-size: 100% 2px; }
.mobile-menu a[aria-current="page"] { font-weight: 700; }

.articles {
  padding: var(--section-y) 0;
  background: var(--bg-alt);
}
.articles .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.articles__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
}
.articles__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}
.articles__intro .h2 em {
  font-style: normal;
  background: linear-gradient(var(--yellow), var(--yellow)) left 88% / 100% .14em no-repeat;
}
.articles__intro p {
  font-size: 18px;
  color: var(--ink-2);
}
.articles__all { white-space: nowrap; }
.articles__all--bottom { display: none; }

.articles__feed {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.articles__empty { color: var(--muted); }

/* Étiquettes et métadonnées */
.post-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--yellow-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 14px;
  color: var(--muted);
}
.post-badge {
  position: absolute;
  z-index: 1;
  left: 24px;
  top: 24px;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Article à la une */
.post-feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #FFF;
  box-shadow: var(--shadow-soft);
}
.post-feature__media {
  position: relative;
  min-height: 460px;
  background: #E6E6E9;
}
.post-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 48px;
}
.post-feature__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.post-feature__title a { color: inherit; text-decoration: none; }
.post-feature__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-feature__excerpt { color: var(--ink-2); }
.post-feature .btn { align-self: flex-start; margin-top: 8px; }

/* Autres articles */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #FFF;
  box-shadow: var(--shadow-soft);
}
.post-card__media {
  aspect-ratio: 3 / 2;
  background: #E6E6E9;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}
.post-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__excerpt { font-size: 15px; color: var(--muted); }

@media (max-width: 980px) {
  .post-feature { grid-template-columns: 1fr; }
  .post-feature__media { min-height: 0; aspect-ratio: 16 / 10; }
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .articles .container { gap: 32px; }
  .articles__intro { gap: 14px; }
  .articles__intro p { font-size: 16px; }
  .articles__head .articles__all { display: none; }
  .articles__all--bottom { display: inline-flex; width: 100%; }
  .post-badge { left: 16px; top: 16px; height: 28px; padding: 0 12px; font-size: 11px; }
  .post-feature__body { gap: 14px; padding: 24px 20px 28px; }
  .post-feature__title { font-size: 24px; line-height: 1.18; }
  .post-feature__excerpt { font-size: 15px; }
  .post-feature .btn { align-self: stretch; margin-top: 6px; }
  .post-tag { height: 26px; padding: 0 10px; font-size: 11px; }
  .post-meta { font-size: 13px; }
  .posts-grid { grid-template-columns: 1fr; gap: 16px; }
  .post-card__body { padding: 20px; }
  .post-card__title { font-size: 20px; }
}

/* En-tête de la page « Articles » */
.page-hero { padding: 56px 0 8px; }
.page-hero .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 1.6rem + 3vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.page-hero p { max-width: 680px; font-size: 18px; color: var(--ink-2); }
.articles--page { padding-top: 48px; background: #FFF; }
.articles--page .post-feature,
.articles--page .post-card { box-shadow: none; border: 1px solid var(--line); }
@media (max-width: 760px) {
  .page-hero { padding: 28px 0 0; }
  .page-hero p { font-size: 16px; }
  .articles--page { padding-top: 28px; }
}

/* ==========================================================================
   Page article
   ========================================================================== */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: #A1A1A6;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.post-hero { padding: 56px 0 48px; }
.post-hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.post-hero__title {
  max-width: 960px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 1.2rem + 3.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.post-hero__lead {
  max-width: 780px;
  font-size: 20px;
  color: var(--ink-2);
}
.post-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  font-size: 14px;
  color: var(--muted);
}
.post-byline__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
}
.post-byline__avatar::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--yellow);
  transform: rotate(45deg);
}
.post-byline__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
}
.post-byline__name { font-weight: 500; color: var(--ink); }

.post-cover { margin: 0; }
.post-cover img {
  width: 100%;
  aspect-ratio: 15 / 7;
  object-fit: cover;
  border-radius: var(--radius-cta);
  background: #E6E6E9;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 384px;
  gap: 72px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 72px;
}

.post-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 740px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-2);
}
.post-body > p:first-child,
.post-body .post-intro { font-size: 20px; color: var(--ink); }
.post-body h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.post-body h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink);
}
.post-num {
  flex: none;
  font-size: 18px;
  color: var(--yellow-dark);
}
.post-body a { font-weight: 500; text-underline-offset: 3px; }
.post-body ul:not([class]),
.post-body ol:not([class]) { margin: 0; padding-left: 1.3em; }
.post-body strong { color: var(--ink); }

.post-quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
  padding: 36px 40px;
  border-radius: var(--radius-card);
  background: var(--ink);
  color: #FFF;
}
.post-quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.25;
}

.post-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding: 32px 36px;
  border-radius: var(--radius-card);
  background: var(--bg-alt);
}
.post-summary h2 {
  display: block;
  margin: 0;
  font-size: 24px;
}
.post-summary .checklist { margin: 0; gap: 12px; }
.post-summary .checklist li { font-weight: 400; font-size: 17px; line-height: 1.5; color: var(--ink); }
.post-summary .checklist__icon { width: 26px; height: 26px; }

.post-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}
.post-share__label { font-weight: 700; }
.post-share__list {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.post-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #E2E2E5;
  border-radius: var(--radius-btn);
  background: #FFF;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.post-share__btn:hover { border-color: var(--ink); color: var(--ink); }
.post-share__status { font-size: 14px; font-weight: 500; color: var(--ink); }
.post-share__status:empty { display: none; }

.post-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.toc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.toc__title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.toc ol {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.4;
}
.toc a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
}
.toc a:hover { border-left-color: var(--yellow); color: var(--ink); }
.toc__num { font-size: 13px; font-weight: 700; color: var(--yellow-dark); }

.post-help {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px;
  border-radius: var(--radius-cta);
  background: var(--yellow);
  color: var(--ink);
}
.post-help__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
}
.post-help p { font-size: 15px; line-height: 1.55; }
.post-help .btn { margin-top: 6px; }
.post-help__mail {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.post-back { padding-bottom: var(--section-y); }

@media (max-width: 980px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 28px;
    padding-bottom: 48px;
  }
  .post-aside { display: contents; }
  .toc { order: -1; }
  .post-help { order: 2; }
  .post-body { max-width: none; }
}
@media (max-width: 760px) {
  .post-hero { padding: 28px 0 24px; }
  .post-hero .container { gap: 16px; }
  .breadcrumb ol { font-size: 13px; gap: 4px 8px; }
  .breadcrumb li + li::before { margin-right: 8px; }
  .post-hero__lead { font-size: 17px; }
  .post-byline { align-items: flex-start; padding-top: 0; font-size: 13px; }
  .post-byline__avatar { width: 34px; height: 34px; }
  .post-byline__text { flex-direction: column; align-items: flex-start; gap: 0; }
  .post-byline__name { font-size: 14px; }
  .post-cover img { aspect-ratio: 3 / 2; border-radius: var(--radius-card); }
  .toc { padding: 20px; gap: 10px; }
  .toc a { padding-left: 0; border-left: 0; font-weight: 500; color: var(--ink); }
  .post-body { gap: 18px; font-size: 17px; line-height: 1.7; }
  .post-body > p:first-child,
  .post-body .post-intro { font-size: 17px; }
  .post-body h2 { flex-direction: column; gap: 6px; margin-top: 22px; font-size: 26px; }
  .post-num { font-size: 15px; }
  .post-quote { margin: 18px 0; padding: 28px 22px; gap: 14px; }
  .post-quote p { font-size: 22px; line-height: 1.28; }
  .post-summary { margin-top: 18px; padding: 24px 20px; }
  .post-summary h2 { font-size: 22px; }
  .post-summary .checklist li { align-items: flex-start; font-size: 16px; }
  .post-summary .checklist__icon { width: 24px; height: 24px; }
  .post-help { padding: 28px 22px; }
  .post-help__title { font-size: 24px; }
  .post-back .btn { width: 100%; }
  .post-back { padding-bottom: 56px; }
}

/* ==========================================================================
   6.9 CTA
   ========================================================================== */
.cta {
  padding-bottom: var(--section-y);
}

.cta__block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 64px 56px;
  border-radius: var(--radius-cta);
  background: var(--yellow) url("../images/banners/cta-pattern.svg") right center / cover no-repeat;
}

.cta__title {
  max-width: 680px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(31px, 1.2rem + 2.4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.cta__block .btn { min-height: 54px; padding: 0 30px; white-space: nowrap; }

@media (max-width: 600px) {
  .cta__block {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 36px 22px;
    border-radius: 20px;
  }
}

/* ==========================================================================
   6.10 Newsletter
   ========================================================================== */
.newsletter {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: var(--ink);
  color: #FFF;
}
.newsletter::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(110px, 14vw, 230px);
  background: url("../images/banners/newsletter-oran-skyline.svg") center bottom / cover no-repeat;
  pointer-events: none;
}

.newsletter__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.newsletter .h2 { color: #FFF; }
.newsletter__text {
  font-size: 18px;
  color: #D1D1D6;
}

.newsletter__form {
  width: 100%;
  max-width: 580px;
  margin-top: 10px;
}
.newsletter__field {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  background: #FFF;
}
.newsletter__field:focus-within { box-shadow: 0 0 0 3px var(--yellow); }
.newsletter__field input {
  flex: 1 1 260px;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
}
.newsletter__field input::placeholder { color: #75757A; }
.newsletter__field .btn { flex: 0 0 auto; min-height: 50px; padding: 0 28px; border-radius: 10px; }
.newsletter__field .btn[disabled] { opacity: .7; cursor: progress; }

.newsletter__error {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #FFB4A8;
}
.newsletter__error:empty { display: none; }
.newsletter__form.has-error .newsletter__field { box-shadow: 0 0 0 2px #FF6B57; }

/* Champ piège anti-spam : invisible pour les humains */
.newsletter__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter__consent {
  font-size: 13px;
  line-height: 1.5;
  color: #AEAEB2;
}

.newsletter__success {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 185, 0, 0.5);
  border-radius: 14px;
  background: rgba(255, 185, 0, 0.12);
  font-weight: 500;
  font-size: 18px;
  text-align: left;
}
.newsletter__success[hidden] { display: none; }
.newsletter__success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
}

@media (max-width: 600px) {
  .newsletter { padding: 56px 0 72px; }
  .newsletter__inner { align-items: stretch; gap: 14px; text-align: left; }
  .newsletter__inner .ornament { display: none; }
  .newsletter__text { font-size: 15px; }
  .newsletter__field { flex-direction: column; padding: 0; background: transparent; }
  .newsletter__field:focus-within { box-shadow: none; }
  .newsletter__field input { flex: none; min-height: 52px; border-radius: 12px; background: #FFF; }
  .newsletter__field input:focus { box-shadow: 0 0 0 3px var(--yellow); }
  .newsletter__field .btn { min-height: 52px; border-radius: 12px; }
  .newsletter__form.has-error .newsletter__field { box-shadow: none; }
  .newsletter__form.has-error input { box-shadow: 0 0 0 2px #FF6B57; }
  .newsletter__consent { font-size: 12.5px; }
  .newsletter__success { padding: 16px; font-size: 16px; }
}

/* ==========================================================================
   6.11 Contact
   ========================================================================== */
.contact {
  padding: 100px 0;
}
.contact .container {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--bg-alt);
}
.info-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
}
.info-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.info-card a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  text-decoration: none;
}
.info-card a:hover { text-decoration: underline; }
.info-card__links { display: flex; flex-direction: column; }
.info-card a.info-card__mail { display: block; overflow-wrap: normal; font-size: 15px; line-height: 1.45; padding: 10px 0; }

.contact__map {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__map iframe {
  flex: 1;
  width: 100%;
  min-height: 380px;
  border: 1px solid #E5E5EA;
  border-radius: var(--radius-card);
  background: #EEF0EC;
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 44px;
  font-weight: 500;
}

@media (max-width: 980px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact { padding: 56px 0; }
  .contact .container { gap: 22px; }
  .contact__cards { grid-template-columns: 1fr; gap: 14px; }
  .info-card { gap: 8px; padding: 18px; border-radius: 14px; }
  .info-card__icon { width: 36px; height: 36px; border-radius: 10px; }
  .info-card h3 { font-size: 19px; }
  .contact__map iframe { min-height: 260px; border-radius: 14px; }
}

/* ==========================================================================
   6.12 Footer
   ========================================================================== */
.site-footer {
  padding: 72px 0 28px;
  background: var(--ink);
  color: #FFF;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr 1fr;
  gap: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer__brand img { width: auto; height: 58px; align-self: flex-start; }
.footer__brand p {
  max-width: 260px;
  font-size: 15px;
  color: #D1D1D6;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__title {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__col a,
.footer__col span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 15px;
  color: #E5E5EA;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer__col a:hover { color: var(--yellow); }

.footer__col .socials {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #3A3A3D;
  border-radius: 50%;
  color: #FFF;
  transition: border-color .2s ease, color .2s ease;
}
.socials a:hover { border-color: var(--yellow); color: var(--yellow); }

.footer__domain { font-size: 14px; color: #AEAEB2; }

.footer__bottom {
  padding-top: 22px;
  border-top: 1px solid #2E2E31;
  font-size: 13px;
  color: #AEAEB2;
}

@media (max-width: 980px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .site-footer { padding: 48px 0 24px; }
  .site-footer .container { gap: 28px; }
  .footer__grid { gap: 28px 20px; }
  .footer__brand { grid-column: 1 / -1; gap: 14px; }
  .footer__grid > .footer__col:nth-child(3) { grid-column: 1 / -1; }
  .footer__col a,
  .footer__col span { font-size: 14px; }
  .footer__col--social { grid-column: 1 / -1; }
}
@media (max-width: 359px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Page 404
   ========================================================================== */
.error-page {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 80px);
  padding: var(--section-y) 0;
}
.error-page .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.error-page .error-page__code {
  max-width: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(96px, 4rem + 10vw, 180px);
  line-height: .9;
  letter-spacing: -0.03em;
  color: var(--yellow);
}
.error-page p { max-width: 520px; font-size: 18px; color: var(--ink-2); }

.footer-mini {
  padding: 28px 0;
  background: var(--ink);
  font-size: 13px;
  color: #AEAEB2;
}

/* ==========================================================================
   Réduction des animations
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card:hover { transform: none; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
  .card:hover { transform: none; }
  .js .reveal { opacity: 1; transform: none; }

  /* Bandeaux de logos : statiques, défilement manuel */
  .logos { overflow-x: auto; }
  .logos__list--dup { display: none !important; }
}
