/* =====================================================================
   RESPONSIVE - points de rupture Bootstrap 5 : 1400 / 1200 / 992 / 768 / 576
   (charge en dernier, apres les CSS de sections)
   ===================================================================== */

/* ---------------------------------------------------------- < 1400px */
@media (max-width: 1399.98px) {
    .footer-brand { margin-right: 48px; }
    .footer-col:nth-child(2) { flex: 0 0 220px; }
    .footer-col:nth-child(3) { flex: 0 0 300px; }
    .footer-col.footer-labels { margin-right: 0; flex: 1 1 auto; }
    .footer-label { width: 150px; height: 96px; }
    .footer-label--klarity { width: 150px; }
    .footer-label--klarity img { width: 118px; }
    .cta-band--avis .cta-band-in { margin: 0; }
    .home-parallax-in { margin: 0; }
    .site-header-in { gap: 28px; }
    .site-logo img { width: 128px; }
    .header-collapse { gap: 20px; }
    .site-header nav ul { gap: 15px; }
    .site-header nav a { font-size: 14px; white-space: nowrap; }
    a.btn.header-cta { padding-left: 18px; padding-right: 18px; }
}

/* ---------------------------------------------------------- < 1200px : menu burger */
@media (max-width: 1199.98px) {
    .site-header-in { padding-top: 16px; padding-bottom: 16px; gap: 24px; }
    .site-logo img { width: 110px; }
    .site-header.site-scroll .site-logo img { width: 82px; }
    .nav-toggle { display: flex; position: relative; z-index: 120; }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    .header-collapse {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 110;
        width: min(380px, 88vw);
        padding: 110px 34px 40px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 34px;
        background: var(--c-navy);
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .8s var(--ease-smooth), visibility .8s;
    }
    .nav-open .header-collapse { transform: none; visibility: visible; }
    .site-header nav { width: 100%; }
    .site-header nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .site-header nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
    .site-header nav > ul > li > a,
    .site-header .menu-top { display: block; width: 100%; padding: 14px 0; font-size: 17px; text-align: left; }
    .site-header nav > ul > li > a::after,
    .site-header .menu-top::after { bottom: -1px; }
    .site-header .submenu {
        position: static;
        min-width: 0;
        padding: 0 0 10px 14px;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    .site-header .has-sub.is-open .submenu { display: block; }
    .site-header nav .submenu a { color: rgba(255, 255, 255, .85); padding: 6px 0; }
    .nav-open .nav-scrim { opacity: 1; visibility: visible; }

    .hero-sps { width: 270px; height: 236px; }
    .hero-sps-title { font-size: 28px; margin-top: 32px; }
    .hero-content { max-width: 560px; }
    .hero-title { font-size: 50px; line-height: 54px; }

    .home-about-in { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; padding-left: 0; }
    .home-about-img { height: 560px; }
    .home-about-badge { top: 484px; }
    .home-presence-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .home-presence-text { margin-right: 0; }
    .benefit-list { gap: 28px; }
    .services-list-in { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
    .services-list-visual { margin-right: 0; height: auto; aspect-ratio: 607 / 612; }
    .home-secteurs .scroll-text--tall { margin-right: 0; }
    .cta-band--avis .cta-band-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 60px 50px 50px; }
    .cta-band--avis .cta-band-media { height: auto; aspect-ratio: 526 / 320; }
    .cta-band--paiement .cta-band-in { grid-template-columns: minmax(0, 1fr) 400px; padding-right: 30px; }
    .cta-band--paiement .cta-band-media { height: auto; aspect-ratio: 455 / 277; }
    .contact-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; margin-left: 0; }
    .contact .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
    .contact-infos-t { font-size: 28px; }

    .footer-col-wrap { flex-wrap: wrap; row-gap: 34px; }
    .footer-col.footer-labels { flex: 0 0 100%; border-left: 0; padding: 0; min-height: 0; justify-content: flex-start; }
    .footer-bottom-wrap { padding: 12px 0; }
}

/* ---------------------------------------------------------- < 992px */
@media (max-width: 991.98px) {
    .sec-title { font-size: 28px; line-height: 38px; }
    .t-eyebrow { font-size: 17px; }

    .hero { height: 760px; }
    .hero-content { padding-top: 170px; }
    .hero-content.has-corner::before { top: 150px; }
    .hero-title { font-size: 44px; line-height: 48px; }
    .hero .hero-sps-wrap { top: auto; bottom: 220px; height: auto; }
    .hero-sps {
        position: relative;
        top: auto; right: auto;
        width: auto; height: auto;
        margin: 0 7px;
        padding: 12px 18px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px 18px;
        background: rgba(19, 33, 55, .55);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
    .hero-sps-logo { width: 100px; height: 44px; }
    .hero-sps-title { margin: 0 auto 0 0; font-size: 24px; line-height: 1.2; }
    .hero--intern { height: 480px; }
    .hero--intern .hero-content { padding-top: 200px; }
    .hero--intern .hero-content.has-corner::before { top: 180px; }

    .simple-devis { margin-top: -200px; height: auto; }
    .hero--intern + .simple-devis { margin-top: -110px; }
    .form-quote { width: 100%; min-height: 220px; padding: 24px 0 30px; }
    .form-quote::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 100%;
        width: var(--bleed);
        background: inherit;
    }
    .form-quote h2 { margin-bottom: 24px; }
    .form-quote__inputs { gap: 18px; }
    .form-quote .form-group { flex: 1 1 0; width: auto; min-width: 0; }

    .home-about { padding: 70px 0 60px; }
    .home-about-in { grid-template-columns: 1fr; gap: 60px; }
    .home-about-text .scroll-text { max-width: none; }
    .home-about-media { max-width: 481px; margin-left: 40px; }
    .home-about-img { height: auto; aspect-ratio: 481 / 643; }
    .home-about-badge { top: auto; bottom: -37px; }
    .intern-about .home-about-media { margin-left: 0; }

    .home-presence { padding: 40px 0 70px; }
    .home-presence-in { grid-template-columns: 1fr; gap: 44px; }
    .home-presence-img { height: auto; aspect-ratio: 867 / 620; margin-left: calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); }

    .company-benefit-head .t-eyebrow { margin-bottom: 44px; }
    .benefit-list { flex-wrap: wrap; }
    .benefit-item { width: calc(50% - 14px); min-height: 0; }

    .services-list { padding-top: 60px; }
    .services-list-in { grid-template-columns: 1fr; gap: 40px; }
    .services-list-visual { max-width: 607px; }

    .cta-band--avis { padding: 70px 0 56px; }
    .cta-band--avis .cta-band-in { grid-template-columns: 1fr; gap: 40px; padding: 50px 40px 46px; }
    .cta-band--avis .cta-band-media { max-width: 526px; margin-left: 24px; }
    .cta-band--paiement { padding: 64px 0; }
    .cta-band--paiement .cta-band-in { grid-template-columns: 1fr; gap: 50px; padding: 0; }
    .cta-band--paiement .cta-band-media { max-width: 455px; }

    .home-parallax-in { height: 280px; }
    .home-secteurs-in { grid-template-columns: 1fr; gap: 50px; }
    .home-secteurs .sec-title { min-height: 0; }
    .home-secteurs .scroll-text--tall { max-height: 560px; }

    .home-actus-head { flex-direction: column; align-items: flex-start; }
    .home-actus-head .btn { transform: none; }

    .contact-infos { margin-top: -90px; }
    .contact-infos-in ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
    .contact { padding-top: 70px; }
    .contact-in { grid-template-columns: 1fr; }
    .contact-img { height: auto; aspect-ratio: 612 / 420; }

    .footer-brand { flex: 0 0 100%; margin: 0; }
    .footer-col:nth-child(2),
    .footer-col:nth-child(3) { flex: 0 0 auto; }
    .footer-col:nth-child(2) { padding-left: 0; border-left: 0; margin-right: 40px; padding-right: 40px; border-right: 1px solid #fff; }
    .footer-col:nth-child(3) { border-left: 0; }
    .footer-col-wrap { padding-left: 0; }
}

/* ---------------------------------------------------------- < 768px */
@media (max-width: 767.98px) {
    .sec-title { font-size: 25px; line-height: 33px; }
    .t-eyebrow { font-size: 15px; letter-spacing: .22em; margin-bottom: 26px; }
    .scroll-text { max-height: 420px; padding-right: 20px; }

    .hero { height: 760px; }
    .hero-content { padding-top: 140px; padding-left: 22px; margin-left: 4px; }
    .hero-content.has-corner::before { top: 124px; width: 90px; height: 90px; border-width: 4px; }
    .hero-title { font-size: 36px; line-height: 40px; }
    .hero .hero-sps-wrap { bottom: 270px; }
    .hero--intern { height: 420px; }
    .hero--intern .hero-content { padding-top: 170px; }
    .hero--intern .hero-content.has-corner::before { top: 154px; }

    .simple-devis { margin-top: -250px; }
    .hero--intern + .simple-devis { margin-top: -80px; }
    .form-quote__inputs { flex-wrap: wrap; }
    .form-quote .form-group { flex: 1 1 100%; }
    .form-quote .next-step { flex: 1 1 100%; }
    .fq-submit { width: 100%; }
    .form-quote h2 { font-size: 21px; }

    .home-about-media { margin-left: 26px; margin-right: 10px; }
    .home-about-badge { width: 160px; height: 94px; }
    .home-about-badge img { width: 110px; }

    .benefit-item { width: 100%; max-width: 380px; }
    .services-list-item a { gap: 12px; padding: 14px 16px 14px 6px; min-height: 60px; }
    .service-title { font-size: 16px; line-height: 20px; }
    .service-ic, .service-ic svg { width: 26px; height: 26px; flex-basis: 26px; }

    .cta-band--avis .cta-band-in { padding: 44px 24px 40px; margin: 0 calc(-1 * var(--gutter)); }
    .cta-band--avis .cta-band-media { margin-left: 18px; }
    .home-parallax-in { height: 210px; margin: 0 calc(-1 * var(--gutter)); }

    .contact-infos-in { padding: 34px 18px; }
    .contact-infos-in ul { grid-template-columns: 1fr; }
    .contact .contact-form { grid-template-columns: 1fr; padding-left: 0; }

    .footer-col:nth-child(2) { margin-right: 0; padding-right: 0; border-right: 0; flex: 0 0 100%; }
    .footer-col:nth-child(3) { flex: 0 0 100%; padding-left: 0; }
    .footer-bottom-wrap { flex-direction: column; align-items: flex-start; }
    .footer-bottom ul { font-size: 14px; }

    .breadcrumb { padding-top: 120px; }
    .cta-band .sec-title br { display: none; }
}

/* ---------------------------------------------------------- < 576px */
@media (max-width: 575.98px) {
    :root { --gutter: 20px; }
    .hero-title { font-size: 32px; line-height: 36px; }
    .hero-actions .btn { white-space: normal; }
    .hero-sps { margin: 0; }
    .hero-sps-title { font-size: 20px; }
    .hero-sps .btn { flex: 1 1 100%; }
    .btn, a.btn, button.btn { padding-left: 18px; padding-right: 18px; }
    .contact-infos-t { font-size: 26px; }
    .footer-labels { flex-wrap: wrap; }
}

/* ---------------------------------------------------------- Mouvement reduit */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js-line .t-eyebrow { --line: 1; }
    .js-reveal [data-reveal-img],
    .js-reveal [data-reveal-img] img { clip-path: none; transform: none; }
}
