/* ----------------------------------------------------------------
   FEUILLE DE STYLE PRINCIPALE : /css/style.css
------------------------------------------------------------------- */

:root {
    --primary: #4a51ff;
    --primary-hover: #353bd6;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: #ffffff;
    color: var(--dark);
    line-height: 1.6;
}

/* NAVBAR STYLE NATIVE */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo a span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* DROPDOWN SYSTEM */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: none;
    min-width: 220px;
    margin-top: 15px;
    overflow: hidden;
}

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

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu ul li a {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}

.dropdown-menu ul li a:hover {
    background: var(--light);
    color: var(--primary);
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    padding: 100px 20px;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--gray);
    margin: 0 0 40px 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s;
}

.btn-primary:hover { background: var(--primary-hover); }

.btn-secondary {
    background: #ffffff;
    color: var(--dark);
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.btn-secondary:hover { background: var(--light); }

/* FEATURES SECTION */
.features-section {
    padding: 80px 20px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray);
}

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

.feature-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.feature-card p {
    color: var(--gray);
    margin: 0;
}

/* FOOTER */
.main-footer {
    background: var(--dark);
    color: #ffffff;
    padding: 60px 40px 20px 40px;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 40px;
}

.footer-brand-col { max-width: 400px; }
.footer-logo { font-size: 1.3rem; font-weight: 800; }
.footer-logo span { color: var(--primary); }
.footer-brand-col p { color: #94a3b8; font-size: 0.9rem; margin-top: 15px; }
.footer-links-col h5 { font-size: 1rem; font-weight: 700; margin: 0 0 20px 0; }
.footer-links-col ul { list-style: none; padding: 0; margin: 0; }
.footer-links-col ul li { margin-bottom: 12px; }
.footer-links-col ul li a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; }
.footer-links-col ul li a:hover { color: #ffffff; }
.footer-bottom { text-align: center; padding-top: 20px; color: #64748b; font-size: 0.85rem; }

/* BURGER RESPONSIVE */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background-color: var(--dark); margin: 5px; transition: all 0.3s ease; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .burger { display: block; }
    .hero-section h1 { font-size: 2.2rem; }
    .navbar { padding: 20px; }
}