: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: 65px;
}

.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);
    }
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    nav {
        padding: 1rem 5%;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        justify-content: center;
        box-shadow: none;
    }

    .logo img {
        height: auto;
        width: 58vw;
        max-height: 80px;
    }

    /* Proporção massiva para impacto visual total */
    .nav-btn {
        display: none;
    }

    /* Removido conforme solicitado */

    .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;
    }
}

@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; }
}
