:root {
    --bg-primary: #faf8f5;
    --bg-secondary: #f3f1ed;
    --text-primary: #2a2a2a;
    --text-secondary: #666666;
    --accent-primary: #ff6b35;
    --accent-secondary: #9d9d9d;
    --border-color: #e5e5e5;
    --radius: 4px;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.01) 2px, rgba(0,0,0,.01) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,.01) 2px, rgba(0,0,0,.01) 4px);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
}

h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

.header {
    background-color: var(--bg-primary);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1.2rem 0;
}

.navbar-brand {
    padding: 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    margin: 0 1rem;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover::before {
    transform: scaleX(1);
}

.btn-contact {
    background-color: var(--accent-primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-contact:hover {
    background-color: #e55a24;
    color: white;
}

.btn-primary-large,
.btn-secondary-large,
.btn-secondary-small,
.btn-primary-large {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary-large {
    background-color: var(--accent-primary);
    color: white;
    border: 2px solid var(--accent-primary);
}

.btn-primary-large:hover {
    background-color: #e55a24;
    border-color: #e55a24;
    color: white;
}

.btn-secondary-small {
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

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

main {
    min-height: calc(100vh - 200px);
}

.hero {
    background-color: var(--bg-primary);
    padding: 4rem 0;
    border-bottom: 2px solid var(--border-color);
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 1.5rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding: 0 1rem;
    }
}

.hero-content {
    display: flex;
    align-items: center;
}

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-image {
    margin-top: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border: 8px solid var(--text-primary);
    border-radius: 2px;
    box-shadow: 12px 12px 0 rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        margin-top: 2rem;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
}

.modules-section {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
}

.module-card {
    margin-bottom: 2rem;
}

.card-inner {
    background-color: var(--bg-primary);
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    position: relative;
    transition: all 0.3s ease;
}

.card-inner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card-inner:hover {
    transform: scale(1.02);
}

.card-inner:hover::before {
    opacity: 1;
}

.card-inner h3 {
    margin-top: 0;
    color: var(--text-primary);
}

.card-inner p {
    font-size: 0.95rem;
}

.checks-section {
    padding: 4rem 0;
    background-color: var(--bg-primary);
}

.checks-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.checks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .checks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.check-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.check-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 1px;
}

.check-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 1px;
}

.check-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--accent-primary);
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
}

.check-content h3 {
    margin-top: 0;
    color: var(--text-primary);
}

.check-content p {
    font-size: 0.95rem;
}

.editorial-block {
    padding: 4rem 0;
    background-color: var(--bg-primary);
}

.editorial-block.alt {
    background-color: var(--bg-secondary);
}

.editorial-block img {
    width: 100%;
    height: auto;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.editorial-block img:hover {
    border-color: var(--accent-primary);
    transform: scale(1.01);
}

.editorial-block h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.editorial-block p {
    font-size: 0.95rem;
}

.page-header {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
    margin: 0;
    font-size: 2rem;
}

.faq-section {
    padding: 4rem 0;
}

.faq-panel {
    background-color: var(--bg-secondary);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    position: relative;
}

.faq-panel::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 6px;
    height: 6px;
    background-color: var(--accent-primary);
    border-radius: 1px;
}

.faq-panel h2 {
    margin-top: 0;
    padding-left: 1rem;
    font-size: 1.3rem;
}

.faq-panel p {
    font-size: 0.95rem;
}

.faq-panel ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-panel li {
    margin-bottom: 0.5rem;
}

.contact-section {
    padding: 4rem 0;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-group textarea {
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.4rem;
    cursor: pointer;
    accent-color: var(--accent-primary);
}

.form-checkbox label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    font-size: 0.95rem;
}

.form-checkbox a {
    color: var(--accent-primary);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info h3 {
    margin-top: 0;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--accent-primary);
}

.thank-you-section {
    padding: 6rem 0;
    text-align: center;
    background-color: var(--bg-secondary);
}

.thank-you-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.legal-section {
    padding: 4rem 0;
}

.legal-section h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-section h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.legal-section a {
    color: var(--accent-primary);
}

.footer {
    background-color: var(--bg-primary);
    margin-top: 4rem;
}

.footer-divider {
    height: 2px;
    background-color: var(--border-color);
}

.footer-content {
    padding: 3rem 0;
}

.footer-column {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-column {
        text-align: center;
    }
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--accent-primary);
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-column a {
    color: var(--accent-primary);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border-top: 2px solid var(--border-color);
    padding: 2rem;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.cookie-banner.d-none {
    display: none;
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-banner .btn-primary {
    background-color: var(--accent-primary);
    color: white;
}

.cookie-banner .btn-primary:hover {
    background-color: #e55a24;
}

.cookie-banner .btn-secondary {
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-text h1 {
        font-size: 1.4rem;
    }
    
    .modules-section,
    .checks-section,
    .editorial-block {
        padding: 2rem 0;
    }
    
    .footer-content {
        padding: 2rem 0;
    }
    
    .cookie-banner {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.4rem;
    }
    
    h2 {
        font-size: 1.1rem;
    }
    
    .hero-text h1 {
        font-size: 1.2rem;
    }
    
    .checks-grid {
        gap: 1rem;
    }
    
    .check-card {
        padding: 1.5rem;
    }
    
    .btn-primary-large,
    .btn-contact {
        width: 100%;
        text-align: center;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-link {
        margin: 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

.course-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    border-left: 3px solid var(--accent-primary);
    padding-left: 1.25rem;
}

.price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.price-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
