:root {
    /* Color Palette */
    --primary-gold: #9c7a3d;
    --secondary-gold: #b49961;
    --light-gold: #d5c08b;
    --bg-white: #ffffff;
    --bg-cream: #fff4e5;
    --text-dark: #2d2d2d;
    --text-muted: #666666;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);
    --shadow-soft: 0 10px 40px rgba(156, 122, 61, 0.08);
    --transition-smooth: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--light-gold);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    opacity: 0;
    animation: pageFadeIn 1s forwards 0.5s;
}

@keyframes pageFadeIn {
    to {
        opacity: 1;
    }
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

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

ul {
    list-style: none;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-in-out;
}

#preloader .loader-logo {
    width: 120px;
    animation: pulseLogo 2s ease-in-out infinite;
}

@keyframes pulseLogo {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* --- Global Background Blobs --- */
.blob-bg {
    position: fixed;
    width: 500px;
    height: 500px;
    background: var(--bg-cream);
    filter: blur(120px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    right: -10%;
    background: #fff4e5;
}

.blob-2 {
    bottom: 10%;
    left: -5%;
    background: var(--light-gold);
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}


nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.3rem 5%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

nav.scrolled .logo img {
    height: 60px;
}

.logo img {
    height: 85px;
    width: auto;
    transition: var(--transition-smooth);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    position: relative;
    color: var(--primary-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: linear-gradient(135deg, #fff 0%, #fff4e5 100%);
    position: relative;
    overflow: hidden;
}

.mobile-only-btn {
    display: none;
}

.desktop-only-btn {
    display: block;
}

.hero-content {
    flex: 1;
    z-index: 2;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.3em;
}

.reveal-word {
    display: inline-block;
    opacity: 0;
    color: var(--primary-gold);
    filter: blur(12px);
    transform: translateY(30px);
    animation: blurReveal 2.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes blurReveal {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.5s;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--primary-gold);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 10px 20px rgba(156, 122, 61, 0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.7s;
    transition: var(--transition-smooth);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(156, 122, 61, 0.3);
    background: var(--secondary-gold);
}

.hero-image {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-image img {
    height: 85vh;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    /* Foca na base para não cortar o topo */
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transform: scale(0.95);
    animation: imageScale 1.2s forwards 0.4s;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.glass-badge {
    position: absolute;
    bottom: 10%;
    left: -8%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
    min-width: 250px;
}

/* --- Sections General --- */
section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--light-gold);
    margin: 0 auto;
}

/* --- Treatments --- */
.treatments {
    background: radial-gradient(circle at 10% 20%, rgba(255, 244, 229, 0.5) 0%, rgba(255, 255, 255, 1) 90%);
    position: relative;
    overflow: hidden;
}

.treatments::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--light-gold);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    z-index: 0;
}

.treatments-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.treatment-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 2.5rem 1.5rem;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 0;
}

.treatment-card:hover::before {
    transform: rotate(45deg) translate(20%, 20%);
}

.treatment-card:hover {
    transform: translateY(-15px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
    box-shadow: 0 25px 50px rgba(156, 122, 61, 0.15);
}

.treatment-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center 35%;
    /* Equilíbrio: sobe a foto para mostrar o corpo sem cortar a cabeça */
    border-radius: 20px;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.treatment-card:hover img {
    transform: scale(1.05);
}

/* --- About Section Refining --- */
.about {
    background: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 8%;
    position: relative;
    padding: 120px 5%;
}

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

.about-image-container img {
    width: 85%;
    border-radius: 40px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 60%;
    height: 60%;
    background: var(--bg-cream);
    border-radius: 30px;
    z-index: 0;
}

.about-image-container::after {
    content: '';
    position: absolute;
    bottom: -5%;
    right: 5%;
    width: 40%;
    height: 40%;
    border: 2px solid var(--light-gold);
    border-radius: 30px;
    z-index: 0;
}

.about-content {
    flex: 1.2;
    z-index: 2;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-gold);
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-gold);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: var(--primary-gold);
    color: white;
    box-shadow: 0 15px 35px rgba(156, 122, 61, 0.3);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imageScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Ocultar elementos mobile no Desktop */
.nav-toggle, .nav-sidebar {
    display: none;
}

/* --- Responsive --- */
@media (max-width: 968px) {
    nav {
        padding: 0.5rem 5%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    }

    .logo img {
        height: 110px; /* Logo de impacto conforme solicitado */
        width: auto;
    }

    nav.scrolled .logo img {
        height: 90px;
    }

    .nav-links, .nav-btn {
        display: none !important;
    }

    /* Hamburger Menu Toggle */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 10002; /* Sempre acima da sidebar */
        padding: 5px;
    }

    .nav-toggle span {
        width: 30px;
        height: 2px;
        background-color: var(--primary-gold);
        transition: all 0.4s ease;
        border-radius: 2px;
    }

    /* Transform para X ao abrir */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Sidebar Mobile Glass */
    .nav-sidebar {
        position: fixed;
        top: 0;
        right: -100%; /* Invisível inicialmente */
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 10001;
        padding: 20px 10% 40px; /* Reduzido de 40px para 20px */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1rem; /* Reduzido de 3rem para 1rem para aproximar links da logo */
        transition: right 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
        border-left: 1px solid rgba(255, 255, 255, 0.4);
        overflow-y: auto;
    }

    .sidebar-header {
        text-align: center;
        margin-bottom: 1rem;
    }

    .sidebar-close {
        position: absolute;
        top: 15px; /* Subiu um pouco mais */
        right: 20px;
        background: transparent;
        border: none;
        font-size: 1.8rem; /* Reduzido de 2.8rem para ser mais suave */
        color: var(--primary-gold);
        opacity: 0.7; /* Suavizado */
        cursor: pointer;
        line-height: 1;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 10003;
    }

    .sidebar-close:hover {
        transform: rotate(90deg) scale(1.1);
    }

    .sidebar-logo {
        height: 80px;
        width: auto;
        opacity: 0.9;
    }

    .nav-sidebar.active {
        right: 0;
    }

    .sidebar-links {
        display: flex;
        flex-direction: column;
        gap: 2rem; /* Reduzido o gap para caber tudo */
    }

    .sidebar-links a {
        font-family: 'Playfair Display', serif;
        font-size: 1.4rem; /* Reduzido de 1.8rem */
        color: var(--primary-gold); /* Mudado para a cor primária conforme solicitado */
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.5s ease;
    }

    .nav-sidebar.active .sidebar-links a {
        opacity: 1;
        transform: translateX(0);
    }

    /* Timing sequencial para links deslizando */
    .sidebar-links li:nth-child(1) a { transition-delay: 0.1s; }
    .sidebar-links li:nth-child(2) a { transition-delay: 0.2s; }
    .sidebar-links li:nth-child(3) a { transition-delay: 0.3s; }
    .sidebar-links li:nth-child(4) a { transition-delay: 0.4s; }
    .sidebar-links li:nth-child(5) a { transition-delay: 0.5s; }
    .sidebar-links li:nth-child(6) a { transition-delay: 0.6s; }

    .sidebar-cta {
        margin-top: 0.5rem;
        background-color: var(--primary-gold);
        color: white !important;
        padding: 0.8rem 1.2rem; /* Botão reduzido */
        border-radius: 50px;
        font-size: 0.8rem !important; /* Fonte do botão reduzida */
        font-family: 'Poppins', sans-serif !important;
        font-weight: 500;
        text-align: center;
        letter-spacing: 1px;
        white-space: nowrap; /* Impede quebra de linha */
        display: inline-block;
        width: fit-content;
    }

    .sidebar-bottom {
        padding-top: 1.5rem;
        margin-top: 2rem;
        margin-bottom: 2rem; /* Espaço para não ficar colado no fundo do scroll */
        border-top: 1px solid rgba(156, 122, 61, 0.1);
        text-align: center;
        opacity: 0;
        transition: opacity 1s ease 0.7s;
    }

    .nav-sidebar.active .sidebar-bottom {
        opacity: 1;
    }

    .sidebar-bottom p {
        font-size: 0.85rem;
        color: var(--text-muted);
        margin-bottom: 1.5rem;
    }

    .sidebar-socials {
        display: flex;
        justify-content: center;
        gap: 2rem;
        font-size: 1.5rem;
        color: var(--primary-gold);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 140px 5% 40px;
    }

    .desktop-only-btn {
        display: none;
    }

    .mobile-only-btn {
        display: block;
        margin-top: 3rem;
        z-index: 10;
    }

    .hero-content {
        padding-right: 0;
        margin-top: 0;
        margin-bottom: 0.5rem;
        /* Aproxima mais da imagem */
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        padding: 0 5%;
        /* Margem lateral para aparecer o arredondamento */
        display: flex;
        justify-content: center;
    }

    .hero-image img {
        height: 60vh;
        width: 100%;
        object-fit: cover;
        object-position: center 25%;
        border-radius: 40px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
        mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
    }

    .glass-badge {
        position: absolute;
        bottom: 5%;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: fit-content;
        padding: 0.8rem 1.5rem;
        min-width: 200px;
        animation: float 6s ease-in-out infinite;
        backdrop-filter: blur(15px);
        z-index: 11;
        border-radius: 20px;
        text-align: center;
    }

    .about {
        flex-direction: column;
        padding: 80px 5%;
        text-align: center;
    }

    .about-image-container {
        margin-bottom: 3rem;
    }

    .about-image-container::before {
        display: block;
        top: -15px;
        left: -15px;
        width: 100px;
        height: 100px;
        border-radius: 20px;
    }

    .about-image-container::after {
        display: block;
        bottom: -15px;
        right: -15px;
        width: 120px;
        height: 120px;
        border-radius: 20px;
    }

    .about-image-container img {
        width: 100%;
        border-radius: 30px;
    }

    .about-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .stat-item h4 {
        font-size: 1.8rem;
    }

    .about-content ul {
        text-align: left;
        display: inline-block;
        margin-top: 2.5rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
        line-height: 1.1; /* Reduzido para aproximar as linhas conforme solicitado */
        margin-bottom: 0.8rem;
    }

    .about-content h2 {
        font-size: 2.2rem;
        line-height: 1.1; /* Reduzido para aproximar as linhas conforme solicitado */
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-image img {
        height: 45vh;
    }

    .treatments-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .cta-button, .cta-button-outline {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        width: auto;
        max-width: 95%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* --- Contact Section Modernized --- */
.contact {
    background: var(--bg-cream);
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    animation: fadeInUp 0.8s ease-out forwards;
}

.icon-box {
    width: 65px;
    height: 65px;
    background: white;
    box-shadow: 0 10px 30px rgba(156, 122, 61, 0.1);
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-gold);
    font-size: 1.6rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(156, 122, 61, 0.05);
}

.info-item:hover .icon-box {
    transform: translateY(-8px) rotate(8deg);
    background: var(--primary-gold);
    color: white;
    box-shadow: 0 15px 35px rgba(156, 122, 61, 0.25);
}

.info-text h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.info-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-action {
    text-align: center;
    padding-top: 2rem;
    animation: fadeInUp 1s ease-out forwards;
}

.contact-action p {
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Responsive adjustments for new contact section */
@media (max-width: 968px) {
    .contact-container {
        gap: 4rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .contact-action {
        padding-top: 1rem;
    }
}
/* Alt Technology Credit */
.alt-tech-credit {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.alt-tech-credit a {
    color: var(--secondary-gold);
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

.alt-tech-credit a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-gold);
    transition: var(--transition-smooth);
}

.alt-tech-credit a:hover::after {
    width: 100%;
}

.alt-tech-credit:hover {
    opacity: 1;
}

/* Outline CTA Button */
.cta-button-outline {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    white-space: nowrap;
    text-align: center;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.7s;
}

.cta-button-outline:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(156, 122, 61, 0.2);
}

/* --- Experience Flow (Animação Infinita) --- */
.experience-flow {
    background: #fff;
    padding: 120px 0;
    overflow: hidden;
    position: relative;
}

.flow-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.light-ray {
    position: absolute;
    width: 300px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(156, 122, 61, 0.05), transparent);
    transform: skewX(-45deg);
    animation: moveRay 10s infinite linear;
}

.ray-1 { left: -20%; }
.ray-2 { right: -20%; animation-delay: 5s; }

@keyframes moveRay {
    0% { transform: translateX(-100%) skewX(-45deg); }
    100% { transform: translateX(400%) skewX(-45deg); }
}

.flow-container {
    position: relative;
    z-index: 1;
}

.flow-label {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--secondary-gold);
    margin-bottom: 4rem;
    opacity: 0.8;
}

.flow-wrapper {
    display: flex;
    overflow: hidden;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.flow-track {
    display: flex;
    width: max-content;
    animation: scrollFlow 35s linear infinite;
    gap: 3rem;
    padding-right: 3rem;
}

.flow-track.reverse {
    animation: scrollFlowReverse 30s linear infinite;
}

@keyframes scrollFlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1.5rem)); }
}

@keyframes scrollFlowReverse {
    0% { transform: translateX(calc(-50% - 1.5rem)); }
    100% { transform: translateX(0); }
}

.flow-item {
    flex-shrink: 0;
}

.item-inner {
    background: #fff;
    padding: 1.2rem 2.2rem; /* Reduzido drasticamente */
    border-radius: 60px; /* Arredondamento mais proporcional ao tamanho menor */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(180, 153, 97, 0.08);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition-smooth);
}

.item-inner:hover {
    transform: scale(1.05) translateY(-3px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(156, 122, 61, 0.1);
}

.item-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem; /* De 3rem para 1.8rem */
    color: var(--primary-gold);
    font-weight: 700;
}

.item-inner i {
    font-size: 1.6rem; /* De 2.5rem para 1.6rem */
    color: var(--primary-gold);
}

.item-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem; /* Título menor */
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.2;
}

.item-text p {
    font-size: 0.75rem; /* Descrição menor */
    color: var(--text-muted);
}

.flow-wrapper.reverse {
    margin-top: 1rem; /* Aproxima as duas fileiras */
}

.flow-wrapper.reverse .item-inner {
    padding: 0.8rem 1.8rem; /* A segunda fileira ainda mais discreta */
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-gold);
    border-radius: 30px;
}

@media (max-width: 768px) {
    .flow-track { animation-duration: 25s; }
    .flow-track.reverse { animation-duration: 20s; }
    .item-inner { padding: 1.5rem 2.5rem; }
    .item-number { font-size: 2rem; }
    .item-inner i { font-size: 1.8rem; }
}

/* --- Lead Capture Section (Avaliação) --- */
.lead-capture {
    background-color: var(--bg-cream); /* Creme dourado sofisticado */
    padding: 100px 5% 0;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.lead-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: flex-end;
}

.lead-content {
    color: var(--text-dark);
    padding-bottom: 80px;
}

.lead-name {
    font-size: 4.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.2rem;
    color: var(--primary-gold);
    line-height: 1.1;
}

.lead-tag {
    display: inline-block;
    background-color: var(--primary-gold);
    color: white;
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: none; /* Removido uppercase para diminuir o quadro */
    box-shadow: 0 4px 15px rgba(156, 122, 61, 0.2);
}

.lead-locations {
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 3.5rem;
    color: var(--text-muted);
}

.lead-form-wrapper {
    max-width: 450px;
}

.form-instruction {
    color: var(--primary-gold);
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.premium-form .input-group {
    width: 100%;
}

.premium-form input, 
.premium-form textarea {
    width: 100%;
    padding: 1.2rem 1.8rem;
    border: 1px solid rgba(156, 122, 61, 0.15);
    border-radius: 20px;
    background-color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.premium-form input:focus, 
.premium-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(156, 122, 61, 0.1);
}

.submit-btn {
    background-color: var(--primary-gold);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 25px rgba(156, 122, 61, 0.2);
}

.submit-btn:hover {
    background-color: var(--text-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.lead-image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.lead-image img {
    max-height: 850px;
    width: auto;
    object-fit: contain;
    border-radius: 60px 60px 0 0; /* Arredondado apenas em cima */
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.08));
    mask-image: linear-gradient(to bottom, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 95%, transparent 100%);
}

/* Responsivo para Avaliação */
@media (max-width: 1100px) {
    .lead-name { font-size: 3.5rem; }
    .lead-container { gap: 2rem; }
    .lead-image img { max-height: 700px; }
}

@media (max-width: 968px) {
    .lead-capture {
        padding: 0;
        background-color: var(--bg-cream);
        display: block;
        min-height: auto;
    }
    
    .lead-container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .lead-image {
        order: -1;
        width: 100%;
        height: 65vh; /* Altura ideal para mostrar o rosto e ombros */
        position: relative;
        margin-bottom: -15vh; /* Overlap negativo para o conteúdo subir */
    }
    
    .lead-image img {
        height: 100%;
        width: 100%;
        border-radius: 0; /* Removido arredondamento conforme solicitado */
        object-fit: cover;
        object-position: center top; 
        mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
        filter: brightness(0.9); /* Leve escurecida para destacar o texto branco */
    }
    
    .lead-content {
        padding: 0 5% 40px;
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .lead-name { 
        font-size: 3.2rem; /* Impactante sobre a foto */
        color: white; 
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        margin-bottom: 0.5rem;
    }
    
    .lead-tag {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    
    .lead-locations {
        font-size: 1.3rem; 
        color: var(--text-muted); /* Mesma cor do desktop */
        margin-bottom: 2.5rem;
    }
    
    .lead-form-wrapper {
        margin: 0 auto;
        width: 100%;
        max-width: 500px;
        background: transparent;
    }
    
    .form-instruction {
        color: var(--primary-gold);
        font-size: 0.85rem;
        text-shadow: none;
    }
}

@media (max-width: 480px) {
    .lead-name { font-size: 2.2rem; }
    .lead-locations { font-size: 1.2rem; }
    .lead-tag { font-size: 0.85rem; padding: 0.5rem 1.5rem; }
}

/* --- Lead Info Cards (Tríade de Consultoria) --- */
.lead-info-cards {
    padding: 0;
    background-color: var(--bg-white);
}

.info-cards-container {
    display: flex;
    width: 100%;
    min-height: 450px;
}

.info-card {
    flex: 1;
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.info-card h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.info-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 400px;
    opacity: 0.9;
}

/* Card Specifics - Integrados à Paleta Oficial */
.card-white {
    background-color: #ffffff; /* Retornado para Branco conforme solicitado */
    color: var(--text-dark);
}

.card-white h3 {
    color: var(--primary-gold);
}

.card-dark {
    background-color: var(--primary-gold); /* Dourado em destaque central */
    color: white;
}

.card-dark h3 {
    color: white;
}

.card-grey {
    background-color: #f2ede1; /* Dourado suave/champanhe (versão clara da primária) */
    color: var(--text-dark);
}

.card-grey h3 {
    color: var(--primary-gold);
}

/* Hover effects suaves e sem tremor */
.info-card:hover {
    transform: translateY(-8px);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 968px) {
    .info-cards-container {
        flex-direction: column;
    }
    
    .info-card {
        padding: 60px 10%;
        min-height: 350px;
    }
    
    .info-card h3 {
        font-size: 1.8rem;
    }
    
    .info-card:hover {
        flex: 1;
    }
}

/* --- Cookie Banner LGPD --- */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    padding: 1.5rem 5%;
    transition: bottom 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-top: 1px solid rgba(156, 122, 61, 0.1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--primary-gold);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-btn {
    background: var(--primary-gold);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    background: var(--secondary-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 122, 61, 0.2);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* --- Modal Glass Design --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    width: 95%;
    max-width: 600px;
    max-height: 90vh; /* Aumentado ligeiramente */
    padding: 3rem 2.5rem 2.5rem; /* Ajustado padding */
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-glass {
    transform: translateY(0) scale(1);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

.modal-body h2 {
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.modal-scroll-area {
    max-height: 50vh; /* Altura flexível para garantir que o botão sempre apareça na tela */
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 1.5rem;
}

.modal-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll-area::-webkit-scrollbar-track {
    background: rgba(156, 122, 61, 0.05);
    border-radius: 10px;
}

.modal-scroll-area::-webkit-scrollbar-thumb {
    background: var(--light-gold);
    border-radius: 10px;
}

.modal-content h3 {
    font-family: 'Poppins', sans-serif; /* Mudado de Playfair para Poppins conforme solicitado */
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.close-btn:hover {
    color: var(--primary-gold);
    transform: rotate(90deg);
}

.modal-confirm-btn {
    align-self: center;
    min-width: 220px;
    padding: 1.1rem 2rem;
    background: var(--primary-gold);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(156, 122, 61, 0.15);
    margin-top: 1rem;
    margin-bottom: 0.5rem; /* Margem extra para não colipar no fundo */
}

.modal-confirm-btn:hover {
    background: var(--secondary-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(156, 122, 61, 0.25);
}

@media (max-width: 480px) {
    .modal-glass {
        padding: 3rem 1.5rem;
    }
    
    .modal-body h2 {
        font-size: 1.8rem;
    }
}
