/* style.css : layout mobile first */
@import url("config.css");

html {
    overflow-x: clip;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 16px;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: var(--color-text);
}

p,
ul li {
    line-height: 24px;
}

h1,
h2 {
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 25px;
}

h1 {
    line-height: 42px;
}

h2 {
    line-height: 34px;
}

h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.container {
    padding: 0 20px;
}

.fw-bold {
    font-weight: 700;
}

.fw-extrabold {
    font-weight: 800;
}

/* ---------- HEADER ---------- */
.header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    color: #fff;
    padding: 15px 20px;
    background: var(--color-bg);
    box-shadow: 0 6px 8px -8px rgba(0, 0, 0, 0.35);
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.logo {
    display: block;
}

.header__nav {
    display: none;
}

.header .btn {
    width: 120px;
}

/* ---------- HERO ---------- */
.hero {
    background-color: var(--color-secondary);
    padding: 80px 20px;
}

.hero__text {
    margin-top: 35px;
}

.hero__eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero img {
    display: block;
    margin: auto;
    height: auto;
    max-width: 320px;
    width: 100%;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

/* ---------- SECTION ---------- */
.section {
    margin-top: 90px;
}

.section .section__img {
    height: auto;
    margin: auto;
    max-width: 330px;
    display: block;
    width: 100%;
}

.section__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.section__header h2 {
    margin-bottom: 0;
}

.section__header img {
    width: 60px;
    height: 60px;
    aspect-ratio: 1;
}

.section__content {
    margin-top: 20px;
}

/* ---------- SEO CONTENT ---------- */
.seo-content {
    margin-top: 100px;
}

.seo-content h2,
.faq h2 {
    text-align: center;
}

.seo-content__lead {
    max-width: 760px;
    margin: 0 auto 25px;
    text-align: center;
}

.seo-content__grid,
.faq__list {
    display: grid;
    gap: 18px;
}

.seo-card,
.faq__item {
    background: var(--color-footer-bg);
    padding: 20px;
    border-radius: 10px;
}

/* ---------- POURQUOI CHOISIR HUGO TAXI ---------- */
.why-choose-us {
    margin-top: 100px;
}

.why-choose-us h2 {
    text-align: center;
    line-height: 42px;
}

.why-choose-us ul li {
    position: relative;
    padding-left: 36px;
    list-style: none;
    margin-bottom: 8px;
}

.why-choose-us ul li::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 18px;
    background-image: url("../img/check.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.why-choose-us__cta {
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 60px;
    background-color: var(--color-secondary);
    padding: 20px;
    text-align: center;
}

.why-choose-us__cta p {
    margin-bottom: 20px;
}

.why-choose-us__cta .btn {
    text-transform: uppercase;
    font-size: 18px;
    padding-left: 20px;
    padding-right: 20px;
}

/* ---------- FAQ ---------- */
.faq {
    margin-top: 100px;
    margin-bottom: 60px;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--color-footer-bg);
    padding: 20px 30px;
}

.footer__city {
    width: 100%;
    height: 70px;
    margin-bottom: -5px;
    background-image: url("../img/footer.svg");
    background-repeat: repeat-x;
    background-position: left bottom;
    background-size: auto 100%;
}

.footer__socials {
    font-style: normal;
}

.footer .footer__social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.footer .footer__social--phone {
    font-size: 15px;
    line-height: 15px;
    font-weight: 600;
}

.footer .footer__social--schedules {
    font-size: 10px;
    line-height: 15px;
    font-weight: 500;
}

.footer .footer__social--mail,
.footer__location {
    color: var(--color-text);
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
}

.footer__location {
    text-align: center;
    margin: 15px 0 10px;
}

.footer .footer__social--all-rights-deserved {
    font-size: 10px;
    line-height: 15px;
    font-weight: 400;
    color: #7f7f7f;
    text-align: center;
}

@media (min-width: 992px) {
    .header__content,
    .hero .hero__content,
    .container {
        max-width: 1050px;
        margin: 0 auto;
    }

    .header__content {
        max-width: 1280px;
    }

    .header__nav {
        display: flex;
        gap: 24px;
    }

    .header__nav a {
        font-weight: 600;
    }

    .container {
        padding: 0 130px;
    }

    /* ---------- HERO ---------- */
    .hero .hero__content {
        display: flex;
        align-items: center;
        gap: 70px;
    }

    .hero img {
        /* max-width: 400px; */
        margin: 0;
        flex: 1 1 0;
    }

    .hero__text {
        max-width: 580px;
        margin-top: 0;
        flex: 2 1 0;
    }

    .hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    /* ---------- SECTION ---------- */
    .section {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-around;
        margin-top: 140px;
        gap: 60px;
    }

    .section:nth-child(2) {
        flex-direction: row;
    }

    .section__content {
        max-width: 520px;
        margin: 0;
    }

    .section .section__img {
        max-width: 470px;
        margin: 0;
    }

    .seo-content__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .faq__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-choose-us {
        margin-top: 150px;
    }

    .why-choose-us h2 {
        margin-bottom: 45px;
    }

    .why-choose-us h2 br {
        display: none;
    }

    .why-choose-us__content {
        display: flex;
        flex-direction: row-reverse;
        gap: 50px;
        align-items: center;
        justify-content: center;
    }

    .why-choose-us__content ul,
    .why-choose-us__cta {
        max-width: 400px;
    }

    .why-choose-us__cta {
        margin: 0;
        box-sizing: border-box;
        padding: 50px 20px;
    }

    .footer__city {
        margin-top: 135px;
    }

    .footer__socials {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }
}
