/* CSS QFIT - PREMIUM MINIMALISTA ESCURO */
:root {
    --bg-main: #18181b; /* Cinza super escuro elegante */
    --bg-premium: #f5f5f7; /* Cinza claro para blocos */
    --text-charcoal: #1d1d1f; 
    --text-white: #ffffff;
    --text-light: #52525b;
    --white: #ffffff;
    
    --orange-qfit: #ff6600; 
    --orange-hover: #e55d00;
    --green-success: #24d366; 
    --red-alert: #ff3b30; 
    
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);
    --border-soft: rgba(0, 0, 0, 0.08);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; font-size: 16px; }

body { background-color: var(--bg-main); color: var(--text-white); line-height: 1.5; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
header { background-color: rgba(24, 24, 27, 0.9); backdrop-filter: blur(20px); padding: 16px 0; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.1); }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; display: block; }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a { font-size: 0.9375rem; font-weight: 500; color: var(--text-white); text-decoration: none; transition: 0.2s; }
.nav-menu a:hover { color: var(--orange-qfit); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.menu-toggle span { width: 22px; height: 2px; background-color: var(--text-white); transition: all 0.2s ease; }

/* ALERTA GLOBAL */
.alerta-site { background-color: var(--orange-qfit); color: var(--text-white); text-align: center; padding: 12px 20px; font-weight: 700; font-size: 0.9375rem; display: none; }

/* HERO COM IMAGEM */
.hero { position: relative; padding: 120px 0 100px; text-align: center; background-image: url('hero-bg.jpg'); background-size: cover; background-position: center; background-color: var(--bg-main); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(24,24,27,0.8), rgba(24,24,27,1)); z-index: 1; }
.hero-wrapper { position: relative; z-index: 2; display: flex; justify-content: center; }
.hero-content { max-width: 850px; }
.hero-tag { display: inline-block; background-color: rgba(255,102,0,0.15); color: var(--orange-qfit); padding: 6px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 24px; border: 1px solid rgba(255,102,0,0.3); }
.hero h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 28px; }
.hero-text { font-size: 1.125rem; color: #a1a1aa; margin-bottom: 48px; line-height: 1.6; max-width: 760px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; justify-content: center; gap: 20px; }

.btn { display: inline-block; padding: 16px 32px; font-size: 1rem; font-weight: 600; border-radius: 30px; text-decoration: none; transition: 0.2s; border: none; cursor: pointer; }
.btn-primary { background-color: var(--orange-qfit); color: var(--white); box-shadow: 0 4px 14px rgba(255,102,0,0.3); }
.btn-primary:hover { background-color: var(--orange-hover); transform: translateY(-2px); }

/* PAINEL DINÂMICO */
.live-panel-section { padding: 40px 0; background-color: var(--bg-main); }
.live-card { background-color: var(--white); color: var(--text-charcoal); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-card); max-width: 800px; margin: 0 auto; text-align: center; }
.live-card-header { margin-bottom: 20px; }
.live-indicator { font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; color: var(--orange-qfit); text-transform: uppercase; }
.live-card-header h2 { font-size: 1.5rem; font-weight: 800; margin-top: 8px; }

/* Flexbox para desktop linha / mobile coluna */
.live-layout-flex { display: flex; align-items: center; justify-content: space-between; text-align: left; background: var(--bg-premium); padding: 24px; border-radius: 16px; border: 1px solid var(--border-soft); }
.live-status-col { flex: 1; border-right: 1px solid var(--border-soft); padding-right: 24px; }
.live-classes-col { flex: 1; padding-left: 24px; }

.status-box { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; }
.dot-gray { width: 14px; height: 14px; background: #6c757d; border-radius: 50%; }
.dot-green { width: 14px; height: 14px; background: #28a745; border-radius: 50%; box-shadow: 0 0 10px #28a745; }
.dot-red { width: 14px; height: 14px; background: var(--red-alert); border-radius: 50%; }
.horario-detalhe-box p { font-size: 0.875rem; color: var(--text-light); }

.live-classes-col .label { font-size: 0.75rem; color: var(--text-light); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px; }
.live-classes-col h4 { font-size: 1.25rem; font-weight: 800; color: var(--text-charcoal); }
.time-detail { font-size: 0.875rem; color: var(--text-light); margin-top: 4px; }

/* O QUE NOS MOVE */
.pillars-section { padding: 80px 0; background-color: var(--bg-premium); color: var(--text-charcoal); }
.section-title { text-align: center; font-size: 2.25rem; font-weight: 800; margin-bottom: 50px; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.apple-card-small { background-color: var(--white); padding: 30px; border-radius: 20px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: transform 0.3s; }
.apple-card-small:hover { transform: translateY(-5px); }

/* ÍCONES COLORIDOS E ESTILIZADOS */
.pillar-icon { width: 60px; height: 60px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 28px; border-radius: 16px; }
.icon-family { background-color: #e0f2fe; color: #0284c7; }
.icon-respect { background-color: #fef3c7; color: #d97706; }
.icon-mind { background-color: #fce7f3; color: #db2777; }
.icon-science { background-color: #dcfce7; color: #16a34a; }

.apple-card-small h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; }
.apple-card-small p { font-size: 0.9375rem; color: var(--text-light); }

/* SIMULADOR */
.simulador-section { padding: 80px 0; background-color: var(--bg-main); }
.simulador-wrapper { max-width: 800px; margin: 0 auto; }
.simulador-header { text-align: center; margin-bottom: 40px; }
.simulador-card { background-color: var(--white); color: var(--text-charcoal); border-radius: 24px; padding: 40px; }
.progress-bar-container { display: flex; justify-content: space-between; margin-bottom: 30px; border-bottom: 2px solid var(--border-soft); padding-bottom: 10px; }
.progress-step { font-size: 0.75rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; }
.active-step { color: var(--orange-qfit); border-bottom: 2px solid var(--orange-qfit); margin-bottom: -12px; padding-bottom: 10px; }

.simulador-step { display: none; text-align: center; }
.simulador-step.active { display: block; animation: fadeIn 0.4s ease-out; }
.simulador-step h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 30px; }

.options-grid-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.apple-option { flex: 1; min-width: 200px; background-color: var(--bg-premium); border: 2px solid transparent; padding: 20px; border-radius: 16px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.2s; }
.apple-option:hover { border-color: var(--orange-qfit); background-color: #fff; }

.diagnosis-box { background-color: #fffaf0; border: 1px solid #ffe8cc; padding: 24px; border-radius: 16px; margin-bottom: 30px; }
.diagnosis-title { font-size: 0.75rem; font-weight: 800; color: var(--orange-qfit); }

.apple-input-group { margin-bottom: 20px; text-align: left; max-width: 400px; margin-left: auto; margin-right: auto; }
.apple-input-group label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 8px; }
.apple-input-group input { width: 100%; padding: 16px; border-radius: 12px; border: 1px solid var(--border-soft); background-color: var(--bg-premium); font-size: 1rem; outline: none; }
.apple-input-group input:focus { border-color: var(--green-success); background-color: var(--white); }
.apple-submit { width: 100%; max-width: 400px; background-color: var(--green-success); color: var(--white); font-size: 1rem; padding: 18px; border-radius: 14px; margin-top: 10px; }

/* DEPOIMENTOS */
.testimonials-section { padding: 80px 0; background-color: var(--bg-main); text-align: center; }
.testimonials-carousel { max-width: 700px; margin: 0 auto; position: relative; }
.testimonial-card { display: none; }
.testimonial-card.active { display: block; animation: fadeIn 0.5s ease-out; }
.stars { color: #ff9500; font-size: 1.25rem; margin-bottom: 16px; }
.testimonial-text { font-size: 1.125rem; font-style: italic; color: #d4d4d8; margin-bottom: 24px; line-height: 1.6; }
.testimonial-footer { display: flex; align-items: center; justify-content: center; gap: 16px; }
.avatar-placeholder { width: 40px; height: 40px; border-radius: 50%; background-color: #3f3f46; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.testimonial-author { font-size: 1rem; font-weight: 700; color: #fff; text-align: left; }
.author-badge { font-size: 0.75rem; color: #a1a1aa; text-align: left; display: block; }
.apple-dots { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.apple-dots .dot { width: 10px; height: 10px; background-color: #52525b; border-radius: 50%; cursor: pointer; transition: 0.2s; }
.apple-dots .dot.active { background-color: var(--white); transform: scale(1.2); }

/* FOOTER */
footer { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 60px; background-color: var(--bg-main); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-logo { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.footer-desc { font-size: 0.9375rem; color: #a1a1aa; max-width: 400px; }
.footer-contact h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 16px; }
.nap-item { font-size: 0.9375rem; color: #a1a1aa; margin-bottom: 12px; }
.apple-link { font-size: 0.875rem; color: var(--orange-qfit); text-decoration: underline; margin-top: 16px; display: inline-block; }
.footer-bottom { background-color: #09090b; padding: 24px 0; text-align: center; }
.bottom-content p { font-size: 0.8125rem; color: #71717a; }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: var(--green-success); color: var(--white); width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 20px rgba(36, 211, 102, 0.4); z-index: 9999; transition: 0.2s; }
.whatsapp-float:hover { transform: scale(1.1); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .header-content { position: relative; }
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: -24px; right: -24px; background-color: var(--bg-main); padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); gap: 20px; }
    .nav-menu.open { display: flex; }
    .menu-toggle { display: flex; }
    .hero h1 { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; padding: 0 20px; }
    
    .live-layout-flex { flex-direction: column; text-align: center; }
    .live-status-col { border-right: none; border-bottom: 1px solid var(--border-soft); padding-right: 0; padding-bottom: 20px; margin-bottom: 20px; }
    .live-classes-col { padding-left: 0; }
    .status-box { justify-content: center; }
    .live-classes-col .label, .live-classes-col h4, .time-detail { text-align: center; }
    
    .options-grid-row { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-desc { margin: 0 auto; }
}
