/* ================================
   TABLETTES
================================ */

@media (max-width: 1100px) {

    .nav-links {

        gap: 18px;

    }

    .nav-link {

        font-size: 12px;

    }

    .hero {

        gap: 30px;

    }

    .hero h1 {

        font-size: 75px;

    }

    .stats-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .why-section {

        gap: 40px;

    }

}


/* ================================
   MOBILE MENU
================================ */

@media (max-width: 850px) {

    .navbar {

        height: 75px;

    }

    .nav-container {

        width: 90%;

    }

    .mobile-menu {

        display: flex;

        align-items: center;

        justify-content: center;

        width: 42px;

        height: 42px;

        border: 1px solid var(--border);

        border-radius: 6px;

        background: #141414;

    }

    .nav-links {

        position: absolute;

        top: 75px;

        left: 0;

        width: 100%;

        padding: 25px;

        background: rgba(8,8,8,0.98);

        backdrop-filter: blur(20px);

        border-bottom: 1px solid var(--border);

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition: var(--transition);

    }

    .nav-links.open {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);

    }

    .nav-link {

        font-size: 15px;

        width: 100%;

    }

    .nav-link.active::after {

        display: none;

    }

    .hero {

        grid-template-columns: 1fr;

        padding-top: 140px;

        text-align: center;

        gap: 60px;

    }

    .hero-description {

        margin-left: auto;

        margin-right: auto;

    }

    .hero-badge {

        justify-content: center;

    }

    .hero-buttons {

        justify-content: center;

    }

    .hero-trust {

        justify-content: center;

    }

    .hero-visual {

        min-height: 480px;

    }

    .why-section {

        grid-template-columns: 1fr;

    }

    .footer-main {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* ================================
   PETITS ÉCRANS
================================ */

@media (max-width: 550px) {

    .logo {

        font-size: 19px;

        gap: 8px;

    }

    .logo img {

        width: 35px;

        height: 35px;

    }

    .discord-button {

        padding: 11px;

    }

    .discord-button span {

        display: none;

    }

    .hero {

        width: 90%;

        padding-top: 130px;

        padding-bottom: 50px;

    }

    .hero h1 {

        font-size: clamp(49px, 13vw, 70px);

        letter-spacing: -3px;

    }

    .hero-description {

        font-size: 13px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .hero-buttons a {

        width: 100%;

    }

    .hero-trust {

        font-size: 10px;

    }

    .hero-visual {

        min-height: 400px;

        transform: scale(0.85);

        margin-top: -20px;

    }

    .visual-card {

        width: 290px;

        height: 380px;

    }

    .circle-one {

        width: 350px;

        height: 350px;

    }

    .circle-two {

        width: 300px;

        height: 300px;

    }

    .floating-card-top {

        right: -20px;

    }

    .floating-card-bottom {

        left: -20px;

    }

    .floating-card {

        padding: 10px;

    }

    .floating-card strong {

        font-size: 9px;

    }

    .floating-card span {

        font-size: 8px;

    }

    .stats-section,
    .categories-section,
    .why-section {

        padding-top: 65px;

        padding-bottom: 65px;

    }

    .stats-grid {

        gap: 10px;

    }

    .stat-card {

        padding: 18px;

    }

    .stat-card h3 {

        font-size: 25px;

    }

    .stat-card p {

        font-size: 10px;

    }

    .section-heading {

        flex-direction: column;

        align-items: flex-start;

    }

    .categories-grid {

        grid-template-columns: 1fr;

    }

    .category-card {

        padding: 20px;

        gap: 15px;

    }

    .category-icon {

        min-width: 50px;

        height: 50px;

    }

    .category-card h3 {

        font-size: 18px;

    }

    .category-card p {

        font-size: 10px;

    }

    .why-content h2 {

        font-size: 37px;

    }

    .feature-item {

        padding: 17px;

    }

    .recruitment-section {

        padding-top: 40px;

        padding-bottom: 40px;

    }

    .recruitment-box {

        padding: 45px 25px;

    }

    .recruitment-content h2 {

        font-size: 36px;

    }

    .recruitment-content > p {

        font-size: 12px;

    }

    .final-cta {

        padding-top: 90px;

        padding-bottom: 90px;

    }

    .final-cta h2 {

        font-size: 43px;

    }

    .footer-main {

        grid-template-columns: 1fr 1fr;

        gap: 35px 20px;

    }

    .footer-brand {

        grid-column: 1 / -1;

    }

    .footer-bottom {

        flex-direction: column;

        gap: 12px;

        text-align: center;

    }

}


/* ================================
   REDUCED MOTION
================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;

    }

}