/* === CFC Direção - Estilos Principais === */

/* --- CONFIGURAÇÕES GERAIS E VARIÁVEIS --- */
:root {
    --vermelho: #e62334;
    --vermelho-escuro: #c41e2d;
    --cinza-escuro: #2d2d2f;
    --cinza-medio: #38383a;
    --cinza-claro: #f8f9fa;
    --branco: #ffffff;
    --zap-verde: #25D366;
    --sombra-suave: 0 10px 30px rgba(0,0,0,0.05);
    --sombra-forte: 0 15px 35px rgba(0,0,0,0.15);
    --amarelo-aviso: #fff3cd;
    --amarelo-texto: #856404;
    --google-estrelas: #fbbc04;
    --transicao: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', sans-serif;
    color: var(--cinza-medio);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
}

/* --- ANIMAÇÕES DE SCROLL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- BOTÕES --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: var(--vermelho);
    color: var(--branco);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transicao);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 35, 52, 0.3);
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: var(--vermelho-escuro);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 35, 52, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--vermelho);
    color: var(--vermelho);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--vermelho);
    color: var(--branco);
}

/* --- WHATSAPP FLUTUANTE --- */
.zap-flutuante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--zap-verde);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: var(--transicao);
    animation: pulsar 2s infinite;
}

.zap-flutuante:hover { transform: scale(1.1); }

@keyframes pulsar {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.zap-tooltip {
    position: absolute;
    right: 80px;
    background: white;
    color: var(--cinza-escuro);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transicao);
    transform: translateX(10px);
}

.zap-flutuante:hover .zap-tooltip { 
    opacity: 1; 
    visibility: visible;
    transform: translateX(0);
}

/* --- HEADER --- */
header {
    background: transparent;
    height: 90px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transicao);
    display: flex;
    align-items: center;
}

header.scrolled {
    background: var(--branco);
    height: 80px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img { 
    height: 70px; 
    width: auto; 
    transition: var(--transicao);
}

header.scrolled .logo-container img { height: 60px; }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--branco);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

header.scrolled .nav-links a { 
    color: var(--cinza-escuro); 
    text-shadow: none;
}

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

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--vermelho); }

.mobile-menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--branco);
}

header.scrolled .mobile-menu-icon { color: var(--cinza-escuro); }

/* --- HERO CAROUSEL --- */
.hero-carousel-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background-color: #000;
}

.hero-slider {
    display: flex;
    width: 100%;
    height: 100%;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.hero-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    color: var(--branco); 
    max-width: 800px; 
    position: relative;
    z-index: 2;
    padding-left: 5%;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-badge {
    display: inline-block;
    background: var(--vermelho);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.slide-badge.bg-dark { background: var(--cinza-escuro); }
.slide-badge.bg-green { background: var(--zap-verde); color: #fff; }

.btn-outline.dark-outline {
    border-color: rgba(255,255,255,0.5);
}
.btn-outline.dark-outline:hover {
    background: rgba(255,255,255,0.1);
}

.hero-slide h1 { 
    font-size: 4rem; 
    font-weight: 900; 
    line-height: 1.1; 
    margin-bottom: 25px; 
    text-transform: uppercase;
}

.hero-slide h1 span { 
    color: var(--vermelho); 
    background: -webkit-linear-gradient(45deg, var(--vermelho), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-slide p { 
    font-size: 1.25rem; 
    margin-bottom: 40px; 
    opacity: 0.9; 
    max-width: 600px;
    font-weight: 300;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--vermelho);
    transform: scale(1.3);
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--vermelho);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-slide h1 { font-size: 2.8rem; }
    .hero-slide p { font-size: 1rem; }
    .slider-arrow { display: none; }
    .slider-controls { bottom: 30px; }
}

/* --- SEÇÕES PADRÃO --- */
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--cinza-claro); }

.title-center { text-align: center; margin-bottom: 60px; }
.title-center h2 { 
    font-size: 2.5rem; 
    margin-bottom: 15px; 
    color: var(--cinza-escuro);
    font-weight: 800;
}
.title-center .line { 
    width: 80px; 
    height: 5px; 
    background: var(--vermelho); 
    margin: 0 auto; 
    border-radius: 5px;
}
.title-center p { margin-top: 15px; color: #666; font-size: 1.1rem; }

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

/* --- CARDS (DIFERENCIAIS) --- */
.card {
    background: var(--branco);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--sombra-suave);
    text-align: center;
    transition: var(--transicao);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--vermelho);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-10px); box-shadow: var(--sombra-forte); }

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(230, 35, 52, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transicao);
}

.card:hover .card-icon-wrapper { background: var(--vermelho); }

.card i { font-size: 2rem; color: var(--vermelho); transition: var(--transicao); }
.card:hover i { color: var(--branco); }
.card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--cinza-escuro); }
.card p { color: #666; font-size: 1rem; }

/* --- SOBRE NÓS --- */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }

.sobre-destaque-visual {
    background: linear-gradient(135deg, var(--vermelho), #a01420);
    color: var(--branco); height: 500px; border-radius: 20px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; box-shadow: 0 20px 50px rgba(230, 35, 52, 0.3);
    padding: 30px; position: relative; overflow: hidden;
}

.sobre-destaque-visual::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.destaque-icone { font-size: 4rem; margin-bottom: 20px; position: relative; z-index: 2; }
.destaque-numero { font-size: 5rem; font-weight: 900; line-height: 1; margin-bottom: 5px; position: relative; z-index: 2; text-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.destaque-texto { font-size: 1.5rem; font-weight: 300; opacity: 0.9; position: relative; z-index: 2; }

.sobre-content h2 { font-size: 2.2rem; margin-bottom: 25px; color: var(--cinza-escuro); }
.sobre-texto p { margin-bottom: 20px; text-align: justify; font-size: 1.05rem; color: #555; }

.lista-check li { margin-bottom: 12px; display: flex; align-items: center; font-weight: 500; color: var(--cinza-escuro); }
.lista-check li i { color: var(--zap-verde); margin-right: 15px; font-size: 1.2rem; }

.credenciamento-box { margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; }
.credenciamento-logos { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 15px; }
.credenciamento-logos img { height: 45px; width: auto; opacity: 0.7; filter: grayscale(100%); transition: var(--transicao); }
.credenciamento-logos img:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.05); }

/* --- PREÇOS --- */
.price-card {
    background: var(--branco); border-radius: 20px; overflow: hidden;
    box-shadow: var(--sombra-suave); transition: var(--transicao);
    border: 1px solid #f0f0f0; display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-10px); box-shadow: var(--sombra-forte); border-color: rgba(230, 35, 52, 0.2); }
.price-header { padding: 30px; background: #fcfcfc; border-bottom: 1px solid #eee; text-align: center; }
.price-icon { font-size: 2.5rem; color: var(--vermelho); margin-bottom: 15px; }
.price-title { font-size: 1.4rem; font-weight: 700; color: var(--cinza-escuro); margin-bottom: 10px; }
.price-value { font-size: 2.5rem; font-weight: 900; color: var(--vermelho); display: flex; align-items: center; justify-content: center; gap: 5px; }
.price-value small { font-size: 1rem; font-weight: 400; color: #888; margin-top: 10px; }
.price-body { padding: 30px; text-align: center; flex-grow: 1; }
.price-body ul { list-style: none; margin-bottom: 25px; }
.price-body ul li { margin-bottom: 10px; color: #666; }
.price-card.featured { border: 2px solid var(--vermelho); transform: scale(1.05); z-index: 2; }
.price-card.featured:hover { transform: scale(1.05) translateY(-10px); }
.price-card.featured .price-header { background: rgba(230, 35, 52, 0.05); }
.badge-popular { background: var(--vermelho); color: white; text-align: center; padding: 5px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }

/* --- PAGAMENTOS --- */
.pagamentos-box { background: white; border-radius: 15px; padding: 40px; margin-top: 50px; box-shadow: var(--sombra-suave); text-align: center; }
.pagamentos-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 30px; }
.pagamento-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pagamento-item i { font-size: 2.2rem; color: var(--cinza-escuro); opacity: 0.7; }
.pagamento-item span { font-size: 0.9rem; font-weight: 500; }

/* --- MODAL DO SIMULADO MELHORADO E PROPAGANDAS --- */
.modal-simulado-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); z-index: 10000; display: flex;
    align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.modal-simulado-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
    background: white; width: 95%; max-width: 700px;
    border-radius: 20px; padding: 0; 
    position: relative; max-height: 90vh; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); display: flex; flex-direction: column;
}

.close-modal-btn {
    position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: #888;
    cursor: pointer; background: white; border: none; z-index: 10;
    width: 35px; height: 35px; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.close-modal-btn:hover { color: var(--vermelho); transform: scale(1.1); }

.simulado-body { padding: 40px; overflow-y: auto; flex-grow: 1; }

.quiz-progress-container { width: 100%; height: 8px; background: #eee; }
.quiz-progress-bar {
    height: 100%; background: var(--vermelho); width: 0%;
    transition: width 0.4s ease; border-radius: 0 5px 5px 0;
}

.quiz-header-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.quiz-numero-questao { font-size: 1.1rem; font-weight: 900; color: var(--cinza-escuro); }
.simulado-tema {
    background: rgba(230, 35, 52, 0.1); color: var(--vermelho);
    padding: 6px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: bold;
}
.pergunta-texto { font-size: 1.3rem; color: var(--cinza-escuro); font-weight: 600; margin-bottom: 30px; line-height: 1.5; }

.opcoes-container { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px;}
.opcao-btn {
    background: #fff; border: 2px solid #e2e8f0;
    padding: 18px 25px; border-radius: 12px; text-align: left;
    font-size: 1.05rem; color: #475569; cursor: pointer;
    transition: all 0.2s; display: flex; align-items: center; font-weight: 500;
}
.opcao-btn::before {
    content: ''; display: inline-block; width: 20px; height: 20px;
    border-radius: 50%; border: 2px solid #cbd5e1; margin-right: 15px; flex-shrink: 0; transition: all 0.2s;
}
.opcao-btn:hover { background: #f8fafc; border-color: #cbd5e1; transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0,0,0,0.02);}

.opcao-btn.selecionada { background: #f0f9ff; border-color: #3b82f6; color: #1e40af; }
.opcao-btn.selecionada::before { background: #3b82f6; border-color: #3b82f6; box-shadow: inset 0 0 0 4px white; }

.simulado-footer { display: flex; justify-content: flex-end; align-items: center; border-top: 1px solid #eee; padding-top: 20px;}

.resultado-container { text-align: center; }
.placar-box { background: #f8f9fa; border-radius: 20px; padding: 30px; margin: 20px 0; border: 1px solid #eee; }
.resultado-placar { font-size: 5rem; font-weight: 900; line-height: 1; color: var(--cinza-escuro); }
.resultado-status { font-size: 1.5rem; font-weight: bold; text-transform: uppercase; margin-top: 15px; padding: 10px; border-radius: 8px; display: inline-block;}
.status-aprovado { background: rgba(37, 211, 102, 0.15); color: #1e8745; }
.status-reprovado { background: rgba(230, 35, 52, 0.15); color: var(--vermelho); }

#simulado-correcao { text-align: left; display: none; }
.lista-correcao-container { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.correcao-item { background: #f8f9fa; border-radius: 12px; padding: 20px; border-left: 5px solid #ccc; }
.correcao-item.acertou { border-left-color: var(--zap-verde); }
.correcao-item.errou { border-left-color: var(--vermelho); }

.correcao-num { font-size: 0.85rem; font-weight: bold; color: #888; margin-bottom: 5px; text-transform: uppercase;}
.correcao-pergunta { font-weight: 700; color: var(--cinza-escuro); margin-bottom: 15px; font-size: 1.1rem;}

.correcao-resposta-bloco { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem;}
.resp-aluno, .resp-correta { padding: 10px 15px; border-radius: 8px; display: flex; align-items: flex-start; gap: 10px; }

.resp-aluno i, .resp-correta i { margin-top: 3px; }
.resp-aluno.certa { background: rgba(37, 211, 102, 0.1); color: #1e8745; border: 1px solid rgba(37, 211, 102, 0.3);}
.resp-aluno.errada { background: rgba(230, 35, 52, 0.1); color: var(--vermelho-escuro); border: 1px solid rgba(230, 35, 52, 0.3);}
.resp-correta { background: #e8f4fd; color: #0369a1; border: 1px solid #bae6fd;}

.promo-box-simulado { border-radius: 12px; padding: 20px; margin: 20px 0; text-align: center; border: 2px dashed #ccc; }
.promo-box-intro { background-color: #fdf2f2; border-color: #fca5a5; }
.promo-box-sucesso { background-color: #f0fdf4; border-color: #86efac; }
.promo-box-falha { background-color: #fffbeb; border-color: #fde047; }
.promo-box-simulado h4 { margin-bottom: 10px; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; gap: 10px;}
.promo-box-intro h4 { color: var(--vermelho-escuro); }
.promo-box-sucesso h4 { color: #166534; }
.promo-box-falha h4 { color: #854d0e; }
.promo-box-simulado p { font-size: 0.95rem; margin-bottom: 15px; color: #475569; }

/* --- DEPOIMENTOS NO ESTILO GOOGLE REVIEWS --- */
.google-reviews-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.google-review-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    position: relative;
    transition: var(--transicao);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.google-review-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.google-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.google-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* Cores variadas para os avatares estilo Google */
.avatar-1 { background-color: #4285F4; } /* Azul */
.avatar-2 { background-color: #DB4437; } /* Vermelho */
.avatar-3 { background-color: #0F9D58; } /* Verde */

.google-user-info {
    display: flex;
    flex-direction: column;
}

.google-user-info h4 {
    margin: 0;
    font-size: 1.05rem;
    color: #202124;
    font-weight: 500;
}

.google-user-info span {
    font-size: 0.85rem;
    color: #70757a;
}

.google-icon-corner {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 20px;
    height: 20px;
}

.google-stars {
    color: var(--google-estrelas);
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    gap: 3px;
}

.google-review-text {
    color: #3c4043;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 1;
}

.btn-google-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    background: #fff;
    color: #1a73e8;
    border: 1px solid #dadce0;
    border-radius: 24px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 40px;
}

.btn-google-action:hover {
    background: #f8f9fa;
    border-color: #d2e3fc;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
}

.btn-google-action img {
    width: 18px;
    height: 18px;
}

/* --- FAQ --- */
.faq-item { background: var(--branco); border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); overflow: hidden; }
.faq-question { padding: 20px; width: 100%; text-align: left; background: none; border: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; color: var(--cinza-escuro); font-size: 1rem; }
.faq-question:hover { background: #fcfcfc; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 20px; color: #666; line-height: 1.6; }
.faq-item.active .faq-answer { padding-bottom: 20px; max-height: 2000px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-question i { transition: transform 0.3s; color: var(--vermelho); }

/* --- MAPA --- */
.mapa-container { width: 100%; line-height: 0; background-color: #eee; }
.mapa-iframe { width: 100%; height: 500px; border: 0; filter: grayscale(100%); transition: filter 0.5s ease; display: block; }
.mapa-iframe:hover { filter: grayscale(0%); }

/* --- FOOTER --- */
footer { background: #1a1a1c; color: #ccc; padding: 80px 0 30px; }
.footer-logo { height: 50px; margin-bottom: 25px; opacity: 1; }
.footer-col h4 { color: var(--branco); margin-bottom: 25px; font-size: 1.2rem; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--vermelho); }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { display: flex; align-items: center; color: #aaa; text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--vermelho); transform: translateX(5px); }
.footer-col ul li i { margin-right: 12px; color: var(--vermelho); width: 20px; }
.copyright { text-align: center; border-top: 1px solid #333; padding-top: 30px; margin-top: 60px; font-size: 0.85rem; color: #666; }

/* --- PAINEL INTERNO (ÁREA SECRETA) --- */
.pin-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.92); z-index: 20000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.pin-overlay.open { opacity: 1; visibility: visible; }

.pin-box {
    background: #1e1e20; border-radius: 20px; padding: 50px 40px;
    text-align: center; max-width: 400px; width: 90%;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);
}

.pin-box .pin-logo {
    width: 60px; height: 60px; margin: 0 auto 20px;
    background: var(--vermelho); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white;
}

.pin-box h3 {
    color: #fff; font-size: 1.4rem; margin-bottom: 8px; font-weight: 700;
}

.pin-box p {
    color: #888; font-size: 0.9rem; margin-bottom: 30px;
}

.pin-inputs {
    display: flex; gap: 12px; justify-content: center; margin-bottom: 25px;
}

.pin-inputs input {
    width: 55px; height: 60px; text-align: center;
    font-size: 1.5rem; font-weight: 700; color: #fff;
    background: #2a2a2c; border: 2px solid #3a3a3c;
    border-radius: 12px; outline: none;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.pin-inputs input:focus {
    border-color: var(--vermelho);
    box-shadow: 0 0 15px rgba(230, 35, 52, 0.3);
}

.pin-inputs input::placeholder { color: #555; }

.pin-error {
    color: var(--vermelho); font-size: 0.85rem;
    margin-bottom: 15px; min-height: 20px;
    transition: all 0.3s ease;
}

.pin-btn-entrar {
    width: 100%; padding: 14px; background: var(--vermelho);
    color: white; border: none; border-radius: 12px;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: all 0.3s ease; text-transform: uppercase;
    letter-spacing: 1px;
}

.pin-btn-entrar:hover {
    background: var(--vermelho-escuro);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 35, 52, 0.4);
}

.pin-btn-fechar {
    background: none; border: none; color: #666;
    font-size: 0.85rem; margin-top: 20px; cursor: pointer;
    transition: color 0.3s;
}

.pin-btn-fechar:hover { color: #fff; }

/* Shake animation para erro */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}
.pin-shake { animation: shake 0.4s ease; }

/* Painel Admin escondido */
.painel-admin-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #121214; z-index: 19000;
    display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
    overflow-y: auto;
}
.painel-admin-overlay.open { opacity: 1; visibility: visible; }

.painel-admin-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 30px; background: #1a1a1c;
    border-bottom: 1px solid #2a2a2c;
}

.painel-admin-header h2 {
    color: #fff; font-size: 1.3rem; display: flex;
    align-items: center; gap: 10px;
}

.painel-admin-header h2 i { color: var(--vermelho); }

.painel-admin-sair {
    background: none; border: 1px solid #3a3a3c; color: #aaa;
    padding: 8px 20px; border-radius: 8px; cursor: pointer;
    font-size: 0.85rem; transition: all 0.3s;
}

.painel-admin-sair:hover {
    border-color: var(--vermelho); color: var(--vermelho);
}

.painel-admin-body {
    padding: 40px 30px; max-width: 900px;
    margin: 0 auto; width: 100%; flex-grow: 1;
}

.painel-welcome {
    text-align: center; padding: 80px 20px; color: #666;
}

.painel-welcome i {
    font-size: 4rem; color: #333; margin-bottom: 20px;
}

.painel-welcome h3 {
    color: #ccc; font-size: 1.5rem; margin-bottom: 10px;
}

.painel-welcome p {
    color: #666; font-size: 1rem;
}

/* --- CALCULADORA DE ORÇAMENTO (PREMIUM) --- */
.calc-container {
    max-width: 1000px; margin: 0 auto;
}

.calc-header-title {
    display: flex; align-items: center; gap: 18px;
    margin-bottom: 30px; padding-bottom: 20px;
    border-bottom: 1px solid #2a2a2c;
}

.calc-header-title i {
    font-size: 2rem; color: var(--vermelho);
    background: rgba(230, 35, 52, 0.1);
    width: 55px; height: 55px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.calc-header-title h3 { color: #fff; font-size: 1.3rem; margin-bottom: 3px; }
.calc-header-title p { color: #777; font-size: 0.85rem; }

/* Layout 2 colunas */
.calc-grid-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

.calc-col-config { display: flex; flex-direction: column; gap: 16px; }

/* Cards de cada seção */
.calc-card {
    background: #1a1a1c; border: 1px solid #2a2a2c;
    border-radius: 14px; padding: 20px;
}

.calc-label {
    display: flex; align-items: center; gap: 8px;
    color: #aaa; font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.calc-label i { color: var(--vermelho); font-size: 0.8rem; }

/* Input de nome */
.calc-input-nome {
    width: 100%; padding: 12px 16px;
    background: #222224; border: 1px solid #3a3a3c;
    border-radius: 10px; color: #fff;
    font-size: 0.95rem; outline: none;
    transition: border-color 0.3s;
    font-family: 'Roboto', sans-serif;
}

.calc-input-nome::placeholder { color: #555; }
.calc-input-nome:focus { border-color: var(--vermelho); }

/* Cards de Categoria */
.calc-categorias {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}

.calc-cat-card {
    background: #222224; border: 2px solid #2a2a2c;
    border-radius: 12px; padding: 18px 10px;
    text-align: center; cursor: pointer;
    transition: all 0.3s ease;
}

.calc-cat-card:hover { border-color: #444; transform: translateY(-2px); }

.calc-cat-card.ativo {
    border-color: var(--vermelho);
    background: rgba(230, 35, 52, 0.08);
    box-shadow: 0 0 20px rgba(230, 35, 52, 0.12);
}

.calc-cat-card i {
    font-size: 1.5rem; color: #555; margin-bottom: 8px;
    transition: color 0.3s;
}

.calc-cat-card.ativo i { color: var(--vermelho); }

.calc-cat-card span {
    display: block; color: #bbb; font-weight: 700;
    font-size: 1rem; margin-bottom: 2px;
}

.calc-cat-card small { color: #666; font-size: 0.75rem; }
.calc-cat-card.ativo span { color: #fff; }

/* Aulas - Contador */
.calc-aula-row {
    display: flex; justify-content: space-between;
    align-items: center; background: #222224;
    border: 1px solid #2a2a2c; border-radius: 10px;
    padding: 14px 16px; margin-bottom: 8px;
}

.calc-aula-info { display: flex; align-items: center; gap: 12px; }
.calc-aula-info i { font-size: 1.2rem; color: var(--vermelho); width: 30px; text-align: center; }
.calc-aula-info strong { display: block; color: #ddd; font-size: 0.9rem; }
.calc-aula-info small { color: #888; font-size: 0.75rem; }

.calc-counter { display: flex; align-items: center; gap: 12px; }

.calc-counter span {
    color: #fff; font-size: 1.3rem; font-weight: 900;
    min-width: 30px; text-align: center;
}

.calc-counter-btn {
    width: 34px; height: 34px; border-radius: 8px;
    border: 1px solid #3a3a3c; background: #2a2a2c;
    color: #ccc; font-size: 0.8rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}

.calc-counter-btn:hover {
    background: var(--vermelho); border-color: var(--vermelho);
    color: #fff; transform: scale(1.08);
}

/* Taxas */
.calc-taxas-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 12px;
}

.calc-taxas-actions { display: flex; gap: 6px; }

.calc-taxas-grid { display: flex; flex-direction: column; gap: 6px; }

.calc-taxa-item {
    display: flex; align-items: center; gap: 10px;
    background: #222224; border: 1px solid #2a2a2c;
    border-radius: 8px; padding: 10px 12px;
    cursor: pointer; transition: all 0.2s;
}

.calc-taxa-item:hover { border-color: #3a3a3c; }
.calc-taxa-item input[type="checkbox"] { display: none; }

.taxa-check-box {
    width: 20px; height: 20px; border-radius: 5px;
    border: 2px solid #3a3a3c; background: #2a2a2c;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; flex-shrink: 0;
}

.taxa-check-box i { color: transparent; font-size: 0.6rem; transition: all 0.2s; }

.calc-taxa-item input:checked ~ .taxa-check-box {
    background: var(--vermelho); border-color: var(--vermelho);
}
.calc-taxa-item input:checked ~ .taxa-check-box i { color: #fff; }
.calc-taxa-item input:checked ~ .taxa-info span { color: #ccc; }

.taxa-info {
    display: flex; justify-content: space-between;
    align-items: center; flex-grow: 1;
}

.taxa-info span { color: #777; font-size: 0.82rem; }
.taxa-info strong { color: #aaa; font-size: 0.82rem; white-space: nowrap; margin-left: 8px; }

.calc-taxa-toggle {
    background: #222224; border: 1px solid #2a2a2c;
    color: #777; padding: 6px 10px; border-radius: 6px;
    font-size: 0.75rem; cursor: pointer; transition: all 0.2s;
}

.calc-taxa-toggle:hover { border-color: var(--vermelho); color: var(--vermelho); }

/* ---- COLUNA DIREITA: RECIBO ---- */
.calc-col-recibo { position: relative; }

.calc-recibo-sticky {
    position: sticky; top: 20px;
    display: flex; flex-direction: column; gap: 12px;
}

.calc-recibo {
    background: #1a1a1c; border: 1px solid #2a2a2c;
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.recibo-header {
    background: linear-gradient(135deg, var(--vermelho), #a01420);
    padding: 16px 20px; display: flex;
    justify-content: space-between; align-items: center;
}

.recibo-header span {
    color: rgba(255,255,255,0.7); font-size: 0.78rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
}

/* Cliente no recibo */
.recibo-cliente {
    padding: 14px 20px; border-bottom: 1px solid #222;
    display: flex; flex-direction: column; gap: 2px;
}

.recibo-cliente-label {
    color: #555; font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 1px; font-weight: 700;
}

.recibo-cliente-nome {
    color: #ddd; font-size: 0.95rem; font-weight: 600;
}

.recibo-body { padding: 0; }

.recibo-vazio {
    padding: 40px 20px; text-align: center; color: #444;
}

.recibo-vazio i { font-size: 1.5rem; margin-bottom: 10px; display: block; }
.recibo-vazio p { font-size: 0.85rem; }

.recibo-item {
    display: flex; justify-content: space-between;
    padding: 10px 20px; border-bottom: 1px solid #1f1f21;
    font-size: 0.83rem;
}

.recibo-item:last-child { border-bottom: none; }
.recibo-item .item-nome { color: #999; }
.recibo-item .item-valor { color: #ccc; font-weight: 600; }

.recibo-item.subtotal { background: rgba(255,255,255,0.02); font-weight: 700; }
.recibo-item.subtotal .item-nome { color: #bbb; }
.recibo-item.subtotal .item-valor { color: #fff; }

.recibo-divider { border: none; border-top: 1px dashed #2a2a2c; margin: 0; }

.recibo-total {
    display: flex; justify-content: space-between;
    padding: 18px 20px; background: #0d0d0e;
    font-size: 1.1rem; font-weight: 900; color: var(--vermelho);
}

.recibo-footer { padding: 14px 20px; text-align: center; }
.recibo-footer p { color: #444; font-size: 0.7rem; margin-bottom: 2px; }
.recibo-data { margin-top: 5px; }

/* Botão Imprimir */
.btn-imprimir {
    width: 100%; padding: 14px;
    background: #1a1a1c; border: 1px solid #2a2a2c;
    color: #ccc; border-radius: 10px;
    font-size: 0.9rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
}

.btn-imprimir:hover {
    background: var(--vermelho); border-color: var(--vermelho);
    color: #fff; transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 35, 52, 0.3);
}

/* Responsivo calculadora */
@media (max-width: 768px) {
    .calc-grid-layout { grid-template-columns: 1fr; }
    .calc-col-recibo { order: -1; }
    .calc-recibo-sticky { position: static; }
}

@media (max-width: 500px) {
    .calc-categorias { grid-template-columns: 1fr; }
    .calc-aula-row { flex-direction: column; gap: 12px; text-align: center; }
    .calc-aula-info { flex-direction: column; }
    .taxa-info { flex-direction: column; align-items: flex-start; gap: 2px; }
    .taxa-info strong { margin-left: 0; }
}

/* ---- ESTILOS DE IMPRESSÃO ---- */
@media print {
    body * { visibility: hidden !important; }
    
    #recibo-para-imprimir,
    #recibo-para-imprimir * {
        visibility: visible !important;
    }
    
    #recibo-para-imprimir {
        position: fixed; top: 0; left: 0;
        width: 100%; max-width: 500px;
        margin: 20px auto;
        background: #fff !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        color: #000 !important;
    }
    
    .recibo-header {
        background: #e62334 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .recibo-cliente { border-bottom: 1px solid #eee !important; }
    .recibo-cliente-label { color: #888 !important; }
    .recibo-cliente-nome { color: #222 !important; }
    
    .recibo-item { border-bottom: 1px solid #f0f0f0 !important; }
    .recibo-item .item-nome { color: #333 !important; }
    .recibo-item .item-valor { color: #111 !important; }
    .recibo-item.subtotal { background: #f9f9f9 !important; }
    .recibo-item.subtotal .item-nome,
    .recibo-item.subtotal .item-valor { color: #000 !important; }
    
    .recibo-divider { border-top: 1px dashed #ccc !important; }
    
    .recibo-total {
        background: #f5f5f5 !important;
        color: #e62334 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .recibo-footer p { color: #888 !important; }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) { 
    .hero h1 { font-size: 3rem; } 
    .price-card.featured { transform: none; z-index: 1; margin: 20px 0; } 
    .price-card.featured:hover { transform: translateY(-10px); } 
}

@media (max-width: 768px) {
    header { background: var(--branco); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
    .nav-links a { color: var(--cinza-escuro); text-shadow: none; }
    .mobile-menu-icon { display: block; color: var(--cinza-escuro); }
    .nav-links { position: fixed; top: 90px; right: -100%; background: var(--branco); height: calc(100vh - 90px); width: 80%; flex-direction: column; justify-content: flex-start; padding-top: 60px; transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.1); }
    .nav-links.active { right: 0; }
    .hero { text-align: center; padding-top: 100px; }
    .hero-content { margin: 0 auto; }
    .hero h1 { font-size: 2.2rem; }
    .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
    .sobre-destaque-visual { order: -1; height: 350px; }
    .pagamentos-grid { gap: 20px; }
    .simulado-body { padding: 25px 20px; }
    .resultado-placar { font-size: 4rem; }
}
