/* ==========================================================================
   3S PRÉVENTION — Feuille de style principale
   Direction artistique : "Dossier" — inspirée du dossier d'audit technique.
   ========================================================================== */

/* Polices Barlow / Barlow Condensed auto-hébergées (assets/fonts/) :
   pas de dépendance à Google Fonts, pas de requête externe. */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Barlow-400-latinext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Barlow-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/Barlow-500-latinext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/Barlow-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/Barlow-600-latinext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/Barlow-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/Barlow-700-latinext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/Barlow-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/BarlowCondensed-500-latinext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/BarlowCondensed-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/BarlowCondensed-600-latinext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/BarlowCondensed-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/BarlowCondensed-700-latinext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/BarlowCondensed-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --forest: #1F3A2D;
  --forest-dark: #172c22;
  --safety: #4FC98A;
  --anthracite: #2D2D2D;
  --sage: #5A7A6A;
  --chalk: #F0F4F1;
  --orange: #E8712A;
  --orange-dark: #cf5f1c;
  --white: #FFFFFF;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --container: 1160px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--anthracite);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--forest);
  text-wrap: balance;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); text-transform: uppercase; letter-spacing: .3px; }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
h3 { font-size: 1.15rem; font-weight: 600; text-transform: none; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--safety);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.eyebrow.on-dark { color: var(--safety); }
.eyebrow.dark-text { color: var(--forest); }

.lede {
  font-size: 1.15rem;
  color: var(--sage);
  max-width: 640px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 100px 0; }

.section-head {
  max-width: 700px;
  margin: 0 0 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-chalk { background: var(--chalk); }
.bg-forest { background: var(--forest); color: var(--white); }
.bg-forest h1, .bg-forest h2, .bg-forest h3 { color: var(--white); }
.bg-forest .lede { color: #cfe0d6; }
.bg-anthracite { background: var(--anthracite); color: var(--white); }
.bg-anthracite h1, .bg-anthracite h2, .bg-anthracite h3 { color: var(--white); }
.bg-anthracite .lede { color: #d8d8d8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 18px -10px rgba(232,113,42,.55);
}

.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--forest); border-color: var(--white); }

.btn-dark {
  background: var(--forest);
  color: var(--white);
}
.btn-dark:hover { background: var(--forest-dark); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e4e9e5;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  height: 46px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .3px;
  color: var(--anthracite);
  text-transform: uppercase;
}
.logo-name .dot { color: var(--safety); }
.logo-tag {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--sage);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--anthracite);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--forest); }
.main-nav a.active { color: var(--forest); }
.main-nav > a.btn-orange {
  background: none;
  border: none;
  padding: 6px 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.main-nav > a.btn-orange:hover {
  background: none;
  color: var(--orange-dark);
  transform: none;
  box-shadow: none;
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--safety);
}
.main-nav ul a { transition: color .2s ease; }
.main-nav ul a::before {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--safety);
  transition: right .25s ease;
}
.main-nav ul a:hover::before { right: 0; }
.main-nav ul a.active::before { display: none; }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
}
.nav-toggle-label span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--forest);
}

/* ---------- Hero (fond forêt, plein cadre — direction "Dossier") ---------- */
.hero {
  padding: 0;
  background: var(--forest);
  color: var(--white);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
  max-width: none;
}
.hero-content {
  padding: 96px 64px 96px calc((100vw - var(--container)) / 2 + 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero .lede { color: #cfe0d6; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-media { overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

.hero-media.hero-media-logo {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}
.hero-media.hero-media-logo img {
  width: auto;
  height: auto;
  max-width: 60%;
  max-height: 65%;
  min-height: 0;
  object-fit: contain;
}

/* ---------- Domain cards (index numéroté) ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e4e9e5;
}
.card {
  background: var(--white);
  border-right: 1px solid #e4e9e5;
  padding: 40px 34px 34px;
  display: flex;
  flex-direction: column;
}
.card:last-child { border-right: none; }
.card .idx {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--chalk);
  -webkit-text-stroke: 1.5px var(--forest);
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.card h3.card-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 8px;
}
.card .hook {
  font-weight: 600;
  color: var(--anthracite);
  margin-bottom: 10px;
}
.card p.desc { color: var(--sage); margin-bottom: 24px; flex-grow: 1; }

/* ---------- Split banner (green) ---------- */
.banner-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}
.banner-split .btn { margin-top: 24px; }

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.why-item .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--safety);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--sage); margin: 0; }

/* ---------- Method steps (vraie séquence 01 → 04) ---------- */
.steps-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step {
  position: relative;
  padding: 0 26px 0 0;
  border-left: 2px solid #dbe4de;
  padding-left: 26px;
}
.step:first-child { border-left: none; padding-left: 0; }
.step .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--chalk);
  -webkit-text-stroke: 1.5px var(--forest);
  display: block;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 8px; text-transform: uppercase; font-family: var(--font-display); letter-spacing: .3px; }
.step p { color: var(--sage); margin: 0; }

/* ---------- About mini block (home) ---------- */
.about-mini {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-mini img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Final CTA ---------- */
.cta-final {
  text-align: center;
}
.cta-final .lede { margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest);
  color: #cfe0d6;
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.site-footer .logo-name { color: var(--white); }
.site-footer .logo-tag { color: #9db8ab; }
.footer-desc { margin-top: 16px; color: #9db8ab; max-width: 320px; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a, .footer-col p { color: #cfe0d6; }
.footer-col a:hover { color: var(--safety); }
.footer-col .footer-small { display: block; font-size: .78rem; color: #9db8ab; margin-top: 2px; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: #9db8ab;
}
.footer-bottom .legal-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--safety); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--forest);
  color: var(--white);
  padding: 72px 0 64px;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .lede { color: #cfe0d6; max-width: 680px; }

/* ---------- Services page ---------- */
.service-block { padding: 76px 0; }
.service-block:nth-child(even) { background: var(--chalk); }
.service-block .head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 44px;
}
.service-block .head-media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.list-check {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
}
.list-check li {
  padding-left: 26px;
  position: relative;
  font-weight: 500;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--safety);
}
.service-tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--forest);
  background: rgba(79,201,138,.16);
  padding: 6px 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-family: var(--font-display);
}

/* ---------- About page ---------- */
.pillars-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 3px solid var(--forest);
}
.pillar {
  background: var(--white);
  border-right: 1px solid #e4e9e5;
  padding: 30px 26px;
}
.pillar:last-child { border-right: none; }
.pillar h3 { font-size: 1.05rem; text-transform: uppercase; font-family: var(--font-display); letter-spacing: .3px; }
.pillar p { color: var(--sage); margin: 0; font-size: .95rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.two-col img { border-radius: var(--radius); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: start;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 7px;
  color: var(--forest);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d3ddd7;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--anthracite);
  background: var(--white);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--safety);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-disclaimer {
  margin-top: 14px;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--sage);
}
.form-disclaimer a { color: var(--forest); text-decoration: underline; }

.form-feedback {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 600;
}
.form-feedback.show { display: block; }
.form-feedback.success { background: rgba(79,201,138,.16); color: var(--forest); }
.form-feedback.error { background: rgba(232,113,42,.14); color: var(--orange-dark); }

.contact-card {
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.contact-card h3 { color: var(--white); margin-bottom: 22px; text-transform: uppercase; font-family: var(--font-display); }
.contact-line { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-line .icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--safety);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--safety);
}
.contact-line strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: #9db8ab; margin-bottom: 3px; }
.contact-line span, .contact-line a { color: var(--white); font-weight: 600; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: -200px;
  z-index: 999;
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #e4e9e5;
  border-radius: 8px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.35);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  transition: bottom .35s ease;
}
.cookie-banner.show { bottom: 20px; }
.cookie-banner p { margin: 0; font-size: .88rem; color: var(--anthracite); flex: 1 1 320px; }
.cookie-banner p a { color: var(--forest); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 11px 18px; font-size: .82rem; }

/* ---------- Legal pages ---------- */
.legal-content { padding: 70px 0 90px; }
.legal-content h2 { margin-top: 2em; text-transform: none; font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { padding-left: 1.2em; }
.legal-content li { margin-bottom: .5em; }
.legal-placeholder {
  background: rgba(232,113,42,.12);
  color: var(--orange-dark);
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
}

/* ---------- 404 page ---------- */
.error-page {
  padding: 120px 0;
  text-align: center;
}
.error-page .code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  color: var(--chalk);
  -webkit-text-stroke: 2px var(--forest);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.error-page h1 { text-transform: none; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.error-page .lede { margin: 0 auto 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container,
  .banner-split,
  .about-mini,
  .two-col,
  .contact-grid,
  .service-block .head { grid-template-columns: 1fr; }
  .hero-content { padding: 64px 28px; }
  .hero-media { order: -1; aspect-ratio: 16/9; }
  .hero-media img { min-height: 0; }
  .cards-3 { grid-template-columns: 1fr 1fr; border-top: none; }
  .card { border-right: none; border-top: 1px solid #e4e9e5; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps-4 { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .step { border-left: none; padding-left: 0; }
  .pillars-4 { grid-template-columns: 1fr 1fr; border-top: none; }
  .pillar { border-right: none; border-top: 3px solid var(--forest); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Nav bascule en menu mobile dès 980px : au-delà de ~720px, le menu
     horizontal complet (logo + 4 liens + CTA) ne tient plus dans le
     conteneur et provoquait un débordement/chevauchement sur tablette. */
  .nav-toggle-label { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid #e4e9e5;
    padding: 10px 28px 26px;
    box-shadow: 0 12px 20px -14px rgba(0,0,0,.2);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-toggle:checked ~ .main-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .main-nav ul li { border-top: 1px solid #eef2ef; }
  .main-nav ul li:first-child { border-top: none; }
  .main-nav ul a { display: block; padding: 14px 2px; }
  .main-nav > a.btn-orange { margin-top: 16px; padding: 6px 0; font-size: .95rem; }
  .site-header .container { height: 72px; }
  .logo-tag { display: none; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .steps-4 { grid-template-columns: 1fr; }
  .pillars-4 { grid-template-columns: 1fr; }
  .pillar { border-top: 3px solid var(--forest); }
  .list-check { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
}

/* Petits mobiles : éviter que les eyebrows/labels ne cassent la mise en page */
@media (max-width: 380px) {
  .hero-actions .btn,
  .cta-final .btn { width: 100%; justify-content: center; }
}
