/* ==========================================================================
   Traitement Punaise — feuille de styles principale
   Palette : #15779b (teal), #f4524d (corail), #0b2b36 (nuit)
   ========================================================================== */

:root {
  --teal: #15779b;
  --teal-dark: #0f5d7a;
  --teal-deep: #0b3e50;
  --accent: #d63a35;
  --accent-dark: #b82f2b;
  --ink: #14232b;
  --muted: #5b6b73;
  --line: #e3ebef;
  --bg: #ffffff;
  --bg-soft: #f3f8fa;
  --bg-teal: #eaf4f8;
  --star: #fbbc04;
  --success: #14835b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 62, 80, .08);
  --shadow-lg: 0 24px 60px rgba(11, 62, 80, .16);
  --container: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

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

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .55em;
  letter-spacing: -.015em;
  scroll-margin-top: 110px;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p, ul, ol { margin: 0 0 1.05em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--teal-deep);
  color: #d9edf4;
  font-size: .86rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 40px; padding-block: 5px;
}
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: #39d98a; box-shadow: 0 0 0 4px rgba(57,217,138,.18); flex: none; }
@media (max-width: 720px) { .topbar .hide-sm { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; gap: 18px; min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 190px; height: auto; display: block; }
.brand:hover { opacity: .9; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav > a, .nav .drop > button {
  font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink);
  background: none; border: 0; cursor: pointer;
  padding: 10px 12px; border-radius: 8px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav > a:hover, .nav .drop > button:hover, .nav > a.active { background: var(--bg-teal); color: var(--teal-dark); }
.nav > a.btn { background: var(--accent); color: #fff; border-radius: 999px; padding: 10px 18px; box-shadow: 0 6px 16px rgba(244,82,77,.24); }
.nav > a.btn:hover { background: var(--accent-dark); color: #fff; }
.nav > a.btn[aria-current="page"] { background: var(--accent); color: #fff; }
.nav .chev { font-size: .65rem; transition: transform .2s; }
.drop { position: relative; }
.drop[data-open="true"] .chev { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 95;
  min-width: 265px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px;
  display: none;
}
.drop:hover .drop-menu, .drop[data-open="true"] .drop-menu, .drop:focus-within .drop-menu { display: block; }
.drop-menu a {
  display: block; padding: 8px 11px; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 500;
}
.drop-menu a:hover { background: var(--bg-teal); color: var(--teal-dark); }
.drop-menu .menu-label {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding: 8px 11px 4px; font-weight: 700;
}
.drop-menu .all { font-weight: 700; color: var(--teal-dark); }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone {
  display: flex; flex-direction: column; line-height: 1.15; text-decoration: none;
  color: var(--ink); font-weight: 800; font-size: 1.02rem;
}
.header-phone small { color: var(--muted); font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 10px; margin-left: auto;
}
.burger span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

@media (max-width: 1080px) {
  .header-phone { display: none; }
  .nav > a, .nav .drop > button { padding-inline: 8px; font-size: .9rem; }
}
@media (max-width: 900px) {
  .brand img { width: 164px; }
  .burger { display: block; }
  .site-header > .container > .header-cta { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 12px 20px 20px; flex-direction: column;
    align-items: stretch; gap: 2px; max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav > a, .nav .drop > button { width: 100%; text-align: left; justify-content: space-between; padding: 12px; font-size: 1rem; }
  .drop-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 6px 10px; min-width: 0; }
  .drop[data-open="true"] .drop-menu { display: block; }
  .drop:hover .drop-menu { display: none; }
  .drop[data-open="true"]:hover .drop-menu { display: block; }
  .nav .header-cta { display: flex; flex-wrap: wrap; padding-top: 10px; }
  .nav .header-cta .btn { flex: 1 1 180px; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: .95rem; font-weight: 700;
  padding: 13px 20px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(244,82,77,.28); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-blue { background: var(--teal); color: #fff; }
.btn-blue:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--teal-dark); border-color: #bfd8e2; }
.btn-outline:hover { background: var(--bg-teal); color: var(--teal-dark); border-color: var(--teal); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; text-decoration: underline; }
.btn-ghost:hover { color: var(--teal); }
.btn-sm { padding: 9px 15px; font-size: .86rem; }
.btn-call::before { content: "☎"; font-size: 1.05em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 400px at 15% 0%, #e2f3f9 0%, transparent 60%),
    linear-gradient(180deg, #f7fbfd 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: auto -120px -160px auto;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(21,119,155,.12), transparent 65%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px;
  align-items: center; padding-block: 64px 58px;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #cfe4ec; color: var(--teal-dark);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(11,62,80,.05);
}
.hero h1 { margin-bottom: 16px; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #3c5059; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-actions .btn { padding: 15px 24px; }
.hero-checks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; font-size: .93rem; color: #40545d; }
.hero-checks li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-checks li::before {
  content: "✓"; display: grid; place-items: center; width: 20px; height: 20px;
  border-radius: 50%; background: #dcf3e9; color: var(--success); font-size: .72rem; font-weight: 900; flex: none;
}
.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); display: block;
  aspect-ratio: 1 / 1; object-fit: cover;
}
.hero-media .badge {
  position: absolute; left: -14px; bottom: 22px; background: #fff;
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700;
}
.hero-media .badge b { display: block; color: var(--teal-dark); font-size: 1.05rem; }
.hero-media .badge .stars { color: var(--star); letter-spacing: 2px; font-size: .9rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 40px; gap: 30px; }
  .hero-media { max-width: 460px; margin-inline: auto; }
  .hero-media .badge { left: 10px; bottom: 10px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 62%, #2a93b6 100%);
  color: #fff; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -100px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; padding-block: 40px 44px; }
.page-hero h1 { color: #fff; max-width: 22ch; margin-bottom: 12px; }
.page-hero .lead { color: #d8ecf3; max-width: 70ch; margin: 0; font-size: 1.05rem; }
.page-hero .eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .74rem;
  font-weight: 800; color: #9fd4e5; margin: 0 0 10px;
}
.page-hero .hero-actions { margin: 20px 0 0; }
.page-hero .hero-actions .btn-outline { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.5); }
.page-hero .hero-actions .btn-outline:hover { background: rgba(255,255,255,.2); color: #fff; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: #c6e2ec; margin-top: 14px; }

.breadcrumbs { padding: 16px 0; font-size: .84rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 7px; margin: 0; }
.breadcrumbs li + li::before { content: "›"; color: #9fb3bc; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Layout ---------- */
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 330px;
  gap: 46px; align-items: start; padding-block: 42px 64px;
}
.content { min-width: 0; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 18px; }
@media (max-width: 1020px) {
  .layout { grid-template-columns: 1fr; gap: 38px; }
  .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* ---------- Content typography ---------- */
.prose { max-width: 76ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.7em; padding-top: .2em; }
.prose h3 { margin-top: 1.4em; }
.prose p { color: #2d3f47; }
.prose ul, .prose ol { color: #2d3f47; }
.prose li::marker { color: var(--teal); }
.prose img { border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-teal); }
.prose blockquote {
  margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--teal);
  background: var(--bg-soft); border-radius: 0 10px 10px 0; color: #33474f;
}
.prose .embed { margin: 26px 0; }
.prose .embed iframe { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.embed { max-width: 100%; }
.embed iframe { width: 100%; max-width: 100%; border-radius: 14px; display: block; }
@media (max-width: 640px) { .embed iframe { height: 320px !important; } }
.prose .center { text-align: center; }
.prose .justify p { text-align: justify; }

/* converter rows */
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px; margin: 0 0 28px; }
.row:last-child { margin-bottom: 0; }
.col-12 { grid-column: span 12; }
.col-9 { grid-column: span 9; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }
.col-20 { grid-column: auto; }
.row:has(.col-20) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.row:has(.col-20) .btn { width: 100%; font-size: .78rem; padding: 10px 8px; }
@media (max-width: 860px) {
  .row:has(.col-20) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.col-1 { grid-column: span 1; }
@media (max-width: 860px) {
  .row { gap: 18px; }
  .col-3, .col-4, .col-6, .col-8, .col-9, .col-20 { grid-column: span 12; }
  .row:has(.col-20) .col-20 { grid-column: auto; }
}
.col > .row { margin-bottom: 0; }
.media { margin: 0; }
.media img { width: 100%; height: auto; border-radius: 14px; display: block; }
.col-4 > .media img { max-width: 340px; margin-inline: auto; }
.media.rounded img { border-radius: 22px; }
.row .prose + .prose { margin-top: 14px; }

/* CTA band in content */
.row.cta-band {
  background: linear-gradient(130deg, var(--teal-deep), var(--teal));
  border-radius: 18px; padding: 22px 24px; align-items: center;
  color: #fff; box-shadow: var(--shadow);
}
.row.cta-band .prose, .row.cta-band .prose p { color: #fff; }
.row.cta-band .prose { margin: 0; font-size: 1.02rem; line-height: 1.45; font-weight: 700; }
.row.cta-band .col-8 { grid-column: span 9; }
.row.cta-band .col-4 { grid-column: span 3; }
@media (max-width: 860px) {
  .row.cta-band .col-8, .row.cta-band .col-4 { grid-column: span 12; }
}
.row.cta-band .btn { width: 100%; }
.row.is-fill:not(.cta-band) { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }

/* buttons generated inside content */
.content .btn { margin: 4px 4px 8px 0; }
.content .col > .btn { width: 100%; margin: 0; }

/* FAQ */
.faq-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px;
  margin: 0 0 10px; background: #fff;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--teal); font-size: 1.35rem; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { color: var(--teal-dark); }
.faq-answer { padding-bottom: 8px; color: #33474f; }
.faq-answer p:last-child { margin-bottom: 10px; }

/* ---------- Sidebar cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h2, .card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { font-size: .94rem; color: var(--muted); }
.card .btn { width: 100%; margin-bottom: 9px; }
.card.cta-card { background: linear-gradient(160deg, #0b3e50, #15779b); color: #fff; border: 0; }
.card.cta-card h2 { color: #fff; }
.card.cta-card p { color: #cfe7f0; }
.card.cta-card .btn-primary { box-shadow: none; }
.card.cta-card .btn-outline { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); color: #fff; }
.card.cta-card .btn-outline:hover { background: rgba(255,255,255,.2); color: #fff; }
.card ul.checks { list-style: none; padding: 0; margin: 14px 0 0; font-size: .88rem; color: #d9edf4; }
.card ul.checks li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 7px; }
.card ul.checks li::before { content: "✓"; color: #7fe0b3; font-weight: 900; flex: none; }
.card .link-list { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.card .link-list li { margin: 0; border-bottom: 1px solid var(--line); }
.card .link-list li:last-child { border-bottom: 0; }
.card .link-list a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink); }
.card .link-list a:hover { color: var(--teal); }
.card .phone-big { font-size: 1.35rem; font-weight: 800; color: #fff; text-decoration: none; display: block; margin: 4px 0 12px; }

/* ---------- Home sections ---------- */
.section { padding-block: 62px; }
.section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-head .eyebrow {
  color: var(--teal); font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; font-size: .75rem; display: block; margin-bottom: 8px;
}
.section-head p { color: var(--muted); margin: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); position: relative;
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-teal); color: var(--teal); font-size: 1.35rem; margin-bottom: 14px;
}
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { margin: 0; font-size: .93rem; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  text-align: center; padding: 24px 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
}
.stat b { display: block; font-size: clamp(1.8rem, 3vw, 2.5rem); color: #fff; line-height: 1.1; }
.stat span { color: #cfe7f0; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.stats-band { background: linear-gradient(120deg, #0b3e50, #15779b); padding-block: 44px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.zone-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .93rem;
  box-shadow: 0 4px 14px rgba(11,62,80,.04);
}
.zone-grid a span { color: var(--teal); font-weight: 500; font-size: .8rem; }
.zone-grid a:hover { border-color: var(--teal); background: var(--bg-teal); }
@media (max-width: 980px) { .zone-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .zone-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .zone-grid { grid-template-columns: 1fr; } }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center;
}
.split .media img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 26px; } }

.cta-final {
  background: linear-gradient(120deg, var(--teal-deep), var(--teal));
  color: #fff; border-radius: 24px; padding: 42px;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: center;
}
.cta-final h2 { color: #fff; margin-bottom: 8px; }
.cta-final p { color: #cfe7f0; margin: 0; }
.cta-final .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 780px) { .cta-final { grid-template-columns: 1fr; padding: 28px; } .cta-final .actions { justify-content: flex-start; } }

/* ---------- Related ---------- */
.related { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 52px; }
.related h2 { font-size: 1.5rem; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-grid a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: .95rem;
}
.related-grid a small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; margin-bottom: 4px; }
.related-grid a:hover { border-color: var(--teal); background: #fff; box-shadow: var(--shadow); }
@media (max-width: 820px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; } }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 30px; box-shadow: var(--shadow-lg);
}
.form-card h2 { margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: .93rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fbfdfe; border: 1px solid #cddde4; border-radius: 10px;
  padding: 12px 13px; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(21,119,155,.14); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.file-drop {
  border: 1.5px dashed #b8d2dd; border-radius: 12px; padding: 16px;
  text-align: center; background: #f8fcfe; cursor: pointer; display: block;
  color: var(--muted); font-size: .88rem;
}
.file-drop:hover { border-color: var(--teal); background: var(--bg-teal); }
.file-drop input { width: 100%; margin-top: 8px; font-size: .82rem; }
.file-drop strong { color: var(--teal-dark); }
.form-note { font-size: .8rem; color: var(--muted); }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: .84rem; color: #42565f; margin: 14px 0 4px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.turnstile-wrap { margin: 14px 0; min-height: 65px; }
.form-alert {
  display: none; padding: 13px 15px; border-radius: 10px; font-size: .9rem;
  margin-bottom: 16px; border: 1px solid #f3c2c0; background: #fff1f0; color: #8f211d;
}
.form-alert.show { display: block; }
.form-success {
  display: none; text-align: center; padding: 34px 22px;
}
.form-success.show { display: block; }
.form-success .big { font-size: 2.4rem; }
.side-info { display: grid; gap: 16px; }
.side-info .card { box-shadow: var(--shadow); }
.side-info .contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: .94rem; }
.side-info .contact-line .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-teal); display: grid; place-items: center; flex: none; }
.side-info .contact-line b { display: block; font-size: .88rem; }
.side-info .contact-line span, .side-info .contact-line a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.side-info .contact-line a:hover { color: var(--teal); }

/* ---------- Legal ---------- */
.legal { max-width: 860px; overflow-x: auto; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal h3 { font-size: 1.12rem; margin-top: 1.3em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-teal); }

/* ---------- Sommaire ---------- */
.toc {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin: 0 0 30px;
}
.toc strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-dark); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; }
.toc li { font-size: .9rem; margin-bottom: 5px; break-inside: avoid; }
.toc a { text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--teal); text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* ---------- Footer ---------- */
.site-footer { background: #08222c; color: #b8d0d8; font-size: .92rem; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 34px; padding-block: 52px 40px; }
.site-footer h2 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer a { color: #cfe3ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a.btn-primary { color: #fff; text-decoration: none; }
.site-footer a.btn-primary:hover { color: #fff; background: var(--accent-dark); }
.site-footer .brand img { width: 190px; background: #fff; border-radius: 8px; padding: 8px 10px; margin-bottom: 14px; }
.site-footer p { color: #9dbac4; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-contact a.phone { color: #fff; font-weight: 800; font-size: 1.08rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px;
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between;
  font-size: .8rem; color: #8faeb8;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-legal button {
  background: none; border: 0; font: inherit; color: #cfe3ea; cursor: pointer; padding: 0;
  text-decoration: underline; text-underline-offset: 3px;
}
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Mobile call bar ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px; box-shadow: 0 -8px 24px rgba(11,62,80,.12);
}
.mobile-bar .btn { flex: 1; font-size: .88rem; padding: 11px 8px; }
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 66px; }
  .cookie-banner { bottom: 74px !important; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 20px);
  width: min(720px, calc(100% - 24px)); z-index: 200;
  background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.28);
  border: 1px solid #d8e5ea; opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.cookie-banner.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cookie-top { padding: 22px 24px 18px; }
.cookie-top h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.cookie-top h2 .ico { font-size: 1.25rem; }
.cookie-top p { font-size: .86rem; color: #4b5e66; margin: 0 0 8px; line-height: 1.55; }
.cookie-top a { font-size: .82rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px 20px; }
.cookie-actions .btn { font-size: .86rem; padding: 10px 15px; flex: 1 1 auto; }
.cookie-actions .btn-primary { flex: 1.3 1 auto; }
.cookie-prefs { display: none; border-top: 1px solid var(--line); padding: 18px 24px 22px; background: #fbfdfe; border-radius: 0 0 18px 18px; }
.cookie-prefs.show { display: block; }
.pref-row { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pref-row:last-of-type { border-bottom: 0; }
.pref-row .txt { flex: 1; }
.pref-row b { display: block; font-size: .9rem; }
.pref-row span { font-size: .79rem; color: var(--muted); }
.switch { position: relative; flex: none; width: 44px; height: 24px; margin-top: 3px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .slider {
  position: absolute; inset: 0; background: #c6d3d9; border-radius: 999px;
  transition: background .18s; pointer-events: none;
}
.switch .slider::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  background: #fff; border-radius: 50%; transition: transform .18s;
}
.switch input:checked + .slider { background: var(--teal); }
.switch input:checked + .slider::after { transform: translateX(20px); }
.switch input:focus-visible + .slider { outline: 3px solid var(--accent); outline-offset: 2px; }
.switch input:disabled + .slider { background: #9fc6d5; }
.cookie-prefs .pref-actions { display: flex; gap: 8px; margin-top: 16px; }
.cookie-prefs .pref-actions .btn { flex: 1; font-size: .85rem; }
.cookie-close {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: #eef4f6; color: #40545d; cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.cookie-close:hover { background: #e0eaee; }
@media (max-width: 560px) {
  .cookie-top { padding: 18px 18px 14px; }
  .cookie-actions { padding: 0 18px 16px; }
  .cookie-actions .btn { flex: 1 1 100%; }
  .cookie-prefs { padding: 14px 18px 18px; }
}

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: 80px 90px; }
.error-page .code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 900; line-height: .9; color: var(--teal); letter-spacing: -.05em; }
.error-page h1 { margin-top: 6px; }
.error-page p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.error-page .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.error-links a { font-size: .88rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; text-decoration: none; color: var(--ink); }
.error-links a:hover { border-color: var(--teal); color: var(--teal-dark); }

/* ---------- HubSpot ---------- */
.hs-embed-wrap { min-height: 80px; }
#hubspot-form-container .hs-form fieldset { max-width: none !important; }
#hubspot-form-container .hs-input { width: 100% !important; }
#hubspot-form-container input.hs-button {
  background: var(--accent) !important; border: 0 !important; color: #fff !important;
  border-radius: 999px !important; padding: 12px 22px !important; font-weight: 700 !important;
}
.hubspot-gate { text-align: center; padding: 26px; border: 1px dashed #c3d8e1; border-radius: 14px; background: #fbfdfe; }
.hubspot-gate p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }

/* ---------- Misc ---------- */
.notice {
  background: #fff8e6; border: 1px solid #f2dfae; border-radius: 10px;
  padding: 12px 16px; font-size: .87rem; color: #6b5313;
}
.pill {
  display: inline-block; background: var(--bg-teal); color: var(--teal-dark);
  font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .04em;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
