/* ==========================================================================
   HOMEPAGE.CSS
   Estilos específicos da Página Inicial
   Nota: Herda variáveis (:root) do styles.css
   ========================================================================== */

/* ==========================================================================
   1. BOTÕES ESPECÍFICOS DA HOME
   ========================================================================== */

/* Botão Ingressos (Destaque) */
.btn-tickets {
    background-color: var(--secondary-color);
    color: white;
}

.btn-tickets:hover {
    background-color: color-mix(in srgb, var(--secondary-color), black 20%);
    transform: translateY(-2px);
}

/* Botão Edições (Secundário) */
.btn-editions {
    background: white;
    color: black;
    border: 1px solid #ddd;
}

.btn-editions:hover {
    background: color-mix(in srgb, var(--tertiary-color), black 20%);
    transform: translateY(-2px);
}

/* Container dos Botões na CTA */
.cta-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap; /* Permite quebrar linha se a tela for muito pequena */
}

.cta-buttons .btn {
    padding: 14px 32px;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

/* Botões da Seção de Vídeo */
.btn-buy-now {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-buy-now:hover {
    background-color: color-mix(in srgb, var(--secondary-color), black 20%);
    transform: translateY(-2px);
}

.btn-history {
    background-color: var(--tertiary-color);
    color: #1a1a1a;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-history:hover {
    background-color: color-mix(in srgb, var(--tertiary-color), black 10%);
    transform: translateY(-2px);
}

/* ==========================================================================
   2. SEÇÃO HERO (BANNER TOPO)
   ========================================================================== */

.hero {
    min-height: 85vh; /* Aumentei um pouco para dar imponência */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../../images/banner.png'); /* Adicionei overlay escuro para leitura */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 2.5rem; /* Maior destaque */
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-text p {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 32px;
    max-width: 600px;
    margin-inline: auto; /* Centraliza o texto */
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* ==========================================================================
   3. SEÇÃO SOBRE (CTA)
   ========================================================================== */

.cta-section {
    padding: 80px 0;
    background-color: var(--tertiary-color);
    display: flex;
    justify-content: center;
}

.cta-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Colunas: Imagem | Texto */
    gap: 60px;
    align-items: center;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinhado à esquerda no Desktop */
    text-align: left;
}

.cta-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.cta-content h2 {
    font-family: var(--title-font-family);
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    line-height: 1.1;
}

.cta-intro, 
.cta-content p {
    font-family: var(--body-font-family);
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.cta-media-box {
    width: 100%;
    height: 500px;
    position: relative;
}

.cta-media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0px 15px 40px rgba(0,0,0,0.15);
}

/* ==========================================================================
   4. SEÇÃO CARDS (FEATURES)
   ========================================================================== */

.features-section {
    padding: 80px 20px;
    background-color: white; /* Alterado para branco para contraste com a seção anterior */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.5;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Colunas no Desktop */
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

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

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; /* Proporção vertical elegante */
    overflow: hidden;
}

.card-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(58, 22, 14, 0.9), transparent 60%);
    z-index: 1;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ==========================================================================
   5. SEÇÃO MOMENTOS (BANNER)
   ========================================================================== */

.momentos-section {
    padding: 80px 0 0 0; 
    background-color: var(--primary-color);
    text-align: center;
}

.momentos-intro {
    padding: 0 20px;
    margin-bottom: 50px;
}

.momentos-intro .tagline {
    display: block;
    color: var(--quaternary-color);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.momentos-intro h2 {
    color: var(--tertiary-color);
    font-size: 3rem;
    margin: 0 0 20px 0;
    font-family: var(--title-font-family);
}

.momentos-intro .description {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1.1rem;
}

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

.banner-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Altura fixa para Desktop */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Ajuste fino do foco da imagem */
    display: block;
}

.banner-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* ==========================================================================
   6. SEÇÃO FEEDBACK
   ========================================================================== */

.feedback-container {
    padding: 80px 20px;
    background-color: #f9f7f2;
    text-align: center;
}

.feedback-header {
    margin-bottom: 50px;
}

.feedback-header h2 {
    color: var(--secondary-color);
    font-family: var(--title-font-family);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feedback-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid #eee5d8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feedback-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(74, 52, 32, 0.1);
}

.card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feedback-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
    font-style: italic;
}

.feedback-author {
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    width: 100%;
}

.feedback-author strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ==========================================================================
   7. SEÇÃO VÍDEO PROMO
   ========================================================================== */

.video-promo-section {
    padding: 100px 20px;
    background-color: var(--primary-color);
    color: white;
}

.video-promo-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Texto | Vídeo */
    gap: 60px;
    align-items: center;
}

.video-promo-content h2 {
    font-family: var(--title-font-family);
    color: var(--tertiary-color);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.video-description p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.video-promo-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.video-wrapper {
    position: relative;
    width: 100%; /* Ocupa 100% da coluna do grid */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.promo-video-element {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   8. SEÇÃO BENEFÍCIOS
   ========================================================================== */

.benefits-section {
    padding: 80px 20px;
    background-color: var(--tertiary-color);
    text-align: center;
}

.benefits-header {
    margin-bottom: 60px;
}

.benefits-header h2 {
    font-family: var(--title-font-family);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefits-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    padding: 30px;
    border: 1px solid rgba(126, 68, 34, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
} 

.benefit-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.benefit-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.benefit-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   9. RESPONSIVIDADE (MOBILE & TABLET)
   Onde a mágica acontece para adaptar telas pequenas
   ========================================================================== */

@media (max-width: 992px) {
    /* Tablet: Ajustes intermediários */
    .cta-container { gap: 40px; }
    .hero-text h1 { font-size: 2.2rem; }
    .card-container { grid-template-columns: repeat(2, 1fr); } /* 2 colunas */
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Mobile: Celulares */

    /* 1. HERO */
    .hero { min-height: 70vh; }
    .hero-text h1 { font-size: 1.8rem; }
    .hero-text p { font-size: 1rem; }
    .hero-buttons { justify-content: center; } /* Centraliza botões */

    /* 2. CTA (SOBRE) - Vira Coluna */
    .cta-section { padding: 60px 0; }
    .cta-container { 
        grid-template-columns: 1fr; /* Uma coluna */
        text-align: center; /* Centraliza tudo */
        gap: 30px;
    }
    .cta-content { align-items: center; order: 2; /* Texto vai pra baixo */ } 
    .cta-media-box { 
        order: 1; /* Imagem vai pra cima */
        height: 300px; /* Menor altura */
    }
    .cta-buttons { justify-content: center; width: 100%; }
    .cta-buttons .btn { width: 100%; } /* Botão full width */
    .cta-content h2 { font-size: 2.2rem; }

    /* 3. CARDS */
    .features-section { padding: 50px 20px; }
    .card-container { grid-template-columns: 1fr; } /* 1 Coluna */
    .card-image-wrapper { aspect-ratio: 16/9; } /* Mais horizontal no mobile */

    /* 4. MOMENTOS */
    .momentos-intro h2 { font-size: 2rem; }
    .banner-wrapper { height: 250px; } /* Banner menor */

    /* 5. VÍDEO PROMO - Vira Coluna */
    .video-promo-section { padding: 60px 20px; }
    .video-promo-container { 
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .video-promo-content h2 { font-size: 2.2rem; }
    .video-promo-buttons { justify-content: center; }
    .video-promo-buttons .btn-buy-now, 
    .video-promo-buttons .btn-history { width: 100%; text-align: center; }

    /* 6. BENEFÍCIOS */
    .benefits-grid { grid-template-columns: 1fr; } /* 1 Coluna */
    .benefits-header h2 { font-size: 2rem; }
}