/* --- CONFIGURAÇÕES GLOBAIS E NOVA PALETA DE CORES --- */
:root {
    --color-background: #0D1117;
    --color-surface: #161B22;
    --color-primary: #B43332; /* Vermelho do UniTV */
    --color-primary-light: #E74C3C; /* Vermelho mais claro para destaque */
    --color-text: #E6EDF3;
    --color-text-muted: #8B949E;
    --color-border: #30363D;
    --font-family: 'Montserrat', sans-serif;
    --shadow-glow: 0 0 15px rgba(180, 51, 50, 0.4), 0 0 25px rgba(180, 51, 50, 0.3); /* Sombra vermelha */
    --border-radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- ANIMAÇÃO DE ENTRADA SUAVE --- */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- BANNER DO TOPO --- */
.top-banner {
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    color: #FFFFFF;
    text-align: center;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 15px;
}

.warning-bar {
    background-color: #000;
    color: #FFD700;
    padding: 10px 20px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

/* --- ESTILOS GERAIS DE SEÇÃO --- */
.section {
    padding: 80px 0;
}
.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}
.section-subtitle {
    font-size: clamp(16px, 2.5vw, 18px);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
    color: var(--color-text-muted);
}

/* --- BOTÕES MODERNOS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 36px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(231, 76, 60, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary-light);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-4px);
}

@keyframes pulse-animation {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(180, 51, 50, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(180, 51, 50, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(180, 51, 50, 0); }
}
.btn-pulse { animation: pulse-animation 2.5s infinite; }

/* --- SEÇÃO HERO --- */
.hero-section {
    padding: 60px 0 80px 0;
    overflow: hidden;
    position: relative;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: 150%; height: 100%;
    background: radial-gradient(circle, rgba(180, 51, 50, 0.1), transparent 70%);
    transform: translateX(-50%);
    z-index: -1;
}
.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}
.hero-content {
    max-width: 600px;
}
.hero-title {
    font-size: clamp(36px, 7vw, 56px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 25px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #FFFFFF, #FFC0CB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    max-width: 100%;
    margin: 0 0 30px 0;
    font-size: clamp(16px, 3.5vw, 18px);
    color: var(--color-text-muted);
}
.hero-features {
    list-style: none; padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.hero-features li {
    display: flex; align-items: center; gap: 10px;
    font-weight: 500;
}
.hero-features i { color: var(--color-primary-light); }

.hero-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.hero-image {
     width: 100%;
     max-width: 450px;
}
.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

/* --- LAYOUT LADO A LADO PARA DESKTOPS --- */
@media (min-width: 992px) {
    .hero-section .container {
        flex-direction: row;
        text-align: left;
        gap: 60px;
    }
    .hero-content {
        flex: 1;
        max-width: none;
    }
    .hero-image {
        flex: 1;
    }
    .hero-features {
        align-items: flex-start;
    }
    .hero-buttons-container {
        justify-content: flex-start;
    }
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

/* --- CARDS (COMO FUNCIONA, VANTAGENS, PREÇOS) --- */
.grid-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.card {
    background-color: var(--color-surface);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-8px); border-color: var(--color-primary); }
.card .icon { font-size: 40px; color: var(--color-primary-light); margin-bottom: 20px; }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { color: var(--color-text-muted); font-size: 15px; }

/* --- CARDS DE PREÇO --- */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.recommended { border-color: var(--color-primary); box-shadow: var(--shadow-glow); }
.recommended-badge {
    position: absolute; top: 0; left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    color: white; padding: 8px 20px; font-size: 13px; font-weight: 700;
    border-radius: 50px; text-transform: uppercase;
}
.price-card-title { font-size: 28px; font-weight: 700; }
.price-card-subtitle { color: var(--color-text-muted); min-height: 20px; }
.price-tag { margin: 20px 0; }
.price-tag .old-price { text-decoration: line-through; color: var(--color-text-muted); }
.price-tag .current-price { font-size: clamp(48px, 12vw, 60px); font-weight: 800; line-height: 1; }
.current-price span { font-size: 28px; vertical-align: top; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-card img { max-width: 90%; margin: 15px auto; }

/* --- SEÇÃO DE FAQ --- */
.faq-item { background-color: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--border-radius); margin-bottom: 15px; overflow: hidden; transition: border-color 0.3s ease; }
.faq-item:hover { border-color: var(--color-primary); }
.faq-item summary { font-size: 18px; font-weight: 600; padding: 25px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; transition: transform 0.3s ease-in-out; }
.faq-item[open] > summary::after { transform: rotate(180deg); }
.faq-item div { padding: 0 25px 25px 25px; color: var(--color-text-muted); font-size: 15px; }

/* --- RODAPÉ --- */
.footer { border-top: 1px solid var(--color-border); text-align: center; padding: 50px 20px; margin-top: 80px; font-size: 14px; color: var(--color-text-muted); }
.footer p { margin: 0 0 10px; }
.footer-links { margin-bottom: 20px !important; }
.footer-disclaimer { 
    font-size: 12px; 
    max-width: 600px; 
    margin: 0 auto 20px auto; 
    opacity: 0.7;
    text-align: center;
}
.footer-links a { color: var(--color-text-muted); text-decoration: none; margin: 0 10px; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--color-primary-light); }

/* --- MEDIA QUERIES PARA RESPONSIVIDADE --- */
@media (min-width: 600px) {
    .grid-cards { grid-template-columns: repeat(2, 1fr); }
    .grid-cards.prices { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}
@media (min-width: 768px) {
    .section {
        padding: 100px 0;
    }
    .hero-section {
        padding: 80px 0;
    }
    .grid-cards.how-it-works, .grid-cards.prices { grid-template-columns: repeat(3, 1fr); max-width: none; }
}
@media (min-width: 992px) {
    .grid-cards.advantages { grid-template-columns: repeat(4, 1fr); }
}