:root{
    --gold:#e6a72d;
    --gold2:#ffd36a;
    --text:#ffffff;
    --muted:#d7d7d7;

    --desktop-card-left:350px;
    --desktop-card-top:70px;

    --container:1180px;
    --card-width:620px;

    --card-bg:rgba(4,12,12,.58);
    --card-border:rgba(255,255,255,.16);
    --card-gold:rgba(230,167,45,.36);

    --shadow:0 35px 100px rgba(0,0,0,.55);
    --radius:28px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    color:var(--text);
    font-family:Arial, Helvetica, sans-serif;
}

a{
    color:inherit;
    text-decoration:none;
}

button,
input{
    font-family:inherit;
}

.container{
    width:min(var(--container), calc(100% - 48px));
    margin:0 auto;
}

/* TITRES */

.hero-card h1,
.auth-card h1,
.service-main-card h1,
.service-main-card h2,
.section-title h2,
.mini-tarifs-card h2{
    font-family:'Arial Black', Arial, Helvetica, sans-serif;
    font-weight:900;
    letter-spacing:-.07em;
    line-height:.95;
    color:var(--gold);
}

/* CARD COMMUNE */

.page-card,
.auth-card,
.hero-card,
.pricing,
.service-main-card,
.service-card,
.mini-tarifs-card{
    background:var(--card-bg);
    border:1px solid var(--card-border);
    box-shadow:var(--shadow);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

/* BOUTONS */

.btn-primary,
.btn-outline{
    min-height:58px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 28px;
    border-radius:16px;
    font-weight:900;
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.btn-primary{
    background:linear-gradient(135deg, var(--gold2), var(--gold));
    color:#060606;
}

.btn-outline{
    border:1px solid rgba(255,255,255,.18);
    background:rgba(0,0,0,.28);
    color:#fff;
}

.btn-primary:hover,
.btn-outline:hover{
    transform:scale(1.03);
    box-shadow:0 18px 45px rgba(230,167,45,.20);
}

/* BOUTONS HERO */

.actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    margin-top:34px;
}

.actions-stack{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
}

.hero-action-btn{
    min-height:70px;
    padding:0 22px;
    border-radius:20px;
    background:linear-gradient(135deg, var(--gold2), var(--gold));
    color:#080808;
    display:flex;
    flex-direction:column;
    justify-content:center;
    font-weight:900;
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hero-action-btn strong{
    font-size:18px;
}

.hero-action-btn small{
    margin-top:5px;
    font-size:13px;
    opacity:.75;
}

.hero-action-btn:hover{
    transform:scale(1.03);
    box-shadow:0 18px 45px rgba(230,167,45,.25);
}

.hero-action-dark{
    background:rgba(0,0,0,.28);
    border:1px solid var(--card-gold);
    color:#fff;
}

.hero-action-dark:hover{
    border-color:var(--gold2);
    box-shadow:0 18px 45px rgba(0,0,0,.35);
}

/* ACCUEIL */

.home{
    overflow:hidden;
}

.hero{
    min-height:500px;
    display:flex;
    align-items:flex-start;
    background:transparent;
    padding-top:var(--desktop-card-top);
}

.hero .container{
    display:flex;
    justify-content:flex-start;
}

.hero-card{
    width:var(--card-width);
    max-width:100%;
    margin-left:var(--desktop-card-left);
    padding:38px;
    border-radius:var(--radius);
}

.hero-card h1{
    margin:0 0 22px;
    font-size:58px;
}

.hero-card h1 span{
    display:block;
}

.hero-card p{
    margin:0;
    color:var(--muted);
    font-size:20px;
    line-height:1.65;
}

.tag{
    display:inline-flex;
    padding:10px 16px;
    border-radius:999px;
    border:1px solid var(--card-gold);
    background:rgba(230,167,45,.08);
    color:var(--gold2);
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.16em;
}

/* SECTIONS */

.section{
    padding:40px 0;
}

.section-title{
    text-align:center;
    margin-bottom:36px;
}

.section-title span{
    color:var(--gold2);
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.20em;
}

.section-title h2{
    margin:12px 0;
    font-size:clamp(32px, 4vw, 52px);
}

.section-title p{
    margin:0;
    color:var(--muted);
}

/* GALERIE */

.cards-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:24px;
}

.competition-card{
    position:relative;
    min-height:430px;
    overflow:hidden;
    border-radius:var(--radius);
    background:rgba(0,0,0,.35);
    border:1px solid var(--card-gold);
    box-shadow:var(--shadow);
}

.competition-slider{
    position:absolute;
    inset:0;
}

.competition-slide{
    position:absolute;
    inset:0;
    opacity:0;
    background-size:cover;
    background-position:center;
    transform:scale(1.06);
    transition:opacity .8s ease, transform 4s ease;
}

.competition-slide.active{
    opacity:.88;
    transform:scale(1);
}

.competition-card::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.88));
}

.competition-content{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:2;
    padding:26px;
}

.badge{
    display:inline-flex;
    min-height:32px;
    align-items:center;
    padding:0 12px;
    border-radius:999px;
    background:rgba(230,167,45,.13);
    border:1px solid var(--card-gold);
    color:var(--gold2);
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
}

.competition-content h2{
    margin:14px 0 8px;
    font-size:28px;
}

.competition-content p{
    margin:0;
    color:#e4e4e4;
    line-height:1.5;
}

/* ===============================
   LOGIN
================================ */

.page-login .site-footer{
    display:none;
}

.auth-page{
    min-height:calc(100vh - 74px);
    background:transparent;
}

.auth-shell{
    min-height:calc(100vh - 74px);
    display:flex;
    align-items:flex-start;
    padding-top:var(--desktop-card-top);
}

.auth-card{
    width:520px;
    max-width:100%;
    margin-left:var(--desktop-card-left);
    padding:38px;
    border-radius:var(--radius);
}

.auth-card h1{
    margin:0 0 22px;
    font-size:58px;
}

.auth-intro{
    margin:0 0 24px;
    color:#d6d6d6;
    font-size:21px;
    line-height:1.65;
}

.auth-form{
    display:grid;
    gap:18px;
}

.auth-field{
    position:relative;
}

.auth-form input{
    width:100%;
    height:60px;
    padding:0 20px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(4,12,12,.72);
    color:#ffffff;
    outline:none;
    font-size:15px;
}

.auth-form input::placeholder{
    color:rgba(255,255,255,.45);
}

.auth-form input:focus{
    border-color:var(--gold);
    box-shadow:0 0 0 4px rgba(230,167,45,.14);
}

.password-field input{
    padding-right:58px;
}

.password-toggle{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    width:38px;
    height:38px;
    border:0;
    background:transparent;
    color:#ffd36a;
    font-size:18px;
    cursor:pointer;
}

.auth-separator,
.auth-or{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:14px;
    align-items:center;
}

.auth-separator span,
.auth-or span{
    height:1px;
    background:rgba(255,255,255,.14);
}

.auth-separator a{
    color:#fff;
    font-weight:900;
}

.auth-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin-top:16px;
}

.auth-actions button,
.auth-btn{
    min-height:70px;
    border:0;
    border-radius:22px;
    background:linear-gradient(135deg, var(--gold2), var(--gold));
    color:#080808;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    text-align:center;
}

.auth-actions strong,
.auth-create strong{
    font-size:18px;
    font-weight:900;
}

.auth-actions small,
.auth-create small{
    margin-top:5px;
    font-size:13px;
    opacity:.78;
}

.auth-or em{
    font-style:normal;
}

.auth-create{
    min-height:72px;
    border-radius:22px;
    border:1px solid var(--card-gold);
    background:rgba(0,0,0,.22);
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:0 56px;
}

.auth-help{
    margin-top:28px;
    color:#d8d8d8;
}

.auth-help a{
    color:var(--gold2);
    font-weight:900;
}

.auth-alert{
    position:relative;
    margin:0 0 20px;
    padding:16px 18px;
    border-radius:16px;
    background:#c83a3d;
    color:#050505;
    font-size:15px;
    font-weight:900;
    text-align:center;
}

.auth-alert::after{
    content:"";
    position:absolute;
    left:42px;
    bottom:-10px;
    width:20px;
    height:20px;
    background:#c83a3d;
    transform:rotate(45deg);
}
/* FORCE LOGIN INPUT SOMBRE MÊME APRÈS ERREUR / AUTOFILL */

.auth-form .auth-field input,
.auth-form .auth-field input:hover,
.auth-form .auth-field input:focus,
.auth-form .auth-field input:active,
.auth-form .auth-field input:-webkit-autofill,
.auth-form .auth-field input:-webkit-autofill:hover,
.auth-form .auth-field input:-webkit-autofill:focus,
.auth-form .auth-field input:-webkit-autofill:active{
    background:rgba(4,12,12,.72) !important;
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    caret-color:#ffffff !important;
    border:1px solid rgba(255,255,255,.14) !important;
    box-shadow:0 0 0 1000px rgba(4,12,12,.92) inset !important;
}

.auth-form .auth-field input::placeholder{
    color:rgba(255,255,255,.45) !important;
}

.password-field input{
    padding-right:58px !important;
}

.password-toggle{
    color:#ffd36a !important;
}
.auth-alert{
    transition:opacity .3s ease, transform .3s ease;
}
/* SERVICES */

.services-hero{
    min-height:360px;
    display:flex;
    align-items:flex-start;
    padding-top:var(--desktop-card-top);
}

.service-main-card{
    width:var(--card-width);
    max-width:100%;
    margin-left:var(--desktop-card-left);
    padding:38px;
    border-radius:var(--radius);
}

.service-main-card h1,
.service-main-card h2{
    margin:0 0 22px;
    font-size:clamp(42px, 4.2vw, 58px);
}

.service-main-card p{
    margin:0;
    color:var(--muted);
    font-size:20px;
    line-height:1.65;
}

.services-section{
    padding:20px 0 50px;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:24px;
}

.service-card{
    padding:30px;
    border-radius:var(--radius);
}

.service-card h2{
    margin:0 0 12px;
    color:var(--gold);
    font-size:30px;
    font-weight:900;
}

.service-card p{
    margin:0 0 18px;
    color:var(--muted);
    line-height:1.6;
}

/* LISTES SERVICES SANS TRAITS */

.service-card ul{
    margin:18px 0 0;
    padding:0;
    list-style:none;
    background:transparent !important;
}

.service-card li{
    position:relative;
    margin:0;
    padding:8px 0 8px 24px;
    color:#e4e4e4;
    line-height:1.5;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}

.service-card li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:8px;
    color:var(--gold2);
    font-weight:900;
}

.services-cta{
    padding-bottom:80px;
}

/* MINI TARIFS */

.mini-tarifs{
    padding:20px 0 80px;
}

.mini-tarifs-card{
    padding:30px;
    border-radius:var(--radius);
}

.mini-tarifs-card h2{
    margin:0 0 20px;
    font-size:34px;
}

.mini-tarifs-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.mini-tarifs-grid div{
    min-height:96px;
    padding:18px;
    border-radius:18px;
    background:rgba(0,0,0,.25);
    border:1px solid rgba(255,255,255,.12);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.mini-tarifs-grid strong{
    display:block;
    color:#fff;
    text-align:center;
}

.mini-tarifs-grid span{
    display:block;
    margin-top:10px;
    color:var(--gold2);
    font-size:26px;
    font-weight:900;
    text-align:center;
}

.mini-tarifs-card p{
    margin:18px 0 0;
    color:var(--muted);
}
html,
body{
    min-height:100%;
}

body{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

main{
    flex:1;
}

/* ===============================
   PAGES LÉGALES
================================ */

.legal-page{
    flex:1;
    width:min(980px, calc(100% - 48px));
    margin:0 auto;
    padding:70px 0 70px;
    display:flex;
    align-items:flex-start;
}

.legal-card{
    width:100%;
    min-height:auto;
    padding:38px;
    border-radius:var(--radius);
    background:var(--card-bg);
    border:1px solid var(--card-border);
    box-shadow:var(--shadow);
    backdrop-filter:blur(14px);
}

.legal-card h1,
.legal-card h2,
.legal-card h3{
    color:var(--gold) !important;
    font-family:'Arial Black', Arial, Helvetica, sans-serif;
    font-weight:900;
    letter-spacing:-.04em;
}

.legal-card h1{
    margin:0 0 24px;
    font-size:clamp(38px, 5vw, 58px);
    line-height:1;
}

.legal-card h2{
    margin:32px 0 14px;
    font-size:28px;
    line-height:1.1;
}

.legal-card p,
.legal-card li,
.legal-card td,
.legal-card th{
    color:#f1f1f1;
    font-size:16px;
    line-height:1.65;
}

.legal-card a{
    color:var(--gold2);
    font-weight:900;
}
/* ===============================
   MAINTENANCE
================================ */

.page-maintenance .site-nav{
    display:none;
}

.maintenance-page{
    flex:1;
}

.maintenance-shell{
    min-height:calc(100vh - 74px);
    display:flex;
    align-items:flex-start;
    padding-top:var(--desktop-card-top);
}

.maintenance-card{
    width:var(--card-width);
    max-width:100%;
    margin-left:var(--desktop-card-left);
    padding:38px;
    border-radius:var(--radius);
}

.maintenance-card h1{
    margin:22px 0 20px;
    color:var(--gold);
    font-family:'Arial Black', Arial, Helvetica, sans-serif;
    font-size:58px;
    font-weight:900;
    line-height:.95;
    letter-spacing:-.07em;
}

.maintenance-card p{
    margin:0;
    color:var(--muted);
    font-size:20px;
    line-height:1.65;
}

.maintenance-muted{
    margin-top:18px !important;
    color:var(--gold2) !important;
    font-weight:900;
}

/* ===============================
   SCAN QRCODE
================================ */

.scan-shell{
    min-height:calc(100vh - 74px);
    display:flex;
    align-items:flex-start;
    padding-top:var(--desktop-card-top);
}

.scan-card{
    width:520px;
    max-width:100%;
    margin-left:var(--desktop-card-left);
    padding:38px;
    border-radius:var(--radius);
    background:var(--card-bg);
    border:1px solid var(--card-border);
    box-shadow:var(--shadow);
    backdrop-filter:blur(14px);
}

.scan-card h1{
    margin:0 0 22px;
    color:var(--gold);
    font-family:'Arial Black', Arial, Helvetica, sans-serif;
    font-size:52px;
    line-height:.95;
}

.scan-card p{
    color:var(--muted);
    font-size:18px;
    line-height:1.6;
}

#reader{
    width:100%;
    min-height:340px;
    margin-top:24px;
    overflow:hidden;
    border-radius:22px;
    background:#020707;
    border:1px solid rgba(255,255,255,.14);
}

.scan-result{
    margin-top:18px;
    color:#fff;
    text-align:center;
    font-weight:900;
}

.scan-success{
    color:#73ff9a;
}

.scan-error{
    color:#ff7373;
}

#restartScan{
    margin-top:18px;
}
/* ===============================
   REGISTER
================================ */

.register-card{
    width:620px;
}

.register-form{
    gap:18px;
}

.register-step{
    display:none;
}

.register-step.active{
    display:grid;
    gap:18px;
}

.register-step h2{
    margin:0 0 4px;
    color:var(--gold);
    font-family:'Arial Black', Arial, Helvetica, sans-serif;
    font-size:30px;
    line-height:1;
    letter-spacing:-.05em;
}

.register-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.step-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.step-btn{
    min-height:62px;
    border:0;
    border-radius:20px;
    background:linear-gradient(135deg, var(--gold2), var(--gold));
    color:#080808;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
    transition:transform .25s ease, box-shadow .25s ease;
}

.step-btn:hover{
    transform:scale(1.03);
    box-shadow:0 18px 45px rgba(230,167,45,.22);
}

.step-secondary{
    background:rgba(0,0,0,.28);
    border:1px solid var(--card-gold);
    color:#fff;
}

.plan-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
}

.plan-card{
    position:relative;
    min-height:118px;
    padding:22px 24px 22px 78px;
    border-radius:24px;
    background:rgba(4,12,12,.55);
    border:1px solid rgba(255,255,255,.16);
    cursor:pointer;
    display:grid;
    gap:6px;
    transition:.25s ease;
}

.plan-card:hover{
    transform:scale(1.02);
    border-color:var(--gold2);
}

.plan-card input{
    position:absolute;
    left:26px;
    top:50%;
    transform:translateY(-50%);
    width:28px !important;
    height:28px !important;
    opacity:0;
}

.plan-card::before{
    content:"";
    position:absolute;
    left:26px;
    top:50%;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.35);
    background:rgba(0,0,0,.35);
}

.plan-card::after{
    content:"";
    position:absolute;
    left:34px;
    top:50%;
    transform:translateY(-50%) scale(0);
    width:14px;
    height:14px;
    border-radius:50%;
    background:var(--gold2);
    transition:.2s ease;
}

.plan-card:has(input:checked){
    background:rgba(230,167,45,.12);
    border-color:var(--gold2);
    box-shadow:0 0 0 4px rgba(230,167,45,.14);
}

.plan-card:has(input:checked)::after{
    transform:translateY(-50%) scale(1);
}

.plan-card strong{
    color:#fff;
    font-size:22px;
    font-weight:900;
}

.plan-card span{
    color:var(--gold2);
    font-size:34px;
    font-weight:900;
}

.plan-card small{
    color:#d7d7d7;
    font-weight:800;
}

.payment-info{
    color:var(--muted);
    font-size:17px;
    line-height:1.6;
}

.auth-alert-ok{
    background:#32bf74;
    color:#06120b;
}

.auth-alert-ok::after{
    background:#32bf74;
}