:root {
            --bg-dark: #0a0f1c;
            --bg-card: #111827;
            --neon-cyan:#3fe0a8;
            --neon-green:#54ecb7;
            --gold: #d4af37;
            --text-main: #f1f5f9;
            --text-muted: #94a3b8;
            --error-red: #ff3366;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        

        /* Lien retour discret */
        .lien-retour {
            align-self: flex-start;
            margin-bottom: 20px;
            font-size: 12px;
            font-family: Consolas, monospace;
        }
        .lien-retour a {
            color: var(--text-muted);
            text-decoration: none;
            letter-spacing: 1px;
            transition: color 0.3s ease;
        }
        .lien-retour a:hover { color: var(--neon-cyan); }

        /* --- EN-TÊTE --- */
        .header {
            text-align: center;
            margin-bottom: 40px;
        }
        .header h1 {
            font-family: Georgia, serif;
            font-size: 28px;
            color: var(--text-main);
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 5px;
        }
        .header p {
            font-size: 12px;
            color: var(--gold);
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        /* --- CONTENEUR PRINCIPAL --- */
        .verification-container {
            width: 100%;
            max-width: 600px;
            background: var(--bg-card);
            border: 1px solid rgba(0, 229, 255, 0.3);
            border-radius: 8px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.05);
            position: relative;
        }

        /* Coins décoratifs */
        .verification-container::before, .verification-container::after {
            content: '';
            position: absolute;
            width: 20px; height: 20px;
            border: 2px solid var(--neon-cyan);
        }
        .verification-container::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
        .verification-container::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

        .form-intro {
            font-size: 14px;
            color: var(--text-muted);
            text-align: center;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        /* --- FORMULAIRE --- */
        .form-group {
            margin-bottom: 20px;
        }
        label {
            display: block;
            font-family: Consolas, monospace;
            font-size: 11px;
            color: var(--neon-cyan);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        input {
            width: 100%;
            padding: 15px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid #334155;
            color: var(--text-main);
            font-family: Consolas, monospace;
            font-size: 14px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        input:focus {
            outline: none;
            border-color: var(--neon-cyan);
            box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
            background: rgba(0, 229, 255, 0.05);
        }

        button {
            width: 100%;
            padding: 16px;
            background: var(--neon-cyan);
            color: #000;
            border: none;
            font-family: 'Segoe UI', Tahoma, sans-serif;
            font-weight: 700;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 2px;
            cursor: pointer;
            border-radius: 4px;
            margin-top: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
        }
        button:hover {
            background: #fff;
            box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
        }

        /* --- RÉSULTATS --- */
        .result-box {
            margin-top: 30px;
            padding: 25px;
            border-radius: 6px;
            display: none;
            animation: fadeIn 0.5s ease;
        }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* État : Valide */
        .result-box.valid {
            display: block;
            background: rgba(84, 236, 183, 0.05);
            border: 1px solid var(--neon-green);
            box-shadow: inset 0 0 20px rgba(84, 236, 183, 0.05);
        }
        .valid .status-icon { color: var(--neon-green); font-size: 40px; text-align: center; margin-bottom: 10px; }
        .valid h2 { color: var(--neon-green); font-size: 20px; text-align: center; margin-bottom: 20px; letter-spacing: 1px; }

        /* État : Invalide */
        .result-box.invalid {
            display: block;
            background: rgba(255, 51, 102, 0.05);
            border: 1px solid var(--error-red);
        }
        .invalid .status-icon { color: var(--error-red); font-size: 40px; text-align: center; margin-bottom: 10px; }
        .invalid h2 { color: var(--error-red); font-size: 20px; text-align: center; margin-bottom: 10px; letter-spacing: 1px; }
        .invalid p { color: var(--text-muted); text-align: center; font-size: 14px; line-height: 1.5; }

        /* Détails du certificat */
        .cert-details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px dashed rgba(255, 255, 255, 0.1);
        }
        .detail-item {
            font-size: 13px;
            line-height: 1.5;
        }
        .detail-item.full-width { grid-column: span 2; }
        .detail-label {
            color: var(--text-muted);
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-family: Consolas, monospace;
            margin-bottom: 2px;
        }
        .detail-value {
            color: var(--text-main);
            font-weight: 600;
        }
        .detail-value.highlight { color: var(--neon-cyan); }

        /* Footer */
        .verif-note {
            margin-top: 50px;
            font-size: 11px;
            color: var(--text-muted);
            font-family: Consolas, monospace;
        }
        .verif-note a { color: var(--gold); text-decoration: none; }
        .verif-note a:hover { text-decoration: underline; }

        @media (max-width: 480px) {
            .verification-container { padding: 25px; }
            .cert-details { grid-template-columns: 1fr; }
            .detail-item.full-width { grid-column: span 1; }
        }
    .photo-detenteur{display:block;margin:10px auto;border-radius:50%;
border:2px solid var(--neon-green);width:140px;height:140px;object-fit:cover}
a{color:#3fe0a8}

/* recentrage (CK) */
main#contenu { display:flex; justify-content:center; }
.wrap-center { max-width:760px; width:100%; }
.verification-container { margin:30px auto 0; text-align:left; }
.result-box { text-align:center; }
h1,h2 { text-align:center; }

/* classes réellement émises par verification.js */
.result-box.valide{border-color:#3fe0a8;box-shadow:0 0 0 1px rgba(63,224,168,.35) inset}
.result-box.invalide{border-color:#e14e6f;box-shadow:0 0 0 1px rgba(225,78,111,.35) inset}
.result-box .verdict{font-weight:700;letter-spacing:.02em}
.result-box .verdict.valide{color:#3fe0a8}
.result-box .verdict.invalide{color:#e14e6f}

/* v18 — bouton « certificat en anglais » : même langage visuel que les CTA du site
   (cyan #00f0ff, monospace, rayon 10, transition douce), placé sous la fiche. */
.btn-cert-langue{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:14px;
  padding:11px 20px;
  min-height:44px;
  border:1px solid #00f0ff;
  border-radius:10px;
  background:rgba(0,240,255,.10);
  color:#00f0ff;
  font:600 .92rem/1.25 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.02em;
  text-decoration:none;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.btn-cert-langue::after{
  content:"\2192";
  font-size:1em;
  line-height:1;
}
.btn-cert-langue:hover,
.btn-cert-langue:focus-visible{
  background:#00f0ff;
  color:#04121a;
  transform:translateY(-1px);
}
.btn-cert-langue:active{ transform:translateY(0); }
@media (max-width:480px){
  .btn-cert-langue{ width:100%; padding:13px 18px; }
}
