:root {
  --ink: #183346;
  --muted: #55707f;
  --teal: #087568;
  --teal-dark: #065c52;
  --teal-pale: #e6f4f1;
  --sun: #ffb84d;
  --line: #dce5eb;
  --bg: #fff;
  --tint: #f3f6f9;
  font: 17px/1.6 Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { text-decoration: none; letter-spacing: .07em; white-space: nowrap; }
.brand b { color: var(--teal); }
.site-header nav { display: flex; align-items: center; gap: 26px; font-size: .92rem; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--teal); }
.site-header nav .nav-cta { background: var(--teal-pale); color: var(--teal-dark); padding: 7px 15px; border-radius: 30px; font-weight: 600; }

/* Titres et textes */
.eyebrow { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); }
h1 { margin: 0 0 20px; font-size: clamp(2.3rem, 5.4vw, 3.7rem); line-height: 1.07; letter-spacing: -.035em; }
h2 { margin: 0 0 28px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -.03em; }
h3 { margin: 0 0 8px; font-size: 1.1rem; }
.lead { margin: 0 0 30px; font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.lead-small { color: var(--muted); }
.note { font-size: .86rem; line-height: 1.5; color: var(--muted); }
.text-link { color: var(--teal-dark); font-weight: 600; }

/* Boutons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-block; padding: 14px 24px; border-radius: 8px; background: var(--teal); color: #fff; font-weight: 600; text-decoration: none; text-align: center; }
.button:hover { background: var(--teal-dark); }
.button.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #b9cbd6; }
.button.ghost:hover { box-shadow: inset 0 0 0 2px var(--teal); background: #fff; }
.button.full { display: block; margin-top: 18px; }
.button.light { background: #fff; color: var(--teal-dark); white-space: nowrap; }
.button.light:hover { background: var(--teal-pale); }

/* Ouverture */
.hero { padding: 76px 0 84px; background: linear-gradient(170deg, var(--teal-pale), #fff 62%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; align-items: center; }

.phone { margin: 0; }
.screen { padding: 26px 22px 24px; border: 9px solid var(--ink); border-radius: 36px; background: #fff; box-shadow: 0 26px 50px -22px rgba(24, 51, 70, .5); }
.screen-brand { margin: 0 0 22px; font-size: .68rem; letter-spacing: .08em; text-align: center; }
.screen-brand b { color: var(--teal); }
.screen-title { margin: 0 0 6px; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.screen-status { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; font-size: .86rem; font-weight: 600; color: var(--teal-dark); }
.screen-status span { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); animation: pulse 1.8s infinite; }
.screen dl { margin: 0 0 20px; }
.screen dl div { padding: 13px 15px; margin-bottom: 9px; background: var(--tint); border-radius: 12px; }
.screen dt { font-size: .75rem; color: var(--muted); }
.screen dd { margin: 0; font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; }
.screen-stop { margin: 0; padding: 11px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .86rem; font-weight: 600; text-align: center; }
.phone figcaption { margin-top: 12px; font-size: .76rem; color: var(--muted); text-align: center; }

@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screen-status span { animation: none; }
}

/* Sections */
.section { padding: 84px 0; }
.tinted { background: var(--tint); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.steps li { padding-top: 18px; border-top: 3px solid var(--teal); counter-increment: etape; }
.steps li::before { content: counter(etape); display: block; margin-bottom: 8px; font-size: 2.3rem; font-weight: 700; line-height: 1.1; color: var(--teal); }
.steps p { margin: 0; color: var(--muted); }

.owner-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start; }
.checks { margin: 22px 0; padding: 0; list-style: none; }
.checks li { position: relative; padding: 7px 0 7px 30px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 13px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }

.formules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 18px; }
.formule { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.formule.accent { border: 2px solid var(--teal); background: var(--teal-pale); }
.formule h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.formule p { color: var(--muted); }
.formule.accent p { color: var(--ink); }
.offer { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.offer-label { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); }
.offer-price { margin: 0 0 6px; font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.25; }
.offer-price small { font-size: .88rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.offer h3 { margin: 24px 0 8px; font-size: .95rem; }
.calc { margin: 0; font-size: .92rem; }
.calc div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); }
.calc dd { margin: 0; white-space: nowrap; font-weight: 600; }
.calc .total { font-weight: 700; color: var(--teal-dark); border-top: 2px solid var(--ink); }

details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { padding: 18px 30px 18px 0; font-weight: 600; cursor: pointer; }
summary:hover { color: var(--teal-dark); }
details p { margin: 0 0 20px; color: var(--muted); }

.contact { padding: 64px 0; background: var(--teal-dark); color: #fff; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact h2 { margin-bottom: 10px; }
.contact p { margin: 0; max-width: 36em; color: #d3ebe6; }

.site-footer { padding: 26px 0; font-size: .86rem; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-row p { margin: 0; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 22px; }

/* Pages légales */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.legal h2 { margin: 36px 0 10px; font-size: 1.25rem; letter-spacing: -.01em; }
.legal p, .legal li { color: #2f4a5c; }
.a-completer { padding: 1px 6px; border-radius: 4px; background: #ffedb5; color: #614800; font-weight: 600; }

/* Tablette et téléphone */
@media (max-width: 900px) {
  .hero { padding: 52px 0 60px; }
  .hero-grid, .owner-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .phone { width: min(280px, 100%); margin: 0 auto; }
  .section { padding: 60px 0; }
  .steps, .formules { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 640px) {
  :root { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-row { min-height: 60px; }
  .site-header nav { gap: 14px; font-size: .85rem; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .actions .button { flex: 1 1 100%; }
  .offer { padding: 22px; }
  .button.light { white-space: normal; overflow-wrap: anywhere; }
}
