:root {
    /* Paleta OBRIGATÓRIA */
    --primary: #22C55E;
    --primary-dark: #16A34A;
    --text-color: #1F2937;
    --text-light: #4B5563;
    --bg-color: #F9FAFB;
    --bg-white: #FFFFFF;
    
    /* Tipografia */
    --font-main: 'Inter', sans-serif;
    
    /* Outros Valores */
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-floating: 0 20px 25px -5px rgba(34, 197, 94, 0.25), 0 10px 10px -5px rgba(34, 197, 94, 0.1);
}

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

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* UI UTILS */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

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

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

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    background-color: rgba(34, 197, 94, 0.1);
    border-radius: 9999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge.center {
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.2;
    text-wrap: balance;
    margin-left: auto;
    margin-right: auto;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.margin-top-md { margin-top: 2rem; }
.margin-top-lg { margin-top: 3.5rem; }

/* BOTÕES DE ALTA CONVERSÃO */
.cta-primario {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--primary);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.cta-primario:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-secundario {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    border: 2px solid var(--text-color);
    transition: var(--transition);
}

.cta-secundario:hover {
    background-color: var(--text-color);
    color: #fff;
}

.btn-gross {
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
}

.btn-full {
    width: 100%;
}

/* HEADER FIXO */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 1rem 0;
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.025em;
    justify-self: start;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-self: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-nav {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    justify-self: end;
}

.cta-nav:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

.nav-phone {
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(255,255,255,0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    transition: var(--transition);
}

.hamburger { top: 50%; transform: translateY(-50%); }
.hamburger::before { content: ''; top: -8px; }
.hamburger::after { content: ''; bottom: -8px; }

/* Ajuste Mobile Menu Ativo na classe JS */

/* HERO 100vh */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; 
    background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%);
    position: relative;
    overflow: hidden;
}

/* Background Image Fallback Pattern for Hero to simulate modern SaaS/Clinic look lightly */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 100%;
    gap: 2rem;
    text-align: center;
    justify-items: center;
}

.hero-badge {
    background-color: var(--text-color);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title span {
    color: var(--primary);
    white-space: nowrap;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat span:last-child {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* GRIDS RESPONSIVOS GERAIS */
.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    align-items: center;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* SOBRE */
.sobre { background-color: var(--bg-white); }
.sobre-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-color);
}

.bio-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.highlight-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-dark);
    padding-left: 1rem;
    border-left: 4px solid var(--primary);
}

/* SERVIÇOS */
.service-card {
    background-color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(34, 197, 94, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* TIMELINE (COMO FUNCIONA) */
.timeline {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    text-align: left;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 2px;
    height: 100%;
    background-color: rgba(34, 197, 94, 0.2);
}

.timeline-item {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 2.5rem;
}

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

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 0 0 4px var(--bg-color);
    z-index: 1;
}

.timeline-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
}

.timeline-item p {
    color: var(--text-light);
}

/* RESULTADOS / DEPOIMENTOS */
.resultados { background-color: var(--text-color); color: white; }
.resultados .section-title { color: white; }
.resultados .badge { background-color: rgba(255,255,255,0.1); color: var(--primary); }

.testimonial-card {
    background-color: rgba(255,255,255,0.05);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: left;
}

.stars {
    color: #FBBF24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #E5E7EB;
}

.testimonial-card .author {
    font-style: normal;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* CTA FINAL */
.cta-final { background-color: var(--bg-white); }
.cta-final h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}
.cta-final p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

/* CONTATO FORM */
.contato-info { display: flex; flex-direction: column; justify-content: center; }
.contato-lista { display: flex; flex-direction: column; gap: 1.5rem; }
.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contato-item .icon { font-size: 1.5rem; }
.contato-item div { display: flex; flex-direction: column; }
.contato-item strong { color: var(--text-color); font-size: 1.1rem; }
.contato-item span { color: var(--text-light); }
.contato-item:hover strong { color: var(--primary); }

.form-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* FOOTER */
.footer { background-color: var(--text-color); color: #D1D5DB; padding: 4rem 0 2rem; }
.container-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.footer-brand .brand-name {
    font-size: 1.5rem; color: white; font-weight: 800; display: block; margin-bottom: 1rem;
}
.footer-mapa { width: 100%; border-radius: 8px; overflow: hidden; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; margin-top: 3rem; font-size: 0.875rem; }

/* FLOAT WHATSAPP */
.float-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-floating);
    z-index: 9999;
    transition: var(--transition);
}

.float-whatsapp:hover {
    transform: scale(1.1);
    background-color: var(--primary-dark);
}

/* AOS VANILLA SIMULATION CSS */
[data-aos] {
    opacity: 0;
    transition-duration: 0.8s;
    transition-property: transform, opacity;
    transition-timing-function: ease-out;
}
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].aos-animate { opacity: 1; transform: translate(0) scale(1); }

/* DELAYS OPREACIONAIS */
[data-aos-delay="50"] { transition-delay: 50ms; }
[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="150"] { transition-delay: 150ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }

/* MEDIA QUERIES - RESPONSIVIDADE EXPLICITA */

/* TABLET (481px - 768px) e Desktop Menor */
@media (max-width: 992px) {
    .hero-stats { gap: 1.5rem; }
    .hero-title { font-size: 3rem; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 400px; margin: 0 auto; }
    .cta-secundario, .cta-primario { width: 100%; }
    .grid-2-cols { grid-template-columns: 1fr; }
    .container-footer { grid-template-columns: 1fr; gap: 2rem; }
}

/* MOBILE ATE 768px */
@media (max-width: 768px) {
    .nav-links, .cta-nav { display: none; }
    .mobile-menu-btn { display: block; }
    
    /* Menu Mobile Setup (Aberto) */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        border-top: 1px solid #f3f4f6;
    }
    
    .nav-links.active a { font-size: 1.25rem; font-weight: 600; color: var(--text-color); }
    .nav-links.active .cta-nav { display: inline-flex; width: 100%; justify-content: center; margin-top: 1rem; }

    /* Hamburger Animation setup */
    .mobile-menu-btn.open .hamburger { background-color: transparent; }
    .mobile-menu-btn.open .hamburger::before { transform: rotate(45deg); top: 0; }
    .mobile-menu-btn.open .hamburger::after { transform: rotate(-45deg); bottom: 0; }

    .hero-stats { flex-wrap: wrap; justify-content: space-around; gap: 2rem; }
    
    .timeline::before { left: 20px; }
    .timeline-number { width: 40px; height: 40px; font-size: 1rem; }
    .timeline-item { padding-left: 3.5rem; }
    
    .float-whatsapp { width: 50px; height: 50px; bottom: 1rem; right: 1rem; }
    .float-whatsapp svg { width: 30px; height: 30px; }
}

/* MOBILE COMPACTO (320px - 480px) */
@media (max-width: 480px) {
    .section-padding { padding: 3.5rem 0; }
    .hero-title { font-size: 2.25rem; }
    .hero-subtitle { font-size: 1.125rem; }
    .hero-stats { flex-direction: column; gap: 2rem; align-items: center; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 2rem;}
    .stat .number { font-size: 2rem; }
    .service-card { padding: 1.5rem; }
    .form-card { padding: 1.5rem; }
}
