/* --- Variables --- */
:root {
    --primary-color: #0046ff;
    --secondary-color: #00d4ff;
    --dark-bg: #0a0b10;
    --card-bg: #161b22;
    --text-white: #ffffff;
    --text-gray: #a0aec0;
    --transition: all 0.3s ease;
}

/* --- Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Bannière & Header --- */
.top-banner { width: 100%; overflow: hidden; line-height: 0; }
.top-banner img { width: 100%; height: auto; object-fit: cover; }

header {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 11, 16, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.lang-switch a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}
.lang-switch a.active { color: var(--secondary-color); }

/* --- Sections Global --- */
section { padding: 80px 5%; text-align: center; }

h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

/* --- Hero --- */
#hero { padding: 100px 5% 60px; background: radial-gradient(circle at top, #1a2332 0%, #0a0b10 70%); }
h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
}

/* --- Expertise Card --- */
#expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #30363d;
    text-align: left;
}

/* --- Vidéo (Correction Centrage) --- */
.video-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto; /* Centre le bloc */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
video { width: 100% !important; height: auto !important; display: block; }

/* --- Typeform --- */
#typeform-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    min-height: 500px;
}

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

/* --- Mobile --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .logo { height: 50px; }
    section { padding: 50px 5%; }
}

/* --- Packs --- */
#packs {
    padding: 80px 5%;
    text-align: center;
}

.packs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pack-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #30363d;
    text-align: left;
    transition: var(--transition);
    position: relative;
}

.pack-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.pack-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.pack-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.pack-card ul {
    padding-left: 18px;
}

.pack-card li {
    margin-bottom: 10px;
    color: var(--text-white);
}

/* --- Pack mis en avant --- */
.pack-card.highlight {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 40px rgba(0, 70, 255, 0.25);
}

.pack-card.highlight::before {
    content: "RECOMMANDÉ";
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 5px 14px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 20px;
}

