/* Site vitrine : thème unique clair/sombre automatique, un seul accent (vert), un seul rayon (12px). */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f2f4f3;
  --surface: #fbfcfb;
  --tint: #e6ece8;
  --ink: #0e1512;
  --muted: #4a5751;
  --line: #d5dcd8;
  --line-strong: #7d8a83;
  --accent: #0b6b47;
  --accent-hover: #095a3b;
  --on-accent: #f7fbf9;
  --accent-soft: #dcebe3;
  --r: 12px;
  --shadow: 0 1px 2px rgb(14 21 18 / 0.05), 0 12px 32px -16px rgb(11 107 71 / 0.22);
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head-h: 64px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1210;
    --surface: #141c18;
    --tint: #1a2520;
    --ink: #e8eeea;
    --muted: #a6b4ac;
    --line: #26332c;
    --line-strong: #6b7a72;
    --accent: #5fd49a;
    --accent-hover: #7fe0b0;
    --on-accent: #06150e;
    --accent-soft: #163026;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px -16px rgb(0 0 0 / 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.03em; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section-head { max-width: 40rem; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.section-head p { margin-top: 16px; color: var(--muted); max-width: 60ch; }
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }

/* Icônes Phosphor (regular) servies en masque, couleur = currentColor */
.i { display: inline-block; flex: none; width: 1.3em; height: 1.3em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.i-phone { --i: url("icons/phone.svg"); }
.i-eye { --i: url("icons/eye.svg"); }
.i-link-break { --i: url("icons/link-break.svg"); }
.i-receipt { --i: url("icons/receipt.svg"); }
.i-mail { --i: url("icons/envelope-simple.svg"); }
.i-card { --i: url("icons/credit-card.svg"); }
.i-pencil { --i: url("icons/pencil-simple.svg"); }
.i-rocket { --i: url("icons/rocket-launch.svg"); }
.i-arrow { --i: url("icons/arrow-right.svg"); }
.i-plus { --i: url("icons/plus.svg"); }
.i-check { --i: url("icons/check.svg"); }
.i-shield { --i: url("icons/shield-check.svg"); }
.i-globe { --i: url("icons/globe.svg"); }
.i-chat { --i: url("icons/chats-circle.svg"); }
.i-out { --i: url("icons/arrow-up-right.svg"); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r); border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary .i-arrow { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-primary:hover .i-arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-inverse { background: var(--on-accent); color: var(--accent); }
.btn-inverse:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* En-tête collant */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--head-h); background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bar { display: flex; align-items: center; gap: 10px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 1rem; }
.nav { display: none; gap: 28px; margin-right: 12px; }
.nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--muted); padding: 10px 0; }
.nav a:hover { color: var(--ink); }
.tel { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; justify-content: center; text-decoration: none; font-weight: 600; border-radius: var(--r); }
.tel-num { display: none; }
.head-cta { white-space: nowrap; }

/* Accueil : hero */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 9.5vw, 4.5rem); letter-spacing: -0.045em; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 20px; font-size: clamp(1.125rem, 2.6vw, 1.3125rem); color: var(--muted); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.hero-cap { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }

.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts ul { display: grid; grid-template-columns: 1fr 1fr; }
.facts li { display: flex; align-items: center; gap: 12px; padding: 18px 8px; font-weight: 500; font-size: 0.9375rem; line-height: 1.3; }
.facts .i { color: var(--accent); width: 1.6em; height: 1.6em; }

/* Promesses : bento */
.bento { display: grid; gap: 16px; }
.cell { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.cell h3 { font-size: 1.5rem; }
.cell p { color: var(--muted); }
.cell .i { width: 1.9em; height: 1.9em; color: var(--accent); }
.cell-photo { padding: 0; }
.cell-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cell-photo .cell-body { padding: 8px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.cell-accent { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.cell-accent p, .cell-accent .i { color: var(--on-accent); }
.cell-accent p { opacity: 0.92; }
.cell-price { background: var(--tint); border-color: transparent; }
.big-num { font-size: clamp(3rem, 8vw, 4.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.big-num small { font-size: 0.4em; font-weight: 600; letter-spacing: -0.02em; color: var(--muted); margin-left: 6px; }
.quote { font-weight: 600; color: var(--ink); }
.quote::before { content: "\201C"; color: var(--accent); font-size: 2em; font-weight: 800; line-height: 0; vertical-align: -0.4em; margin-right: 2px; }

/* Fonctionnement */
.steps { display: grid; gap: 0; counter-reset: s; }
.steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding-block: 22px; border-top: 1px solid var(--line-strong); }
.steps .i { grid-row: span 2; width: 2em; height: 2em; color: var(--accent); }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); }

/* Exemple */
.showcase { background: var(--tint); }
.showcase-grid { display: grid; gap: 28px; align-items: end; }
.frame { border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.frame-url { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); font-feature-settings: "tnum"; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.showcase h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.showcase p { margin-top: 16px; color: var(--muted); max-width: 46ch; }
.showcase .btn { margin-top: 24px; }
.ticks { margin-top: 20px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { color: var(--accent); margin-top: 3px; }

/* Comparaison */
.cmp { width: 100%; border-collapse: collapse; }
.cmp caption { text-align: left; }
.cmp th, .cmp td { text-align: left; padding: 16px 18px; vertical-align: top; }
.cmp thead th { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; border-bottom: 1.5px solid var(--line-strong); }
.cmp tbody th { font-weight: 600; }
.cmp tbody tr + tr > * { border-top: 1px solid var(--line); }
.cmp .num { font-weight: 700; font-feature-settings: "tnum"; }
.cmp .us > * { background: var(--accent-soft); border-top-color: transparent; }
.cmp .us th { color: var(--accent); }
.cmp-note { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 859px) {
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
  .cmp tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 0; margin-bottom: 12px; }
  .cmp tbody tr + tr > * { border-top: 0; }
  .cmp th, .cmp td { padding: 6px 18px; }
  .cmp th { font-size: 1.125rem; padding-top: 14px; }
  .cmp td { display: flex; justify-content: space-between; gap: 16px; }
  .cmp td::before { content: attr(data-l); color: var(--muted); font-weight: 400; flex: none; max-width: 45%; }
  .cmp td { text-align: right; }
  .cmp .us { background: var(--accent-soft); border-color: var(--accent); border-width: 2px; }
  .cmp .us > * { background: transparent; }
}

/* FAQ */
.faq { max-width: 52rem; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; min-height: 60px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--accent); transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details[open] { border-color: var(--line-strong); }
.faq .ans { padding: 0 20px 20px; color: var(--muted); max-width: 62ch; }

/* Appel final */
.final { background: var(--accent); color: var(--on-accent); border-radius: var(--r); padding: clamp(32px, 6vw, 72px); display: grid; gap: 28px; }
.final h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
.final p { opacity: 0.92; max-width: 46ch; margin-top: 14px; }
.final .acts { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.final .tel-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; }

/* Pages intérieures */
.page-head { padding-block: clamp(36px, 6vw, 72px) 12px; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.75rem); letter-spacing: -0.04em; }
.page-head p { margin-top: 16px; color: var(--muted); max-width: 52ch; font-size: 1.125rem; }
.offer-banner { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 18px 22px; border-radius: var(--r); background: var(--accent-soft); border: 1.5px solid var(--accent); }
.offer-banner[hidden] { display: none; }
.offer-banner strong { font-size: 1.25rem; letter-spacing: -0.02em; }
.offer-banner p { margin: 2px 0 0; color: var(--muted); font-size: 1rem; }

.plans { display: grid; gap: 18px; margin-top: 36px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.plan-main { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan h2 { font-size: 1.625rem; }
.badge { align-self: flex-start; padding: 4px 12px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-size: 0.8125rem; font-weight: 600; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price-now { font-size: clamp(3rem, 9vw, 4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-feature-settings: "tnum"; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 1.25rem; }
.price-then { font-size: 1.125rem; font-weight: 600; }
.plan dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan dt { color: var(--muted); }
.plan dd { margin: 0; font-weight: 700; font-feature-settings: "tnum"; text-align: right; }
.plan .for { color: var(--muted); }
.plan .btn { margin-top: auto; }
.tva { margin-top: 20px; font-size: 0.9375rem; color: var(--muted); }

.incl { display: grid; gap: 12px 40px; margin-top: 28px; }
.incl li { display: flex; gap: 12px; align-items: flex-start; }
.incl .i { color: var(--accent); margin-top: 3px; }
.opts { display: grid; gap: 12px; }
.opt { display: grid; gap: 12px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); align-items: center; }
.opt h3 { font-size: 1.0625rem; letter-spacing: -0.01em; }
.opt p { color: var(--muted); font-size: 0.9375rem; }
.opt .pr { font-weight: 700; font-size: 1.25rem; font-feature-settings: "tnum"; }
.split { display: grid; gap: 32px; }
.cond { display: grid; gap: 14px; }
.cond li { padding-left: 18px; position: relative; color: var(--muted); }
.cond li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 2px; background: var(--accent); }
.cond strong { color: var(--ink); font-weight: 600; }

/* Formulaire */
.contact-grid { display: grid; gap: 32px; margin-top: 28px; }
.form { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 4vw, 36px); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field .hint { color: var(--muted); font-size: 0.875rem; }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 12px 14px; min-height: 52px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field .err { color: #b3261e; font-size: 0.875rem; font-weight: 500; }
@media (prefers-color-scheme: dark) { .field .err { color: #ff9b94; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legal-note { font-size: 0.875rem; color: var(--muted); }
.legal-note a { color: var(--ink); }
.status { padding: 16px 18px; border-radius: var(--r); background: var(--accent-soft); border: 1.5px solid var(--accent); font-weight: 500; }
.status[hidden] { display: none; }
.status.is-error { background: transparent; border-color: #b3261e; }
.aside { display: grid; gap: 20px; align-content: start; }
.aside .big-tel { font-size: clamp(1.9rem, 6vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-feature-settings: "tnum"; }
.aside p { color: var(--muted); }

.prose { max-width: 46rem; padding-bottom: 80px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.125rem; margin: 24px 0 8px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--muted); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .meta { font-size: 0.9375rem; }

/* Pied de page */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--surface); padding-top: 48px; }
.foot { display: grid; gap: 32px; padding-bottom: 36px; }
.foot-brand p { margin-top: 14px; color: var(--muted); max-width: 36ch; font-size: 0.9375rem; }
.foot-h { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.foot ul { display: grid; gap: 2px; }
.foot li a { display: inline-block; padding: 8px 0; text-decoration: none; font-weight: 500; min-height: 40px; }
.foot li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { padding-block: 20px 32px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }

/* Animation au scroll : fondu + décalage vertical, opacity et transform uniquement */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn .i, .faq summary .i { transition: none; }
}

@media (min-width: 640px) {
  .tel-num { display: inline; }
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .facts li { padding: 22px 16px; }
  .incl { grid-template-columns: 1fr 1fr; }
  .opt { grid-template-columns: 1fr auto auto; gap: 24px; }
}
@media (min-width: 860px) {
  .nav { display: flex; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .hero-media img { aspect-ratio: 4 / 4.6; }
  .bento { grid-template-columns: repeat(12, 1fr); }
  .cell-photo { grid-column: span 7; grid-row: span 2; }
  .cell-photo img { aspect-ratio: auto; flex: 1; min-height: 240px; }
  .cell-accent, .cell-price { grid-column: span 5; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps li { grid-template-columns: 1fr; padding-top: 24px; }
  .steps .i { grid-row: auto; }
  .showcase-grid { grid-template-columns: 1.5fr 1fr; gap: 56px; }
  .final { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .final .acts { justify-content: flex-end; }
  .plans { grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; gap: 56px; }
  .foot { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
@media (max-width: 859px) {
  .head-cta { font-size: 0.875rem; padding: 0 12px; }
  .bar { gap: 4px; }
  .brand { font-size: 1rem; gap: 8px; }
}
