:root {
  --ink: #121212;
  --muted: #4F4F4F;
  --bg: #F5F5F4;
  --white: #FFFFFF;
  --red: #D9381A;
  --red-em: #E8441F;
  --accent: #FF5332;
  --blush: #FFE9E3;
  --line: rgba(18, 18, 18, 0.1);
  --serif: Fraunces, Georgia, serif;
  --sans: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--red); }
input, select, textarea, button { font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
h1, h2, h3, p, ul { margin: 0; }
em { font-weight: 400; }

.container { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--red); }
.serif { font-family: var(--serif); font-weight: 500; }
.em { color: var(--red-em); }
.lead { color: var(--muted); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -1px; }
.stack { display: flex; flex-direction: column; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 17px; cursor: pointer;
  border: 0; transition: background-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: #B92E13; color: var(--white); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); font-weight: 500; background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); min-height: 44px; padding: 0 22px; font-weight: 500; font-size: 15px; }
.btn-dark:hover { background: #333; color: var(--white); }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { display: block; width: auto; }
.brand .logo-pp { height: 44px; }
.brand .logo-osm { height: 28px; }
.brand .x { font-size: 20px; color: var(--muted); font-weight: 300; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-text { flex: 999 1 520px; min-width: 0; gap: 24px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -1.5px; }
.hero h1 em { color: var(--red-em); }
.hero-text > p { font-size: 18px; color: var(--muted); max-width: 580px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--muted); }
.checks span { display: inline-flex; align-items: center; gap: 8px; }

.offer-card { flex: 1 1 340px; min-width: 0; background: var(--ink); color: var(--white); border-radius: 28px; padding: 40px 36px; gap: 20px; }
.offer-card .kicker { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.72); }
.offer-card .title { font-size: 17px; font-weight: 500; }
.offer-card .big { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(96px, 12vw, 148px); line-height: .9; color: var(--accent); letter-spacing: -4px; }
.price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price .now { font-family: var(--serif); font-size: 44px; font-weight: 500; letter-spacing: -1px; }
.price .was { font-size: 18px; color: rgba(255,255,255,.62); text-decoration: line-through; }
.offer-card .note { font-size: 15px; color: rgba(255,255,255,.75); }
.coupon { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px dashed rgba(255,255,255,.4); border-radius: 14px; padding: 14px 18px; }
.coupon span:first-child { font-size: 14px; color: rgba(255,255,255,.75); }
.coupon strong { font-weight: 600; font-size: 18px; letter-spacing: 2px; }
.offer-card .small { font-size: 13px; color: rgba(255,255,255,.62); }

/* Steps (avant / après) */
.section { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); gap: 40px; }
.section.first { padding-top: 0; }
.section-head { gap: 12px; max-width: 760px; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.grid-4b { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 36px); gap: 18px; }
.card.highlight { border: 2px solid var(--red); }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.card-title { display: flex; align-items: center; gap: 12px; }
.card-title h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; }
.icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--bg); flex: none; }
.icon-circle.blush { background: var(--blush); }
.badge { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--red); color: var(--white); font-weight: 600; font-size: 14px; }
.card ul { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.card strong { font-weight: 600; }

/* Mise en place */
.band { background: var(--white); border-top: 1px solid rgba(18,18,18,.08); border-bottom: 1px solid rgba(18,18,18,.08); }
.band .section { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.price-dark .now { font-family: var(--serif); font-size: 40px; font-weight: 500; }
.price-dark .was { font-size: 17px; color: var(--muted); text-decoration: line-through; }
.step { background: var(--bg); border-radius: 20px; padding: 28px; gap: 10px; }
.step .num { font-family: var(--serif); font-size: 40px; color: var(--red); line-height: 1; }
.step h3 { font-size: 18px; font-weight: 600; }
.step p { color: var(--muted); font-size: 15px; }

/* Forfait */
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--blush); border-radius: 999px; padding: 10px 20px; font-weight: 600; }
.pill span { color: var(--red); }
.forfait { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 4vw, 56px); }
.forfait .grid-2x2 { flex: 1.5 1 540px; min-width: 0; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }

/* Illustration « je valide » */
.illu { flex: 1 1 340px; max-width: 440px; margin: 0 auto; padding: 14% 7% 0 0; }
.illu-float { position: relative; animation: illu-float 4.5s ease-in-out infinite; }
.illu-scene { display: block; width: 100%; height: auto; }
.illu-bubble {
  position: absolute; left: 62.1%; top: -11.85%; width: 44.2%; height: auto;
  transform-origin: 8% 96%; /* pointe de la bulle */
  opacity: 0; transform: scale(.3) rotate(-8deg);
  transition: opacity .35s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1);
}
.illu.is-visible .illu-bubble { opacity: 1; transform: scale(1) rotate(0); transition-delay: .25s; }
@keyframes illu-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .illu-float { animation: none; }
  .illu-bubble { transition: none; opacity: 1; transform: none; }
}

.feature { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; gap: 14px; }
.feature h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; }
.feature ul { padding-left: 18px; color: var(--muted); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }

/* Démo / formulaire */
.demo { background: var(--ink); color: var(--white); scroll-margin-top: 0; }
.demo-inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.demo-text { flex: 1 1 340px; min-width: 0; gap: 20px; }
.demo-text .eyebrow { color: var(--accent); }
.demo-text h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -1px; }
.demo-text h2 em { color: var(--accent); }
.demo-text p { font-size: 17px; color: rgba(255,255,255,.75); }
.demo-promo { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding-top: 8px; }
.demo-promo .big { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--accent); }
.demo-promo span:last-child { font-size: 16px; color: rgba(255,255,255,.75); }

.form-card { flex: 999 1 480px; min-width: 0; background: var(--white); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 40px); }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .form .full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 0 14px; border: 1px solid rgba(18,18,18,.25); border-radius: 12px; background: var(--bg); color: var(--ink); width: 100%;
}
.field textarea { padding: 12px 14px; resize: vertical; min-height: 96px; }
.field input.code { font-weight: 600; letter-spacing: 1px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); }
.consent { display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); flex: none; }
.consent label { font-size: 13px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.captcha { min-height: 65px; }
.form-error { color: var(--red); font-size: 14px; font-weight: 500; }
.form-error:empty { display: none; }
.submit { width: 100%; min-height: 56px; font-size: 18px; }
.submit[disabled] { opacity: .6; cursor: progress; }

.success { gap: 14px; align-items: flex-start; padding: 24px 0; }
.success .icon-circle { width: 56px; height: 56px; background: var(--blush); }
.success h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; }
.success p { color: var(--muted); }
.success .btn-outline { min-height: 44px; padding: 0 20px; font-size: 16px; }
[hidden] { display: none !important; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter); gap: 28px; }
.faq h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.5vw, 42px); letter-spacing: -1px; }
.faq-list { border-top: 1px solid rgba(18,18,18,.14); }
.faq-item { padding: 20px 0; border-bottom: 1px solid rgba(18,18,18,.14); }
.faq-item h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.faq-item p, .faq-item ul { color: var(--muted); }
.faq-item ul { padding-left: 18px; display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .container { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; font-size: 14px; }
.link-btn:hover { color: var(--red); }

/* Bannière cookies */
.cookie-banner {
  position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin-left: auto;
  background: var(--white); color: var(--ink); border-radius: 20px;
  box-shadow: 0 12px 40px rgba(18,18,18,.18), 0 0 0 1px var(--line);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.cookie-banner h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.cookie-banner p { font-size: 14px; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { min-height: 44px; padding: 0 18px; font-size: 15px; flex: 1 1 auto; }
.cookie-prefs { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.cookie-option { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.cookie-option strong { display: block; font-size: 15px; font-weight: 600; }
.cookie-option span { font-size: 13px; color: var(--muted); }
.cookie-option input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); flex: none; }

@media (max-width: 480px) {
  .brand .logo-pp { height: 34px; }
  .brand .logo-osm { height: 22px; }
  .brand { gap: 10px; }
  .offer-card { padding: 32px 24px; }
}
