/* =========================================
   ESTILO CARDIOXAL - SAÚDE & CORAÇÃO
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700;900&display=swap');

:root {
    --bg-light: #ffffff;         /* White Background */
    --bg-section: #f4f6f8;       /* Very Light Gray/Blueish Section */
    --bg-card: #ffffff;          /* Card Background */
    
    /* CORES ALTERADAS PARA O NICHO CARDIO */
    --primary-orange: #d63031;   /* Heart Red (Substitui o Laranja) */
    --accent-red: #2d3436;       /* Dark Medical Gray/Blue (Substitui o Vermelho vivo de acento) */
    --cta-btn: #e17055;          /* Cor suave para hover */
    
    --text-main: #2d3436;        /* Dark Gray Text */
    --text-muted: #636e72;       /* Medium Gray Text */
    --danger: #c0392b;           /* Deep Red for Danger */
    --font-main: 'Roboto', sans-serif; /* Fonte mais "médica" */
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* GERAL */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    margin: 0;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 { color: var(--text-main); text-align: center; font-weight: 900; }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--primary-orange); margin-bottom: 20px; }
h2 { font-size: 2.2rem; margin: 50px 0 25px; text-transform: uppercase; letter-spacing: -0.5px; }

p { font-size: 1.1rem; color: var(--text-muted); }

/* HEADER E NAVEGAÇÃO */
.main-header {
    background: #fff;
    border-bottom: 3px solid var(--primary-orange); /* Linha vermelha de destaque */
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 75px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Estilo para a nova linha de inputs */
.input-row {
    display: flex;
    gap: 15px;      
    width: 100%;
    margin-bottom: 15px; 
}

.input-row .form-group {
    flex: 1;        
}

.form-group input {
    width: 100%;
}

@media (max-width: 768px) {
    .input-row {
        flex-direction: column; 
        gap: 15px;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

@media (min-width: 769px) {
    .input-group-row {
        display: flex;
        gap: 12px;       
        width: 100%;
        margin-bottom: 15px;
    }

    .input-group-row input {
        flex: 1;         
        padding: 14px;   
        font-size: 0.95rem; 
        height: 50px;    
    }

    .btn-submit {
        width: 100%;
        padding: 16px;   
    }
}

@media (max-width: 768px) {
    .input-group-row {
        display: flex;
        flex-direction: column; 
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .input-group-row input {
        width: 100%;
        height: 55px; 
    }
}

.logo { font-size: 1.6rem; font-weight: 900; color: var(--primary-orange); text-decoration: none; letter-spacing: 1px; }

/* Desktop Menu */
.nav-desktop ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 25px; }
.nav-desktop a { color: var(--text-main); text-decoration: none; font-weight: 700; transition: 0.3s; text-transform: uppercase; font-size: 0.9rem; }
.nav-desktop a:hover { color: var(--primary-orange); }

/* Hamburger Icon */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger div { width: 25px; height: 3px; background: var(--text-main); transition: 0.4s; }

/* Mobile Menu */
.nav-mobile {
    display: none; 
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: 0.5s ease-in-out;
    z-index: 999;
}
.nav-mobile.open { display: block; max-height: 400px; border-bottom: 2px solid var(--primary-orange); }
.nav-mobile ul { list-style: none; padding: 20px; margin: 0; text-align: center; }
.nav-mobile a { display: block; padding: 15px; color: var(--text-main); text-decoration: none; font-weight: bold; border-bottom: 1px solid #eee; }

/* HERO SECTION */
.hero { padding: 60px 0; background: linear-gradient(135deg, #fff 0%, #fff0f0 100%); } /* Fundo levemente avermelhado */
.top-form-section { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.top-form-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.top-form-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.top-form-image::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-orange);
    filter: blur(90px);
    opacity: 0.10;
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.top-form-container { flex: 1.5; }

/* PREÇOS */
.price-container-top { display: flex; gap: 30px; margin: 25px 0; background: #fff; padding: 20px; border-radius: 10px; justify-content: center; box-shadow: var(--shadow); border: 1px solid #eee; }
.price-old .amount { text-decoration: line-through; color: var(--text-muted); font-size: 1.4rem; }
.price-new .amount { color: var(--primary-orange); font-size: 3.2rem; font-weight: 900; }
.price-new .label { color: var(--primary-orange); font-weight: bold; text-transform: uppercase; font-size: 0.8rem; }

/* FORMULÁRIO */
.orderForm { display: flex; flex-direction: column; gap: 15px; max-width: 100%; }
input { background: #fff; border: 1px solid #ccc; padding: 18px; border-radius: 8px; color: var(--text-main); font-size: 1rem; transition: 0.3s; }
input:focus { outline: none; border-color: var(--primary-orange); box-shadow: 0 0 10px rgba(214, 48, 49, 0.1); }

.btn-submit { 
    background: linear-gradient(to right, #d63031, #b71c1c); /* Gradiente Vermelho Sangue */
    color: #fff; 
    padding: 20px; 
    border: none; 
    border-radius: 50px; 
    font-size: 1.3rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    cursor: pointer; 
    box-shadow: 0 5px 15px rgba(214, 48, 49, 0.3);
    transition: 0.3s;
    letter-spacing: 1px;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(214, 48, 49, 0.4); }

/* SINTOMAS CARDS */
.story-section { padding: 60px 0; background: #fff; }
.symptoms-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 40px 0; }
.symptom-card { background: var(--bg-card); border-radius: 12px; padding: 20px; border: 1px solid #eee; text-align: center; transition: 0.3s; box-shadow: var(--shadow); }
.symptom-card:hover { border-color: var(--primary-orange); transform: translateY(-5px); }
.symptom-img img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; }

.pain-point-v2 { background: var(--primary-orange); color: #fff; padding: 18px; border-radius: 8px; font-weight: 900; text-align: center; font-size: 1.2rem; }

/* PERIGO / DANGER */
.danger-section { padding: 70px 0; background: #fff5f5; border-top: 1px solid #ffebeb; border-bottom: 1px solid #ffebeb; }
.diseases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.disease-card { background: #fff; padding: 35px; border-radius: 12px; border-left: 6px solid var(--danger); box-shadow: var(--shadow); }
.red-title { color: var(--danger); }
.pain-point { text-align: center; color: var(--danger); font-weight: 900; margin-top: 35px; font-size: 1.3rem; text-transform: uppercase; }

/* RISK FACTORS */
.risk-factors-section { padding: 70px 0; background: var(--bg-light); }
.risk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 40px; }
.risk-item { background: #fff; padding: 25px; border-radius: 12px; text-align: center; box-shadow: var(--shadow); border: 1px solid #eee; transition: 0.3s; }
.risk-item:hover { border-color: var(--primary-orange); }
.risk-item i { font-size: 2.5rem; color: var(--primary-orange); margin-bottom: 15px; }
.risk-item h4 { color: var(--text-main); margin: 0; font-size: 1.1rem; }

/* SOLUTION SECTION */
.solution-section { padding: 70px 0; background: #fdfdfd; }
.product-intro { display: flex; align-items: center; gap: 50px; background: #fff; padding: 50px; border-radius: 15px; margin-bottom: 40px; box-shadow: var(--shadow); border: 1px solid #eee; }
.product-intro-image { flex: 1; max-width: 280px; }
.product-intro-image img { width: 100%; height: auto; }
.product-intro-text { flex: 2; text-align: left; }
.product-intro-text h3 { text-align: left; color: var(--primary-orange); font-size: 1.8rem; }

.steps-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.steps-list li { background: #fff; padding: 20px 20px 20px 50px; border-radius: 10px; position: relative; box-shadow: var(--shadow); font-weight: 500; border-left: 4px solid var(--primary-orange); }
.steps-list li::before { content: '✔'; position: absolute; left: 20px; color: var(--primary-orange); font-weight: 900; font-size: 1.2rem; }

/* CLINICAL SECTION */
.clinical-section { padding: 70px 0; background: #fff; }
.stats-container { display: flex; gap: 25px; flex-wrap: wrap; margin-top: 40px; }
.stat-box { flex: 1; min-width: 250px; background: var(--bg-section); padding: 40px; border-radius: 15px; text-align: center; box-shadow: var(--shadow); border-bottom: 5px solid var(--primary-orange); }
.stat-box h3 { font-size: 3.5rem; color: var(--primary-orange); margin: 0; }

/* INGREDIENTES */
.ingredients-section { padding: 70px 0; background: var(--bg-section); }
.ingredients-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
.ingredient-item { width: 330px; background: #fff; padding: 30px; border-radius: 15px; text-align: center; box-shadow: var(--shadow); }
.ingredient-item img { width: 130px; height: 130px; border-radius: 50%; border: 4px solid var(--primary-orange); margin-bottom: 20px; object-fit: cover; }

.technical-ingredients { background: #fff; padding: 30px; border-radius: 10px; text-align: left; max-width: 900px; margin: 40px auto 0; border: 2px dashed #ccc; }
.technical-ingredients h3 { font-size: 1.1rem; color: var(--primary-orange); margin-bottom: 10px; text-align: left; }
.technical-ingredients p { font-size: 0.95rem; color: var(--text-muted); margin: 0; line-height: 1.8; }

/* EXPERT */
.expert-section { padding: 80px 0; background: #fff; }
.expert-grid { display: flex; align-items: center; gap: 50px; background: #f9f9f9; padding: 50px; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid #eee; }
.expert-photo { width: 280px; border-radius: 10px; box-shadow: var(--shadow); }
blockquote { font-size: 1.2rem; font-style: italic; color: var(--text-main); border-left: 6px solid var(--primary-orange); padding-left: 30px; margin: 20px 0; background: #fff; padding: 20px; border-radius: 0 10px 10px 0; }

/* TESTIMONIALS */
.social-proof-section { padding: 70px 0; background: var(--bg-section); }
.social-proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.proof-card { background: #fff; padding: 35px; border-radius: 15px; box-shadow: var(--shadow); }
.review-header { display: flex; align-items: center; margin-bottom: 20px; }
.review-avatar { width: 70px; height: 70px; border-radius: 50%; border: 3px solid var(--primary-orange); margin-right: 20px; }
.review-rating { color: #f1c40f; font-size: 1.4rem; margin-bottom: 15px; }

/* COMPARISON */
.comparison-section { padding: 70px 0; background: #fff; }
.table-responsive { overflow-x: auto; margin-top: 40px; }
.comparison-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); }
.comparison-table th, .comparison-table td { padding: 25px; text-align: center; border: 1px solid #eee; }
.comparison-table th { background: #f8f9fa; font-weight: 900; color: var(--text-main); }
.highlight-col { background: #fff0f0; color: var(--primary-orange); font-weight: 900; font-size: 1.2rem; }

/* STEPS */
.steps-section { padding: 70px 0; background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; margin-top: 40px; }
.step-card { background: var(--bg-section); padding: 40px 25px; border-radius: 15px; transition: 0.3s; }
.step-card:hover { transform: translateY(-10px); background: #fff; border: 1px solid var(--primary-orange); }
.step-icon { font-size: 3rem; color: var(--primary-orange); margin-bottom: 20px; }

/* FINAL CTA & TIMER */
.final-call-section { padding: 80px 0; background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); } /* Fundo vermelho forte no final */
.final-call-section h2, .final-call-section p { color: #fff; } /* Texto branco no fundo vermelho */
.final-form-container { max-width: 550px; margin: 40px auto; }
.form-card { background: #fff; border: 4px solid rgba(255,255,255,0.3); padding: 50px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.form-card h2 { color: var(--primary-orange); } /* Título do form volta a ser vermelho pois o fundo é branco */
.timer { display: flex; justify-content: center; gap: 15px; margin: 25px 0; }
.timer-box { background: var(--text-main); color: #fff; padding: 12px 20px; border-radius: 8px; font-weight: 900; font-size: 1.4rem; }

.price-container { display: flex; align-items: center; justify-content: center; gap: 30px; margin: 30px 0; padding: 25px; background: #f9f9f9; border-radius: 15px; border: 1px solid #eee; }
.price-side-image { width: 100px; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1)); }
.price-content .price-old { font-size: 1.2rem; text-decoration: line-through; color: #999; }
.price-content .price-new { font-size: 2.8rem; color: var(--primary-orange); font-weight: 900; line-height: 1; }

/* FOOTER */
.main-footer { background-color: #222; color: #aaa; padding: 80px 0 40px; font-size: 0.9rem; text-align: center; }
.footer-top strong { color: var(--primary-orange); }
.footer-links { margin-top: 15px; }
.footer-links a { color: #fff; text-decoration: none; margin: 0 15px; transition: 0.3s; }
.footer-links a:hover { color: var(--primary-orange); }
.footer-disclaimer { max-width: 1000px; margin: 40px auto; padding: 25px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; text-align: justify; line-height: 1.7; }
.footer-platform-disclaimer { font-size: 0.8rem; color: #555; margin-top: 30px; }

/* RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .hamburger { display: flex; }
    .top-form-section { flex-direction: column; text-align: center; }
    .top-form-container { text-align: center; }
    .price-container-top { flex-direction: column; gap: 10px; }
    .price-new .amount { font-size: 2.5rem; }
    
    .diseases-grid, .risk-grid, .steps-grid { grid-template-columns: 1fr; }
    .product-intro, .expert-grid { flex-direction: column; text-align: center; }
    .product-intro-text, .expert-content { text-align: center; }
    .product-intro-text h3 { text-align: center; }
    blockquote { border-left: none; border-top: 4px solid var(--primary-orange); padding: 20px 0; border-radius: 10px; }
    
    .expert-photo { width: 100%; max-width: 280px; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .form-card { padding: 30px 20px; }
}

/* FORÇAR CAMPOS LADO A LADO NO DESKTOP */
@media (min-width: 769px) {
    #top-form .orderForm {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        max-width: 100% !important;
        align-items: center !important;
    }

    #top-form .orderForm .form-group {
        flex: 1 1 200px !important;
        width: auto !important;     
        margin: 0 !important;
    }

    #top-form .orderForm .btn-submit {
        width: 100% !important;    
        flex-basis: 100% !important;
        margin-top: 10px !important;
    }
    
    #top-form .orderForm .form-group input {
        width: 100% !important;
    }
}

/* NO MOBILE CONTINUA UM EMBAIXO DO OUTRO */
@media (max-width: 768px) {
    #top-form .orderForm {
        flex-direction: column !important;
    }
    #top-form .orderForm .form-group {
        width: 100% !important;
    }
}