/* DesiDecor — charte : fond encre profond, dégradé orange → rose → violet, verre dépoli. */
@font-face { font-family: 'Sora'; font-weight: 300 800; font-display: swap; src: url(../fonts/Sora-latin-300_800.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Sora'; font-weight: 300 800; font-display: swap; src: url(../fonts/Sora-latin-ext-300_800.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-weight: 300 800; font-display: swap; src: url(../fonts/Manrope-latin-300_800.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Manrope'; font-weight: 300 800; font-display: swap; src: url(../fonts/Manrope-latin-ext-300_800.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #07080f;
  --ink-2: #0d0e1a;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f3f8;
  --muted: #9b9db8;
  --orange: #ff7a3d;
  --rose: #ff3d7f;
  --violet: #8b5cff;
  --blue: #5b6cff;
  --green: #2fd39a;
  --grad: linear-gradient(100deg, #ff9a52 0%, #ff7a3d 25%, #ff3d7f 60%, #a24dff 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 122, 61, .18), rgba(255, 61, 127, .14) 45%, rgba(139, 92, 255, .18));
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .55);
  --head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Halo d'ambiance */
.aurora { position: fixed; inset: -20vh -10vw auto; height: 90vh; pointer-events: none; z-index: -1;
  background: radial-gradient(40% 50% at 20% 20%, rgba(255, 122, 61, .22), transparent 70%),
              radial-gradient(35% 45% at 80% 10%, rgba(139, 92, 255, .25), transparent 70%),
              radial-gradient(30% 40% at 55% 45%, rgba(255, 61, 127, .14), transparent 70%);
  filter: blur(20px); }
.grid-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700;
  font-family: var(--head); font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 34px rgba(255, 61, 127, .35); }
.btn-primary:hover { box-shadow: 0 16px 44px rgba(255, 61, 127, .5); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px) saturate(140%); background: rgba(7, 8, 15, .62); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand img { width: 40px; height: 34px; }
.brand b { font-weight: 800; }
.brand .d2 { background: linear-gradient(90deg, #ff4f8b, #a24dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.nav a:hover, .nav a.active { color: var(--text); background: var(--surface); }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); border-radius: 12px; width: 44px; height: 44px; font-size: 20px; }

/* Héros */
.hero { padding: 90px 0 60px; position: relative; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 700; color: #ffd5c2; margin-bottom: 22px; }
.eyebrow .pill { background: var(--grad); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; }
.hero .lead { font-size: 19px; color: #c8c9dc; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-proof span::before { content: '✓'; color: var(--green); font-weight: 800; margin-right: 8px; }

.stage-visual { position: relative; height: 560px; }
.device { position: absolute; border-radius: 26px; overflow: hidden; background: #000; box-shadow: var(--shadow), 0 0 0 1px var(--line-2); }
.device video { width: 100%; height: 100%; object-fit: cover; }
.device.phone { width: 270px; aspect-ratio: 9 / 16; right: 8%; top: 0; border: 8px solid #15162a; border-radius: 34px; animation: float 7s ease-in-out infinite; z-index: 2; }
.device.laptop { width: 470px; aspect-ratio: 16 / 9; left: 0; bottom: 40px; border: 8px solid #15162a; border-radius: 18px; animation: float 8s ease-in-out infinite reverse; }
.device-badge { position: absolute; z-index: 3; padding: 12px 16px; border-radius: 16px; background: rgba(20, 21, 38, .82); border: 1px solid var(--line-2); backdrop-filter: blur(14px);
  box-shadow: var(--shadow); font-size: 13px; display: flex; gap: 12px; align-items: center; }
.device-badge b { font-family: var(--head); font-size: 15px; display: block; }
.device-badge .dot { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); font-size: 18px; }
.badge-1 { left: 6%; top: 40px; animation: float 6s ease-in-out infinite; }
.badge-2 { right: 0; bottom: 0; animation: float 7.5s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Sections */
section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .kicker { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }

.strip { padding: 26px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.015); }
.strip .container { display: flex; justify-content: space-around; gap: 24px; flex-wrap: wrap; color: var(--muted); font-family: var(--head); font-weight: 600; font-size: 15px; }
.strip b { color: var(--text); font-size: 26px; display: block; font-weight: 800; }
.strip div { text-align: center; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.step::before { counter-increment: s; content: '0' counter(s); font-family: var(--head); font-size: 64px; font-weight: 800; position: absolute; right: 18px; top: 4px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .25; }
.step h3 { font-size: 21px; margin-top: 8px; }
.step p { color: var(--muted); margin: 0; }
.step .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: var(--grad-soft); border: 1px solid var(--line-2); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--line);
  transition: transform .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); border-color: var(--line-2); }
.feature .ico { font-size: 26px; margin-bottom: 14px; }
.feature h3 { font-size: 19px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
.feature.big { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.feature.big video { border-radius: 14px; border: 1px solid var(--line-2); }

.showcase { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: stretch; }
.show-card { border-radius: 24px; padding: 22px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.show-card video { border-radius: 16px; width: 100%; background: #000; }
.show-card.portrait video { aspect-ratio: 9/16; object-fit: cover; max-height: 600px; margin: 0 auto; width: auto; }
.show-card h3 { margin: 0; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--line); color: #d9daea; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; padding: 34px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.hot { background: linear-gradient(180deg, rgba(255, 61, 127, .12), rgba(139, 92, 255, .08)); border-color: rgba(255, 61, 127, .45); box-shadow: 0 30px 80px rgba(255, 61, 127, .15); transform: translateY(-8px); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.plan h3 { font-size: 22px; margin-bottom: 4px; }
.plan .tagline { color: var(--muted); font-size: 14px; min-height: 44px; }
.plan .price { font-family: var(--head); font-size: 44px; font-weight: 800; margin: 14px 0 2px; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.plan .tokens { font-weight: 700; color: #ffd0bd; margin-bottom: 4px; }
.plan .per { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: #d6d7e6; }
.plan li::before { content: '✦'; color: var(--orange); }
.trial-banner { margin-top: 30px; padding: 24px 28px; border-radius: 20px; background: var(--grad-soft); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.trial-banner b { font-family: var(--head); font-size: 20px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--head); font-weight: 700; padding: 16px 0; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

.cta-final { text-align: center; padding: 70px 30px; border-radius: 32px; background: radial-gradient(60% 120% at 50% 0%, rgba(255, 61, 127, .28), transparent 70%), var(--ink-2); border: 1px solid var(--line-2); }
.cta-final h2 { font-size: clamp(30px, 4vw, 52px); }

/* Formulaires */
.form-card { max-width: 720px; margin: 0 auto; padding: 34px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label.f { display: block; font-size: 13.5px; font-weight: 700; color: #cfd0e2; margin-bottom: 6px; }
input.i, select.i, textarea.i { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); color: var(--text); font: inherit; }
input.i:focus, select.i:focus, textarea.i:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255, 61, 127, .15); }
textarea.i { min-height: 110px; resize: vertical; }
.plan-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.plan-pick label { display: block; cursor: pointer; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); }
.plan-pick input { accent-color: var(--rose); margin-right: 8px; }
.plan-pick label:has(input:checked) { border-color: var(--rose); background: rgba(255, 61, 127, .1); }
.bank-box { padding: 18px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px dashed var(--line-2); font-size: 14.5px; }
.bank-box code { font-size: 15px; color: #ffd0bd; }
.flash { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; border: 1px solid; font-weight: 600; }
.flash-ok { background: rgba(47, 211, 154, .1); border-color: rgba(47, 211, 154, .4); color: #9ff0d1; }
.flash-err { background: rgba(255, 82, 82, .1); border-color: rgba(255, 82, 82, .4); color: #ffb3b3; }
.flash-info { background: rgba(91, 108, 255, .1); border-color: rgba(91, 108, 255, .4); color: #c3c9ff; }
.page-hero { padding: 70px 0 30px; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); }

/* Pied de page */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255,255,255,.02)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding: 60px 0 40px; }
.footer-grid h4 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-grid a { display: block; text-decoration: none; color: #cfd0e2; padding: 4px 0; font-size: 15px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.footer-bottom a { color: #ffb48f; text-decoration: none; font-weight: 700; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero .container, .showcase, .feature.big { grid-template-columns: 1fr; }
  .stage-visual { height: 520px; max-width: 560px; margin: 0 auto; width: 100%; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .feature.big { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0; padding: 14px 20px; background: rgba(7,8,15,.96); border-bottom: 1px solid var(--line); }
  .header-cta { margin-left: 0; }
  .features, .steps, .form-grid { grid-template-columns: 1fr; }
  .feature.big { grid-column: auto; }
  .device.laptop { width: 92%; }
  .device.phone { width: 190px; }
  .stage-visual { height: 440px; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .plan.hot { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .device, .device-badge { animation: none; } .reveal { opacity: 1; transform: none; } }

/* Espace client */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.kpi { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.kpi span { color: var(--muted); font-size: 14px; font-weight: 600; }
.kpi b { display: block; font-family: var(--head); font-size: 42px; font-weight: 800; margin: 4px 0; }
.kpi small { color: var(--muted); }
.kpi.hot { background: var(--grad-soft); border-color: rgba(255, 61, 127, .4); }
.kpi.hot b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.panel { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow-x: auto; }
.panel h3 { font-size: 18px; margin-bottom: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; color: var(--muted); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; padding: 10px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; border: 1px solid; }
.st-en_attente { color: #ffd38a; border-color: rgba(255, 211, 138, .4); background: rgba(255, 211, 138, .08); }
.st-validee { color: #9ff0d1; border-color: rgba(47, 211, 154, .4); background: rgba(47, 211, 154, .08); }
.st-refusee, .st-annulee { color: #ffb3b3; border-color: rgba(255, 82, 82, .4); background: rgba(255, 82, 82, .08); }
@media (max-width: 900px) { .kpis, .panel-grid { grid-template-columns: 1fr; } }

/* Retouche photos et agents IA */
.ag-demo { display: grid; gap: 10px; }
.ag-demo p { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-size: 14px; }
.ag-demo b { display: block; font-size: 12px; margin-bottom: 3px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.compare { margin-top: 44px; overflow-x: auto; }
.compare table { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare td:first-child, .compare th:first-child { text-align: left; color: var(--muted); }
.compare thead th { font-family: var(--head); font-size: 17px; background: var(--surface); }
.compare th.hot { background: var(--grad-soft); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody td:not(:first-child) { font-weight: 700; }
.compare > p { font-size: 14px; margin-top: 14px; text-align: center; }
