:root {
  --nuit: #0B1F3A;
  --bleu: #0142A7;
  --bleu-clair: #6B95FF;
  --jaune: #FACC08;
  --gris: #F5F5F7;
  --texte: #1D1D1F;
  --texte-2: #6E6E73;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; color: var(--texte); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* Apparition au défilement (anim.js) */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.nav-in { max-width: 1080px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; }
.marque { display: flex; align-items: center; gap: 8px; }
.marque img { width: 28px; height: 28px; }
.marque span { font-weight: 500; font-size: 18px; letter-spacing: .22em; text-transform: uppercase; color: var(--bleu); }
.liens { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--texte-2); }
.liens a:hover { color: var(--texte); }

/* Boutons et liens */
.btn { display: inline-block; background: var(--bleu); color: #fff; padding: 14px 28px; border-radius: 980px; font-weight: 500; font-size: 17px; transition: background .2s, transform .2s; }
.btn:hover { background: #013585; transform: scale(1.03); }
.btn-grand { padding: 18px 36px; font-size: 19px; }
.btn-jaune { background: var(--jaune); color: var(--nuit); }
.btn-jaune:hover { background: #FFD83D; }
.liens .btn-petit { color: #fff; padding: 8px 16px; font-size: 14px; }
.lien-fleche { color: var(--bleu); font-size: 17px; }
.lien-fleche:hover { text-decoration: underline; }
.lien-fleche.jaune { color: var(--jaune); }

/* Titres communs */
.geant { font-size: clamp(56px, 10vw, 128px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.sous-titre { max-width: 680px; margin: 28px auto 0; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; color: var(--texte-2); font-weight: 500; }
.surtitre { text-align: center; font-size: 19px; font-weight: 600; color: var(--bleu); margin-bottom: 12px; }
.degrade { background: linear-gradient(90deg, var(--bleu-clair), var(--jaune)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.centre { text-align: center; }

/* Hero */
.hero { text-align: center; padding: 120px 24px 130px; background: var(--gris); }
.hero-logo { width: 120px; height: 120px; margin-bottom: 36px; }
.actions { margin-top: 44px; display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-sombre { background: var(--nuit); color: #fff; overflow: hidden; }
.hero-sombre .surtitre { color: var(--jaune); }
.hero-sombre .sous-titre { color: #A1A1A6; }

/* Manifeste : grandes phrases qui apparaissent une à une */
.manifeste { max-width: 900px; margin: 0 auto; padding: 140px 24px; }
.manifeste p { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: var(--texte); margin-bottom: 56px; }
.manifeste em { font-style: normal; color: var(--bleu); }
.manifeste .question { color: var(--bleu); }
.manifeste .centre { margin-top: -8px; }

/* Sections */
.section { padding: 120px 24px; max-width: 1080px; margin: 0 auto; }
.section h2, .final h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; text-align: center; }
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.carte { background: var(--gris); border-radius: 28px; padding: 40px 34px; }
.carte h3 { font-size: 26px; letter-spacing: -.02em; }
.carte .accroche { font-size: 21px; font-weight: 600; color: var(--texte); margin: 6px 0 16px; line-height: 1.25; }
.carte p { color: var(--texte-2); line-height: 1.55; font-size: 17px; }

/* Section sombre (apps) */
.sombre { max-width: none; background: var(--nuit); color: #fff; }
.sombre > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.sombre .surtitre { color: var(--jaune); }
.sombre .carte { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.sombre .carte p { color: #A1A1A6; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 980px; background: var(--jaune); color: var(--nuit); margin-bottom: 20px; }
.badge.bientot { background: rgba(255,255,255,.12); color: #fff; }

/* TwinPost en vedette */
.vedette { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; margin-top: 64px; padding: 56px; border-radius: 32px;
  background: linear-gradient(135deg, var(--bleu) 0%, #062A6B 100%); box-shadow: 0 30px 80px rgba(0,0,0,.35); transition: transform .4s ease, box-shadow .4s ease; }
.vedette:hover { transform: scale(1.015); box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.vedette h3 { font-size: 22px; font-weight: 600; color: var(--jaune); letter-spacing: .02em; }
.vedette-titre { font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 10px 0 20px; }
.vedette-texte > p:not(.vedette-titre) { color: rgba(255,255,255,.75); font-size: 19px; line-height: 1.5; }
.vedette .preuve { margin: 16px 0 28px; font-size: 15px !important; color: rgba(255,255,255,.55) !important; }

.vedette-sell { margin-top: 24px; background: linear-gradient(135deg, #10305e 0%, var(--bleu) 100%); }
.vedette .produit { font-size: 26px; }
.vedette-visuel.chat { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.chat span { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.4; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.chat .c-client { align-self: flex-end; background: #DCF8C6; color: #111; }
.chat .c-bot { align-self: flex-start; background: #fff; color: #111; }
.chat .c-ok { align-self: center; background: var(--jaune); color: var(--nuit); font-weight: 700; }

/* Visuel : trois publications empilées */
.vedette-visuel { position: relative; height: 320px; }
.vedette-visuel.grand { height: 360px; max-width: 520px; margin: 80px auto 0; }
.post { position: absolute; width: 58%; aspect-ratio: 4 / 5; border-radius: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.post::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 10%; height: 8%; border-radius: 99px; background: rgba(255,255,255,.55); }
.p1 { left: 0; top: 14%; transform: rotate(-8deg); background: linear-gradient(160deg, #6B95FF, var(--bleu)); }
.p2 { left: 21%; top: 0; z-index: 2; background: linear-gradient(160deg, #FFE27A, var(--jaune)); }
.p3 { right: 0; top: 14%; transform: rotate(8deg); background: linear-gradient(160deg, #F5F5F7, #C7D4EE); }

/* Étapes */
.etapes { list-style: none; counter-reset: e; max-width: 720px; margin: 64px auto 0; }
.etapes li { counter-increment: e; position: relative; padding: 26px 0 26px 76px; border-top: 1px solid #E5E5EA; font-size: 21px; line-height: 1.5; color: var(--texte-2); }
.etapes li strong { color: var(--texte); }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--gris); color: var(--bleu); font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Bandeau preuve */
.bandeau { background: var(--gris); text-align: center; padding: 100px 24px; }
.bandeau .chiffre { font-size: clamp(64px, 10vw, 120px); font-weight: 700; letter-spacing: -.05em; color: var(--bleu); line-height: 1; }
.bandeau p:not(.chiffre) { font-size: 24px; color: var(--texte-2); margin-top: 12px; font-weight: 500; }

/* Offre */
.offres { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 56px auto 0; align-items: stretch; }
.offres .offre { margin: 0; max-width: none; display: flex; flex-direction: column; }
.offres .offre .inclus { flex: 1; }
.offre-vedette { position: relative; border: 2px solid var(--bleu) !important; box-shadow: 0 30px 80px rgba(1,66,167,.18) !important; }
.offre-vedette .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0; }
.btn-contour { background: transparent; color: var(--bleu); border: 2px solid var(--bleu); padding: 16px 34px; font-size: 19px; }
.btn-contour:hover { background: var(--bleu); color: #fff; }
.intro { text-align: center; font-size: 21px; color: var(--texte-2); margin-top: 16px; }
.offre { max-width: 560px; margin: 64px auto 0; background: #fff; border: 1px solid #E5E5EA; border-radius: 32px; padding: 48px 44px; text-align: center; box-shadow: 0 20px 60px rgba(1,66,167,.08); }
.offre h3 { font-size: 22px; color: var(--bleu); font-weight: 600; }
.prix { font-size: 56px; font-weight: 700; letter-spacing: -.04em; margin-top: 8px; }
.prix small { font-size: 20px; color: var(--texte-2); font-weight: 500; letter-spacing: 0; }
.offre-sous { color: var(--texte-2); margin-top: 6px; }
.inclus { list-style: none; text-align: left; margin: 36px 0; border-top: 1px solid #E5E5EA; }
.inclus li { padding: 16px 0 16px 34px; border-bottom: 1px solid #E5E5EA; position: relative; font-size: 17px; }
.inclus li::before { content: "✓"; position: absolute; left: 4px; color: var(--bleu); font-weight: 700; }
.a-completer { background: #FFF6CC; border: 1px dashed var(--jaune); border-radius: 6px; padding: 0 6px; font-size: .8em; }
.prix .a-completer { font-size: .5em; vertical-align: middle; }

/* Appel final */
.final { text-align: center; padding: 140px 24px; background: var(--gris); }
.final-logo { width: 80px; height: 80px; margin-bottom: 28px; }
.final .btn { margin-top: 44px; }

/* Nom de produit : « Twin » en bleu, la suite en jaune (bleu éclairci sur fond sombre) */
.mot-twin { color: var(--bleu); }
.mot-suite { color: var(--jaune); }
.sombre .mot-twin, .hero-sombre .mot-twin, .vedette .mot-twin { color: #3D7BFF; }
.vedette .mot-twin { color: #A9C3FF; }
.produit { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.produit img { width: 1.25em; height: 1.25em; }
.hero .produit { font-size: 40px; margin-bottom: 18px; }

/* Démo animée intégrée */
.demo-cadre { max-width: 1080px; margin: 56px auto 0; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(11,31,58,.35); background: #000; }
.demo-cadre iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Pied de page */
.pied { border-top: 1px solid #E5E5EA; padding: 32px 24px; max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--texte-2); }
.pied .marque img { width: 22px; height: 22px; }
.pied .marque span { font-size: 14px; }

@media (max-width: 800px) {
  .grille-3, .grille-2, .vedette, .offres { grid-template-columns: 1fr; }
  .vedette { padding: 36px 28px; }
  .vedette-visuel { height: 240px; }
  .liens a:not(.btn) { display: none; }
  .section { padding: 90px 20px; }
  .manifeste { padding: 100px 20px; }
  .manifeste p { margin-bottom: 40px; }
  .offre { padding: 36px 24px; }
  .pied { flex-direction: column; gap: 12px; }
}
