:root {
    --primary-color: #1F2937;
    --secondary-color: #799F4A;
    --secondary-hover: #63843C;
    --bg-white: #FFFFFF;
    --bg-hero: #F2F2F2;
    --bg-warm: #F8F6F2;
    --bg-warm-soft: #FAF8F5;
    --text-dark: #1A1A1A;
    --text-muted: #6B7280;
    --border-subtle: rgba(121, 159, 74, 0.2);
    --font-heading: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-warm);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Tipografia Delicada e Leve */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: 0.5px;
}

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

ul {
    list-style: none;
}

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

/* Subtítulos com a cor verde #799F4A */
.section-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: #799F4A !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 14px;
}

.section-dobra-white {
    background-color: var(--bg-warm-soft);
    position: relative;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-dobra-alt {
    background: var(--bg-warm);
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

/* BOTÕES MINIMALISTAS */
.btn {
    padding: 11px 22px;
    border-radius: 2px;
    font-size: 0.78rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    letter-spacing: 1.2px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
    border: 1px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.btn-primary:hover {
    background: #799F4A !important;
    border-color: #799F4A !important;
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: transparent;
    color: var(--text-dark);
    border: none;
    padding: 10px 8px;
    font-weight: 300;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.btn-whatsapp:hover {
    color: #799F4A !important;
}

/* Header */
.site-header {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%;
    max-width: 1250px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--bg-white);
    letter-spacing: 1.5px;
}

.logo span {
    color: #799F4A !important;
    font-weight: 300;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 1.4rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-menu a {
    color: var(--bg-white);
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1.5px;
}

.nav-menu a:hover {
    color: #799F4A !important;
}

.btn-header {
    background-color: transparent;
    border: 1px solid #799F4A !important;
    padding: 6px 16px;
    border-radius: 2px;
    color: #799F4A !important;
}

.btn-header:hover {
    background-color: #799F4A !important;
    color: var(--bg-white) !important;
}

/* HERO SECTION */
.hero {
    background-color: var(--bg-hero);
    padding: 95px 5%;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.welcome-tag {
    font-size: 0.75rem;
    color: #799F4A !important;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 300 !important;
    line-height: 1.12;
    color: var(--text-dark);
    margin: 15px 0 22px 0;
    letter-spacing: 0.5px;
}

.hero-text p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 0.92rem;
    font-weight: 200 !important;
    letter-spacing: 0.4px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

.rating-score {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--text-dark);
}

.stars {
    color: #799F4A !important;
    font-size: 0.85rem;
    letter-spacing: 3px;
}

/* FUSÃO DA FOTO HERO */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    -webkit-mask-image: radial-gradient(circle at 60% 50%, black 50%, transparent 95%),
                        linear-gradient(to top, transparent 0%, black 15%);
    mask-image: radial-gradient(circle at 60% 50%, black 50%, transparent 95%),
                linear-gradient(to top, transparent 0%, black 15%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    filter: contrast(102%) brightness(99%);
}

/* FORMULÁRIO HORIZONTAL RÁPIDO RESPONSIVO */
.quick-contact-bar {
    background-color: #FFFFFF;
    border-top: 1px solid rgba(121, 159, 74, 0.2);
    border-bottom: 1px solid rgba(121, 159, 74, 0.2);
    padding: 40px 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    scroll-margin-top: 70px; /* Garante alinhamento exato abaixo do menu em qualquer tela */
}

.quick-contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.quick-contact-header {
    text-align: center;
    margin-bottom: 25px;
}

.quick-contact-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-dark);
}

.quick-contact-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
}

.quick-contact-form {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.input-group {
    position: relative;
    flex: 1;
    min-width: 240px;
}

.input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #799F4A;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 13px 14px 13px 40px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    background-color: #FAF8F5;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

.input-group input:focus {
    border-color: #799F4A;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(121, 159, 74, 0.1);
}

.btn-lead {
    background-color: #799F4A !important;
    color: #FFFFFF !important;
    border: 1px solid #799F4A !important;
    padding: 13px 28px;
    font-weight: 400;
    white-space: nowrap;
}

.btn-lead:hover {
    background-color: #63843C !important;
    border-color: #63843C !important;
    transform: translateY(-1px);
}

/* Sobre Nós */
.about-section {
    padding: 95px 5%;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-grid-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.img-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-grid-images img {
    border-radius: 4px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-content h2 {
    font-size: 2.9rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 300;
}

/* CARDS DE SERVIÇOS */
.services-section {
    padding: 95px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-header h2 {
    font-size: 2.9rem;
    font-weight: 300;
    color: var(--text-dark);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    background: #FFFFFF;
    border-color: var(--border-subtle);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.img-wrapper {
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 16px;
}

.service-card img {
    border-radius: 4px;
    height: 180px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.03);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.83rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* SEÇÃO DE TRATAMENTO & PROFISSIONAL */
.treatment-section {
    padding: 95px 5%;
}

.treatment-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: center;
}

.doctor-profile-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.doctor-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.doctor-info-glass {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    background: rgba(31, 41, 55, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
}

.doctor-info-glass h3 {
    font-size: 1.35rem;
    font-weight: 400;
    color: #799F4A !important;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.doctor-curriculum-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doctor-curriculum-list li {
    font-size: 0.78rem;
    color: #E5E7EB;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
}

.doctor-curriculum-list li i {
    color: #799F4A !important;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.treatment-content h2 {
    font-size: 2.9rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.treatment-steps-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 35px 0;
}

.step-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 16px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-card:hover {
    transform: translateY(-2px);
    border-color: #799F4A !important;
    background: #FFFFFF;
}

.step-badge {
    position: absolute;
    top: 12px;
    right: 15px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    color: #799F4A !important;
    opacity: 0.4;
    line-height: 1;
}

.step-icon {
    width: 38px;
    height: 38px;
    background: #799F4A !important;
    color: var(--bg-white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 10px;
}

.step-card h4 {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.3;
}

.margin-top-20 {
    margin-top: 20px;
}

/* Depoimentos */
.testimonials-section {
    padding: 95px 5%;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.doctor-badge {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 18px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 16px;
}

.doctor-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid #799F4A;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.doctor-badge-info h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 2px;
    line-height: 1.2;
}

.doctor-badge-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 300;
    display: block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 22px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    background: #FFFFFF;
}

.testimonial-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    margin: 15px 0;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-info img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

/* Contadores */
/* ==========================================================================
   SEÇÃO DE NÚMEROS / CONTADORES (REESTRUTURADA COM ELEGÂNCIA)
   ========================================================================== */

.counters-section {
    padding: 100px 0;
    background-color: #F8F6F2;
    border-top: 1px solid rgba(121, 159, 74, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.counters-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: center;
}

.counters-intro {
    text-align: left;
}

.counters-intro .section-subtitle {
    color: #799f4a;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.counters-intro h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 400;
    color: #2c3328;
    line-height: 1.25;
    margin-bottom: 18px;
}

.counters-intro p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.98rem;
    font-weight: 300;
    color: #666;
    line-height: 1.7;
}

/* Grelha das Cartas */
.counters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.counter-box {
    background: #ffffff;
    border: 1px solid rgba(121, 159, 74, 0.18);
    border-radius: 12px;
    padding: 35px 30px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-4px);
    border-color: rgba(121, 159, 74, 0.4);
    box-shadow: 0 15px 35px rgba(121, 159, 74, 0.08);
}

.counter-number-group {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.counter-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    font-weight: 500;
    color: #799f4a;
    line-height: 1;
}

.counter-plus {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #799f4a;
    margin-left: 2px;
}

.counter-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: #555555;
    letter-spacing: 0.3px;
}

/* Responsivo para Celulares */
@media (max-width: 868px) {
    .counters-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .counters-intro h2 {
        font-size: 2rem;
    }

    .counters-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .counter-box {
        padding: 25px 20px;
        text-align: center;
    }

    .counter-number-group {
        justify-content: center;
    }
}

/* Rodapé */
.site-footer {
    background-color: #111827;
    color: var(--bg-white);
    padding: 65px 5% 25px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #9CA3AF;
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-nav ul li, .footer-contact p {
    margin-bottom: 10px;
    color: #9CA3AF;
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    font-size: 0.78rem;
    color: #9CA3AF;
}

/* Responsivo */
@media (max-width: 992px) {
    .hero-container, .about-container, .treatment-container, .testimonials-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .counters-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 25px 20px;
        gap: 18px;
    }
    .nav-menu.active {
        display: flex;
    }

    .hero, .about-section, .services-section, .treatment-section, .testimonials-section {
        padding: 50px 6%;
    }
    
    .hero-text h1 {
        font-size: 2.7rem;
    }

    .about-content h2, .section-header h2, .treatment-content h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .quick-contact-bar {
        padding: 30px 20%;
        scroll-margin-top: 60px;
    }

    .quick-contact-form {
        flex-direction: column;
    }

    .input-group, .btn-lead {
        width: 100%;
    }

    .treatment-steps-flow {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .services-grid, .testimonials-grid, .counters-container {
        grid-template-columns: 1fr;
    }

    .counter-number, .counter-plus {
        font-size: 2.4rem;
    }
}