.thb-footer {
    --thb-footer-bg: #1b273c;
    --thb-footer-blue: #00a7e7;
    --thb-footer-white: #ffffff;
    --thb-footer-muted: #a0a8b5;
    --thb-footer-border: #334055;

    width: 100%;
    background: var(--thb-footer-bg);
    color: var(--thb-footer-white);
    font-family: "THB Overpass", Overpass, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    padding: 45px 35px 20px;
    box-sizing: border-box;
}

.thb-footer *,
.thb-footer *::before,
.thb-footer *::after {
    box-sizing: border-box;
}

.thb-footer a {
    color: var(--thb-footer-white);
    text-decoration: none;
    transition: color .2s ease;
}

.thb-footer a:hover {
    color: var(--thb-footer-blue);
}

.thb-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thb-footer li {
    margin: 0;
    padding: 0;
}

.thb-footer h2,
.thb-footer h3,
.thb-footer p {
    margin-top: 0;
}

/* =========================================================
   02 — STRUCTURE PRINCIPALE
========================================================= */

.thb-footer .thb-footer-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.thb-footer .thb-footer-grid {
    display: grid;
    grid-template-columns:
        minmax(320px, 1.2fr)
        minmax(380px, 1.45fr)
        minmax(150px, .45fr);

    gap: 35px;
    align-items: start;
}

.thb-footer .thb-footer-section-title {
    display: inline-block;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 20px;
    padding-bottom: 7px;
    border-bottom: 2px solid var(--thb-footer-blue);
}

/* =========================================================
   03 — MARQUES
========================================================= */

.thb-footer .thb-footer-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.thb-footer .thb-footer-brand-title {
    color: var(--thb-footer-blue);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px;
}

.thb-footer .thb-footer-brand-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.thb-footer .thb-footer-brand-list a {
    display: inline-block;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   04 — CONCESSIONS
========================================================= */

.thb-footer .thb-footer-concessions {
    columns: 3;
    column-gap: 18px;
}

.thb-footer .thb-footer-city {
    display: block;
    break-inside: avoid;
    margin-bottom: 3px;
}

.thb-footer .thb-footer-city summary {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 0;
    line-height: 1.4;
    transition: color .2s ease;
}

.thb-footer .thb-footer-city summary::-webkit-details-marker {
    display: none;
}

.thb-footer .thb-footer-city summary::marker {
    content: "";
}

.thb-footer .thb-footer-city summary::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--thb-footer-blue);
    flex-shrink: 0;
    transition: transform .2s ease;
}

.thb-footer .thb-footer-city[open] summary::before {
    transform: rotate(90deg);
}

.thb-footer .thb-footer-city summary:hover {
    color: var(--thb-footer-blue);
}

.thb-footer .thb-footer-city ul {
    padding: 3px 0 12px 14px;
}

.thb-footer .thb-footer-city li {
    font-size: 12px;
    line-height: 1.55;
    padding: 3px 0;
    color: #e2e6ec;
}

.thb-footer .thb-footer-city li a {
    font-size: inherit;
    white-space: nowrap;
}

/* =========================================================
   05 — LIENS UTILES ET RÉSEAUX SOCIAUX
========================================================= */

.thb-footer .thb-footer-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.thb-footer .thb-footer-side-title {
    display: inline-block;
    color: #fff;
    border-bottom: 1px solid var(--thb-footer-blue);
    padding-bottom: 5px;
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 600;
}

.thb-footer .thb-footer-useful li {
    margin-bottom: 7px;
}

.thb-footer .thb-footer-social-list {
    display: flex;
    align-items: center;
    gap: 12px;
}

.thb-footer .thb-footer-social-list a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: color .2s ease, transform .2s ease;
}

.thb-footer .thb-footer-social-list a:hover {
    color: var(--thb-footer-blue);
    transform: translateY(-2px);
}

.thb-footer .thb-footer-social-list svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

/* =========================================================
   06 — MENTIONS LÉGALES
========================================================= */

.thb-footer .thb-footer-bottom {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid var(--thb-footer-border);
    text-align: center;
}

.thb-footer .thb-footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--thb-footer-muted);
    font-size: 12px;
}

.thb-footer .thb-footer-legal a {
    color: var(--thb-footer-muted);
    font-size: inherit;
}

.thb-footer .thb-footer-legal a:hover {
    color: #fff;
}

.thb-footer .thb-footer-eco {
    margin: 15px 0 0;
    color: var(--thb-footer-muted);
    font-size: 12px;
}

/* =========================================================
   07 — TABLETTE
========================================================= */

@media (max-width: 1100px) {

    .thb-footer {
        padding: 40px 25px 20px;
    }

    .thb-footer .thb-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .thb-footer .thb-footer-side {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        gap: 30px;
    }

    .thb-footer .thb-footer-concessions {
        columns: 2;
    }

}

/* =========================================================
   08 — MOBILE
========================================================= */

@media (max-width: 767px) {

    .thb-footer {
        padding: 30px 18px 20px;
    }

    .thb-footer .thb-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .thb-footer .thb-footer-section-title {
        font-size: 18px;
        margin-bottom: 17px;
    }

    .thb-footer .thb-footer-brands-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .thb-footer .thb-footer-brand-title {
        font-size: 14px;
    }

    .thb-footer .thb-footer-brand-list a {
        font-size: 12px;
    }

    .thb-footer .thb-footer-concessions {
        columns: 2;
        column-gap: 15px;
    }

    .thb-footer .thb-footer-city summary {
        font-size: 13px;
    }

    .thb-footer .thb-footer-city li {
        font-size: 11px;
    }

    .thb-footer .thb-footer-side {
        grid-column: auto;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 15px;
    }

    .thb-footer .thb-footer-side-title {
        font-size: 15px;
    }

    .thb-footer .thb-footer-social-list {
        gap: 6px;
    }

    .thb-footer .thb-footer-social-list a {
        width: 29px;
        height: 29px;
    }

    .thb-footer .thb-footer-social-list svg {
        width: 21px;
        height: 21px;
    }

    .thb-footer .thb-footer-bottom {
        margin-top: 30px;
    }

    .thb-footer .thb-footer-legal {
        font-size: 11px;
    }

    .thb-footer .thb-footer-eco {
        font-size: 11px;
    }

}

/* =========================================================
   09 — TRÈS PETITS ÉCRANS
========================================================= */

@media (max-width: 380px) {

    .thb-footer {
        padding-left: 13px;
        padding-right: 13px;
    }

    .thb-footer .thb-footer-brands-grid {
        gap: 7px;
    }

    .thb-footer .thb-footer-brand-list a {
        font-size: 11px;
    }

}

/* États clavier et sections facultatives. */
.thb-footer a:focus-visible,.thb-footer summary:focus-visible{outline:2px solid var(--thb-footer-blue);outline-offset:4px}
.thb-footer .thb-footer-grid>div{min-width:0}
.thb-footer .thb-footer-grid[data-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.thb-footer .thb-footer-grid[data-columns="1"]{grid-template-columns:minmax(0,1fr)}
.thb-footer .thb-footer-social-list{flex-wrap:wrap}
.thb-footer .thb-footer-social-list .thb-footer-social-text{width:auto;min-width:34px;font-size:12px}
@media(max-width:767px){.thb-footer .thb-footer-grid[data-columns]{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.thb-footer *{transition:none!important}}
