/* Variáveis CSS */
:root {
    --primary-color: #3B102D; /* Roxo */
    --secondary-color: #C8A44C; /* Dourado */
    --light-color: #FFFFFF; /* Branco */
    --light-gray-color: #F6F4F2; /* Cinza-claro */
    --accent-color: #9E7BA5; /* Lilás */
    --text-color: #333333;
    --text-light-color: #666666;
    --border-color: #dddddd;

    --font-cinzel: 'Cinzel', serif;
    --font-spartan: 'League Spartan', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-inter);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray-color);
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-cinzel);
    color: var(--primary-color);
    line-height: 1.2;
}

/* Layout Comum */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-family: var(--font-spartan);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

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

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

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

.btn-tertiary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Header */
.main-header {
    background-color: var(--light-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-cinzel);
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.main-nav .nav-menu {
    display: flex;
    gap: 30px;
}

.main-nav .nav-menu a {
    font-family: var(--font-spartan);
    font-weight: 400;
    color: var(--primary-color);
    padding: 5px 0;
    position: relative;
}

.main-nav .nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav .nav-menu a:hover::after,
.main-nav .nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Esconder por padrão em desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section (Homepage) */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--light-color);
    text-align: center;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--light-color);
}

.hero-section p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,0.9);
}

/* Page Hero (Páginas Internas) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--light-color);
    text-align: center;
    padding: 100px 0 50px;
}

.page-hero h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--light-color);
}

.page-hero p {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

/* Content Sections */
.content-section {
    background-color: var(--light-color);
    padding: 60px 0;
}

.content-section h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

.content-block {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.content-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.content-block h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-block p {
    margin-bottom: 15px;
    color: var(--text-light-color);
}

.content-block ul {
    margin-left: 20px;
    list-style: disc;
    color: var(--text-light-color);
}

.content-block ul li {
    margin-bottom: 8px;
}

/* Grid de Cartões */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background-color: var(--light-gray-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card h3 {
    font-family: var(--font-spartan);
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card p {
    font-size: 0.95em;
    margin-bottom: 15px;
    color: var(--text-light-color);
}

.card ul {
    list-style: none;
    margin-left: 0;
    margin-bottom: 15px;
}

.card ul li {
    margin-bottom: 5px;
    font-size: 0.9em;
    color: var(--text-light-color);
}

/* Highlights Section (Homepage) */
.highlights-section {
    background-color: var(--light-gray-color);
    padding: 60px 0;
    text-align: center;
}

.highlights-section h2 {
    margin-bottom: 50px;
}

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

.highlight-item {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.highlight-item h3 {
    font-family: var(--font-spartan);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.highlight-item p {
    margin-bottom: 20px;
    color: var(--text-light-color);
}

/* Agenda Section */
.agenda-section {
    background-color: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

.agenda-section h2 {
    margin-bottom: 50px;
}

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

.agenda-card {
    background-color: var(--light-gray-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agenda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.agenda-card h3 {
    font-family: var(--font-spartan);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.agenda-card p {
    font-size: 0.95em;
    margin-bottom: 10px;
    color: var(--text-light-color);
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--light-color);
    text-align: center;
    padding: 80px 0;
}

.testimonials-section h2 {
    color: var(--light-color);
    margin-bottom: 50px;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    /* Adicionar JS para funcionalidade de slider */
}

.testimonial-item {
    background-color: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--light-color);
}

.testimonial-item span {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Blog/Resources Section */
.blog-resources-section {
    background-color: var(--light-gray-color);
    padding: 60px 0;
    text-align: center;
}

.blog-resources-section h2 {
    margin-bottom: 50px;
}

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

.resource-item {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.resource-item h3 {
    font-family: var(--font-spartan);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.resource-item p {
    font-size: 0.95em;
    margin-bottom: 15px;
    color: var(--text-light-color);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 80px 0;
}

.newsletter-section h2 {
    color: var(--light-color);
    margin-bottom: 20px;
}

.newsletter-section p {
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,0.9);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 12px 20px;
    border-radius: 5px;
    border: none;
    font-family: var(--font-inter);
    font-size: 1em;
}

.newsletter-form input[type="email"]:focus {
    outline: 2px solid var(--secondary-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 20px;
}

.contact-section p {
    margin-bottom: 40px;
    color: var(--text-light-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-inter);
    font-size: 1em;
    width: 100%;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: 2px solid var(--secondary-color);
    border-color: var(--secondary-color);
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 50px 0 20px;
    font-size: 0.9em;
}

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

.main-footer h3 {
    font-family: var(--font-spartan);
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

.main-footer ul a:hover {
    color: var(--light-color);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-family: var(--font-cinzel);
    font-size: 1.2em;
    font-weight: 700;
}

.footer-social a {
    display: inline-block;
    margin-right: 15px;
}

.footer-social img {
    height: 30px;
    width: 30px;
    transition: transform 0.3s ease;
}

.footer-social img:hover {
    transform: scale(1.1);
}

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

/* Responsividade */
@media (max-width: 768px) {
    .main-nav .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--light-color);
        position: absolute;
        top: 70px; /* Ajustar conforme a altura do header */
        left: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .main-nav .nav-menu.active {
        display: flex;
    }

    .main-nav .nav-menu li {
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid var(--light-gray-color);
    }

    .main-nav .nav-menu li:last-child {
        border-bottom: none;
    }

    .main-nav .nav-menu a {
        color: var(--primary-color);
        font-size: 1.1em;
    }

    .menu-toggle {
        display: block;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .page-hero h1 {
        font-size: 2em;
    }

    .content-section h2 {
        font-size: 2em;
    }

    .highlight-grid, .agenda-grid, .resource-grid, .card-grid, .main-footer .footer-content {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
    }

    .map-placeholder iframe {
        height: 300px;
    }
}

/* Animações leves em hover */
.btn:hover {
    transform: translateY(-2px);
}

.card:hover, .highlight-item:hover, .agenda-card:hover, .resource-item:hover {
    transform: translateY(-5px);
}

/* Acessibilidade */
:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 3px;
}

/* Placeholder para imagens */
.hero-section {
    background-image: url('../img/hero-bg.jpg'); /* Imagem de fundo para o hero */
    background-size: cover;
    background-position: center;
}

.page-hero {
    background-image: url('../img/page-hero-bg.jpg'); /* Imagem de fundo para o hero das páginas internas */
    background-size: cover;
    background-position: center;
}

/* Estilos específicos para a página de contacto */
.contact-info ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 400px;
    margin: 20px auto;
}

.contact-info ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--text-color);
}

.contact-info ul li strong {
    color: var(--primary-color);
}

.contact-form-section {
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--primary-color);
}

.map-placeholder {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.map-placeholder iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

.map-note {
    margin-top: 15px;
    font-style: italic;
    color: var(--text-light-color);
}

/* Estilos para cards de eventos */
.event-card {
    text-align: left;
}

.event-card .btn {
    margin-top: 15px;
}

.event-date, .event-location {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.event-description {
    font-size: 0.9em;
    color: var(--text-light-color);
}

.past-event {
    opacity: 0.7;
    filter: grayscale(50%);
}

/* Estilos para cards de recursos */
.resource-card {
    text-align: left;
}

.resource-card .btn {
    margin-top: 15px;
}

/* Testimonial Slider (placeholder) */
.testimonial-slider {
    /* Estilos básicos, a funcionalidade de slider será via JS */
    overflow: hidden;
    position: relative;
}

.testimonial-item {
    min-width: 100%; /* Para que cada item ocupe a largura total do slider */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-item p {
    max-width: 600px;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}


