/* RESET ET BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

/* MENU DESKTOP */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
}

.nav-menu .phone-link {
    background: #f59e0b;
    color: #1e40af;
    font-weight: 700;
}

.nav-menu .phone-link:hover {
    background: #fbbf24;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* OVERLAY */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(30,64,175,0.98) 0%, rgba(59,130,246,0.98) 100%);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
        gap: 1rem;
    }

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

    .nav-menu li {
        width: 90%;
        max-width: 400px;
    }

    .nav-menu a {
        display: block;
        padding: 1.2rem 2rem;
        margin: 0.5rem 0;
        background: rgba(255,255,255,0.1);
        border: 2px solid rgba(255,255,255,0.2);
        border-radius: 15px;
        text-align: center;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-menu a:hover {
        background: rgba(255,255,255,0.2);
        transform: translateY(-2px);
    }

    .nav-menu .phone-link {
        background: #f59e0b;
        color: #1e40af;
        border-color: #f59e0b;
    }

    /* ANIMATIONS HAMBURGER */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* EMPÊCHER LE SCROLL */
    body.menu-open {
        overflow: hidden;
    }
}

/* HERO SECTION */
.hero-main {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.hero-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 2rem;
    font-weight: 800;
    margin: 1.5rem 0;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #f59e0b, #fbbf24);
    color: #1e40af;
    border-radius: 50px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    transform: scale(1);
    transition: all 0.3s ease;
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.hero-tagline:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    }
    100% {
        box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #f59e0b;
    color: #1e40af;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* SECTIONS GÉNÉRALES */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1e40af;
}

.alert-section {
    background: #fef3c7;
    padding: 2rem 0;
    border-left: 4px solid #f59e0b;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.alert-text {
    font-size: 1.1rem;
    color: #1e40af;
}

/* CONNECTED SECTION */
.connected-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.connectivity-highlight {
    text-align: center;
    margin-bottom: 3rem;
}

.connectivity-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid #3b82f6;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.stats-highlight {
    text-align: center;
    margin: 3rem 0;
}

.big-stat {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* FAQ SECTION */
.faq-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.faq-item {
    background: white;
    margin-bottom: 1.5rem;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    line-height: 1.7;
    color: #374151;
}

/* CONTACT SECTION */
.contact-section {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f59e0b;
}

/* FOOTER */
footer {
    background: #0f172a;
    color: white;
    padding: 2.5rem 0;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.4rem;
        padding: 0.8rem 1.5rem;
        margin: 1rem 0;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    .alert-content {
        flex-direction: column;
        text-align: center;
    }

    .connectivity-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .big-stat {
        font-size: 3rem;
    }
}

/* STYLES ADDITIONNELS POUR LA PAGE CONTACT */

/* Form row pour les champs sur la même ligne */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Styles pour les checkbox */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: rgba(255,255,255,0.9);
    position: relative;
    padding-left: 35px;
    min-height: 24px;
    line-height: 24px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px !important;
    height: 20px !important;
    margin: 0;
    cursor: pointer;
    opacity: 1;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked {
    background: #f59e0b;
    border-color: #f59e0b;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    display: block;
    text-align: center;
    color: white;
    font-size: 14px;
    line-height: 16px;
    font-weight: bold;
}

.checkbox-label input[type="checkbox"]:hover {
    border-color: #f59e0b;
    background: rgba(245,158,11,0.2);
}

/* Suppression des span inutiles */
.checkbox-label .checkmark {
    display: none;
}

/* Bouton submit du formulaire */
.btn-submit {
    margin-top: 1.5rem;
}

/* Amélioration du select dans le formulaire contact */
.contact-form select option {
    background: #1e40af;
    color: white;
}

/* Amélioration de la mise en page du formulaire */
.contact-form {
    max-height: none;
}