/* ==================================================
   WOERTHER.FR - VERSION MOBILE
   Chargé après style.css et header.css
================================================== */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        margin: 0;
    }

    .container {
        width: calc(100% - 20px);
        margin-right: auto;
        margin-left: auto;
    }


    /* ==================================================
       HEADER MOBILE
    ================================================== */

    .site-header {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        z-index: 100 !important;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .header-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: calc(100% - 20px) !important;
        min-height: 0 !important;
        height: auto !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .brand {
        display: flex !important;
        position: static !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .brand-logo {
        display: block !important;
        width: auto !important;
        height: 54px !important;
        max-width: 88vw !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }


    /* ==================================================
       CONTACTS
    ================================================== */

    .header-actions {
        display: grid !important;
        position: static !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-contact {
        display: flex !important;
        position: static !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        min-width: 0 !important;
        min-height: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        border: 1px solid #2c2c2c !important;
        border-radius: 8px !important;
        background: #111111 !important;
    }

    .header-contact:first-child {
        border-left: 1px solid #2c2c2c !important;
    }

    .header-contact-icon {
        display: flex !important;
        flex: 0 0 22px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 22px !important;
        height: 22px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-contact-icon svg {
        display: block !important;
        width: 19px !important;
        height: 19px !important;
        max-width: 19px !important;
        max-height: 19px !important;
    }

    .header-contact-text {
        display: block !important;
        min-width: 0 !important;
    }

    .header-contact-text small {
        display: none !important;
    }

    .header-contact-text strong {
        display: block !important;
        overflow: hidden !important;
        color: #ffffff !important;
        font-size: 11.5px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }


    /* ==================================================
       RÉSEAUX SOCIAUX
    ================================================== */

    .header-socials {
        display: flex !important;
        position: static !important;
        grid-column: 1 / -1 !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        min-height: 38px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        transform: none !important;
    }

    .social-link {
        display: flex !important;
        position: static !important;
        flex: 0 0 36px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 1px solid #343434 !important;
        border-radius: 50% !important;
        transform: none !important;
    }

    .social-svg {
        display: block !important;
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        min-height: 17px !important;
        max-width: 17px !important;
        max-height: 17px !important;
        margin: 0 !important;
        transform: none !important;
    }


    /* ==================================================
       BANDEAU ARRIVÉE
    ================================================== */

    .arrival {
        display: grid !important;
        position: relative !important;
        grid-template-columns: 1fr !important;
        width: calc(100% - 20px) !important;
        margin-top: 12px !important;
        overflow: hidden !important;
        border-radius: 14px !important;
    }

    .arrival-zone {
        display: flex !important;
        position: relative !important;
        align-items: center !important;
        gap: 14px !important;
        min-height: 0 !important;
        padding: 16px !important;
    }

    .arrival-zone + .arrival-zone {
        border-top: 1px solid #e0e0e0 !important;
        border-left: 0 !important;
    }

    .round-icon {
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 42px !important;
    }

    .round-icon svg {
        width: 21px !important;
        height: 21px !important;
    }

    .arrival h1 {
        margin: 3px 0 0 !important;
        font-size: 22px !important;
        line-height: 1.05 !important;
    }

    .arrival p {
        font-size: 12.5px !important;
        line-height: 1.4 !important;
    }

    .percent {
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 21px !important;
    }

    .arrival-price h2 {
        margin: 0 0 4px !important;
        font-size: 15px !important;
        line-height: 1.15 !important;
    }

    .arrival-source {
        display: block !important;
    }

    .marketplaces {
        display: flex !important;
        align-items: center !important;
        gap: 16px !important;
        margin: 0 0 7px !important;
    }

    .lbc {
        font-size: 20px !important;
    }

    .ebay {
        font-size: 20px !important;
    }

    .arrival-source strong {
        margin-top: 7px !important;
        font-size: 11.5px !important;
    }


    /* ==================================================
       TITRE
    ================================================== */

    .chooser {
        padding-top: 20px !important;
        padding-bottom: 14px !important;
    }

    .section-title {
        display: block !important;
        margin-bottom: 15px !important;
    }

    .section-title i {
        display: none !important;
    }

    .section-title h2 {
        width: 100% !important;
        margin: 0 !important;
        font-size: 20px !important;
        line-height: 1.15 !important;
        text-align: center !important;
    }


    /* ==================================================
       CARTES MOBILE
    ================================================== */

    .cards {
        display: grid !important;
        position: relative !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .card {
        display: flex !important;
        position: relative !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        border-radius: 14px !important;
    }

    .card-body {
        display: flex !important;
        flex: 1 !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 225px 20px 72px !important;
    }

    .card-ladder {
        background-color: #090909 !important;
        background-image:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, .02) 0%,
                rgba(0, 0, 0, .08) 25%,
                rgba(0, 0, 0, .58) 40%,
                rgba(8, 8, 8, .96) 54%,
                rgba(8, 8, 8, 1) 100%
            ),
            url("../images/assets/echelle.jpg") !important;
        background-size:
            100% 100%,
            100% auto !important;
        background-position:
            center,
            top center !important;
        background-repeat:
            no-repeat,
            no-repeat !important;
    }

    .card-ladder .card-body {
        width: 100% !important;
        margin: 0 !important;
        background: transparent !important;
    }

    .card-clim {
        background-color: #ffffff !important;
        background-image:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, .02) 0%,
                rgba(255, 255, 255, .10) 24%,
                rgba(255, 255, 255, .72) 40%,
                rgba(255, 255, 255, .97) 54%,
                rgba(255, 255, 255, 1) 100%
            ),
            url("../images/assets/cache-clim.jpg") !important;
        background-size:
            100% 100%,
            100% auto !important;
        background-position:
            center,
            top center !important;
        background-repeat:
            no-repeat,
            no-repeat !important;
    }

    .card-clim .card-body {
        width: 100% !important;
        margin: 0 !important;
        background: transparent !important;
    }

    .card-icon {
        width: 44px !important;
        height: 44px !important;
        margin-bottom: 12px !important;
    }

    .card-icon svg {
        width: 21px !important;
        height: 21px !important;
    }

    .card h3 {
        margin: 0 0 13px !important;
        font-size: 32px !important;
        line-height: .98 !important;
    }

    .card h3 span,
    .card h3 em {
        display: block !important;
        white-space: normal !important;
    }

    .intro {
        min-height: 0 !important;
        margin: 0 0 14px !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    .card ul {
        margin: 0 0 18px !important;
    }

    .card li {
        margin: 7px 0 !important;
        font-size: 13.5px !important;
    }

    .cta {
        width: 100% !important;
        min-height: 48px !important;
        margin-top: auto !important;
        padding-right: 16px !important;
        padding-left: 16px !important;
        font-size: 12px !important;
    }

    .domain {
        height: 49px !important;
        font-size: 12px !important;
    }


    /* ==================================================
       OU ENTRE LES DEUX CARTES
    ================================================== */

    .or {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        z-index: 20 !important;
        width: 56px !important;
        height: 56px !important;
        margin: -8px auto !important;
        transform: none !important;
    }

    .or span {
        font-size: 17px !important;
    }


    /* ==================================================
       AVANTAGES
    ================================================== */

    .benefits {
        grid-template-columns: 1fr 1fr !important;
        margin-bottom: 14px !important;
    }

    .benefits div {
        min-height: 78px !important;
        padding: 13px 14px !important;
    }

    .benefits div + div {
        border-left: 0 !important;
    }

    .benefits div:nth-child(even) {
        border-left: 1px solid var(--line) !important;
    }

    .benefits div:nth-child(n + 3) {
        border-top: 1px solid var(--line) !important;
    }


    /* ==================================================
       FOOTER
    ================================================== */

    .footer-inner {
        flex-direction: column !important;
        gap: 6px !important;
        min-height: 0 !important;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
        text-align: center !important;
    }

}


@media (max-width: 430px) {

    .brand-logo {
        height: 50px !important;
    }

    .header-actions {
        grid-template-columns: 1fr !important;
    }

    .header-socials {
        grid-column: 1 !important;
    }

    .header-contact {
        width: 100% !important;
    }

    .card-body {
        padding-top: 205px !important;
        padding-right: 17px !important;
        padding-left: 17px !important;
    }

    .card h3 {
        font-size: 29px !important;
    }

    .benefits {
        grid-template-columns: 1fr !important;
    }

    .benefits div:nth-child(even) {
        border-left: 0 !important;
    }

    .benefits div + div {
        border-top: 1px solid var(--line) !important;
    }

}


/* Indication visuelle au-dessus des CTA */
@media (max-width: 767px) {
    .cta-zone {
        width: 100% !important;
        margin-top: auto !important;
    }

    .click-here {
        margin: 0 0 7px 10px !important;
        font-size: 11px !important;
    }

    .click-here b {
        font-size: 16px !important;
    }

    .cta-zone .cta {
        margin-top: 0 !important;
    }
}
