/* CSS Variables for Premium Aesthetics */
:root {
    /* Colors */
    --clr-white: #ffffff;
    --clr-nude: #F5F0EB;
    /* Soft beige/nude for backgrounds */
    --clr-sand: #E3D9CD;
    /* Deeper tone for accents */
    --clr-earth: #A6907C;
    /* Typography soft brown */
    --clr-gold: #CDB79A;
    /* Soft gold */
    --clr-dark: #2C3531;
    /* Very dark green-gray for strong text */
    --clr-med-green: #D3DCD4;
    /* Medical soft green */
    --clr-text: #4A4A4A;
    /* Main body text */
    --clr-light: #FAFAFA;

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing & Sizes */
    --header-height: 220px;
    --section-pad: 100px 0;
    --border-radius: 4px;
    --transition: 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    /* Increased line-height for better readability */
    color: var(--clr-text);
    background-color: var(--clr-white);
    overflow-x: hidden;
    letter-spacing: 0.3px;
    /* Added subtle letter spacing */
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--clr-dark);
    font-weight: 500;
    line-height: 1.3;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.bg-soft {
    background-color: var(--clr-nude);
}

.bg-dark {
    background-color: #030303;
    color: var(--clr-white);
}

.bg-dark h2,
.bg-dark h3 {
    color: var(--clr-sand);
}

.section {
    padding: var(--section-pad);
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-earth);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    line-height: 1.25;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.15rem;
    color: var(--clr-text);
    line-height: 1.8;
}

/* PLACEHOLDERS */
.placeholder-box {
    background-color: #E2E2E2;
    border: 1px dashed #A0A0A0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 0.9rem;
    position: relative;
    border-radius: var(--border-radius);
}

.placeholder-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.03) 10px,
            rgba(0, 0, 0, 0.03) 20px);
}

.placeholder-box span {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--clr-earth);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-dark);
    color: var(--clr-white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-earth);
    color: var(--clr-earth);
}

.btn-outline:hover {
    background-color: var(--clr-earth);
    color: var(--clr-white);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    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);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100px;
}

.header-logo {
    height: 200px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .header-logo {
    height: 80px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--clr-dark);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--clr-dark);
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--clr-earth);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--clr-earth);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--clr-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 120px);
    /* Meio termo: nem 50px (tampava) nem 250px (exagerado) */
}

.hero-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-med-green);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -2;
}

.hero-bg-placeholder span {
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.hero-container-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    margin: 0;
    margin-top: 5vh;
    /* Ajuste sutil para equilibrar no centro óptico da tela, removi o 15vh exagerado */
    padding-left: 5%;
    /* Pushes text away from the left edge */
}

.hero-video-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-video-wrapper {
    position: relative;
    width: 315px;
    /* Vertical shorts format width */
    height: 560px;
    /* Vertical shorts format height */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--clr-white);
}

.hero-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    font-size: 2rem;
    font-family: var(--font-body);
    font-weight: 300;
    display: block;
    margin-top: 0.5rem;
    color: var(--clr-text);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--clr-dark);
}

.hero-bullets {
    margin-bottom: 2.5rem;
}

.hero-bullets li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.hero-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--clr-earth);
    border-radius: 50%;
}

/* Two Columns Layout */
.section-container-two-cols {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.section-container-two-cols.reverse {
    flex-direction: row-reverse;
}

.section-image {
    flex: 1;
    height: 500px;
}

.section-text {
    flex: 1;
    padding-right: 2rem;
}

.section-text p {
    margin-bottom: 2rem;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--clr-text);
}

.section-container-two-cols.reverse .section-text {
    padding-right: 0;
    padding-left: 2rem;
}

/* Technologies Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: var(--clr-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid var(--clr-nude);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.tech-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    font-size: 0.7rem;
}

.tech-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.tech-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-top: 1rem;
}

/* Benefits */
.benefits-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.benefits-text {
    flex: 1;
}

.benefits-visual {
    flex: 1;
    height: 600px;
}

.benefits-list {
    margin-top: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    background: var(--clr-white);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.check-icon {
    color: var(--clr-earth);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Video Section */
.video-placeholder {
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
}

/* Expert Section */
.expert-image {
    height: 600px;
}

.expert-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.expert-creds {
    font-size: 1rem;
    color: var(--clr-gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expert-bio {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    line-height: 1.9;
    color: var(--clr-sand);
    max-width: 90%;
}

.expert-highlights li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.expert-highlights li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--clr-gold);
}

.clinic-image.wide {
    height: 400px;
    width: 100%;
}

/* Results */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.result-image {
    height: 350px;
    transition: var(--transition);
}

.result-card:hover .result-image {
    transform: scale(1.02);
}

/* Emotional Banner */
.emotional-section {
    position: relative;
    padding: 150px 0;
    color: var(--clr-dark);
}

.emotional-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-sand);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -2;
}

.emotional-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.emotional-text {
    font-size: 1.4rem;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 300;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--clr-nude);
    margin-bottom: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--clr-earth);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 25px;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* CTA */
.cta-section {
    background-color: var(--clr-earth);
    color: var(--clr-white);
    padding: 120px 0;
}

.cta-section .section-title {
    color: var(--clr-white);
}

.cta-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.cta-section .btn-primary {
    background-color: var(--clr-white);
    color: var(--clr-earth);
}

.cta-section .btn-primary:hover {
    background-color: var(--clr-dark);
    color: var(--clr-white);
}

/* Footer */
.footer {
    background-color: #030303;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 15px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-info {
        align-items: center;
    }
}

.footer-logo {
    max-width: 180px;
    filter: invert(1) brightness(1.5);
    opacity: 0.9;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-white);
}

.footer-contact p {
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {

    .section-container-two-cols,
    .section-container-two-cols.reverse,
    .benefits-content,
    .hero-container-split {
        flex-direction: column !important;
        gap: 2rem !important;
        text-align: center;
    }

    /* Mobile: remover a foto 4 (seção "Você quer rejuvenescer...") */
    .problem-section .section-image {
        display: none !important;
    }

    .section-image,
    .benefits-visual,
    .expert-image {
        width: 100%;
        height: auto;
        min-height: 300px;
        max-height: 400px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 20px;
        max-width: 100%;
        flex: none;
    }

    .hero-video-box {
        flex: none;
        width: 100%;
        margin-bottom: 2rem;
    }

    .hero-title span {
        font-size: 1.5rem;
    }
}

/* PC: respiro entre o CTA do Hero e a foto da seção "O Problema" */
@media (min-width: 993px) {
    .problem-section {
        margin-top: 70px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--clr-white);
        transition: 0.3s ease;
        padding: 40px 20px;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-overlay {
        background: rgba(255, 255, 255, 0.85);
        /* More solid overlay for mobile readability */
    }

    .nav-btn {
        display: none;
        /* Hide on mobile to simplify header, rely on CTA sections */
    }

    .section-title,
    .emotional-title {
        font-size: 2rem;
    }
}