/* =========================================
   BASE
========================================= */

section {
    width: 100%;
    background: url('../images/background-mwp.png');
    padding: 120px 20px;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.container.narrow {
    max-width: 950px;
}


/* =========================================
   HERO
========================================= */

.create-hero {
    padding-top: 170px;
    padding-bottom: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-columns: 1fr 440px;
    gap: 80px;
    align-items: center;
}

.hero-content {
    text-align: left;
    max-width: 720px;
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 40px;
    background: rgba(198,211,0,0.14);
    color: #111;
    font-size: 0.88em;
    font-weight: 700;
    margin-bottom: 28px;
}

.create-hero h1 {
    font-size: clamp(3em, 5vw, 5.3em);
    line-height: 1.02;
    color: #13212f;
    margin-bottom: 35px;
    max-width: 760px;
}

.hero-pitch {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-pitch p {
    margin: 0;
    font-size: 1.08em;
    line-height: 1.7;
    color: #374151;
}

/* =========================================
   FORM
========================================= */

.create-form-section {
    padding-top: 0;
}

.create-form {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.form-intro {
    text-align: center;
    margin-bottom: 10px;
}

.form-intro h2 {
    font-size: clamp(2em, 4vw, 3.2em);
    margin-bottom: 15px;
    color: #13212f;
}

.form-intro p {
    font-size: 1.05em;
    color: #4b5563;
    line-height: 1.8;
}


/* =========================================
   BLOCKS
========================================= */

.form-block {
    background: rgba(255,255,255,0.58);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 45px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 15px 45px rgba(0,0,0,0.04);
}

.block-head {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 35px;
}

.block-head span {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: #c6d300;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #111;
    font-size: 1.05em;
}

.block-head h3 {
    margin: 0 0 8px 0;
    font-size: 1.7em;
    color: #13212f;
}

.block-head p {
    margin: 0;
    color: #6b7280;
    line-height: 1.7;
}


/* =========================================
   GRID
========================================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.field.full {
    grid-column: span 2;
}


/* =========================================
   FIELDS
========================================= */

.field {
    display: flex;
    flex-direction: column;
}

.field label {
    margin-bottom: 12px;
    font-size: 0.95em;
    font-weight: 700;
    color: #111827;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.82);
    border-radius: 16px;
    padding: 18px 20px;
    font-size: 1em;
    color: #111;
    transition: 0.2s;
    outline: none;
    font-family: inherit;
}

.field textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #c6d300;
    box-shadow: 0 0 0 4px rgba(198,211,0,0.14);
}


/* =========================================
   RDV
========================================= */

.rdv-block {
    text-align: center;
}

.rdv-bar {
    width: 100%;
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 35px;
}

.bar-item {
    position: relative;
}

.flex-2 {
    flex: 2;
}

.button-container {
    flex: 1;
}

#fake-input {
    width: 100%;
    height: 70px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 0 24px;
    font-size: 1em;
    background: rgba(255,255,255,0.85);
    cursor: pointer;
}

#fake-input:focus {
    outline: none;
}


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

.btn-submit {
    width: 100%;
    height: 70px;
    border: none;
    border-radius: 18px;
    background: #c6d300;
    color: #111;
    font-size: 1em;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(198,211,0,0.25);
}


/* =========================================
   NOTES
========================================= */

.form-note {
    margin-top: 20px;
    font-size: 0.92em;
    color: #6b7280;
    line-height: 1.7;
}


/* =========================================
   DROPDOWN
========================================= */

.rdv-dropdown-content {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    display: none;
    z-index: 50;
}

.rdv-dropdown-content.show {
    display: block;
    width: auto;
    max-height: 400px;
    overflow: auto;
}

#slots-container {
    padding: 25px;
}

.loading-slots {
    padding: 30px;
    text-align: center;
}

.dropdown-header {
    margin-bottom: 25px;
}

.btn-modify-date {
    border: none;
    background: rgba(198,211,0,0.15);
    padding: 10px 16px;
    border-radius: 30px;
    cursor: pointer;
    margin-bottom: 15px;
    font-weight: 700;
}

.date-title-display {
    font-size: 1em;
    font-weight: 700;
    color: #13212f;
}

.slots-grid-popup {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.slot-btn {
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.slot-btn:hover {
    background: rgba(198,211,0,0.16);
    border-color: #c6d300;
}

.no-slot {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}


/* =========================================
   SUCCESS
========================================= */

.success-box {
    background: rgba(255,255,255,0.72);
    border-radius: 30px;
    padding: 70px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.success-box h2 {
    font-size: 2.5em;
    color: #13212f;
    margin-bottom: 20px;
}

.success-box p {
    color: #4b5563;
    line-height: 1.9;
    margin: 0 0 10px 0;
}


/* =========================================
   HONEYPOT
========================================= */

.hidden-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}


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

@media(max-width:1100px) {

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}


@media(max-width:780px) {

    section {
        padding: 90px 20px;
    }

    .create-hero {
        padding-top: 140px;
    }

    .create-hero h1 {
        font-size: 2.7em;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: span 1;
    }

    .form-block {
        padding: 30px;
    }

    .rdv-bar {
        flex-direction: column;
    }

    .bar-item,
    .button-container,
    .flex-2 {
        width: 100%;
    }

}


@media(max-width:600px) {

    .hero-pitch p {
        font-size: 1em;
    }

    .block-head {
        gap: 16px;
    }

    .block-head span {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .block-head h3 {
        font-size: 1.35em;
    }

    .slots-grid-popup {
        grid-template-columns: repeat(2, 1fr);
    }

}

.hero-video {
    height: calc(100vh - 200px);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0%;
    display: block;
}

/*** BOUTON PLAY ***/
.play-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90px;
    height: 90px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);

    color: white;
    font-size: 2.2rem;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.25s;
}

.play-video:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(198,211,0,0.9);
    color: #111;
}

.hero-steps {
    margin: 40px 0 0;
    padding: 0;
    list-style: none;

    display: flex;
    flex-direction: column;
    gap: 18px;
}
.hero-steps li {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 18px 22px;

    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(8px);

    border-radius: 18px;

    border: 1px solid rgba(0,0,0,0.05);

    font-size: 1.02em;
    font-weight: 700;

    color: #13212f;

    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}
.hero-steps span {
    margin-left: auto;

    flex-shrink: 0;

    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(198,211,0,0.18);

    color: #111;

    font-size: 0.82em;
    font-weight: 800;
}
.hero-steps li:last-child {
    /* background: rgba(198,211,0,0.05); */
    border: solid 1px #c6d300;
}
.hero-steps strong {
    color: #c6d300;
}
