/* ---------- Fonts ---------- */
@import url('/assets/global/css/fonts/inter.css');
@import url('/assets/global/css/fonts/geely.css');


a {text-decoration: underline;}
a:hover {text-decoration: none;}
:root {
    --geely-black:  #000000;
    --geely-white:  #ffffff;
    --grey-light:   #f1f1f1;
    --grey-footer:  #e7e7e7;
    --grey-switch:  #d9d9d9;
    --font-title:   'Geely Bold', 'Arial Black', sans-serif;
    --font-body:    'Inter', Arial, sans-serif;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;;
    font-size: 16px;
    line-height: 1.5;
    color: var(--geely-black);
    background: var(--geely-white);
}

img { max-width: 100%; height: auto; }

/* Affichage conditionnel desktop / responsive (même logique que les LP Citroën) */
.desktop    { display: block; }
.responsive { display: none; }

/* Focus visible clavier sur tous les interactifs (WCAG 2.4.7) */
button:focus,
a:focus { outline: none; }
button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--geely-black);
    outline-offset: 3px;
}

/* =====================================================================
   1. HERO
   ===================================================================== */
section.main {
    position: relative;
    background: url('/assets/2026-04-geely/img/bg-hero.jpg') center top / cover no-repeat #000;
    min-height: 825px;
    color: var(--geely-white);
}



section.main .container { position: relative; z-index: 1; }

section.main .logo { padding-top: 35px; }
section.main .logo img { width: 240px; }

/* Accroche prix + jeu-concours */
section.main .accroche { margin-top: 40px; text-shadow: 0 0 8px rgba(0,0,0,.5); }
section.main .accroche .prix {
    font-family: 'Geely Bold', 'Arial Black', sans-serif;
    font-size: 2.5rem;       /* "À partir de" */
    line-height: 1.2;
    margin: 0 0 10px;
}
section.main .accroche .prix .big { font-size: 7rem; }    /* "299" */
section.main .accroche .prix sup  { font-size: 1.25rem; }
section.main .accroche .jeu {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    max-width: 480px;
    margin: 0;
}

/* Mécanique "1 TEST DRIVE = 1 PARTICIPATION..." */
section.main .mecanique {
    font-family: var(--font-title);
    font-size: 2.0rem;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 0 10px rgba(0,0,0,.5);
    margin: 60px 0 0 490px;
    max-width: 420px;
}

/* Logo Champions Days */
section.main .champions-days { text-align: center; padding-top: 35px; }
section.main .champions-days img {
    width: 270px;
    filter: drop-shadow(0 0 20px rgba(0,0,0,.5));
}

/* ---------- Bloc formulaire ---------- */
.bloc-formulaire {
    background: var(--grey-light);
    border-radius: 20px;
    padding: 20px;
    color: var(--geely-black);
    margin: 25px 0 40px;
    /*max-width: 388px;*/
    margin-left: auto;
}

.bloc-formulaire .form-title {
    font-size: 1.25rem;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Champs générés par $bloc_form : style appliqué globalement au bloc */
.bloc-formulaire input,
.bloc-formulaire select {
    width: 100%;
    height: 60px;
    border: 1px solid var(--geely-black);
    border-radius: 10px;
    background: var(--grey-light);
    padding: 0 20px;
    font-family: var(--font-body);
    font-size: 16px;
    margin-bottom: 10px;
    box-sizing: border-box;
    
}
.bloc-formulaire input::placeholder {color:#000;}
/* CTA de soumission "Suivant" */
.bloc-formulaire .btn-reservez,
.bloc-formulaire #suivant,
.bloc-formulaire #retour {
    width: 100%;
    height: 60px;
    border: 0;
    border-radius: 10px;
    background: var(--geely-black);
    color: var(--geely-white);
    font-family: var(--font-body);
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .2s ease;
}
.bloc-formulaire #retour {background: var(--geely-white);color: var(--geely-black);}
.bloc-formulaire .btn-reservez:hover,
.bloc-formulaire #suivant:hover,
.bloc-formulaire #retour:hover { opacity: .8; }
.bloc-formulaire .title-form {font-size:18px;text-align: center; color:var(--geely-black);margin-bottom: 10px;}
.bloc-formulaire .btn-participer {
  background: var(--geely-black);
  color: var(--geely-white);
  font-family: var(--font-title);
  font-size: 1.5rem;
  border: 0;
  border-radius: 10px;
  padding: 20px 50px;
  cursor: pointer;
  transition: opacity .2s ease;
  width:100%;
}
.bloc-formulaire .mlsub {font-size:11px;margin-top:10px;text-align: justify;line-height:1.2;}
.form-group {
  margin-bottom: 10px;
}
/* Boutons étape (masqués / affichés par la mécanique multi-étapes existante) */
.bloc-formulaire #retour,
.bloc-formulaire #suivant {  margin-top: 10px; }
.bloc-formulaire #retour  { float: left; }
.bloc-formulaire #suivant { float: right;width: 60%; }
.bloc-formulaire #retour {width: 36%;margin-bottom:8px;}
/* Mention RGPD sous le formulaire */
#consent {
    font-size: 10px;        /* mention contractuelle compacte (maquette) */
    line-height: 1.3;
    text-align: justify;
    margin-top: 20px;
    color: var(--geely-black);
}
#consent a { color: inherit; text-decoration: underline; }

/* =====================================================================
   2. SECTION MODÈLES + SWITCH
   ===================================================================== */
section.line1,
section.line2 { padding: 70px 0; }

section.modeles h2 {
    font-family: var(--font-title);
    font-size: 3.5rem;       /* 70px maquette -> fluid en dessous */
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    text-align: center;
    margin: 0 0 40px;
    line-height: 1.2;
}

/* ---------- Switch pill (tablist) ---------- */
.switch-modeles {
    display: flex;
    justify-content: center;
    width: max-content;
    margin: 0 auto 40px;
    padding: 10px;
    background: var(--grey-switch);
    border-radius: 100px;
}

.switch-btn {
    min-width: 220px;
    padding: 18px 30px;
    border: 0;
    border-radius: 100px;
    background: transparent;
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--geely-black);
    cursor: pointer;
    transition: background-color .25s ease;
}

/* Onglet actif : pilule blanche */
.switch-btn.active {
    background: var(--geely-white);
}

.switch-btn:hover:not(.active) { background: rgba(255,255,255,.45); }

/* ---------- Panneaux véhicules ---------- */
.panel-modele .voiture { text-align: center; }
.panel-modele .voiture img {
    max-width: 900px;
    width: 100%;
}

/* Fondu à l'apparition d'un panneau (déclenché par la classe .is-visible en JS) */
.panel-modele { opacity: 0; transform: translateY(8px); }
.panel-modele.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .35s ease, transform .35s ease;
}
.panel-modele[hidden] { display: none; }

/* Caractéristiques clés */
.panel-modele .specs { margin-top: 30px; text-align: center; }
.panel-modele .spec .valeur {
    font-family: var(--font-title);
    font-size: 40px;
    line-height: 1.2;
    margin: 0;
}
.panel-modele .spec .libelle {
    font-size:18px;
    margin: 4px 0 0;
}

/* ---------- CTA "OBTENIR UNE OFFRE" ---------- */
.btn-bottom { text-align: center; margin-top: 50px; }
.btn-participer2 {
    background: var(--geely-black);
    color: var(--geely-white);
    font-family: var(--font-title);
    font-size: 1.5rem;
    border: 0;
    border-radius: 10px;
    padding: 20px 50px;
    cursor: pointer;
    transition: opacity .2s ease;
}
.btn-participer2:hover { opacity: .8; }

/* =====================================================================
   3. SECTION GEELY CARE+
   ===================================================================== */
section.care { background: var(--grey-light); }

section.care .care-img img { border-radius: 20px; width: 100%; }

section.care .care-txt { padding-left: 30px; }
section.care .care-txt .logo-care { max-width: 420px; margin-bottom: 30px; }
section.care .care-txt p { font-size: 18px; line-height: 1.5; margin: 0; }

.pad-bottom { margin-bottom: 60px; }

/* 3 cartes réassurance */
section.care .carte img { border-radius: 20px; width: 100%; }
section.care .carte h3 {
    font-family: var(--font-title);
    font-size: 24px;
    margin: 20px 0 10px;
    line-height: 1.2;
}
section.care .carte p { font-size: 18px; line-height: 1.5; margin: 0; }

/* =====================================================================
   4. HASHTAG + FOOTER
   ===================================================================== */
.hashtag-section { padding: 50px 0; }
.hashtag { text-align: center; font-size: 1.25rem; }

footer {
    background: var(--grey-footer);
    padding: 80px 0;
}

footer .polluscore { margin-bottom: 40px; }
footer .polluscore img { width:100%;max-width: 200px; }
footer .pollu-label {
    font-family: var(--font-title);
    font-size: 12px;
    margin-top: 8px;
}

footer .ml {
    font-size: 14px;        /* minimum lisibilité mentions légales */
    line-height: 1.4;
    text-align: justify;
}
footer .ml a { color: inherit; }

/* =====================================================================
   5. ACCESSIBILITÉ — préférences de mouvement réduites
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =====================================================================
   6. RESPONSIVE
   ===================================================================== */
@media (min-width:1600px) {
        section.main {
    background: url('/assets/2026-04-geely/img/bg-hero.jpg') center bottom / cover no-repeat #000;
    
}
}


@media (max-width:1200px) {

    section.main .mecanique {margin: 60px 0 0 370px;}
}

@media (min-width: 992px) {
  .col-lg-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-lg-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 991px) {
    section.care .care-txt .logo-care { width:100%}
    /* Bascule visuel desktop -> visuel responsive (frame "bgdresp") */
    .desktop    { display: none; }
    .responsive { display: block; }

    section.main {
        background: none;        /* le visuel responsive prend le relais */
        min-height: 0;
        color: var(--geely-black);
    }
    section.main::before { display: none; }
    section.main .accroche.responsive { margin: 0 -15px; }
    section.main .accroche.responsive img { width: 100%; display: block; }

    .bloc-formulaire {
        max-width: 100%;
        margin: 25px auto;
    }

    section.line1, section.line2 { padding: 50px 0; }

    .switch-btn {
        min-width: 0;
        flex: 1 1 50%;
        font-size: 1.125rem;
        padding: 14px 18px;
    }
    .switch-modeles { width: 100%; max-width: 480px; }

    .panel-modele .spec { margin-bottom: 25px; }

    section.care .care-txt { padding-left: 15px; padding-top: 30px; }
    section.care .carte { margin-bottom: 40px; }
}

@media (max-width: 575px) {
    section.main .accroche .prix .big { font-size: 3rem; }
    .btn-participer2 { width: 100%; padding: 20px 20px; font-size: 1.25rem; }
    footer .polluscore img { max-width: 150px; }
}
