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

/* ---------- Design tokens ---------- */
:root {
  --yellow: #FFB800;
  --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) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: 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);
  transition: height .25s ease;
}
.site-header.is-scrolled .header-bar { height: calc(var(--header-h) - 10px); }

.header-logo { display: flex; align-items: center; min-height: 44px; }
.header-logo img { height: 48px; width: auto; }

.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;
}

@media (min-width: 861px) {
  .hero__visual { width: 54%; }
  .hero__visual img { object-position: 70% center; }
  .hero__visual::after { background: linear-gradient(90deg, #FFF 0%, rgba(255,255,255,.75) 16%, rgba(255,255,255,0) 42%); }
}
@media (min-width: 861px) and (max-width: 1280px) {
  .hero__copy { max-width: 520px; }
  .hero__title { font-size: clamp(46px, 5vw, 64px); }
}

@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);
}

.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.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, 184, 0, 0.5);
  border-radius: 14px;
  background: rgba(255, 184, 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__mail { overflow-wrap: anywhere; font-size: 15px; }

.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; }
  *,
  *::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; }
}
