/* =============================================================
   VOICE   : studio créatif premium, confiant, lumineux
   IDEA    : une table lumineuse de photographe — les créations brillent sur fond nuit
   PICTURE : mosaïque d'œuvres générées qui défile dans le héros
   COLOUR  : nuit #0d0b12, rose lumière #ff4f8b, pêche #ffc9a8, blanc chaud
   TYPE    : Outfit (titres) + Inter (texte)
   LAYOUT  : bandes pleine largeur, contenu 1200px, studio en 3 colonnes
   Change les couleurs dans :root pour adapter toute la charte.
   ============================================================= */
/* Polices hébergées sur le site (plus rapide, aucun envoi d'adresse IP à Google) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/outfit-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/outfit-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/outfit-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/outfit-latin-800-normal.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0d0b12; --bg-2: #15121c; --bg-3: #1e1a28; --line: #2c2738;
  --ink: #f6f2f7; --muted: #a49bb0; --dim: #938ba3;
  --accent: #ff4f8b; --accent-2: #ffc9a8; --accent-ink: #1a0610;
  --ok: #4ade80; --bad: #ff6b6b; --warn: #fbbf24;
  --r: 16px; --r-sm: 10px;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --font-title: "Outfit", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.08; margin: 0 0 .4em; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.tiny { font-size: 13px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 max(4vw, 18px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .12s, background .15s, opacity .15s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 30px rgba(255,79,139,.35); }
.btn-primary:hover { background: #ff6a9d; }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-3); }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }

/* ---------- Menu ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(13,11,18,.78); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.05); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-weight: 700; font-size: 21px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: conic-gradient(from 210deg, var(--accent), var(--accent-2), var(--accent)); box-shadow: 0 0 24px rgba(255,79,139,.55); position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--bg); }
.nav-links { display: flex; gap: 22px; margin-right: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
#nav-auth { display: flex; gap: 10px; align-items: center; }
.chip-credits { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.bolt { width: 10px; height: 14px; background: var(--accent-2); clip-path: polygon(60% 0, 0 58%, 45% 58%, 35% 100%, 100% 40%, 55% 40%); }

/* ---------- Héros ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; top: -400px; background: radial-gradient(circle, rgba(255,79,139,.22), transparent 60%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,79,139,.12); color: var(--accent-2); font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 700; }
.hero h1 .glow { background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin: 18px 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: var(--muted); font-size: 14px; }
.hero-proof span::before { content: "✓ "; color: var(--ok); }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; height: 560px; mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.mosaic-col { display: flex; flex-direction: column; gap: 12px; animation: drift 38s linear infinite; }
.mosaic-col:nth-child(2) { animation-direction: reverse; animation-duration: 46s; }
.mosaic-col:nth-child(3) { animation-duration: 54s; }
.mosaic figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); flex: none; }
.mosaic img { width: 100%; aspect-ratio: var(--ar, 1); object-fit: cover; }
.mosaic figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .mosaic-col { animation: none; } }

/* ---------- Bandes / sections ---------- */
.band { padding: clamp(56px, 8vw, 110px) 0; }
.band-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 18px; }
.center { text-align: center; margin-inline: auto; }

.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; color: var(--dim); font-family: var(--font-title); font-weight: 600; font-size: 18px; padding: 26px 0; border-block: 1px solid var(--line); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.band-alt .card { background: var(--bg); }
.feature h3 { font-size: 21px; margin-top: 14px; }
.feature p { color: var(--muted); margin: 0; }
.feature-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,79,139,.12); color: var(--accent); }
.feature-ico svg { width: 24px; height: 24px; }

/* Vitrine des styles */
.styles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.style-card { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; aspect-ratio: 4/5; border: 1px solid var(--line); }
.style-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.style-card:hover img { transform: scale(1.06); }
.style-card .meta { position: absolute; inset: auto 0 0 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.style-card strong { display: block; font-family: var(--font-title); font-size: 19px; }
.style-card span { font-size: 13px; color: #ddd; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); margin: 0; }

/* Modèles */
.model-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.model-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2); }
.model-row strong { display: block; }
.model-row small { color: var(--muted); }
.price-tag { white-space: nowrap; font-weight: 600; color: var(--accent-2); font-size: 14px; }
.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(255,201,168,.14); color: var(--accent-2); white-space: nowrap; }
.badge-unl { background: rgba(74,222,128,.14); color: var(--ok); }

/* ---------- Tarifs ---------- */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); margin-bottom: 34px; }
.toggle button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-weight: 600; cursor: pointer; }
.toggle button.on { background: var(--ink); color: var(--bg); }
.save { color: var(--ok); font-size: 12px; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; position: relative; padding: 26px 22px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.plan.popular { border-color: var(--accent); background: linear-gradient(180deg, rgba(255,79,139,.10), var(--bg-2) 45%); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan .ribbon { position: absolute; top: -12px; left: 22px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; margin: 0; }
.plan .amount { font-family: var(--font-title); font-size: clamp(30px, 2.6vw, 38px); font-weight: 700; line-height: 1; white-space: nowrap; }
.plan .amount small { font-size: 14px; color: var(--muted); font-weight: 500; font-family: var(--font); }
.plan .billed { color: var(--muted); font-size: 13px; min-height: 20px; margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; flex: 1; align-content: start; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.pack { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg-2); }
.pack strong { font-family: var(--font-title); font-size: 20px; }
.fineprint { color: var(--dim); font-size: 13px; margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.cta-final { text-align: center; padding: clamp(50px, 7vw, 90px) 24px; border-radius: 28px; background: radial-gradient(ellipse at top, rgba(255,79,139,.35), transparent 65%), var(--bg-2); border: 1px solid var(--line); }
.cta-final h2 { font-size: clamp(32px, 4.5vw, 52px); }

.footer { padding: 40px 0 50px; color: var(--dim); font-size: 14px; border-top: 1px solid var(--line); margin-top: 80px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ---------- Fenêtre modale ---------- */
.modal-back { position: fixed; inset: 0; z-index: 60; background: rgba(5,4,8,.72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 18px; animation: fade .15s; }
.modal { position: relative; width: min(440px, 100%); max-height: 92vh; overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.modal-wide { width: min(860px, 100%); }
.modal h2 { font-size: 26px; padding-right: 36px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-3); cursor: pointer; }
.stack-form { display: grid; gap: 14px; margin: 18px 0; }
.stack-form label { display: grid; gap: 6px; font-weight: 500; font-size: 14px; }
input[type=email], input[type=password], input[type=text], textarea, select {
  width: 100%; min-height: 46px; padding: 11px 14px; font-size: 16px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line); outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check-line { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: 13px !important; color: var(--muted); }
.check-line input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.check-line a { color: var(--ink); }
[aria-invalid="true"] { border-color: var(--bad) !important; }
.form-error { color: var(--bad); font-size: 14px; margin: 0; }
.switch { text-align: center; margin: 0 0 8px; }
.switch a, .tiny a { color: var(--accent-2); }
@keyframes fade { from { opacity: 0; } }

.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 80; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.toast { padding: 12px 16px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line); box-shadow: var(--shadow); animation: fade .2s; }
.toast.error { border-color: var(--bad); }
.toast.success { border-color: var(--ok); }

/* ---------- Réactif ---------- */
@media (max-width: 1020px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .styles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .mosaic { height: 380px; }
  .grid-3, .steps, .packs { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  #nav-auth .btn-ghost { display: none; }
  .nav .wrap { gap: 12px; }
  .logo { font-size: 19px; }
  #nav-auth .btn { padding: 0 14px; }
}

/* =============================================================
   ACCUEIL v2 — centré sur les modèles IA
   ============================================================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.home { background:
  radial-gradient(1200px 700px at 85% -10%, rgba(255,79,139,.20), transparent 60%),
  radial-gradient(900px 600px at -10% 20%, rgba(255,160,90,.10), transparent 60%),
  var(--bg); }
.glow { background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero2 { padding: clamp(36px, 6vw, 80px) 0 clamp(30px, 5vw, 60px); }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero2 h1 { font-size: clamp(42px, 5.4vw, 70px); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; }
.hero2 .lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 560px; margin: 20px 0 30px; }

.stage { position: relative; height: 600px; }
.stage-glow { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255,79,139,.45), transparent 65%); filter: blur(30px); }
.stage-card { position: absolute; left: 55%; top: 50%; width: min(320px, 68%); transform: translate(-50%, -50%); margin: 0; border-radius: 26px; overflow: hidden; background: var(--bg-2); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 100px rgba(0,0,0,.6); transition: opacity .26s, transform .26s; }
.stage-card.swap { opacity: 0; transform: translate(-50%, -48%) scale(.98); }
.stage-card figcaption > div { min-width: 0; }
.stage-card img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.stage-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 16px; }
.stage-card strong { display: block; font-family: var(--font-title); font-size: 19px; }
.stage-card figcaption span:not(.badge) { color: var(--muted); font-size: 13px; display: block; line-height: 1.35; }
.shot { position: absolute; width: 132px; margin: 0; border-radius: 16px; overflow: hidden; border: 3px solid var(--bg); box-shadow: 0 20px 50px rgba(0,0,0,.55); background: var(--bg-2); }
.shot img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.shot figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(0,0,0,.6); }
.shot-0 { left: 0; top: 8%; transform: rotate(-7deg); }
.shot-1 { right: 0; top: 30%; transform: rotate(6deg); }
.shot-2 { left: 2%; top: 46%; transform: rotate(4deg); }
.stage-pill { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(21,18,28,.85); backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); }
.stage-pill-a { right: 2%; top: 4%; }
.stage-pill-b { left: 34%; bottom: 0; color: var(--accent-2); }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

.band-tight { padding: 10px 0 clamp(40px, 6vw, 70px); }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.row-head h2 { font-size: clamp(26px, 3vw, 34px); margin: 0; }
.row-head p { margin: 0; }
.scenes-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.scenes-strip figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--line); }
.scenes-strip img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.scenes-strip figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }

.personas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 340px)); gap: 18px; justify-content: center; }
.pcard { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.pcard:hover { transform: translateY(-4px); border-color: rgba(255,79,139,.5); }
.pcard-img { position: relative; }
.pcard-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.pcard-img .badge { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); color: #fff; text-transform: capitalize; }
.pcard-body { display: flex; flex-direction: column; gap: 4px; padding: 16px; flex: 1; }
.pcard-body strong { font-family: var(--font-title); font-size: 19px; }
.pcard-body p { color: var(--muted); font-size: 14px; margin: 6px 0 14px; flex: 1; }

.creator-demo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.creator-demo h2 { font-size: clamp(34px, 4.2vw, 52px); }
.big-p { font-size: 18px; max-width: 600px; }
.ai-box { margin-top: 24px; padding: 14px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,79,139,.06); }
.ai-box textarea { border: 0; background: transparent; min-height: 84px; resize: vertical; font-size: 17px; padding: 6px 8px; }
.ai-box textarea:focus { outline: none; }
.ai-box-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
.ai-box .chip { min-height: 34px; font-size: 13px; padding: 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); cursor: pointer; font-weight: 500; }
.chip:hover { color: var(--ink); }
.chip.on { border-color: var(--accent); color: var(--ink); background: rgba(255,79,139,.13); }
.sheet-card { border-radius: 24px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(2deg); }
.sheet-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.sheet-body { padding: 18px; }
.sheet-body strong { font-family: var(--font-title); font-size: 21px; }
.trait-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.trait-chips span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--bg-3); color: var(--muted); text-transform: capitalize; }
.row-badges { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }

.cta-faces { display: flex; justify-content: center; margin-bottom: 20px; }
.cta-faces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 3px solid var(--bg-2); margin-left: -14px; }
.cta-faces img:first-child { margin-left: 0; }

@media (max-width: 1020px) { .personas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hero2-grid, .creator-demo { grid-template-columns: 1fr; }
  .stage { height: 520px; }
  .sheet-card { max-width: 420px; transform: none; }
}
@media (max-width: 560px) {
  .stage { height: 460px; }
  .shot { width: 96px; }
  .stage-pill-a { top: 0; right: 0; }
  .stage-pill-b { display: none; }
  .personas-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard-body p { display: none; }
  .pcard-body .btn { font-size: 13px; padding: 0 10px; }
}

.photo-link { display: flex; gap: 14px; align-items: center; width: 100%; margin-top: 14px; padding: 16px 18px; border-radius: 18px; border: 1px dashed rgba(255,201,168,.4); background: rgba(255,201,168,.05); color: var(--muted); text-align: left; cursor: pointer; font-size: 15px; }
.photo-link:hover { border-color: var(--accent-2); color: var(--ink); }
.photo-link strong { color: var(--ink); }
.pl-ico { flex: none; position: relative; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.pl-ico::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 3px solid #fff; }

/* Preuves : vraies photos générées */
.proof-grid { columns: 4 220px; column-gap: 14px; }
.proof { position: relative; margin: 0 0 14px; break-inside: avoid; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); cursor: zoom-in; transition: transform .25s; }
.proof:hover { transform: translateY(-3px); }
.proof img { width: 100%; aspect-ratio: var(--ar, 3/4); object-fit: cover; }
.proof figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.78)); display: grid; gap: 2px; }
.proof strong { font-family: var(--font-title); font-size: 18px; }
.proof span { font-size: 13px; color: #e6e1ea; }
.proof em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--accent-2); margin-top: 4px; }

.cta-faces img { object-position: 50% 22%; }
.proof-viewer { position: fixed; inset: 0; z-index: 80; background: rgba(5,4,8,.94); display: grid; grid-template-columns: 60px minmax(0, 1fr) 60px; align-items: center; justify-items: center; padding: 20px; }
.proof-viewer figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.proof-viewer img { max-height: 84vh; max-width: 100%; border-radius: 16px; }
.proof-viewer figcaption { color: var(--muted); font-size: 14px; text-align: center; }
.pv-x { position: fixed; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-3); color: var(--ink); font-size: 18px; cursor: pointer; }
.pv-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
@media (max-width: 560px) { .proof-viewer { grid-template-columns: 40px minmax(0, 1fr) 40px; padding: 8px; } .pv-nav { width: 38px; height: 38px; } }
.stage-card figcaption .badge { flex: none; }

.pcard-feat { border-color: rgba(255,79,139,.55); box-shadow: 0 0 0 1px rgba(255,79,139,.35), var(--shadow); }
.pcard-img .badge.feat { background: var(--accent); color: var(--accent-ink); text-transform: none; }

.pcard-new { border-style: dashed; background: linear-gradient(160deg, rgba(255,79,139,.10), var(--bg-2) 60%); }
.pcard-new-in { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 30px 24px; min-height: 420px; }
.pcard-new .plus { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: var(--accent); border: 2px dashed rgba(255,79,139,.6); }
.pcard-new strong { font-family: var(--font-title); font-size: 22px; }
.pcard-new p { color: var(--muted); margin: 0 0 6px; }

/* ---------- Bandeau cookies ---------- */
.cookie-banner { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.cookie-banner p { margin: 0; font-size: 14px; color: var(--muted); }
.cookie-banner strong { color: var(--ink); margin-right: 6px; }
.cookie-banner a { color: var(--ink); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1 1 140px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ---------- Appel à l'action collant (mobile) ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(13,11,18,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s; }
  .sticky-cta.show { transform: none; }
  .sticky-cta span { font-size: 13px; color: var(--muted); line-height: 1.3; }
  .sticky-cta .btn { flex: none; margin-left: auto; }
  body.home { padding-bottom: 76px; }
  .cookie-banner { bottom: 84px; }
}

/* ---------- Pages d'erreur ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 18px; }
.error-page .code { font-family: var(--font-title); font-size: clamp(72px, 16vw, 140px); font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.error-page .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal p, .legal li { color: var(--muted); }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--muted); }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }
.legal th { color: var(--ink); }
.note { padding: 14px 18px; border: 1px solid var(--warn); border-radius: 12px; background: rgba(251,191,36,.08); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.toc a { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--muted); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
