/* ===== RESET E VARIÁVEIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5530;
    --secondary-color: #4caf5c;
    --accent-color: #45a049;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== TIPOGRAFIA ===== */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-top: 2.5rem;
    margin-top: 1.5rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin: 1rem auto;
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
    padding-top: 4rem;
}

.logo-container {
    margin-bottom: 3rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.hero-logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.hero-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== NAVEGAÇÃO ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

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

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 92, 0.3);
}

/* Menu Hambúrguer */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background-color: var(--light-gray);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 2px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== CONTEÚDO PRINCIPAL ===== */
.main-content {
    margin-top: 0;
}

.welcome-section {
    padding: 5rem 0 4rem;
    background: var(--light-gray);
}

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

.welcome-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* ===== SEÇÃO DE DESTAQUES ===== */
.highlights-section {
    padding: 5rem 0 4rem;
    background: var(--white);
}

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

.highlight-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.highlight-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.highlight-card a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Botão WhatsApp */
.whatsapp-card {
    border: 2px solid #25D366;
    background: linear-gradient(135deg, #ffffff, #f8fff9);
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: none;
    cursor: pointer;
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white !important;
    text-decoration: none !important;
}

.whatsapp-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ===== GALERIA ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

.video-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-video {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* ===== GALERIA MODAL ===== */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
    -webkit-overflow-scrolling: touch;
}

.gallery-modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    max-height: 800px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    cursor: pointer;
    z-index: 100001;
    background: rgba(0, 0, 0, 0.7);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1001;
}

.modal-prev, .modal-next {
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev:hover, .modal-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.modal-media-container {
    width: 100%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
}

.modal-image, .modal-video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    display: block;
    margin: 0 auto;
}

.modal-video {
    width: 100%;
    height: 100%;
}


.modal-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background: var(--light-gray);
    overflow-x: auto;
    scrollbar-width: thin;
}

.modal-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    flex-shrink: 0;
}

.modal-thumbnail:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.modal-thumbnail.active {
    border-color: var(--accent-color);
    transform: scale(1.1);
}

/* ===== GALERIA RESPONSIVA ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    box-shadow: var(--shadow);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

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

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

.video-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    box-shadow: var(--shadow);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 3rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ===== ANIMAÇÕES DO MODAL ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-color), #34495e);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-logo {
        max-width: 250px;
    }
    
    .hero-text {
        display: none;
    }
    
    .logo-container {
        margin-bottom: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
        width: 100%;
    }
    
    .nav-link:hover {
        transform: none;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .welcome-content p {
        text-align: center;
    }
    
    .welcome-section, .highlights-section {
        padding: 4rem 0 3rem;
    }
    
    .section-header {
        padding-top: 2rem;
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 85%;
        margin: 0 auto;
    }
    
    .welcome-content, .highlights-content {
        text-align: center;
    }
    
    .welcome-content p, .highlights-content p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 90%;
        margin: 0 auto 1.2rem;
    }
    
    /* ===== VÍDEOS TABLET ===== */
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        justify-items: center;
        align-items: center;
    }
    
    .gallery-grid {
        justify-items: center;
        align-items: center;
    }
    
    .gallery-item, .video-item {
        height: 150px;
        width: 100%;
        max-width: 200px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .gallery-image, .gallery-video {
        border-radius: 10px;
    }
    
    .video-overlay {
        border-radius: 10px;
    }
    
    .play-icon {
        font-size: 2.5rem;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .hero-text {
        display: none;
    }
    
    .logo-container {
        margin-bottom: 0;
    }
    
    .container {
        padding: 0 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .welcome-section, .highlights-section {
        padding: 3rem 0 2rem;
    }
    
    .section-header {
        padding-top: 1.5rem;
        margin-top: 1rem;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
        line-height: 1.4;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .welcome-content, .highlights-content {
        text-align: center;
    }
    
    .welcome-content p, .highlights-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 95%;
        margin: 0 auto 1rem;
    }
    
    /* ===== GALERIA MOBILE ===== */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
        justify-items: center;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        justify-items: center;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .gallery-item, .video-item {
        height: 120px;
        width: 100%;
        max-width: 150px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .gallery-image, .gallery-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        display: block;
    }
    
    .video-overlay {
        border-radius: 8px;
    }
    
    .play-icon {
        font-size: 2rem;
        padding: 8px;
    }
    
    /* ===== MODAL MOBILE ===== */
    .gallery-modal {
        z-index: 99999 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
    }
    
    .gallery-modal.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .modal-content {
        width: 98%;
        height: 98%;
        max-height: none;
        position: relative;
        z-index: 100000;
        border-radius: 8px;
    }
    
    .modal-media-container {
        height: 85%;
        position: relative;
        z-index: 100001;
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-image, .modal-video {
        position: relative;
        z-index: 100002;
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 8px;
    }
    
    .modal-video {
        width: 100%;
        height: 100%;
    }
    
    .modal-navigation {
        padding: 0 10px;
        position: relative;
        z-index: 100003;
    }
    
    .modal-prev, .modal-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        position: relative;
        z-index: 100004;
    }
    
    .modal-close {
        top: 5px;
        right: 5px;
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
        position: absolute;
        z-index: 100005;
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
    
    .modal-thumbnails {
        padding: 10px 15px;
        gap: 8px;
        position: relative;
        z-index: 100006;
    }
    
    .modal-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .highlight-card {
        padding: 1.5rem;
    }
}
