/* ======== FAQ (components/faq.php) ======== */

#faq .faq-items {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
}

#faq .faq {
    width: 100%;
    margin: auto;
    line-height: 1.7rem;
}

#faq .flex {
    gap: 2rem;
    justify-content: space-between;
}

#faq .item {
    flex: 1;
    border-radius: 1rem;
    background: radial-gradient(#d7d4ff30, #ffffff50);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.416);
    backdrop-filter: blur(25px);
}

#faq .faq-text p {
    font-size: 0.9rem;
    line-height: 1.3rem;
}

#faq h3 {
    padding-top: 0;
    font-weight: bold;
    color: var(--blue-dark);
    font-size: 1.1rem;
    line-height: 1.6rem;
    background: none;
    margin: 0 0 1rem 0;
    padding: 0;
}

/* ======== MEDIA QUERIES ======== */

/* Grande tablette */

@media (min-width: 1025px) {
    /* FAQ */
    #faq .faq-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* ======== LOCALISATION (components/localisation.php) ======== */

.localisation {
    background: radial-gradient(#c3d5fe57, #ffffff83);
    text-shadow: 0px 0px 8px rgba(249, 250, 255, 0.434);
    border-radius: 1rem;
    padding: 0.8rem 1rem;
    box-shadow: 0px 0px 15px rgba(185, 186, 198, 0.339);
    border: 1px solid white;
    text-align: justify;
}

#localisation h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.8rem;
}

#localisation h4 {
    text-align: center;
    font-size: 1.2rem;
    color: rgb(99, 114, 255);
    padding: 0;
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.4rem;
}

#localisation p {
    font-size: 1rem;
    line-height: 1.4rem;
    text-align: left;
}

#localisation iframe {
    width: 100%;
    height: 33vh;
    margin: 1rem 0;
    border-radius: 1rem;
    box-shadow: 0px 0px 15px rgba(162, 173, 255, 0.199);
}

#localisation .little p {
    text-align: center;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--purple-primary-light);
}

/* ======== MEDIA QUERIES ======== */

/* Grand téléphone */

@media (min-width: 480px) {
    #localisation {
        width: 40vw;
        margin: auto;
    }
}

/* Grande tablette */

@media (min-width: 1025px) {
    .localisation {
        padding: 1rem 3rem;
    }

    #localisation h3 {
        font-size: 1.2rem;
    }

    #localisation h4 {
        font-size: 1.1rem;
    }
}

/* ======== CITY BANNER (components/city-banner.php) ======== */

.city-banner {
    --city-bg-image: none;
    background-image: var(--city-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#city-banner p {
    background: radial-gradient(#244db4, #2361e7a6);
    backdrop-filter: blur(16px);
    border-radius: 1rem;
    padding: 1rem 1.3rem;
    text-align: left;
    box-shadow: 0px 0px 15px rgba(93, 99, 148, 0.2);
    display: inline-block;
    color: var(--beige-light);
    margin-bottom: 0.6rem;
}

#city-banner p:last-child {
    margin-bottom: 0;
}

/* ======== STATS (components/stats.php) ======== */

#statistiques .stats-titre {
    text-align: center;
}

#statistiques .stats-soustitre {
    text-align: center;
    color: var(--gris-dark);
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.5;
    margin: 1rem auto;
}

#statistiques .stats-grille {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
}

#statistiques .stat-carte {
    background: radial-gradient(#f1eeef75, #ffffff7c);
    text-shadow: 0px 0px 25px rgba(128, 128, 228, 0.141);
    border: 1px solid white;
    box-shadow: 0px 0px 15px rgba(93, 99, 148, 0.2);
    backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    text-align: center;
}

#statistiques .stat-chiffre {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--purple-primary);
    line-height: 1;
    margin: 0 0 0.5rem;
}

#statistiques .stat-unite {
    font-size: 0.5em;
    font-weight: 700;
    margin-left: 0.1em;
}

#statistiques .stat-libelle {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.6rem;
    color: var(--purple-primary-light);
}

#statistiques .stat-detail {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-default-dark);
    margin: 0;
}

#statistiques .stats-source {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gris-dark);
    margin: 2rem auto 0;
    width: 80%;
}

#statistiques .stats-source a {
    color: var(--blue-dark);
    text-decoration: none;
}

#statistiques .stats-source a:hover {
    text-decoration: underline;
}

/* ======== MEDIA QUERIES ======== */

/* Grande tablette */

@media (min-width: 1025px) {
    /* STATISTIQUES */
    #statistiques .stats-grille {
        grid-template-columns: repeat(4, 1fr);
    }

    #statistiques .stats-source {
        width: 100%;
    }
}

/* ======== OUTILS (components/outils.php) ======== */

#outils {
    background-color: var(--beige-light);
}

#outils .outils-titre {
    text-align: center;
}

#outils .outils-soustitre {
    text-align: center;
    color: var(--gris-dark);
    max-width: 42rem;
    margin: 1rem auto;
    font-size: 1rem;
    line-height: 1.5;
}

#outils .outils-grille {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
}

#outils .outil-carte {
    background: radial-gradient(#f1eeeff5, #ffffffb5);
    text-shadow: 0px 0px 25px rgba(128, 128, 228, 0.468);
    border: 1px solid white;
    box-shadow: 0px 0px 15px rgba(93, 99, 148, 0.2);
    backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
}

#outils .outil-categorie {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue-dark);
    margin: 0 0 0.6rem;
}

#outils .outil-noms {
    color: var(--purple-primary);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.6rem;
    line-height: 1.4;
}

#outils .outil-detail {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-default-dark);
    margin: 0;
}

/* ======== MEDIA QUERIES ======== */

/* Grande tablette */

@media (min-width: 1025px) {
    /* OUTILS */
    #outils .outils-grille {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ======== PRICES (components/prices.php) ======== */

#prices .prices-titre {
    text-align: center;
}

#prices .prices-intro {
    text-align: center;
    color: var(--gris-dark);
    max-width: 48rem;
    font-size: 1rem;
    line-height: 1.6;
    margin: 1rem auto 2rem;
}

#prices .prices-grille {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
    align-items: stretch;
}

#prices .price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: radial-gradient(#f1eeef75, #ffffff7c);
    border: 1px solid white;
    box-shadow: 0px 0px 15px rgba(93, 99, 148, 0.2);
    backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 2rem 1.5rem 1.5rem;
}

#prices .price-card--highlight {
    border: 2px solid var(--purple-primary);
    box-shadow: 0px 0px 25px rgba(119, 142, 254, 0.35);
}

#prices .price-badge {
    position: absolute;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple-primary);
    color: var(--beige-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 10rem;
    white-space: nowrap;
    margin: 0;
}

#prices .price-name {
    text-align: center;
    color: var(--gris-dark);
    font-size: 1.2rem;
    margin: 0 0 0.75rem;
}

#prices .price-range {
    text-align: center;
    color: var(--purple-primary);
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 1rem;
}

#prices .price-range data {
    white-space: nowrap;
}

#prices .price-label,
#prices .price-tax {
    font-size: 0.55em;
    font-weight: 600;
    color: var(--purple-primary-light);
}

#prices .price-description {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-default-dark);
    margin: 0 0 1.25rem;
}

#prices .price-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

#prices .price-includes li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--gris-dark);
    margin-bottom: 0.5rem;
}

#prices .price-includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--purple-primary);
    font-weight: 700;
}

#prices .price-meta {
    margin: auto 0 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(119, 142, 254, 0.25);
    font-size: 0.85rem;
}

#prices .price-meta dt {
    font-weight: 700;
    color: var(--purple-primary-light);
}

#prices .price-meta dd {
    margin: 0.2rem 0 0.6rem;
    line-height: 1.4;
    color: var(--text-default-dark);
}

#prices .price-cta {
    display: block;
    text-align: center;
    padding: 0.9rem 1.3rem;
    background: radial-gradient(#e0ddff57, #ffffff83);
    box-shadow: 0px 0px 12px rgba(178, 177, 177, 0.368);
    border: 1px solid var(--beige-light);
    color: var(--purple-primary);
    font-weight: bold;
    border-radius: 10rem;
    text-decoration: none;
    transition: 0.3s ease;
}

#prices .price-card--highlight .price-cta {
    background: var(--purple-primary);
    color: var(--beige-light);
}

#prices .price-cta:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
}

#prices .prices-facteurs {
    max-width: 48rem;
    margin: 2.5rem auto 0;
}

#prices .prices-facteurs h3 {
    text-align: center;
    color: var(--gris-dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

#prices .prices-facteurs ul {
    padding-left: 1.25rem;
    margin: 0;
}

#prices .prices-facteurs li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-default-dark);
    margin-bottom: 0.4rem;
}

#prices .prices-note {
    text-align: center;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--gris-dark);
    max-width: 48rem;
    margin: 1.5rem auto 0;
}

/* ======== MEDIA QUERIES ======== */

/* Grande tablette */

@media (min-width: 1025px) {
    #prices .prices-grille {
        grid-template-columns: repeat(3, 1fr);
    }
}
