/* Thème Sidaire : nuit verte, œil cyan, cheveux argentés */
:root {
  --nuit: #06110d;
  --nuit-2: #0a1a15;
  --nuit-3: #10271f;
  --brume: #1d4a3f;
  --vert: #2e6b55;
  --cyan: #5ff5e6;
  --cyan-2: #2fd1c4;
  --cyan-fonce: #138a80;
  --argent: #e6efe9;
  --argent-2: #b9cbc3;
  --texte-doux: #8fa89f;
  --rouge: #ff6b5e;
  --verre: rgba(14, 36, 29, .72);
  --verre-2: rgba(22, 52, 43, .6);
  --bord: rgba(95, 245, 230, .16);
  --bord-fort: rgba(95, 245, 230, .38);
  --lueur: 0 0 18px rgba(95, 245, 230, .35);
  --ombre: 0 10px 30px rgba(0, 0, 0, .45);
  --rayon: 14px;
  --titre: "Cinzel", Georgia, serif;
  --texte: "Nunito", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--texte);
  color: var(--argent);
  line-height: 1.6;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(46, 107, 85, .35), transparent 70%),
    radial-gradient(ellipse 60% 45% at 100% 30%, rgba(19, 138, 128, .18), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(29, 74, 63, .45), transparent 70%),
    var(--nuit);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: var(--cyan); }
a:hover { color: #a9fff6; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.2; margin: 0 0 .5em; color: #f2fbf7; }
code { background: var(--nuit-3); color: var(--cyan); padding: .1em .4em; border-radius: 4px; font-size: .92em; }
.conteneur { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.discret { color: var(--texte-doux); font-size: .95em; }
::selection { background: var(--cyan-fonce); color: #fff; }

/* Barre de navigation */
.barre {
  background: rgba(6, 17, 13, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bord);
  position: sticky; top: 0; z-index: 10;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .4);
}
.barre-int { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--argent); text-decoration: none;
  font-family: var(--titre); font-weight: 800; font-size: 1.4rem; letter-spacing: .08em; }
.logo img { filter: drop-shadow(0 0 6px rgba(95, 245, 230, .5)); }
.logo:hover { color: #fff; }
.barre nav { display: flex; gap: 4px; align-items: center; }
.barre nav a {
  color: var(--argent-2); text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 8px;
  transition: background .15s, color .15s;
}
.barre nav a:hover { background: rgba(95, 245, 230, .08); color: #fff; }
.barre nav a.actif { color: var(--cyan); text-shadow: 0 0 10px rgba(95, 245, 230, .6); }
.barre nav a.cta {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-fonce)); color: #04110d; margin-left: 6px;
  box-shadow: var(--lueur);
}
.barre nav a.cta:hover { filter: brightness(1.1); color: #04110d; }
.burger { display: none; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 24px; height: 3px; margin: 4px 0; background: var(--argent); border-radius: 2px; }

/* Bannière d'accueil */
.hero {
  position: relative; overflow: hidden; color: var(--argent);
  background:
    radial-gradient(circle at 78% 45%, rgba(95, 245, 230, .18), transparent 32%),
    linear-gradient(115deg, #050e0b 0%, #0c231c 45%, #12352b 100%);
  border-bottom: 1px solid var(--bord);
}
/* brume qui dérive lentement */
.hero::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 25% at 30% 70%, rgba(120, 200, 170, .13), transparent 70%),
    radial-gradient(ellipse 35% 20% at 70% 85%, rgba(95, 245, 230, .10), transparent 70%),
    radial-gradient(ellipse 30% 18% at 10% 30%, rgba(160, 220, 200, .08), transparent 70%);
  animation: brume 18s ease-in-out infinite alternate;
}
@keyframes brume { from { transform: translate3d(-3%, 0, 0); } to { transform: translate3d(3%, -2%, 0); } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }

.hero-int {
  position: relative; z-index: 1; padding: 72px 16px 80px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center;
}
.hero-texte { text-align: left; }
.surtitre { text-transform: uppercase; letter-spacing: .3em; font-size: .8rem; color: var(--cyan); margin: 0 0 12px; font-weight: 800;
  text-shadow: 0 0 12px rgba(95, 245, 230, .5); }
.hero h1 {
  font-size: clamp(3rem, 9vw, 5.4rem); margin: 0; letter-spacing: .06em;
  background: linear-gradient(180deg, #ffffff 0%, #d9ece5 55%, #8fe9df 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(95, 245, 230, .25));
}
.slogan { font-size: 1.2rem; max-width: 520px; margin: 14px 0 30px; color: var(--argent-2); font-style: italic; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-portrait { position: relative; justify-self: center; width: min(100%, 400px); aspect-ratio: 1; }
.hero-portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 50%;
  border: 2px solid var(--bord-fort);
  box-shadow: 0 0 0 10px rgba(95, 245, 230, .05), 0 0 60px rgba(95, 245, 230, .25), var(--ombre);
  -webkit-mask-image: radial-gradient(circle, #000 66%, rgba(0, 0, 0, .85) 72%);
          mask-image: radial-gradient(circle, #000 66%, rgba(0, 0, 0, .85) 72%);
}
/* halo autour du portrait */
.hero-portrait::before {
  content: ""; position: absolute; inset: -8%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(95, 245, 230, .25), transparent 65%);
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-portrait::before { animation: none; } }

.bandeau {
  background: linear-gradient(115deg, #050e0b, #0f2c23 70%, #153b30);
  color: var(--argent); padding: 40px 0 36px; border-bottom: 1px solid var(--bord); position: relative; overflow: hidden;
}
.bandeau::after {
  content: ""; position: absolute; right: -40px; top: 50%; width: 260px; height: 260px; transform: translateY(-50%);
  background: url("embleme.svg") no-repeat center / contain; opacity: .08; pointer-events: none;
}
.bandeau h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0; color: #f2fbf7; }
.bandeau p { margin: 6px 0 0; color: var(--argent-2); }

/* Boutons (la classe "or" garde son nom mais devient cyan) */
.bouton {
  display: inline-block; text-decoration: none; border-radius: 10px; padding: 13px 26px;
  border: 0; cursor: pointer; font: inherit; font-weight: 800; transition: transform .1s, filter .15s, box-shadow .15s;
}
.bouton:active { transform: translateY(1px); }
.bouton.or {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-fonce)); color: #04110d;
  box-shadow: 0 0 0 1px rgba(95, 245, 230, .4), var(--lueur);
}
.bouton.or:hover { filter: brightness(1.1); box-shadow: 0 0 0 1px rgba(95, 245, 230, .6), 0 0 28px rgba(95, 245, 230, .55); color: #04110d; }
.bouton.fantome { color: var(--argent); border: 1px solid var(--bord-fort); background: rgba(95, 245, 230, .04); }
.bouton.fantome:hover { background: rgba(95, 245, 230, .1); color: #fff; }
.bouton.petit { padding: 9px 18px; font-size: .95rem; }
.bouton.large { width: 100%; padding: 15px; font-size: 1.05rem; }

/* Mise en page */
.grille { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding-top: 32px; padding-bottom: 48px; align-items: start; }
main.conteneur:not(.grille) { padding-top: 28px; padding-bottom: 48px; }
.carte {
  background: var(--verre);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--bord); border-radius: var(--rayon);
  box-shadow: var(--ombre); padding: 22px 24px; margin-bottom: 20px;
}
.titre-section { font-size: 1.5rem; margin: 30px 0 14px; display: flex; align-items: center; gap: 12px; }
.titre-section::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--cyan-2), transparent); }

.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.atout {
  background: linear-gradient(160deg, var(--verre-2), var(--verre));
  border: 1px solid var(--bord); border-radius: var(--rayon); padding: 18px; box-shadow: var(--ombre);
  transition: border-color .2s, transform .2s;
}
.atout:hover { border-color: var(--bord-fort); transform: translateY(-2px); }
.atout h3 { font-size: 1.05rem; margin: 10px 0 4px; }
.atout p { margin: 0; font-size: .93rem; color: var(--texte-doux); }
.ico {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--nuit); color: var(--cyan); font-size: 1.25rem; border: 1px solid var(--bord-fort);
  box-shadow: inset 0 0 12px rgba(95, 245, 230, .2), 0 0 12px rgba(95, 245, 230, .2);
}

.actu header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--bord); margin-bottom: 12px; }
.actu h3 { margin-bottom: 8px; }
.actu time { color: var(--cyan-2); font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
.actu p { margin: 0 0 10px; color: var(--argent-2); }

/* Colonne latérale */
.cote .carte { padding: 18px 20px; }
.cote h3 { font-size: 1rem; color: var(--cyan); margin-bottom: 12px; letter-spacing: .05em; }
.statut { background: linear-gradient(160deg, rgba(19, 60, 49, .85), rgba(6, 17, 13, .9)); border-color: var(--bord-fort); }
.voyant { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; margin: 0 0 12px; }
.voyant i { width: 14px; height: 14px; border-radius: 50%; }
.voyant.on i { background: var(--cyan); box-shadow: 0 0 0 4px rgba(95, 245, 230, .18), 0 0 14px var(--cyan); animation: pulse 2.5s ease-in-out infinite; }
.voyant.off i { background: var(--rouge); box-shadow: 0 0 0 4px rgba(255, 107, 94, .2); }
.statut dl { margin: 0; }
.statut dl div { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--bord); }
.statut dt { color: var(--texte-doux); }
.statut dd { margin: 0; font-weight: 800; }
.taux { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.taux li { background: rgba(6, 17, 13, .55); border: 1px solid var(--bord); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; }
.taux span { font-size: .8rem; color: var(--texte-doux); }
.taux b { font-size: 1.15rem; color: var(--cyan); }
.top { list-style: none; margin: 0 0 10px; padding: 0; }
.top li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--bord); }
.top li span:not(.classe) { flex: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top b { font-size: .88rem; color: var(--texte-doux); }
.lien-fleche { font-weight: 800; text-decoration: none; }

/* Pastille de classe */
.classe { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px;
  font-size: .72rem; font-weight: 800; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.4); margin-right: 8px; vertical-align: middle;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.top .classe { margin-right: 0; }
.c1 { background: #3f74a8; } .c2 { background: #7d6238; } .c3 { background: #a6851f; } .c4 { background: #4a4a5a; }
.c5 { background: #3768a0; } .c6 { background: #b56d33; } .c7 { background: #b94b74; } .c8 { background: #a8402c; }
.c9 { background: #557f2f; } .c10 { background: #2f7d55; } .c11 { background: #842b2b; } .c12 { background: #5f7180; }

/* Formulaire */
.formulaire fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.formulaire legend { font-family: var(--titre); font-weight: 800; font-size: 1.1rem; color: var(--cyan); margin-bottom: 10px; }
.formulaire label { display: block; font-weight: 700; margin-bottom: 14px; }
.formulaire input {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; color: var(--argent);
  background: rgba(4, 12, 9, .75); border: 1px solid var(--bord-fort); border-radius: 9px; transition: border-color .15s, box-shadow .15s;
}
.formulaire input::placeholder { color: #5f776e; }
.formulaire input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(95, 245, 230, .15), var(--lueur); }
.formulaire small { display: block; font-weight: 400; color: var(--texte-doux); margin-top: 5px; font-size: .86rem; }
.formulaire .aide { margin-top: -6px; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.robot { background: rgba(6, 17, 13, .55); border: 1px solid var(--bord); padding: 12px 14px; border-radius: 9px; }
.robot input { max-width: 140px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alerte { background: rgba(255, 107, 94, .1); border: 1px solid rgba(255, 107, 94, .45); color: #ffc2bb; border-radius: 9px; padding: 10px 16px; margin-bottom: 18px; }
.alerte ul { margin: 0; padding-left: 18px; }
.succes { border-left: 4px solid var(--cyan); }
.succes h2 { color: var(--cyan); }

/* Classement */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filtres a { text-decoration: none; color: var(--argent-2); background: var(--verre); border: 1px solid var(--bord);
  padding: 6px 13px; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.filtres a:hover { border-color: var(--bord-fort); color: #fff; }
.filtres a.actif { background: rgba(95, 245, 230, .14); color: var(--cyan); border-color: var(--bord-fort); }
.tableau-cadre { padding: 6px; overflow-x: auto; }
.tableau { width: 100%; border-collapse: collapse; }
.tableau th { text-align: left; font-family: var(--titre); font-size: .85rem; color: var(--cyan); padding: 12px 14px; border-bottom: 1px solid var(--bord-fort); }
.tableau td { padding: 10px 14px; border-bottom: 1px solid var(--bord); }
.tableau tr:hover td { background: rgba(95, 245, 230, .05); }
.tableau .num { text-align: right; font-variant-numeric: tabular-nums; }
.tableau .nom { font-weight: 800; white-space: nowrap; }
.rang { font-weight: 800; color: var(--texte-doux); width: 48px; }
.podium .rang { font-size: 1.1rem; }
.p1 .rang { color: #f2d36b; } .p2 .rang { color: #c9d4d8; } .p3 .rang { color: #d39159; }
.pastille { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); margin-left: 8px; vertical-align: middle; }

/* Étapes */
.etapes { list-style: none; padding: 0; margin: 0; }
.etapes li { display: flex; gap: 18px; align-items: flex-start; }
.etapes p { margin: 0 0 12px; }
.num-etape { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-family: var(--titre); font-weight: 800; font-size: 1.3rem; color: #04110d;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-fonce)); box-shadow: var(--lueur); }
.faq details { border-top: 1px solid var(--bord); padding: 12px 0; }
.faq summary { font-weight: 800; cursor: pointer; }
.faq summary:hover { color: var(--cyan); }
.faq p { margin: 8px 0 0; color: var(--texte-doux); }

/* Pied de page */
.pied { background: rgba(4, 10, 8, .9); color: var(--texte-doux); padding: 26px 0; border-top: 1px solid var(--bord); text-align: center; font-size: .92rem; }
.pied p { margin: 4px 0; }
.pied b { color: var(--argent); letter-spacing: .05em; }
.pied .discret { color: #5f776e; }

/* Téléphone et tablette */
@media (max-width: 900px) {
  .grille { grid-template-columns: 1fr; }
  .atouts { grid-template-columns: 1fr; }
  .hero-int { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hero-texte { text-align: center; }
  .slogan { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .hero-portrait { width: min(70%, 300px); order: -1; }
}
@media (max-width: 720px) {
  .burger { display: block; }
  .barre nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(6, 17, 13, .97); padding: 10px 16px 16px; border-bottom: 1px solid var(--bord); }
  .barre nav a.cta { margin: 6px 0 0; text-align: center; }
  #menu-bouton:checked ~ nav { display: flex; }
  .deux { grid-template-columns: 1fr; gap: 0; }
  .hero-int { padding: 44px 16px 56px; }
  .carte { padding: 18px; }
  .cache-mobile { display: none; }
  .tableau td, .tableau th { padding: 9px 8px; }
}
