/* =========================================================
   SunnySide Nettoyage — feuille de style unique
   Agence Zanetti — 2026
   ========================================================= */

/* ---------- Polices hébergées ---------- */
@font-face {
  font-family: "Merriweather";
  src: url("/fonts/merriweather-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather Sans";
  src: url("/fonts/merriweather-sans-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --c-dark: #082f31;
  --c-petrol: #0c4f51;
  --c-footer: #06292b;
  --c-ochre: #cd8d3c;
  --c-ochre-hover: #d99b4c;
  --c-ochre-text: #9a5f1c;   /* ocre lisible sur fond clair (contraste AA) */
  --c-ochre-light: #e7b06a;  /* ocre lisible sur fond sombre */
  --c-cream: #f6f1e8;
  --c-light: #fdfbf7;
  --c-white: #ffffff;
  --c-text: #4b5654;
  --c-line: #e4ddd1;
  --c-open: #2f8f5b;

  --f-serif: "Merriweather", Georgia, "Times New Roman", serif;
  --f-sans: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-ui: "Merriweather Sans", "Manrope", "Segoe UI", Arial, sans-serif;

  --container: 1100px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 12px 34px rgba(8, 47, 49, 0.10);
  --section-y: clamp(4rem, 8vw, 6.5rem);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 3.4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(2rem, 2.8vw + 1rem, 3.15rem); }
h3 { font-size: clamp(1.3rem, 0.6vw + 1.05rem, 1.6rem); line-height: 1.18; }

:focus-visible {
  outline: 3px solid var(--c-ochre);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--c-dark);
  color: var(--c-white);
  border-radius: var(--radius-s);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--light { background: var(--c-light); }
.section--cream { background: var(--c-cream); }
.section--white { background: var(--c-white); }
.section--dark { background: var(--c-dark); color: #d7e2e1; }
.section--petrol { background: var(--c-petrol); color: #d9e6e5; }
.section--dark h2, .section--petrol h2,
.section--dark h3, .section--petrol h3 { color: var(--c-white); }

/* Surtitre « — Texte » */
.eyebrow {
  display: block;
  margin: 0 0 1rem;
  font-family: var(--f-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-ochre-text);
}
.section--dark .eyebrow,
.section--petrol .eyebrow,
.hero .eyebrow { color: var(--c-ochre-light); }

.lead { font-size: 1.0625rem; }
.center { text-align: center; }
.section-head { max-width: 900px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-bottom: 0; }

.split-head {
  display: grid;
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.split-head h2 { margin-bottom: 0; }
.split-head p { margin: 0; max-width: 430px; }
@media (min-width: 900px) {
  .split-head { grid-template-columns: 1.1fr 1fr; }
  .split-head > :last-child { justify-self: end; }
}

/* ---------- Boutons et liens d’action ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 46px;
  padding: 0.7rem 1.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 0.975rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 1em; height: 1em; flex: none; }
.btn--ochre { background: var(--c-ochre); color: var(--c-dark); }
.btn--ochre:hover { background: var(--c-ochre-hover); }
.btn--square { border-radius: 4px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-dark);
  text-decoration: none;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Bandeau supérieur ---------- */
.topbar {
  background: var(--c-dark);
  color: var(--c-white);
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 0.8125rem;
  text-align: center;
  padding: 0.45rem var(--gutter);
}
.topbar p { margin: 0; display: inline-flex; align-items: center; gap: 0.5em; }
.topbar svg { width: 15px; height: 15px; color: var(--c-ochre); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  box-shadow: 0 1px 0 var(--c-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
  max-width: calc(1180px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.logo { flex: none; display: block; }
.logo img { width: 150px; height: auto; }

.main-nav { margin-inline: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; }
.main-nav li { display: flex; align-items: center; }
.main-nav li + li::before {
  content: "";
  width: 2px; height: 16px;
  margin-inline: 0.6rem;
  background: var(--c-ochre);
  opacity: 0.8;
}
.main-nav a {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-dark);
  text-decoration: none;
  padding: 0.3rem 0;
}
.main-nav a:hover { color: var(--c-ochre-text); }
.main-nav a[aria-current="page"] { color: var(--c-ochre); }
.main-nav .nav-contact { display: none; }

.header-actions { display: flex; align-items: center; gap: 1.25rem; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-ochre-text);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--c-ochre); }
.header-phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-petrol);
  cursor: pointer;
}
.nav-toggle svg { width: 30px; height: 30px; margin: auto; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1080px) {
  .main-nav li + li::before { margin-inline: 0.4rem; }
  .main-nav a { font-size: 0.9rem; }
  .logo img { width: 130px; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; position: relative; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .header-inner { position: relative; z-index: 2; background: var(--c-white); }

  /* Menu plein écran : un cercle qui s’ouvre depuis le bouton */
  .main-nav {
    --mx: calc(100% - 40px);
    --my: 32px;
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: calc(var(--nav-top, var(--header-h)) + 1.25rem) var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
    background: var(--c-dark);
    overflow-y: auto;
    visibility: hidden;
    clip-path: circle(0 at var(--mx) var(--my));
    transition: clip-path 0.5s cubic-bezier(0.7, 0, 0.3, 1), visibility 0s linear 0.5s;
  }
  .nav-open .main-nav {
    visibility: visible;
    clip-path: circle(160vmax at var(--mx) var(--my));
    transition: clip-path 0.65s cubic-bezier(0.7, 0, 0.3, 1), visibility 0s;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav li + li::before { display: none; }
  .main-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-open .main-nav li {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .nav-open .main-nav li:nth-child(1) { transition-delay: 0.18s; }
  .nav-open .main-nav li:nth-child(2) { transition-delay: 0.22s; }
  .nav-open .main-nav li:nth-child(3) { transition-delay: 0.26s; }
  .nav-open .main-nav li:nth-child(4) { transition-delay: 0.30s; }
  .nav-open .main-nav li:nth-child(5) { transition-delay: 0.34s; }
  .nav-open .main-nav li:nth-child(6) { transition-delay: 0.38s; }
  .nav-open .main-nav li:nth-child(7) { transition-delay: 0.42s; }
  .logo, .header-actions { position: relative; z-index: 2; }
  .logo-white { display: none; }
  .nav-open .logo-dark { display: none; }
  .nav-open .logo-white { display: block; }
  .nav-open .nav-toggle { color: var(--c-white); }
  .nav-open .header-phone { color: var(--c-ochre-light); }
  .nav-open .header-phone svg { color: var(--c-ochre-light); }
  .main-nav li a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    font-family: var(--f-serif);
    font-size: clamp(1.6rem, 6vw, 2.1rem);
    font-weight: 700;
    color: var(--c-white);
  }
  .main-nav li a::after {
    content: "";
    width: 10px; height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.5;
  }
  .main-nav li a:hover,
  .main-nav li a[aria-current="page"] { color: var(--c-ochre-light); }
  .main-nav .nav-contact { display: flex; }

  .nav-extra {
    display: grid;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 2rem;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .nav-open .nav-extra { opacity: 1; transition: opacity 0.4s ease 0.5s; }
  .nav-extra .btn { width: 100%; min-height: 52px; font-size: 1rem; }
  .nav-extra .status { justify-content: center; color: #cbd8d6; }

  html.menu-locked { overflow: hidden; }
}
@media (min-width: 961px) {
  .nav-extra { display: none; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .main-nav, .nav-open .main-nav { clip-path: none; transition: visibility 0s; }
}

@media (max-width: 420px) {
  .logo img { width: 112px; }
  .header-phone { font-size: 0.9rem; gap: 0.4rem; }
  .header-actions { gap: 0.5rem; }
}

/* ---------- Héros ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--c-white);
  background: var(--c-dark);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 31, 33, 0.82) 0%, rgba(8, 31, 33, 0.55) 55%, rgba(8, 31, 33, 0.35) 100%);
}
.hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero h1 { color: var(--c-white); max-width: 18ch; margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--c-ochre-light); }
.hero__text { font-size: clamp(1rem, 0.4vw + 0.95rem, 1.2rem); max-width: 560px; margin-bottom: 2rem; color: #f1f4f3; }

.hero-card {
  justify-self: end;
  width: 100%;
  max-width: 330px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-m);
  background: rgba(8, 47, 49, 0.72);
  backdrop-filter: blur(6px);
}
.hero-card__title {
  margin: 0 0 1.1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-ochre-light);
}
.hero-card ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.hero-card li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.hero-card li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-ochre-light);
  font-size: 0.85rem;
}
.hero-card__stat {
  margin: 1.25rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  color: #d6e0df;
}
.hero-card__stat strong {
  display: block;
  font-family: var(--f-serif);
  font-size: 1.5rem;
  color: var(--c-white);
  margin-bottom: 0.15rem;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.55fr 1fr; min-height: 600px; }
}
@media (max-width: 899px) {
  .hero-card { justify-self: stretch; max-width: none; }
}

/* ---------- Bande de réassurance ---------- */
.trustbar { background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.trustbar ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trustbar li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.35;
}
.trustbar li + li { border-left: 1px solid var(--c-line); }
.trustbar svg { width: 24px; height: 24px; color: var(--c-ochre); flex: none; }
.trustbar strong { display: block; font-size: 0.9375rem; color: var(--c-dark); }
@media (max-width: 760px) {
  .trustbar ul { grid-template-columns: 1fr 1fr; }
  .trustbar li { flex-direction: column; align-items: center; text-align: center; padding: 1rem 0.75rem; }
  .trustbar li:nth-child(3) { border-left: 0; }
  .trustbar li:nth-child(n + 3) { border-top: 1px solid var(--c-line); }
}

/* ---------- En bref (passage réponse pour les moteurs et les IA) ---------- */
.summary {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  border-left: 4px solid var(--c-ochre);
  background: var(--c-white);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  box-shadow: var(--shadow-card);
}
.summary h2 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.summary p { margin: 0; font-size: 1.0625rem; color: var(--c-dark); }
.section--summary { padding-block: clamp(2.5rem, 5vw, 3.5rem) 0; background: var(--c-light); }

/* ---------- Problème / promesses ---------- */
.problem {
  display: grid;
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.problem h2 { margin: 0; }
.problem p { margin-bottom: 1.5rem; }
@media (min-width: 900px) { .problem { grid-template-columns: 1.1fr 1fr; } }

.cards-3 { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  padding: 1.75rem 1.4rem 2.5rem;
  background: var(--c-white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
}
.card__num {
  display: block;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--c-ochre-text);
}
.card h3 { margin-bottom: 0.8rem; }
.card p { margin: 0; font-size: 0.9375rem; }

/* ---------- Méthode ---------- */
.method { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .method { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; } }

.method__media {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  min-height: 340px;
}
.method__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.method__note {
  position: absolute;
  left: 0.6rem; right: 0.6rem; bottom: 0.6rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-s);
  background: rgba(8, 47, 49, 0.88);
  color: #dfe8e7;
  font-size: 0.875rem;
}
.method__note strong { display: block; font-family: var(--f-serif); font-size: 1.1rem; color: var(--c-white); margin-bottom: 0.15rem; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0 1rem;
  padding: 0.7rem 0 0.85rem;
  border-bottom: 1px solid var(--c-line);
}
.steps li::before {
  content: "0" counter(steps);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c-petrol);
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.8125rem;
}
.steps h3 { font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); margin: 0; }
.steps p { margin: 0; font-size: 0.9375rem; }

/* ---------- Services ---------- */
.services { display: grid; gap: 1.25rem; }
@media (min-width: 760px) {
  .services { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .service--tall { grid-row: span 2; }
}
.service {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 1.5rem;
  border-radius: var(--radius-m);
  overflow: hidden;
  color: #eef3f2;
  background: var(--c-dark);
}
.service--tall { min-height: 460px; }
.service img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.service::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 31, 33, 0.05) 25%, rgba(8, 31, 33, 0.85) 100%);
}
.service h3 { color: var(--c-white); margin-bottom: 0.4rem; }
.service h3 a { text-decoration: none; }
.service h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.service p { font-size: 0.9375rem; margin-bottom: 1rem; }
.service .link-arrow { color: var(--c-ochre-light); }
.service--ochre { background: var(--c-ochre); color: var(--c-dark); }
.service--ochre::before { display: none; }
.service--ochre h3 { color: var(--c-dark); }
.service--ochre .link-arrow { color: var(--c-dark); }
.tag {
  align-self: flex-start;
  margin-bottom: 0.6rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 47, 49, 0.55);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c-white);
}
.service--ochre .tag { background: rgba(255, 255, 255, 0.35); border-color: transparent; color: var(--c-dark); }

.service-links { margin-top: 2rem; }
.service-links p { font-family: var(--f-ui); font-weight: 700; color: var(--c-dark); margin-bottom: 0.75rem; }
.service-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.service-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  background: var(--c-light);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-dark);
  text-decoration: none;
}
.service-links a:hover { border-color: var(--c-ochre); background: var(--c-white); }

/* ---------- Cas clients ---------- */
.cases { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case {
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1.5rem;
  background: var(--c-white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
}
.case img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-s); margin-bottom: 1.25rem; }
.case h3 { margin-bottom: 0.9rem; }
.case__subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-ochre-text);
  line-height: 1.45;
}
.case p { font-size: 0.9375rem; }
.case .link-arrow { margin-top: auto; }

/* ---------- Témoignages ---------- */
.testimonials { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .testimonials { grid-template-columns: 0.8fr 1.2fr; gap: 3rem; } }
.carousel {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem) 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.07);
}
.carousel__track { display: grid; }
.quote {
  grid-area: 1 / 1;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.quote.is-active { visibility: visible; opacity: 1; }
.quote::before {
  content: "\201C";
  display: block;
  height: 2.6rem;
  font-family: var(--f-serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--c-ochre);
}
.quote blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--f-serif);
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem);
  line-height: 1.45;
  color: var(--c-white);
}
.quote figcaption { font-size: 0.8125rem; color: #cbd8d6; }
.quote figcaption strong { display: block; font-size: 0.9375rem; color: var(--c-white); }
.carousel__btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--c-dark);
  color: var(--c-white);
  cursor: pointer;
}
.carousel__btn svg { width: 16px; height: 16px; }
.carousel__btn--prev { left: 0.75rem; }
.carousel__btn--next { right: 0.75rem; }
.carousel__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.carousel__dots button {
  width: 10px; height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}
.carousel__dots button[aria-current="true"] { background: var(--c-ochre); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 2rem 4rem; align-items: start; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 1fr 1fr; } }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0.25rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  flex: none;
  width: 1rem;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--c-dark);
}
.faq details[open] summary::before { content: "\2212"; }
.faq h3 { font-size: 1rem; margin: 0; line-height: 1.4; }
.faq details > div { padding: 0 0.25rem 1rem 2rem; font-size: 0.9375rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Bloc contact ---------- */
.contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; } }
.contact h2 { color: var(--c-white); }
.contact-list { list-style: none; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list .icon {
  display: grid; place-items: center; flex: none;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--c-white);
}
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: #b9cccb; }
.contact-list a, .contact-list strong { font-weight: 700; font-size: 1.1rem; color: var(--c-white); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list .zone { font-size: 0.95rem; }

/* Statut d’ouverture (affichage dynamique) */
.status {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d6e3e2;
}
.status::before {
  content: "";
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: #9fb3b1;
  transform: translateY(-1px);
}
.is-open .status::before { background: #4fd18b; }
.is-closed .status::before { background: var(--c-ochre); }

/* Éléments visibles selon les horaires : par défaut (sans JS) tout est visible */
.is-open .only-closed,
.is-closed .only-open { display: none !important; }

/* ---------- Formulaires ---------- */
.form-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--c-white);
  border-radius: var(--radius-l);
  color: var(--c-text);
}
.form-note {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-m);
  background: var(--c-cream);
  font-size: 0.8125rem;
}
.form-note svg { width: 22px; height: 22px; flex: none; color: var(--c-dark); }
.form-note strong { display: block; font-size: 0.9375rem; color: var(--c-dark); }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-dark);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d9dcdb;
  border-radius: var(--radius-s);
  background: #fafafa;
  font-size: 1rem;
  color: var(--c-dark);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #727b79; }
.field input:focus,
.field textarea:focus { outline: 3px solid rgba(205, 141, 60, 0.45); outline-offset: 0; border-color: var(--c-ochre); background: var(--c-white); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { display: block; margin-top: 0.3rem; font-size: 0.8125rem; font-weight: 600; color: #b3261e; }
.field-error:empty { display: none; }
.field--check { display: flex; gap: 0.75rem; align-items: flex-start; }
.field--check input { width: 18px; height: 18px; margin-top: 0.15rem; flex: none; accent-color: var(--c-petrol); }
.field--check label { font-weight: 500; font-size: 0.875rem; color: var(--c-text); margin: 0; }
.field--check a { color: var(--c-dark); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0.75rem 0 0; font-size: 0.875rem; font-weight: 600; }
.form-status:empty { display: none; }
.recaptcha-note { margin: 0.75rem 0 0; font-size: 0.75rem; color: #727b79; }
.recaptcha-note a { color: inherit; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--c-footer); color: #d3dfde; font-size: 0.875rem; }
.footer-grid {
  display: grid;
  gap: 2.5rem 2rem;
  padding-block: 3rem 2.5rem;
  max-width: calc(1200px + 2 * var(--gutter));
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1.2fr 0.9fr 1fr; } }
.footer-title {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  min-width: 140px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--c-white);
}
.footer-list { list-style: none; display: grid; gap: 0.2rem; margin-bottom: 1.75rem; }
.footer-list a { color: #e6eeed; text-decoration: none; font-family: var(--f-ui); font-weight: 600; }
.footer-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-list li { font-family: var(--f-ui); font-weight: 600; color: #e6eeed; }
.socials { list-style: none; display: flex; gap: 0.6rem; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; color: var(--c-white); border-radius: 50%; }
.socials a:hover { background: rgba(255, 255, 255, 0.1); }
.socials svg { width: 18px; height: 18px; }
.footer-contact img { width: 120px; margin-bottom: 1rem; }
.footer-contact a { color: var(--c-white); font-weight: 700; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-contact p { margin-bottom: 0.6rem; }
.footer-contact address { font-style: normal; font-family: var(--f-ui); font-weight: 600; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.1rem;
  text-align: center;
  font-size: 0.8125rem;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0; }
.footer-bottom li { display: flex; align-items: center; }
.footer-bottom li + li::before { content: "|"; margin-inline: 0.6rem; opacity: 0.6; }
.footer-bottom a, .footer-bottom button { color: #e6eeed; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.footer-bottom a:hover, .footer-bottom button:hover { text-decoration: underline; }

/* ---------- Barre d’action mobile (affichage dynamique) ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 0.6rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -6px 20px rgba(8, 47, 49, 0.15);
}
.mobile-cta .btn { flex: 1; }
.mobile-cta__hint { display: block; font-size: 0.75rem; font-weight: 600; text-align: center; color: var(--c-text); margin-top: 0.3rem; width: 100%; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; flex-wrap: wrap; }
  body { padding-bottom: 92px; }
  .consent-tab { bottom: 100px; }
}

/* ---------- Bandeau cookies ---------- */
.consent {
  position: fixed;
  right: 1rem; bottom: 1rem;
  z-index: 150;
  width: min(420px, calc(100% - 2rem));
  padding: 1.5rem;
  background: var(--c-white);
  border-radius: var(--radius-m);
  box-shadow: 0 20px 50px rgba(8, 47, 49, 0.3);
  font-size: 0.875rem;
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.consent p { margin-bottom: 1rem; }
.consent fieldset { border: 0; margin: 0 0 1rem; padding: 0; }
.consent legend { font-weight: 700; color: var(--c-dark); margin-bottom: 0.4rem; }
.consent-option {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--c-line);
}
.consent-option label { font-weight: 600; color: var(--c-dark); }
.consent-option small { display: block; font-weight: 400; color: var(--c-text); }
.consent-option input { width: 18px; height: 18px; accent-color: var(--c-petrol); flex: none; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent-actions .btn { flex: 1 1 auto; min-height: 42px; padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn--outline { background: var(--c-white); color: var(--c-dark); border: 1px solid var(--c-dark); }
.btn--outline:hover { background: var(--c-cream); }
.btn--link { background: none; color: var(--c-dark); text-decoration: underline; padding-inline: 0.5rem; }
.consent a { color: var(--c-dark); }
.consent-tab {
  position: fixed;
  right: 1rem; bottom: 1rem;
  z-index: 80;
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--c-white);
  box-shadow: 0 6px 20px rgba(8, 47, 49, 0.2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-dark);
  cursor: pointer;
}
.consent-tab[hidden] { display: none; }

/* ---------- Animations ---------- */
/* Apparition au défilement : activée par main.js seulement si le visiteur n’a pas réduit les animations */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * { animation: rise 0.7s ease both; }
  .hero__inner > :nth-child(2) { animation-delay: 0.15s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Badge reCAPTCHA masqué : la mention obligatoire figure sous chaque formulaire */
.grecaptcha-badge { visibility: hidden !important; }

@media (max-width: 760px) {
  .consent-tab { bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* =========================================================
   Pages intérieures (landings, services, contact, recrutement)
   ========================================================= */
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.hero__call {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: var(--c-white); text-decoration: none; font-weight: 700;
}
.hero__call svg { width: 20px; height: 20px; color: var(--c-ochre-light); flex: none; }
.hero__call small { display: block; font-weight: 500; font-size: 0.8rem; color: #d6e0df; }
.hero__call:hover span { text-decoration: underline; text-underline-offset: 4px; }
.hero__status { color: #e6eeed; }
.btn--ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.hero .btn--ghost { color: var(--c-white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.section--petrol .btn--ghost, .section--dark .btn--ghost { color: var(--c-white); }
.hero__inner--solo > div { max-width: 760px; }
@media (min-width: 900px) { .hero__inner--solo { grid-template-columns: 1fr; min-height: 520px; } }
.hero-card__big { font-family: var(--f-serif); font-weight: 700; font-size: 1.35rem; line-height: 1.25; color: var(--c-white); margin: 0 0 0.75rem; }
.hero-card li small { font-weight: 500; color: #cbd8d6; }

.breadcrumb { margin-bottom: 1.25rem; font-size: 0.8125rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0; padding: 0; }
.breadcrumb li { color: #d6e0df; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.35rem; opacity: 0.7; }
.breadcrumb a { color: var(--c-white); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.card--plain h3 { font-size: 1.25rem; }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.problem--top { align-items: start; }

.feature-grid { list-style: none; display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius-m); overflow: hidden; }
.feature-grid li { background: var(--c-white); padding: 1.5rem; }
.feature-grid h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.feature-grid p { margin: 0; font-size: 0.9375rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.offers { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .offers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-light); }
.offer h3 { margin-bottom: 0.6rem; }
.offer p { font-size: 0.9375rem; }
.offer__links { display: grid; gap: 0.4rem; margin-top: auto; padding-top: 1rem; }
.tag--light { background: var(--c-cream); border-color: transparent; color: var(--c-ochre-text); }
.checklist { list-style: none; display: grid; gap: 0.45rem; margin: 0 0 0.5rem; font-size: 0.9375rem; }
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.45em;
  width: 0.45rem; height: 0.8rem;
  border-right: 2.5px solid var(--c-ochre); border-bottom: 2.5px solid var(--c-ochre);
  transform: rotate(40deg);
}
.adapt { display: grid; gap: 1.25rem; max-width: 900px; margin-inline: auto; }
@media (min-width: 760px) { .adapt { grid-template-columns: 1fr 1fr; } }

.timeline { list-style: none; display: grid; gap: 1.25rem; margin: 0; padding: 0; counter-reset: tl; }
@media (min-width: 760px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline li { counter-increment: tl; padding-top: 1.25rem; border-top: 3px solid var(--c-ochre); }
.timeline li::before { content: "0" counter(tl); display: block; font-weight: 700; font-size: 0.875rem; color: var(--c-ochre-text); margin-bottom: 0.4rem; }
.timeline h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.timeline p { margin: 0; font-size: 0.9375rem; }

/* Note Google */
.google-badge {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.1rem 0.75rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-m);
  color: var(--c-white);
  text-decoration: none;
}
.google-badge:hover { background: rgba(255, 255, 255, 0.06); }
.google-badge__note { grid-row: span 2; font-family: var(--f-serif); font-weight: 700; font-size: 2rem; line-height: 1; }
.google-badge__note small { font-size: 0.9rem; opacity: 0.7; }
.google-badge__stars { color: #f4b740; letter-spacing: 0.1em; font-size: 1rem; line-height: 1; }
.google-badge__text { font-size: 0.85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.carousel--single { padding-inline: clamp(1.5rem, 4vw, 3rem); }
.carousel--single .quote { visibility: visible; opacity: 1; }

/* Contact */
.recruit-note { margin-top: 2rem; padding: 1.25rem; border-radius: var(--radius-m); background: rgba(255, 255, 255, 0.08); }
.recruit-note p { margin-bottom: 0.9rem; }

/* Formulaire candidats */
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-hint { display: block; margin-top: 0.3rem; font-size: 0.8rem; color: #6a7472; }
.field input[type="file"] { padding: 0.55rem; background: var(--c-white); }
/* Recrutement : pas de barre « Appeler » pour les candidats */
.page-recrutement .mobile-cta { display: none !important; }
@media (max-width: 760px) { .page-recrutement { padding-bottom: 0; } .page-recrutement .consent-tab { bottom: 1rem; } }

/* Logo blanc : visible uniquement dans le menu mobile ouvert */
.logo-white { display: none; }
@media (max-width: 960px) {
  .nav-open .logo-dark { display: none; }
  .nav-open .logo-white { display: block; }
}

/* Haut de page en deux colonnes (pages intérieures) */
.hero-split { padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero-split--light { background: var(--c-light); }
.hero-split--dark { background: var(--c-dark); color: #dfe8e7; }
.hero-split--dark h1 { color: var(--c-white); }
.hero-split--dark .eyebrow { color: var(--c-ochre-light); }
.hero-split h1 .accent { color: var(--c-ochre-text); }
.hero-split--dark h1 .accent { color: var(--c-ochre-light); }
.hero-split__inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-split__inner { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }
.hero-split__text { font-size: 1.0625rem; max-width: 560px; margin-bottom: 2rem; }
.hero-split .breadcrumb li { color: var(--c-text); }
.hero-split .breadcrumb a { color: var(--c-dark); }
.hero-split--dark .breadcrumb li { color: #c9d6d4; }
.hero-split--dark .breadcrumb a { color: var(--c-white); }
.hero-split--light .btn--ghost { color: var(--c-dark); }
.hero-split--dark .btn--ghost { color: var(--c-white); }
.hero-split--light .hero__call { color: var(--c-dark); }
.hero-split--light .hero__call small { color: var(--c-text); }
.hero-split--light .hero__call svg { color: var(--c-ochre); }
.hero-split--light .hero__status { color: var(--c-text); }
.hero-media { position: relative; margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3.6; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media__note {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; margin: 0;
  padding: 1rem 1.25rem; border-radius: var(--radius-m);
  background: rgba(8, 47, 49, 0.85); color: var(--c-white);
  font-family: var(--f-serif); font-weight: 700; font-size: 1.15rem; line-height: 1.3;
}
.hero-media__note span { display: block; margin-bottom: 0.2rem; font-family: var(--f-sans); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-ochre-light); }
.hero-split .hero-card { justify-self: stretch; max-width: 420px; justify-self: end; }
.hero-split--light .hero-card { background: var(--c-dark); }
@media (prefers-reduced-motion: no-preference) {
  .hero-split__inner > * { animation: rise 0.7s ease both; }
  .hero-split__inner > :nth-child(2) { animation-delay: 0.15s; }
}

/* Citation mise en avant */
.pull { margin: 1.5rem 0 0; padding: 1.25rem 1.5rem; border-left: 4px solid var(--c-ochre); background: var(--c-cream); font-family: var(--f-serif); font-weight: 700; color: var(--c-dark); line-height: 1.5; }
.section--cream .pull { background: var(--c-white); }

/* Grand encadré d’appel en fin de page */
.cta-band { padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta-band__box { display: grid; gap: 1.5rem 3rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-l); background: var(--c-dark); color: #dfe8e7; }
.cta-band__box h2 { color: var(--c-white); margin: 0; }
.cta-band__box .eyebrow { color: var(--c-ochre-light); }
@media (min-width: 900px) { .cta-band__box { grid-template-columns: 1.3fr 1fr; } }

/* Étapes sur fond sombre (services) */
.section--dark .timeline li { border-top-color: var(--c-ochre); }
.section--dark .timeline li::before { color: var(--c-ochre-light); }
.section--dark .timeline h3 { color: var(--c-white); }
.hero-media__note small { display: block; margin-top: 0.3rem; font-family: var(--f-sans); font-weight: 500; font-size: 0.85rem; color: #d6e0df; }
.hero-contact { display: flex; gap: 0.9rem; align-items: center; padding: 0.7rem 0; color: var(--c-white); text-decoration: none; font-weight: 700; }
.hero-contact + .hero-contact { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.hero-contact svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--c-ochre-light); flex: none; }
.hero-contact small { display: block; font-weight: 500; font-size: 0.8rem; color: #cbd8d6; }
.hero-contact:hover span { text-decoration: underline; text-underline-offset: 3px; }
.hero-card--contact .status { display: flex; }

/* Chiffres clés */
.stats { background: var(--c-white); border-block: 1px solid var(--c-line); }
.stats dl { display: grid; grid-template-columns: repeat(2, 1fr); margin-block: 0; }
@media (min-width: 760px) { .stats dl { grid-template-columns: repeat(4, 1fr); } }
.stats div { padding: 1rem 1.25rem; }
.stats div + div { border-left: 1px solid var(--c-line); }
@media (max-width: 759px) { .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--c-line); } }
.stats dt { font-family: var(--f-serif); font-weight: 700; font-size: 1.4rem; color: var(--c-dark); }
.stats dd { margin: 0; font-size: 0.85rem; }
.section--flush-top { padding-top: 0; }
.h3 { font-size: clamp(1.3rem, 0.6vw + 1.05rem, 1.6rem); line-height: 1.18; }
.confirm-contact { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.confirm-contact__item { display: flex; gap: 0.9rem; align-items: center; padding: 0.8rem 1.25rem 0.8rem 0.8rem; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-white); color: var(--c-dark); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.confirm-contact__item svg { width: 48px; height: 48px; padding: 13px; border-radius: 14px; background: #e3eeed; color: var(--c-dark); flex: none; }
.confirm-contact__item small { display: block; font-weight: 500; font-size: 0.85rem; color: var(--c-text); }
.confirm-contact__item:hover { border-color: var(--c-ochre); }
.hero-split--confirm .hero-media { aspect-ratio: 4 / 3.4; }
.hero-split--confirm { padding-block: clamp(3rem, 8vw, 6.5rem); }
.wide-media { background: var(--c-dark); padding-bottom: 2.5rem; }
.hero-media--wide { aspect-ratio: 16 / 7; }
@media (max-width: 760px) { .hero-media--wide { aspect-ratio: 4 / 3; } }
.adapt--wide { max-width: none; }
.adapt .card h3 { margin-top: 0.25rem; }
.method > figure.hero-media { aspect-ratio: auto; min-height: 340px; }
.prose > :last-child { margin-bottom: 0; }
.prose ul { margin-bottom: 1em; }
.prose .pull { margin: 1.25rem 0; }
.quote-inline { font-style: italic; color: var(--c-dark); }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.figs figure { margin: 0; }
.figs img { border-radius: var(--radius-s); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.figs figcaption { font-size: 0.8rem; font-style: italic; margin-top: 0.3rem; }
.cta-band__box--long { align-items: start; }
.cta-band__box .prose a:not(.btn) { color: var(--c-white); }
.more-links { display: grid; gap: 1.5rem; }
.more-links .service-links { margin-top: 0; }
.hero-media:not(:has(.hero-media__note)) { aspect-ratio: 4 / 3; }
.legal__inner { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 2.5vw + 1rem, 2.75rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal__nav { font-size: 0.9rem; margin-bottom: 2rem; }
.legal__nav a, .legal .prose a { color: var(--c-dark); }
.job-list { list-style: none; display: grid; gap: 0.75rem; margin: 0; padding: 0; }
@media (min-width: 760px) { .job-list { grid-template-columns: 1fr 1fr; } }
.job-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-light); color: var(--c-dark); text-decoration: none; }
.job-list a:hover { border-color: var(--c-ochre); background: var(--c-white); }
.job-list span { font-size: 0.85rem; color: var(--c-ochre-text); font-weight: 700; flex: none; }

/* ---------- Ajustements après mise en ligne ---------- */
/* Pendant la saisie d’un formulaire (clavier ouvert sur mobile), la barre d’action fixe se retire */
body:has(form :is(input, textarea, select):focus) .mobile-cta { display: none !important; }
/* Pages de confirmation : pas de barre d’action, donc pas d’espace réservé en bas */
@media (max-width: 760px) { body[data-conversion] { padding-bottom: 0; } }
/* Barre d’action mobile différée (voir initMobileCta dans main.js) : masquée en haut de page,
   elle glisse depuis le bas dès que le visiteur fait défiler la page */
@media (max-width: 760px) {
  .cta-differee .mobile-cta { transition: transform 0.3s ease, visibility 0.3s; }
  .cta-differee .mobile-cta:not(.is-visible) { transform: translateY(100%); visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-differee .mobile-cta { transition: none; }
}
/* Bouton « discussion » (Crisp) intégré à la barre d’action mobile, à la place de la bulle Crisp */
.mobile-cta__chat {
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 46px;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--c-dark);
  color: #fff;
  cursor: pointer;
}
.mobile-cta__chat[hidden] { display: none; }
.mobile-cta__chat svg { width: 1.35rem; height: 1.35rem; }
.mobile-cta__chat:focus-visible { outline: 3px solid var(--c-dark); outline-offset: 3px; }
