/* styledef.css */


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

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
}

.logo-icon {
    font-size: 24px;
    margin-right: 12px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.btn-skool {
    background-color: #2563eb;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 2px solid #2563eb;
}

.btn-skool:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    display: none;
    background-color: white;
    border-top: 1px solid #e2e8f0;
    padding: 20px 0;
}

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

.mobile-menu-items {
    list-style: none;
}

.mobile-menu-items li {
    margin-bottom: 16px;
}

.mobile-nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 16px;
}

.btn-skool.mobile {
    display: inline-block;
    margin-top: 8px;
}

/* Footer */
.footer {
    background-color: #1e293b;
    color: #94a3b8;
    padding: 60px 0 40px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}





/* Reset et variables selon la charte graphique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #AF813E; /* Doré mat */
    --primary-dark: #A57C3B;
    --accent-color: #E1B578; /* Sable clair / or doux */
    --text-primary: #1C1C1C; /* Gris anthracite */
    --text-secondary: #666666; /* Gris moyen */
    --bg-light: #F4F4F4; /* Gris très clair (Canva) */
    --bg-white: #ffffff;
    --border-color: #d4d4d4;
    --radius: 12px;
    --cta-color: #6fc669; /* Vert pour les CTA */
    --positive-icon-color: #6E8A5C; /* Vert olive doux */
    --negative-icon-color: #9E3B3B; /* Rouge doux patrimonial */
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem; /* ≈18 px */
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

/* Header */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.nav-logo .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
    margin-right: 8px;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}
    
.btn-skool {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-skool:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    color: var(--text-primary);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #EFEFEF 100%);
    padding: 60px 0 100px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

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

.category-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: 2.3rem; /* ≈37 px */
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.section h2 {
    font-size: 1.7rem; /* ≈27 px */
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 60px;
    text-align: center;
}
    
/* Definition Section */
.definition-section {
    background: var(--bg-white);
}

.definition-famille .lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--accent-color);
    padding: 24px;
    border-radius: var(--radius);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-color);
}

.highlight-box p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
}

/* How it works */
.how-it-works {
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid var(--border-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pros & Cons */
.pros-cons {
    background: var(--bg-white);
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}
    
.pros-section h2,
.cons-section h2 {
    text-align: left;
    margin-bottom: 32px;
    font-size: 1.7rem;
    font-weight: 600;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-icon.positive {
    color: var(--positive-icon-color);
}

.feature-icon.negative {
    color: var(--negative-icon-color);
}

.feature-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Target Profile */
.target-profile {
    background: var(--bg-light);
}

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

@media (min-width: 1024px) {
    .profile-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.profile-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.profile-item h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.profile-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Example Section */
.example-section {
    background: var(--bg-white);
}

.example-card {
    background: var(--accent-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 650px;
    margin: 0 auto;
}

.example-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.example-header h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.example-header p {
    color: var(--text-primary);
    font-size: 1.15rem;
}

.calculation-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.calc-step {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-align: center;
    width: 100%;
}

.calc-step.final {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.calc-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.calc-value {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.calc-detail {
    font-size: 1rem;
    opacity: 0.8;
}

.calc-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}
    
.calc-step.final .calc-label,
.calc-step.final .calc-detail {
    color: white;
}

/* Conclusion */
.conclusion-section {
    background: var(--bg-light);
}

.conclusion-content {
    text-align: center;
}

.conclusion-main {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.conclusion-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 40px;
    text-align: left;
}

.conclusion-highlight p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.next-steps {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.next-steps-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.next-steps p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-1 {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: var(--cta-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.btn-2 {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--cta-color);
    transition: all 0.2s ease;
}

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

/* Responsive adaptations */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
@media (max-width: 768px) {
    /* ... (Autres règles existantes pour le mobile) ... */

    /* NOUVELLE RÈGLE : Masquer le CTA de la barre de navigation PC */
    .navbar-actions .btn-skool {
        display: none; 
    }
}
    
    .nav-menu {
        display: none;
    }
    
    @media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Règle essentielle pour basculer en mode mobile */
    .navbar-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex; /* Doit être 'flex' pour s'afficher */
    }
    
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .example-card {
        padding: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-box {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-box .highlight-icon,
    .conclusion-highlight .highlight-icon {
        margin: 0 auto 8px;
    }
}

/* Styles spécifiques aux images si elles sont utilisées */
.scpi-page img,
.reits-page img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    margin: 32px auto; /* Centrer l'image */
}