/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #8B5A3C;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8B5A3C;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #8B5A3C;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f6f3 0%, #e8ddd4 100%);
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    color: #2c1810;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #8B5A3C;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(139, 90, 60, 0.1);
    color: #8B5A3C;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(139, 90, 60, 0.2);
}

.hero-description p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #8B5A3C;
    color: white;
}

.btn-primary:hover {
    background: #6d4530;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 90, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #8B5A3C;
    border: 2px solid #8B5A3C;
}

.btn-secondary:hover {
    background: #8B5A3C;
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.hero-image {
    position: relative;
}

.hero-img-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 90, 60, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-img-container:hover .hero-img {
    transform: scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid #8B5A3C;
    border-bottom: 2px solid #8B5A3C;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    color: #2c1810;
    margin-bottom: 1rem;
}

.section-line {
    width: 80px;
    height: 4px;
    background: #8B5A3C;
    margin: 0 auto 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* História Section */
.historia {
    padding: 100px 0;
    background: white;
}

.historia-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.historia-paragraph {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: justify;
}

.historia-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Formações Section */
.formacoes {
    padding: 100px 0;
    background: #f8f6f3;
}

.formacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.formacao-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.formacao-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.certificate-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.certificate-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 90, 60, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.formacao-card:hover .certificate-overlay {
    opacity: 1;
}

.formacao-card:hover .certificate-img {
    transform: scale(1.1);
}

.view-certificate {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 25px;
}

.formacao-content {
    padding: 2rem;
    text-align: center;
}

.formacao-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.formacao-title {
    font-size: 1.3rem;
    color: #2c1810;
    margin-bottom: 0.5rem;
}

.formacao-institution {
    color: #8B5A3C;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.formacao-year {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.formacao-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Modal para Certificados */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #666;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-modal:hover {
    color: #8B5A3C;
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    color: #2c1810;
    margin: 0;
}

.modal-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.modal-certificate-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.certificate-details h3 {
    color: #2c1810;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.certificate-details p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

.certificate-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Eventos Preview Section */
.eventos-preview {
    padding: 100px 0;
    background: white;
}

.eventos-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.evento-highlight {
    background: #f8f6f3;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(139, 90, 60, 0.1);
}

.evento-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.evento-year {
    background: #8B5A3C;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.evento-highlight h3 {
    color: #2c1810;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.evento-highlight p {
    color: #666;
    line-height: 1.6;
}

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Melhorias gerais */
.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Animações suaves */
* {
    transition: all 0.3s ease;
}

/* Melhor contraste para acessibilidade */
.nav-link.active {
    color: #8B5A3C;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Eventos Page Styles */
.eventos-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, #f8f6f3 0%, #e8ddd4 100%);
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.eventos-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.eventos-hero-title {
    font-size: 3.5rem;
    color: #2c1810;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.eventos-hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.eventos-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #8B5A3C;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Timeline Styles for Events Page */
.eventos-timeline {
    padding: 100px 0;
    background: white;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #8B5A3C;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    background: #8B5A3C;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    z-index: 2;
    font-size: 0.9rem;
}

.timeline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content {
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.view-more {
    display: inline-block;
    margin-top: 1rem;
    color: #8B5A3C;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 2px solid #8B5A3C;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.timeline-content:hover .view-more {
    background: #8B5A3C;
    color: white;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-template-columns: 1fr 1fr;
}

.timeline-item:nth-child(even) .timeline-image {
    order: 2;
}

.timeline-item:nth-child(even) .timeline-text {
    order: 1;
}

.timeline-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.timeline-image:hover img {
    transform: scale(1.05);
}

.timeline-title {
    font-size: 1.5rem;
    color: #2c1810;
    margin-bottom: 1rem;
}

.timeline-description {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}
/* Event Modal Styles */
.event-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.event-modal-content {
    background-color: white;
    margin: 1% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 1400px;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.close-event-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #666;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-event-modal:hover {
    color: #8B5A3C;
}

.event-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.event-modal-header h2 {
    color: #2c1810;
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
}

.event-modal-header p {
    color: #8B5A3C;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
}

.event-modal-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    aspect-ratio: 16/10;
}

.gallery-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.event-details {
    background: #f8f6f3;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 1rem;
}

.event-details h3 {
    color: #2c1810;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-align: center;
}

.event-details p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

.event-info {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.event-info p {
    margin-bottom: 0;
    font-weight: 500;
    color: #8B5A3C;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Fullscreen Image Modal */
.fullscreen-image-modal {
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fullscreen-image-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-fullscreen {
    position: absolute;
    right: -50px;
    top: -50px;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-fullscreen:hover {
    background: rgba(139, 90, 60, 0.8);
    transform: scale(1.1);
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Responsive Design para Event Modal */
@media (max-width: 1200px) {
    .event-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .event-modal-content {
        width: 95%;
        margin: 2% auto;
    }
}

@media (max-width: 768px) {
    .event-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .event-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .event-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .event-modal-body {
        padding: 1.5rem;
    }
    
    .event-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-image-container {
        aspect-ratio: 16/9;
    }
    
    .event-details {
        padding: 1.5rem;
    }
    
    .event-details h3 {
        font-size: 1.5rem;
    }
    
    .event-info {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .close-fullscreen {
        right: -30px;
        top: -30px;
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .event-modal-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 10px;
    }
    
    .event-modal-header {
        padding: 1rem;
    }
    
    .event-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .event-modal-body {
        padding: 1rem;
    }
    
    .event-details {
        padding: 1rem;
    }
    
    .event-details h3 {
        font-size: 1.3rem;
    }
    
    .event-details p {
        font-size: 1rem;
    }
    
    .gallery-image-container {
        aspect-ratio: 4/3;
    }
}


/* Próximos Eventos */
.proximos-eventos {
    padding: 100px 0;
    background: #f8f6f3;
}

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

.evento-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.evento-date {
    text-align: center;
    margin-bottom: 1.5rem;
}

.evento-day {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #8B5A3C;
    font-family: 'Playfair Display', serif;
}

.evento-month {
    display: block;
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    letter-spacing: 1px;
}

.evento-info {
    margin-bottom: 2rem;
}

.evento-title {
    font-size: 1.3rem;
    color: #2c1810;
    margin-bottom: 1rem;
}

.evento-location,
.evento-time {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.evento-description {
    color: #666;
    line-height: 1.6;
    margin-top: 1rem;
}

.evento-actions {
    text-align: center;
}

/* Call to Action */
.eventos-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #8B5A3C 0%, #6d4530 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.eventos-cta .btn-primary {
    background: white;
    color: #8B5A3C;
}

.eventos-cta .btn-primary:hover {
    background: #f8f6f3;
    transform: translateY(-2px);
}

/* Contato Section */
.contato {
    padding: 100px 0;
    background: #f8f6f3;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contato-info-title {
    font-size: 1.8rem;
    color: #2c1810;
    margin-bottom: 2rem;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contato-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.contato-details h4 {
    color: #8B5A3C;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contato-details p {
    color: #666;
}

.contato-social {
    margin-top: 2rem;
}

.contato-social h4 {
    color: #8B5A3C;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #8B5A3C;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #8B5A3C;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #8B5A3C;
    color: white;
}

/* Form Styles */
.contato-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B5A3C;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #2c1810;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    color: #8B5A3C;
}

.footer-logo p {
    margin-top: 0.5rem;
    color: #ccc;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8B5A3C;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-img {
        height: 400px;
    }
    
    .eventos-hero-title {
        font-size: 2.5rem;
    }
    
    .eventos-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 20px;
        transform: none;
    }
    
    .timeline-content {
        grid-template-columns: 1fr;
        margin-left: 60px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-item:nth-child(even) .timeline-image {
        order: 1;
    }
    
    .timeline-item:nth-child(even) .timeline-text {
        order: 2;
    }
    
    .eventos-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .historia-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .formacoes-grid {
        grid-template-columns: 1fr;
    }

    .eventos-highlights {
        grid-template-columns: 1fr;
    }
    
    .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .certificate-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .eventos-hero-title {
        font-size: 2rem;
    }
    
    .eventos-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .timeline-content {
        margin-left: 40px;
        padding: 1.5rem;
    }
    
    .evento-card {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .formacao-card {
        margin: 0 10px;
    }
    
    .formacao-content {
        padding: 1.5rem;
    }
    
    .contato-form {
        padding: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .event-modal-body {
        padding: 1.5rem;
    }
    
    .event-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-image {
        height: 150px;
    }
    
    .certificate-actions {
        flex-direction: column;
    }
}