/* Styles propres aux quatre pages de réservation spécialisées. */

.themed-booking {
    --tb-gold: #f2c14e;
    --tb-text: #f7f3e9;
    --tb-muted: #c0b9ac;

    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;

    color: var(--tb-text);
    background: #080808;
    font: 16px/1.6 Arial, Helvetica, sans-serif;
    color-scheme: dark;
}

.themed-booking *,
.themed-booking *::before,
.themed-booking *::after {
    box-sizing: border-box;
}

.themed-booking :is(h1, h2, p, fieldset, legend) {
    margin: 0;
    padding: 0;
}

.themed-booking fieldset {
    border: 0;
    min-width: 0;
}

.themed-booking button,
.themed-booking input {
    font: inherit;
}

.themed-booking button {
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.themed-booking .tb-container {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

/* Hero */

.themed-booking .tb-hero {
    position: relative;
    isolation: isolate;
    min-height: 480px;
    overflow: hidden;
    background: #101010;
}

.themed-booking :is(.tb-hero__image, .tb-hero__overlay) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.themed-booking .tb-hero__image {
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.themed-booking .tb-hero__overlay {
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .9),
            rgba(0, 0, 0, .32)
        ),
        linear-gradient(
            0deg,
            #080808,
            transparent 35%
        );
}

.themed-booking .tb-hero__inner {
    min-height: 480px;
    display: flex;
    align-items: center;
    padding-block: 70px;
}

.themed-booking .tb-hero__copy {
    max-width: 730px;
}

.themed-booking :is(
    .tb-hero__label,
    .tb-reservation-section-label
) {
    color: #ffd86b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.themed-booking h1 {
    color: #fff;
    font:
        700 clamp(38px, 5vw, 68px)/1.08
        Arial, Helvetica, sans-serif;
    letter-spacing: -.035em;
    margin-bottom: 24px;
}

.themed-booking h1 span {
    color: #ffd86b;
    text-shadow: 0 0 26px rgba(242, 193, 78, .2);
}

.themed-booking .tb-hero__copy > p:not(.tb-hero__label) {
    color: #e1d9cb;
    max-width: 620px;
}

.themed-booking .tb-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.themed-booking .tb-hero__facts span {
    border: 1px solid rgba(242, 193, 78, .3);
    background: rgba(0, 0, 0, .35);
    padding: 8px 13px;
    border-radius: 100px;
    font-size: 12px;
}

/* Mise en page */

.themed-booking .tb-section {
    padding: 70px 0 90px;
}

.themed-booking .tb-layout {
    display: grid;
    grid-template-columns:
        minmax(0, .75fr)
        minmax(0, 1.4fr);
    gap: 64px;
    align-items: start;
}

.themed-booking .tb-intro {
    position: sticky;
    top: 110px;
}

.themed-booking h2 {
    font:
        700 clamp(26px, 3vw, 38px)/1.2
        Arial, Helvetica, sans-serif;
    letter-spacing: -.025em;
    color: #f7f3e9;
}

.themed-booking .tb-intro > p:not(.tb-reservation-section-label) {
    color: var(--tb-muted);
    margin-top: 20px;
}

.themed-booking .tb-promise {
    display: grid;
    gap: 18px;
    margin-top: 32px;
}

.themed-booking .tb-promise > div {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #343027;
}

.themed-booking .tb-promise strong {
    color: #ffd86b;
    font-size: 22px;
}

/* Carte du formulaire */

.themed-booking .tb-card {
    min-width: 0;
    padding: 32px;
    border: 1px solid rgba(242, 193, 78, .22);
    border-radius: 22px;
    background: linear-gradient(
        145deg,
        #1b1914,
        #111 70%
    );
    box-shadow:
        0 24px 60px rgba(0, 0, 0, .3),
        0 0 35px rgba(242, 193, 78, .05);
}

.themed-booking .tb-card__heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
}

.themed-booking .tb-card__heading > div > span {
    color: #ffd86b;
    font-size: 12px;
    display: block;
    margin-bottom: 6px;
}

.themed-booking .tb-lock {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid #655536;
    border-radius: 50%;
    color: #ffd86b;
    background: #282216;
}

.themed-booking form {
    margin: 0;
    padding: 0;
}

/* Grilles */

.themed-booking .tb-form-grid {
    display: grid;
    gap: 16px;
}

.themed-booking .tb-form-grid--route {
    grid-template-columns:
        minmax(0, 1fr)
        20px
        minmax(0, 1fr);
    align-items: start;
}

.themed-booking .tb-form-grid--contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.themed-booking .tb-form-grid--contact .tb-form-group:first-child {
    grid-column: 1 / -1;
}

.themed-booking .tb-form-grid--details {
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    margin-top: 24px;
}

.themed-booking .tb-form-group {
    min-width: 0;
    position: relative;
}

.themed-booking .tb-form-group > label,
.themed-booking legend {
    display: block;
    color: #e8e0d0;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Champs */

.themed-booking input:not([type="radio"]):not([type="hidden"]) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #454036;
    border-radius: 10px;
    color: #f7f3e9;
    background: #090909;
    outline: none;
    box-shadow: none;
}

.themed-booking input::placeholder {
    color: #a39b8d;
    opacity: 1;
}

.themed-booking input:focus-visible {
    border-color: #f2c14e;
    outline: 2px solid rgba(242, 193, 78, .35);
    outline-offset: 2px;
}

.themed-booking button:focus-visible {
    outline: 3px solid #ffd86b;
    outline-offset: 3px;
}

.themed-booking .tb-input-with-icon {
    position: relative;
}

.themed-booking .tb-input-with-icon input {
    padding-left: 35px !important;
}

.themed-booking .tb-input-icon {
    position: absolute;
    left: 14px;
    top: 22px;
    width: 7px;
    height: 7px;
    border: 1px solid #ffd86b;
    border-radius: 50%;
    pointer-events: none;
}

.themed-booking .tb-input-icon--end {
    border-radius: 1px;
    background: #ffd86b;
}

.themed-booking .tb-route-arrow {
    color: #ffd86b;
    padding-top: 39px;
    text-align: center;
}

/* Suggestions d'adresses */

.themed-booking .tb-suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    max-height: 240px;
    overflow-y: auto;
    border-radius: 10px;
    background: #191919;
    box-shadow: 0 12px 30px #0008;
}

.themed-booking .suggestion-item {
    display: block;
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    color: #f7f3e9;
    background: #191919;
    border: 0;
    border-bottom: 1px solid #343027;
}

.themed-booking .suggestion-item:hover {
    color: #ffe89a;
    background: #302818;
}

/* Destinations rapides */

.themed-booking .tb-quick-destinations {
    margin-top: 18px;
}

.themed-booking .tb-quick-destinations p {
    font-size: 12px;
    color: var(--tb-muted);
    margin-bottom: 8px;
}

.themed-booking .tb-quick-destinations > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.themed-booking .tb-quick-destinations button {
    padding: 8px 12px;
    border: 1px solid #655536;
    border-radius: 8px;
    color: #ffd86b;
    background: #17150f;
    font-size: 12px;
}

.themed-booking .tb-quick-destinations button:is(:hover, .is-active) {
    color: #161108;
    background: #f2c14e;
}

.themed-booking .tb-form-divider {
    margin: 28px 0 20px;
    padding-top: 22px;
    border-top: 1px solid #373126;
    color: #ffd86b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
}

/* Véhicules */

.themed-booking .tb-vehicles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.themed-booking .tb-vehicle {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 15px;
    border: 1px solid #454036;
    border-radius: 12px;
    background: #0d0d0d;
    cursor: pointer;
    color: #f7f3e9;
}

.themed-booking .tb-vehicle.active {
    border-color: #f2c14e;
    background: #282216;
    box-shadow: 0 0 20px rgba(242, 193, 78, .08);
}

.themed-booking .tb-vehicle input[type="radio"] {
    position: absolute;
    top: 15px;
    right: 12px;
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 1;
    accent-color: #f2c14e;
}

.themed-booking .tb-vehicle__number {
    color: #ffd86b;
    font-size: 12px;
}

.themed-booking .tb-vehicle strong,
.themed-booking .tb-vehicle small {
    display: block;
}

.themed-booking .tb-vehicle small {
    font-size: 11px;
    line-height: 1.5;
    color: var(--tb-muted);
    margin-top: 5px;
}

/* Horaire et passagers */

.themed-booking .tb-small-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.themed-booking .tb-time-choice {
    display: flex;
    gap: 8px;
}

.themed-booking .tb-choice-btn {
    flex: 1;
    min-height: 50px;
    padding: 10px;
    border: 1px solid #454036;
    border-radius: 9px;
    background: #0d0d0d;
    color: #c0b9ac;
    font-size: 13px;
}

.themed-booking .tb-choice-btn.active {
    border-color: #f2c14e;
    background: #f2c14e;
    color: #161108;
}

.themed-booking .tb-date-time-box {
    display: none;
    margin-top: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.themed-booking .tb-date-time-box.is-visible {
    display: grid;
}

/* Siège enfant */

.themed-booking .tb-child-seat-option {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    margin-top: 24px;
    padding: 16px;
    border: 1px solid #454036;
    border-radius: 12px;
    background: #111;
    color: #f7f3e9;
}

.themed-booking .tb-child-seat-option.is-active {
    border-color: #f2c14e;
    background: #282216;
}

.themed-booking .tb-child-seat-option strong,
.themed-booking .tb-child-seat-option small {
    display: block;
}

.themed-booking .tb-child-seat-option small {
    color: var(--tb-muted);
    font-size: 12px;
}

.themed-booking .tb-child-seat-option__icon,
.themed-booking .tb-child-seat-option__state {
    color: #ffd86b;
}

.themed-booking .tb-child-seat-option__state {
    font-size: 12px;
}

/* Information et envoi */

.themed-booking .tb-quote-note {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-top: 24px;
    padding: 14px;
    border-left: 2px solid #f2c14e;
    background: #211c12;
    border-radius: 0 8px 8px 0;
}

.themed-booking .tb-quote-note > span {
    color: #ffd86b;
}

.themed-booking .tb-quote-note p {
    font-size: 12px;
    color: #d4cbb9;
}

.themed-booking .tb-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
    min-height: 56px;
    margin-top: 24px;
    padding: 16px 20px;
    border: 1px solid #f2c14e;
    border-radius: 10px;
    background: linear-gradient(120deg, #ffe89a, #f2c14e);
    color: #161108;
    font-weight: 700;
    box-shadow: 0 5px 25px rgba(242, 193, 78, .2);
}

.themed-booking .tb-submit:hover {
    background: #ffe89a;
}

.themed-booking button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* Tablette */

@media (max-width: 1050px) {
    .themed-booking .tb-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .themed-booking .tb-intro {
        position: static;
    }

    .themed-booking .tb-promise {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Téléphone */

@media (max-width: 700px) {
    .themed-booking .tb-container {
        width: calc(100% - 32px);
    }

    .themed-booking .tb-hero,
    .themed-booking .tb-hero__inner {
        min-height: 400px;
    }

    .themed-booking .tb-hero__image {
        object-position: 65% center;
    }

    .themed-booking .tb-hero__overlay {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, .9),
            rgba(0, 0, 0, .55)
        );
    }

    .themed-booking .tb-section {
        padding: 40px 0 60px;
    }

    .themed-booking .tb-card {
        padding: 22px;
        border-radius: 16px;
    }

    .themed-booking :is(
        .tb-form-grid--route,
        .tb-form-grid--contact,
        .tb-form-grid--details
    ) {
        grid-template-columns: 1fr;
    }

    .themed-booking .tb-route-arrow {
        display: none;
    }

    .themed-booking .tb-promise {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 440px) {
    .themed-booking .tb-card {
        padding: 18px;
    }

    .themed-booking .tb-vehicles {
        grid-template-columns: 1fr;
    }

    .themed-booking .tb-vehicle {
        flex-direction: row;
        align-items: center;
        padding-right: 40px;
    }

    .themed-booking .tb-date-time-box {
        grid-template-columns: 1fr;
    }

    .themed-booking .tb-child-seat-option {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .themed-booking .tb-child-seat-option__state {
        grid-column: 2;
    }
}