/* Lisibilité et mise en page — Maxima Design, novembre 2026. */

/* Un toucher ne doit pas effacer le fond des cartes sombres. */
@media (hover: none), (pointer: coarse) {
    .odd:not(.custom) .card:not(.no-hover) {
        background-color: var(--dark-grey-color);
    }
}

/* Les questions restent des commandes stables, même au survol. */
body .accordion .card,
body .accordion .card:hover {
    background: #fff;
    transform: none;
    border: 1px solid #dedee2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
}
body .accordion .card::before,
body .accordion .card::after {
    content: none;
}
body .accordion .card-header {
    padding: 0;
    background: transparent;
    border: 0;
}
body .accordion .card-header .btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 22px 26px;
    color: #2f323a !important;
    -webkit-text-fill-color: currentColor !important;
    text-align: left;
    white-space: normal;
    line-height: 1.55;
    box-shadow: none;
}
body .accordion .card-header .btn::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
}
body .accordion .card-header .btn[aria-expanded='true']::after {
    content: '−';
}
body .accordion .card-header .btn span {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}
body .accordion .card-header .btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: -4px;
}
body .accordion .card-body {
    padding: 0 26px 26px;
}
body .accordion .card-body p,
body .accordion .card:hover .card-body p {
    color: #565962;
    line-height: 1.8;
    white-space: normal;
}
body .odd .accordion .card,
body .odd .accordion .card:hover {
    background: #191919;
    border-color: #363638;
}
body .odd .accordion .card-header .btn {
    color: #f5f5f5 !important;
}
body .odd .accordion .card-body p,
body .odd .accordion .card:hover .card-body p {
    color: #c4c4c8;
}

/* Avis Google : un témoignage mis en avant et deux cartes compactes. */
#temoignages.google-reviews {
    overflow: visible;
}
#temoignages .google-rating-wrap {
    display: flex;
    justify-content: flex-end;
}
#temoignages .google-rating {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    border: 1px solid #dedee2;
    border-radius: 10px;
    color: #2f323a;
    background: #fff;
    text-decoration: none;
}
#temoignages .google-rating-score {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
#temoignages .google-rating-score > span {
    font-size: 1rem;
    font-weight: 500;
    color: #62656c;
}
#temoignages .google-rating-detail {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: .8rem;
    line-height: 1.5;
}
#temoignages .google-review-stars {
    color: #e5a400;
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    letter-spacing: 2px;
    line-height: 1.2;
    white-space: nowrap;
}
#temoignages .google-review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 24px;
    padding: 12px 0 32px;
}
#temoignages .google-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: auto;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 28px 30px;
    border: 1px solid #e6e6e8;
    border-radius: 10px;
    background: #fff;
    color: #2f323a;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .09);
}
#temoignages .google-review-featured {
    grid-row: span 2;
    padding: 38px;
    border-top: 3px solid var(--primary-color);
}
#temoignages .google-review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}
#temoignages .google-review-platform {
    color: #656872;
    font-size: .85rem;
    font-weight: 500;
}
#temoignages .google-review-card blockquote {
    width: auto;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-style: normal;
}
#temoignages .google-review-card blockquote::before,
#temoignages .google-review-card blockquote::after {
    content: none;
}
#temoignages .google-review-card blockquote p {
    margin: 0;
    color: #444750;
    font-size: 1rem;
    line-height: 1.75;
    font-style: normal;
    overflow-wrap: anywhere;
}
#temoignages .google-review-featured blockquote {
    margin-top: auto;
    margin-bottom: 32px;
    padding-top: 32px;
}
#temoignages .google-review-featured blockquote p {
    color: #2f323a;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.55;
    font-weight: 500;
}
#temoignages .google-review-author h3 {
    margin: 0 0 3px;
    color: #2f323a;
    font-size: 1rem;
    line-height: 1.4;
}
#temoignages .google-review-author > span {
    color: #656872;
    font-size: .8rem;
    line-height: 1.5;
}
#temoignages .google-review-link {
    align-self: flex-start;
    margin-top: 14px;
    padding: 6px 0;
    color: #ae1236;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}
#temoignages .google-review-featured .google-review-link {
    margin-bottom: auto;
}
#temoignages a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 5px;
}
@media (max-width: 991px) {
    #temoignages .google-rating-wrap {
        justify-content: center;
        margin-top: 16px;
    }
}
@media (max-width: 767px) {
    #temoignages .google-review-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 24px;
    }
    #temoignages .google-review-card,
    #temoignages .google-review-featured {
        grid-row: auto;
        padding: 26px 24px;
    }
    #temoignages .google-review-featured blockquote {
        margin-top: 0;
        padding-top: 4px;
        margin-bottom: 24px;
    }
    #temoignages .google-review-featured blockquote p {
        font-size: 1.35rem;
    }
    #temoignages .google-review-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
}


/* La hauteur des bandeaux intérieurs suit le texte, y compris sur petit écran. */
body #slider .no-slider.slider-h-40 {
    height: auto;
    min-height: 360px;
}
body #slider .no-slider.slider-h-40 .swiper-wrapper,
body #slider .no-slider.slider-h-40 .swiper-slide {
    height: auto;
    min-height: inherit;
}
body #slider .no-slider.slider-h-40 .slide-content {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 150px 24px 70px;
}
body #slider .no-slider.slider-h-40 .inner {
    top: auto;
    padding: 0;
}
body #slider .no-slider.slider-h-40 .title {
    max-width: 1000px;
    margin: 0 auto;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.16;
    overflow-wrap: break-word;
}
body #slider .city-hero-subtitle {
    max-width: 760px;
    margin: 24px auto 0;
    line-height: 1.7;
}
body #slider .slider-h-40 .breadcrumb {
    flex-wrap: wrap;
    margin-top: 24px;
}

/* Documents : une largeur de lecture et des espacements réguliers. */
body #content .legal-intro,
body #content .legal-summary,
body #content .legal-article {
    padding: 32px 36px;
}
body #content .legal-intro h2 {
    margin: 12px 0 24px;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.25;
}
body #content .legal-meta {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 11px;
    border-radius: 6px;
    font-size: .72rem;
    line-height: 1.6;
    letter-spacing: .025em;
}
body #content .legal-intro p,
body #content .legal-article p,
body #content .legal-article li,
body #content.legal-page p,
body #content.legal-page li {
    color: #565962;
    font-size: 1rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
body #content .legal-intro p,
body #content .legal-article p {
    margin: 0 0 1.35em;
}
body #content .legal-intro p:last-child,
body #content .legal-article p:last-child {
    margin-bottom: 0;
}
body #content .legal-summary h3,
body #content .legal-article h4 {
    margin-top: 0;
    line-height: 1.4;
}
body #content .legal-summary li {
    margin-bottom: 12px;
    line-height: 1.6;
}
body #content .legal-article {
    scroll-margin-top: 105px;
}

@media (max-width: 767px) {
    body #slider .no-slider.slider-h-40 {
        min-height: 0;
    }
    body #slider .no-slider.slider-h-40 .slide-content {
        padding: 150px 22px 58px;
    }
    body #slider .no-slider.slider-h-40 .title {
        font-size: clamp(1.9rem, 7.8vw, 2.6rem);
        line-height: 1.2;
    }
    body #slider .city-hero-subtitle {
        max-width: 100%;
        font-size: 1rem;
    }
    body .city-intro-section h2,
    body .city-local-focus-section h2,
    body .city-premium-points-section h2 {
        font-size: clamp(1.7rem, 7vw, 2.3rem);
        line-height: 1.25;
    }
    body .city-intro-section .intro p,
    body .city-local-focus-section .intro p {
        line-height: 1.8;
        text-align: left;
    }
    body .accordion .card-header .btn {
        padding: 19px 20px;
        font-size: .98rem;
    }
    body .accordion .card-body {
        padding: 0 20px 22px;
    }
    body #content .legal-intro,
    body #content .legal-summary,
    body #content .legal-article {
        padding: 24px 21px;
    }
    body #content .legal-intro h2 {
        margin-top: 8px;
    }
    body #content .legal-intro p,
    body #content .legal-article p,
    body #content .legal-article li {
        font-size: .97rem;
    }
    body #content .legal-intro {
        border-left-width: 3px;
    }
    body #content .legal-summary ol {
        columns: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .testimonial-showcase-track {
        animation: none;
        transform: none;
        width: auto;
        overflow-x: auto;
    }
    .testimonial-showcase-group[aria-hidden='true'] {
        display: none;
    }
}
