/* =========================================
   Design System & Variables
   ========================================= */
:root {
    /* Colors provided */
    --color-primary: #C5A880; /* Gold / Light Brown */
    --color-secondary: #8B9A82; /* Sage Green */
    --color-dark: #4A5546; /* Dark Green */
    
    /* Backgrounds & Text (Light Theme with Dark Accents) */
    --bg-page: #FDFBF7;
    --bg-surface: #FFFFFF;
    --bg-alt: #F3F5F1;
    
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #FDFBF7;
    
    /* Gradients & Glows */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), #d9c2a1);
    --glow-primary: 0 10px 25px rgba(197, 168, 128, 0.4);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img, video {
    max-width: 100%;
    height: auto;
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    color: var(--color-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-primary:hover {
    background: #b5956a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.4);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(139, 154, 130, 0.1);
    transition: var(--transition-fast);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-dark);
    transition: var(--transition-fast);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--color-dark);
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-150%);
    transition: 0.4s ease-in-out;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(74, 85, 70, 0.9) 0%, rgba(74, 85, 70, 0.6) 100%);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-page) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    padding: 0 24px;
    color: var(--text-light);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253, 251, 247, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 32px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    color: var(--text-light);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title span {
    color: var(--color-primary);
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   About Section
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
}

.about-image-wrapper img {
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(74, 85, 70, 0.15);
}

.about-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: 20px;
    z-index: 1;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-metrics {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 154, 130, 0.2);
}

.metric-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   Services / Bento Grid
   ========================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid rgba(139, 154, 130, 0.15);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 85, 70, 0.08);
    border-color: var(--color-secondary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 154, 130, 0.1);
    color: var(--color-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.bento-card:hover .card-icon {
    background: var(--color-dark);
    color: #fff;
}

.bento-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card-main {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-list {
    list-style: none;
}

.card-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.card-list li .iconify {
    color: var(--color-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* =========================================
   Testimonials
   ========================================= */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testi-card {
    background: var(--bg-surface);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(139, 154, 130, 0.1);
}

.testi-stars {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    gap: 4px;
}

.testi-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.2rem;
}

.testi-author h5 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.testi-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================
   Schedule Section
   ========================================= */
.schedule-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.schedule-info h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.schedule-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.schedule-benefits {
    list-style: none;
}

.schedule-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    font-weight: 500;
}

.schedule-benefits li .iconify {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.schedule-form-card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(74, 85, 70, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background: #fff;
    outline: none;
    transition: var(--transition-fast);
}

select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    padding: 10px 18px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    background: #fff;
}

.chip:hover {
    border-color: var(--color-secondary);
}

.chip.active {
    background: var(--color-secondary);
    color: #fff;
    border-color: var(--color-secondary);
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* =========================================
   FAQ
   ========================================= */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(139, 154, 130, 0.2);
}

.faq-question {
    padding: 24px 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question .iconify {
    transition: var(--transition-fast);
    color: var(--color-primary);
}

.faq-item.active .faq-question .iconify {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-muted);
}

/* =========================================
   Footer & Floating Elements
   ========================================= */
.footer {
    background: var(--color-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 100px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(253, 251, 247, 0.7);
    max-width: 350px;
}

.footer h5 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(253, 251, 247, 0.7);
    transition: var(--transition-fast);
}

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

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(253, 251, 247, 0.7);
    margin-bottom: 16px;
}

.footer-contact .iconify {
    color: var(--color-primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(253, 251, 247, 0.1);
    color: rgba(253, 251, 247, 0.5);
    font-size: 0.9rem;
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
    animation: pulse-wa 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================
   Animations & Reveals
   ========================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s var(--transition-smooth);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: 0.8s var(--transition-smooth);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: 0.8s var(--transition-smooth);
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .bento-grid, .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid, .schedule-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .schedule-info {
        text-align: center;
    }
    
    .schedule-benefits {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .bento-grid, .testi-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .metric-val {
        font-size: 2rem;
    }
}

/* =========================================
   Workflow / Principais Tratamentos
   ========================================= */
.workflow-section {
    position: relative;
    height: 400vh; /* 4 steps */
    padding: 0;
    overflow: visible;
    background: var(--bg-page);
}

.workflow-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1200px;
}

.workflow-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.workflow-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.workflow-step-counter {
    position: relative;
    width: 100%;
}

.workflow-big-num {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 12vw, 10rem);
    font-weight: 300;
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1px rgba(139, 154, 130, 0.4);
    position: relative;
    transition: all 0.8s ease-out;
    user-select: none;
}

.workflow-big-num-fill {
    position: absolute;
    inset: 0;
    font-family: var(--font-heading);
    font-size: clamp(6rem, 12vw, 10rem);
    font-weight: 300;
    line-height: 0.85;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: opacity 0.6s ease-out, transform 1s ease-out;
}

.workflow-big-num-fill.visible {
    opacity: 1;
    transform: scaleX(1);
}

.workflow-left-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.6s ease-out;
}

.workflow-left-label.visible {
    opacity: 1;
    transform: translateY(0);
}

.workflow-left-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--color-dark);
    line-height: 1.15;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.7s ease-out 0.08s;
}

.workflow-left-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.workflow-progress {
    width: 100%;
    height: 3px;
    background: rgba(139, 154, 130, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.workflow-progress-fill {
    height: 100%;
    background: var(--color-secondary);
    border-radius: 4px;
    width: 0%;
    transition: width 0.15s linear;
}

.workflow-dots {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.workflow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(139, 154, 130, 0.3);
    transition: all 0.5s ease-out;
}

.workflow-dot.active {
    background: var(--color-secondary);
    transform: scale(1.3);
}

.workflow-right {
    position: relative;
    height: 500px;
    perspective: 900px;
}

.workflow-panel {
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateZ(-120px) rotateY(8deg) scale(0.92);
    transition: all 0.8s ease-out;
    pointer-events: none;
    will-change: transform, opacity;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(139, 154, 130, 0.2);
}

.workflow-panel.active {
    opacity: 1;
    transform: translateZ(0) rotateY(0deg) scale(1);
    pointer-events: auto;
    box-shadow: 0 20px 40px rgba(74, 85, 70, 0.15);
}

.workflow-panel.behind {
    opacity: 0;
    transform: translateZ(-200px) rotateY(-4deg) scale(0.85);
}

.wp-image-wrap {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.wp-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.workflow-panel:hover .wp-image-wrap img {
    transform: scale(1.05);
}

.wp-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wp-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    background: rgba(197, 168, 128, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
}

.wp-body h3 {
    font-size: 1.4rem;
    color: var(--color-dark);
}

.wp-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Responsividade para Workflow */
@media (max-width: 900px) {
    .workflow-sticky {
        position: relative;
        height: auto;
        perspective: none;
        overflow: visible;
        padding: 60px 0;
    }
    .workflow-section {
        height: auto !important;
    }
    .workflow-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .workflow-left {
        display: none;
    }
    .workflow-right {
        height: auto;
        perspective: none;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .workflow-panel {
        position: relative;
        opacity: 1;
        transform: none !important;
        pointer-events: auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    .workflow-panel.behind {
        opacity: 1;
    }
}
