/* SANIFRANCE — design system (mobile first) */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Couleurs */
  --ink: #15191f;
  --ink-2: #3d4550;
  --ink-3: #5a636f;
  --paper: #ffffff;
  --warm: #f7f5f0;
  --stone: #ece8df;
  --line: #d9d5ca;
  --red: #c2171c;
  --red-dark: #9e1115;
  --err: #a8201a;
  --ok: #1f6b4a;
  --focus: #1b4fd8;

  /* Typographie */
  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.625rem, 1.3rem + 1.5vw, 2.5rem);
  --fs-h1: clamp(2.125rem, 1.55rem + 2.9vw, 3.625rem);

  /* Espacements */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: clamp(3.5rem, 2.5rem + 4.5vw, 6.5rem);

  --radius: 6px;
  --gutter: 16px;
  --tap: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.55;
  padding-bottom: 72px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 650; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.section { padding-block: var(--s8); }
.section--warm { background: var(--warm); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink a:hover { color: #fff; }
.eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: var(--s3);
}
.section--ink .eyebrow { color: #b6bcc5; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.45; }
.section--ink .lead { color: #d7dbe1; }
.section-head { max-width: 720px; margin-bottom: var(--s6); }
.section-head .lead { margin-top: var(--s3); }
.note { font-size: var(--fs-sm); color: var(--ink-3); }
.section--ink .note { color: #b6bcc5; }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--stone); color: var(--ink); }
.btn--text { background: none; border: 0; padding-inline: 0; color: var(--ink-2); text-decoration: underline; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 64px;
}
.logo img { height: 30px; width: auto; }
.main-nav { display: none; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.header-tel { display: none; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-actions .btn { min-height: 44px; padding: 0.4rem 1rem; }

/* Menu mobile */
.menu { position: relative; }
.menu summary { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--s2); font-weight: 600; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: var(--s2); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -24px rgba(21, 25, 31, 0.5); }
.menu nav a { display: flex; align-items: center; min-height: 44px; padding-inline: var(--s3); text-decoration: none; font-weight: 500; }
@media (max-width: 479px) { .header-actions .btn { display: none; } }
@media (min-width: 1040px) { .menu { display: none; } }

/* Hero */
.hero { padding-block: var(--s6) var(--s7); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "form" "media"; gap: var(--s5); }
.hero-text { grid-area: text; }
.hero-form { grid-area: form; }
.hero-media { grid-area: media; }
.hero h1 { margin-bottom: var(--s4); }
.hero-media img, .media-img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-img--wide { aspect-ratio: 16 / 9; margin-bottom: var(--s3); }
.caption { font-size: 0.8125rem; color: var(--ink-3); margin-top: var(--s2); }

/* Formulaire */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5) var(--s4);
  box-shadow: 0 18px 40px -28px rgba(21, 25, 31, 0.45);
}
.form-title { font-size: 1.3125rem; margin-bottom: var(--s1); }
.progress { margin: var(--s3) 0 var(--s4); }
.progress-label { font-size: var(--fs-sm); color: var(--ink-3); }
.progress-track { height: 3px; background: var(--stone); margin-top: var(--s2); border-radius: 2px; overflow: hidden; }
.progress-bar { height: 100%; width: 25%; background: var(--ink); transition: width 0.2s ease; }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step[hidden] { display: none; }
.form-step legend { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.01em; padding: 0; margin-bottom: var(--s3); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.choices--list { grid-template-columns: 1fr; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.2;
  background: #fff;
}
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.field { margin-bottom: var(--s4); }
.field label, .field .label { display: block; font-weight: 600; font-size: 0.97rem; margin-bottom: var(--s1); }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field select, .field textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 0.6rem 0.75rem;
  border: 1px solid #a9a598;
  border-radius: var(--radius);
  font: inherit;
  color: inherit;
  background: #fff;
}
.field textarea { min-height: 96px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--err); }
.error { display: none; color: var(--err); font-size: var(--fs-sm); margin-top: var(--s1); font-weight: 500; }
.error.is-visible { display: block; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 var(--s3); }
.input-suffix { position: relative; }
.input-suffix em { position: absolute; right: 0.8rem; top: 0.72rem; font-style: normal; color: var(--ink-3); }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-top: var(--s4); }
.form-nav .btn--primary { margin-left: auto; }
.form-legal { font-size: 0.8125rem; color: var(--ink-3); margin-top: var(--s3); line-height: 1.4; }
.hp { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.form-done[hidden] { display: none; }
.form-done h3 { font-size: 1.3125rem; margin-bottom: var(--s2); }
.form-done p + p { margin-top: var(--s3); }

/* Tableaux */
.t { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.t caption { text-align: left; font-size: var(--fs-sm); color: var(--ink-3); padding-bottom: var(--s3); }
.t th { text-align: left; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-3); }
.t th, .t td { padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.t td a { font-weight: 600; }
@media (max-width: 719px) {
  .t, .t tbody, .t tr, .t td { display: block; width: 100%; }
  .t thead { position: absolute; left: -9999px; }
  .t tr { padding-block: var(--s3); border-bottom: 1px solid var(--line); }
  .t td { border: 0; padding: var(--s1) 0; }
  .t td::before { content: attr(data-label); display: block; font-size: 0.8125rem; color: var(--ink-3); }
}

/* Listes de services */
.services { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.service {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.service h3 { display: flex; justify-content: space-between; gap: var(--s3); }
.service h3::after { content: "→"; font-weight: 400; color: var(--ink-3); }
.service:hover h3 { color: var(--red); }
.service p { color: var(--ink-2); font-size: 0.98rem; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid #454d59; padding-top: var(--s4); }
.steps li::before { content: counter(s); display: block; font-size: var(--fs-sm); color: #b6bcc5; margin-bottom: var(--s2); }
.steps p { color: #d7dbe1; margin-top: var(--s2); font-size: 0.98rem; }

/* Grilles */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.col h3 { margin-bottom: var(--s2); }
.col p { color: var(--ink-2); font-size: 0.98rem; }
.limits { background: var(--warm); border-left: 3px solid var(--ink); padding: var(--s4) var(--s4); margin-top: var(--s6); }
.limits h3 { margin-bottom: var(--s2); }

/* Preuves */
.proof { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.proof > div { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.proof dt { font-weight: 600; }
.proof dd { margin: var(--s1) 0 0; color: var(--ink-2); font-size: 0.98rem; }

/* Audiences */
.audience { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
.audience h3 { font-size: 1.5rem; margin-bottom: var(--s3); letter-spacing: -0.02em; }
.audience ul { margin: var(--s3) 0 var(--s4); padding-left: 1.1rem; color: var(--ink-2); }
.audience li { margin-bottom: var(--s1); }

/* Zones */
.zones { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.zones h3 { margin-bottom: var(--s2); }
.zones p { color: var(--ink-2); font-size: 0.98rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { padding: var(--s4) 2rem var(--s4) 0; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: var(--s4); font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding-bottom: var(--s4); color: var(--ink-2); }

/* Contenu éditorial (pages piliers) */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.45rem, 1.25rem + 0.9vw, 1.9rem); margin: var(--s7) 0 var(--s3); }
.prose h3 { margin: var(--s5) 0 var(--s2); }
.prose p { margin-bottom: var(--s4); color: var(--ink-2); }
.prose ul, .prose ol { color: var(--ink-2); padding-left: 1.2rem; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.table-block { margin: var(--s4) 0 var(--s5); }
.essential { background: var(--warm); padding: var(--s5) var(--s4); border-radius: var(--radius); margin-bottom: var(--s6); }
.essential h2 { font-size: 1.25rem; margin: 0 0 var(--s3); letter-spacing: -0.01em; }
.essential ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); }
.essential li { margin-bottom: var(--s2); }
.breadcrumb { font-size: var(--fs-sm); color: var(--ink-3); padding-top: var(--s4); }
.breadcrumb a { color: inherit; }
.page-head { padding-block: var(--s4) var(--s6); }
.page-head h1 { margin-block: var(--s3); font-size: clamp(2rem, 1.6rem + 2vw, 3rem); }
.sources { font-size: var(--fs-sm); color: var(--ink-3); }
.sources li { margin-bottom: var(--s2); overflow-wrap: anywhere; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
.aside-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: var(--s5) var(--s4); }
.aside-card h2 { font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: var(--s2); }
.aside-card p { color: #d7dbe1; font-size: 0.98rem; margin-bottom: var(--s4); }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: var(--s2); }

/* Pied de page */
.site-footer { background: var(--ink); color: #d7dbe1; padding-block: var(--s7) var(--s6); font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; color: #fff; margin-bottom: var(--s2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s1); }
.legal-line { border-top: 1px solid #454d59; margin-top: var(--s5); padding-top: var(--s4); font-size: 0.8125rem; color: #b6bcc5; }

/* Barre d'action mobile */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
  padding: var(--s2) var(--gutter) calc(var(--s2) + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  transition: transform 0.2s ease;
}
.mobile-bar.is-hidden { transform: translateY(110%); }
.mobile-bar .btn { padding-inline: var(--s2); white-space: nowrap; }

@media (min-width: 480px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row--cp { grid-template-columns: 8rem 1fr; }
}

@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .cols { grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .grid-2, .audience, .zones { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; column-gap: var(--s6); }
  .proof { grid-template-columns: 1fr 1fr; column-gap: var(--s6); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .zones { grid-template-columns: repeat(3, 1fr); }
  .form-card { padding: var(--s5); }
  .choices--list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1040px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .main-nav { display: flex; gap: var(--s5); }
  .header-tel { display: inline; }
  .logo img { height: 34px; }
  .hero { padding-block: var(--s7) var(--s8); }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-areas: "text form" "media form"; grid-template-rows: auto 1fr; column-gap: var(--s7); row-gap: var(--s5); align-items: start; }
  .hero-form { position: sticky; top: 92px; }
  .page-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s7); align-items: start; }
  .aside-card { position: sticky; top: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.theme-mix {
  --red: #c8161d;
  --red-dark: #a01218;
  --navy: #0f202e;
  --soft: #f5f5f2;
  --line-soft: #e4e5e1;
  --radius-card: 18px;
  --radius-small: 12px;
  background: #fff;
}
.theme-mix h2 { font-weight: 800; letter-spacing: -0.03em; }
.theme-mix h2 em { display: block; font-style: normal; font-weight: 300; color: var(--red); letter-spacing: -0.02em; }
.theme-mix .eyebrow { color: var(--red); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.theme-mix .btn { border-radius: 999px; font-weight: 700; }
.theme-mix .section--soft { background: var(--soft); }
.theme-mix .section-head { margin-bottom: var(--s6); }
.theme-mix .section-head--center { margin-inline: auto; text-align: center; }

/* Bandeau utilitaire */
.mx-util { display: none; background: var(--soft); font-size: 0.84rem; color: var(--ink-2); }
.mx-util .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.mx-util nav { display: flex; gap: var(--s5); }
.mx-util a { text-decoration: none; }
.mx-rate { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; color: var(--ink); }
.mx-rate i { font-style: normal; color: #e0a100; }

/* En-tête */
.theme-mix .logo img { height: 19px; width: auto; }
.theme-mix .site-header { background: #fff; border-bottom-color: var(--line-soft); }
.theme-mix .header-tel { padding: 0.5rem 1rem; border: 1px solid var(--navy); border-radius: 999px; font-size: 0.95rem; }
.theme-mix .header-tel:hover { background: var(--navy); color: #fff; }

/* Haut de page */
.mx-hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--s6);
  color: #fff;
  background: radial-gradient(90% 130% at 20% 6%, #c2171c 0%, #8a1015 50%, #3b080c 100%);
}
.mx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "text" "form" "row" "checks" "subject";
  gap: var(--s5);
}
.mx-text { grid-area: text; }
.mx-row { grid-area: row; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.mx-subject { grid-area: subject; align-self: end; margin-top: calc(var(--s5) * -1); }
.mx-subject img { width: min(78%, 400px); margin-inline: auto; filter: drop-shadow(0 24px 30px rgba(30, 0, 0, 0.55)); }

.mx-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s4);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
}
.mx-badge i { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25); }
.mx-hero h1 { margin-bottom: var(--s4); font-size: clamp(2.25rem, 1.25rem + 4vw, 3.5rem); line-height: 1.03; letter-spacing: -0.035em; }
.mx-hero h1 b { display: block; font-weight: 800; }
.mx-hero h1 span { display: block; font-weight: 300; }
.mx-lead { max-width: 640px; font-size: var(--fs-lead); line-height: 1.45; color: #fbe9e9; }

.mx-capsule { display: none; align-items: center; gap: 2px; padding: 6px; border-radius: 999px; background: var(--navy); }
.mx-capsule > span { padding-inline: 0.85rem 0.5rem; font-size: 0.92rem; font-weight: 600; white-space: nowrap; }
.mx-capsule button {
  min-height: 42px;
  padding: 0.4rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.mx-capsule button:hover { background: rgba(255, 255, 255, 0.14); }
.mx-capsule button[aria-pressed="true"] { background: #fff; color: var(--red-dark); }

.mx-tel { width: 100%; background: transparent; white-space: nowrap; border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.mx-tel:hover { background: #fff; color: var(--red-dark); }
.mx-checks { grid-area: checks; display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; font-size: 0.97rem; font-weight: 600; }
.mx-checks li { display: flex; gap: var(--s2); }
.mx-checks li::before { content: "✓"; flex: none; font-weight: 800; }

.theme-mix .hero-form { position: static; }
.theme-mix .form-card {
  padding: var(--s5) var(--s4);
  border: 0;
  border-top: 5px solid var(--red);
  border-radius: var(--radius-card);
  color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(25, 0, 0, 0.6);
}
.theme-mix .form-card a { color: var(--ink); }
.theme-mix .choice span { border-radius: var(--radius-small); border-color: var(--line-soft); background: var(--soft); }
.theme-mix .choice input:checked + span { background: var(--navy); border-color: var(--navy); }
.theme-mix .field input[type="text"], .theme-mix .field input[type="tel"], .theme-mix .field input[type="email"], .theme-mix .field input[type="number"], .theme-mix .field select, .theme-mix .field textarea { border-radius: var(--radius-small); border-color: #c9ccc6; }
.theme-mix .progress-bar { background: var(--red); }
.mx-hero .note { margin-top: var(--s3); color: #f5d6d7; }

/* En bref */
.mx-brief { background: var(--soft); border-radius: var(--radius-card); padding: var(--s5) var(--s4); }
.mx-brief dl { margin: 0; }
.mx-brief dl > div { display: grid; gap: var(--s1); padding-block: var(--s3); border-top: 1px solid var(--line-soft); }
.mx-brief dt { font-weight: 800; }
.mx-brief dd { margin: 0; color: var(--ink-2); }

/* Nuisibles */
.mx-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.mx-tile {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding: var(--s4);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.mx-tile:hover { border-color: var(--red); color: inherit; transform: translateY(-2px); }
.mx-tile h3 { font-weight: 800; }
.mx-tile p { color: var(--ink-2); font-size: 0.92rem; line-height: 1.38; }
.mx-tile span { margin-top: auto; font-weight: 700; color: var(--red); }
.mx-tile--red { border-color: var(--red); background: var(--red); color: #fff; }
.mx-tile--red:hover { background: var(--red-dark); color: #fff; }
.mx-tile--red p, .mx-tile--red span { color: #fff; }

/* Particuliers et professionnels */
.mx-duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
.mx-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-card); background: var(--soft); }
.mx-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mx-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: var(--s5) var(--s4); }
.mx-card h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: var(--s2); }
.mx-card ul { margin: var(--s3) 0 var(--s4); padding-left: 1.1rem; color: var(--ink-2); }
.mx-card li { margin-bottom: var(--s1); }
.mx-card .btn { margin-top: auto; }
.theme-mix .btn--ghost { border-color: var(--navy); color: var(--navy); }
.theme-mix .btn--ghost:hover { background: var(--navy); color: #fff; }

/* Étapes */
.mx-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: center; }
.mx-split-img { width: 100%; border-radius: var(--radius-card); aspect-ratio: 4 / 3; object-fit: cover; }
.mx-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.mx-steps li { position: relative; padding: 0 0 var(--s5) 3.25rem; counter-increment: s; }
.mx-steps li:last-child { padding-bottom: 0; }
.mx-steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -0.15rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
}
.mx-steps h3 { font-weight: 800; }
.mx-steps p { margin-top: var(--s1); color: var(--ink-2); font-size: 0.98rem; }

/* Méthodes : cartes-photos */
.mx-photos { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.mx-photo { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: var(--s4); border-radius: var(--radius-card); color: #fff; isolation: isolate; }
.mx-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.mx-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 18, 26, 0.05) 25%, rgba(10, 18, 26, 0.92) 78%); }
.mx-photo small { font-size: 0.85rem; font-style: italic; color: #e6e9ec; }
.mx-photo h3 { margin-block: var(--s1); font-size: 1.3rem; font-weight: 800; }
.mx-photo p { font-size: 0.95rem; line-height: 1.4; color: #e6e9ec; }

.mx-limits { margin-top: var(--s4); padding: var(--s5) var(--s4); border-radius: var(--radius-card); background: var(--navy); color: #fff; }
.mx-limits h3 { margin-bottom: var(--s2); font-size: 1.25rem; font-weight: 800; }
.mx-limits p { color: #d8dee4; }

/* Preuves */
.theme-mix .proof > div { padding-block: var(--s3); }
.theme-mix .proof { display: block; border-top-color: var(--line-soft); }
.theme-mix .proof > div { border-bottom-color: var(--line-soft); }
.theme-mix .proof dt { font-weight: 800; }

/* Zones */
.mx-chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.mx-chips li { padding: 0.5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line-soft); font-weight: 600; font-size: 0.95rem; }
.mx-chips li.is-main { background: var(--red); border-color: var(--red); color: #fff; }

/* Questions */
.theme-mix .faq { display: grid; gap: var(--s2); }
.theme-mix .faq details, .theme-mix .faq details:first-child { border: 0; border-radius: var(--radius-small); background: var(--soft); padding-inline: var(--s4); }
.theme-mix .faq summary { padding-right: 2rem; font-weight: 700; }

/* Appel final */
.mx-final { padding: var(--s6) var(--s4); border-radius: var(--radius-card); color: #fff; text-align: center; background: radial-gradient(90% 150% at 50% 0%, #c2171c 0%, #7c0f14 60%, #3b080c 100%); }
.mx-final h2 { color: #fff; }
.mx-final p { margin: var(--s3) auto var(--s5); max-width: 560px; color: #fbe9e9; font-size: var(--fs-lead); line-height: 1.4; }
.mx-final .btn-row { justify-content: center; }
.mx-final .btn--light { color: var(--red-dark); }

/* Pied de page */
.theme-mix .site-footer { background: var(--navy); margin-top: var(--s7); }

/* Barre d'action */
.theme-mix .mobile-bar span { display: none; }
.theme-mix .mobile-bar .btn--ghost { background: var(--soft); border-color: var(--soft); color: var(--ink); }

@media (min-width: 480px) {
  .mx-tel { width: auto; }
}

@media (min-width: 720px) {
  .mx-util { display: block; }
  .mx-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mx-duo, .mx-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mx-brief { padding: var(--s6); }
  .mx-brief dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s6); }
  .mx-card-body { padding: var(--s5); }
  .mx-limits { padding: var(--s6); }
  .mx-final { padding: var(--s7) var(--s6); }
  .theme-mix .form-card { padding: var(--s5); }
  .mx-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .theme-mix .logo img { height: 22px; }
  .mx-hero { padding-top: var(--s6); }
  .mx-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) 400px;
    grid-template-areas: "text text form" "row row form" "checks subject form";
    grid-template-rows: auto auto 1fr;
    column-gap: var(--s5);
    row-gap: var(--s4);
  }
  .theme-mix .hero-form { padding-bottom: var(--s7); align-self: start; }
  .mx-capsule { display: inline-flex; }
  .mx-tel { display: inline-flex; }
  .mx-checks { grid-template-columns: minmax(0, 1fr); align-self: start; padding-bottom: var(--s6); }
  .mx-subject { margin-top: -6px; }
  .mx-subject img { width: 100%; max-width: 372px; margin: 0 auto 0 0; }
  .mx-capsule { max-width: 100%; }
  .theme-mix .mobile-bar {
    display: flex;
    align-items: center;
    gap: var(--s3);
    left: 50%;
    right: auto;
    bottom: 20px;
    padding: 7px 7px 7px 1.35rem;
    border: 0;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    transform: translateX(-50%);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
  }
  .theme-mix .mobile-bar.is-hidden { transform: translate(-50%, 160%); }
  .theme-mix .mobile-bar span { display: inline; font-weight: 600; white-space: nowrap; }
  .theme-mix .mobile-bar .btn { min-height: 42px; padding-inline: 1.15rem; }
  .theme-mix .mobile-bar .btn--ghost { background: rgba(255, 255, 255, 0.12); border-color: transparent; color: #fff; }
}

/* Pages intérieures */
.mx-hero--page { padding-bottom: var(--s6); }
.mx-hero--page .mx-hero-grid { grid-template-areas: "text" "form" "row" "checks"; }
.mx-hero--page h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.mx-hero .breadcrumb { padding-top: 0; margin-bottom: var(--s4); color: #f5d6d7; }
.mx-hero .breadcrumb a:hover { color: #fff; }
.theme-mix .aside-card { background: var(--navy); border-radius: var(--radius-card); }
.theme-mix .prose .media-img { border-radius: var(--radius-card); margin-block: var(--s5); }
.theme-mix .prose > h2:first-child { margin-top: 0; }
.theme-mix .prose h1 { font-weight: 800; letter-spacing: -0.03em; }
.theme-mix .page-grid .faq { margin-top: var(--s4); }

@media (min-width: 1040px) {
  .mx-hero--page .mx-hero-grid {
    grid-template-columns: minmax(0, 1fr) 400px;
    grid-template-areas: "text form" "row form" "checks form";
    grid-template-rows: auto auto 1fr;
    column-gap: var(--s7);
  }
  .theme-mix .mx-hero--page .hero-form { padding-bottom: 0; }
  .mx-hero--page .mx-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; }
  .page-grid > aside { position: sticky; top: 92px; }
  .theme-mix .aside-card { position: static; }
}

/* Icône du menu mobile : trois traits qui forment une croix à l'ouverture */
.menu summary { justify-content: center; width: 44px; padding-inline: 0; }
.menu-ic { position: relative; display: block; width: 24px; height: 16px; }
.menu-ic i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: top 0.25s ease, transform 0.25s ease, opacity 0.2s ease; }
.menu-ic i:nth-child(1) { top: 0; }
.menu-ic i:nth-child(2) { top: 7px; }
.menu-ic i:nth-child(3) { top: 14px; }
.menu[open] .menu-ic i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu[open] .menu-ic i:nth-child(2) { opacity: 0; }
.menu[open] .menu-ic i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Avis Google : seul le carrousel des avis est affiché, sans le résumé de l'extension */
.theme-mix .ti-widget .ti-widget-container > .ti-footer { display: none !important; }
.theme-mix .ti-widget.ti-goog .ti-widget-container:not(.ti-col-1) > .ti-reviews-container { flex: 0 0 100% !important; max-width: 100% !important; }
