﻿/* ===================================
   THE INFERNAL PATROLE - RESPONSIVE
   Adaptations pour mobile et tablette
   =================================== */

/* === TABLETTE (max-width: 1024px) === */
@media screen and (max-width: 1024px) {
    :root {
        font-size: 15px;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-logo {
        width: 150px;
        height: 150px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .cercles-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .rejoindre-content {
        gap: 2rem;
    }
}

/* === MOBILE (max-width: 768px) === */
@media screen and (max-width: 768px) {
    :root {
        font-size: 14px;
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    /* Navigation Mobile */
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .nav-toggle {
        display: flex;
        z-index: 100;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(13, 13, 13, 0.98) 0%, rgba(44, 44, 44, 0.95) 100%);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.4s ease;
        border-left: 3px solid var(--color-primary);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem;
    }

    /* Hero Mobile */
    .hero {
        height: 100vh;
        padding: 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Sections Mobile */
    .section {
        padding: var(--spacing-lg) 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Grids Mobile */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-card {
        padding: 1.5rem;
    }

    .cercles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cercle-image {
        height: 200px;
    }

    .cercle-logo {
        max-height: 150px;
    }

    /* Positions Mobile */
    .positions-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .position-image-placeholder {
        height: 180px;
    }

    /* Signes Mobile */
    .signes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .signe-image-placeholder {
        height: 150px;
    }

    /* Rejoindre Mobile */
    .rejoindre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rejoindre-text h3 {
        font-size: 1.5rem;
    }

    .rejoindre-text p {
        font-size: 1rem;
    }

    .requirements-list li {
        font-size: 0.95rem;
    }

    .rejoindre-buttons {
        flex-direction: column;
    }

    .rejoindre-buttons .btn {
        width: 100%;
    }

    .rejoindre-image {
        order: -1;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Modal Mobile */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
        max-height: 85vh;
    }

    .modal-close {
        top: 0.5rem;
        right: 1rem;
        font-size: 2rem;
    }

    /* Buttons Mobile */
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* === PETIT MOBILE (max-width: 480px) === */
@media screen and (max-width: 480px) {
    :root {
        font-size: 13px;
    }

    .logo span {
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .content-card h3 {
        font-size: 1.1rem;
    }

    .card-icon {
        font-size: 2rem;
    }

    .cercle-content h3 {
        font-size: 1.1rem;
    }

    .position-card h3,
    .signe-card h3 {
        font-size: 1rem;
    }

    .nav-menu {
        width: 85%;
    }
}

/* === LANDSCAPE MOBILE === */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 6rem 1rem 2rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* === TRÈS GRAND ÉCRAN (min-width: 1600px) === */
@media screen and (min-width: 1600px) {
    :root {
        font-size: 18px;
    }

    .container {
        max-width: 1600px;
    }

    .hero h1 {
        font-size: 5rem;
    }

    .hero-logo {
        width: 250px;
        height: 250px;
    }

    .section-title {
        font-size: 3.5rem;
    }
}

/* === ACCESSIBILITÉ === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .glitch::before,
    .glitch::after {
        animation: none;
    }

    .hero-logo {
        animation: none;
    }
}

/* === IMPRESSION === */
@media print {
    nav,
    .hero-buttons,
    .btn,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        page-break-inside: avoid;
    }
}

