/* =========================================================
   MANGOLEASE — Design system
   Palette : encre / ivoire / bleu pétrole et gris de la charte du logo
   Typo    : Cormorant Garamond (titres) + Manrope (texte)
   ========================================================= */

:root {
  --ink: #0e1113;
  --ink-2: #161a1d;
  --ink-3: #22272b;
  --ivory: #f1f0ec;
  --paper: #fafaf8;
  --stone: #8b857a;
  --stone-2: #5d5951;
  --brand: #0b738f;      /* bleu pétrole du logo */
  --brand-deep: #095e75;
  --gold: var(--brand);  /* accent (nom historique conservé) */
  --gold-soft: #7cc3d6;
  --line: rgba(14, 17, 19, .12);
  --line-light: rgba(245, 241, 234, .16);
  --logo-accent: var(--gold);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
::selection { background: var(--gold); color: var(--paper); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--ivory); padding: 12px 20px; z-index: 999; }
.skip:focus { left: 16px; top: 16px; }

/* Sur fonds sombres : bleu éclairci pour rester lisible */
.section--ink, .hero, .page-hero, .cta, .footer, .drawer, .cookie, .header:not(.is-solid):not(.is-paper) { --gold: #5fb3c9; }

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  font-weight: 600; color: var(--gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow.center::after { content: ""; width: 36px; height: 1px; background: currentColor; }

.display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 7.2vw, 104px); line-height: 1.02; letter-spacing: -.01em;
}
.h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.005em;
}
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; color: var(--stone-2); font-weight: 300; }
.muted { color: var(--stone); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px; border: 1px solid currentColor;
  font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
  cursor: pointer; background: transparent; font-family: var(--sans);
}
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--gold:hover { background: var(--ivory); border-color: var(--ivory); }
.btn--light { color: var(--ivory); }
.btn--light:hover { background: var(--ivory); color: var(--ink); }
.btn--dark { color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--ivory); }

.link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--gold);
}
.link svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--ivory);
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid var(--line-light);
}
.header.is-solid, .header.is-paper {
  background: rgba(251, 249, 245, .96); color: var(--ink);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 32px; }
.header.is-solid .header__bar { height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 44px; height: 35px; flex: none; }
.brand__accent { fill: var(--logo-accent); }
.brand__name { font-family: var(--serif); font-size: 23px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; line-height: 1; }
.brand__tag { display: block; font-family: var(--sans); font-size: 8.5px; letter-spacing: .38em; margin-top: 6px; opacity: .7; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; }
.nav__list a {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  padding: 10px 0; position: relative; display: inline-block;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.sub {
  position: absolute; top: 100%; left: -28px; min-width: 260px;
  background: var(--paper); color: var(--ink); list-style: none; margin: 0; padding: 18px 28px;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub li + li { border-top: 1px solid var(--line); }
.sub a { display: block; padding: 14px 0; }

.header__cta { display: flex; align-items: center; gap: 24px; }
.header__phone { font-size: 13px; letter-spacing: .08em; font-weight: 500; white-space: nowrap; }
.header .btn { padding: 14px 22px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.burger span { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px auto; transition: transform .4s var(--ease), opacity .4s; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--ivory);
  padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.menu-open .drawer { opacity: 1; visibility: visible; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { border-bottom: 1px solid var(--line-light); }
.drawer a { display: block; padding: 16px 0; font-family: var(--serif); font-size: 30px; font-weight: 300; }
.drawer .drawer__sub a { font-family: var(--sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; padding: 12px 0 12px 20px; color: var(--gold-soft); }
.drawer__foot { font-size: 14px; color: var(--stone); }
.menu-open .header { color: var(--ivory); background: transparent; border-bottom-color: var(--line-light); }

/* ---------- Hero accueil ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: var(--ivory); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,17,19,.9) 0%, rgba(14,17,19,.55) 45%, rgba(14,17,19,.1) 80%),
    linear-gradient(180deg, rgba(14,17,19,.5) 0%, rgba(14,17,19,0) 35%, rgba(14,17,19,.85) 100%);
}
.hero .hero__media img { object-position: 100% 55%; }
.hero .display { font-size: clamp(44px, 6.4vw, 92px); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__content { position: relative; width: 100%; padding-bottom: clamp(64px, 10vh, 120px); padding-top: 160px; }
.hero__content .display { max-width: 15ch; margin: 28px 0 32px; }
.hero__content .lead { color: rgba(245,241,234,.78); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.hero__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 9vh, 96px);
  border-top: 1px solid var(--line-light);
}
.hero__meta div { padding: 26px 24px 0 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(245,241,234,.66); }
.hero__meta strong { display: block; font-family: var(--serif); font-size: 26px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ivory); margin-bottom: 4px; }

/* ---------- Hero pages internes ---------- */
.page-hero { position: relative; min-height: 78vh; min-height: 78svh; color: var(--ivory); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.page-hero .hero__media::after {
  background:
    linear-gradient(90deg, rgba(14,17,19,.75) 0%, rgba(14,17,19,.2) 70%),
    linear-gradient(180deg, rgba(14,17,19,.6) 0%, rgba(14,17,19,.25) 45%, rgba(14,17,19,.9) 100%);
}
.page-hero__content { position: relative; width: 100%; padding: 180px 0 clamp(56px, 9vh, 100px); }
.page-hero .display { font-size: clamp(44px, 6.4vw, 92px); margin-top: 24px; max-width: 16ch; }
.crumbs { display: flex; gap: 12px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(245,241,234,.6); margin-bottom: 8px; }
.crumbs a:hover { color: var(--gold-soft); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--ivory { background: var(--ivory); }
.section--ink { background: var(--ink); color: var(--ivory); }
.section--ink .lead { color: rgba(245,241,234,.7); }
.section--ink .muted { color: rgba(245,241,234,.55); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.split--rev > :first-child { order: 2; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .h2 { max-width: 18ch; margin-top: 22px; }
.section-head p { max-width: 44ch; margin: 0; }

.manifesto { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.28; }
.manifesto em { color: var(--gold); }

.prose p { color: var(--stone-2); }
.section--ink .prose p { color: rgba(245,241,234,.72); }
.prose p:first-of-type::first-letter {
  font-family: var(--serif); float: left; font-size: 4.4em; line-height: .82; padding: 8px 14px 0 0; color: var(--gold);
}
.prose.no-drop p:first-of-type::first-letter { all: unset; }

/* ---------- Cartes clientèles ---------- */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); }
.aud { position: relative; min-height: 640px; color: var(--ivory); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.aud img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.aud::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,17,19,.1) 20%, rgba(14,17,19,.92) 100%); transition: background .8s var(--ease); }
.aud:hover img { transform: scale(1.05); }
.aud:hover::before { background: linear-gradient(180deg, rgba(14,17,19,.35) 0%, rgba(14,17,19,.95) 100%); }
.aud__body { padding: 44px 40px; }
.aud__num { font-family: var(--serif); font-style: italic; color: var(--gold-soft); font-size: 20px; }
.aud__body .h3 { margin: 10px 0 14px; font-size: clamp(30px, 2.6vw, 40px); }
.aud__body p { color: rgba(245,241,234,.72); font-size: 15px; max-width: 34ch; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .8s var(--ease), margin .8s var(--ease); margin: 0; }
.aud:hover .aud__body p, .aud:focus-visible .aud__body p { max-height: 200px; opacity: 1; margin-bottom: 22px; }
.aud .link { color: var(--ivory); }

/* ---------- Avantages ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 44px 32px 8px 0; border-right: 1px solid var(--line); }
.pillar + .pillar { padding-left: 32px; }
.pillar:last-child { border-right: 0; }
.pillar__icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 30px; }
.pillar h3 { font-family: var(--serif); font-size: 26px; line-height: 1.2; margin-bottom: 14px; }
.pillar p { font-size: 15px; color: var(--stone-2); }
.section--ink .pillars { border-color: var(--line-light); }
.section--ink .pillar { border-color: var(--line-light); }
.section--ink .pillar p { color: rgba(245,241,234,.62); }

/* ---------- Valeurs (bandeau) ---------- */
.values { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; font-family: var(--serif); font-size: clamp(30px, 3.5vw, 50px); font-weight: 300; line-height: 1.1; }
.values span { display: inline-flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.values span:not(:last-child)::after { content: ""; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }
.values i { color: var(--gold); }

/* ---------- Liste industries ---------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 90px 1fr 1.3fr 48px; gap: 32px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease);
}
.row:hover { padding-left: 16px; }
.row__num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); }
.row__title { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 300; line-height: 1.1; }
.row p { margin: 0; color: var(--stone-2); font-size: 15px; }
.row__arrow { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .5s var(--ease), color .5s var(--ease), border-color .5s; }
.row__arrow svg { width: 16px; height: 16px; }
.row:hover .row__arrow { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 0 32px 0 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line-light); }
.step__n { font-family: var(--serif); font-size: 64px; font-weight: 300; line-height: 1; color: var(--gold); margin-bottom: 28px; }
.step h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 12px; }
.step p { font-size: 15px; color: rgba(245,241,234,.62); }

/* ---------- Image éditoriale ---------- */
.figure { position: relative; overflow: hidden; }
.figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.figure--wide img { aspect-ratio: 16 / 10; }
.figure__cap { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 22px 28px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.frame { position: relative; }
.frame::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--gold); z-index: 0; pointer-events: none; }
.frame > * { position: relative; z-index: 1; }

/* ---------- Citation ---------- */
.quote { text-align: center; max-width: 920px; margin: 0 auto; }
.quote__mark { font-family: var(--serif); font-size: 120px; line-height: .6; color: var(--gold); display: block; height: 56px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.3; }
.quote cite { display: block; margin-top: 36px; font-style: normal; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone); }

/* ---------- Liste à puces fines ---------- */
.ticks { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 20px 0 20px 40px; border-bottom: 1px solid var(--line); position: relative; color: var(--stone-2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 30px; width: 18px; height: 1px; background: var(--gold); }
.ticks strong { color: var(--ink); font-weight: 600; }
.section--ink .ticks, .section--ink .ticks li { border-color: var(--line-light); }
.section--ink .ticks li { color: rgba(245,241,234,.7); }
.section--ink .ticks strong { color: var(--ivory); }

/* ---------- Bandeau CTA ---------- */
.cta { position: relative; color: var(--ivory); background: var(--ink); overflow: hidden; }
.cta__media { position: absolute; inset: 0; opacity: .32; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__inner { position: relative; padding: clamp(100px, 13vw, 180px) 0; text-align: center; }
.cta .h2 { max-width: 20ch; margin: 26px auto 24px; }
.cta .lead { color: rgba(245,241,234,.72); max-width: 52ch; margin: 0 auto 44px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Autres pages (cartes liens) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { display: block; border-top: 1px solid var(--ink); padding-top: 28px; }
.card__img { overflow: hidden; margin-bottom: 28px; }
.card__img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card .h3 { margin: 8px 0 14px; }
.card p { color: var(--stone-2); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 8vw, 120px); }
.coords { border-top: 1px solid var(--line); }
.coords div { padding: 26px 0; border-bottom: 1px solid var(--line); }
.coords dt { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--stone); font-weight: 600; margin-bottom: 8px; }
.coords dd { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.3; }
.coords dd a:hover { color: var(--gold); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.field { position: relative; padding-top: 22px; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 14px 0; font: 400 17px/1.5 var(--sans); color: var(--ink); border-radius: 0; transition: border-color .4s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--gold); }
.field label { position: absolute; top: 0; left: 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--stone); }
.field label abbr { color: var(--gold); text-decoration: none; }
.choices { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 26px; }
.choices legend { width: 100%; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--stone); margin-bottom: 12px; padding: 0; }
.choices { border: 0; margin: 0; padding-left: 0; padding-right: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 12px 20px; border: 1px solid var(--line); font-size: 13px; cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.chip input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.consent { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--stone-2); margin-top: 24px; }
.consent input { margin-top: 5px; accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.form__foot small { color: var(--stone); font-size: 12px; }
.legal-note { font-size: 12px; line-height: 1.7; color: var(--stone); margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Mentions légales ---------- */
.legal { max-width: 820px; }
.legal h2 { font-family: var(--serif); font-size: 30px; margin: 56px 0 16px; }
.legal p, .legal li { color: var(--stone-2); }
.legal dl { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); margin: 0; }
.legal dt, .legal dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.legal dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); font-weight: 600; padding-top: 18px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: rgba(245,241,234,.7); padding: clamp(80px, 10vw, 128px) 0 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 72px; border-bottom: 1px solid var(--line-light); }
.footer .brand { color: var(--ivory); }
.footer__about { margin-top: 28px; max-width: 34ch; font-size: 15px; }
.footer h4, .footer__title { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 24px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 12px; font-size: 15px; }
.footer a:hover { color: var(--ivory); }
.footer__big { font-family: var(--serif); font-size: 26px; color: var(--ivory); line-height: 1.3; display: block; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 32px; font-size: 12px; letter-spacing: .06em; }
.footer__bottom nav { display: flex; gap: 28px; flex-wrap: wrap; }

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__list, .header__phone { display: none; }
  .burger { display: block; }
  .header .btn { display: none; }
  .pillars, .steps { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(3) { padding-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { margin-top: 56px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .split, .split--even, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .audiences, .cards { grid-template-columns: 1fr; }
  .aud { min-height: 480px; }
  .aud__body p { max-height: none; opacity: 1; margin-bottom: 22px; }
  .section-head { flex-direction: column; align-items: start; }
  .row { grid-template-columns: 48px 1fr; gap: 12px 20px; }
  .row p { grid-column: 2; }
  .row__arrow { display: none; }
  .frame::before { inset: 16px -12px -16px 12px; }
}
@media (max-width: 620px) {
  .hero .hero__media img { object-position: 76% 50%; }
  .hero__media::after, .page-hero .hero__media::after { background: linear-gradient(180deg, rgba(14,17,19,.55) 0%, rgba(14,17,19,.45) 40%, rgba(14,17,19,.9) 100%); }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta div { padding: 18px 0; border-bottom: 1px solid var(--line-light); }
  .pillars, .steps { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 36px 0; border-right: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
  .step + .step { padding-left: 0; border-left: 0; margin-top: 48px; }
  .form { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dd { padding-top: 0; }
  .brand__name { font-size: 19px; letter-spacing: .22em; }
  .brand__tag { letter-spacing: .24em; white-space: nowrap; }
  .header__bar { height: 76px; }
  .values { flex-direction: column; }
}

/* ---------- Pied de page : bouton cookies ---------- */
.footer__btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
.footer__btn:hover { color: var(--ivory); }

/* ---------- Formulaire : états ---------- */
.form__status { grid-column: 1 / -1; margin: 8px 0 0; font-size: 15px; min-height: 1.5em; }
.form__status.is-ok { color: #2f6b4f; }
.form__status.is-err { color: #9b2c2c; }
.form button[disabled] { opacity: .5; cursor: wait; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Bandeau cookies (CNIL : refuser aussi simple qu’accepter) ---------- */
.cookie { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.cookie[hidden], .cookie [hidden] { display: none !important; }
.cookie__inner {
  pointer-events: auto; width: 100%; max-width: 980px; background: var(--ink); color: var(--ivory);
  border: 1px solid var(--line-light); padding: 28px 32px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.cookie__title { font-family: var(--serif); font-size: 26px; margin: 0 0 8px; }
.cookie__text { font-size: 14px; color: rgba(245,241,234,.75); margin: 0; }
.cookie__text a { color: var(--gold-soft); border-bottom: 1px solid currentColor; }
.cookie__prefs { margin-top: 20px; border-top: 1px solid var(--line-light); }
.cookie__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 13px; color: rgba(245,241,234,.7); cursor: pointer; }
.cookie__row strong { color: var(--ivory); font-weight: 600; }
.cookie__row input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; justify-content: flex-end; }
.cookie .btn { padding: 14px 22px; }
@media (max-width: 620px) { .cookie__inner { padding: 22px 20px; } .cookie__actions .btn { flex: 1 1 100%; justify-content: center; } }

/* ---------- Solutions métier ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.sol-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sol { display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: 22px; }
.section--ink .sol { border-top-color: var(--line-light); }
.sol__img { display: block; overflow: hidden; margin-bottom: 22px; }
.sol__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.sol:hover .sol__img img { transform: scale(1.05); }
.sol__title { font-family: var(--serif); font-size: 26px; line-height: 1.15; margin-bottom: 10px; display: block; }
.sol__text { display: block; font-size: 14.5px; color: var(--stone-2); margin-bottom: 18px; flex: 1; }
.section--ink .sol__text { color: rgba(245,241,234,.62); }
.sol .link { align-self: flex-start; }
.expert-note {
  margin: 56px 0 0; padding: 22px 26px; border: 1px solid var(--line-light); border-left: 2px solid var(--gold);
  font-size: 14px; letter-spacing: .02em; color: rgba(245,241,234,.78);
}
.expert-note--light { border-color: var(--line); border-left-color: var(--gold); color: var(--stone-2); }
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%), linear-gradient(135deg, var(--stone) 50%, transparent 50%); background-position: calc(100% - 14px) 24px, calc(100% - 9px) 24px; background-size: 5px 5px; background-repeat: no-repeat; }
@media (max-width: 1100px) { .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .sol-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .sol-grid, .sol-grid--3 { grid-template-columns: minmax(0, 1fr); } .sol__img img { aspect-ratio: 16 / 10; } }

/* ---------- En-tête : libellés sur une ligne ---------- */
.nav__list { gap: 26px; }
.nav__list a, .header__phone, .header .btn, .brand__name { white-space: nowrap; }
.header__bar { gap: 24px; }
.header__cta { gap: 20px; }
@media (max-width: 1280px) {
  .nav__list, .header__phone { display: none; }
  .burger { display: block; }
  .header .btn { display: none; }
}
