/* TafPourMoi — site vitrine. Mêmes codes que l'app : palette Sorbet, Unbounded + Manrope, dégradé pêche → lilas → menthe. */
:root {
  --bg: #FBF9FF;
  --surface: #FFFFFF;
  --raise: #F2EEFA;
  --line: rgba(40, 24, 90, .10);
  --text: #1C1633;
  --dim: #5F5878;
  --peach: #E85A30;
  --lilac: #6A4CF0;
  --mint: #0B8F6A;
  --grad: linear-gradient(120deg, #FF9A76, #A68BFF 55%, #5FE0B9);
  --ink: #1C1633;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #09090F; --surface: #13131D; --raise: #1C1C29; --line: rgba(255,255,255,.09);
    --text: #F5F3FF; --dim: #A29EBD; --peach: #FFB59E; --lilac: #B8A4FF; --mint: #8BF0D3;
    --grad: linear-gradient(120deg, #FFB59E, #B8A4FF 55%, #8BF0D3); --ink: #14121F; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #09090F; --surface: #13131D; --raise: #1C1C29; --line: rgba(255,255,255,.09);
  --text: #F5F3FF; --dim: #A29EBD; --peach: #FFB59E; --lilac: #B8A4FF; --mint: #8BF0D3;
  --grad: linear-gradient(120deg, #FFB59E, #B8A4FF 55%, #8BF0D3); --ink: #14121F; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 17px/1.6 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--lilac); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--dim); max-width: 34em; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 800 1.15rem var(--display); letter-spacing: -.02em; }
.brand-orb { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); position: relative; }
.brand-orb::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--bg); }
.top nav { display: flex; gap: 26px; }
.top nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a:hover { color: var(--lilac); }
@media (max-width: 820px) { .top nav { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 16px; padding: 14px 22px; font: 700 1rem var(--body); cursor: pointer; text-decoration: none; }
.btn-grad { background: var(--grad); color: var(--ink); }
.btn-grad:active { transform: scale(.98); }
.btn-small { padding: 10px 16px; border-radius: 12px; font-size: .92rem; }

/* ---------- Héros ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 .flow { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; }
.hero-free { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: .95rem; }
.hero-free span { display: inline-flex; align-items: center; gap: 8px; }
.hero-free span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }

.signup { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.signup input[type=email] { flex: 1 1 240px; min-width: 0; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); border-radius: 16px; padding: 14px 16px; font: 500 1rem var(--body); }
.signup input[type=email]:focus { outline: none; border-color: var(--lilac); }
.signup-note { margin-top: 10px; font-size: .85rem; color: var(--dim); min-height: 1.4em; }
.signup-note.ok { color: var(--mint); font-weight: 700; }
.signup-note.err { color: var(--peach); font-weight: 700; }

/* Téléphone : l'élément mémorable de la page, la carte d'offre telle qu'elle apparaît dans l'app */
.phone { justify-self: center; width: min(100%, 340px); aspect-ratio: 9 / 18.5; border-radius: 46px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(90, 60, 160, .22), inset 0 0 0 7px var(--raise); padding: 26px 18px 18px; display: flex; flex-direction: column; position: relative; }
.phone-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 4px; }
.phone-head b { font: 700 1.05rem var(--display); }
.phone-head small { display: block; color: var(--dim); font-size: .72rem; }
.phone-chip { font-size: .66rem; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: var(--raise); border: 1px solid var(--line); white-space: nowrap; }
.deck { position: relative; flex: 1; margin-top: 14px; }
.card { position: absolute; inset: 0; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; overflow: hidden; }
.card.behind { transform: translateY(10px) scale(.95); opacity: .55; }
.card.front { animation: nudge 5.5s ease-in-out 1.2s infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateX(26px) rotate(4deg); } 88% { transform: translateX(0) rotate(0); } }
.card .glow { position: absolute; left: -30%; right: -30%; bottom: -45%; height: 70%; background: var(--grad); filter: blur(50px); opacity: .28; pointer-events: none; }
.logo { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font: 800 1.2rem var(--display); color: var(--ink); background: #B8A4FF; }
.card h3 { margin-top: 16px; font-size: 1.05rem; }
.card .co { color: var(--dim); font-size: .8rem; font-weight: 600; margin-top: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-size: .66rem; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: var(--raise); }
.tag.type { background: var(--text); color: var(--bg); }
.why { margin-top: 12px; font-size: .74rem; font-weight: 700; color: var(--mint); }
.ring { margin-top: auto; display: flex; align-items: center; gap: 12px; position: relative; }
.ring svg { width: 54px; height: 54px; transform: rotate(-90deg); }
.ring b { font: 800 1.25rem var(--display); }
.ring small { display: block; color: var(--dim); font-size: .68rem; font-weight: 600; }
.src { position: relative; margin-top: 10px; font-size: .62rem; color: var(--dim); }
.phone-actions { display: flex; justify-content: center; gap: 16px; padding-top: 14px; }
.phone-actions span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); font-size: 1.1rem; }
.phone-actions span.go { width: 58px; height: 58px; border: 0; background: var(--grad); color: var(--ink); font-weight: 800; }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 680px; }
.section-head p { margin-top: 16px; color: var(--dim); font-size: 1.08rem; }

/* Les 3 étapes : une vraie séquence, donc numérotée */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--text); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { padding: 26px 28px 8px 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 820px) { .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.step-n { font: 800 3.2rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { margin-top: 18px; }
.steps p { margin-top: 10px; color: var(--dim); }

/* Gratuit / IA */
.split { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.side { border-radius: 28px; padding: clamp(24px, 4vw, 38px); }
.side.free { background: var(--surface); border: 1.5px solid var(--line); }
.side.ai { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.price { font: 800 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); margin-top: 18px; }
.price small { font: 600 1rem var(--body); color: var(--dim); letter-spacing: 0; }
.side ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.side li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.side li::before { content: "✓"; font-weight: 800; color: var(--mint); }
.side.ai li::before { content: "✦"; color: var(--lilac); }
.side .fine { margin-top: 20px; font-size: .9rem; color: var(--dim); }
.plans { margin-top: 22px; display: grid; gap: 8px; font-size: .95rem; }
.plans div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.plans div:last-child { border-bottom: 0; }
.plans b { white-space: nowrap; }

/* Le délai de 3 mois */
.deadline { background: var(--text); color: var(--bg); }
.deadline .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
@media (max-width: 820px) { .deadline .wrap { grid-template-columns: 1fr; } }
.big-j { font: 800 clamp(5rem, 15vw, 10rem)/.9 var(--display); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.deadline h2 { color: var(--bg); }
.deadline p { margin-top: 16px; color: color-mix(in srgb, var(--bg) 78%, transparent); max-width: 36em; }

/* Transparence */
.facts { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 44px) clamp(28px, 6vw, 72px); max-width: 940px; }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr; } }
.facts h3 { padding-top: 16px; border-top: 1px solid var(--line); }
.facts p { margin-top: 10px; color: var(--dim); font-size: .98rem; }

/* FAQ */
.faq { margin-top: 36px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 700 1.4rem var(--display); color: var(--lilac); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--dim); max-width: 44em; }

/* Appel final */
.final { text-align: center; }
.final .lead { margin: 18px auto 0; }
.final .signup { margin: 30px auto 0; justify-content: center; }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: .9rem; color: var(--dim); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--dim); }

/* Pages légales */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.25rem; margin-top: 40px; }
.legal p, .legal li { margin-top: 12px; color: var(--dim); }
.legal ul { padding-left: 20px; }
.legal .updated { margin-top: 12px; font-size: .9rem; }
.todo { background: color-mix(in srgb, var(--peach) 16%, transparent); color: var(--text); padding: 1px 6px; border-radius: 6px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card.front { animation: none; } }
