/* =============================================================================
   SECAPS BLACK - STYLESHEET ORGANIZADO
   =============================================================================
   Índice:
   1. Variáveis CSS
   2. Reset & Base
   3. Tipografia
   4. Layout & Utilitários
   5. Componentes (Botões, Badges, Cards)
   6. Seções da Página (Hero, Benefícios, Depoimentos, etc.)
   7. Modais (Depoimento Individual + Lista Completa + Exit-Intent)
   8. Elementos Flutuantes & Loading
   9. Animações
   10. Responsivo
   ============================================================================= */


/* =============================================================================
   1. VARIÁVEIS CSS
   ============================================================================= */
:root {
    /* Cores Principais */
    --primary: #00D4AA;
    --primary-dark: #00B894;
    --secondary: #1A1A2E;
    --accent: #FF6B6B;
    --accent-hover: #EE5A5A;
    --success: #00C853;
    
    /* Cores Neutras */
    --light: #F8F9FA;
    --dark: #121212;
    --gray: #6C757D;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #00D4AA 0%, #00B894 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B6B 0%, #EE5A5A 100%);
    
    /* Efeitos */
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.25);
    --radius: 16px;
    --transition: all 0.3s ease;
    
    /* Z-Index Layers (CRÍTICO PARA MODAIS) */
    --z-modal-list: 1500;
    --z-modal-video: 2000;
    --z-exit-modal: 9999;
    --z-loading: 9999;
    --z-urgency-bar: 1000;
    --z-whatsapp-float: 999;
}


/* =============================================================================
   2. RESET & BASE
   ============================================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}


/* =============================================================================
   3. TIPOGRAFIA
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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


/* =============================================================================
   4. LAYOUT & UTILITÁRIOS
   ============================================================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 15px;
}
.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-header h2 { color: white; }
.section-dark .section-header p { color: rgba(255, 255, 255, 0.8); }


/* =============================================================================
   5. COMPONENTES
   ============================================================================= */

/* --- Botões --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover {
    background: #20BD5A;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.btn-large { padding: 22px 50px; font-size: 20px; }

/* Animação Pulse */
.pulse { animation: pulse 2s infinite; }
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* --- Badges --- */
.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}
.badge i { color: var(--primary); }

.offer-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Cards Genéricos --- */
.card-hover {
    transition: var(--transition);
    border: 2px solid transparent;
}
.card-hover:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

/* --- Barra de Estoque --- */
.stock-counter {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 20px;
    margin: 30px 0;
    text-align: center;
    color: #E9ECEF;
}
.stock-bar {
    background: #eee;
    height: 10px;
    border-radius: 5px;
    margin: 15px 0;
    overflow: hidden;
}
.stock-bar-fill {
    background: var(--gradient-accent);
    height: 100%;
    width: 93%;
    border-radius: 5px;
    animation: loading 2s ease-out;
}
@keyframes loading { from { width: 0; } to { width: 93%; } }
.stock-text { font-weight: 600; color: var(--accent); }


/* =============================================================================
   6. SEÇÕES DA PÁGINA
   ============================================================================= */

/* --- Barra de Urgência --- */
/* .urgency-bar {
    background: var(--gradient-accent);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: var(--z-urgency-bar);
} */

.urgency-bar {
  
    background: var(--gradient-primary); /* verde/azul = mais confiança */
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: var(--z-urgency-bar);
}


.urgency-bar i {
    margin-right: 8px;
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* --- Hero Section --- */
.hero {
    background: var(--gradient-dark);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-text h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}
.hero-text h1 span { color: var(--primary); }
.hero-text .subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 500;
}
.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.hero-image { text-align: center; }
.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* HERO BUTTONS - CENTRALIZADOS E EQUALIZADOS */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
}
.hero-buttons .btn {
    min-width: 280px;
    width: auto;
    justify-content: center;
    text-align: center;
}
.hero-buttons .btn span {
    display: inline-block;
    white-space: nowrap;
}
.hero-buttons .btn:hover {
    transform: translateY(-3px);
}

/* --- Prova Social --- */
.social-proof {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}
.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.proof-item h3 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 5px;
}
.proof-item p {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
}

/* --- Benefícios --- */
.benefits { padding: 100px 0; background: white; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.benefit-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}
.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
}
.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary);
}
.benefit-card p {
    color: var(--gray);
    font-size: 15px;
}

/* --- Depoimentos --- */
.testimonials { padding: 100px 0; background: var(--light); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}
.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--primary);
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-card h4 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 10px;
}
.testimonial-card .result {
    color: var(--success);
    font-weight: 700;
    margin-bottom: 15px;
}
.testimonial-card p {
    color: var(--gray);
    font-size: 14px;
    font-style: italic;
}
.testimonial-card .play-btn {
    margin-top: 20px;
    color: var(--accent);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.testimonial-card .play-btn i { font-size: 20px; }
.testimonial-card .location {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 10px;
}
.testimonial-card .location i {
    margin-right: 5px;
    color: var(--primary);
}

/* Botão "Ver Mais Depoimentos" */
.see-more-container {
    text-align: center;
    margin-top: 50px;
    padding: 40px 0;
}
.see-more-container .btn {
    padding: 20px 50px;
    font-size: 18px;
}

/* --- Vídeos da Nutricionista --- */
.nutritionist-section {
    padding: 100px 0;
    background: var(--light);
}

.nutritionist-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: white;
    padding: 20px 35px;
    border-radius: var(--radius);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
    margin: 25px auto 35px;
}

.nutritionist-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    flex-shrink: 0;
}

.nutritionist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verified-badge {
    position: absolute;
    bottom: 3px;
    right: 3px;
    background: var(--success);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid white;
}

.nutritionist-info {
    text-align: left;
}

.nutritionist-info h3 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 4px;
}

.nutritionist-title {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2px;
}

.nutritionist-credentials {
    font-size: 11px;
    color: var(--gray);
}

.pre-video-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin: 15px auto 30px;
    animation: pulse 2s infinite;
}

.pre-video-badge i {
    font-size: 18px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 15px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.video-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 140px;
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 25px;
    flex-shrink: 0;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 107, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: var(--transition);
}

.video-card:hover .video-play-overlay {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.video-content {
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-topic {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    align-self: center;
}

.video-content h4 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: 600;
    flex-grow: 1;
}

.video-content p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

/* --- Como Funciona --- */
.how-it-works { padding: 100px 0; background: var(--gradient-dark); }
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}
.step { text-align: center; position: relative; }
.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin: 0 auto 25px;
}
.step h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
}
.step p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

/* --- Ingredientes --- */
.ingredients { padding: 100px 0; background: white; }
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.ingredient-card {
    background: var(--light);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}
.ingredient-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.ingredient-icon { font-size: 40px; margin-bottom: 15px; }
.ingredient-card h4 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 10px;
}
.ingredient-card p {
    font-size: 13px;
    color: var(--gray);
}

/* --- Ofertas --- */
.offers {
    padding: 100px 0;
    background: linear-gradient(180deg, #F8F9FA 0%, #E9ECEF 100%);
}
.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}
.offer-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
}
.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}
.offer-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, #FFFFFF 0%, #F0FFFA 100%);
}
.offer-image-container {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}
.offer-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.offer-card:hover .offer-image { transform: scale(1.05); }
.offer-card h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 10px;
}
.offer-card .pots {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 15px;
}
.offer-card .price-old {
    font-size: 16px;
    color: var(--gray);
    text-decoration: line-through;
    margin-bottom: 5px;
}
.offer-card .price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin: 5px 0;
}
.offer-card .price-installments {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
}
.offer-card .btn {
    width: 100%;
    margin-top: auto;
}
.savings {
    background: var(--success);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

/* --- Garantia --- */
.guarantee { padding: 80px 0; background: white; }
.guarantee-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.guarantee-badge { text-align: center; }
.guarantee-badge img {
    max-width: 300px;
    animation: float 3s ease-in-out infinite;
}
.guarantee-text h2 {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 20px;
}
.guarantee-text p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 30px;
}
.guarantee-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.guarantee-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}
.guarantee-feature i {
    color: var(--success);
    font-size: 20px;
}

/* --- FAQ --- */
.faq { padding: 100px 0; background: var(--light); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.faq-question {
    padding: 25px 30px;
    font-weight: 600;
    font-size: 16px;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.faq-question:hover { background: #F8F9FA; }
.faq-question i { transition: var(--transition); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}
.faq-answer p {
    color: var(--gray);
    font-size: 15px;
}

/* --- CTA Final --- */
.final-cta {
    padding: 100px 0;
    background: var(--gradient-dark);
    text-align: center;
}
.final-cta h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 20px;
}
.final-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
footer {
    background: var(--secondary);
    padding: 60px 0 30px;
    color: white;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}
.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}
.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}


/* =============================================================================
   7. MODAIS
   ============================================================================= */

/* --- Modal Depoimento Individual (VÍDEO) - Z-Index ALTO --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: var(--z-modal-video);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }

.modal-content {
    background: white;
    border-radius: var(--radius);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: calc(var(--z-modal-video) + 1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content { transform: scale(1); }

.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--accent);
    color: white;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    z-index: calc(var(--z-modal-video) + 2);
}
.modal-close:hover { background: var(--accent-hover); }

.modal-body { padding: 40px; }

/* 🔧 CORREÇÃO DEFINITIVA: Vídeo sem corte para vídeos verticais */
.modal-video {
    width: 100%;
    background: #000;
    border-radius: var(--radius);
    margin-bottom: 30px;
    overflow: hidden;
    /* 🔧 REMOVIDO: aspect-ratio fixo que causava corte */
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 70vh;
}

.modal-video iframe,
.modal-video video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
    object-fit: contain; /* 🔧 EVITA ZOOM/CORTE */
}

.modal-testimonial-info { text-align: center; }
.modal-testimonial-info h3 {
    font-size: 28px;
    color: var(--secondary);
    margin-bottom: 10px;
}
.modal-testimonial-info .result {
    color: var(--success);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}
.modal-testimonial-info p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
}

/* --- Modal TODOS os Depoimentos (LISTA) - Z-Index MENOR --- */
#all-testimonials-modal.modal-overlay {
    z-index: var(--z-modal-list);
}
#all-testimonials-modal .modal-content {
    max-width: 1200px;
    z-index: calc(var(--z-modal-list) + 1);
}
#all-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* --- Modal Vídeos da Nutricionista --- */
#nutritionist-video-modal.modal-overlay {
    z-index: var(--z-modal-video);
}
#nutritionist-video-modal .modal-content {
    max-width: 800px;
}
#nutritionist-video-modal .modal-body {
    padding: 25px;
}

/* --- Exit-Intent Modal - Z-Index MÁXIMO --- */
.exit-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--z-exit-modal);
    padding: 20px;
    animation: fadeIn 0.3s ease;
}
.exit-modal-overlay.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.exit-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.exit-modal-close {
    position: absolute;
    top: 15px; right: 20px;
    background: var(--accent);
    color: white;
    border: none;
    width: 35px; height: 35px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.exit-modal-close:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.exit-modal-header {
    background: var(--gradient-dark);
    padding: 30px 30px 20px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}
.exit-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}
.exit-modal-header h3 {
    color: white;
    font-size: 26px;
    margin-bottom: 8px;
}
.exit-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

.exit-offers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 25px 30px;
}
.exit-offer-card {
    background: var(--light);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}
.exit-offer-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.exit-offer-card.featured {
    background: linear-gradient(180deg, #F0FFFA 0%, #FFFFFF 100%);
    border-color: var(--primary);
}
.exit-offer-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.exit-offer-badge.best { background: var(--gradient-accent); }

.exit-offer-image {
    max-width: 100%;
    height: 100px;
    object-fit: contain;
    margin: 15px 0;
}
.exit-offer-card h4 {
    font-size: 18px;
    color: var(--secondary);
    margin: 10px 0 5px;
    font-weight: 700;
}
.exit-offer-desc {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 15px;
}
.exit-price-old {
    font-size: 14px;
    color: var(--gray);
    text-decoration: line-through;
}
.exit-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin: 5px 0;
}
.exit-installments {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 15px;
}
.exit-cta {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
}

.exit-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px 25px;
    color: var(--gray);
    font-size: 13px;
    border-top: 1px solid #eee;
}
.exit-guarantee i {
    color: var(--success);
    font-size: 18px;
}

.exit-modal-no-thanks {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 15px;
    color: var(--gray);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    border-top: 1px solid #eee;
}
.exit-modal-no-thanks:hover {
    color: var(--accent);
    text-decoration: underline;
}


/* =============================================================================
   8. ELEMENTOS FLUTUANTES & LOADING
   ============================================================================= */

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    background: #25D366;
    color: white;
    width: 70px; height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: var(--z-whatsapp-float);
    transition: var(--transition);
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-loading);
}
.loading-spinner {
    width: 50px; height: 50px;
    border: 5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* =============================================================================
   9. ANIMAÇÕES & UTILITÁRIOS
   ============================================================================= */

/* Fade-in Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =============================================================================
   10. RESPONSIVO
   ============================================================================= */

/* Tablets & Desktops menores (≤1024px) */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 36px; }
    .hero-badges { justify-content: center; }
    .hero-buttons { justify-content: center; }
    
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .videos-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
    .offers-grid { grid-template-columns: repeat(2, 1fr); }
    .guarantee-content { grid-template-columns: 1fr; text-align: center; }
    .guarantee-features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    
    #all-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .urgency-bar { font-size: 12px; padding: 10px 15px; }
    
    .hero { padding: 60px 0 80px; }
    .hero-text h1 { font-size: 28px; }
    .hero-text .subtitle { font-size: 16px; }
    
    .btn { padding: 15px 30px; font-size: 16px; }
    .btn-large { padding: 18px 40px; font-size: 18px; }
    
    .section-header h2 { font-size: 30px; }
    
    .benefits-grid,
    .testimonials-grid,
    .videos-grid,
    .ingredients-grid,
    .offers-grid { grid-template-columns: 1fr; }
    
    .proof-grid { grid-template-columns: 1fr; gap: 20px; }
    .proof-item h3 { font-size: 28px; }
    
    .final-cta h2 { font-size: 30px; }
    
    .whatsapp-float {
        width: 60px; height: 60px;
        font-size: 30px;
        bottom: 20px; right: 20px;
    }
    
    .modal-body { padding: 20px; }
    .offer-image-container { height: 120px; }
    
    /* Exit Modal Mobile */
    .exit-offers-grid { grid-template-columns: 1fr; padding: 20px; }
    .exit-modal-header h3 { font-size: 20px; }
    .exit-subtitle { font-size: 14px; }
    .exit-price { font-size: 26px; }
    .exit-offer-image { height: 80px; }
    
    /* Modal Lista Depoimentos Mobile */
    #all-testimonials-grid { grid-template-columns: 1fr; }
    .see-more-container { margin-top: 30px; padding: 20px 0; }
    .see-more-container .btn {
        padding: 15px 30px;
        font-size: 16px;
        width: 100%;
    }
    
    /* Hero Buttons Mobile */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .hero-buttons .btn {
        min-width: 100%;
        max-width: 320px;
        padding: 15px 25px;
        font-size: 16px;
    }
    .hero-buttons .btn span {
        white-space: normal;
    }
    
    /* Nutricionista Mobile */
    .nutritionist-section { padding: 60px 0; }
    .nutritionist-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .nutritionist-info { text-align: center; }
    .videos-grid { max-width: 400px; }
    .video-card { padding: 30px 20px; }
    .video-thumbnail { height: 120px; }
    .video-content h4 { font-size: 14px; }
    .video-content p { font-size: 12px; }
    
    /* Modal Vídeo Mobile - Ajuste para vídeos verticais */
    .modal-video {
        max-height: 50vh;
    }
    .modal-video video {
        max-height: 50vh;
    }




}