@font-face { font-family: "Jost"; src: url("/polices/jost.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* Identité : bleu nuit profond, majuscules très espacées, points dorés (bannière Ambre Flow). */
:root {
  --nuit: #06111F; --nuit-2: #0B1D33; --nuit-3: #12294A; --halo: #1E4A78;
  --creme: #F4EFE6; --doux: #A9B4C2; --or: #C9A46A; --ligne: rgba(244, 239, 230, .12);
  --police: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--nuit); color: var(--creme); font: 300 17px/1.65 var(--police); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.bord { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.espace { letter-spacing: .32em; text-transform: uppercase; }
.point { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--or); margin: 0 .9em; vertical-align: middle; }

/* En-tête */
.haut { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--nuit) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.haut .bord { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.logo { font-weight: 500; font-size: 1.05rem; letter-spacing: .38em; text-decoration: none; }
.menu { display: flex; gap: 28px; font-size: .78rem; }
.menu a { text-decoration: none; color: var(--doux); letter-spacing: .18em; text-transform: uppercase; }
.menu a:hover { color: var(--creme); }
.burger { display: none; }
@media (max-width: 760px) {
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -10px; padding: 0 10px; background: none; border: 0; cursor: pointer; }
  .burger span { display: block; height: 1.5px; background: var(--creme); border-radius: 2px; transition: transform .25s, opacity .2s; }
  .haut.ouvert .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .haut.ouvert .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 24px; background: var(--nuit); border-bottom: 1px solid var(--ligne); box-shadow: 0 24px 40px rgba(0,0,0,.45); }
  .haut.ouvert .menu { display: flex; }
  .menu a { padding: 16px 0; font-size: .9rem; border-bottom: 1px solid var(--ligne); }
  .menu a:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .burger span { transition: none; } }

/* Bannière */
.banniere { position: relative; overflow: hidden; text-align: center; padding: 140px 0 120px;
  background: radial-gradient(ellipse 60% 70% at 18% 20%, color-mix(in srgb, var(--halo) 70%, transparent), transparent 70%),
              radial-gradient(ellipse 50% 60% at 85% 30%, color-mix(in srgb, var(--halo) 45%, transparent), transparent 70%),
              linear-gradient(180deg, var(--nuit-2), var(--nuit)); }
.banniere h1 { margin: 0; font-weight: 400; }
.banniere h1 .marque { display: block; font-size: clamp(2.6rem, 8vw, 5.6rem); letter-spacing: .28em; line-height: 1.1; padding-left: .28em; }
.banniere h1 .sous-titre { display: block; margin: 22px auto 0; max-width: 32ch; font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 300; letter-spacing: .04em; line-height: 1.45; color: var(--creme); text-wrap: balance; }
.banniere .domaines { margin: 26px 0 0; font-size: clamp(.72rem, 1.8vw, 1rem); color: var(--creme); letter-spacing: .4em; }
.banniere .phrase { margin: 44px auto 0; max-width: 34ch; font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: var(--doux); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.bouton { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.bouton--plein { background: var(--or); color: var(--nuit); }
.bouton--plein:hover { background: #D8B77F; }
.bouton--vide { border: 1px solid color-mix(in srgb, var(--creme) 35%, transparent); }
.bouton--vide:hover { border-color: var(--creme); }

section { padding: 110px 0; }
@media (max-width: 700px) {
  .banniere { padding: 96px 0 64px; }
  section { padding: 76px 0; }
}
.surtitre { font-size: .74rem; color: var(--or); letter-spacing: .32em; text-transform: uppercase; margin: 0 0 18px; }
h2 { font-weight: 400; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.2; margin: 0 0 20px; text-wrap: balance; }
.intro { color: var(--doux); max-width: 58ch; margin: 0; }

/* Studio */
.studio { background: linear-gradient(180deg, var(--nuit), var(--nuit-2)); }
.studio-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 60px; align-items: center; }
.promesses { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.promesses li { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.promesses b { display: block; font-weight: 500; color: var(--creme); }
.promesses span { color: var(--doux); font-size: .95rem; }
.promesses p { margin: 0; }
.promesses .point { margin: 11px 0 0; } /* centré sur la 1re ligne (17px × 1,65 = 28px) */
.ecrans { position: relative; }
.ecrans .ordi { border-radius: 12px; border: 1px solid var(--ligne); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.ecrans .tel { position: absolute; right: -10px; bottom: -40px; width: 26%; aspect-ratio: 9 / 17; object-fit: cover; object-position: top; border-radius: 22px; border: 6px solid #111; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
@media (max-width: 900px) { .studio-grille { grid-template-columns: 1fr; } .ecrans { margin-bottom: 40px; } }

/* Démos */
.demos-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.demo { background: var(--nuit-2); border: 1px solid var(--ligne); border-radius: 16px; overflow: hidden; }
.demo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.demo div { padding: 18px 20px 22px; }
.demo b { font-weight: 500; display: block; }
.demo span { color: var(--doux); font-size: .9rem; }
.note { color: var(--doux); font-size: .88rem; margin-top: 22px; }
@media (max-width: 900px) { .demos-grille { grid-template-columns: 1fr; } }

/* Formules */
.formules { background: var(--nuit-2); }
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.carte { border: 1px solid var(--ligne); border-radius: 18px; padding: 32px 28px; background: var(--nuit); display: grid; align-content: start; gap: 6px; }
.carte--vedette { border-color: var(--or); box-shadow: 0 0 0 1px var(--or) inset; }
.carte .nom { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--or); }
.carte .prix { font-size: 2.6rem; font-weight: 400; margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.carte .cible { color: var(--creme); }
.carte .delai { color: var(--doux); font-size: .88rem; margin-bottom: 14px; }
.carte ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--doux); font-size: .95rem; }
.carte li::before { content: "·"; color: var(--or); margin-right: 10px; }
@media (max-width: 900px) { .cartes { grid-template-columns: 1fr; } }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 44px; counter-reset: e; list-style: none; padding: 0; }
.etapes li { border-top: 1px solid var(--ligne); padding-top: 20px; color: var(--doux); font-size: .95rem; }
.etapes li::before { counter-increment: e; content: "0" counter(e); display: block; color: var(--or); letter-spacing: .2em; margin-bottom: 10px; font-size: .8rem; }
.etapes b { display: block; color: var(--creme); font-weight: 500; margin-bottom: 4px; }
@media (max-width: 900px) { .etapes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .etapes { grid-template-columns: 1fr; } }

/* Appli de marque (bientôt) */
.appli { background: var(--nuit-2); }
.appli-grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.appli-prix { border: 1px solid var(--or); border-radius: 18px; padding: 32px 28px; background: var(--nuit); display: grid; gap: 6px; justify-items: start; }
.appli-prix .nom { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--or); margin: 0; }
.appli-prix .prix { font-size: 2.6rem; font-weight: 400; margin: 0; font-variant-numeric: tabular-nums; }
.appli-prix .cible { color: var(--creme); margin: 0 0 10px; }
.appli-prix .lancement { color: var(--doux); font-size: .95rem; margin: 0 0 18px; }
.appli-prix .note { margin-top: 14px; }
@media (max-width: 900px) { .appli-grille { grid-template-columns: 1fr; gap: 40px; } }

/* IA */
.ia { text-align: center; background: radial-gradient(ellipse 50% 80% at 50% 0%, color-mix(in srgb, var(--halo) 45%, transparent), transparent 70%), var(--nuit); }
.ia .intro { margin: 0 auto; }

/* Questions fréquentes */
.faq-liste { margin-top: 40px; max-width: 820px; border-top: 1px solid var(--ligne); }
.faq-liste details { border-bottom: 1px solid var(--ligne); }
.faq-liste summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 400; font-size: 1.08rem; }
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after { content: "+"; color: var(--or); font-size: 1.5rem; font-weight: 300; line-height: 1; flex-shrink: 0; transition: transform .2s; }
.faq-liste details[open] summary::after { transform: rotate(45deg); }
.faq-liste summary:hover { color: var(--or); }
.faq-liste details p { margin: 0 0 24px; color: var(--doux); max-width: 64ch; }
@media (prefers-reduced-motion: reduce) { .faq-liste summary::after { transition: none; } }

/* Contact */
.contact { text-align: center; border-top: 1px solid var(--ligne); }
.adresse { font-size: clamp(1.2rem, 3vw, 1.7rem); letter-spacing: .06em; margin: 10px 0 30px; user-select: all; }
.bas { border-top: 1px solid var(--ligne); padding: 34px 0 calc(34px + env(safe-area-inset-bottom, 0px)); color: var(--doux); font-size: .82rem; }
.bas .bord { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.bas a { text-decoration: none; }

/* ===== Pages intérieures ===== */
.menu a[aria-current="page"] { color: var(--creme); }
.entete-page { padding: 120px 0 80px; text-align: left;
  background: radial-gradient(ellipse 55% 80% at 15% 0%, color-mix(in srgb, var(--halo) 60%, transparent), transparent 70%), linear-gradient(180deg, var(--nuit-2), var(--nuit)); }
.ariane { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); margin: 0 0 28px; }
.ariane a { text-decoration: none; }
.ariane a:hover { color: var(--creme); }
.ariane span[aria-hidden] { margin: 0 .7em; color: var(--or); }
.entete-page h1 { font-weight: 400; font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 1.15; margin: 0 0 24px; max-width: 20ch; text-wrap: balance; }
.entete-page .intro { font-size: clamp(1.05rem, 2vw, 1.2rem); }
.entete-page .actions { justify-content: flex-start; }
.texte { max-width: 68ch; }
.texte p { color: var(--doux); margin: 0 0 18px; }
.texte p b, .texte li b { color: var(--creme); font-weight: 500; }
.texte h3 { font-weight: 500; font-size: 1.15rem; margin: 36px 0 10px; color: var(--creme); }
.liste-or { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; color: var(--doux); }
.liste-or li { padding-left: 22px; position: relative; }
.liste-or li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--or); }
.grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.bloc { border: 1px solid var(--ligne); border-radius: 18px; padding: 28px; background: var(--nuit-2); }
.bloc h3 { font-weight: 500; font-size: 1.1rem; margin: 0 0 10px; }
.bloc p { color: var(--doux); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .grille-2, .grille-3 { grid-template-columns: 1fr; } }
.lien-suite { display: inline-block; margin-top: 28px; color: var(--or); text-decoration: none; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.lien-suite:hover { text-decoration: underline; text-underline-offset: 4px; }
.ton-2 { background: var(--nuit-2); }

/* Tableau comparatif */
.comparatif-defile { margin-top: 44px; overflow-x: auto; border: 1px solid var(--ligne); border-radius: 18px; }
.comparatif { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.comparatif th, .comparatif td { padding: 16px 20px; border-bottom: 1px solid var(--ligne); text-align: center; }
.comparatif thead th { font-weight: 500; font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--or); background: var(--nuit); }
.comparatif thead th small { display: block; margin-top: 6px; font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--creme); font-weight: 400; }
.comparatif tbody th { text-align: left; font-weight: 400; color: var(--creme); }
.comparatif td { color: var(--doux); }
.comparatif .oui { color: var(--or); }
.comparatif tr:last-child th, .comparatif tr:last-child td { border-bottom: 0; }
.comparatif .vedette { background: color-mix(in srgb, var(--or) 7%, transparent); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===== Guides ===== */
.date-article { color: var(--doux); font-size: .85rem; letter-spacing: .08em; margin: -6px 0 22px; }
.article { max-width: 70ch; }
.article h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); margin: 56px 0 14px; }
.article h2:first-child { margin-top: 0; }
.article h2 .num { color: var(--or); margin-right: .4em; font-variant-numeric: tabular-nums; }
.article p, .article li { color: var(--doux); }
.article p { margin: 0 0 16px; }
.article b, .article strong { color: var(--creme); font-weight: 500; }
.article a { color: var(--creme); text-underline-offset: 3px; }
.article a:hover { color: var(--or); }
.article .astuce { border-left: 2px solid var(--or); padding: 4px 0 4px 18px; margin: 18px 0 22px; }
.article .astuce p { margin: 0; }
.article .astuce b { color: var(--or); }
.article figure { margin: 0 0 40px; }
.article figure img { border-radius: 16px; border: 1px solid var(--ligne); max-width: 420px; width: 100%; }
.article figcaption { color: var(--doux); font-size: .85rem; margin-top: 10px; }
.encadre { border: 1px solid var(--or); border-radius: 18px; padding: 26px 28px; margin: 48px 0 0; background: var(--nuit-2); }
.encadre h2 { margin-top: 0 !important; font-size: 1.3rem !important; }
.encadre p:last-child { margin-bottom: 0; }
.cartes-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.carte-guide { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; border: 1px solid var(--ligne); border-radius: 18px; padding: 18px; background: var(--nuit-2); text-decoration: none; }
.carte-guide:hover { border-color: var(--or); }
.carte-guide img { border-radius: 10px; aspect-ratio: 4 / 5; object-fit: cover; }
.carte-guide b { display: block; font-weight: 500; font-size: 1.08rem; line-height: 1.35; margin-bottom: 8px; }
.carte-guide span { color: var(--doux); font-size: .9rem; }

/* Images agrandissables (menu.js) */
.zoomable { cursor: zoom-in; }
.zoom { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(3, 9, 17, .94); color: var(--creme); cursor: zoom-out; }
.zoom[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.zoom::backdrop { background: rgba(3, 9, 17, .6); }
.zoom img { max-width: min(94vw, 1600px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.zoom__legende { margin: 0; padding: 0 20px; color: var(--doux); font-size: .9rem; text-align: center; max-width: 70ch; }
.zoom__fermer { position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ligne); background: var(--nuit-2); color: var(--creme); font: 300 1.8rem/1 var(--police); cursor: pointer; }
.zoom__fermer:hover { border-color: var(--or); }

/* Pellicule : captures qui défilent à l'horizontale (doigt, molette, flèches). */
.pellicule { position: relative; margin-top: 40px; }
.pellicule__piste { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 4px 2px 18px; margin: 0; list-style: none; scrollbar-width: thin; scrollbar-color: var(--nuit-3) transparent; overscroll-behavior-x: contain; }
.pellicule__piste::-webkit-scrollbar { height: 6px; }
.pellicule__piste::-webkit-scrollbar-thumb { background: var(--nuit-3); border-radius: 3px; }
.pellicule .demo { flex: 0 0 min(78%, 520px); scroll-snap-align: start; }
.pellicule--palettes .demo { flex-basis: min(64%, 380px); }
.pellicule--mobile .demo { flex-basis: min(88%, 760px); }
.pellicule--mobile .demo img { aspect-ratio: 16 / 9; } /* visuels 1600×900 avec texte intégré : ne pas recadrer */
.pellicule .demo div { padding: 14px 18px 18px; }
.pellicule__fleche { position: absolute; top: calc(50% - 40px); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ligne); background: color-mix(in srgb, var(--nuit) 82%, transparent); color: var(--creme); font: 300 1.5rem/1 var(--police); cursor: pointer; backdrop-filter: blur(6px); display: grid; place-items: center; transition: opacity .2s, border-color .2s; }
.pellicule__fleche:hover { border-color: var(--or); }
.pellicule__fleche[disabled] { opacity: 0; pointer-events: none; }
.pellicule__fleche--prec { left: -14px; }
.pellicule__fleche--suiv { right: -14px; }
.pellicule__titre { margin: 56px 0 0; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--or); }
@media (hover: none), (max-width: 700px) { .pellicule__fleche { display: none; } }
