:root {
    /* Paleta de Cores (Baseada na VSL - Mais Azul) */
    --primary-blue: #0056b3;
    --dark-blue: #002a5c;
    --deep-dark-blue: #001229;
    --light-blue: #e3f2fd;
    --white: #ffffff;
    --text-light: #f4f4f4;
    --text-dark: #333333;
    --gray-bg: #f8f9fa; /* Fundo cinza claro para alternância */
    
    /* Cores de Ação/Sucesso */
    --cta-color: #00a8e8; /* Azul brilhante para botões */
    --cta-hover: #0096d1;
    --success-color: #28a745;
    
    /* Tipografia */
    --font-main: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Utilitários de Texto */
.center { text-align: center; }
.section-title {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 700;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

/* Header */
.header {
    background-color: var(--white);
    padding: 0; /* Padding zerado para altura mínima */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* min-height removido para ajustar ao conteúdo */
}

/* Ajuste Logo Imagem */
.logo-img {
    max-height: 80px; /* Aumentado para 100px */
    width: auto;      /* Mantém proporção */
    display: block;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 14px;
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at center, var(--dark-blue) 0%, var(--deep-dark-blue) 100%);
    color: var(--white);
    padding: 80px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p.subheadline {
    font-size: 1.25rem;
    color: var(--light-blue);
    margin-bottom: 40px;
    font-weight: 300;
}

/* CTA Button */
.btn-cta {
    display: inline-block;
    background-color: var(--cta-color);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4);
}

.btn-cta:hover {
    background-color: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 232, 0.6);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.modal-open {
    overflow: hidden;
}

.welcome-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 18, 41, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    padding: 20px;
}

.welcome-modal-overlay.active {
    display: flex;
}

.welcome-modal {
    width: 100%;
    max-width: 720px;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
    position: relative;
    transform: translateY(14px) scale(0.99);
    animation: welcomeModalIn 220ms ease-out forwards;
}

@keyframes welcomeModalIn {
    to { transform: translateY(0) scale(1); }
}

.welcome-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(0, 86, 179, 0.95);
    color: var(--white);
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    z-index: 2;
}

.welcome-modal-close:hover {
    transform: scale(1.03);
    filter: brightness(1.06);
}

.welcome-modal-cover {
    width: 100%;
    height: 190px;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
}

.welcome-modal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.welcome-modal-content {
    padding: 28px 26px 24px;
    text-align: center;
}

.welcome-countdown {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: -44px;
    margin-bottom: 18px;
}

.welcome-countdown-item {
    background: #f2f7ff;
    border: 1px solid rgba(0, 86, 179, 0.12);
    border-radius: 12px;
    width: 92px;
    padding: 10px 10px 8px;
    box-shadow: 0 10px 22px rgba(0, 42, 92, 0.08);
}

.welcome-countdown-value {
    display: block;
    font-weight: 800;
    color: var(--dark-blue);
    font-size: 22px;
    line-height: 1.1;
}

.welcome-countdown-label {
    display: block;
    font-size: 12px;
    color: rgba(0, 42, 92, 0.72);
    margin-top: 2px;
}

.welcome-title {
    font-size: 1.9rem;
    color: var(--dark-blue);
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.welcome-subtitle {
    color: #5a6775;
    margin-bottom: 18px;
}

.welcome-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}

.welcome-form input {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #e7edf5;
    background: #ffffff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.welcome-form input:focus {
    border-color: rgba(0, 168, 232, 0.8);
    box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.14);
}

.welcome-submit {
    width: 100%;
    border: none;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-blue), var(--cta-color));
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    box-shadow: 0 10px 26px rgba(0, 86, 179, 0.18);
}

.welcome-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.welcome-terms {
    margin-top: 14px;
    font-size: 12px;
    color: #6b7280;
}

.welcome-terms a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
}

.welcome-terms a:hover {
    text-decoration: underline;
}

.welcome-success {
    margin-top: 12px;
    color: var(--dark-blue);
    font-weight: 700;
    min-height: 22px;
}

@media (max-width: 520px) {
    .welcome-modal-cover {
        height: 160px;
    }

    .welcome-countdown-item {
        width: 86px;
    }

    .welcome-title {
        font-size: 1.55rem;
    }
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

.badge svg {
    width: 20px;
    height: 20px;
    fill: var(--success-color);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    padding: 3px;
}

/* --- SEÇÃO: O QUE É --- */
.section-what-is {
    padding: 80px 0;
    background-color: var(--white);
}

.section-premium-plan {
    padding: 80px 0;
    background-color: var(--white);
}

.premium-plan-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 30px;
    margin-top: 30px;
    align-items: start;
}

.premium-plan-card {
    background: var(--gray-bg);
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.premium-plan-card h3 {
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.premium-plan-card--intro p {
    color: #444;
    margin-bottom: 16px;
}

.premium-med-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
}

.premium-med-card {
    background: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 18px;
}

.premium-med-card h4 {
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.premium-med-card p {
    margin-bottom: 8px;
    color: #555;
}

.premium-med-card p:last-child {
    margin-bottom: 0;
}

.premium-dose {
    color: #555;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .premium-plan-grid {
        grid-template-columns: 1fr;
    }
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.product-slider {
    position: relative;
    width: 100%;
    height: 400px; /* Mesma altura do placeholder anterior */
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2.5s ease-in-out;
    transform: translateX(100%); /* Padrão: fora da tela à direita */
    z-index: 1;
}

.slider-img.active {
    transform: translateX(0); /* Ativo: no centro */
    z-index: 2;
}

.slider-img.exit {
    transform: translateX(-100%); /* Saída: fora da tela à esquerda */
    z-index: 1;
}

.slider-img.no-transition {
    transition: none !important;
}

/* Responsividade para o slider */
@media (max-width: 768px) {
    .product-slider {
        height: 300px;
    }
}

.benefits-list {
    list-style: none;
    margin: 20px 0;
}

.benefits-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 3px solid var(--cta-color);
}

.medical-note {
    font-size: 0.9rem;
    color: #888;
    margin-top: 20px;
    font-style: italic;
}

/* --- SEÇÃO: COMO FUNCIONA --- */
.section-how-works {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    color: var(--dark-blue);
    margin-bottom: 10px;
}

/* --- SEÇÃO: O QUE ESTÁ INCLUSO --- */
.section-included {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cta-container {
    margin-top: 40px;
}

/* --- SEÇÃO: PROVA SOCIAL (DEPOIMENTOS) --- */
.section-testimonials {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stars {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    min-height: 80px; /* Alinhamento visual */
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.user-info strong {
    display: block;
    color: var(--dark-blue);
}

.user-info span {
    font-size: 0.85rem;
    color: var(--success-color);
    font-weight: 600;
}

/* --- SEÇÃO: FAQ --- */
.section-faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

/* Estilos dos Tópicos (Categorias) */
.faq-topic {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-topic > summary {
    background-color: #f8f9fa;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-blue);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.faq-topic > summary:hover {
    background-color: #eef2f5;
}

.faq-topic > summary::after {
    content: '▼';
    font-size: 0.9rem;
    color: var(--primary-blue);
    transition: transform 0.3s;
}

.faq-topic[open] > summary::after {
    transform: rotate(180deg);
}

.faq-topic-content {
    padding: 0;
    border-top: 1px solid #e0e0e0;
    background-color: #fff;
}

/* Estilos dos Itens de Pergunta (Dentro dos Tópicos) */
.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item summary {
    padding: 18px 25px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-left: 35px; /* Espaço para ícone de seta customizado */
}

/* Ícone customizado para o summary da pergunta */
.faq-item summary::before {
    content: '+';
    position: absolute;
    left: 15px;
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item[open] summary::before {
    transform: rotate(45deg);
}

/* Remover o ::after antigo se existir herança ou limpar */
.faq-item summary::after {
    content: none; 
}

.faq-content {
    padding: 0 25px 25px 35px;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Texto de Confiança no Rodapé do FAQ */
.trust-text-box {
    margin-top: 40px;
    padding: 25px;
    background-color: #f0f7ff;
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    text-align: left;
}

/* --- FOOTER EXPANDIDO --- */
.footer {
    background-color: var(--deep-dark-blue);
    color: #bbb;
    padding: 60px 0 30px;
    text-align: left;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--cta-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}

.legal-warning {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsividade Básica */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero h1 { 
        font-size: 2.2rem; 
    }
    
    .hero p.subheadline {
        font-size: 1.1rem;
    }

    .header .container {
        justify-content: center; /* Centraliza logo em mobile */
    }

    .nav { 
        display: none; /* Menu mobile simplificado (sem links por enquanto) */ 
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Ajustes de Padding em Mobile */
    .section-what-is, 
    .section-how-works, 
    .section-included, 
    .section-testimonials, 
    .section-faq {
        padding: 50px 0;
    }
    
    .placeholder-img {
        height: 300px; /* Reduz altura da imagem em mobile */
    }

    .footer { text-align: center; }
    .footer-content { justify-items: center; text-align: center; }
}

/* --- MODAL DE DESCONTO --- */
.modal-overlay {
    display: none; /* Oculto por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background-color: var(--white);
    width: 100%;
    max-width: 450px; /* Largura reduzida para layout vertical */
    height: auto; /* Altura automática */
    max-height: 90vh; /* Limite de altura */
    display: flex;
    flex-direction: column; /* Sempre vertical */
    border-radius: 12px;
    overflow-y: auto; /* Scroll se necessário */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #ffffff;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.2s;
    border: 1px solid rgba(0,0,0,0.1);
}

.modal-close:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

/* Removido estilo img dentro do close pois agora é texto */

.modal-image {
    width: 100%; /* Largura total */
    height: auto; /* Altura automática para não cortar */
    max-height: 300px; /* Limite de altura */
    position: relative;
    background-color: #f0f0f0;
    flex-shrink: 0;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.modal-content {
    width: 100%; /* Largura total */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.modal-timer {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.timer-box {
    text-align: center;
}

.timer-digit {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.timer-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.modal-form {
    width: 100%;
    max-width: 350px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: #666;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.modal-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--cta-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.modal-btn:hover {
    background-color: var(--cta-hover);
    transform: translateY(-2px);
}

.modal-disclaimer {
    margin-top: 15px;
    font-size: 0.75rem;
    color: #999;
}

.modal-disclaimer a {
    color: #999;
    text-decoration: underline;
}

/* Ícones SVG com Filtro Azul */
.icon-svg {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    /* Filtro para transformar preto em azul primário (#0056b3) */
    filter: invert(18%) sepia(98%) saturate(2375%) hue-rotate(205deg) brightness(91%) contrast(101%);
}

@media (max-width: 768px) {
    .modal-container {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-image {
        width: 100%;
        height: 150px;
    }

    .modal-content {
        width: 100%;
        padding: 30px 20px;
    }

    .timer-digit {
        font-size: 2rem;
    }
}
