/* Site commercial — feuille unique, sans dépendance externe ni police web :
   la page doit rester légère sur un réseau mobile 3G. */
:root {
  --ink: #0f2a33;
  --muted: #4d6670;
  --bg: #ffffff;
  --bg-alt: #f2f7f8;
  --line: #d7e4e7;
  --brand: #0b5563;
  --brand-ink: #ffffff;
  --brand-strong: #083f4a;
  --accent: #f2b33d;
  --ok: #1f7a4d;
  --warn: #9a6400;
  --error: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 42, 51, .06), 0 8px 24px rgba(15, 42, 51, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-band { background: var(--brand); color: var(--brand-ink); }
.section-band a:not(.btn) { color: #fff; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-light { background: #fff; color: var(--brand); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.actions.center { justify-content: center; }
.link { font-weight: 600; text-decoration: none; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; margin: 0; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--brand); }
.site-nav .lang { font-size: .9rem; color: var(--muted) !important; }
.nav-toggle, .nav-burger { display: none; }
.site-nav a, .logo span { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 901px) {
  .site-nav { gap: 14px; }
  .site-nav a:not(.btn) { font-size: .95rem; }
}

@media (max-width: 900px) {
  .nav-burger { display: block; width: 44px; height: 44px; position: relative; cursor: pointer; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); }
  .nav-burger span { top: 21px; }
  .nav-burger span::before { top: -7px; left: 0; right: 0; }
  .nav-burger span::after { top: 7px; left: 0; right: 0; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle { display: block; position: absolute; opacity: 0; width: 44px; height: 44px; right: 16px; top: 10px; margin: 0; cursor: pointer; z-index: 2; }
}

/* Hero */
.hero { padding: 56px 0 64px; background: linear-gradient(180deg, #eaf4f6 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); background: #fff; border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .95rem; }
.hero-media img, .media-card img { border-radius: var(--radius); box-shadow: var(--shadow); }
figure { margin: 0; }
figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.page-hero { padding: 56px 0; background: var(--bg-alt); }

/* Grilles */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cards { display: grid; gap: 20px; margin-top: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.product-shots { align-items: start; grid-template-columns: 1fr 1fr 2fr; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.shot img, .shot video { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.shot img[width="360"], .shot video { max-width: 230px; margin: 0 auto; }
.shot h3 { margin: 0 0 6px; }
.shot p { margin: 0; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card .tag { display: inline-block; margin: 0 0 8px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--bg-alt); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.section-alt .card { border-color: transparent; }
.feature .icon { font-size: 1.6rem; display: block; margin-bottom: 8px; color: var(--accent, currentColor); }
.ico { width: 1em; height: 1em; vertical-align: -.15em; flex: none; }
.badges .ico { color: var(--accent, currentColor); margin-right: 4px; }
.audience { display: flex; flex-direction: column; }
.audience .link { margin-top: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; margin-bottom: 20px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps h3 { margin-bottom: 4px; }

.status-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.status-cols > p { grid-column: 1 / -1; }
.status { background: #fff; border-radius: var(--radius); padding: 20px 24px; border-left: 5px solid var(--line); }
.status ul { margin: 0; padding-left: 20px; }
.status-done { border-left-color: var(--ok); }
.status-testing { border-left-color: var(--accent); }
.status-next { border-left-color: var(--muted); }
.split-status { align-items: start; margin-top: 24px; }

.trust p { margin-bottom: .8em; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.numbered li { margin-bottom: 8px; }
.final-cta { background: linear-gradient(180deg, #fff 0%, #eaf4f6 100%); }
.cta-note { margin: .6rem 0 0; font-size: .9rem; color: var(--muted); }

/* FAQ */
.faq-group { margin-top: 32px; color: var(--brand); }
.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 32px 14px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; color: var(--brand); }
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--muted); }

/* Tunnel */
.book h1 { margin-top: 0; }
.alert { background: #fdecea; color: var(--error); border-radius: 10px; padding: 12px 16px; margin: 16px 0; font-weight: 600; }
.progress { list-style: none; display: flex; gap: 8px; padding: 0; margin: 24px 0; counter-reset: p; }
.progress li { flex: 1; font-size: .8rem; color: var(--muted); border-top: 4px solid var(--line); padding-top: 6px; }
.progress li.is-active, .progress li.is-done { color: var(--ink); border-top-color: var(--brand); }
.js .progress { display: flex; }
.progress { display: none; }
.booking fieldset { border: 0; padding: 0; margin: 0 0 32px; }
.booking legend, .field-label { font-weight: 700; font-size: 1.15rem; margin-bottom: 12px; padding: 0; }
.field-label { font-size: 1rem; margin-top: 8px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(11, 85, 99, .15); }
.hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; font-weight: 400; }
.field-error { color: var(--error); font-size: .9rem; margin: 6px 0 0; font-weight: 600; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices-inline { display: flex; flex-wrap: wrap; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input, .intent input { position: absolute; opacity: 0; }
.choice span { display: block; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; min-height: 48px; }
.choice input:checked + span { border-color: var(--brand); background: #e8f3f5; font-weight: 600; }
.choice input:focus-visible + span, .intent input:focus-visible + .intent-body { outline: 3px solid var(--accent); outline-offset: 2px; }
.intents { display: grid; gap: 12px; margin-bottom: 18px; }
.intent { cursor: pointer; display: block; position: relative; }
.intent-body { display: grid; gap: 4px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.intent-body span:last-child { color: var(--muted); font-size: .95rem; }
.intent input:checked + .intent-body { border-color: var(--brand); background: #e8f3f5; }
.intent-badge { justify-self: start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--accent); color: #3b2a00; padding: 2px 10px; border-radius: 999px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.consent input { width: 22px; height: 22px; margin-top: 3px; flex: none; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; }
.form-nav [data-submit] { margin-left: auto; }
.js .booking .step { display: none; }
.js .booking .step.is-current { display: block; }
.check { width: 72px; height: 72px; border-radius: 50%; background: #e3f3ea; color: var(--ok); font-size: 2.2rem; display: grid; place-items: center; margin: 0 auto 16px; }
.reference { font-size: 1.2rem; }
.reference strong { font-family: ui-monospace, Menlo, monospace; letter-spacing: .08em; }
.prose h2 { margin-top: 28px; }

/* Pied de page */
.site-footer { background: #0c2329; color: #c9d8dc; padding: 40px 0 24px; }
.site-footer .logo { color: #fff; }
.site-footer .muted { color: #9fb4ba; }
.footer-inner { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 24px; margin-bottom: 16px; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.footer-title { color: #fff; font-weight: 700; margin: 0 0 4px; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }
.site-footer a { color: #e4eef0; text-decoration: none; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .status-cols { grid-template-columns: 1fr; }
  .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; }
  .product-shots .shot-wide { grid-column: 1 / -1; }
  .section { padding: 48px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards-2, .cards-3, .cards-4, .grid-2, .choices { grid-template-columns: 1fr; }
  .progress li { font-size: 0; }
  .progress li::before { content: attr(data-step-label); font-size: .8rem; }
  .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
.trust-img { border-radius: var(--radius); margin-bottom: 20px; }
.form-nav .btn { flex: 1 1 auto; max-width: 280px; }

/* Pages éditoriales */
.breadcrumb { padding-top: 16px; font-size: .9rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "›"; margin-right: 4px; color: var(--muted); }
.breadcrumb [aria-current] { color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--bg-alt); }
.journal { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--line); }
.journal li { position: relative; padding: 0 0 24px 20px; }
.journal li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--brand); }
.journal time { color: var(--muted); font-size: .9rem; }
.journal h2 { margin: 2px 0 6px; }
.related { padding-left: 20px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
.card h3 a { color: inherit; }
.audience .link { display: block; }
.actions-center { justify-content: center; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Page produits : vidéo et galerie */
.media-video video { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #eaf4f6; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.gallery-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.gallery-item picture, .gallery-item img { display: block; width: 100%; height: auto; border-radius: 8px; }
.gallery-item figcaption { grid-column: 1 / -1; margin-top: 8px; font-size: .95rem; color: var(--text, inherit); }
.gallery-item .tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--bg-alt); border: 1px solid var(--line); padding: 1px 8px; border-radius: 999px; }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }
.gallery-item img { aspect-ratio: 4 / 5; object-fit: contain; background: #eef2f5; }
.gallery-item:has(img[width="1200"]) { grid-template-columns: 1fr; }
.gallery-item:has(img[width="1200"]) img { aspect-ratio: 16 / 9; object-fit: cover; }
.gallery + .muted { margin-top: 16px; }
