/* ============================= */
/*        TESKIDEH V1          */
/* ============================= */

:root{
    --navy-950:#0a0d14;
    --navy-900:#0d111a;
    --navy-800:#10131d;
    --gold-300:#f7d38a;
    --gold-400:#f5c66b;
    --gold-500:#e0a83e;
    --text-primary:#ffffff;
    --text-secondary:#cfcfcf;
    --text-muted:#8b93a7;
    --card-bg:rgba(255,255,255,.06);
    --card-border:rgba(255,255,255,.12);
    --ok-500:#3fb87f;
    --ok-bg:rgba(63,184,127,.12);
    --danger-500:#e05a5a;
    --danger-bg:rgba(224,90,90,.12);
    --radius-lg:28px;
    --radius-md:20px;
    --radius-sm:12px;
}

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#0a0d14;

    color:white;

    overflow-x:hidden;

}


/*============================*/
/* BACKGROUND */
/*============================*/

body::before{

    content:"";

    position:fixed;

    width:100%;

    height:100%;

    top:0;

    left:0;

    right:0;

    bottom:0;

    background:

    linear-gradient(rgba(8,10,20,.80),
    rgba(8,10,20,.90)),

    url("images/fond.jpeg");

    background-size:cover;

    background-position:center;

    z-index:-2;

}

body::after{

    content:"";

    position:fixed;

    width:100%;

    height:100%;

    top:0;

    left:0;

    right:0;

    bottom:0;

    background:

    radial-gradient(circle at top,
    rgba(255,190,80,.20),
    transparent 60%);

    z-index:-1;

}



/*============================*/
/* HEADER */
/*============================*/

header{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 70px;

}


/*============================*/
/* LOGO */
/*============================*/

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:55px;

}

.logo h2{

    color:#f5c66b;

    font-size:23px;

}

.logo span{

    color:#cfcfcf;

    font-size:12px;
text-decoration:none;
}


/*============================*/
/* MENU */
/*============================*/

nav{

    display:flex;

    gap:45px;
text-decoration:none;
}

nav a{

    color:white;

    text-decoration:none;

    font-weight:500;

    transition:.35s;

}

nav a:hover{

    color:#f5c66b;

}

nav a:first-child{

    color:#f5c66b;

}


/*============================*/
/* BUTTONS */
/*============================*/

.buttons{

    display:flex;

    gap:15px;

}

.login{

    padding:12px 28px;

    border:1px solid #f5c66b;

    background:transparent;

    color:white;

    border-radius:10px;

    cursor:pointer;

    transition:.35s;

}

.login:hover{

    background:#f5c66b;

    color:black;

}

.signup{

    padding:12px 28px;

    border:none;

    background:#f5c66b;

    color:black;

    font-weight:600;

    border-radius:10px;

    cursor:pointer;

    transition:.35s;

}

.signup:hover{

    transform:translateY(-3px);

    box-shadow:0 0 25px rgba(245,198,107,.45);

}
/*======================================*/
/* HERO SECTION */
/*======================================*/

.hero{

    width:100%;

    min-height:calc(100vh - 95px);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:40px 70px 70px;

    gap:70px;
text-decoration:none;
}


/*======================================*/
/* LEFT SIDE */
/*======================================*/

.left{

    flex:1;

}

.hero-logo{

    width:140px;

    margin-bottom:25px;

    filter:drop-shadow(0 0 20px rgba(245,198,107,.35));

}

.left h1{

    font-size:65px;

    color:#ffffff;

    line-height:1.1;

    margin-bottom:15px;

}

.left>p:first-of-type{

    font-size:24px;

    color:#f5c66b;

    margin-bottom:15px;

    font-weight:600;

}

.description{

    width:520px;

    max-width:100%;

    color:#d9d9d9;

    font-size:18px;

    line-height:1.8;

    margin-bottom:40px;

}


/*======================================*/
/* ACTION BUTTONS */
/*======================================*/

.actions{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.start{

    background:#f5c66b;

    color:#000;

    border:none;

    border-radius:12px;

    padding:15px 38px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.35s;

}

.start:hover{

    transform:translateY(-5px);

    box-shadow:0 0 30px rgba(245,198,107,.45);

}

.more{

    background:transparent;

    color:white;

    border:2px solid rgba(255,255,255,.18);

    padding:15px 38px;

    border-radius:12px;

    cursor:pointer;

    transition:.35s;

}

.more:hover{

    border-color:#f5c66b;

    color:#f5c66b;

}


/*======================================*/
/* RIGHT SIDE */
/*======================================*/

.right{

    flex:1;

    display:flex;

    justify-content:flex-end;

}


/* Animation douce */

.left{

    animation:fadeLeft 1s ease;

}

.right{

    animation:fadeRight 1s ease;

}

@keyframes fadeLeft{

    from{

        opacity:0;

        transform:translateX(-60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes fadeRight{

    from{

        opacity:0;

        transform:translateX(60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}
/*======================================*/
/* INSCRIPTION CARD */
/*======================================*/

.card{

    width:430px;

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.12);

    border-radius:28px;

    padding:40px;

    box-shadow:

    0 15px 50px rgba(0,0,0,.45),

    0 0 40px rgba(245,198,107,.08);

    transition:.40s;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:

    0 20px 60px rgba(0,0,0,.55),

    0 0 60px rgba(245,198,107,.18);

}

/*==============================*/

.card h2{

    text-align:center;

    font-size:30px;

    margin-bottom:30px;

    color:#f5c66b;

    font-weight:600;

}

/*==============================*/

/*==============================*/
/* CHAMPS DU FORMULAIRE CORRIGÉS */
/*==============================*/

.card input:not([type="checkbox"]) {
    width: 100%;
    height: 55px; /* Hauteur harmonisée */
    margin-bottom: 18px;
    border: none;
    outline: none;
    padding: 0 20px; 
    font-size: 15px;
    color: white;
    background: rgba(255, 255, 255, .08);
    border-radius: 12px;
    transition: .35s;
}

/* Structure pour regrouper des éléments sur une même ligne (Téléphone / Mot de passe) */
.input-group {
    position: relative;
    width: 100%;
    display: flex;
    gap: 10px; /* Crée un espace propre entre l'indicateur de pays et le numéro */
    margin-bottom: 18px;
}

/* Correction pour les champs situés à l'intérieur d'un groupe */
.input-group input {
    margin-bottom: 0; /* Supprime la marge du bas pour éviter les décalages */
}

/* Style propre pour le sélecteur de pays (+235) */
.country-select {
    height: 55px;
    background: rgba(255, 255, 255, .08);
    border: none;
    outline: none;
    color: white;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
}

.country-select option {
    background: #0a0d14; /* Assure que la liste reste sombre et lisible */
    color: white;
}

/* Positionnement parfait de l'icône de l'œil pour le mot de passe */
.password-container {
    position: relative;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #d8d8d8;
    font-size: 18px;
    z-index: 10;
}

/*==============================*/

.card input:focus{

    border:1px solid #f5c66b;

    background:rgba(255,255,255,.10);

    box-shadow:

    0 0 18px rgba(245,198,107,.25);

}

/*==============================*/

.card button{

    width:100%;

    height:58px;

    border:none;

    border-radius:12px;

    margin-top:12px;

    font-size:17px;

    font-weight:600;

    background:#f5c66b;

    color:#000;

    cursor:pointer;

    transition:.35s;

}

.card button:hover{

    transform:translateY(-4px);

    box-shadow:

    0 0 28px rgba(245,198,107,.45);

}

/*==============================*/
/* PETITS DETAILS PREMIUM */
/*==============================*/

.card::before{

    content:"";

    position:absolute;

    top:-2px;

    left:-2px;

    width:calc(100% + 4px);

    height:calc(100% + 4px);

    border-radius:28px;

    background:

    linear-gradient(135deg,

    rgba(245,198,107,.35),

    transparent,

    rgba(245,198,107,.25));

    z-index:-1;

    opacity:.25;

}

.card{

    position:relative;

    overflow:hidden;

}

/*==============================*/
/* LUMIERE DYNAMIQUE */
/*==============================*/

.card::after{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    background:

    radial-gradient(circle,

    rgba(245,198,107,.25),

    transparent);

    top:-70px;

    right:-70px;

    border-radius:50%;

    pointer-events:none;

}

/*==============================*/
/* INPUT ICON SPACE */
/*==============================*/

.card input{

    padding-left:20px;

}

/*==============================*/
/* ANIMATION */
/*==============================*/

.card{

    animation:cardAppear .9s ease;

}

@keyframes cardAppear{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}
/*========================================*/
/* RESPONSIVE */
/*========================================*/

@media(max-width:1200px){

.hero{

flex-direction:column;

padding:50px;

text-align:center;

}

.right{

justify-content:center;

margin-top:40px;

}

.left{

display:flex;

flex-direction:column;

align-items:center;

}

.description{

width:100%;

}

header{

padding:20px 35px;

}

nav{

display:none;

}

}


/*========================================*/

@media(max-width:700px){

header{

flex-direction:column;

gap:20px;

}

.buttons{

width:100%;

justify-content:center;

}

.card{

width:100%;

padding:30px;

}

.left h1{

font-size:42px;

}

.hero-logo{

width:100px;

}

}


/*========================================*/
/* SCROLLBAR */
/*========================================*/

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#10131d;

}

::-webkit-scrollbar-thumb{

background:#f5c66b;

border-radius:20px;

}


/*========================================*/
/* GOLD SELECTION */
/*========================================*/

::selection{

background:#f5c66b;

color:black;

}


/*========================================*/
/* LINK ANIMATION */
/*========================================*/

nav a{

position:relative;

}

nav a::after{

content:"";

position:absolute;

left:0;

bottom:-8px;

width:0;

height:2px;

background:#f5c66b;

transition:.4s;

}

nav a:hover::after{

width:100%;

}


/*========================================*/
/* BUTTON GLOW */
/*========================================*/

.signup,
.start{

position:relative;

overflow:hidden;

}

.signup::before,
.start::before{

content:"";

position:absolute;

width:30px;

height:220%;

background:rgba(255,255,255,.45);

transform:rotate(25deg);

left:-90px;

top:-50%;

transition:.8s;

}

.signup:hover::before,
.start:hover::before{

left:130%;

}


/*========================================*/
/* CARD SHADOW */
/*========================================*/

.card{

box-shadow:

0 20px 60px rgba(0,0,0,.55),

0 0 30px rgba(245,198,107,.12);

}


/*========================================*/
/* FLOATING ANIMATION */
/*========================================*/

.hero-logo{

animation:float 4s ease-in-out infinite;

}

@keyframes float{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0px);

}

}


/*========================================*/
/* INPUT HOVER */
/*========================================*/

.card input:hover{

background:rgba(255,255,255,.12);

}


/*========================================*/
/* PAGE LOAD */
/*========================================*/

body{

animation:fadeIn .8s;

}

@keyframes fadeIn{

from{

opacity:0;

}

to{

opacity:1;

}

}


/*========================================*/
/* PREMIUM GLASS EFFECT */
/*========================================*/

.card{

border-top:1px solid rgba(255,255,255,.25);

border-left:1px solid rgba(255,255,255,.15);

}
/* Style de la case à cocher et son texte aligné */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 18px;
    width: 100%;
}

.checkbox-group input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    cursor: pointer;
    accent-color: #f5c66b;
}

.checkbox-label {
    font-size: 13px;
    color: #cfcfcf;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label a {
    color: #f5c66b;
    text-decoration: none;
}
/* ==========================
   CHANGEMENT DE LANGUE
========================== */

.language-switch{
    display:flex;
    align-items:center;
    gap:8px;
    margin-right:20px;
}

.lang-btn{
    padding:8px 16px;
    border:1px solid #D4AF37;
    background:transparent;
    color:#D4AF37;
    border-radius:20px;
    cursor:pointer;
    transition:0.3s;
    font-size:14px;
    font-weight:600;
}

.lang-btn:hover{
    background:#D4AF37;
    color:#111;
}

.lang-btn.active{
    background:#D4AF37;
    color:#111;
}

body.arabic{
    direction:rtl;
    font-family:'Cairo',sans-serif;
}

/* ---------- PAGE CONDITIONS / CONFIDENTIALITÉ ---------- */
.legal-content{ max-width:820px; margin:0 auto; }
.legal-article h2{
    font-size:27px;
    color:var(--gold-400);
    margin-bottom:22px;
}
.legal-article h3{
    font-size:15.5px;
    color:var(--text-primary);
    margin:24px 0 8px;
    font-weight:600;
}
.legal-article p{
    color:var(--text-secondary);
    font-size:14.5px;
    line-height:1.85;
}
.legal-article a{ color:var(--gold-400); text-decoration:none; }
.legal-article a:hover{ text-decoration:underline; }
.legal-sep{
    border:none;
    border-top:1px solid rgba(255,255,255,.1);
    margin:54px 0;
}

/* ========================================================= */
/* CORRECTIF — styles manquants (about / features / contact) */
/* Ajoutés car ces classes étaient utilisées dans le HTML     */
/* mais n'existaient dans aucune feuille de style.            */
/* ========================================================= */

/* ---------- FOOTER (présent sur les 5 pages vitrine) ---------- */
footer{
    width:100%;
    padding:60px 70px 0;
    border-top:1px solid rgba(255,255,255,.08);
    margin-top:60px;
}
.footer-wrap{
    display:flex;
    flex-wrap:wrap;
    gap:50px;
    justify-content:space-between;
    padding-bottom:40px;
}
.footer-brand{
    flex:1 1 320px;
    max-width:380px;
}
.footer-brand .logo{ margin-bottom:14px; }
.footer-brand p{
    color:var(--text-secondary);
    font-size:13.5px;
    line-height:1.7;
}
.footer-col{
    display:flex;
    flex-direction:column;
    gap:12px;
    min-width:150px;
}
.footer-col h4{
    color:var(--gold-400);
    font-size:14px;
    font-weight:600;
    margin-bottom:4px;
}
.footer-col a{
    color:var(--text-secondary);
    text-decoration:none;
    font-size:14px;
    transition:.25s;
    width:fit-content;
}
.footer-col a:hover{ color:var(--gold-400); }
.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    padding:22px 0;
    text-align:center;
    color:var(--text-muted);
    font-size:12.5px;
}

/* ---------- ÉTAT DE LIEN ACTIF (nav) ---------- */
nav a.current{ color:var(--gold-400); }
nav a.current::after{ width:100%; }

/* ---------- PAGE HERO (bandeau de titre : about / features / contact) ---------- */
.page-hero{
    max-width:760px;
    margin:0 auto;
    padding:90px 70px 50px;
    text-align:center;
}
.page-hero .eyebrow{
    display:inline-block;
    text-transform:uppercase;
    letter-spacing:1.6px;
    font-size:12.5px;
    font-weight:600;
    color:var(--gold-400);
    margin-bottom:14px;
}
.page-hero h1{
    font-size:42px;
    line-height:1.2;
    margin-bottom:16px;
    color:var(--text-primary);
}
.page-hero p{
    color:var(--text-secondary);
    font-size:16.5px;
    line-height:1.7;
}

/* ---------- SECTIONS GÉNÉRIQUES ---------- */
.block{
    width:100%;
    max-width:1180px;
    margin:0 auto;
    padding:60px 70px;
}
.block.tight{ padding:30px 70px; }

/* ---------- BLOCS "HISTOIRE" (about.html) ---------- */
.story-block{
    display:flex;
    align-items:center;
    gap:60px;
}
.story-block .visual{
    flex:0 0 340px;
    display:flex;
    justify-content:center;
}
.story-block .txt{ flex:1; }
.story-block .txt h2{
    font-size:26px;
    color:var(--gold-400);
    margin-bottom:16px;
}
.story-block .txt p{
    color:var(--text-secondary);
    font-size:15px;
    line-height:1.85;
    margin-bottom:14px;
}
.story-block .txt p:last-child{ margin-bottom:0; }

/* Panneau décoratif utilisé à la place des images manquantes */
.visual-panel{
    width:100%;
    max-width:320px;
    aspect-ratio:1/0.9;
    border-radius:var(--radius-lg);
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    overflow:hidden;
    background:linear-gradient(155deg, rgba(245,198,107,.14), rgba(255,255,255,.03));
    border:1px solid var(--card-border);
    box-shadow:0 20px 60px rgba(0,0,0,.45), 0 0 40px rgba(245,198,107,.08);
}
.visual-panel::before{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    background:radial-gradient(circle, rgba(245,198,107,.22), transparent);
    top:-60px;
    right:-60px;
    border-radius:50%;
    pointer-events:none;
}
.visual-icon{
    width:35%;
    height:35%;
    color:var(--gold-400);
    position:relative;
    z-index:1;
    filter:drop-shadow(0 0 18px rgba(245,198,107,.35));
}

/* ---------- GRILLES DE CARTES (about / features) ---------- */
.grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}
.grid-2{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
}
.feature-card{
    position:relative;
    background:var(--card-bg);
    border:1px solid var(--card-border);
    border-radius:var(--radius-md);
    padding:30px 26px;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    transition:.3s;
}
.feature-card:hover{
    transform:translateY(-4px);
    border-color:rgba(245,198,107,.35);
    box-shadow:0 15px 40px rgba(0,0,0,.35);
}
.feature-card .num{
    font-family:'Poppins',sans-serif;
    font-size:34px;
    font-weight:700;
    color:rgba(245,198,107,.3);
    margin-bottom:10px;
}
.feature-card h3{
    font-size:17.5px;
    color:var(--text-primary);
    margin-bottom:10px;
    font-weight:600;
}
.feature-card p{
    color:var(--text-secondary);
    font-size:14px;
    line-height:1.7;
}

/* ---------- RANGÉE DE STATISTIQUES (features.html) ---------- */
.stat-row{
    max-width:1180px;
    margin:10px auto 0;
    padding:36px 70px;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-around;
    gap:30px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.08);
}
.stat-row .stat{ min-width:120px; }
.stat-row .n{
    font-family:'Poppins',sans-serif;
    font-size:32px;
    font-weight:700;
    color:var(--gold-400);
    margin-bottom:6px;
}
.stat-row .l{
    font-size:12.5px;
    color:var(--text-secondary);
    line-height:1.5;
}

/* ---------- PAGE CONTACT ---------- */
.contact-wrap{
    max-width:1180px;
    margin:0 auto;
    padding:20px 70px 90px;
    display:grid;
    grid-template-columns:1fr 1.15fr;
    gap:60px;
    align-items:start;
}
.contact-info{
    display:flex;
    flex-direction:column;
    gap:22px;
}
.contact-info .item{
    display:flex;
    align-items:center;
    gap:16px;
}
.contact-info .ic{
    flex-shrink:0;
    width:46px;
    height:46px;
    border-radius:50%;
    background:rgba(245,198,107,.1);
    border:1px solid rgba(245,198,107,.25);
    color:var(--gold-400);
    display:flex;
    align-items:center;
    justify-content:center;
}
.contact-info .ic svg{ width:20px; height:20px; }
.contact-info .item b{
    display:block;
    font-size:15px;
    margin-bottom:2px;
}
.contact-info .item span{
    color:var(--text-secondary);
    font-size:14px;
}
.contact-form-card label{
    display:block;
    font-size:12.5px;
    color:var(--text-secondary);
    margin-bottom:7px;
    font-weight:500;
}
.contact-form-card textarea{
    width:100%;
    min-height:120px;
    resize:vertical;
    border:none;
    outline:none;
    padding:14px 16px;
    font-family:'Poppins',sans-serif;
    font-size:14.5px;
    color:white;
    background:rgba(255,255,255,.08);
    border-radius:12px;
    transition:.35s;
}
.contact-form-card textarea:focus{
    border:1px solid var(--gold-400);
    background:rgba(255,255,255,.10);
    box-shadow:0 0 18px rgba(245,198,107,.25);
}
.contact-form-card textarea:hover{ background:rgba(255,255,255,.12); }
.form-success{
    display:none;
    margin-top:16px;
    padding:13px 16px;
    border-radius:12px;
    background:var(--ok-bg);
    color:var(--ok-500);
    font-size:13.5px;
    font-weight:500;
    text-align:center;
}
.form-success.show{ display:block; }
.form-error{
    display:none;
    margin-top:16px;
    padding:13px 16px;
    border-radius:12px;
    background:var(--danger-bg);
    color:var(--danger-500);
    font-size:13.5px;
    font-weight:500;
    text-align:center;
}
.form-error.show{ display:block; }

/* ========================================================= */
/* MENU MOBILE (nav-toggle)                                   */
/* ========================================================= */
.nav-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    width:42px;
    height:42px;
    background:transparent;
    border:1px solid rgba(255,255,255,.18);
    border-radius:10px;
    cursor:pointer;
    flex-shrink:0;
}
.nav-toggle span{
    display:block;
    width:18px;
    height:2px;
    background:white;
    border-radius:2px;
    transition:.3s;
}
.nav-toggle.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2){ opacity:0; }
.nav-toggle.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media(max-width:1200px){
    header{ position:relative; }
    .nav-toggle{ display:flex; }
    nav{
        display:flex;
        flex-direction:column;
        gap:4px;
        position:absolute;
        top:100%;
        left:20px;
        right:20px;
        margin-top:10px;
        padding:14px;
        background:rgba(10,13,20,.97);
        backdrop-filter:blur(14px);
        border:1px solid rgba(255,255,255,.1);
        border-radius:16px;
        box-shadow:0 25px 60px rgba(0,0,0,.5);
        z-index:40;
        opacity:0;
        visibility:hidden;
        transform:translateY(-8px);
        transition:.25s ease;
    }
    nav.nav-open{
        opacity:1;
        visibility:visible;
        transform:translateY(0);
    }
    nav a{ padding:12px 14px; border-radius:9px; }
    nav a:hover{ background:rgba(255,255,255,.06); }
    nav a::after{ display:none; }
}

/* Page Téléchargement : deux colonnes sur grand écran (APK + QR
   code), empilées proprement sur mobile plutôt que compressées. */
.download-grid{
    grid-template-columns:1.2fr 0.8fr;
    align-items:start;
}
.download-grid img{
    max-width:180px;
    width:100%;
    height:auto;
}

@media(max-width:900px){
    .grid-3{ grid-template-columns:1fr; }
    .grid-2{ grid-template-columns:1fr; }
    .contact-wrap{ grid-template-columns:1fr; }
    .download-grid{ grid-template-columns:1fr; }
    .story-block{ flex-direction:column !important; text-align:center; gap:30px; }
    .story-block .visual{ flex:none; }
    .page-hero{ padding:70px 30px 40px; }
    .block{ padding:45px 30px; }
    .block.tight{ padding:25px 30px; }
    .stat-row{ padding:30px 30px; }
}

@media(max-width:700px){
    .language-switch{ margin:0 0 4px 0; }
    header{ gap:14px; }
}

/* ========================================================= */
/* MODALE DE CONNEXION                                        */
/* ========================================================= */
.auth-modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(4,6,12,.72);
    backdrop-filter:blur(4px);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:100;
    padding:20px;
}
.auth-modal-overlay.open{ display:flex; }
.auth-modal-box{
    width:100%;
    max-width:420px;
    background:var(--navy-900);
    border:1px solid rgba(255,255,255,.1);
    border-radius:var(--radius-md);
    padding:34px;
    position:relative;
    box-shadow:0 30px 80px rgba(0,0,0,.55);
    animation:cardAppear .35s ease;
}
.auth-modal-close{
    position:absolute;
    top:18px;
    right:18px;
    width:32px;
    height:32px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.15);
    background:transparent;
    color:var(--text-secondary);
    cursor:pointer;
    font-size:16px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.25s;
}
.auth-modal-close:hover{ background:rgba(255,255,255,.08); color:white; }
.auth-modal-box h2{
    font-size:23px;
    color:var(--gold-400);
    margin-bottom:6px;
    text-align:center;
}
.auth-modal-sub{
    text-align:center;
    color:var(--text-secondary);
    font-size:13.5px;
    margin-bottom:24px;
}
.auth-modal-box input{
    width:100%;
    height:52px;
    margin-bottom:14px;
    border:none;
    outline:none;
    padding:0 18px;
    font-size:14.5px;
    color:white;
    background:rgba(255,255,255,.08);
    border-radius:12px;
    font-family:'Poppins',sans-serif;
    transition:.3s;
}
.auth-modal-box input:focus{
    border:1px solid var(--gold-400);
    background:rgba(255,255,255,.10);
    box-shadow:0 0 18px rgba(245,198,107,.2);
}
.auth-modal-box button[type="submit"]{
    width:100%;
    height:52px;
    border:none;
    border-radius:12px;
    margin-top:4px;
    font-size:15.5px;
    font-weight:600;
    background:var(--gold-400);
    color:#000;
    cursor:pointer;
    transition:.3s;
}
.auth-modal-box button[type="submit"]:hover{
    transform:translateY(-2px);
    box-shadow:0 0 24px rgba(245,198,107,.4);
}

/* Connexion sociale (Google, autres à venir) */
.social-login{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-bottom:4px;
}
.btn-google{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    height:48px;
    border-radius:12px;
    border:1px solid rgba(0,0,0,0.15);
    background:#ffffff;
    color:#3c4043;
    font-size:14.5px;
    font-weight:600;
    font-family:inherit;
    cursor:pointer;
    transition:box-shadow .2s ease, background .2s ease;
}
.btn-google:hover{
    background:#f8f8f8;
    box-shadow:0 1px 6px rgba(0,0,0,0.2);
}
.btn-google svg{ flex-shrink:0; }
.auth-divider{
    display:flex;
    align-items:center;
    gap:12px;
    margin:16px 0;
    color:var(--text-secondary, #8a8f98);
    font-size:12.5px;
}
.auth-divider::before,
.auth-divider::after{
    content:"";
    flex:1;
    height:1px;
    background:rgba(255,255,255,0.12);
}
.right .auth-divider::before,
.right .auth-divider::after{
    background:rgba(0,0,0,0.12);
}
.auth-modal-links{
    display:flex;
    justify-content:space-between;
    margin-top:16px;
    font-size:12.5px;
}
.auth-modal-links a, .auth-modal-links button{
    color:var(--text-secondary);
    text-decoration:none;
    background:none;
    border:none;
    cursor:pointer;
    font-size:12.5px;
    font-family:'Poppins',sans-serif;
    padding:0;
}
.auth-modal-links a:hover, .auth-modal-links button:hover{ color:var(--gold-400); }
.auth-modal-msg{
    display:none;
    margin-bottom:16px;
    padding:12px 14px;
    border-radius:10px;
    font-size:13px;
    text-align:center;
    line-height:1.5;
}
.auth-modal-msg.show{ display:block; }
.auth-modal-msg.error{ background:var(--danger-bg); color:var(--danger-500); }
.auth-modal-msg.success{ background:var(--ok-bg); color:var(--ok-500); }
.auth-modal-msg.info{ background:rgba(245,198,107,.12); color:var(--gold-400); }
.auth-modal-demo{
    margin-top:18px;
    padding-top:18px;
    border-top:1px dashed rgba(255,255,255,.12);
    text-align:center;
}
.auth-modal-demo p{
    color:var(--text-muted);
    font-size:11.5px;
    margin-bottom:10px;
    line-height:1.6;
}
.auth-modal-demo button{
    background:transparent;
    border:1px solid rgba(255,255,255,.18);
    color:var(--text-secondary);
    padding:10px 18px;
    border-radius:10px;
    font-size:13px;
    cursor:pointer;
    transition:.25s;
    width:100%;
}
.auth-modal-demo button:hover{ background:rgba(255,255,255,.06); color:white; }

/* Suppression globale et définitive de tous les traits de liens parasites */
a, a:hover, .logo a, .footer a, h2 a, h3 a {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Éteint les lignes virtuelles créées en arrière-plan */
a::after, a::before, .logo::after, .logo::before {
    display: none !important;
    content: "" !important;
    width: 0 !important;
}
