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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #050a15;
    color: white;
    overflow-x: hidden;
    background: radial-gradient(circle at top, #0b1a3a, #050a15);
    line-height: 1.6;
}


/* --- STYLE PRO LANG-SWITCH --- */

.lang-switch {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05); /* Fond subtil */
    padding: 5px 15px;
    border-radius: 50px; /* Forme pilule */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    gap: 10px;
}

.lang-switch button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.5;
    transition: all 0.3s ease;
    padding: 5px 8px;
    border-radius: 5px;
}

/* Effet au survol */
.lang-switch button:hover {
    opacity: 1;
    color: #00d2ff;
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.5);
}

/* Style pour la barre de séparation "|" */
.lang-switch span {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

/* Optionnel : Style pour la langue active (si tu ajoutes une classe 'active' en JS) */
.lang-switch button.active {
    opacity: 1;
    color: #00d2ff;
    background: rgba(0, 210, 255, 0.1);
}


/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 10, 21, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container img {
    height: 40px;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: 0.3s;
}

.nav-link:hover {
    opacity: 1;
    color: #00d2ff;
}

/* HERO SECTION */
.hero {
    padding: 180px 10% 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 900px; /* RÉPARÉ : Était à 100px avant */
    margin-bottom: 50px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(135deg, #003a8c, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.hero-image {
    width: 100%;
    max-width: 900px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 58, 140, 0.2);
}

/* SERVICES GRID */
.services-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: white;
    transition: 0.4s ease;
}

.service-card:hover {
    background: rgba(0, 210, 255, 0.05);
    border-color: #00d2ff;
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* PRICING */
.pricing {
    padding: 80px 10%;
    text-align: center;
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border-radius: 20px;
    width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-card.popular {
    border-color: #00d2ff;
    background: rgba(0, 210, 255, 0.05);
    transform: scale(1.05);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
    color: #00d2ff;
}

.price-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.price-card li {
    margin-bottom: 10px;
    opacity: 0.8;
}

/* PORTFOLIO */
.portfolio {
    padding: 80px 10%;
    text-align: center;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.project img {
    width: 350px;
    border-radius: 15px;
    transition: 0.3s;
}

.project img:hover {
    transform: scale(1.02);
}

/* BOUTONS */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #003a8c, #00d2ff);
    color: white;
    text-decoration: none;
    padding: 15px 15px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn.small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.3);
}

/* FOOTER */
footer {
    padding: 80px 10% 40px;
    background: #02050a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 30px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }
    nav {
        display: none; /* Cache le menu sur mobile (il faudrait un menu burger) */
    }
    .hero h1 {
        font-size: 36px;
    }
    .price-card.popular {
        transform: none;
    }
}



/* --- DESIGN PREMIUM POUR LES PAGES SERVICES --- */

.pack-page {
    max-width: 750px;
    margin: 150px auto 100px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 
                inset 0 0 20px rgba(255, 255, 255, 0.05);
    text-align: center;
}

.pack-page h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.pack-page p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 30px;
}

.pack-page h2 {
    color: #00d2ff;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 3px;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Liste des avantages stylisée */
.pack-page ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pack-page li {
    padding: 12px 20px;
    background: rgba(0, 210, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 210, 255, 0.15);
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- FORMULAIRE PRO IMMÉDIAT --- */

.pack-page form {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
    margin-top: 30px;
}

.pack-page textarea, 
.pack-page button {
    grid-column: span 2; 
}

/* Style des inputs/select/textarea (Bleu Pro direct) */
.pack-page input,
.pack-page select,
.pack-page textarea {
    background: rgba(0, 210, 255, 0.08) !important;
    border: 1.5px solid rgba(0, 210, 255, 0.3) !important;
    color: #00d2ff !important; /* Texte bleu direct */
    padding: 18px;
    border-radius: 15px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    width: 100%;
    transition: all 0.3s ease;
}

/* Placeholders bleutés */
.pack-page input::placeholder,
.pack-page textarea::placeholder {
    color: rgba(0, 210, 255, 0.4);
}

/* Fix spécifique pour le menu déroulant (Select) */
.pack-page select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300d2ff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
}

/* Fond des options pour éviter le blanc du navigateur */
.pack-page select option {
    background-color: #050a15;
    color: #00d2ff;
}

/* Hover & Focus (Encore plus de lumière) */
.pack-page input:hover, 
.pack-page select:hover, 
.pack-page textarea:hover {
    border-color: #00d2ff !important;
    background: rgba(0, 210, 255, 0.12) !important;
}

.pack-page input:focus, 
.pack-page select:focus, 
.pack-page textarea:focus {
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    background: rgba(0, 210, 255, 0.15) !important;
}

/* Bouton Premium */
.pack-page button {
    background: linear-gradient(135deg, #003a8c, #00d2ff);
    color: white;
    padding: 20px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(0, 58, 140, 0.4);
}

.pack-page button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.5);
    filter: brightness(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .pack-page { padding: 30px; margin: 100px 20px; width: auto; }
    .pack-page h1 { font-size: 2.2rem; }
    .pack-page form { grid-template-columns: 1fr; }
    .pack-page textarea, .pack-page button { grid-column: span 1; }
}

/* FOOTER FIX FINAL */
footer {
    background-color: #03070d;
    padding: 60px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


.problems {
padding: 60px 10%;
text-align: center;
}

.problems ul {
list-style: none;
margin-top: 20px;
}

.problems li {
margin: 10px 0;
opacity: 0.8;
}

.cta-final {
padding: 80px 10%;
text-align: center;
}

.cta-final h2 {
margin-bottom: 20px;
}


.footer-logo img { height: 30px; }

.copyright { font-size: 13px; opacity: 0.5; }

