/* ==========================================================================
   UGConic — feuille de style unique (landing, projet, merci, réserver)
   ========================================================================== */

:root {
  --ink: #000;
  --text: #1d1d1b;
  --muted: #5d5d57;
  --line: #e4e4de;
  --mist: #f3f3f0;
  --brand: #ff3d24;       /* rouge « Rec » : avatar, pastilles, décor */
  --brand-ink: #d42a12;   /* surfaces avec texte blanc (contraste AA) */
  --brand-deep: #b3230e;  /* survol */
  --brand-soft: #ffe7e1;  /* fonds teintés */
  --brand-text: #8a1d0b;  /* texte sur fond teinté */
  --white: #fff;
  --danger: #b42318;

  --r-xl: 32px;
  --r-l: 22px;
  --r-m: 14px;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid var(--ink);
  font: 500 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #262624; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-brand { background: var(--brand-ink); color: var(--white); border-color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Bandeau annonce ---------- */
.announce {
  background: var(--brand-soft); color: var(--brand-text);
  font-size: .875rem; font-weight: 500; text-align: center; padding: 9px var(--gutter);
}
.announce a { font-weight: 600; text-underline-offset: 3px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.main-nav { display: flex; gap: 30px; font-size: .9375rem; font-weight: 500; }
.main-nav a { text-decoration: none; color: var(--muted); }
.main-nav a:hover { color: var(--ink); }

/* Logo : "UGC" citron sur pastille noire + "onic" */
.logo { display: inline-flex; align-items: center; gap: .4em; text-decoration: none; font-weight: 650; font-size: 1.375rem; letter-spacing: -0.045em; color: var(--ink); }
.logo-icon { width: 1.55em; height: 1.55em; flex: none; }
.logo-invert { color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 84px) 0 0; overflow: hidden; isolation: isolate; }
.hero-blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 999px; background: var(--brand); }
.blob-1 { width: 300px; height: 92px; left: -110px; top: 90px; }
.blob-2 { width: 190px; height: 70px; left: -30px; top: 200px; background: var(--brand-soft); }
.blob-3 { width: 330px; height: 96px; right: -150px; top: 40px; }
.blob-4 { width: 210px; height: 74px; right: -40px; top: 150px; background: var(--brand-soft); }

.experts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); margin-bottom: 22px; }
.experts span.pf { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--white); font-weight: 500; }

.hero h1 {
  font-size: clamp(2.35rem, 5.6vw, 4.5rem);
  max-width: 21ch; margin: 0 auto;
  text-align: center; text-wrap: balance;
}
.hl-pill {
  display: inline-block; background: var(--brand); color: var(--white); padding: 0 .22em .04em; border-radius: 999px;
  line-height: 1.02;
}
.hero-sub { max-width: 60ch; margin: 22px auto 0; text-align: center; color: var(--muted); font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.reassure { margin-top: 16px; text-align: center; font-size: .875rem; color: var(--muted); }
.reassure svg { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

/* Rangée de "pubs" au format téléphone */
.reel {
  display: flex; gap: 18px; justify-content: center; align-items: flex-end;
  margin-top: clamp(40px, 6vw, 64px); padding: 0 var(--gutter) 0;
}
.phone {
  position: relative; flex: 0 0 auto; width: 206px; aspect-ratio: 9 / 16;
  border-radius: var(--r-l); overflow: hidden; color: var(--white);
  background: var(--bg, #bba58f);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 48px -28px rgba(20, 20, 10, .45);
}
.reel .phone:nth-child(2), .reel .phone:nth-child(4) { transform: translateY(-26px); }
.reel .phone:nth-child(3) { width: 232px; transform: translateY(-48px); }

.phone::before { /* silhouette de créateur */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 40%, var(--skin, #e7c4a5) 0 17%, transparent 17.5%),
    radial-gradient(ellipse 58% 34% at 50% 86%, var(--top, #f5f1ea) 0 99%, transparent 100%);
  opacity: .92;
}
.phone::after { /* voile pour lisibilité */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.28), transparent 26%, transparent 58%, rgba(0,0,0,.45));
}
.phone > * { position: relative; z-index: 1; }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 0; font-size: .6875rem; font-weight: 500; }
.phone-tag { background: rgba(255,255,255,.22); padding: 3px 8px; border-radius: 999px; backdrop-filter: blur(6px); }
.phone-hook {
  position: absolute; left: 10px; right: 10px; top: 58%; z-index: 1;
  background: var(--white); color: var(--ink);
  font-weight: 600; font-size: .875rem; line-height: 1.25; text-align: center;
  padding: 8px 10px; border-radius: 10px;
}
.phone-bottom { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: flex; align-items: center; justify-content: space-between; font-size: .6875rem; }
.phone-cta { background: var(--brand-ink); color: var(--white); font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.play { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.28); display: grid; place-items: center; }
.play svg { width: 11px; height: 11px; margin-left: 2px; }

/* Palettes de "tournage" par univers */
.t-beaute { --bg: #d9b3a4; --skin: #f0cdb3; --top: #fbe9e1; }
.t-food   { --bg: #e4b25b; --skin: #c99373; --top: #fff4dc; }
.t-tech   { --bg: #5f6e86; --skin: #e2bf9e; --top: #1f2633; }
.t-maison { --bg: #a7b59a; --skin: #f1d3b8; --top: #ede6d8; }
.t-sante  { --bg: #9cc3c0; --skin: #b98663; --top: #f6fbfa; }
.t-mode   { --bg: #c79eb8; --skin: #8a5a3e; --top: #2b2b2b; }
.t-animaux{ --bg: #c9a47a; --skin: #f3d6be; --top: #6a8a5a; }
.t-enfant { --bg: #f0c987; --skin: #e8bb98; --top: #5d86c9; }
.t-app    { --bg: #8f86d6; --skin: #d9a988; --top: #f3f0ff; }

.hero-note { text-align: center; font-size: .8125rem; color: var(--muted); padding: 20px var(--gutter) 0; }

/* Animation d'arrivée unique : les pubs montent en cascade */
@media (prefers-reduced-motion: no-preference) {
  .reel .phone { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .reel .phone:nth-child(1) { animation-delay: .05s; }
  .reel .phone:nth-child(2) { animation-delay: .15s; --y: -26px; }
  .reel .phone:nth-child(3) { animation-delay: .25s; --y: -48px; }
  .reel .phone:nth-child(4) { animation-delay: .35s; --y: -26px; }
  .reel .phone:nth-child(5) { animation-delay: .45s; }
  @keyframes rise { from { opacity: 0; transform: translateY(calc(var(--y, 0px) + 60px)); } to { opacity: 1; transform: translateY(var(--y, 0px)); } }
}

/* ---------- Bande plateformes ---------- */
.platforms { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 8px; padding: 22px 0; }
.platforms-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; }
.platforms p { font-size: .875rem; color: var(--muted); }
.platforms ul { display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; font-weight: 600; font-size: 1.0625rem; color: var(--ink); letter-spacing: -0.02em; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); text-wrap: balance; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 1.125rem; text-wrap: pretty; }

/* Deux grands panneaux (Studio / Atelier) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px); background: var(--mist); display: flex; flex-direction: column; }
.panel-brand { background: linear-gradient(160deg, var(--brand-soft) 0%, #ffcabd 100%); }
.panel-kicker { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.panel h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); color: var(--muted); font-weight: 400; margin-top: 4px; }
.panel-brand h3 { color: var(--brand-text); }
.panel > p { margin-top: 18px; color: var(--text); max-width: 52ch; }
.panel .btn { align-self: flex-start; margin-top: 24px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-top: auto; padding-top: 36px; }
.feature { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.feature strong { display: block; color: var(--ink); font-weight: 600; font-size: .9375rem; }
.feature span { font-size: .875rem; color: var(--muted); }
.panel-brand .feature span { color: var(--brand-text); }
.check { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; margin-top: 1px; }
.check svg { width: 12px; height: 12px; }

/* Pourquoi UGConic — 4 raisons */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.reason { border-top: 2px solid var(--ink); padding-top: 22px; }
.reason h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.25; }
.reason p { margin-top: 10px; color: var(--muted); font-size: 1rem; }

/* Bandeau CTA intermédiaire */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--ink); color: var(--white); border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 48px);
}
.cta-band p { font-size: clamp(1.25rem, 2.2vw, 1.625rem); letter-spacing: -0.02em; font-weight: 500; max-width: 34ch; line-height: 1.25; }
.cta-band small { display: block; font-size: .9375rem; color: #b9b9b2; font-weight: 400; margin-top: 6px; letter-spacing: 0; }

/* Univers & hooks */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab {
  font: 500 .9375rem/1 var(--font); padding: 11px 18px; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hook-row { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 22px; justify-content: center; }
.hook-row .phone { width: 100%; }
.hook-label { margin-top: 12px; text-align: center; font-size: .9375rem; }
.hook-label strong { display: block; color: var(--ink); font-weight: 600; }
.hook-label span { color: var(--muted); font-size: .875rem; }
.hook-caption { text-align: center; color: var(--muted); font-size: .9375rem; margin-top: 30px; }

/* Pour qui */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.audience .panel { background: var(--white); border: 1px solid var(--line); }
.audience .panel-kicker { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.audience .panel > p { color: var(--muted); }

/* Méthode (vraie séquence => numérotation) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--mist); border-radius: var(--r-l); padding: 28px 24px 30px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-ink); color: var(--white); font-weight: 600; font-size: 1.0625rem; margin-bottom: 22px;
}
.step h3 { font-size: 1.1875rem; letter-spacing: -0.02em; line-height: 1.25; }
.step p { margin-top: 10px; color: var(--muted); font-size: .9688rem; }
.step small { display: block; margin-top: 14px; font-size: .8125rem; font-weight: 600; color: var(--ink); }

/* Offres */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px 28px; display: flex; flex-direction: column; background: var(--white); }
.plan-featured { background: var(--ink); color: var(--white); border-color: var(--ink); position: relative; }
.plan-featured h3, .plan-featured .price strong { color: var(--white); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--brand-ink); color: var(--white); font-size: .8125rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; }
.plan-for { margin-top: 6px; color: var(--muted); font-size: .9375rem; min-height: 3em; }
.plan-featured .plan-for { color: #b9b9b2; }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price span.from { font-size: .875rem; color: var(--muted); width: 100%; }
.plan-featured .price span { color: #b9b9b2; }
.price strong { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.price em { font-style: normal; font-size: .9375rem; color: var(--muted); }
.plan ul { margin: 24px 0 28px; display: grid; gap: 11px; font-size: .9688rem; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan-featured .btn-primary { background: var(--brand-ink); color: var(--white); border-color: var(--brand-ink); }
.plan-featured .btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }

.guarantee {
  margin-top: 24px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  background: var(--brand-soft); border-radius: var(--r-l); padding: 22px 26px;
}
.guarantee-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-ink); color: var(--white); display: grid; place-items: center; }
.guarantee-icon svg { width: 24px; height: 24px; }
.guarantee strong { display: block; color: var(--ink); font-size: 1.0625rem; }
.guarantee p { font-size: .9688rem; color: var(--brand-text); }
.plans-note { text-align: center; color: var(--muted); font-size: .875rem; margin-top: 18px; }

/* Comparatif */
.compare-wrap { overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .9688rem; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-weight: 600; color: var(--ink); background: var(--mist); font-size: .9375rem; }
.compare thead th.us { background: var(--brand-ink); color: var(--white); }
.compare tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.compare td.us { background: var(--brand-soft); font-weight: 600; color: var(--ink); }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.compare .yes { background: var(--ink); }
.compare .no { background: var(--mist); }
.compare .yes svg, .compare .no svg { width: 12px; height: 12px; }
.compare .partial { color: var(--muted); font-size: .875rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 1.125rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 44px 24px 0; color: var(--muted); }
.faq .answer p + p { margin-top: 10px; }

/* CTA final */
.final {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--brand-ink); color: var(--white); border-radius: var(--r-xl);
  padding: clamp(44px, 7vw, 88px) clamp(24px, 5vw, 64px); text-align: center;
}
.final h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.final h2 { color: var(--white); }
.final p { max-width: 56ch; margin: 18px auto 0; color: rgba(255, 255, 255, .92); font-size: 1.125rem; }
.final .hero-ctas { margin-top: 30px; }
.final .blob { background: rgba(255,255,255,.12); z-index: -1; }
.final .blob-a { width: 260px; height: 80px; left: -80px; top: 36px; }
.final .blob-b { width: 220px; height: 72px; right: -60px; bottom: 40px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #c9c9c2; margin-top: clamp(72px, 10vw, 120px); padding: 56px 0 36px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-grid p { margin-top: 14px; max-width: 36ch; }
.footer-grid h2 { font-size: .9375rem; color: var(--white); font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.footer-grid ul { display: grid; gap: 9px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #2b2b28; font-size: .8125rem; color: #8d8d86; }

/* ==========================================================================
   Pages formulaire (projet) et merci
   ========================================================================== */
.funnel-header .header-inner { height: 68px; }
.funnel-secure { font-size: .875rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.funnel-secure svg { width: 16px; height: 16px; }

.diag { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 5vw, 56px) 0 80px; align-items: start; }
.diag-aside { position: sticky; top: 100px; }
.diag-aside h1 { font-size: clamp(2rem, 3.8vw, 3rem); text-wrap: balance; }
.diag-aside > p { margin-top: 16px; color: var(--muted); }
.diag-gets { margin-top: 28px; background: var(--brand-soft); border-radius: var(--r-l); padding: 24px; }
.diag-gets h2 { font-size: 1.0625rem; letter-spacing: -0.01em; font-weight: 600; }
.diag-gets ul { margin-top: 14px; display: grid; gap: 12px; font-size: .9688rem; }
.diag-gets li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.diag-trust { margin-top: 18px; font-size: .875rem; color: var(--muted); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 40px); }
.progress { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.progress-bar { flex: 1; height: 8px; background: var(--mist); border-radius: 999px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 25%; background: var(--ink); border-radius: 999px; transition: width .35s ease; }
.progress-label { font-size: .875rem; color: var(--muted); white-space: nowrap; }

.step-pane[hidden] { display: none; }
.step-pane > h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
.step-pane > .lead { margin-top: 8px; color: var(--muted); font-size: 1rem; }

.field { margin-top: 24px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 600; color: var(--ink); font-size: .9688rem; margin-bottom: 10px; padding: 0; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .875rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.input, .select, .textarea {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-m);
  padding: 14px 16px; min-height: 52px; transition: border-color .15s ease;
  appearance: none; -webkit-appearance: none;
}
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.textarea { min-height: 110px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: #c8c8c0; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--brand-soft); }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices.cols-1 { grid-template-columns: 1fr; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 10px; min-height: 52px; height: 100%;
  padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r-m);
  font-size: .9688rem; color: var(--ink); line-height: 1.3; transition: border-color .15s ease, background-color .15s ease;
}
.choice span::before {
  content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid #bdbdb5; border-radius: 50%; background: var(--white);
}
.choice input[type="checkbox"] + span::before { border-radius: 5px; }
.choice input:hover + span { border-color: #c8c8c0; }
.choice input:checked + span { border-color: var(--ink); background: var(--brand-soft); }
.choice input:checked + span::before { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 3px var(--brand-soft); }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-top: 24px; font-size: .875rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }

.error-msg { display: none; margin-top: 8px; color: var(--danger); font-size: .875rem; font-weight: 500; }
.has-error .error-msg { display: block; }
.has-error .input, .has-error .select { border-color: var(--danger); }
.has-error .choice span { border-color: #e7b4ae; }

.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.form-nav .btn-primary { margin-left: auto; }
.form-status { margin-top: 16px; font-size: .9375rem; }
.form-status.is-error { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Merci */
.thanks { max-width: 720px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 0; text-align: center; }
.thanks-badge { width: 76px; height: 76px; margin: 0 auto 28px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.thanks-badge svg { width: 34px; height: 34px; }
.thanks h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.thanks > p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }
.next-steps { margin-top: 40px; text-align: left; display: grid; gap: 14px; counter-reset: step; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; background: var(--mist); border-radius: var(--r-l); padding: 20px 22px; }
.next-steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--brand); font-weight: 600;
}
.next-steps strong { display: block; color: var(--ink); }
.next-steps span { color: var(--muted); font-size: .9688rem; }

/* Réservation Cal.com (merci + réserver) */
.thanks-top { padding-bottom: 32px; }
.thanks-bottom { padding-top: clamp(40px, 6vw, 72px); }
.thanks-bottom h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.thanks-bottom .next-steps { margin-top: 28px; }
.booking { max-width: 1040px; margin: 0 auto; background: var(--mist); border-radius: var(--r-xl); padding: clamp(20px, 3.5vw, 40px); }
.booking-head { text-align: center; max-width: 620px; margin: 0 auto 22px; }
.booking-head h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
.booking-head p { margin-top: 10px; color: var(--muted); }
.cal-inline { width: 100%; min-height: 560px; background: var(--white); border-radius: var(--r-l); overflow: auto; }
.cal-inline.is-fallback { min-height: 0; padding: 28px; text-align: center; color: var(--muted); }
.cal-inline.is-fallback strong { color: var(--ink); }
.booking-done { margin: 0 auto 18px; max-width: 620px; text-align: center; background: var(--brand-soft); color: var(--brand-text); font-weight: 600; padding: 14px 18px; border-radius: var(--r-m); }
.booking-alt { text-align: center; color: var(--muted); max-width: 640px; margin: 28px auto 80px; }
.booking-alt a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.final-alt { margin-top: 14px; font-size: .9688rem; color: rgba(255, 255, 255, .92); }
.final-alt a { color: var(--white); font-weight: 600; text-underline-offset: 3px; }

/* Pages légales */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) 0; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.legal h2 { font-size: 1.375rem; margin-top: 36px; letter-spacing: -0.02em; }
.legal p, .legal li { margin-top: 12px; color: var(--muted); }
.legal ul { list-style: disc; padding-left: 20px; }
.todo { background: #fff4c2; color: #6b5200; padding: 0 4px; border-radius: 4px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .reasons { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .reel .phone:nth-child(1), .reel .phone:nth-child(5) { display: none; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .duo, .audience { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan-for { min-height: 0; }
  .diag { grid-template-columns: minmax(0, 1fr); }
  .diag-aside { position: static; display: contents; }
  .diag-aside h1, .diag-aside > p:not(.diag-trust) { order: 0; }
  .form-card { order: 1; }
  .diag-gets, .diag-trust { order: 2; margin-top: 0; }
  .diag-aside > p:not(.diag-trust) { margin-top: -12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .blob-1 { width: 170px; height: 56px; left: -90px; top: 40px; }
  .blob-2 { display: none; }
  .blob-3 { width: 180px; height: 58px; right: -110px; top: 10px; }
  .blob-4 { display: none; }
  .reel {
    justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-top: 56px; padding-bottom: 12px; scrollbar-width: none;
  }
  .reel::-webkit-scrollbar { display: none; }
  .reel .phone, .reel .phone:nth-child(3) { width: 62vw; max-width: 240px; scroll-snap-align: center; }
  .reel .phone:nth-child(n) { transform: none; --y: 0px; }
  .reel .phone:nth-child(1), .reel .phone:nth-child(5) { display: block; }
  .hook-row { grid-template-columns: repeat(3, 72vw); justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .hook-row::-webkit-scrollbar { display: none; }
  .hook-row > div { scroll-snap-align: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .guarantee { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .announce-long { display: none; }
  .hero-blobs { display: none; }
  .experts { gap: 6px; }
  .hero-ctas .btn { width: 100%; }
  .reasons, .steps { grid-template-columns: 1fr; }
  .choices, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-nav .btn { flex: 1; }
  .announce { font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
