/* Base Styles */
:root {
    --primary-color: #1c2331;
    --primary-light: #2c334a;
    --secondary-color: #f0a830;
    --text-color: #333333;
    --light-text: #666666;
    --white-text: #ffffff;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --blue-card: #5b7bf0;
    --green-card: #4caf50;
    --purple-card: #9c59b6;
    --red-card: #e74c3c;
    --myth-card: #e74c3c;
    --radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 60px 0;
}

/* Buttons */
.btn-primary, 
.btn-story, 
.btn-tool {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f0a830, #e87030);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e87030, #f0a830);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 112, 48, 0.3);
    color: white;
}

.btn-story {
    background-color: #4a89dc;
    color: white;
    font-size: 14px;
    padding: 8px 20px;
}

.btn-story:hover {
    background-color: #3a7bd5;
    color: white;
}

.btn-tool {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
}

.btn-tool:hover {
    background-color: var(--primary-light);
    color: white;
}

/* Header */
.header {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.nav-menu .menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu .menu li a {
    color: white;
    font-weight: 500;
}

.nav-menu .menu li a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu li a {
    display: block;
    padding: 8px 0;
    color: white;
    font-weight: 500;
}

.mobile-menu li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, rgba(28, 35, 49, 0.95), rgba(28, 35, 49, 0.9)), url('https://via.placeholder.com/1920x1080/333333/666666?text=Background');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Section Styles */
h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

/* Investir Simplifié Section */
.investir-simplifie {
    background-color: var(--light-bg);
    padding: 80px 0;
}

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

.info-card {
    border-radius: var(--radius);
    padding: 30px;
    color: white;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blue-card {
    background-color: var(--blue-card);
}

.green-card {
    background-color: var(--green-card);
}

.purple-card {
    background-color: var(--purple-card);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Démystification Section */
.demystification {
    background-color: #3a1a70;
    padding: 80px 0;
    color: white;
}

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

.myth-card {
    background-color: var(--myth-card);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
}

.myth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

/* Choisissez Votre Voie Section */
.choisir-voie {
    background-color: var(--bg-color);
    padding: 80px 0;
}

.professionals-image {
    margin-bottom: 40px;
    border-radius: var(--radius);
    overflow: hidden;
}

.professionals-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.path-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
}

.path-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

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

.path-features {
    margin-top: 20px;
}

.path-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.path-features li.positive i {
    color: var(--green-card);
}

.path-features li.negative i {
    color: var(--red-card);
}

/* Histoires de Succès Section */
.success-stories {
    background-image: linear-gradient(135deg, #ffedec, #ffeaab);
    padding: 80px 0;
}

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

.story-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.story-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-quote {
    font-style: italic;
    margin-bottom: 10px;
}

.story-author {
    font-weight: 600;
    margin-bottom: 20px;
}

/* Learning Space Section */
.learning-space {
    background-color: var(--light-bg);
    padding: 80px 0;
}

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

.tool-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.tool-card p {
    margin-bottom: 20px;
}

/* Community Section */
.community {
    background-image: linear-gradient(135deg, #ffedec, #ffeaab);
    padding: 80px 0;
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.community-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.newsletter-box {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.newsletter-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.newsletter-form input {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
}

.newsletter-form button {
    margin-top: 10px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    padding: 20px;
    text-align: center;
}

.cookie-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btn-accept-cookies, .btn-refuse-cookies {
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-accept-cookies {
    background-color: var(--secondary-color);
    color: white;
}

.btn-accept-cookies:hover {
    background-color: #e09a2b;
}

.btn-refuse-cookies {
    background-color: #f1f1f1;
    color: var(--text-color);
}

.btn-refuse-cookies:hover {
    background-color: #e5e5e5;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    display: none;
}

.success-modal.active {
    display: flex;
}

.success-content {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.success-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.success-content p {
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover {
    color: white;
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Policy Pages */
.policy-page {
    padding: 80px 0;
}

.policy-page h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-content p {
    margin-bottom: 20px;
}

.policy-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-content ul li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .myths-grid {
        grid-template-columns: 1fr;
    }
    
    .community-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .cards-grid,
    .tools-grid,
    .stories-grid,
    .investment-paths {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
}