/* Polydrive : feuille de style, version 2026-10-24-c (roadmap) */
/* ===== Polices ===== */
@font-face {
  font-family: "Navill";
  src: url("Navill_Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("Outfit-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ===== Couleurs : mode clair (par défaut) ===== */
:root {
  --police-titre: "Navill", "Segoe UI", system-ui, sans-serif;
  --police-texte: "Outfit", "Segoe UI", system-ui, sans-serif; /* ← pour changer la police du texte */

  --fond: #f3f6fc;
  --surface: #ffffff;
  --encre: #0b1530;
  --discret: #4b5a7a;
  --trait: #d9e1f0;
  --neon: #1f6bff;
  --glow: rgba(31, 107, 255, .55);
  --glow-faible: rgba(31, 107, 255, .22);
  --orbe: .35;
  --logo-clair: block;   /* logo noir : visible en mode clair */
  --logo-sombre: none;   /* logo blanc : caché en mode clair */
}

/* ===== Mode sombre (bleu très foncé, pas noir) ===== */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #08112b;
    --surface: #0e1a3d;
    --encre: #e9efff;
    --discret: #9fb1da;
    --trait: #1d2d5e;
    --neon: #3d8bff;
    --glow: rgba(61, 139, 255, .65);
    --glow-faible: rgba(61, 139, 255, .25);
    --orbe: .5;
    --logo-clair: none;
    --logo-sombre: block;
  }
}
:root[data-theme="dark"] {
  --fond: #08112b;
  --surface: #0e1a3d;
  --encre: #e9efff;
  --discret: #9fb1da;
  --trait: #1d2d5e;
  --neon: #3d8bff;
  --glow: rgba(61, 139, 255, .65);
  --glow-faible: rgba(61, 139, 255, .25);
  --orbe: .5;
  --logo-clair: none;
  --logo-sombre: block;
}

/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--police-texte);
  background: var(--fond);
  color: var(--encre);
  line-height: 1.65;
  transition: background-color .5s ease, color .5s ease;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: var(--police-titre);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 4px; border-radius: 6px; }
.conteneur { width: min(1120px, 100% - 48px); margin-inline: auto; }
.lien-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--neon); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.lien-evitement:focus { top: 16px; }

/* ===== Fond animé ===== */
.fond { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orbe {
  position: absolute; width: 52vmax; height: 52vmax; border-radius: 50%;
  background: radial-gradient(circle, var(--neon) 0%, transparent 65%);
  filter: blur(70px); opacity: var(--orbe);
  transition: opacity .5s ease;
}
.orbe--1 { top: -22vmax; right: -14vmax; animation: derive1 22s ease-in-out infinite alternate; }
.orbe--2 { bottom: -26vmax; left: -18vmax; animation: derive2 28s ease-in-out infinite alternate; }
@keyframes derive1 { to { transform: translate(-9vmax, 7vmax) scale(1.15); } }
@keyframes derive2 { to { transform: translate(8vmax, -6vmax) scale(1.1); } }

/* ===== Boutons avec contour néon ===== */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .9em 1.8em; border-radius: 999px;
  border: 2px solid var(--neon);
  background: transparent; color: var(--encre);
  font: 600 1rem/1 var(--police-texte);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 0 6px var(--glow), 0 0 18px var(--glow-faible), inset 0 0 10px var(--glow-faible);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1),
              background-color .6s ease, color .5s ease;
}
/* Halo renforcé : il apparaît en fondu (opacité) pour un effet fluide */
.btn::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 0 14px var(--neon), 0 0 44px var(--glow), inset 0 0 16px var(--glow-faible);
  opacity: 0;
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1);
}
/* Reflet lumineux qui traverse le bouton */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .4) 50%, transparent 65%);
  background-size: 250% 100%; background-position: 130% 0;
  transition: background-position .9s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-3px); background: var(--neon); color: #fff; }
.btn:hover::after, .btn:focus-visible::after { opacity: 1; }
.btn:hover::before { background-position: -30% 0; }
.btn:active { transform: translateY(-1px) scale(.98); transition-duration: .15s; }

.btn--plein { background: var(--neon); color: #fff; }
.btn--plein:hover, .btn--plein:focus-visible { background: transparent; color: var(--encre); }
.btn--plein:hover::after, .btn--plein:focus-visible::after { opacity: 1; }

/* ===== En-tête ===== */
.entete {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  background: color-mix(in srgb, var(--fond) 72%, transparent);
  border-bottom: 1px solid var(--trait);
  transition: background-color .5s ease, border-color .5s ease;
}
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.logo img { height: 48px; width: auto; }
.logo-clair { display: var(--logo-clair); }
.logo-sombre { display: var(--logo-sombre); }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a:not(.btn) { text-decoration: none; color: var(--discret); font-weight: 500; position: relative; transition: color .3s; }
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--neon); box-shadow: 0 0 8px var(--glow);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.menu a:not(.btn):hover { color: var(--encre); }
.menu a:not(.btn):hover::after { transform: scaleX(1); }
.actions { display: flex; align-items: center; gap: 12px; }

.bouton-icone {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 2px solid var(--neon);
  box-shadow: 0 0 6px var(--glow), inset 0 0 8px var(--glow-faible);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .6s ease;
}
.bouton-icone:hover { box-shadow: 0 0 14px var(--neon), 0 0 28px var(--glow); transform: rotate(25deg) scale(1.06); }
.bouton-icone img { width: 22px; height: 22px; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.bouton-icone.tourne img { transform: rotate(180deg); }
.burger { display: none; }
.burger span { display: block; width: 20px; height: 2px; background: var(--encre); margin: 5px 0; transition: transform .35s ease, opacity .25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: clamp(56px, 10vw, 128px) 0; }
.hero .conteneur { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.8rem); margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--neon); text-shadow: 0 0 28px var(--glow); }
.hero p { font-size: 1.15rem; color: var(--discret); max-width: 34em; }
.boutons { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; }

.visuel { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; margin-inline: auto; }
.anneau {
  position: absolute; border-radius: 50%; border: 2px solid var(--neon);
  box-shadow: 0 0 14px var(--glow), inset 0 0 14px var(--glow-faible);
}
.anneau--1 { inset: 0; border-style: dashed; opacity: .55; animation: tourne 40s linear infinite; }
.anneau--2 { inset: 13%; animation: tourne 28s linear infinite reverse; border-color: transparent; border-top-color: var(--neon); border-right-color: var(--neon); }
.anneau--3 { inset: 28%; opacity: .8; animation: pulse 4s ease-in-out infinite; }
.coeur {
  position: absolute; inset: 40%; border-radius: 50%;
  background: radial-gradient(circle, var(--neon), transparent 70%);
  filter: blur(6px); animation: pulse 4s ease-in-out infinite;
}
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.07); opacity: .6; } }

/* ===== Sections ===== */
section { padding: clamp(56px, 8vw, 104px) 0; }
.titre-section { max-width: 640px; margin-bottom: 48px; }
.titre-section h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 14px; }
.titre-section p { color: var(--discret); }

.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.carte {
  background: var(--surface); border: 1px solid var(--trait); border-radius: 22px; padding: 32px;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), border-color .4s ease, box-shadow .4s ease, background-color .5s ease;
}
.carte .num { font-family: var(--police-titre); font-size: 1rem; color: var(--neon); margin-bottom: 18px; display: block; }
.carte h3 { font-size: 1.45rem; margin-bottom: 12px; }
.carte p { color: var(--discret); }

.apropos { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.apropos h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 20px; }
.apropos p { color: var(--discret); margin-bottom: 16px; }
.chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.chiffre {
  background: var(--surface); border: 1px solid var(--trait); border-radius: 20px; padding: 28px 24px;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .6s ease, background-color .5s ease;
}
.chiffre strong { display: block; font-family: var(--police-titre); font-size: 2.4rem; color: var(--neon); text-shadow: 0 0 22px var(--glow-faible); }
.chiffre span { color: var(--discret); font-size: .95rem; }

.contact-bloc {
  text-align: center; padding: clamp(40px, 7vw, 80px) 24px;
  background: var(--surface); border-radius: 32px; border: 2px solid var(--neon);
  box-shadow: 0 0 18px var(--glow-faible), inset 0 0 40px var(--glow-faible);
  transition: background-color .5s ease;
}
.contact-bloc h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); margin-bottom: 16px; }
.contact-bloc p { color: var(--discret); max-width: 32em; margin: 0 auto 32px; }

/* ===== Pied de page ===== */
.pied { border-top: 1px solid var(--trait); padding: 36px 0; color: var(--discret); font-size: .95rem; }
.pied .conteneur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pied img { height: 38px; width: auto; }

/* ===== Apparition au défilement ===== */
.js .apparait { opacity: 0; transform: translateY(32px); }
.js .apparait.visible { opacity: 1; transform: none; animation: entree .9s cubic-bezier(.2, .8, .2, 1) var(--delai, 0s) backwards; }
@keyframes entree { from { opacity: 0; transform: translateY(32px); } }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero .conteneur, .apropos { grid-template-columns: 1fr; gap: 40px; }
  .visuel { max-width: 300px; order: -1; }
}
@media (max-width: 780px) {
  .burger { display: block; width: 46px; height: 46px; border: 2px solid var(--neon); border-radius: 50%; background: transparent; cursor: pointer; padding: 0; box-shadow: 0 0 6px var(--glow); }
  .burger span { margin-inline: auto; }
  .menu {
    position: absolute; left: 0; right: 0; top: 84px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--fond); border-bottom: 1px solid var(--trait);
    padding: 8px 24px 24px;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .menu.ouvert { opacity: 1; visibility: visible; transform: none; }
  .menu a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--trait); font-size: 1.1rem; }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 20px; }
  .logo img { height: 40px; }
}
@media (max-width: 480px) {
  .conteneur { width: min(1120px, 100% - 32px); }
  .boutons .btn { width: 100%; }
  .chiffres { grid-template-columns: 1fr 1fr; gap: 12px; }
  .chiffre { padding: 20px 16px; }
  .chiffre strong { font-size: 1.9rem; }
}

/* ===== Respect de « réduire les animations » ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .apparait { opacity: 1; transform: none; }
}

/* ===== Icônes dans les boutons ===== */
.btn svg, .btn img { width: 1.25em; height: 1.25em; flex: none; object-fit: contain; }
.btn svg { fill: currentColor; }

/* Bouton Discord (violet) */
.btn--discord {
  --neon: #5865f2;
  --glow: rgba(88, 101, 242, .6);
  --glow-faible: rgba(88, 101, 242, .28);
}
.boutons--secondaire { margin-top: 18px; }

/* ===== Page active dans le menu ===== */
.menu a[aria-current="page"] { color: var(--encre); }
.menu a[aria-current="page"]::after { transform: scaleX(1); }

/* ===== En-tête des pages secondaires ===== */
.page-titre { padding: clamp(48px, 8vw, 104px) 0 8px; }
.page-titre h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 18px; }
.page-titre p { color: var(--discret); font-size: 1.15rem; max-width: 36em; }
.contenu-page { padding-top: 48px; }

.centre { text-align: center; margin-top: 40px; }
.contact-bloc .boutons { justify-content: center; margin-top: 0; }

/* ===== Section réseaux sociaux ===== */
.reseaux { border-top: 1px solid var(--trait); }
.grille-reseaux { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.reseau {
  display: flex; align-items: center; gap: 20px; padding: 28px;
  background: var(--surface); border: 1px solid var(--trait); border-radius: 22px;
  text-decoration: none; color: var(--encre);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), border-color .5s ease,
              box-shadow .6s ease, background-color .5s ease;
}
.reseau-icone {
  flex: none; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--neon); color: var(--neon);
  box-shadow: 0 0 10px var(--glow-faible), inset 0 0 10px var(--glow-faible);
  transition: background-color .5s ease, color .5s ease, box-shadow .6s ease;
}
.reseau-icone svg { width: 28px; height: 28px; fill: currentColor; }
.reseau-icone img { width: 30px; height: 30px; object-fit: contain; }
.reseau:hover .reseau-icone, .reseau:focus-visible .reseau-icone {
  box-shadow: 0 0 20px var(--glow), inset 0 0 14px var(--glow-faible);
}
.reseau strong { display: block; font-family: var(--police-titre); font-weight: 700; font-size: 1.45rem; line-height: 1.2; }
.reseau-texte span { color: var(--discret); }
.reseau--discord { --neon: #5865f2; --glow: rgba(88, 101, 242, .6); --glow-faible: rgba(88, 101, 242, .28); }

/* ===== Pied de page : liens ===== */
.pied nav { display: flex; gap: 22px; }
.pied nav a { text-decoration: none; transition: color .3s ease; }
.pied nav a:hover { color: var(--neon); }

/* ===== Transition fluide entre les pages ===== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .4s; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}


/* ===== Page 404 ===== */
.erreur { min-height: calc(100vh - 84px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.erreur .code {
  display: block; font-family: var(--police-titre); font-weight: 700;
  font-size: clamp(6rem, 24vw, 14rem); line-height: .9; letter-spacing: -.04em;
  color: var(--neon); text-shadow: 0 0 30px var(--glow), 0 0 80px var(--glow-faible);
  animation: scintille 5s ease-in-out infinite;
}
@keyframes scintille {
  0%, 44%, 56%, 100% { opacity: 1; }
  46% { opacity: .55; } 48% { opacity: 1; } 50% { opacity: .7; } 52% { opacity: 1; }
}
.erreur h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin: 20px 0 14px; }
.erreur p { color: var(--discret); max-width: 30em; margin: 0 auto 36px; }
.erreur .boutons { justify-content: center; margin-top: 0; }

/* ===== FAQ (page Support) ===== */
.faq { max-width: 820px; }
.faq details {
  background: var(--surface); border: 1px solid var(--trait); border-radius: 18px; margin-bottom: 0;
  transition: border-color .4s ease, box-shadow .5s ease, background-color .5s ease;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-size: 1.7rem; line-height: 1; color: var(--neon);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .reponse { padding: 0 26px 24px; color: var(--discret); animation: deploiement .5s ease; }
@keyframes deploiement { from { opacity: 0; transform: translateY(-8px); } }

/* ===== Remerciements (page Credits) ===== */
.pastilles { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.pastilles li {
  padding: 10px 22px; border: 1px solid var(--trait); border-radius: 999px; background: var(--surface);
  transition: border-color .4s ease, box-shadow .5s ease, transform .5s cubic-bezier(.22, 1, .36, 1), background-color .5s ease;
}
.pastilles li:hover { border-color: var(--neon); box-shadow: 0 0 18px var(--glow-faible); transform: translateY(-3px); }

/* ===== Titres du menu en Navill ===== */
.menu a:not(.btn), .pied nav a { font-family: var(--police-titre); font-weight: 700; letter-spacing: .01em; }

/* ===== Titre de l'accueil : mot qui change ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.mot-rotatif {
  display: grid; /* tous les mots au même endroit : la largeur du plus long est réservée */
  color: var(--neon); text-shadow: 0 0 28px var(--glow);
}
.mot-rotatif .mot {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(.45em); filter: blur(10px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.22, 1, .36, 1), filter .6s ease;
}
.mot-rotatif .mot.actif { opacity: 1; transform: none; filter: none; }
.mot-rotatif .mot.sortant { opacity: 0; transform: translateY(-.45em); filter: blur(10px); }

/* ===== Cercle animé : volant → roue → compteur → boussole ===== */
.visuel.jauge-ok .anneau, .visuel.jauge-ok .coeur { display: none; }
.jauge {
  display: block; width: 100%; height: 100%; overflow: visible;
  filter: drop-shadow(0 0 7px var(--glow)) drop-shadow(0 0 22px var(--glow-faible));
}
.jauge .n { fill: none; stroke: var(--neon); stroke-linecap: round; }
.jauge .hub { fill: var(--neon); }

/* ===== Page Credits : fiches des développeurs ===== */
.equipe { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.dev {
  background: var(--surface); border: 1px solid var(--trait); border-radius: 24px;
  padding: 40px 28px 34px; text-align: center;
  position: relative; flex: 0 1 calc((100% - 48px) / 3); min-width: 0;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), border-color .5s ease,
              box-shadow .6s ease, background-color .5s ease;
}

.dev-photo { position: relative; width: 148px; height: 148px; margin: 0 auto 28px; }
.dev-photo::before {                                   /* anneau en pointillés qui tourne lentement */
  content: ""; position: absolute; inset: -13px; border-radius: 50%;
  border: 2px dashed var(--neon); opacity: .5;
  animation: tourne 28s linear infinite; transition: opacity .6s ease;
}
.dev:hover .dev-photo::before { opacity: .95; }

.dev-cadre {
  position: relative; display: block; width: 100%; height: 100%;
  border-radius: 50%; overflow: hidden; border: 3px solid var(--neon);
  background: color-mix(in srgb, var(--neon) 12%, var(--surface));
  box-shadow: 0 0 14px var(--glow), inset 0 0 14px var(--glow-faible);
  transition: box-shadow .6s ease;
}
.dev:hover .dev-cadre { box-shadow: 0 0 22px var(--neon), 0 0 48px var(--glow), inset 0 0 14px var(--glow-faible); }
.dev-cadre img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }

/* Silhouette affichée tant que la photo n'est pas disponible */
.dev-cadre::before, .dev-cadre::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); background: var(--neon); opacity: .4; }
.dev-cadre::before { top: 24%; width: 34%; height: 34%; border-radius: 50%; }
.dev-cadre::after { bottom: -10%; width: 66%; height: 46%; border-radius: 50% 50% 0 0; }

.dev h3 { font-size: 1.55rem; margin-bottom: 12px; }
.dev p { color: var(--discret); }

/* Nom et photo Discord : cachés le temps du chargement, puis affichés en fondu */
.dev h3, .dev-cadre img { transition: opacity .6s ease; }
.js .dev[data-discord-id]:not([data-discord-id=""]):not(.pret) h3,
.js .dev[data-discord-id]:not([data-discord-id=""]):not(.pret) .dev-cadre img {
  opacity: 0; animation: secours-affichage .01s 4.5s forwards;   /* si le chargement échoue, on affiche quand même */
}
@keyframes secours-affichage { to { opacity: 1; } }

@media (max-width: 900px) { .dev { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 560px) { .dev { flex-basis: 100%; } }

/* Éléments qui portent le contour animé */
.carte, .chiffre, .reseau, .faq-item { position: relative; }
.faq-item { margin-bottom: 14px; border-radius: 18px; }

/* ===== Survol des cartes : le contour bleu apparaît en fondu ===== */
/* (anciens éléments de contour dessiné, devenus inutiles : on les masque) */
.bordure, .dev-bordure { display: none; }

.carte, .chiffre, .reseau, .dev, .faq details {
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), border-color .5s ease,
              box-shadow .5s ease, background-color .5s ease;
}
.carte:hover, .chiffre:hover, .reseau:hover, .reseau:focus-visible, .dev:hover,
.faq details:hover, .faq details[open] {
  border-color: var(--neon);
  box-shadow: 0 0 0 1px var(--neon), 0 0 7px var(--glow), 0 0 26px var(--glow-faible);
}

/* Logo : pas de délai de double-tap sur mobile (utile pour les clics rapides) */
.logo { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
