/* --------------------------------------------------
   DESENHO PREMIUM & PALETA DE CORES (AZUL PETRÓLEO)
   Landing Page - Dr. Mário Nascimento
   -------------------------------------------------- */

/* --- Importação e Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Paleta HSL Baseada em Azul Petróleo */
    --primary-dark: hsl(198, 65%, 12%);      /* Azul Petróleo Profundo (Tons de Fundo e Textos Escuros) */
    --primary-teal: hsl(198, 60%, 20%);      /* Teal Sóbrio Clínico */
    --primary-medium: hsl(198, 45%, 32%);    /* Mapeamento Médio */
    --accent-cyan: hsl(174, 75%, 40%);       /* Destaque / Botão de Ação (Glow & CTAs) */
    --accent-cyan-hover: hsl(174, 80%, 34%);
    --accent-cyan-light: hsl(174, 60%, 93%);
    --bg-light: hsl(198, 25%, 97%);          /* Fundo respirável */
    --bg-white: #ffffff;
    --border-color: hsl(198, 20%, 90%);
    --text-dark: hsl(198, 50%, 10%);
    --text-muted: hsl(198, 18%, 42%);
    
    /* Configurações Globais */
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 28px;
    --shadow-sm: 0 4px 10px rgba(6, 21, 29, 0.04);
    --shadow-md: 0 10px 30px rgba(6, 21, 29, 0.08);
    --shadow-lg: 0 20px 50px rgba(6, 21, 29, 0.12);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Layout Utilitário --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.align-center {
    align-items: center;
}

.section-padding {
    padding: 96px 0;
}

.bg-light {
    background-color: var(--bg-white);
}

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

/* --- Títulos e Tipografia --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.25;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* --- Componentes de Design: Botões --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-cyan);
    color: var(--bg-white);
    box-shadow: 0 8px 20px rgba(13, 154, 137, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(13, 154, 137, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.btn-secondary:hover {
    background-color: var(--primary-teal);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.15rem;
}

.btn-block {
    width: 100%;
}

.icon-whatsapp {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-right: 10px;
}

/* --- Cabeçalho Flutuante --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 16px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.footer-logo-container {
    margin-bottom: 24px;
    display: inline-block;
    background-color: var(--bg-white);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
}

.footer-logo-img {
    height: 38px;
    width: auto;
    display: block;
}

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

.nav-link {
    font-family: var(--font-header);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary-teal);
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-cyan);
}

/* Hamburguer Mobile */
#mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

#mobile-menu-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--primary-dark);
    border-radius: 5px;
    transition: var(--transition);
}

/* Mobile Drawer */
#mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 100px 32px 32px;
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 24px;
}

.mobile-nav-link {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 170px;
    padding-bottom: 96px;
    background: radial-gradient(circle at 80% 20%, hsl(198, 40%, 94%) 0%, var(--bg-light) 60%);
}

.hero-container {
    align-items: center;
}

.credentials-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.credential-badge {
    background-color: var(--accent-cyan-light);
    color: var(--primary-teal);
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hero-text {
    font-size: 1.15rem;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.doctor-badge-footer {
    display: flex;
    gap: 24px;
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-medium);
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    width: fit-content;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.image-frame {
    width: 380px;
    height: 480px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-white);
    border: 8px solid var(--bg-white);
    transform: rotate(1.5deg);
    transition: var(--transition);
}

.image-frame:hover {
    transform: rotate(0) scale(1.02);
}

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

/* --- Section Headers --- */
.section-header {
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    color: var(--accent-cyan);
    font-family: var(--font-header);
    font-weight: 800;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.15rem;
    margin-top: 12px;
}

/* --- Seção: Avaliação Multiparamétrica --- */
.multiparametric-section {
    background-color: var(--bg-white);
}

.multiparametric-grid {
    gap: 64px;
}

.multiparametric-illustration {
    position: relative;
    display: flex;
    justify-content: center;
}

.multiparametric-illustration img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.gradient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, var(--accent-cyan-light) 0%, transparent 70%);
    z-index: 1;
    opacity: 0.6;
}

.integration-banner {
    background-color: var(--primary-dark);
    padding: 32px;
    border-radius: var(--border-radius-md);
    color: var(--bg-white);
    margin-bottom: 36px;
    box-shadow: var(--shadow-md);
}

.integration-banner h3 {
    color: var(--bg-white);
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.integration-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
}

.pillars-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.pillar-card {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.pillar-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pillar-num {
    font-family: var(--font-header);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
}

.pillar-info h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.pillar-info p {
    font-size: 0.95rem;
}

/* --- Seção: Exames (Tabs) --- */
.exams-tabs-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    background-color: var(--bg-light);
    padding: 8px;
    border-radius: 50px;
    width: fit-content;
    margin: 0 auto;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-teal);
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
}

.tab-btn.active {
    background-color: var(--primary-teal);
    color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.tabs-content {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 48px;
    border: 1px solid var(--border-color);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.panel-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
}

.panel-info h3 {
    font-size: 1.85rem;
    margin-bottom: 12px;
}

.highlight-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-teal);
    margin-bottom: 20px;
}

.panel-info p {
    margin-bottom: 24px;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
}

.features-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.98rem;
    font-weight: 500;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    font-weight: 800;
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.panel-icon-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.panel-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--accent-cyan);
}

.panel-icon-card h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.diff-item {
    font-size: 0.92rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.diff-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.panel-image-container {
    margin: 24px 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    max-width: 100%;
}

.panel-inline-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Seção: Doenças --- */
.diseases-grid {
    margin-bottom: 48px;
}

.disease-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 36px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.disease-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-cyan-light);
}

.card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent-cyan-light);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.disease-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.disease-card p {
    font-size: 0.95rem;
}

/* --- Seção: Sobre Mim --- */
.about-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-subtitle {
    font-size: 1.15rem;
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

.about-text {
    margin-bottom: 20px;
}

.academic-timeline {
    margin-top: 36px;
    position: relative;
    padding-left: 20px;
}

.academic-timeline::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -20px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    border: 2px solid var(--bg-white);
    box-shadow: 0 0 0 2px var(--accent-cyan);
}

.timeline-info h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.timeline-info p {
    font-size: 0.88rem;
}

.about-card-container {
    display: flex;
    justify-content: center;
}

.stats-card {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    max-width: 380px;
}

.stats-card h4 {
    color: var(--bg-white);
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.stats-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background-color: var(--accent-cyan);
}

.stats-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.stat-row {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.stat-number {
    font-family: var(--font-header);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* --- Seção: Depoimentos --- */
.testimonials-grid {
    margin-top: 16px;
}

.testimonial-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #ffb400;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.96rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.5;
}

.patient-name {
    font-family: var(--font-header);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-teal);
    align-self: flex-end;
}

/* --- Seção: Contato & Mapa --- */
.contact-grid {
    gap: 40px;
}

.contact-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.info-block {
    margin-bottom: 32px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.info-address {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
}

.info-block h5 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--accent-cyan-light);
    padding-bottom: 8px;
    width: fit-content;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.channel-item {
    display: flex;
    font-size: 0.98rem;
}

.channel-label {
    font-weight: 700;
    color: var(--primary-teal);
    width: 100px;
}

.channel-value {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.channel-value:hover {
    color: var(--accent-cyan);
}

.map-column {
    height: 480px;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 8px solid var(--bg-white);
}

/* --- Rodapé --- */
#main-footer {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 64px 0 48px;
}

.footer-title {
    color: var(--bg-white);
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.footer-details {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-clinic {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-separator {
    width: 80px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto 24px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* --- Animações --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsividade (Media Queries) --- */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .grid-2 {
        gap: 32px;
    }
    
    .image-frame {
        width: 320px;
        height: 400px;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 72px 0;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero-container {
        text-align: center;
        flex-direction: column-reverse;
    }
    
    .hero-container .hero-image-container {
        grid-row: 1;
        margin-bottom: 40px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-doctor-footer {
        margin: 0 auto;
    }
    
    #mobile-menu-toggle {
        display: flex;
    }
    
    #nav-menu, .header-cta {
        display: none;
    }
    
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .about-card-container {
        margin-top: 48px;
    }
    
    .map-column {
        height: 360px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 15px;
    }
    
    .hero-section {
        padding-top: 140px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .tabs-nav {
        border-radius: var(--border-radius-md);
        padding: 4px;
        width: 100%;
    }
    
    .tab-btn {
        width: 100%;
        padding: 10px 16px;
        text-align: center;
    }
    
    .tabs-content {
        padding: 24px;
    }
}
