/* PROGAME — myprogame.fr
   Palette reprise du logo : nuit bleue, bleu électrique, cyan, argent. */
:root {
  --fond: #040812;
  --fond-2: #08101f;
  --carte: #0c1529;
  --carte-2: #111c36;
  --trait: rgba(120, 160, 255, 0.13);
  --trait-fort: rgba(47, 184, 255, 0.45);
  --texte: #e9eefc;
  --doux: #9aabd0;
  --pale: #6f80a6;
  --bleu: #1f6bff;
  --cyan: #2fb8ff;
  --violet: #5865f2;
  --vert: #22c55e;
  --orange: #f59e0b;
  --rayon: 18px;
  --largeur: 1200px;
  --degrade: linear-gradient(135deg, var(--bleu), var(--cyan));
  --police: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(47, 184, 255, 0.35); }

.conteneur { width: min(var(--largeur), 100% - 32px); margin-inline: auto; }

/* --- Barre de progression de lecture ------------------------------------- */
.lecture { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 50; background: var(--degrade); box-shadow: 0 0 12px var(--cyan); }

/* --- En-tête -------------------------------------------------------------- */
.entete {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.entete.defile { background: rgba(4, 8, 18, 0.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--trait); }
.entete .conteneur { display: flex; align-items: center; gap: 24px; height: 72px; }
.marque { display: flex; align-items: center; gap: 10px; color: var(--texte); font-weight: 800; letter-spacing: 0.1em; font-size: 1.05rem; }
.marque:hover { text-decoration: none; }
.marque img { width: 44px; height: auto; filter: drop-shadow(0 0 10px rgba(47, 184, 255, 0.4)); }
.marque b { color: var(--cyan); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--doux); font-size: 0.94rem; font-weight: 600; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--degrade); transform: scaleX(0); transition: transform 0.25s ease; }
.nav a:hover, .nav a.actif { color: var(--texte); text-decoration: none; }
.nav a:hover::after, .nav a.actif::after { transform: scaleX(1); }

/* --- Boutons -------------------------------------------------------------- */
.bouton {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; color: #fff;
  background: var(--degrade);
  box-shadow: 0 10px 30px rgba(31, 107, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 0; cursor: pointer; white-space: nowrap;
}
.bouton::before {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.6s ease;
}
.bouton:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(31, 107, 255, 0.55); }
.bouton:hover::before { left: 140%; }
.bouton.discord { background: var(--violet); box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4); }
.bouton.discord:hover { box-shadow: 0 14px 40px rgba(88, 101, 242, 0.6); }
.bouton.second { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--trait); box-shadow: none; color: var(--texte); }
.bouton.second:hover { border-color: var(--cyan); background: rgba(47, 184, 255, 0.06); }
.bouton.petit { padding: 10px 16px; font-size: 0.92rem; border-radius: 10px; }
.bouton svg { width: 20px; height: 20px; flex: none; }

/* --- Héros ---------------------------------------------------------------- */
.heros { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
#reseau { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.heros::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 500px at 75% 30%, rgba(31, 107, 255, 0.22), transparent 70%),
    radial-gradient(600px 400px at 10% 90%, rgba(47, 184, 255, 0.12), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--fond));
}
.grille-sol {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; z-index: -1;
  background-image: linear-gradient(rgba(47, 184, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 184, 255, 0.16) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: top;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
  animation: sol 3s linear infinite;
}
@keyframes sol { to { background-position: 0 60px; } }

.heros .conteneur { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.pastille {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--trait); background: rgba(12, 21, 41, 0.7);
  color: var(--doux); font-size: 0.85rem; font-weight: 600;
}
.pastille i { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); animation: pouls 2s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.05; margin: 22px 0 22px; letter-spacing: -0.03em; font-weight: 800; }
.rotatif { display: inline-block; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; min-height: 1.1em; }
.rotatif::after { content: ""; display: inline-block; width: 3px; height: 0.9em; margin-left: 4px; vertical-align: -0.08em; background: var(--cyan); animation: curseur 1s steps(1) infinite; }
@keyframes curseur { 50% { opacity: 0; } }
.chapo { color: var(--doux); font-size: 1.17rem; max-width: 580px; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.atouts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--doux); font-size: 0.95rem; }
.atouts li::before { content: "✓"; color: var(--vert); font-weight: 800; margin-right: 8px; }

/* Console Opti FiveM animée */
.console {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 28, 54, 0.92), rgba(8, 16, 31, 0.95));
  border: 1px solid var(--trait);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(47, 184, 255, 0.06), 0 0 80px rgba(31, 107, 255, 0.2);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.4s ease;
  animation: flotte 7s ease-in-out infinite;
}
.console:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
@keyframes flotte { 50% { translate: 0 -10px; } }
.console-barre { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--trait); background: rgba(0, 0, 0, 0.2); }
.console-barre span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.console-barre span:nth-child(2) { background: #febc2e; }
.console-barre span:nth-child(3) { background: #28c840; }
.console-barre b { margin-left: 10px; font-size: 0.85rem; color: var(--doux); font-weight: 600; }
.console-barre em { margin-left: auto; font-style: normal; font-size: 0.72rem; color: var(--pale); border: 1px solid var(--trait); padding: 2px 8px; border-radius: 999px; }
.console-corps { padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 18px 22px; }
.journal { margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 0.8rem; display: grid; gap: 9px; min-height: 188px; align-content: start; }
.journal li { display: flex; gap: 10px; align-items: center; opacity: 0; transform: translateX(-8px); transition: opacity 0.35s ease, transform 0.35s ease; color: var(--doux); }
.journal li.vu { opacity: 1; transform: none; }
.journal li .etat { width: 16px; text-align: center; flex: none; }
.journal li.encours .etat { color: var(--cyan); animation: tourne 0.8s linear infinite; display: inline-block; }
.journal li.fait .etat { color: var(--vert); }
.journal li.fait { color: var(--texte); }
.journal li small { margin-left: auto; color: var(--pale); }
@keyframes tourne { to { transform: rotate(360deg); } }
.jauge { width: 128px; height: 128px; position: relative; align-self: start; }
.jauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.jauge circle { fill: none; stroke-width: 10; }
.jauge .fond-jauge { stroke: rgba(120, 160, 255, 0.12); }
.jauge .valeur { stroke: url(#degradeJauge); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 0.6s ease; filter: drop-shadow(0 0 6px rgba(47, 184, 255, 0.6)); }
.jauge div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.jauge b { font-size: 2.1rem; line-height: 1; font-weight: 800; }
.jauge small { color: var(--pale); font-size: 0.72rem; }
.progression { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: rgba(120, 160, 255, 0.1); overflow: hidden; }
.progression i { display: block; height: 100%; width: 0; background: var(--degrade); border-radius: inherit; transition: width 0.5s ease; box-shadow: 0 0 12px var(--cyan); }
.console-pied { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--pale); font-family: var(--mono); }

/* --- Bandeau technologies -------------------------------------------------- */
.bandeau { border-block: 1px solid var(--trait); background: var(--fond-2); padding: 18px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.bandeau-piste { display: flex; gap: 48px; width: max-content; animation: defile 40s linear infinite; }
.bandeau:hover .bandeau-piste { animation-play-state: paused; }
.bandeau span { color: var(--pale); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.bandeau span::after { content: "◆"; color: var(--bleu); font-size: 0.6rem; }
@keyframes defile { to { transform: translateX(-50%); } }

/* --- Chiffres -------------------------------------------------------------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 56px 0 0; }
.chiffre { text-align: center; padding: 22px 12px; border-radius: var(--rayon); background: linear-gradient(180deg, var(--carte), transparent); border: 1px solid var(--trait); }
.chiffre b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chiffre span { color: var(--doux); font-size: 0.92rem; }

/* --- Sections ------------------------------------------------------------- */
section { padding: 100px 0; position: relative; }
section.alt { background: linear-gradient(180deg, var(--fond-2), var(--fond)); border-block: 1px solid var(--trait); }
.titre-section { max-width: 720px; margin-bottom: 48px; }
.surtitre { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.surtitre::before { content: ""; width: 26px; height: 2px; background: var(--degrade); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.02em; }
.titre-section p { color: var(--doux); margin: 0; font-size: 1.1rem; }

/* --- Apparition au défilement --------------------------------------------- */
.apparait { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--retard, 0s); }
.apparait.vu { opacity: 1; transform: none; }

/* --- Cartes de services --------------------------------------------------- */
.grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.carte {
  --x: 50%; --y: 50%;
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, var(--carte), var(--fond-2));
  border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 30px; display: flex; flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease, opacity 0.7s ease;
}
.carte::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(47, 184, 255, 0.13), transparent 45%);
}
.carte:hover { border-color: var(--trait-fort); }
.carte:hover::before { opacity: 1; }
.carte.apparait.vu:hover { transform: translateY(-4px); }
.carte-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.icone {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; flex: none;
  background: linear-gradient(135deg, rgba(31, 107, 255, 0.22), rgba(47, 184, 255, 0.08));
  border: 1px solid var(--trait); transition: transform 0.4s ease;
}
.carte:hover .icone { transform: rotate(-8deg) scale(1.08); }
.carte h3 { margin: 0; font-size: 1.35rem; }
.carte .etiquette { display: inline-block; margin-top: 2px; font-size: 0.75rem; font-weight: 700; color: var(--cyan); letter-spacing: 0.08em; text-transform: uppercase; }
.carte .accroche { color: var(--doux); margin: 0 0 18px; }
.carte ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 0.95rem; }
.carte ul li { padding-left: 24px; position: relative; }
.carte ul li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.formules { border-top: 1px solid var(--trait); margin: 4px 0 18px; padding-top: 14px; display: grid; gap: 10px; }
.formule { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; font-size: 0.95rem; }
.formule small { display: block; color: var(--doux); font-size: 0.85rem; }
.formule .prix { font-weight: 800; color: var(--cyan); white-space: nowrap; }
.pied-carte { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.delai { color: var(--doux); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.delai::before { content: "⏱"; }

/* --- Opti FiveM ------------------------------------------------------------ */
.opti { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: start; }
.outils { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.outils li { background: var(--carte); border: 1px solid var(--trait); border-radius: 12px; padding: 12px 14px; font-size: 0.92rem; transition: border-color 0.25s ease, transform 0.25s ease; }
.outils li:hover { border-color: var(--trait-fort); transform: translateX(4px); }
.outils b { display: block; }
.outils small { color: var(--doux); }
.outils .pts { float: right; color: var(--cyan); font-weight: 700; font-size: 0.8rem; font-family: var(--mono); }
.packs { display: grid; gap: 14px; }
.pack { position: relative; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 22px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; transition: transform 0.3s ease, border-color 0.3s ease; }
.pack:hover { transform: scale(1.02); border-color: var(--trait-fort); }
.pack.vedette { border-color: rgba(47, 184, 255, 0.55); background: linear-gradient(135deg, rgba(31, 107, 255, 0.2), var(--carte)); box-shadow: 0 0 40px rgba(31, 107, 255, 0.18); }
.pack.vedette::after { content: "Le plus choisi"; position: absolute; top: -11px; right: 20px; background: var(--degrade); font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; letter-spacing: 0.04em; }
.pack h3 { margin: 0 0 4px; font-size: 1.15rem; }
.pack p { margin: 0; color: var(--doux); font-size: 0.9rem; }
.pack .tarif { text-align: right; }
.pack .tarif b { display: block; font-size: 1.8rem; line-height: 1.1; }
.pack .tarif small { color: var(--cyan); font-weight: 700; }
.note { color: var(--doux); font-size: 0.88rem; margin-top: 14px; }

/* --- Démo Discord ------------------------------------------------------------ */
.demo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.points-demo { margin: 26px 0 30px; padding: 0; list-style: none; display: grid; gap: 16px; }
.points-demo li { display: flex; gap: 14px; }
.points-demo li span { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(88, 101, 242, 0.15); border: 1px solid rgba(88, 101, 242, 0.35); }
.points-demo b { display: block; }
.points-demo small { color: var(--doux); font-size: 0.93rem; }
.discord-fenetre { background: #313338; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 60px rgba(88, 101, 242, 0.18); border: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.92rem; }
.discord-tete { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: #2b2d31; border-bottom: 1px solid #1f2023; color: #f2f3f5; font-weight: 700; }
.discord-tete i { color: #80848e; font-style: normal; font-size: 1.2rem; }
.discord-tete small { margin-left: auto; color: #949ba4; font-weight: 500; }
.discord-fil { padding: 18px; display: grid; gap: 16px; min-height: 380px; align-content: start; }
.msg { display: flex; gap: 12px; opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s ease; }
.msg.vu { opacity: 1; transform: none; }
.avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; }
.avatar.client { background: #f59e0b; color: #1f1300; }
.avatar.bot { background: #0b1226; overflow: hidden; }
.avatar.bot img { width: 30px; }
.avatar.equipe { background: var(--degrade); }
.msg .nom { font-weight: 700; color: #f2f3f5; }
.msg .nom.b { color: #5fb3ff; }
.msg .nom .tag { background: var(--violet); color: #fff; font-size: 0.62rem; padding: 1px 5px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.msg .heure { color: #949ba4; font-size: 0.75rem; margin-left: 6px; font-weight: 400; }
.msg p { margin: 2px 0 0; color: #dbdee1; }
.embed { margin-top: 6px; background: #2b2d31; border-left: 4px solid var(--cyan); border-radius: 6px; padding: 10px 14px; color: #dbdee1; max-width: 420px; }
.embed b { color: #f2f3f5; display: block; margin-bottom: 4px; }
.embed .champs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 0.85rem; margin-top: 6px; }
.embed .champs span { color: #949ba4; display: block; font-size: 0.75rem; font-weight: 700; }
.boutons-d { display: flex; gap: 8px; margin-top: 8px; }
.boutons-d span { font-size: 0.8rem; padding: 5px 12px; border-radius: 4px; background: #248046; color: #fff; font-weight: 600; }
.boutons-d span + span { background: #da373c; }
.ecrit { display: inline-flex; gap: 4px; padding: 8px 0 0 50px; color: #949ba4; font-size: 0.8rem; align-items: center; opacity: 0; transition: opacity 0.3s ease; }
.ecrit.vu { opacity: 1; }
.ecrit i { width: 6px; height: 6px; border-radius: 50%; background: #949ba4; animation: saute 1.2s infinite; }
.ecrit i:nth-child(2) { animation-delay: 0.15s; }
.ecrit i:nth-child(3) { animation-delay: 0.3s; margin-right: 6px; }
@keyframes saute { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: 0.4; } }

/* --- Étapes ---------------------------------------------------------------- */
.etapes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: etape; margin: 0; padding: 0; list-style: none; }
.etapes::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: var(--trait); }
.etapes::after { content: ""; position: absolute; top: 31px; left: 12%; height: 2px; width: calc(76% * var(--avance, 0)); background: var(--degrade); box-shadow: 0 0 12px var(--cyan); transition: width 0.2s linear; }
.etapes li { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.etapes li::before {
  counter-increment: etape; content: counter(etape);
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 18px;
  background: var(--carte); border: 1px solid var(--trait); font-weight: 800; font-size: 1.4rem;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.etapes li.atteint::before { background: var(--degrade); border-color: transparent; box-shadow: 0 0 30px rgba(47, 184, 255, 0.45); }
.etapes h3 { margin: 0 0 6px; font-size: 1.08rem; }
.etapes p { margin: 0; color: var(--doux); font-size: 0.93rem; }
.engagements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.engagements div { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 22px; }
.engagements b { display: block; margin-bottom: 4px; }
.engagements b::before { content: "◆ "; color: var(--cyan); }
.engagements span { color: var(--doux); font-size: 0.93rem; }

/* --- FAQ ------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; align-items: start; }
details { background: var(--carte); border: 1px solid var(--trait); border-radius: 14px; padding: 0 20px; transition: border-color 0.25s ease; }
details[open] { border-color: var(--trait-fort); }
summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); font-size: 1.4rem; line-height: 1; transition: transform 0.25s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--doux); }

/* --- Appel final ----------------------------------------------------------- */
.appel {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center; border-radius: 28px; padding: 72px 24px;
  background: var(--carte); border: 1px solid var(--trait);
}
.appel::before {
  content: ""; position: absolute; inset: -50%; z-index: -1;
  background: conic-gradient(from 0deg, transparent, rgba(31, 107, 255, 0.35), transparent 30%, rgba(47, 184, 255, 0.25), transparent 60%);
  animation: tourne 14s linear infinite;
}
.appel::after { content: ""; position: absolute; inset: 1px; border-radius: 27px; background: radial-gradient(ellipse at top, rgba(12, 21, 41, 0.6), var(--carte) 70%); z-index: -1; }
.appel img { width: 84px; margin: 0 auto 18px; filter: drop-shadow(0 0 20px rgba(47, 184, 255, 0.5)); }
.appel h2 { margin-bottom: 10px; }
.appel p { color: var(--doux); margin: 0 auto 28px; max-width: 560px; font-size: 1.08rem; }
.appel .actions { justify-content: center; }
.paiements { margin-top: 24px; color: var(--pale); font-size: 0.9rem; }

/* --- Pied ------------------------------------------------------------------ */
.pied { border-top: 1px solid var(--trait); padding: 32px 0; color: var(--doux); font-size: 0.9rem; }
.pied .conteneur { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.pied nav { display: flex; gap: 18px; flex-wrap: wrap; }
.pied a { color: var(--doux); }

/* --- Page texte (mentions légales) ---------------------------------------- */
.page-texte { padding: 130px 0 80px; }
.page-texte .conteneur { max-width: 780px; }
.page-texte h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page-texte h2 { font-size: 1.3rem; margin-top: 36px; }
.page-texte p, .page-texte li { color: var(--doux); }

/* --- Adaptations ----------------------------------------------------------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .entete .bouton { margin-left: auto; }
  .heros { min-height: 0; padding: 110px 0 60px; }
  .heros .conteneur, .opti, .demo { grid-template-columns: 1fr; }
  .console { transform: none; max-width: 560px; }
  .etapes { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .etapes::before, .etapes::after { display: none; }
  .chiffres { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  section { padding: 70px 0; }
  .grille, .faq, .engagements, .etapes { grid-template-columns: 1fr; }
  .outils { grid-template-columns: 1fr; }
  .carte { padding: 22px; }
  .pack { flex-direction: column; align-items: flex-start; }
  .pack .tarif { text-align: left; }
  .entete .bouton span { display: none; }
  .console-corps { grid-template-columns: 1fr; }
  .jauge { justify-self: center; grid-row: 1; }
  .journal { min-height: 0; }
  .embed .champs { grid-template-columns: 1fr; }
  .discord-fil { min-height: 0; }
}

/* Animations coupées pour qui les a désactivées dans son système. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .apparait, .msg, .journal li { opacity: 1 !important; transform: none !important; }
  .console { transform: none; }
}
