/* ==========================================================================
   Labo Olympia : feuille de style du site (servie par AssetMapper)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #214371;
  --navy-900: #152c4b;
  --teal: #2a8fa1;
  --teal-700: #1f7182;
  --teal-50: #e8f4f6;
  --ink: #111518;
  --text: #3b4754;
  --muted: #6a7682;
  --line: #e3e8ec;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --whatsapp: #1fa855;
  --danger: #c0392b;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(17, 21, 24, .04), 0 8px 24px rgba(33, 67, 113, .08);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font: 400 1rem/1.65 var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.eyebrow {
  display: inline-block; margin: 0 0 .75rem;
  font: 600 .78rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700);
}
.lead { font-size: 1.12rem; color: var(--text); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-700); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #178a45; color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--teal-50); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand span { font: 600 1.05rem/1.1 var(--font-head); color: var(--navy); letter-spacing: .04em; }
.brand small { display: block; font: 500 .62rem/1.2 var(--font-body); color: var(--teal-700); letter-spacing: .14em; text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-header .container { max-width: 1440px; }
.main-nav > ul a, .main-nav button.sub-toggle {
  display: flex; align-items: center; gap: 4px; padding: 10px 7px; white-space: nowrap;
  font: 500 .76rem/1.2 var(--font-body); letter-spacing: .02em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-radius: 6px; background: none; border: 0; cursor: pointer;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--teal-700); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub button.sub-toggle { padding: 10px 4px; }
.has-sub button.sub-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.submenu { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { text-transform: none; font-size: .9rem; padding: 10px 12px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-select { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font: 500 .8rem var(--font-body); color: var(--ink); background: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; color: var(--navy); }

/* Menu à 9 entrées : on libère de la place entre 1241 et 1599 px */
@media (min-width: 1241px) and (max-width: 1599px) {
  .brand__text { display: none; }
}
@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; margin: 0; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul a { padding: 16px 4px; font-size: .95rem; }
  .main-nav > ul a[aria-current="page"] { box-shadow: none; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .has-sub > a { flex: 1; }
  .submenu { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; }
  .has-sub.is-open .submenu { display: block; }
  .has-sub.is-open button.sub-toggle svg { transform: rotate(180deg); }
  .header-actions { display: none; }
  .main-nav .mobile-actions { display: flex; }
}
.mobile-actions { display: none; flex-direction: column; gap: 12px; margin-top: 24px; }
.main-nav .mobile-actions .btn { justify-content: center; color: #fff; }
body.nav-open { overflow: hidden; }

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-700); }

/* ---------- Hero (gabarit page de service) ---------- */
/* Hero pleine largeur : média en fond (photo/vidéo SANS texte incrusté), texte HTML par-dessus */
.hero { position: relative; color: #fff; background: var(--navy-900); }
.hero--cover {
  display: flex; align-items: center; overflow: hidden;
  min-height: clamp(520px, 74vh, 660px);
  padding: clamp(48px, 7vw, 88px) 0 clamp(112px, 12vw, 150px);
}
.hero--home { min-height: clamp(580px, 92vh, 880px); }
.hero__bg { position: absolute; inset: 0; background: #091426; }
.hero__bg img, .hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 20, 38, .9) 0%, rgba(9, 20, 38, .78) 38%, rgba(9, 20, 38, .3) 68%, rgba(9, 20, 38, .05) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__content { max-width: 660px; }
.hero h1 { color: #fff; }
.hero .lead { color: #dde7f1; margin-bottom: 1.6rem; }
.hero .eyebrow { color: #8fd3df; }
.hero .breadcrumb ol, .hero .breadcrumb a { color: #b8c7d9; }
.hero .breadcrumb a:hover { color: #fff; }
.hero .breadcrumb li + li::before { color: rgba(255,255,255,.35); }
.hero .check-list li::before { background-color: rgba(143, 211, 223, .18); }
.hero .btn--outline { border-color: rgba(255,255,255,.8); color: #fff; }
.hero .btn--outline:hover { background: #fff; color: var(--navy); }
.hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.hero__badge { display: inline-flex; align-items: center; gap: 12px; background: #fff; padding: 10px 16px 10px 10px; border-radius: 14px; box-shadow: var(--shadow); }
.hero__badge img { width: 44px; height: 44px; object-fit: contain; }
.hero__badge p { margin: 0; font: 600 .85rem/1.3 var(--font-body); color: var(--navy); }
.hero__badge span { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.hero__points { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 12px; }
.hero__points li { display: flex; gap: 12px; align-items: flex-start; color: #e8eef5; }
.hero__points strong { color: #fff; }
.hero__points svg { flex: none; width: 22px; height: 22px; color: #8fd3df; margin-top: 2px; }
.hero__aside { margin: 0 0 1.6rem; padding: 14px 18px; border-left: 3px solid #8fd3df; background: rgba(255,255,255,.08); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.hero__aside p { margin: 0 0 .4rem; font: 600 .76rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #8fd3df; }
.hero__aside ul { margin: 0; padding-left: 1.1em; font-size: .92rem; color: #e8eef5; }
/* Bandeau simple (Le saviez-vous, Contact, formulaires, articles) */
.hero--simple { text-align: center; padding: clamp(48px, 7vw, 88px) 0; background: radial-gradient(circle at 50% 0%, #1e3a5f, var(--navy-900) 70%); }
.hero--simple .lead { margin: 0 auto; }
.hero--simple .breadcrumb ol { justify-content: center; }
.hero--simple .chips li { background: rgba(255,255,255,.1); color: #cfe3ea; }
.hero--simple .article-meta { color: #b8c7d9; }
@media (max-width: 760px) {
  .hero--cover, .hero--home { min-height: 0; padding: 56px 0 120px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(9, 20, 38, .62) 0%, rgba(9, 20, 38, .9) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero__bg video { display: none; } }

/* ---------- Réassurance ---------- */
/* chevauche le bas du hero, comme sur le site actuel */
.trust { position: relative; z-index: 2; margin-top: -76px; color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 24px clamp(20px, 3vw, 36px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: var(--navy); border-radius: 18px; box-shadow: 0 18px 40px rgba(9, 20, 38, .25); }
.trust li { display: flex; align-items: center; gap: 14px; }
.trust svg { width: 34px; height: 34px; flex: none; color: #8fd3df; }
.trust strong { display: block; font: 600 .98rem/1.2 var(--font-head); }
.trust span { font-size: .85rem; color: #c5d3e4; }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; } }

/* ---------- Split (texte / image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split + .split { margin-top: clamp(48px, 7vw, 88px); }
.split--reverse .split__media { order: -1; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }
/* Mobile : sur-titre + titre, puis l'image, puis le reste du texte.
   Le HTML ne change pas (un seul titre, une seule image) : on « aplatit » .split__text
   pour pouvoir glisser l'image entre ses enfants. Sans titre dans le bloc, l'image passe en premier. */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; row-gap: 0; }
  .split__text { display: contents; }
  .split__text > * { order: 2; }
  .split__text > .eyebrow, .split__text > h2, .split__text > h3 { order: 0; }
  .split__media, .split--reverse .split__media { order: 1; margin: 4px 0 20px; }
}

/* ---------- Listes ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7182' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.check-list--cols { grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
@media (max-width: 600px) { .check-list--cols { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.2em; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-size: .85rem; font-weight: 500; }

/* ---------- Cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards--3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.section--soft .card { border-color: transparent; box-shadow: var(--shadow); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); margin-bottom: 16px; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card__note { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.card .card__link { margin-top: auto; padding-top: 12px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card .card__link svg { width: 16px; height: 16px; }

/* Articles */
.post-card { padding: 0; overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.12rem; margin-bottom: .5em; }
.post-card h2 a, .post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--teal-700); }
.post-card .chips { margin-bottom: .8em; }
.post-card .chips li { font-size: .75rem; padding: 4px 10px; }
.post-card p { font-size: .95rem; }

/* Logos partenaires */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.logos li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 16px; text-align: center; }
.logos img { height: 90px; width: 100%; object-fit: contain; margin: 0 auto 12px; }
.logos span { font-size: .88rem; font-weight: 600; color: var(--navy); }

/* Stats / bandeau certif */
.cert { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cert__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cert__logos figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.cert__logos img { height: 110px; width: 100%; object-fit: contain; margin: 0 auto 10px; }
.cert__logos figcaption { font-size: .85rem; font-weight: 600; color: var(--navy); }
.cert__logos figcaption span { display: block; font-weight: 400; color: var(--muted); }
@media (max-width: 860px) { .cert { grid-template-columns: 1fr; } }
/* Section Qualité : fond marine + photo en filigrane, pour la détacher des sections blanches voisines */
.section--qualite { background: linear-gradient(rgba(21, 44, 75, .9), rgba(21, 44, 75, .9)), url("/images/2026/07/rephile-water-cuqp2Jzz_lY-unsplash.webp") center / cover no-repeat, var(--navy-900); color: rgba(255, 255, 255, .88); }
.section--qualite h2 { color: #fff; }
.section--qualite .eyebrow { color: #8fd3df; }
.section--qualite a { color: #fff; }

.quote { font: 600 clamp(1.3rem, 2.4vw, 1.75rem)/1.35 var(--font-head); color: var(--navy); max-width: 900px; margin: 0 auto 1rem; text-align: center; }

/* ---------- Bandeau CTA « Envoyez votre demande » ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--teal-700)); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #dbe7f1; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Formulaires ---------- */
.form-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { font-size: 1.35rem; }
.form-side { display: grid; gap: 24px; }
.form-card__sub { color: var(--muted); margin: -.3em 0 14px; }
.map--side { height: 300px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid--stack { grid-template-columns: 1fr; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: var(--danger); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd8df; border-radius: var(--radius-sm);
  font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42, 143, 161, .2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.field .error { display: none; margin-top: 6px; font-size: .82rem; color: var(--danger); }
.field.is-invalid .error { display: block; }
.phone { display: flex; }
.phone span { display: flex; align-items: center; padding: 0 12px; border: 1px solid #cfd8df; border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--bg-soft); font-size: .95rem; color: var(--ink); white-space: nowrap; }
.phone input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.dropzone { position: relative; overflow: hidden; border: 2px dashed #cfd8df; border-radius: var(--radius); padding: 26px; text-align: center; color: var(--muted); cursor: pointer; transition: .2s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--teal); background: var(--teal-50); }
.dropzone svg { width: 32px; height: 32px; color: var(--teal); margin: 0 auto 8px; }
.dropzone input { position: absolute; opacity: 0; pointer-events: none; }
.dropzone strong { color: var(--teal-700); }
.form-check { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.form-check input { width: 18px; height: 18px; accent-color: var(--teal); }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.form-success { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: #e9f7ef; color: #1d6b3b; font-weight: 500; }
.form-success.is-visible { display: block; }
.form-alert { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); background: #fbeceb; color: var(--danger); font-weight: 500; }
form[aria-busy="true"] [type=submit] { opacity: .65; cursor: progress; }
/* Message après un envoi sans JavaScript */
.flash { padding: 14px 0; font-weight: 500; }
.flash--success { background: #e9f7ef; color: #1d6b3b; }
.flash--error { background: #fbeceb; color: var(--danger); }
.hp { position: absolute; left: -9999px; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; }
.info-list svg { flex: none; width: 22px; height: 22px; color: var(--teal); margin-top: 3px; }
.info-list strong { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 600; }
.info-list a { text-decoration: none; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); display: block; }

/* ---------- Article ---------- */
.article-header { max-width: 820px; margin: 0 auto; text-align: center; }
.article-header h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.article-header .chips { justify-content: center; }
.article-meta { color: var(--muted); font-size: .9rem; }
.article-body { max-width: 760px; margin: 0 auto; font-size: 1.08rem; }
.article-body p { margin-bottom: 1.25em; }
.article-body figure { margin: 2rem 0; }
.article-body figure img { border-radius: var(--radius); width: 100%; }
.article-body figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.article-cta { max-width: 760px; margin: 2.5rem auto 0; padding: 24px; border-radius: var(--radius); background: var(--teal-50); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.article-cta p { margin: 0; font-weight: 600; color: var(--navy); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--bg-soft); border-top: 1px solid var(--line); }
.newsletter .container { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; padding-top: 36px; padding-bottom: 36px; }
.newsletter__title { font: 600 1.25rem/1.3 var(--font-head); color: var(--navy); margin: 0; }
.newsletter__text { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.newsletter form { display: flex; gap: 10px; flex: 1 1 360px; max-width: 480px; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid #cfd8df; border-radius: 999px; font: inherit; }
.newsletter input.is-invalid { border-color: var(--danger); }
.newsletter .form-alert { display: none; }
.newsletter .newsletter__ok { flex-basis: 100%; margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c5d3e4; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding: 56px 0 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 64px; height: 64px; border-radius: 12px; background: #fff; padding: 4px; margin-bottom: 14px; }
.footer-brand p { margin: 0 0 1em; }
.footer-title { font: 600 .82rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c5d3e4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.socials a:hover { background: var(--teal); }
.socials svg { width: 18px; height: 18px; }
.footer-map { width: 100%; height: 170px; border: 0; border-radius: var(--radius-sm); display: block; margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- WhatsApp flottant ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(31, 168, 85, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Utilitaires ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* Bouton sur fond sombre */
.btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }

/* Hero CHR / Agro : avantages + références côte à côte */
.hero__content:has(.hero__extra) { max-width: 820px; }
.hero__extra { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; margin-bottom: 1.6rem; }
.hero__extra .check-list, .hero__extra .hero__aside { margin: 0; }
.hero__extra .check-list { font-size: .95rem; gap: 8px; }
@media (max-width: 760px) { .hero__extra { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contenu long (SEO) : table des matières, texte courant, étapes, FAQ
   ========================================================================== */
.toc { max-width: 820px; margin: 0 auto; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow); }
.toc__title { margin: 0 0 10px; font: 600 1.05rem/1.3 var(--font-head); color: var(--navy); }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.toc li { margin: 0 0 6px; break-inside: avoid; }
.toc a { color: var(--teal-700); text-decoration: none; }
.toc a:hover, .toc a:focus-visible { text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

.prose { max-width: 820px; margin: 0 auto; }
.prose > h2 { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul:not(.check-list) li { margin-bottom: .4em; }
.prose a { color: var(--teal-700); }

.steps { list-style: none; counter-reset: etape; padding: 0; margin: 1.5em 0; display: grid; gap: 18px; }
.steps > li { counter-increment: etape; position: relative; padding: 18px 20px 18px 68px; border-radius: var(--radius); background: var(--bg-soft); }
.section--soft .steps > li { background: var(--bg); }
.steps > li::before { content: counter(etape); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font: 600 1rem/1 var(--font-head); }
.steps h3 { margin: 0 0 .4em; font-size: 1.08rem; }
.steps p:last-child { margin-bottom: 0; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; position: relative; list-style: none; font: 600 1.02rem/1.4 var(--font-head); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { display: inline; margin: 0; font: inherit; color: inherit; }
.faq details > div { padding: 0 20px 16px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Sections en cartes (pages) : en-tête + grille de cartes numérotées
   ========================================================================== */
.feature-grid { display: grid; gap: 20px; align-items: start; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature { position: relative; height: 100%; padding: 28px 26px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid transparent; transition: transform .2s, box-shadow .2s, border-color .2s; }
.section--soft .feature { background: var(--bg); box-shadow: var(--shadow); }
.feature:hover { transform: translateY(-3px); border-color: var(--teal-50); box-shadow: 0 14px 34px rgba(33, 67, 113, .1); }
.feature--wide { grid-column: 1 / -1; }
.feature__num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), var(--navy)); color: #fff; font: 600 .95rem/1 var(--font-head); margin-bottom: 16px; }
.feature h3 { font-size: 1.12rem; margin: 0 0 .6em; }
.feature p { font-size: .97rem; margin: 0 0 .8em; }
.feature p:last-child, .feature ul:last-child { margin-bottom: 0; }
.feature .check-list { font-size: .95rem; }
.feature figure { margin: 6px 0 14px; }
.feature figure img { border-radius: var(--radius-sm); width: 100%; height: 220px; object-fit: cover; }
.feature figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.feature a { color: var(--teal-700); }

/* Listes sans sous-titres : tuiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.tiles li { position: relative; padding: 18px 20px 18px 56px; border-radius: var(--radius); background: var(--bg-soft); font-size: .97rem; }
.section--soft .tiles li { background: var(--bg); box-shadow: var(--shadow); }
.tiles li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7182' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.tiles strong { color: var(--navy); }

/* Conclusion sous la grille, étapes pleine largeur */
.section-foot { max-width: 820px; margin-top: 26px; font-size: .97rem; color: var(--text); }
.section-foot p { margin: 0 0 .6em; }
.section-head + .steps, .section-head + .check-list { margin-top: 0; }
.container > .steps { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

@media (max-width: 960px) { .feature-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid--3, .feature-grid--2 { grid-template-columns: 1fr; } .feature { padding: 22px 20px; } }

/* ==========================================================================
   Sommaire : bande de pastilles (au lieu de la boîte numérotée)
   ========================================================================== */
.toc { max-width: none; padding: 0; border: 0; background: none; box-shadow: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.toc__title { margin: 0; font: 500 .8rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toc ol { columns: auto; list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); color: var(--navy); font-size: .9rem; font-weight: 500; text-decoration: none; border: 1px solid var(--line); transition: background .15s, color .15s, border-color .15s; }
.toc a:hover, .toc a:focus-visible { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none; }
.article-body .toc { justify-content: flex-start; margin: 1.5rem 0 2rem; }
.article-body .toc ol { justify-content: flex-start; }
@media (max-width: 640px) {
  .toc { justify-content: flex-start; }
  .toc ol { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; width: 100%; }
  .toc a { white-space: nowrap; }
}
/* Étapes en grille : numéro au-dessus du texte */
.container > .steps > li { padding: 22px 22px 20px; }
.container > .steps > li::before { position: static; display: grid; margin-bottom: 14px; }

/* Cartes repliées : titre + 3 lignes visibles, « Lire la suite » déplie le reste (texte toujours lu par Google) */
.feature { display: flex; flex-direction: column; }
.feature__intro { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: .4em; }
.feature:has(.feature__more[open]) .feature__intro { display: block; -webkit-line-clamp: unset; overflow: visible; }
.feature__preview { margin-bottom: .4em; }
.feature__preview + .feature__more[open] .check-list { margin-top: 0; }
.feature__more { margin-top: auto; }
.feature__more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .9rem; font-weight: 600; color: var(--teal-700); }
.feature__more summary::-webkit-details-marker { display: none; }
.feature__more summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.feature__more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.feature__more summary:hover { color: var(--navy); }
.feature__more .fermer, .feature__more[open] .ouvrir { display: none; }
.feature__more[open] .fermer { display: inline; }
.feature__more[open] summary { order: 2; }
.feature__more[open] { display: flex; flex-direction: column; }
.feature__body { padding-top: 4px; }
.feature__body > *:last-child { margin-bottom: 0; }
