/* ==========================================================================
   PuriBat — feuille de style unique
   Mobile-first. Deux graisses Poppins : 400 (texte) et 800 (titres).
   Sommaire :
   1. Variables        6. Boutons           11. Avis
   2. Base             7. Hero              12. FAQ
   3. Typographie      8. Cartes            13. Formulaire
   4. Mise en page     9. Avant / après     14. Pied de page + barre mobile
   5. En-tête / menu  10. Étapes méthode    15. Utilitaires
   ========================================================================== */

/* 1. Variables ------------------------------------------------------------ */
:root {
  --ink: #1C1F21;           /* anthracite : texte principal */
  --ink-2: #565C61;         /* texte secondaire (contraste 6.8:1 sur blanc) */
  --line: #E4E1DC;          /* bordures légères */
  --bg: #FFFFFF;
  --bg-soft: #F6F4F1;       /* fond de section alterné, blanc chaud */
  --accent: #FF751F;        /* orange PuriBat : détails, filets, icônes */
  --accent-strong: #C94A08; /* corail foncé : boutons et liens (4.7:1 avec blanc) */
  --accent-hover: #A93D06;
  --petrol: #1F5C5A;        /* vert pétrole : usage très discret (approche environnementale) */
  --petrol-soft: #E8F0EF;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(28, 31, 33, .04), 0 8px 24px rgba(28, 31, 33, .06);

  --container: 1180px;
  --gutter: 20px;
  --section: 72px;
  --header-h: 64px;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (min-width: 900px) {
  :root { --gutter: 32px; --section: 112px; --header-h: 76px; }
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-strong); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: #FFE2CF; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 800;
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* 3. Typographie ---------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6.4vw, 4rem); }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-2); max-width: 40em; }
.muted { color: var(--ink-2); }
strong { font-weight: 800; }

/* Sur-titre de section : petit texte capitales + filet orange */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.eyebrow--petrol::before { background: var(--petrol); }

.prose { max-width: 44em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 3.2vw, 2rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }

/* 4. Mise en page --------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section-head { max-width: 46em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-foot { margin-top: clamp(32px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.section-head--center + * + .section-foot, .section-foot--center { justify-content: center; }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
@media (min-width: 640px) and (max-width: 959px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse > :first-child { order: 2; }
}

/* 5. En-tête / menu ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.logo {
  font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none; line-height: 1;
}
.logo span { color: var(--accent); }
.logo:hover { color: var(--ink); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); cursor: pointer;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm); color: var(--ink);
  border: 1px solid var(--line);
}
.header-phone .label { display: none; }
.btn.header-cta { display: none; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: var(--header-h);
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px; box-shadow: 0 16px 24px rgba(28,31,33,.06);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 1.05rem;
}
.site-nav a[aria-current="page"] { font-weight: 800; }
.site-nav .nav-cta { margin-top: 20px; }
.site-nav .nav-cta a { border: 0; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: block; position: static; padding: 0; border: 0; box-shadow: none; background: none; max-height: none;
  }
  .site-nav ul { display: flex; gap: 28px; }
  .site-nav a { padding: 6px 0; border: 0; font-size: .92rem; position: relative; }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"] { font-weight: 400; }
  .site-nav .nav-cta { display: none; }
  .header-phone { width: auto; border: 0; padding: 0 4px; gap: 8px; text-decoration: none; font-size: .92rem; }
  .header-phone .label { display: inline; }
  .btn.header-cta { display: inline-flex; }
}

/* 6. Boutons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  font: 800 .98rem/1.2 var(--font); letter-spacing: -0.005em;
  text-decoration: none; text-align: center;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { flex: none; }
.btn--primary { background: var(--accent-strong); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-soft); color: var(--ink); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; text-decoration: none; color: var(--ink);
}
.link-arrow::after { content: "→"; color: var(--accent-strong); transition: transform .2s; }
.link-arrow:hover { color: var(--accent-strong); }
.link-arrow:hover::after { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* 7. Hero ----------------------------------------------------------------- */
.hero { padding-block: 32px 64px; }
.hero-grid { display: grid; gap: 32px; }
.hero h1 { margin-bottom: 20px; max-width: 12em; }
.hero .lead { margin-bottom: 28px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding: 0; list-style: none;
  font-size: .9rem; color: var(--ink-2);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--accent); }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.hero-media figcaption { margin-top: 10px; font-size: .82rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .hero { padding-block: 56px 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
  .hero-media img { aspect-ratio: 4 / 3.4; }
}

/* En-tête des pages intérieures */
.page-hero { padding-block: 32px 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 5.4vw, 3.3rem); max-width: 16em; }
.page-hero .lead { margin-bottom: 24px; }
@media (min-width: 900px) { .page-hero { padding-block: 48px 72px; } }

.breadcrumb { font-size: .82rem; color: var(--ink-2); margin-bottom: 20px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-strong); text-decoration: underline; }

/* 8. Cartes --------------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: #D2CDC6; box-shadow: var(--shadow); }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.card-body .link-arrow { margin-top: auto; padding-top: 8px; }
/* Carte entièrement cliquable via le lien principal */
.card--link .link-arrow::before { content: ""; position: absolute; inset: 0; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.card-tags li {
  font-size: .75rem; padding: 3px 10px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink-2);
}
.card-placeholder {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, var(--bg-soft) 0 12px, #EFECE8 12px 24px);
  color: var(--ink-2); font-size: .85rem; text-align: center; padding: 16px;
}

/* Arguments (Pourquoi PuriBat) */
.feature { padding-top: 22px; border-top: 2px solid var(--ink); }
.feature-icon { color: var(--accent); margin-bottom: 14px; }
.feature--petrol .feature-icon { color: var(--petrol); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink-2); margin: 0; font-size: .96rem; }

/* Blocs « Pour qui ? » */
.audience {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
}
.audience h3 { display: flex; align-items: center; gap: 12px; }
.audience h3 svg { color: var(--accent); flex: none; }
.audience p { color: var(--ink-2); margin-bottom: 14px; }

/* Liste à puces avec coche */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--petrol-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5C5A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Encadré prudent (limites de la méthode) */
.note {
  border-left: 3px solid var(--petrol); background: var(--petrol-soft);
  padding: 18px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem;
}
.note p:last-child { margin: 0; }
.note strong { color: var(--petrol); }

/* Bandeau (patrimoine, CTA) */
.band {
  border-radius: var(--radius); padding: clamp(28px, 5vw, 56px);
  background: var(--ink); color: #fff;
}
.band h2 { color: #fff; }
.band p { color: #D4D6D8; }
.band .eyebrow { color: #C9CCCE; }
.band .link-arrow { color: #fff; }
.band .link-arrow::after { color: var(--accent); }

.placeholder {
  background: #FFF4D6; color: #6B4E00; padding: 1px 6px; border-radius: 4px; font-size: .92em;
}

/* 9. Avant / après -------------------------------------------------------- */
.ba { margin: 0; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: var(--radius); overflow: hidden; }
.ba-pair figure { margin: 0; position: relative; }
.ba-pair img { width: 100%; aspect-ratio: var(--ba-ratio, 3 / 4); object-fit: cover; }
/* Une seule photo (ex. « pendant le nettoyage ») : cadrage paysage pour ne pas être trop haute */
.ba-pair--single { grid-template-columns: 1fr; }
.ba-pair--single img { aspect-ratio: 4 / 3; }
.ba-tag {
  position: absolute; left: 10px; top: 10px;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; background: rgba(28,31,33,.82); color: #fff;
}
.ba-tag--after { background: #fff; color: var(--ink); }
.ba-tag--during { background: var(--petrol); color: #fff; }
.ba-caption { padding-top: 14px; }
.ba-caption h2, .ba-caption h3 { font-size: 1.15rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.ba-caption dl { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: .85rem; color: var(--ink-2); }
.ba-caption dt { display: inline; font-weight: 800; color: var(--ink); }
.ba-caption dd { display: inline; margin: 0 0 0 4px; }
.ba-caption p { font-size: .92rem; color: var(--ink-2); margin: 8px 0 0; }
.ba-placeholder {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4;
  background: repeating-linear-gradient(135deg, var(--bg-soft) 0 12px, #EFECE8 12px 24px);
  color: var(--ink-2); font-size: .8rem; text-align: center; padding: 8px;
}

/* Défilement horizontal sur mobile (avant/après et avis) */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.scroller > * { scroll-snap-align: start; }
@media (min-width: 900px) {
  .scroller { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 28px; }
}

/* Liste d'avant/après en grandes lignes (accueil, méthode) : défilement sur mobile, lignes sur ordinateur */
@media (min-width: 900px) {
  .scroller.ba-list { grid-template-columns: 1fr; gap: 64px; }
  .ba-list .ba { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
  .ba-list .ba:nth-child(even) { grid-template-columns: 1fr 1.6fr; }
  .ba-list .ba:nth-child(even) .ba-pair { order: 2; }
  .ba-list .ba-caption h3 { font-size: 1.35rem; }
  .ba-list .ba-caption p { font-size: 1rem; }
}

/* Filtres réalisations */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  font: 400 .9rem var(--font); padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 10. Étapes méthode ------------------------------------------------------ */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--accent);
}
.steps li::after { content: ""; position: absolute; top: 48px; left: 0; width: 40px; height: 2px; background: var(--line); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); margin: 0; font-size: .96rem; }

/* Vidéo chargée au clic */
.video-embed {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink);
}
.video-embed button {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: #fff;
  background: var(--ink) center / cover no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  font: 800 1rem var(--font);
}
.video-embed button::before { content: ""; position: absolute; inset: 0; background: rgba(28,31,33,.45); }
.video-embed button > * { position: relative; }
.video-embed .play {
  width: 72px; height: 72px; border-radius: 50%; background: var(--accent-strong);
  display: flex; align-items: center; justify-content: center;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 11. Avis ---------------------------------------------------------------- */
.review {
  display: flex; flex-direction: column; gap: 14px; margin: 0;
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.review .stars { color: var(--accent); letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.review blockquote { margin: 0; font-size: .98rem; }
.review figcaption { margin-top: auto; font-weight: 800; font-size: .92rem; }
.review figcaption span { display: block; font-weight: 400; color: var(--ink-2); font-size: .8rem; }
.reviews { grid-auto-columns: 82%; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); align-items: start; } }

/* 12. FAQ ----------------------------------------------------------------- */
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: clamp(1.3rem, 2.8vw, 1.7rem); margin-bottom: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 800; font-size: 1.02rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--accent-strong); border-bottom: 2px solid var(--accent-strong);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }
.faq .answer p:last-child { margin: 0; }

/* 13. Formulaire ---------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 800; font-size: .92rem; }
.field .hint { font-size: .82rem; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--ink);
  padding: 13px 14px; border: 1px solid #CFCAC3; border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(255,117,31,.25);
}
.field input[type="file"] { padding: 10px; background: var(--bg-soft); border-style: dashed; }
.field .optional { font-weight: 400; color: var(--ink-2); }
.field [aria-invalid="true"] { border-color: #B42318; }
.field-error { color: #B42318; font-size: .85rem; }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; }
.form-status--error { background: #FDECEA; color: #8A1C12; }
.form-reassure { font-size: .92rem; color: var(--ink-2); margin: 0; }
.hp { position: absolute; left: -9999px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }

.contact-aside { display: grid; gap: 24px; align-content: start; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line svg { color: var(--accent); flex: none; margin-top: 4px; }
.contact-line a { color: var(--ink); font-weight: 800; text-decoration: none; }
.contact-line a:hover { color: var(--accent-strong); }
@media (min-width: 960px) { .contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; } }

/* 14. Pied de page + barre mobile ----------------------------------------- */
.cta-final { text-align: center; }
.cta-final .lead { margin-inline: auto; }
.cta-final .btn-row { justify-content: center; margin-top: 8px; }

.site-footer { background: var(--ink); color: #C9CCCE; padding-block: 56px 32px; font-size: .92rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #9EA3A7; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #33383B;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .82rem; color: #9EA3A7;
}
.footer-bottom a { color: #C9CCCE; }

/* Barre d'action fixe (mobile uniquement) */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .3s ease;
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar .btn { min-height: 46px; padding: 8px 12px; font-size: .92rem; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
@media (max-width: 899px) { body.has-mobile-bar { padding-bottom: 76px; } }

/* Bandeau cookies */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150;
  max-width: 460px; padding: 18px 20px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 12px 40px rgba(28,31,33,.16); font-size: .88rem;
}
.consent p { margin: 0 0 12px; }
.consent .btn-row { gap: 8px; }
@media (min-width: 900px) { .consent { left: 24px; bottom: 24px; } }

/* 15. Utilitaires / animation discrète ------------------------------------ */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.rounded { border-radius: var(--radius); }
.img-cover { width: 100%; object-fit: cover; border-radius: var(--radius); }

@media (prefers-reduced-motion: no-preference) {
  /* .js est posé par un script en ligne : sans JavaScript, tout reste visible */
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* Réseaux sociaux */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, color .2s;
}
.social:hover { border-color: var(--accent-strong); color: var(--accent-strong); }

/* Photo du fondateur */
.founder-photo { aspect-ratio: 1 / 1; max-width: 520px; }
