:root {
    --primary-color: #475569;
    --primary-dark: #334155;
    --primary-light: #64748b;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --white: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

main {
    padding-top: 80px;
}

.page-content {
    padding-top: 80px;
}

.hero-section {
    padding: 80px 0;
    background-color: var(--white);
}

.hero-section.hero-small {
    padding: 60px 0 40px;
    background-color: var(--bg-light);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.content-section {
    padding: 60px 0;
}

.content-section.bg-light {
    background-color: var(--bg-light);
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.content-section img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.content-section img:hover {
    transform: translateY(-4px);
}

.context-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 4px;
}

.context-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.context-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

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

.alert {
    border-radius: 6px;
    padding: 1rem 1.5rem;
}

.alert-info {
    background-color: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

.alert-warning {
    background-color: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.faq-item p {
    margin-bottom: 0.5rem;
}

.cta-section {
    text-align: center;
}

.contact-form,
.contact-form-detailed {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-form .form-control,
.contact-form-detailed .form-control {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form-detailed .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.1);
}

.contact-form-section {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.contact-info-box {
    margin-bottom: 1.5rem;
}

.principle-box {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.list-styled {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.list-styled li {
    margin-bottom: 0.5rem;
}

.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer h4,
.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer .list-unstyled {
    padding: 0;
    margin: 0;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

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

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-banner a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-banner .btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
}

.legal-page h2 {
    margin-top: 2rem;
    font-size: 1.75rem;
}

.legal-page h3 {
    margin-top: 1.5rem;
    font-size: 1.3rem;
}

.legal-page ul {
    margin-bottom: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .navbar-collapse {
        background-color: var(--white);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section.hero-small {
        padding: 40px 0 30px;
    }

    .content-section {
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section img {
        margin-bottom: 1.5rem;
    }

    .cookie-banner .row {
        text-align: center;
    }

    .cookie-banner .btn-light {
        margin-top: 1rem;
        width: 100%;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
