/* --------------------------------------------------------------------------
   TABLETTES EN MODE PAYSAGE & PETITS ÉCRANS (iPad Pro, petits PC)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1210px) {
    .awm-hero-section{
        padding: 96px;
    }
}
@media screen and (max-width: 1024px) {
    html,
    body {
        overflow-x: hidden;
    }

    .mobile {
        display: block !important;
    }

    .desktop {
        display: none !important;
    }

    .awm-top-bar-container,
    .awm-main-header-container {
        padding: 0 20px;
    }

    .awm-contact-item:nth-child(2) {
        display: none;
    }

    .right-top a:nth-child(1),
    .right-top a:nth-child(3) {
        display: none;
    }

    .awm-burger {
        display: flex;
    }

    /* Menu déroulant */
    .awm-nav {
        display: flex;
        position: fixed;
        transform: translateX(100%);
        width: 100vw;
        background: #ffffff;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
        flex-direction: column;
        top: 120px;
        height: calc(100vh - 121px);
        padding: 40px 20px;
        align-items: center;
        overflow-y: auto;
    }

    .awm-menu {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
    }

    .awm-menu li a {
        font-size: 18px;
        padding: 12px;
        display: block;
        font-weight: 600;
    }

    .awm-header-actions .awm-btn {
        width: 100%;
    }

    /* Animation du menu */
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .awm-nav {
        transform: translateX(0);
        left: 0;
    }

    body.menu-open .awm-burger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.menu-open .awm-burger span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .awm-burger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Top bar */
    .awm-top-contact .awm-contact-item:nth-child(2) {
        display: none;
    }

    .right-top a:nth-child(1),
    .right-top a:nth-child(3) {
        display: none;
    }

    /* Main header */
    .awm-logo img,
    .awm-logo svg {
        max-width: 160px;
        height: auto;
        object-fit: contain;
    }

    .awm-burger {
        display: flex;
        width: 44px;
        height: 44px;
        background-color: transparent;
        border: 2px solid #E2E8F0;
        border-radius: 8px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .awm-header-actions a {
        margin-top: 1rem;
    }

    /* Hero */
    .awm-hero-section {
        padding: 40px 20px 20px 20px;
    }

    .awm-hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .awm-hero-content {
        display: contents;
    }

    .awm-badge-pill {
        order: 1;
        margin: 0 auto 10px auto;
    }

    .awm-hero-title {
        order: 2;
        font-size: 32px;
        line-height: 40px;
        margin: 0 0 16px 0;
    }

    .awm-hero-desc {
        order: 3;
        font-size: 16px;
        line-height: 24px;
        margin: 0 0 32px 0;
    }

    .awm-hero-cta-group {
        order: 4;
        flex-direction: column;
        width: 100%;
        gap: 16px;
        margin: 0 0 40px 0;
    }

    .awm-hero-dashboard {
        order: 5;
        width: 100%;
        margin: 0 0 48px 0;
    }

    .awm-hero-stats {
        order: 6;
        flex-direction: column;
        width: 100%;
        gap: 32px;
        padding-top: 0;
        align-items: center;
    }

    /* CTA */
    .awm-hero-cta-group .awm-btn {
        width: 100%;
        justify-content: center;
    }

    .awm-hero-cta-note {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    /* Statistiques */
    .awm-stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .awm-stat-val {
        font-size: 32px;
        margin-bottom: 4px;
    }

    .awm-stat-lbl {
        font-size: 14px;
    }

    .awm-section-header {
        max-width: 100%;
    }

    .awm-section-header h1,
    .awm-section-header h2,
    .awm-section-title {
        font-size: 28px;
        line-height: 36px;
    }

    .awm-section-header p,
    .awm-section-subtitle {
        font-size: 15px;
        line-height: 24px;
    }

    .awm-section-option .awm-btn {
        width: 100%;
    }

    .awm-targets-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    /* Style du titre de l'accordéon */
    .awm-footer-heading {
        cursor: pointer;
        position: relative;
        user-select: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: bold;
        margin: 0;
        background: #ffffff4a;
        padding: 10px;
    }
    .awm-footer-heading::after {
        content: '\25BC';
        font-size: 12px;
        transition: transform 0.3s ease;
    }
    .awm-footer-heading.active::after {
        transform: rotate(-180deg);
    }
    .awm-footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        margin: 0;
        padding: 0;
        list-style: none; 
    }
    .awm-footer-links.open {
        max-height: 400px; 
    }
    .awm-footer-links li {
        padding: 5px 0;
    }
    .awm-footer-links a {
        text-decoration: none;
        color: inherit;
    }
    .awm-footer-grid{
        gap: 20px;
    }
    .awm-section-temoins .slick-dots, .awm-roadmap-grid .slick-dots{
        margin: 0;
    }
}

/* --------------------------------------------------------------------------
   TABLETTES EN MODE PORTRAIT (iPad classique)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
}

/* --------------------------------------------------------------------------
   SMARTPHONES (Mobiles standards)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 480px) {
    .awm-top-bar-container,
    .awm-main-header-container {
        padding: 0 16px;
    }

    .awm-logo img,
    .awm-logo svg {
        max-width: 140px;
    }

    .awm-hero-title {
        font-size: 28px;
        line-height: 36px;
    }

    .awm-footer-bottom {
        flex-wrap: wrap;
    }

    footer .social {
        margin-top: 1rem;
    }

    footer .social a {
        margin-right: .8rem;
        margin-left: 0;
    }
    .awm-footer-col{
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   OPTIONNEL : TRÈS PETITS MOBILES
   -------------------------------------------------------------------------- */
@media screen and (max-width: 320px) {
}