:root {
    --primary-blue: #0055FF;
    --light-blue: #EBF3FF;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --bg-white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.btn-nav {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 210, 0.3);
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 5%;
    min-height: 80vh;
}

.hero-text { flex: 1; max-width: 600px; }

.badge {
    display: inline-block;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; }
.hero-text p { font-size: 1.1rem; color: var(--text-gray); line-height: 1.6; }

.hero-image { flex: 1; display: flex; justify-content: center; }
.floating-img { width: 100%; max-width: 500px; animation: float 6s ease-in-out infinite; }

.contact-section { background-color: var(--light-blue); padding: 80px 5%; text-align: center; }
.contact-section h2 { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 10px; }
.contact-section > p { color: var(--text-gray); margin-bottom: 40px; }

.info-grid {
    display: flex; justify-content: center; gap: 20px;
    max-width: 1000px; margin: 0 auto 50px auto; flex-wrap: wrap;
}

.info-card {
    background: var(--bg-white); padding: 30px 20px; border-radius: 15px;
    flex: 1; min-width: 250px; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left; border-top: 4px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

.info-card:hover { transform: translateY(-5px); }
.info-card h3 { color: var(--primary-blue); margin-bottom: 15px; font-size: 1.2rem; }
.info-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.5; }

.contact-box {
    background: var(--bg-white); max-width: 500px; margin: 0 auto;
    padding: 40px; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-box h3 { margin-bottom: 10px; color: var(--text-dark); }
.contact-box p { margin-bottom: 25px; color: var(--text-gray); }

.btn-email {
    display: inline-block; background-color: var(--light-blue);
    color: var(--primary-blue); padding: 15px 30px; border-radius: 50px;
    text-decoration: none; font-weight: 600; transition: all 0.3s ease; font-size: 1.1rem;
}

.btn-email:hover { background-color: var(--primary-blue); color: white; }

footer { text-align: center; padding: 30px; background-color: var(--bg-white); color: var(--text-gray); font-size: 0.9rem; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay { transition-delay: 0.2s; }

/* --- NOUVELLES PAGES --- */
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-item { text-decoration: none; color: var(--text-dark); font-weight: 600; transition: color 0.3s ease; }
.nav-item:hover, .nav-item.active { color: var(--primary-blue); }

.page-header { text-align: center; padding: 80px 5% 40px 5%; }
.page-header h1 { font-size: 3.5rem; color: var(--text-dark); margin-bottom: 15px; letter-spacing: -1px; }
.page-header p { font-size: 1.2rem; color: var(--text-gray); }

.form-section { max-width: 800px; margin: 0 auto 100px auto; padding: 0 5%; }
.apple-form {
    background: var(--bg-white); padding: 50px; border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 25px;
}

.form-row { display: flex; gap: 20px; }
.input-group { flex: 1; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.input-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.input-group input, .input-group select, .input-group textarea {
    width: 100%; padding: 16px; border: 1px solid #E0E0E0; border-radius: 12px;
    font-size: 1rem; font-family: 'Poppins', sans-serif; background-color: #F9F9FB; transition: all 0.3s ease;
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
    outline: none; border-color: var(--primary-blue); background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0, 86, 210, 0.1);
}

.btn-submit-large {
    background-color: var(--primary-blue); color: white; padding: 18px; border-radius: 12px;
    font-size: 1.1rem; font-weight: 600; border: none; cursor: pointer; margin-top: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit-large:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 86, 210, 0.2); }

/* =========================================
   SHOWCASE VISUELS APP - DESIGN ÉQUILIBRÉ
   ========================================= */
.showcase-block {
    padding: 100px 5%;
    /* Pas de 'overflow: hidden;' ici pour garantir l'affichage entier */
}

.showcase-block.bg-gray {
    background-color: #F8F9FA;
}

.showcase-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.showcase-content.reverse {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
    max-width: 550px; /* Laisse le texte respirer sans écraser l'image sur PC */
}

.showcase-text h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
    font-weight: 700;
}

.showcase-text p {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.showcase-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* MODIFICATION : Image plus grande sur PC (420px au lieu de 320px) */
.showcase-image img {
    width: 100%;
    max-width: 420px; /* <--- Taille augmentée ici pour PC */
    height: auto;
    display: block;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}

.showcase-image img:hover {
    transform: translateY(-10px);
}

/* =========================================
   RESPONSIVE SMARTPHONE (Forcer largeur texte)
   ========================================= */
@media (max-width: 768px) {
    /* --- CORRECTIONS PAGE VISUELS SUR MOBILE --- */
        .showcase-block {
            padding: 50px 15px; /* Marges latérales réduites au minimum (15px) pour élargir le texte */
        }
        
        .showcase-content, .showcase-content.reverse {
            flex-direction: column;
            text-align: center;
            gap: 30px;
        }
        
        .showcase-text {
            width: 100%;
            max-width: 100%;
            padding: 0; /* Aucune marge interne */
        }
        
        .showcase-text p {
            width: 100%;
            max-width: 100%;
            font-size: 1.1rem; /* Légèrement plus petit pour éviter de faire trop de lignes */
            line-height: 1.5;
            margin: 0 auto;
        }

        .showcase-image img {
            max-width: 280px; /* Taille optimale sur mobile */
            margin: 0 auto;
        }
        
        
/* Responsive Mobile (on garde l'ancien code pour mobile, il est bien) */
@media (max-width: 1024px) {
    .showcase-content, .showcase-content.reverse { gap: 40px; }
    .showcase-text { flex: 0 0 50%; max-width: 50%; }
    .showcase-text h2 { font-size: 2.5rem; }
}
@media (max-width: 768px) {
    /* (Code responsive mobile inchangé par rapport aux versions précédentes) */
}


/* =========================================
   MENU HAMBURGER & ANIMATION CROIX
   ========================================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 5px;
    transition: all 0.3s ease-in-out; /* Animation très fluide */
}

/* La transformation magique en croix (X) */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0; /* Le trait du milieu disparaît */
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Règles uniquement pour les téléphones */
@media (max-width: 768px) {
    /* On affiche le bouton hamburger */
    .hamburger { display: flex; }

    /* Le menu devient un volet déroulant caché par défaut */
    .nav-links {
        position: absolute;
        top: 80px; /* Se place juste sous la barre de nav */
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        /* L'astuce pour cacher le menu : on réduit sa taille à 0 */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    }

    /* La classe qui sera ajoutée quand on clique pour ouvrir le menu */
    .nav-links.active {
        max-height: 300px; /* Ouvre le volet */
        padding: 20px 0;
    }

    .nav-item, .btn-nav {
        margin: 10px 0;
        text-align: center;
    }

    /* Corrections pour que le reste du site soit beau sur mobile */
    .hero-section { flex-direction: column; text-align: center; padding: 50px 5%; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-image { margin-top: 50px; }
    .info-grid { flex-direction: column; }
    .form-row { flex-direction: column; gap: 25px; }
    .showcase-content, .showcase-content.reverse { flex-direction: column; text-align: center; }
    .showcase-text { margin-bottom: 40px; }
    .page-header h1 { font-size: 2.5rem; }
    .showcase-image img { max-height: 400px; }
}
