/*
    DS Automobiles — DS 3 2026 — Maison Sarah Lavoine
*/

@import url('/assets/global/css/fonts/ds.css');
@import url('/assets/global/css/fonts/dstitlebig.css');

/* ============================================================
   BASE
   ============================================================ */
body {
    line-height: 120%;
    font-family: 'DS Automobiles', sans-serif, Arial;
    font-size: 100%;
    background: #fff;
}

a { color: #fff; text-decoration: underline; }
a:hover { text-decoration: none; }

/* ============================================================
   HEADER / LOGO
   ============================================================ */
header { background-color: #000; }

.logo { text-align: center; padding: 20px 0; }
.logo img { 
    width: 35%;
    max-width: 110px;
}

/* ============================================================
   RESPONSIVE TOGGLE (pattern global DS)
   ============================================================ */
.responsive { display: none; }

/* ============================================================
   SECTION HERO
   ============================================================ */
section.main {
    background-color: #000;
    background-image: url('/assets/ds/2026-06-ds3/img/bgd.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 870px;
    overflow: hidden;
    position: relative;
}

/* Gradient sombre sur la gauche — offre.png lisible sans être sur la carrosserie */
section.main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

section.main > .container {
    padding-top: 80px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
}

section.main .accroche img {
    width: 75%;
    display: block;
    margin-left: -100px;
    margin-top: -70px;
}

#recapitulatif_mailing section.main .accroche img {
    width: 100%;
}

/* ============================================================
   FORMULAIRE — NE PAS MODIFIER CES RÈGLES
   ============================================================ */

.option{
    color: red;
}
.bloc-formulaire {
    margin-top: 0px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.80);
}

.form-title {
    font-size: 1.1em;
    line-height: 120%;
    text-align: center;
    margin-bottom: 15px;
    color: #fff;
}

.champs {
    padding-top: 15px;
    font-size: 0.7em;
    line-height: 120%;
    text-align: justify;
    font-weight: lighter;
    color: #fff;
}

.bloc-formulaire .custom-select,
.bloc-formulaire .form-control { 
    border-radius: 0;
}

.form-control::placeholder{
    color: white;
}

.btn-reservez {
    border: none;
    border-radius: 50px;
    width: 100%;
    text-align: center;
    color: #000000;
    font-size: 1.25em;
    font-weight: 300;
    text-transform: uppercase;
    padding: 15px;
    background-color: #ffffff;
    margin-bottom: 20px;
}

.btn-reservez:hover { background-color: #658044 !important; }
.btn:hover { color: #fff; }

#suivant {
    border: none;
    border-radius: 50px;
    width: 60%;
    text-align: center;
    color: #000000;
    font-size: 1em;
    font-weight: 300;
    padding: 12px 10px;
    background-color: #ffffff;
}

.complete { width: 100% !important; }

#retour {
    border: none;
    border-radius: 50px;
    width: 32%;
    text-align: center;
    color: #fff;
    font-size: 0.9em;
    font-weight: 300;
    padding: 10px;
    background-color: #4f4f4f;
    margin-right: 8px;
}

.form-group { flex: 0 0 100%; max-width: 100%; margin-bottom: 0.75rem; }
.form-group.adresse1 { margin-bottom: 0 !important; }
.list-group-horizontal-md { -ms-flex-direction: column; flex-direction: column; }
.form-control { 
    font-size: 0.9em; 
    background-color: transparent;
    color: white;
}

.custom-select{
    font-size: 0.9em; 
    background-color: transparent;
}

.custom-select::placeholder{
    color: white;
}

.custom-select {
  background-color: #000c;
  color: #fff;
  border-color: #fff;
}
/* ============================================================
   SECTION VIDÉO
   ============================================================ */
.video-section {
    position: relative;
    height: 850px;
    overflow: hidden;
    background-color: #000;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 1;
}

.video-title {
    font-size: clamp(24px, 3.5vw, 46px);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 20px #000;
    line-height: 1.1;
    margin-bottom: 20px;
    margin-top: 0;
}

.video-text {
    font-size: clamp(14px, 1.4vw, 18px);
    color: #fff;
    text-shadow: 0 0 16px rgba(0,0,0,0.8);
    line-height: 120%;
    text-align: justify;
    margin-bottom: 28px;
}

/* ============================================================
   BOUTON CTA (hors formulaire)
   ============================================================ */
.btn-participer2 {
    border: none;
    border-radius: 50px;
    background-color: #000;
    color: #fff;
    font-size: 1.05em;
    font-weight: 600;
    text-transform: uppercase;
    padding: 14px 40px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.btn-participer2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.btn-obtenir1 {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.mt-4, .my-4 {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
}


/* ============================================================
   SECTIONS RÉASSURANCE / INTÉRIEUR
   ============================================================ */
.reassurance-title {
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
    line-height: 120%;
}

.pb-5, .py-5 {
    padding-bottom: 2rem !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { 
    background-color: #000;
    padding: 50px 0; 
}

.ml {
    font-size: 0.75em;
    color: #ccc;
    text-align: justify;
    line-height: 120%;
}

.ml a { color: #fff; text-decoration: underline; }
.ml a:hover { text-decoration: none; }

.polluscore { 
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
}

.polluscore img { 
    height: auto;
    width: 120px;
    flex-shrink: 0;
}
.polluscore span { 
    font-size: 14px; 
    font-weight: 700; 
    color: #fff; 
    line-height: 120%; 
}

/* ============================================================
   RESPONSIVE — max 990px
   ============================================================ */
@media (max-width: 990px) {

    section.main > .container {
    padding-top: 0px;
    padding-bottom: 60px;
    }   

    .responsive { display: block; }
    .desktop { display: none; }

    section.main {
        background-image: none;
        min-height: auto;
    }

    .left-content,
    #bloc-form { padding-left: 0; padding-right: 0; }

    .bloc-formulaire {
        margin-top: 0;
        background: #000;
        text-align: center;
    }

    .video-section { 
        min-height: 400px;
        height: auto; 
    }

    .video-overlay {
        background: rgba(0, 0, 0, 0.55);
    }

    .btn-reservez,
    .btn-participer2 { width: 100%; padding-left: 20px; padding-right: 20px; }

    #suivant { width: 100%; }
    #retour { width: 45%; }

    .polluscore { flex-direction: column; align-items: flex-start; gap: 10px; }
    
    section.main .accroche img {
        width: 100% !important;
        display: block;
        margin-left: 0px !important;
        margin-top: 0px !important;
    }
}

/* ============================================================
   RESPONSIVE — max 640px
   ============================================================ */
@media (max-width: 640px) {
    .video-title { font-size: 20px; }
    .video-text { font-size: 13px; }

    section.main .accroche img {
        width: 100% !important;
        display: block;
        margin-left: 0px !important;
        margin-top: 0px !important;
    }

        section.main > .container {
        padding-top: 0px;
        padding-bottom: 0px;
    }

}