:root {
  --navy: #1e2a4a;
  --navy-deep: #161f38;
  --ink: #1b1d24;
  --cream: #f6f4ef;
  --cream-2: #eeebe3;
  --white: #ffffff;
  --green: #3ddc97;
  --green-mid: #5bb983;
  --green-dark: #1f6e4a;
  --muted: #5a6072;
  --line: #d9d6cd;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(30, 42, 74, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }

svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 239, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.brand img { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--green-dark); }
.nav-phone { white-space: nowrap; }
@media (max-width: 1060px) and (min-width: 821px) { .nav { gap: 20px; } .nav-phone { display: none; } }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-small { padding: 9px 18px; font-size: .9rem; background: var(--navy); color: var(--white) !important; }
.btn-block { width: 100%; }

/* ---------- Common ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 18px;
}
.eyebrow.light { color: var(--green); }
.dash { width: 32px; height: 3px; border-radius: 3px; background: var(--green-mid); }
.accent { color: var(--green-dark); }
.underline { background: linear-gradient(var(--green), var(--green)) no-repeat 0 100% / 100% 4px; padding-bottom: 2px; }
.lead, .section-lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.section { padding: clamp(64px, 10vw, 110px) 0; }
.section-alt { background: var(--cream-2); }
.section-head { margin-bottom: 48px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--green-mid); stroke-width: 3; }
.hero-visual { display: flex; justify-content: center; }
.seal { position: relative; width: min(420px, 80vw); aspect-ratio: 1; }
.seal img { position: relative; width: 100%; height: 100%; animation: float 6s ease-in-out infinite; }
.seal-ring {
  position: absolute; inset: -6%; border-radius: 50%;
  border: 2px solid rgba(61, 220, 151, .45);
  animation: pulse 3.2s ease-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { transform: scale(.92); opacity: 1; } 100% { transform: scale(1.12); opacity: 0; } }

/* ---------- Price ---------- */
.price-card {
  display: grid; grid-template-columns: 340px 1fr;
  background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.price-main { background: var(--green-dark); color: var(--white); padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.price-label { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
.price { font-size: 1.6rem; font-weight: 800; margin: 0; line-height: 1; }
.price span { font-size: 6rem; letter-spacing: -.04em; }
.price-sub { margin: 10px 0 0; opacity: .9; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; gap: 22px; padding: 26px 34px; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list .num { font-size: .8rem; font-weight: 800; color: var(--green-dark); padding-top: 4px; }
.price-list strong { font-size: 1.15rem; }
.price-list p { margin: 4px 0 0; color: var(--muted); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--white); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--green); display: grid; place-items: center; margin-bottom: 20px; }
.card-icon svg { width: 26px; height: 26px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.step { position: relative; padding-top: 8px; }
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 800; font-size: 1.3rem; margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 8px var(--green);
}
.step p { color: var(--muted); }
.step a { color: var(--green-dark); font-weight: 700; }

/* ---------- Documents ---------- */
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .section-lead { color: #c6cbe0; }
.docs-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.docs-progress { font-weight: 700; margin: 28px 0 10px; }
.progress-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.12); overflow: hidden; max-width: 360px; }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist label {
  display: flex; gap: 14px; align-items: flex-start; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: 15px 18px; border-radius: 12px; transition: background .2s, border-color .2s;
}
.checklist label:hover { background: rgba(255,255,255,.1); }
.checklist input {
  appearance: none; -webkit-appearance: none; flex-shrink: 0; margin: 2px 0 0;
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid rgba(255,255,255,.5);
  display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s;
}
.checklist input::after { content: ""; width: 10px; height: 5px; border: solid var(--navy); border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.checklist input:checked { background: var(--green); border-color: var(--green); }
.checklist input:checked::after { opacity: 1; }
.checklist input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.checklist input:checked + span { opacity: .65; text-decoration: line-through; text-decoration-color: var(--green); }

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: 440px 1fr; gap: 64px; align-items: center; }
.video-frame { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid var(--navy); background: var(--navy); }
/* La vidéo garde son format 9:16 et s'affiche en entier, sans être rognée */
.video-frame video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.tag { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; border: 2px solid var(--navy); }
.tag-green { background: var(--green); border-color: var(--green); }
.link-arrow { font-weight: 700; color: var(--green-dark); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 500; color: var(--green-dark); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }
.faq a { color: var(--green-dark); font-weight: 700; }

/* ---------- Contact ---------- */
.section-contact { background: var(--ink); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.big-phone { display: block; font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -.02em; text-decoration: none; line-height: 1.05; margin-bottom: 32px; }
.big-phone:hover { color: var(--green); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; font-size: 1.1rem; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list svg { color: var(--green); width: 1.4em; height: 1.4em; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-form { background: var(--cream); color: var(--navy); border-radius: var(--radius); padding: 34px; }
.form-note { color: var(--muted); font-size: .92rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field textarea {
  font: inherit; color: inherit; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--white); width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(61,220,151,.25); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.form-result { display: grid; gap: 10px; margin-top: 18px; }
.form-result label { font-weight: 700; font-size: .9rem; }
.form-result textarea { font: inherit; font-size: .92rem; color: inherit; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--green-mid); background: var(--white); width: 100%; resize: vertical; }
.send-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.send-row .btn { padding: 14px 16px; }
#send-sms { background: var(--green-dark); }
.link-btn { font: inherit; color: var(--green-dark); font-weight: 700; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.webmail { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--cream-2); font-size: .92rem; }
.webmail a { color: var(--green-dark); font-weight: 700; }
@media (max-width: 400px) { .send-row { grid-template-columns: 1fr; } }
.form-error { color: #c0392b; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c6cbe0; padding: 36px 0 90px; font-size: .92rem; }
.footer-inner { display: grid; gap: 10px; }
.site-footer .brand { color: var(--white); letter-spacing: 0; font-weight: 700; }
.site-footer .brand img { width: 36px; height: 36px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--green); }
.copy { opacity: .7; }

/* ---------- Floating call ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: var(--navy);
  display: none; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45);
}
.fab svg { width: 26px; height: 26px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seal img, .seal-ring { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .price-card { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 400px 1fr; gap: 40px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 14px; border: 0; padding: 14px; }
  .hero-grid, .docs-grid, .contact-grid, .video-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .seal { width: min(260px, 64vw); }
  /* Sur téléphone : la vidéo tient entièrement dans l'écran (max. 70 % de sa hauteur) */
  .video-frame { width: 100%; max-width: min(400px, calc(70vh * 9 / 16 + 16px), calc(70svh * 9 / 16 + 16px)); margin-inline: auto; }
  .fab { display: grid; }
}
@media (max-width: 560px) {
  .cards, .steps, .field-row { grid-template-columns: 1fr; }
  .price-main { padding: 30px; }
  .price span { font-size: 4.6rem; }
  .price-list li { padding: 20px 22px; }
  .contact-form { padding: 24px 20px; }
  .hero-actions .btn { width: 100%; }
  .brand span { font-size: .95rem; }
}
