/* ==========================================================================
   Flokup : site marketing (site.css)
   Même socle que Flopost (charte Flopix), couleurs propres à Flokup :
   cyan #22d3ee vers violet #7c3aed, sur fond sombre par défaut.
   ========================================================================== */
/* Police de marque General Sans (comme Flopix et Flopost), hébergée en local. */
@font-face {
  font-family: "General Sans";
  src: url("/fonts/general-sans-var.woff2") format("woff2");
  font-weight: 200 700; font-style: normal; font-display: swap;
}

:root {
  --police: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bleu: #22d3ee; --bleu-fonce: #0ea5c6;
  --violet: #7c3aed; --violet-fonce: #6d28d9; --violet-clair: #a78bfa;
  --degrade: linear-gradient(135deg, #22d3ee, #7c3aed);
  --degrade-doux: linear-gradient(135deg, rgba(34,211,238,.14), rgba(124,58,237,.18));
  --rayon: 14px; --max: 1120px;
  /* Hauteur réelle du header (16 px d'air + barre de 70 px + 16 px) : sert à
     caler le studio de l'accueil pile sous le header, sans défilement. */
  --h-header: 102px;

  /* ---- Thème SOMBRE (par défaut, comme l'ambiance de Flopost) ---- */
  --texte: #e8eaf0; --gris: #9aa3b4; --gris-clair: #6f7787;
  --bord: #262b38; --fond: #0b0d12; --fond-doux: #12151d; --surface: #151924;
  --lien: #67e8f9;
  --nav-bg: rgba(16,19,27,.74);
  --ombre: 0 12px 40px rgba(0, 0, 0, 0.45);
  --ok: #34d399; --erreur: #f87171;
  color-scheme: dark;
}
/* ---- Thème CLAIR : uniquement sur choix explicite (bouton soleil/lune). ---- */
:root[data-theme="light"] {
  --texte: #14161c; --gris: #5b6472; --gris-clair: #8b93a1;
  --bord: #e5e8ee; --fond: #ffffff; --fond-doux: #f5f7fb; --surface: #ffffff;
  --lien: #0e7490;
  --nav-bg: rgba(255,255,255,.84);
  --ombre: 0 10px 40px rgba(20, 30, 60, 0.08);
  --ok: #059669; --erreur: #c0392b;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; }
/* clip (pas hidden) : bloque le débordement latéral sans créer de conteneur de
   défilement, sinon le header sticky se décrocherait au scroll (surtout iOS). */
html, body { overflow-x: clip; max-width: 100%; }
html { scroll-behavior: smooth; }
/* Une ancre (#studio, #retractation…) ne doit pas finir cachée sous le header collant. */
section[id], h2[id] { scroll-margin-top: var(--h-header); }
body {
  font-family: var(--police);
  color: var(--texte); background: var(--fond); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--lien); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.enveloppe { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
.grad { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--gris); }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 14px 27px; border-radius: 12px; font-weight: 600; font-size: 15px;
  font-family: var(--police); line-height: 1;
  /* Pas de bordure transparente sur les boutons pleins/dégradés : couplée au
     fond dégradé, elle laissait un liseré 1 px aux angles arrondis. */
  cursor: pointer; border: 0;
  transition: transform .14s ease, box-shadow .2s ease, filter .15s, background .15s, border-color .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-degrade { background: var(--degrade); color: #fff; box-shadow: 0 8px 22px rgba(124,58,237,.30); }
.btn-degrade:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(124,58,237,.42); filter: brightness(1.06); }
.btn-primaire { background: var(--bleu); color: #04232b; }
.btn-primaire:hover { background: var(--bleu-fonce); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(34,211,238,.30); }
.btn-fantome { background: var(--surface); color: var(--texte); border: 1px solid var(--bord); padding: 13px 26px; }
.btn-fantome:hover { background: var(--fond-doux); border-color: var(--violet); }
.btn-lg { padding: 16px 34px; font-size: 16.5px; border-radius: 13px; }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }

/* ---------- En-tête ---------- */
/* display:contents : le conteneur s'efface, le header « sticky » colle alors
   par rapport à la page entière (sinon il disparaît au premier scroll). */
#site-header { display: contents; }
header.site { position: sticky; top: 0; z-index: 50; background: transparent; padding: 16px 0; transition: padding .18s ease; }
header.site.colle { padding-top: 0; }
header.site.colle .site-nav { border-top-left-radius: 0; border-top-right-radius: 0; }
header.site .enveloppe { width: 90%; max-width: 1500px; padding: 0; }
.site-nav {
  display: flex; align-items: center; gap: 26px; height: 70px; position: relative;
  padding: 0 20px 0 26px;
  background: var(--nav-bg); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--bord); border-radius: 18px;
  box-shadow: var(--ombre);
}
.site-menu { display: flex; align-items: center; flex: 1; gap: 18px; }
.site-logo { display: flex; align-items: center; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--texte); }
.site-logo:hover { text-decoration: none; }
.site-logo img { width: 28px; height: 28px; border-radius: 8px; margin-right: 9px; }
.site-logo span { color: #ff7a1a; }
.site-liens { display: flex; align-items: center; gap: 20px; margin-left: 12px; }
.site-liens a { color: var(--gris); font-weight: 550; font-size: 15px; }
.site-liens a:hover, .site-liens a.actif { color: var(--texte); text-decoration: none; }
.nav-drop { position: relative; }
.nav-drop-btn { background: none; border: none; cursor: pointer; color: var(--gris); font-weight: 550; font-size: 15px; font-family: var(--police); display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; }
.nav-drop-btn:hover { color: var(--texte); }
.nav-drop-fleche { font-size: 10px; transition: transform .18s; }
.nav-drop-menu { position: absolute; top: 100%; left: 0; min-width: 190px; background: var(--surface); border: 1px solid var(--bord); border-radius: 12px; box-shadow: var(--ombre); padding: 6px; display: none; flex-direction: column; gap: 2px; z-index: 60; }
.nav-drop:hover .nav-drop-menu, .nav-drop.ouvert .nav-drop-menu { display: flex; }
.nav-drop:hover .nav-drop-fleche, .nav-drop.ouvert .nav-drop-fleche { transform: rotate(180deg); }
.nav-drop-menu a { padding: 9px 12px; border-radius: 8px; color: var(--texte); font-size: 14.5px; }
.nav-drop-menu a:hover { background: var(--fond-doux); text-decoration: none; }
.site-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.theme-btn {
  background: var(--surface); border: 1px solid var(--bord); border-radius: 9px;
  width: 38px; height: 34px; font-size: 16px; cursor: pointer; line-height: 1;
  color: var(--texte); transition: border-color .15s, background .15s;
}
.theme-btn:hover { border-color: var(--violet); }
.burger-site { display: none; background: var(--surface); border: 1px solid var(--bord); border-radius: 10px; width: 42px; height: 42px; font-size: 20px; color: var(--texte); cursor: pointer; }

/* ---------- Animations au défilement (façon Flopix) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .6s ease, transform .72s cubic-bezier(.16,.84,.3,1);
  will-change: opacity, transform;
}
.reveal.vu { opacity: 1; transform: none; }
.plomb h2.reveal:not(.vu) { transform: translateY(46px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Sections ---------- */
section { padding: 74px 0; }
.section-doux { background: var(--fond-doux); }
.centre { text-align: center; }
.plomb { max-width: 680px; margin: 0 auto 44px; }
.plomb p { font-size: 18px; color: var(--gris); margin-top: 12px; }
.etiquette { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet-clair); background: rgba(124,58,237,.16); padding: 6px 14px; border-radius: 999px; }
:root[data-theme="light"] .etiquette { color: var(--violet-fonce); background: #efe9ff; }

/* ---------- Hero (pages intérieures) ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 70px; }
.hero::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: var(--bleu); opacity: .10; filter: blur(120px); top: -300px; right: -200px; pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: var(--violet); opacity: .12; filter: blur(120px); bottom: -300px; left: -180px; pointer-events: none; }
.hero .enveloppe { position: relative; text-align: center; }
.hero h1 { max-width: 860px; margin: 18px auto 0; }
.hero .sous { font-size: 20px; color: var(--gris); max-width: 640px; margin: 20px auto 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--gris-clair); }

/* ---------- Studio de l'accueil ----------
   Première chose visible : le studio 3D en direct, pleine largeur, calé sous le
   header et sous une fine bande de titre. L'application (React) remplit #racine
   et gère son propre panneau latéral. */
.bande-studio { padding: 2px 0 10px; }
.bande-studio .enveloppe { width: 90%; max-width: 1500px; padding: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.bande-studio h1 { font-size: clamp(17px, 2vw, 22px); font-weight: 750; letter-spacing: -.01em; margin: 0; }
.bande-studio p { font-size: 14px; color: var(--gris); }
.bande-studio p a { font-weight: 650; }
section.studio-accueil {
  padding: 0; width: 100%; position: relative;
  /* 100svh : la hauteur visible réelle sur mobile (barres du navigateur déduites). */
  height: calc(100vh - var(--h-header) - 46px);
  height: calc(100svh - var(--h-header) - 46px);
  /* Plancher bas : sur un portable 1280×720, il reste environ 470 px sous le header ;
     le panneau défile tout seul, l'aperçu se réduit. */
  min-height: 440px;
  border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord);
  background: radial-gradient(circle at 50% 35%, #1a1f2c, #0b0d12 70%);
  overflow: hidden;
}
#racine { width: 100%; height: 100%; position: relative; }
/* Tant que le studio n'a pas démarré (script en chargement ou bloqué), on
   affiche un repère plutôt qu'un grand rectangle vide. React remplace ce
   contenu dès le premier rendu (#racine n'est plus vide). */
#racine:empty::before {
  content: 'Chargement du studio 3D…'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gris); font-size: 15px; font-weight: 600;
}
/* Le studio porte ses propres styles (préfixés .studio) ; il utilise des <section>
   internes, que la règle générique « section { padding: 74px } » gonflerait. */
.studio-accueil section { padding: 0; }
/* Sous 900 px, le studio s'empile (scène puis panneau) et dépasse la hauteur de
   l'écran : on libère la hauteur, sinon le panneau serait coupé. */
@media (max-width: 900px) {
  section.studio-accueil { height: auto; min-height: 0; overflow: visible; }
  #racine { height: auto; min-height: 640px; }
}
.studio-accueil noscript { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--texte); font-weight: 600; }

/* ---------- Grilles / cartes ---------- */
.grille { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.carte { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 26px; transition: transform .15s, box-shadow .2s, border-color .2s; }
.carte:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: rgba(124,58,237,.35); }
.carte h3 { margin-bottom: 8px; }
.carte p { color: var(--gris); font-size: 15px; }
/* Pastille d'icône vectorielle, alignée à gauche, petit carré net. */
.ico-v { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--degrade-doux); color: var(--violet-clair); margin-bottom: 14px; }
:root[data-theme="light"] .ico-v { color: var(--violet); }
.ico-v svg { width: 26px; height: 26px; }

/* Étapes numérotées, gros chiffres au dégradé. */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.etape { position: relative; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 30px 26px 26px; }
.etape .num { font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -.04em; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; display: block; }
.etape h3 { margin-bottom: 8px; }
.etape p { color: var(--gris); font-size: 15px; }
.etape:not(:last-child)::after { content: '→'; position: absolute; top: 40px; right: -20px; z-index: 2; font-size: 22px; color: var(--violet-clair); font-weight: 700; }

/* Cartes de fonctionnalités (icône à gauche, texte à droite). */
.feat-grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feat { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--bord); border-radius: 18px; padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: rgba(124,58,237,.35); }
.feat .ico-v { flex-shrink: 0; margin-bottom: 0; }
.feat-txt h3 { margin: 0 0 5px; font-size: 18px; }
.feat-txt p { margin: 0; color: var(--gris); font-size: 14.5px; line-height: 1.6; }
.feat-txt p b { color: var(--texte); font-weight: 700; }
.feat.large { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(34,211,238,.06), rgba(124,58,237,.10)); }
.pastille-bientot { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--degrade); border-radius: 999px; padding: 3px 9px; }

/* ---------- Tarifs ---------- */
.bascule-zone { position: relative; display: inline-block; margin: 0 auto; }
.bascule { display: inline-flex; align-items: center; gap: 8px; background: var(--fond-doux); border: 1px solid var(--bord); border-radius: 999px; padding: 5px; }
.bascule button { position: relative; border: none; background: none; cursor: pointer; font-family: var(--police); font-weight: 700; font-size: 14px; color: var(--gris); padding: 8px 18px; border-radius: 999px; transition: background .18s, color .18s; }
.bascule button.on { background: var(--degrade); color: #fff; }
/* Pastille « -17 % » par-dessus le bouton Annuel (c'est lui qui donne la remise). */
.reduc-notif { position: absolute; z-index: 5; top: -14px; left: -10px; background: #16b981; color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; box-shadow: 0 4px 12px rgba(22,185,129,.4); white-space: nowrap; animation: flotte 2.4s ease-in-out infinite; }
@keyframes flotte { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.eco-ligne { text-align: center; font-size: 13.5px; color: var(--gris); margin: 16px 0 26px; }
.plans3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--bord); border-radius: 18px; padding: 32px; position: relative; }
.plan.vedette { border: 2px solid var(--violet); box-shadow: 0 14px 44px rgba(124,58,237,.22); }
.plan .badge-eco { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--degrade); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 4px; }
.prix-barre { font-size: 16px; font-weight: 600; color: var(--gris-clair); text-decoration: line-through; min-height: 20px; margin-top: 6px; }
.prix-gros { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 2px 0; }
.prix-gros small { font-size: 15px; font-weight: 600; color: var(--gris); }
.prix-annuel-note { font-size: 13px; color: var(--gris); min-height: 18px; margin: 8px 0 14px; }
.prix-annuel-note b { color: var(--texte); font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.plan li { position: relative; padding-left: 26px; margin: 9px 0; font-size: 14.5px; color: var(--gris); }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--bleu); font-weight: 800; }
.plan li.inclus { padding-left: 0; font-weight: 700; color: var(--texte); }
.plan li.inclus::before { content: none; }
.plan .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--bord); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 0; font-size: 17px; font-weight: 650; font-family: var(--police); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--texte); }
.faq-q::after { content: '+'; font-size: 24px; color: var(--gris); flex-shrink: 0; }
.faq-item.ouvert .faq-q::after { content: '−'; }
.faq-r { display: none; padding: 0 0 20px; color: var(--gris); font-size: 15.5px; }
.faq-r strong { color: var(--texte); }
.faq-item.ouvert .faq-r { display: block; }

/* ---------- Bandeau CTA ---------- */
.cta-bloc { background: var(--degrade); border-radius: 22px; padding: 56px 30px; text-align: center; color: #fff; }
.cta-bloc h2 { color: #fff; margin-bottom: 10px; }
.cta-bloc p { color: rgba(255,255,255,.92); font-size: 18px; margin: 0 auto 28px; max-width: 560px; }
/* Sur le dégradé, un bouton dégradé se fondrait : bouton blanc contrasté. */
.cta-bloc .btn { margin-top: 6px; background: #fff; color: var(--violet-fonce); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.cta-bloc .btn:hover { background: #fff; filter: none; transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0,0,0,.26); }

/* ---------- Contenu rédigé (pages légales, explications) ---------- */
article.contenu { max-width: 760px; margin: 0 auto; }
article.contenu h1 { margin-bottom: 8px; }
article.contenu h2 { margin: 34px 0 12px; font-size: clamp(21px, 2.6vw, 26px); }
article.contenu h3 { margin: 22px 0 8px; }
article.contenu p { margin: 14px 0; font-size: 16.5px; }
article.contenu ul { margin: 14px 0; padding-left: 22px; }
article.contenu li { margin: 6px 0; }
article.contenu table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
article.contenu th, article.contenu td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--bord); vertical-align: top; }
article.contenu th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--gris); }
.encadre { background: rgba(124,58,237,.10); border-left: 3px solid var(--violet); padding: 14px 16px; margin: 18px 0; border-radius: 0 8px 8px 0; }
.encadre p { margin: 0 !important; }

/* ---------- Formulaires (inscription, connexion, contact, compte) ---------- */
.boite-form { max-width: 460px; margin: 40px auto 70px; padding: 0 22px; }
.boite-form h1 { font-size: 28px; }
.saisie { margin-bottom: 16px; }
.saisie label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.saisie input, .saisie textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--bord); border-radius: 10px;
  font-size: 16px; font: inherit; background: var(--surface); color: var(--texte);
}
.saisie textarea { min-height: 150px; resize: vertical; }
.saisie input:focus, .saisie textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(34,211,238,.20); }
.saisie .aide { font-size: 12.5px; color: var(--gris); margin-top: 5px; }
/* Case à cocher : taille native, alignée en haut du texte (jamais width:auto
   sur un style global de champ, la case serait déformée). */
.rgpd { font-size: 13px; color: var(--gris); display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 18px; }
.rgpd input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--violet); }
.miel { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }
.msg.ok { background: rgba(52,211,153,.12); color: var(--ok); }
.msg.err { background: rgba(248,113,113,.12); color: var(--erreur); }
.msg.info { background: rgba(124,58,237,.12); color: var(--texte); }
.lien-bas { margin-top: 16px; text-align: center; font-size: 14px; color: var(--gris); }

/* ---------- Fenêtre de message (paiement bientôt disponible, etc.) ---------- */
.fk-voile { position: fixed; inset: 0; z-index: 200; background: rgba(5,7,12,.62); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.fk-modal { background: var(--surface); border: 1px solid var(--bord); border-radius: 18px; box-shadow: var(--ombre); max-width: 440px; width: 100%; padding: 28px 26px 22px; text-align: center; }
.fk-modal .fk-ico { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--degrade-doux); color: var(--violet-clair); }
.fk-modal .fk-ico svg { width: 26px; height: 26px; }
.fk-modal h2 { font-size: 21px; margin-bottom: 8px; }
.fk-modal p { color: var(--gris); font-size: 15px; }
.fk-modal .fk-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Pied de page ---------- */
footer.site { background: #070910; color: #c4ccd8; padding: 56px 0 30px; border-top: 1px solid var(--bord); }
footer.site a { color: #c4ccd8; }
footer.site a:hover { color: #fff; }
.foot-grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.foot-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.foot-col a { display: block; padding: 5px 0; font-size: 14.5px; }
.foot-marque { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 12px; }
.foot-marque img { width: 26px; height: 26px; border-radius: 7px; }
.foot-bas { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid #1d2433; font-size: 13.5px; color: #8b93a1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .foot-grille { grid-template-columns: 1fr 1fr; }
  .plans3 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
/* Sous 1080 px, liens + thème + deux boutons ne tiennent plus dans la barre. */
@media (max-width: 1080px) {
  .burger-site { display: inline-block; flex-shrink: 0; margin-left: auto; }
  .site-menu { display: none; }
  .site-menu.ouvert {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 66px; left: 0; right: 0; z-index: 60;
    background: var(--surface); border: 1px solid var(--bord); border-radius: 0 0 16px 16px;
    padding: 16px 22px 22px; gap: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,.30);
  }
  .site-menu.ouvert .site-liens { flex-direction: column; align-items: stretch; gap: 4px; margin-left: 0; }
  .site-menu.ouvert .site-liens a { padding: 10px 0; font-size: 16px; }
  .site-menu.ouvert .nav-drop-btn { padding: 10px 0; font-size: 16px; width: 100%; justify-content: space-between; }
  .site-menu.ouvert .nav-drop-menu { position: static; display: flex; box-shadow: none; border: none; background: none; padding: 0 0 4px 12px; min-width: 0; }
  .site-menu.ouvert .nav-drop-menu a { padding: 8px 0; font-size: 15.5px; }
  .site-menu.ouvert .site-actions { margin-left: 0; flex-direction: column; align-items: stretch; gap: 10px; }
  .site-menu.ouvert .site-actions .btn { width: 100%; text-align: center; }
  .site-menu.ouvert .theme-btn { align-self: flex-start; }
}
@media (max-width: 720px) {
  :root { --h-header: 86px; }
  header.site { padding: 8px 0; }
  header.site .enveloppe { width: calc(100% - 32px); }
  .site-nav { height: 62px; padding: 0 12px 0 16px; }
  .site-menu.ouvert { top: 60px; }
  section { padding: 54px 0; }
  .enveloppe { padding: 0 16px; }
  .g3, .g2, .g4 { grid-template-columns: 1fr; }
  .etapes, .feat-grille { grid-template-columns: 1fr; }
  .etape:not(:last-child)::after { display: none; }
  .feat.large { grid-column: auto; }
  .foot-grille { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero { padding: 54px 0 40px; }
  .hero .sous { font-size: 18px; }
  .bande-studio .enveloppe { width: calc(100% - 32px); }
  .bande-studio p { display: none; }
  .cta-bloc { padding: 42px 20px; }
  .plan { padding: 28px 22px; }
}
@media (max-width: 560px) {
  .foot-grille { grid-template-columns: 1fr; gap: 26px; }
}
