@font-face { font-family: "Jakarta"; src: url("fonts/jakarta-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/jakarta-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/jakarta-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/jakarta-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/jakarta-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }/* Nina Architecture — vitrine */
:root {
  --nuit: #0B1023; --nuit-2: #111A3A; --encre: #0F172A; --texte: #1E293B; --doux: #5B6B82; --ligne: #E6EAF2; --fond: #FFFFFF; --clair: #F6F8FC;
  --a: #6366F1; --b: #22D3EE; --sable: #F5B04A; --terre: #E07A3F;
  --rayon: 20px; --ombre: 0 2px 6px rgba(15, 23, 42, .05), 0 18px 48px rgba(15, 23, 42, .09);
  --largeur: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Jakarta", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--texte); background: var(--fond); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--encre); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid var(--ligne); background: #fff; color: var(--encre); cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s; white-space: nowrap; font-size: .95rem; }
.btn:hover { transform: translateY(-1px); }
.btn.principal { border: 0; color: #fff; background: linear-gradient(120deg, var(--a), #3B82F6 55%, var(--b)); box-shadow: 0 8px 24px rgba(79, 70, 229, .35); }
.btn.principal:hover { filter: brightness(1.06); box-shadow: 0 12px 30px rgba(79, 70, 229, .45); }
.btn.fantome { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn.grand { padding: 15px 26px; font-size: 1.04rem; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px max(20px, calc((100% - var(--largeur)) / 2)); transition: background .25s, box-shadow .25s; }
.nav.colle { background: rgba(11, 16, 35, .86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: 1.12rem; }
.marque img { width: 34px; height: 34px; }
.liens { display: flex; gap: 22px; flex: 1; justify-content: center; }
.liens a { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 600; font-size: .94rem; }
.liens a:hover { color: #fff; }

/* Héros */
.hero { position: relative; overflow: hidden; color: #E2E8F0; background: radial-gradient(1200px 600px at 85% 20%, rgba(34, 211, 238, .22), transparent 60%), radial-gradient(900px 500px at 10% 90%, rgba(99, 102, 241, .35), transparent 60%), linear-gradient(160deg, var(--nuit), var(--nuit-2)); padding: 130px max(20px, calc((100% - var(--largeur)) / 2)) 80px; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.hero::after { content: ""; position: absolute; inset: 0; 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: 48px 48px; mask-image: linear-gradient(to bottom, #000 40%, transparent); pointer-events: none; }
.hero-texte { position: relative; z-index: 1; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; font-weight: 600; color: #E0E7FF; }
.badge.clair { background: rgba(245, 176, 74, .14); border-color: rgba(245, 176, 74, .35); color: #FDE7C2; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 4rem); margin: 18px 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--sable), var(--terre)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chapo { font-size: 1.15rem; color: #C7D2FE; max-width: 560px; margin: 0 0 26px; }
.chapo b { color: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.preuves { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 22px 0 0; color: #A5B4FC; font-size: .92rem; font-weight: 600; }
.preuves li::before { content: "✓ "; color: var(--b); }
.hero-visuel { position: relative; z-index: 1; aspect-ratio: 1 / 0.92; }
.scene-hero { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 65%); border: 1px solid rgba(255, 255, 255, .10); }
.scene-hero canvas { width: 100% !important; height: 100% !important; display: block; }
.puce { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .95); color: var(--encre); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); animation: flotte 6s ease-in-out infinite; }
.puce span { font-size: 1.4rem; }
.puce div { display: flex; flex-direction: column; line-height: 1.25; }
.puce small { color: var(--doux); font-size: .8rem; }
.p1 { top: 8%; left: -4%; } .p2 { bottom: 10%; left: 4%; animation-delay: -2s; } .p3 { top: 18%; right: -3%; animation-delay: -4s; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Bandeau de chiffres */
.bandeau { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--largeur); margin: -42px auto 0; position: relative; z-index: 2; background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre); border: 1px solid var(--ligne); }
.bandeau div { padding: 22px 18px; text-align: center; border-left: 1px solid var(--ligne); }
.bandeau div:first-child { border-left: 0; }
.bandeau b { display: block; font-size: 1.9rem; color: var(--encre); letter-spacing: -0.02em; }
.bandeau span { color: var(--doux); font-size: .9rem; }

/* Sections */
.section { padding: 96px max(20px, calc((100% - var(--largeur)) / 2)); }
.section.clair { background: var(--clair); }
.section.sombre { background: linear-gradient(160deg, var(--nuit), var(--nuit-2)); color: #CBD5E1; }
.titre { font-size: clamp(1.8rem, 3.6vw, 2.7rem); text-align: center; margin-bottom: 14px; font-weight: 800; }
.titre span, .final h2 span, .diaspora h2 span { background: linear-gradient(90deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sous-titre { text-align: center; color: var(--doux); max-width: 700px; margin: 0 auto 40px; font-size: 1.05rem; }
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.grille-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.carte-peur { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre); }
.carte-peur .q { display: block; font-size: 1.18rem; font-weight: 800; color: var(--encre); margin-bottom: 12px; font-style: italic; }
.carte-peur p { margin: 0; color: #334155; }
.carte-blanche { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 26px; }
.carte-blanche h3 { font-size: 1.1rem; margin-bottom: 10px; }
.carte-blanche p { margin: 0; color: #475569; }

/* Étapes */
.etapes { list-style: none; padding: 0; margin: 48px 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: e; position: relative; }
.etapes li { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 26px 22px; position: relative; }
.etapes .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.etapes h3 { font-size: 1.12rem; margin-bottom: 8px; }
.etapes p { margin: 0; color: #475569; font-size: .96rem; }
.centre { text-align: center; }

/* Exemples */
.exemples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.exemple { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); display: flex; flex-direction: column; transition: transform .2s; }
.exemple:hover { transform: translateY(-4px); }
.exemple .plan { background: #fff; border-bottom: 1px solid var(--ligne); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; padding: 6px; }
.exemple .plan svg { width: 100%; height: 100%; }
.exemple .corps { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.exemple h3 { font-size: 1.25rem; }
.exemple .accroche { color: var(--doux); margin: 0; font-size: .95rem; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 6px; }
.etiquettes span { background: var(--clair); border: 1px solid var(--ligne); border-radius: 999px; padding: 3px 10px; font-size: .82rem; font-weight: 600; color: #334155; }
.prix { font-weight: 800; color: var(--encre); font-size: 1.08rem; }
.prix small { display: block; font-weight: 600; color: var(--doux); font-size: .8rem; }
.exemple .actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.charge { grid-column: 1 / -1; text-align: center; color: var(--doux); padding: 40px; }

/* Diaspora */
.diaspora { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.diaspora h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 16px 0; }
.diaspora p { color: #CBD5E1; font-size: 1.05rem; }
.coches { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 12px; }
.coches li { padding-left: 32px; position: relative; color: #E2E8F0; }
.coches li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(34, 211, 238, .18); color: var(--b); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.coches b { color: #fff; }
.satellite { margin: 0; position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); aspect-ratio: 1; background: #1E293B; }
.tuiles { display: grid; grid-template-columns: 1fr 1fr; width: 100%; height: 100%; }
.tuiles img { width: 100%; height: 100%; object-fit: cover; }
.parcelle { position: absolute; inset: 0; width: 100%; height: 100%; }
.parcelle polygon { fill: rgba(34, 211, 238, .22); stroke: var(--b); stroke-width: 4; stroke-dasharray: 10 7; animation: trace 2.5s linear infinite; }
@keyframes trace { to { stroke-dashoffset: -34; } }
.satellite figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(11, 16, 35, .82); backdrop-filter: blur(8px); color: #E2E8F0; padding: 10px 14px; border-radius: 12px; font-size: .9rem; }
.satellite figcaption b { color: #fff; }

/* Livrables */
.grille-4 article { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 26px 22px; box-shadow: var(--ombre); }
.ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #EEF2FF, #ECFEFF); font-size: 1.6rem; margin-bottom: 14px; }
.grille-4 h3 { font-size: 1.12rem; margin-bottom: 8px; }
.grille-4 p { margin: 0; color: #475569; font-size: .96rem; }

/* FAQ */
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--ligne); border-radius: 16px; padding: 4px 20px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--ombre); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--encre); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--a); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: #475569; }

/* Appel final et pied */
.final { text-align: center; padding: 100px 20px; background: radial-gradient(800px 400px at 50% 0%, rgba(99, 102, 241, .14), transparent 70%), var(--clair); }
.final h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 30px; font-weight: 800; }
.final p { color: var(--doux); margin-top: 16px; }
.pied { background: var(--nuit); color: #94A3B8; padding: 40px max(20px, calc((100% - var(--largeur)) / 2)); display: grid; grid-template-columns: 1fr 2fr; gap: 30px; font-size: .88rem; }
.pied p { margin: 8px 0 0; }
.pied a { color: #C7D2FE; }

/* Fenêtre 3D */
.dialogue-3d { border: 0; border-radius: 22px; padding: 0; width: min(960px, calc(100% - 24px)); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.dialogue-3d::backdrop { background: rgba(11, 16, 35, .7); }
.dialogue-3d .tete { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--ligne); }
.scene-modale { height: min(68vh, 620px); background: linear-gradient(#BAE6FD, #F0F9FF); }
.dialogue-3d .aide { margin: 0; padding: 10px 18px; color: var(--doux); font-size: .88rem; }

/* Apparition au défilement */
.apparait { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apparait { opacity: 1; transform: none; transition: none; } .puce, .parcelle polygon { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 980px) {
  .liens { display: none; }
  .nav { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; padding-bottom: 70px; }
  .hero-visuel { max-width: 560px; width: 100%; margin: 0 auto; }
  .p1 { left: 0; } .p3 { right: 0; }
  .bandeau { grid-template-columns: repeat(2, 1fr); margin: -30px 16px 0; }
  .bandeau div:nth-child(3) { border-left: 0; } .bandeau div:nth-child(n+3) { border-top: 1px solid var(--ligne); }
  .grille-3, .exemples, .diaspora, .pied { grid-template-columns: 1fr; }
  .grille-4, .etapes { grid-template-columns: repeat(2, 1fr); }
  .section { padding-top: 72px; padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .nav .btn { padding: 8px 14px; font-size: .85rem; }
  .marque span { display: none; }
  .grille-4, .etapes { grid-template-columns: 1fr; }
  .btn.grand { width: 100%; }
  .puce { padding: 8px 10px; } .puce small { display: none; }
  .bandeau b { font-size: 1.5rem; }
}
