:root {
    --primary-color: #1A237E; /* Dark Blue */
    --secondary-color: #212121; /* Dark Gray */
    --accent-color: #4FC3F7; /* Light Blue */
    --accent-color-dark: #039be5;
    --bg-light: #FAFAFA;
    --bg-dark: #121212;
    --text-color: #212121;
    --text-muted: #6c757d;
    --white-color: #FFFFFF;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.08);

    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Merriweather', serif;

    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 80px;

    --header-height: 80px;
    --border-radius: 8px;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    background-color: var(--white-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: var(--spacing-md); }
ul, ol { margin-bottom: var(--spacing-md); padding-left: var(--spacing-md); }
li { margin-bottom: var(--spacing-sm); }
a { color: var(--accent-color-dark); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--primary-color); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--border-radius); }
blockquote {
    font-style: italic;
    color: var(--text-muted);
    border-left: 4px solid var(--accent-color);
    padding-left: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    font-size: 1.1rem;
}

/* --- UTILITIES --- */
.bg-light { background-color: var(--bg-light); }
.section-padded { padding: var(--spacing-xxl) 0; }
.section-header { text-align: center; margin-bottom: var(--spacing-xl); }
.section-title { margin-bottom: var(--spacing-sm); }
.section-intro { max-width: 700px; margin: 0 auto; color: var(--text-muted); font-size: 1.1rem; }
.mt-large { margin-top: var(--spacing-xl); }

/* --- HEADER --- */
.main-header {
    background-color: var(--white-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}
.nav-links a {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-color);
    padding: var(--spacing-sm) 0;
    position: relative;
    font-size: 0.95rem;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a.active {
    color: var(--primary-color);
}

/* Mobile Nav */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.mobile-nav-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: calc(85vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-md);
    background-size: cover;
    background-position: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 35, 126, 0.7);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.hero-title {
    color: var(--white-color);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    opacity: 0.9;
    font-family: var(--font-primary);
}

.hero-simple {
    background-color: var(--bg-light);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--border-color);
}
.hero-simple .page-title { margin-bottom: 0.5rem; }
.hero-simple .page-subtitle { color: var(--text-muted); font-size: 1.2rem; }

/* --- BREADCRUMBS --- */
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    font-family: var(--font-primary);
}
.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    margin: 0 var(--spacing-sm);
    color: var(--text-muted);
}
.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item a:hover { color: var(--primary-color); }
.breadcrumb-item.active { color: var(--text-color); font-weight: 600; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-primary:hover {
    background-color: #151c61;
}
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-primary-light {
    background-color: var(--white-color);
    color: var(--primary-color);
}
.btn-primary-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.text-link {
    font-family: var(--font-primary);
    color: var(--accent-color-dark);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}
.text-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* --- HOME PAGE SECTIONS --- */
.grid-layout-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}
.text-card {
    background: var(--white-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}
.text-card h3 {
    margin-top: 0;
}

.article-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}
.article-preview-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}
.article-preview-card .card-content {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.article-preview-card h3 {
    margin-top: 0;
    flex-grow: 1;
}

.about-intro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}
.about-intro-image img {
    box-shadow: 0 15px 30px var(--shadow-color);
}

.cta-section {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}
.cta-section h2 { color: var(--white-color); }
.cta-section p { max-width: 600px; margin: 0 auto var(--spacing-lg); opacity: 0.9; }

/* --- A-PROPOS PAGE --- */
.content-page { max-width: 900px; }
.content-image-container { margin-bottom: var(--spacing-lg); }
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}
.principle-card {
    text-align: center;
}
.principle-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}
.principle-icon svg {
    width: 30px;
    height: 30px;
}

/* --- ARTICLE PAGES --- */
.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}
.article-meta {
    font-family: var(--font-primary);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}
.lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}
.article-image { margin: var(--spacing-lg) 0; }
.article-image figcaption {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--spacing-sm);
}
.article-quote {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    margin: var(--spacing-xl) auto;
    max-width: 600px;
    color: var(--primary-color);
    border-left: none;
}
.article-action {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}
.sidebar-widget {
    background-color: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
}
.sidebar-widget h4 { margin-top: 0; }
.sidebar-widget ul { list-style: none; padding: 0; }
.sidebar-widget ul li a { display: block; padding: var(--spacing-sm) 0; border-bottom: 1px solid var(--border-color); }
.sidebar-widget ul li:last-child a { border-bottom: none; }

/* --- CONTACT PAGE --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
}
.form-group {
    margin-bottom: var(--spacing-md);
}
.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}
.contact-info-container { padding-left: var(--spacing-lg); }
.contact-details { list-style: none; padding: 0; }
.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}
.contact-details svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-right: var(--spacing-md);
    color: var(--primary-color);
    margin-top: 2px;
}
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 0;
    overflow: hidden;
    margin: var(--spacing-xxl) 0 0 0;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- THANK YOU PAGE --- */
.thank-you-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-md);
}
.thank-you-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.thank-you-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}
.thank-you-section h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 20px; }
.thank-you-section p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 30px; }

/* --- FOOTER --- */
.main-footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-xl) 0 0;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
}
.footer-column h4 {
    color: var(--white-color);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column ul a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    padding: var(--spacing-xs) 0;
}
.footer-column ul a:hover {
    color: var(--white-color);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) 0;
    text-align: center;
    font-size: 0.85rem;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: var(--spacing-md);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}
.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}
.cookie-banner p a {
    color: var(--accent-color);
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}
.cookie-buttons .btn { padding: 8px 16px; }

/* --- SCROLL TO TOP --- */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}
.scroll-to-top.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}
.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* --- RESPONSIVE --- */
@media (min-width: 1024px) {
    .article-layout {
        grid-template-columns: 3fr 1fr;
    }
}

@media (max-width: 1023px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .contact-info-container {
        padding-left: 0;
        margin-top: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background-color: var(--white-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-links.open {
        transform: translateX(0);
    }
    .mobile-nav-toggle {
        display: block;
    }
    .main-header.nav-open .mobile-nav-toggle .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .main-header.nav-open .mobile-nav-toggle .bar:nth-child(2) {
        opacity: 0;
    }
    .main-header.nav-open .mobile-nav-toggle .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .about-intro-section {
        grid-template-columns: 1fr;
    }
    .about-intro-image {
        order: -1;
        margin-bottom: var(--spacing-lg);
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .map-container {
        height: 350px;
    }
}