/*
    Created on : 29/05/2026
    Author     : Nessen ****
*/

/* ── BASE ─────────────────────────────────────────────────── */

body {
    line-height: 1.5;
    font-family: 'OpelNextW05-Regular', sans-serif;
}

a {
    color: #000;
}

h1 {
    font-family: "OpelNextW10-Bold", sans-serif;
    text-align: center;
    font-weight: 700;
    padding: 50px 0;
    font-size: 50px;
}

/* ── HEADER ───────────────────────────────────────────────── */

header {
    padding: 10px 0 8px;
    background-color: #F7FF12;
}

header .logo {
    text-align: center;
}

header img {
    width: 165px;
}

/* ── HERO ─────────────────────────────────────────────────── */

.bg-responsive {
    display: none;
}

.main {
    min-height: 820px;
    background-image: url('/assets/opel/2026-05-opel-grandland/img/bg-grandland.jpg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    background-color: #ffffff;
}

.left-content {
    padding-top: 50px;
    animation: heroEnter 0.75s ease 0.2s both;
}

.left-content .accroche img {
    width: 100%;
}

/* ── FORMULAIRE ───────────────────────────────────────────── */

.bloc-formulaire {
    padding: 20px;
    margin: 50px 0;
    background-color: #ffffff;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.30);
}

.bloc-formulaire .form-title {
    margin-bottom: 20px;
    text-align: center;
    color: #000000;
    font-family: "OpelNextW01-Bold", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.bloc-formulaire .form-title span {
    font-weight: 700;
    color: #000000;
}

.bloc-formulaire .custom-select,
.bloc-formulaire .form-control {
    background-color: #F5F5F5;
    border-radius: 4px;
    border: 1px solid #E0E0E0;
    color: #888888;
    height: 46px;
    padding: 0 11px;
    font-size: 14px;
}

.form-control {
    font-family: "OpelNextW01-Light", sans-serif;
    font-size: 14px;
    height: 46px;
    padding: 0 11px;
}

.form-control::placeholder {
    color: #888888;
}

option {
    color: #000;
}

.adresse1 .form-group {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.list-group-horizontal-md {
    flex-direction: column;
}

.btn-participer {
    background: #FFE500;
    color: #000;
    font-size: 14px;
    font-family: "OpelNextW01-Bold", sans-serif;
    border: none;
    padding: 14px 0;
    width: 100%;
    text-transform: uppercase;
    border-radius: 4px;
}

.btn-bottom {
    margin-bottom: 50px;
}

.bothbuttons {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

#suivant {
    border-radius: 4px;
    background: #FFE500;
    display: flex;
    width: 100%;
    padding: 14px 0;
    justify-content: center;
    align-items: center;
    color: #000;
    text-align: center;
    font-family: "OpelNextW01-Bold", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    border: none !important;
}

#retour {
    color: #000;
    text-align: center;
    font-family: "OpelNextW01-Light", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    border: none !important;
    background-color: transparent;
    margin-bottom: 16px;
    cursor: pointer;
}

.sub_cta {
    font-family: "OpelNextW07-Light", sans-serif;
    text-align: justify;
    font-size: 10px;
    line-height: 1.2;
    color: #888888;
    margin-top: 20px;
}

.sub_cta a {
    color: #888888;
    text-decoration: underline;
}

.sub_cta a:hover {
    background-color: #f7ff14;
    color: #000;
}

/* ── REMERCIEMENT ─────────────────────────────────────────── */

.remerciement {
    margin-bottom: 100px;
    text-align: left;
    font-size: 1.7em;
    color: #000;
}

.remerciement h1 {
    font-size: 28px;
    padding: 0;
    font-weight: 600;
    text-align: left;
}

.remerciement h2 {
    font-size: 20px;
    padding: 0;
    font-weight: 400;
}

/* ── CONTENU / REASSURANCE ────────────────────────────────── */

.content {
    text-align: center;
    position: relative;
}

.content img {
    width: 40%;
}

.content h2 {
    font-family: "OpelNextW01-Bold", sans-serif;
    margin-top: 5px;
    margin-bottom: 25px;
    font-size: 25px;
    text-align: left;
    text-transform: uppercase;
}

.content h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 26px;
    text-align: center;
}

.content .bloc2 {
    margin-top: 15px;
    min-height: 150px;
    text-align: left;
    line-height: 1.4;
    font-size: 18px;
}

.bloc2 p {
    text-align: center;
    font-family: "OpelNextW01-Light", sans-serif;
    font-size: 14px;
    line-height: 120%;
}

.bloc2 span {
    font-size: 10px;
}

.content .btn-participer2 {
    background: #f7ff14;
    color: #000;
    font-family: "OpelNextW01-Bold", sans-serif;
    font-weight: 700;
    font-size: 18px;
    border: none;
    padding: 16px 50px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reassurance {
    padding-left: 0;
    padding-right: 0;
}

.container.reassurance {
    padding-top: 70px;
    padding-bottom: 60px;
}

/* ── HASHTAG ──────────────────────────────────────────────── */

.hashtag {
    padding: 100px 0;
}

/* ── FOOTER ───────────────────────────────────────────────── */

footer {
    background: #fff;
    padding: 80px 0;
    border-top: 1px solid #e8e8e8;
}

footer .ml {
    color: #000;
    font-family: "OpelNextW01-Light", sans-serif;
    font-size: 13px;
    line-height: 1.4;
    text-align: justify;
}

footer .ml p {
    margin-bottom: 10px;
}

footer .ml p:last-child {
    margin-bottom: 0;
}

footer .ml a {
    color: #000;
    text-decoration: underline;
}

footer .ml a:hover {
    color: #f7ff14;
    background-color: #000;
}

/* ── SECTIONS VIDÉO ───────────────────────────────────────── */

.video-section {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.video-section .vs-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-section .vs-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-section .vs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 65%, transparent 100%);
}

.video-section .vs-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 40px;
}

.video-section .vs-title {
    font-family: "OpelNextW01-Bold", sans-serif;
    font-weight: 900;
    font-size: 50px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: left;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.video-section .vs-desc {
    font-family: "OpelNextW01-Light", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 35px;
    text-align: left;
}

.video-section .btn-vs-cta {
    background: #f7ff14;
    color: #000;
    font-family: "OpelNextW01-Bold", sans-serif;
    font-weight: 700;
    font-size: 18px;
    border: none;
    padding: 16px 50px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-section .btn-vs-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(247, 255, 20, 0.5);
}

/* ── ANIMATIONS & SCROLL REVEAL ───────────────────────────── */

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="delay-1"].is-visible { transition-delay: 0.12s; }
[data-reveal="delay-2"].is-visible { transition-delay: 0.25s; }
[data-reveal="delay-3"].is-visible { transition-delay: 0.38s; }
[data-reveal="delay-4"].is-visible { transition-delay: 0.50s; }

@keyframes hdrEnter {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroEnter {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

header.top {
    animation: hdrEnter 0.5s ease both;
}

.txt img {
    display: block;
    margin: 0 auto 10px;
    transition: transform 0.35s ease;
}

.txt:hover img {
    transform: scale(1.1) translateY(-5px);
}

.content .btn-participer2:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(247, 255, 20, 0.55);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 1199px) {
    h1 { font-size: 40px; }

    .left-content .accroche img {
        width: 85%;
    }

    .video-section .vs-title {
        font-size: 40px;
    }
}

@media (max-width: 990px) {
    h1 {
        font-size: 34px;
        padding-bottom: 20px;
    }

    .main {
        min-height: 700px;
        background-image: none;
        background-color: #ffffff;
    }

    .remerciement {
        background-image: url('/assets/opel/2026-05-opel-grandland/img/bg-resp-recap.jpg');
        background-repeat: no-repeat;
        background-position: center bottom;
        background-size: cover;
        min-height: 600px;
        padding: 20px;
    }

    .bg-responsive {
        display: block;
    }

    .accroche {
        display: none;
    }

    .left-content {
        padding: 15px;
    }

    .left-content img {
        width: 100%;
    }

    .reassurance {
        padding-left: 15px;
        padding-right: 15px;
    }

    .container.reassurance {
        padding-top: 45px;
        padding-bottom: 35px;
    }

    .content h3 {
        font-size: 1.4em;
    }

    .content .btn-participer2 {
        width: 100%;
    }

    .bloc-formulaire {
        margin: 0;
    }

    .video-section {
        min-height: 550px;
    }

    .video-section .vs-title {
        font-size: 32px;
    }

    .video-section .vs-desc {
        font-size: 17px;
    }

    .video-section .vs-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 767px) {
    h1 { font-size: 30px; }

    header img {
        width: 115px;
    }

    .content .bloc2 {
        min-height: 0;
    }

    .container.reassurance {
        padding-top: 30px;
        padding-bottom: 25px;
    }

    .txt img {
        margin-bottom: 8px;
    }

    .video-section {
        min-height: 450px;
    }

    .video-section .vs-content {
        padding-top: 50px;
        padding-bottom: 30px;
        text-align: center;
    }

    .video-section .vs-title {
        font-size: 26px;
        text-align: center;
    }

    .video-section .vs-desc {
        font-size: 15px;
        text-align: center;
    }

    .video-section .btn-vs-cta {
        width: 100%;
        padding: 16px 20px;
    }
}

@media (max-width: 600px) {
    .main {
        min-height: 500px;
        background-image: none;
        background-color: #ffffff;
    }

    .remerciement {
        background-image: url('/assets/opel/2026-05-opel-grandland/img/bg-resp-recap.jpg');
    }
}

@media (max-width: 450px) {
    h1 { font-size: 28px; }

    .remerciement h1 {
        font-size: 24px;
    }

    .remerciement h2 {
        font-size: 18px;
    }
}

/* ── ACCESSIBILITÉ ────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    [data-reveal],
    [data-reveal].is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    header.top,
    .left-content {
        animation: none;
    }
}
