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

:root {
    --blue-primary: #0033A0;
    --blue-dark: #0D1B60;
    --gold: #FFD700;
    --gray-light: #F4F4F4;
    --gray-dark: #2C3E50;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-dark);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--blue-primary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    color: var(--gray-dark);
    font-weight: 500;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropbtn:hover {
    color: var(--blue-primary);
}

.dropbtn::after {
    content: '▼';
    font-size: 0.7rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1001;
    margin-top: 0.5rem;
}

/* Zone de connexion invisible pour éviter que le menu disparaisse */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--gray-dark);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-content a:hover {
    background: var(--gray-light);
    color: var(--blue-primary);
}

.dropdown-content a strong {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.dropdown-content a span {
    display: block;
    font-size: 0.875rem;
    color: #666;
    font-weight: 400;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
    color: white;
    padding: 120px 0 100px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--blue-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,51,160,0.3);
}

.btn-secondary {
    background: var(--gold);
    color: var(--blue-dark);
}

.btn-secondary:hover {
    background: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,215,0,0.3);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--blue-dark);
    margin-bottom: 3rem;
}

.section-title.light {
    color: white;
}

/* Why Section */
.why-section {
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--blue-dark);
    margin-bottom: 1rem;
}

/* Split Content */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-content.reverse {
    direction: rtl;
}

.split-content.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 2.5rem;
    color: var(--blue-dark);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.checklist, .bullet-list {
    list-style: none;
    margin: 1.5rem 0;
}

.checklist li, .bullet-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Candidats Section */
.candidats-section {
    background: var(--gray-light);
}

.badge-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.badge {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Entreprises Section */
.entreprises-section {
    background: white;
}

.price-card {
    background: white;
    border: 2px solid var(--blue-primary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.price-badge {
    background: var(--gold);
    color: var(--blue-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--blue-primary);
}

.price span {
    font-size: 1.5rem;
    font-weight: 400;
}

.price-normal {
    text-decoration: line-through;
    color: #999;
    margin-bottom: 1.5rem;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.price-features li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Certifications */
.certifications-section {
    background: var(--blue-dark);
    color: white;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

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

.cert-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--blue-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .nav {
        display: none; /* Simple pour MVP, ajouter menu burger plus tard */
    }

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