@import url('/assets/global/css/fonts/inter.css');
@import url('/assets/global/css/fonts/ttautonomous.css');
/* ===== JAECOO 7 — Juin 2026 ===================================
   Polices chargées par le contrôleur (global/css/fonts/2026-06-omoda_jaecoo.css)
   Titres : Autonomous  —  Texte : Manrope
   ============================================================== */

:root {
    --font-autonomous: 'TT Autonomous Trl', sans-serif;
    --font-inter:    'inter', sans-serif;
    --color-black:   #000;
    --color-dark-bg: #0f1521;          /* fond garantie */
    --color-white:   #fff;
    --radius-pill: 50px;
    --radius-card: 20px;
    --transition-fast:   200ms ease;
    --transition-smooth: 350ms ease;
    --carousel-item-w: 828px;
    --carousel-item-h: 466px;
}

/* ===== Base ==================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-inter);
    color: var(--color-black);
    background: var(--color-white);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
p   { margin: 0; }
sup { font-size: 0.55em; }

.desktop    { display: block; }
.responsive { display: none; }
.nopad      { padding-left: 0; padding-right: 0; }

/* Centrage fiable du logo SHS + des CTA noirs (la balise <center> peut être
   neutralisée par un reset selon le navigateur — on force le comportement). */
center { display: block; text-align: center; }

/* ===== Header ================================================== */
header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    padding: 20px 0;
}

/* ===== Hero ==================================================== */
.hero {
    position: relative;
    min-height: 870px;
    overflow: hidden;
    background: url('/assets/2026-06-omoda_jaecoo/img/bgd.jpg') center / cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,.82) 0%, rgba(0,0,0,0) 58%);
}
.hero-inner { position: relative; z-index: 2; padding: 100px 0 60px; }

.hero-logo-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
    padding: 18px 80px;
    background: var(--color-white);
    border-radius: var(--radius-pill);
}
.hero-logo-bar img { width: 20%; }
.hero-offre { max-width: 60%; }

.hero-form-pretitle {
    margin-bottom: 30px;
    font-family: var(--font-autonomous);
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
}
.hero-form-card {
    padding: 40px 20px;
    background: var(--color-white);
    border-radius: var(--radius-pill);
}

/* ===== Formulaire (style uniquement, HTML non modifié) ========= */
.hero-form-card .formulaire { margin-top: 0; text-align: left; }
.hero-form-card .right-form { margin: 0; padding: 0; max-width: none; background: transparent; border-radius: 0; }
.hero-form-card .form-title { display: none; }

.bloc-elem{
    padding: 0px !important;
}

.hero-form-card .form-control {
    height: 47px;
    padding: 10px 20px;
    font-family: var(--font-inter);
    font-size: 14px;
    color: var(--color-black);
    background: var(--color-white) !important;
    border: 1px solid var(--color-black) !important;
    border-radius: var(--radius-pill) !important;
    box-shadow: none !important;
}
.hero-form-card .form-control::placeholder,
.hero-form-card .bootstrap-select > .dropdown-toggle.bs-placeholder { color: #888; }

.hero-form-card .btn-default {
    width: 100%;
    height: 47px;
    padding: 12px 20px;
    text-align: left;
    background: var(--color-white);
    border: 1px solid var(--color-black);
    border-radius: var(--radius-pill);
    box-shadow: none;
}
.hero-form-card .btn-participer,
.hero-form-card .button-cta {
    display: block;
    width: 100%;
    margin: 12px 0 8px;
    padding: 16px 20px;
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-black) !important;
    border: none;
    border-radius: var(--radius-pill);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}
.hero-form-card .btn-participer:not([disabled]):hover,
.hero-form-card .button-cta:not([disabled]):hover { transform: scale(1.03); background: #222 !important; }

.hero-form-card #suivant,
.hero-form-card #retour {
    padding: 6px 18px;
    font-family: var(--font-inter);
    font-size: 16px;
    color: #fff;
    background: black;
    border:none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: border-color var(--transition-fast);
    width: 100%;
}
.hero-form-card #retour {color: #000;background: #ccc;margin-top:10px;width:40%;}
.hero-form-card #suivant:hover,
.hero-form-card #retour:hover { color: var(--color-white); border-color: var(--color-black); }

.hero-form-card .sub-cta {
    margin-top: 12px;
    font-family: var(--font-inter);
    font-size: 12px;
    line-height: 120%;
    color: #555;
    text-align: justify;
}
.hero-form-card .sub-cta a { color: #555; text-decoration: underline; }
.hero-form-card .erreur { font-family: var(--font-inter); font-size: 13px; color: #c00; }

/* ===== CTA partagés =========================================== */
.btn-cta {
    display: inline-block;
    padding: 18px 60px;
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-white);
    background: var(--color-black);
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}
.btn-cta:hover,
.btn-cta:focus { transform: scale(1.03); color: var(--color-white); background: #222; }
.btn-cta--white { color: var(--color-black); background: var(--color-white); }
.btn-cta--white:hover,
.btn-cta--white:focus { color: var(--color-black); background: #f0f0f0; }

/* ===== SHS / Toggle / Stats =================================== */
.shs { padding: 60px 0 40px; }
.shs-logo { width: 20%; }
.shs-title {
    margin-bottom: 16px;
    font-family: var(--font-autonomous);
    font-weight: 900;
    font-size: 30px;
    line-height: 120%;
    text-align: center;
}
.shs-description {
    margin-bottom: 70px;
    font-weight: 300;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
}
.shs-description strong { font-weight: 700; }

.shs-toggle { display: flex; margin: 100px 0 50px; }
.shs-toggle-btn {
    flex: 1 0 0;
    padding: 18px 20px;
    font-family: var(--font-inter);
    font-size: 18px;
    line-height: 120%;
    text-align: center;
    word-break: break-word;
    color: var(--color-black);
    background: var(--color-white);
    border: none;
    border-bottom: 4px solid var(--color-black);
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}
.shs-toggle-btn--active { color: var(--color-white); background: var(--color-black); }

.stat-block { transition: opacity var(--transition-fast); }
.shs-cta-row { margin-top: 100px; }

.stat-card {
    height: 100%;
    padding: 50px 20px;
    text-align: center;
    color: var(--color-white);
    background: var(--color-black);
    border-radius: var(--radius-card);
}
.stat-card-value {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-autonomous);
    font-weight: 900;
    font-size: 35px;
    line-height: 120%;
}
.stat-card-label {
    display: block;
    font-weight: 300;
    font-size: 18px;
    line-height: 120%;
    text-transform: uppercase;
}

/* ===== Intérieur / Équipements (feature cards) =============== */
.interior   { padding: 40px 0 0; }
.equipments { padding: 100px 0; }

.feature-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1500 / 628;            /* fidèle au Figma */
    border-radius: var(--radius-pill);
}
.feature-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}
.feature-card:hover .feature-card-img { transform: scale(1.04); }

.feature-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 63px;
    background: linear-gradient(to right,
        rgba(0,0,0,.80) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.20) 60%, rgba(0,0,0,0) 80%);
}
.feature-card-title {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-autonomous);
    font-weight: 700;
    font-size: 35px;
    line-height: 120%;
    color: var(--color-white);
}
.feature-card-subtitle { display: block; font-size: 17px; color: var(--color-white); }

.feature-card-footer { display: flex; gap: 48px; align-items: flex-end; }
.feature-card-stat-label {
    display: block;
    font-family: var(--font-autonomous);
    font-size: 14px;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--color-white);
}
.feature-card-stat-value {
    display: block;
    font-family: var(--font-autonomous);
    font-weight: 900;
    font-size: 64px;
    line-height: 120%;
    color: var(--color-white);
}
.feature-card-cta { margin-left: auto; flex-shrink: 0; }

/* ===== Garantie 7 ans ========================================= */
.guarantee-bloc { padding: 40px 60px; background: var(--color-dark-bg); border-radius: var(--radius-pill); }
.guarantee-badge { display: block; width: 80%; }
.guarantee-badge-col { margin-top: 70px; }
.guarantee-title {
    margin-bottom: 20px;
    font-family: var(--font-autonomous);
    font-weight: 900;
    font-size: 24px;
    line-height: 120%;
    color: var(--color-white);
}
.guarantee-text { font-weight: 300; font-size: 16px; line-height: 120%; color: var(--color-white); }
.guarantee-cta-row { margin: 100px 0; }

/* ===== Carrousel infini ======================================= */
.gallery, .carousel-wrapper { overflow: hidden; }
.carousel-track {
    display: flex;
    animation: scroll-infinite 10s linear infinite;
    will-change: transform;
}
.carousel-track:hover { animation-play-state: paused; }
.carousel-item { flex-shrink: 0; width: var(--carousel-item-w); height: var(--carousel-item-h); }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block;border-right: 1px solid #fff; }
@keyframes scroll-infinite {           /* -50% = raccord exact entre originaux et copies */
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== Covoiturage ============================================ */
.covoiturage { margin: 100px 0; text-align: center; }

/* ===== Footer ================================================= */
footer { background: var(--color-black); padding-bottom: 40px; }
.polluscore { display: flex; gap: 40px; margin: 100px 0 50px; padding: 0 20px !important; }
.ml {
    padding: 0 20px;
    font-size: 14px;
    line-height: 120%;
    color: var(--color-white);
    text-align: justify;
}
.ml a { color: var(--color-white); text-decoration: underline; }

/* ===== Reveal au scroll (JS : IntersectionObserver) ========== */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger:nth-child(2) { transition-delay: 120ms; }
.reveal-stagger:nth-child(3) { transition-delay: 240ms; }

/* ===== Responsive ============================================= */
@media (max-width: 991px) {
    header { display: none; }
    .desktop { display: none; }
    .responsive { display: block; }

    .hero { background-image: none; }
    .hero::before { background: none; }
    .hero-inner { padding: 0; }
    .hero-form-card { margin-top: 20px; padding: 30px 20px; }

    .shs { padding: 50px 0 30px; }
    .shs-cta-row { margin-top: 50px; }
    .shs-toggle-btn {
        padding: 14px 10px;
        font-size: 20px;
    }
    .reveal-stagger { margin-bottom: 40px; }

    .equipments { padding: 50px 0; }
    .feature-card { aspect-ratio: 16 / 7; }
    .feature-card-stat-value { font-size: 45px; }
    .feature-card-stat-label { font-size: 13px; }

    /* CTA non masqué : il passe sous les textes (nouvelle ligne) et à gauche */
    .feature-card-footer { flex-wrap: wrap; gap: 24px; }
    .feature-card-cta { flex-basis: 100%; margin-left: 0; }

    .guarantee-bloc { padding: 30px; }
    .guarantee-badge-col { display: flex; justify-content: center; margin-top: 0; }
    .guarantee-badge { width: 50%; }
}

@media (max-width: 767px) {
    .hero-logo-bar { margin-bottom: 20px; padding: 14px 30px; }
    .hero-logo-bar img { height: 20px; }
    .hero-offre { max-width: 85%; }
    .hero-form-pretitle { font-size: 15px; }

    .shs { padding: 40px 0 24px; }
    .shs-cta-row { margin-top: 40px; }
    .shs-title { font-size: 22px; }
    .shs-description { margin-bottom: 24px; font-size: 15px; }
    .shs-logo { width: 140px; margin-bottom: 16px; }

    .shs-toggle { flex-direction: column; margin-bottom: 16px; overflow: hidden; border: 2px solid var(--color-black); border-radius: 16px; }
    .shs-toggle-btn { padding: 16px 20px; font-size: 15px; word-break: normal; border-bottom: 1px solid var(--color-black); }
    .shs-toggle-btn:last-child { border-bottom: none; }

    .reveal-stagger { margin-bottom: 10px; }
    .stat-card-value { font-size: 29px; }
    .stat-card-label { font-size: 14px; }

    .feature-card { aspect-ratio: 4 / 3; border-radius: 30px; }
    .feature-card-overlay { padding: 20px 24px; }
    .feature-card-title { font-size: 22px; }
    .feature-card-subtitle { font-size: 14px; }
    .feature-card-stat-value { font-size: 29px; }
    .feature-card-footer { gap: 10px; }

    .carousel-item { width: 300px; height: 200px; }

    .btn-cta { display: block; width: fit-content; margin: 0 auto; padding: 16px 36px; font-size: 14px; }
    .feature-card-cta .btn-cta { margin: 0; }

    .guarantee-bloc { padding: 24px 20px; }
    .guarantee-title { font-size: 19px; }
    .guarantee-badge { width: 160px; margin: 0 auto 20px; }
    .guarantee-cta-row { margin: 50px 0; }

    .hero {
        min-height: 600px;
    }
}

/* ===== Accessibilité : mouvement réduit ====================== */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .carousel-track { flex-wrap: wrap; }
    .reveal { opacity: 1; transform: none; }
}
