

@media (max-width: 1000px) {

    .hero-media img {object-position: 27% 22%;}

    .hero-text {margin-top: 200px;}

    .about-profiles {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .besoins-container {
        flex-direction: column;
        align-items: stretch;
        gap: 50px;
    }

    .besoins-intro {flex: none;}

    .besoins-list {max-width: none;}

    .besoins-image {
        width: 100%;
        max-width: 520px;
        margin-inline: auto;
    }

    .horaires-container {
        flex-direction: column;
        align-items: stretch;
        gap: 50px;
    }

    .horaires-content {max-width: none;}
    .horaires-image {
        width: 100%;max-width: 520px;
        height: clamp(280px, 60vw, 460px);

        margin-left: auto;margin-right: auto;
    }
}

@media (max-width: 900px) {

    .pricing-container {flex-direction: column;}

    .pricing-left,
    .pricing-right {
        width: 100%;
    }

    .pricing-left {align-items: stretch;}

    .contact-card {gap: 24px 30px;padding: 28px;}
}

@media (max-width: 768px) {

    h1 {font-size: 2.1rem;}

    p {font-size: 0.95rem;}

    .horaires-intro h2 {font-size: 1.85rem;}

    .content-box .section-kicker {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .content-box h2,
    .pricing-left h2,
    .reviews-section h2,
    .contact-container h2,
    #carousel h2 {
        font-size: 1.7rem;
    }

    .hero-media img {object-position: 27% 22%;}

    .hero-text {margin-top: 80px;}

    .hero-icon {width: 300px;height: auto;}

    .seo-text {
        width: 100%;
        padding-inline: 12px;
    }

    .seo-text h1 {
        font-size: clamp(1.75rem, 8.2vw, 2.1rem);
        line-height: 1.2;
    }

    .seo-text h1 span {
        display: block;
        max-width: 100%;
    }

    .seo-text h1 .hero-letter {
        display: inline-block;
    }

    .hero-area {
        max-width: 18rem;
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .content-intro {line-height: 1.7;}

    .about-profiles {max-width: 360px;gap: 22px;}

    .about-profile-content {padding: 18px 14px 20px;}

    .pricing-left,
    .pricing-right {
        padding: 24px 20px;
    }

    .pricing-button,
    .pricing-detail p {
        font-size: 0.95rem;
    }

    .pricing-quote-btn {
        margin-top: 20px;
    }

    .contact-card {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 20px 14px;
    }

    .contact-card::before {
        display: none;
    }

    .contact-item p,
    .address-value {
        font-size: 0.95rem;
    }

    .reviews-section {
        padding: 80px 20px;
        background-position: left center;
    }

    .reviews-section h2 {
        margin-bottom: 48px;
    }

    .reviews-wrapper {
        width: min(92vw, 560px);
        padding: 14px 6px;
    }

    .review-slide {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .review-card {
        width: 100%;
        margin-inline: auto;
        min-height: auto;
        padding: 32px 26px 30px;
    }

    .review-header {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        margin-top: 0;
        margin-bottom: 20px;
        padding-top: 18px;
        text-align: center;
    }

    .review-header::before {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        background-size: 21px;
    }

    .review-stars {
        position: static;
        display: flex;
        justify-content: center;
        gap: 0.45rem;
        margin: 0;
        letter-spacing: 0;
    }

    .review-name {
        line-height: 1.2;
        text-align: center;
    }

    .reviews-indicators {
        gap: 0.25rem;
    }

    .reviews-indicators span {
        position: relative;
        display: grid;
        width: 36px;
        height: 36px;
        place-items: center;
        background: transparent;
        transform: none;
    }

    .reviews-indicators span::before {
        content: "";
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transition: transform 0.2s ease, background-color 0.2s ease;
    }

    .reviews-indicators span:hover::before,
    .reviews-indicators span.active::before {
        background: var(--section-dark-hover);
        transform: scale(1.18);
    }

    .reviews-indicators span:hover,
    .reviews-indicators span.active {
        background: transparent;
        transform: none;
    }

    .besoin {padding: 26px 0;}

    .besoin:hover {transform: none;}
}

@media (max-width: 640px) {

    .contact-form-card {
        width: min(92%, 420px);
        padding: 1.4rem;
    }

    .form-generic {grid-template-columns: 1fr;}
}

@media (max-width: 600px) {

    .horaire-single {
        padding: 28px 20px;
    }

    .horaire-time {
        gap: 8px;
    }

    .horaire-single:hover {
        transform: none;
    }
}

@media (max-width: 515px) {

    #reviews-title::before {
        font-size: 20px;
    }

}

@media (max-width: 480px) {

    .hero-icon {width: 250px;}

    .content-box h2,
    .pricing-left h2,
    .reviews-section h2,
    .contact-container h2,
    #carousel h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 330px) {

    .content-box .section-kicker {
        font-size: 0.82rem;
        letter-spacing: 1.5px;
    }

    .about-section {
        padding-right: 6px;
        padding-left: 6px;
    }

    .content-box {
        width: 100%;
        padding: 2rem 0.9rem;
    }

    .content-box h2 {
        margin-bottom: 1.6rem;
    }

    .content-box p {
        width: 100%;
        font-size: 0.94rem;
        line-height: 1.75;
    }

    .pricing-section,
    .contact-section {
        padding-inline: 8px;
    }

    .pricing-left,
    .pricing-right {
        padding: 24px 14px;
    }

    .pricing-left h2 {
        font-size: 1.7rem !important;
    }

    .pricing-button {
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        padding: 14px 12px;
        font-size: 0.9rem !important;
        line-height: 1.25;
    }

    .pricing-button i {
        margin-right: 0;
        text-align: center;
    }

    .pricing-button span,
    .pricing-detail h3,
    .pricing-detail p {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .pricing-detail h3 {
        font-size: 1.45rem !important;
        line-height: 1.15;
    }

    .reviews-section {
        padding: 64px 8px;
    }

    .reviews-wrapper {
        width: 100%;
        padding-inline: 0;
    }

    .review-card {
        padding: 20px 14px 22px;
    }

    .review-stars {
        position: static;
        display: flex;
        justify-content: center;
        gap: 0.4rem;
        margin: 0;
        letter-spacing: 0;
    }

    .review-header {
        flex-direction: column;
        justify-content: center;
        gap: 9px;
        margin-top: 0;
        margin-bottom: 16px;
        padding-top: 16px;
        text-align: center;
    }

    .review-header::before {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        background-size: 18px;
    }

    .review-name {
        line-height: 1.2;
    }

    .review-text {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .reviews-indicators {
        gap: 0.2rem;
        margin-top: 22px;
    }

    .reviews-indicators span {
        width: 34px;
        height: 34px;
    }

    .contact-form-card {
        width: 100%;
        padding: 1.15rem;
    }

    .contact-form-card h3 {
        font-size: 1.45rem;
        white-space: nowrap;
    }

    .contact-card {
        padding: 18px 10px;
    }

    .contact-item {
        gap: 10px;
        padding-inline: 6px;
    }

    .contact-item > div {
        min-width: 0;
    }

    .contact-item p,
    .address-value {
        font-size: 0.88rem;
        overflow-wrap: anywhere;
    }

    .contact-item .email-link {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .custom-footer {
        padding: 1.75rem 0;
    }

    .footer-content {
        gap: 1.1rem;
        padding-inline: 10px;
    }

    .footer-info > p {
        margin-inline: auto;
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .legal-toggle {
        margin-top: 0.55rem;
        padding: 0.58rem 0.85rem;
        font-size: 0.82rem;
    }

    .legal-content {
        width: 100%;
        margin-top: 0.8rem;
        padding-inline: 6px;
        border-radius: 12px;
    }

    .legal-content.active {
        padding: 12px 8px;
    }

    .legal-content p {
        margin: 7px 0;
        padding: 9px 10px;
        font-size: 0.82rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .legal-text hr {
        margin: 0.65rem 0;
    }

    .dog-cta {
        right: -14px;
        bottom: 72px;
        width: 72px;
    }
}

/* Copyright RZU Informatique */
