/* ============================================
   VITTA ESSENZA - Estilos Minimalistas
   ============================================ */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de Cores */
    --color-bege-claro: #F7F1E2;
    --color-marrom: #A6613A;
    --color-dourado: #D1975B;
    --color-roxo-escuro: #5F3B68;
    --color-roxo-claro: #B3A5C7;
    --color-verde-escuro: #595F43;
    --color-verde-claro: #889169;

    /* Cores de texto */
    --text-dark: #1d1d1f;
    --text-light: #ffffff;
    --text-secondary: #6e6e73;

    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
}

html {
    scroll-behavior: smooth;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Menu de Navegação
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: var(--spacing-xs) 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    position: relative;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--color-roxo-escuro);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.header.scrolled .hamburger-menu span {
    background-color: var(--color-roxo-escuro);
}

/* Overlay do menu mobile: fundo opaco ao abrir */
.nav-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.nav-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 60px;
}

.nav-logo img {
    height: 120%;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-close,
.nav-menu-logo {
    display: none !important;
}

.nav-menu>li {
    display: list-item;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-roxo-escuro);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-link:hover {
    color: var(--color-roxo-claro);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-roxo-escuro);
    transition: width 0.3s ease;
}

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

/* ============================================
   1️⃣ Hero Section
   ============================================ */

.hero {
    background-color: var(--color-bege-claro);
    background-image: url('../images/background-s1.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: calc(var(--spacing-md) + 60px) 0 var(--spacing-md) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bege-claro);
    opacity: 0.2;
    z-index: 0;
}

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

.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 100vh;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-watermark {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -10;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
    background-image: url('../images/logo_somente_texto_circulo.png');
    background-size: 150% auto;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.08;
    animation: rotate 120s linear infinite;
}

.watermark-img {
    display: none;
}

.hero-image {
    position: absolute;
    top: 39%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: auto;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    overflow: hidden;
}

.hero-img {
    width: 480px;
    height: auto;
    max-width: 480px;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.3) 12%,
            rgba(0, 0, 0, 0.7) 20%,
            rgba(0, 0, 0, 1) 25%,
            rgba(0, 0, 0, 1) 42%,
            rgba(0, 0, 0, 0.8) 50%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0) 70%);
    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.3) 12%,
            rgba(0, 0, 0, 0.7) 20%,
            rgba(0, 0, 0, 1) 25%,
            rgba(0, 0, 0, 1) 42%,
            rgba(0, 0, 0, 0.8) 50%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0) 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
}

.hero-content .btn {
    margin-top: calc(var(--spacing-lg) * -2);
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.hero-logo {
    height: 320px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    margin-top: calc(var(--spacing-xl) + var(--spacing-md));
    margin-bottom: 0;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-roxo-escuro);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    letter-spacing: -0.05em;
    word-spacing: 0.3em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    color: var(--color-verde-escuro);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
    letter-spacing: -0.01em;
    opacity: 0.8;
}

/* ============================================
   2️⃣ Autoridade & Confiança
   ============================================ */

.authority {
    padding: var(--spacing-xl) 0;
    background-color: #ffffff;
    background-image: url('../images/background s-2.svg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.authority::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    opacity: 0.96;
    z-index: 0;
}

.authority::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to right, var(--color-bege-claro) 0%, transparent 8%, transparent 92%, var(--color-bege-claro) 100%),
        linear-gradient(to bottom, var(--color-bege-claro) 0%, transparent 8%, transparent 92%, var(--color-bege-claro) 100%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    pointer-events: none;
    z-index: 1;
}

.authority .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 300;
    color: var(--color-roxo-escuro);
    text-align: center;
    margin-bottom: var(--spacing-md);
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 100%;
}

.authority-content {
    text-align: center;
}

.authority-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.8;
    font-weight: 300;
}

.authority-text strong {
    color: var(--color-roxo-escuro);
    font-weight: 500;
}

.brand-highlight {
    color: var(--color-dourado) !important;
}

.partners-section {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.partner-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.partner-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(95, 59, 104, 0.1);
    background-color: var(--color-bege-claro);
    flex-shrink: 0;
}

.partner-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bege-claro) 0%, rgba(209, 151, 91, 0.1) 100%);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.partner-info {
    max-width: 100%;
}

.partner-name {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--color-roxo-escuro);
    letter-spacing: -0.01em;
}

.partner-bio {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

.authority-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ============================================
   3️⃣ Procedimentos & Soluções
   ============================================ */

.procedures {
    background-color: var(--color-bege-claro);
    background-image: url('../images/background-s1.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    padding: 0;
}

.procedures::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bege-claro);
    opacity: 0.2;
    z-index: 0;
}

.procedures .container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-dourado);
    text-align: center;
    margin-bottom: var(--spacing-md);
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    font-style: normal;
    max-width: 600px;
    line-height: 1.6;
    width: 100%;
    display: block;
}

.subtitle-highlight {
    color: var(--color-dourado);
    font-weight: 500;
}

.subtitle-animate {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.subtitle-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.subtitle-animate-fast {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.subtitle-animate-fast.visible {
    opacity: 1;
    transform: translateY(0);
}

.subtitle-delayed {
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
    color: var(--color-dourado);
    font-weight: 500;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
    visibility: hidden;
}

.subtitle-delayed.animate {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: subtitleReveal 2s ease-out forwards;
}

@keyframes subtitleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        text-shadow: 0 0 0 rgba(209, 151, 91, 0);
    }

    30% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 0 0 25px rgba(209, 151, 91, 0.6),
            0 0 40px rgba(209, 151, 91, 0.4);
    }

    70% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 0 0 15px rgba(209, 151, 91, 0.4),
            0 0 25px rgba(209, 151, 91, 0.2);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 0 0 0 rgba(209, 151, 91, 0);
    }
}

.procedures-carousel-wrapper,
.space-carousel-wrapper,
.results-carousel-wrapper,
.products-carousel-wrapper {
    margin-top: var(--spacing-md);
    overflow: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.procedures-carousel,
.space-carousel-list,
.results-carousel-list,
.products-carousel-list {
    display: flex;
    gap: var(--spacing-md);
    transition: transform 0.5s ease;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

.procedure-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(95, 59, 104, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-roxo-escuro);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
    font-weight: 300;
    box-shadow: 0 2px 8px rgba(95, 59, 104, 0.1);
}

.procedure-nav:hover {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(95, 59, 104, 0.2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(95, 59, 104, 0.15);
}

.procedure-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.procedure-nav-prev {
    left: var(--spacing-sm);
}

.procedure-nav-next {
    right: var(--spacing-sm);
}

.procedure-card,
.space-card,
.result-card,
.product-card {
    background-color: #ffffff;
    padding: var(--spacing-xs);
    border-radius: 8px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    border: 1px solid rgba(95, 59, 104, 0.06);
    flex: 0 0 calc((100% - 4rem) / 3);
    width: calc((100% - 4rem) / 3);
    min-width: calc((100% - 4rem) / 3);
    max-width: calc((100% - 4rem) / 3);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
}

/* Desktop: overlay do menu nunca visível + 3 cards no carrossel */
@media (min-width: 769px) {

    .nav-menu-overlay,
    .nav-menu-overlay.active {
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }

    .procedures-carousel-wrapper,
    .space-carousel-wrapper,
    .results-carousel-wrapper,
    .products-carousel-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .procedures-carousel,
    .space-carousel-list,
    .results-carousel-list,
    .products-carousel-list {
        width: 100%;
        display: flex;
        gap: var(--spacing-md);
    }

    .procedure-card,
    .space-card,
    .result-card,
    .product-card {
        flex: 0 0 calc((100% - 4rem) / 3) !important;
        width: calc((100% - 4rem) / 3) !important;
        min-width: calc((100% - 4rem) / 3) !important;
        max-width: calc((100% - 4rem) / 3) !important;
    }
}

.procedure-card:hover,
.space-card:hover,
.result-card:hover,
.product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(95, 59, 104, 0.12);
}

.procedure-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.space-image,
.result-image,
.product-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: var(--spacing-xs);
    display: block;
    background-color: #f8f8f8;
    cursor: pointer;
}

.procedure-card h3,
.space-card h3,
.result-card h3 {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-roxo-escuro);
    margin: 0;
    padding: 0 var(--spacing-xs);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.procedure-card p,
.space-card p,
.result-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
    padding: 0 var(--spacing-xs);
    padding-bottom: var(--spacing-xs);
    font-weight: 300;
    line-height: 1.5;
    opacity: 0.8;
}

.procedure-details {
    font-size: 0.75rem !important;
    color: var(--color-roxo-escuro) !important;
    opacity: 0.7 !important;
    font-weight: 400 !important;
    margin-top: auto !important;
    padding-top: var(--spacing-xs) !important;
    border-top: 1px solid rgba(95, 59, 104, 0.08) !important;
}

.procedures-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* ============================================
   4️⃣ Espaço da Clínica
   ============================================ */

.clinic-space {
    height: 100vh;
    padding: 0;
    background-color: #ffffff;
    background-image: url('../images/background s-2.svg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clinic-space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    opacity: 0.96;
    z-index: 0;
}

.clinic-space::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to right, var(--color-bege-claro) 0%, transparent 8%, transparent 92%, var(--color-bege-claro) 100%),
        linear-gradient(to bottom, var(--color-bege-claro) 0%, transparent 8%, transparent 92%, var(--color-bege-claro) 100%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    pointer-events: none;
    z-index: 1;
}

.clinic-space .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Carrossel do Espaço */
.space-carousel-container {
    margin-top: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Imagem grande no centro */
.space-carousel-main {
    margin-bottom: var(--spacing-sm);
    width: 100%;
}

.space-carousel-main-wrapper {
    position: relative;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    max-height: 55vh;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--color-bege-claro);
    box-shadow: 0 8px 24px rgba(95, 59, 104, 0.1);
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

.space-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.5s ease;
}

/* Ajuste para imagens de antes e depois aparecerem inteiras */
#gallery-before-after .space-carousel-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

#gallery-before-after .space-main-image {
    object-fit: contain;
}

/* Carrossel de thumbnails */
.space-carousel-thumbnails-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.space-carousel-thumbnails {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    padding: var(--spacing-xs) 0;
}

/* Centralizar thumbnails na seção de Resultados no desktop */
#gallery-before-after .space-carousel-thumbnails-wrapper {
    justify-content: center;
}

#gallery-before-after .space-carousel-thumbnails {
    justify-content: center;
    flex: 0 1 auto;
    max-width: fit-content;
}

.space-carousel-thumbnails::-webkit-scrollbar {
    display: none;
}

.space-thumb-item {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background-color: var(--color-bege-claro);
    opacity: 0.7;
}

.space-thumb-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    border-color: rgba(95, 59, 104, 0.2);
}

.space-thumb-item.active {
    opacity: 1;
    border-color: var(--color-dourado);
    box-shadow: 0 4px 12px rgba(209, 151, 91, 0.3);
    transform: translateY(-2px);
}

.space-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.space-thumb-nav {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(95, 59, 104, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-roxo-escuro);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(95, 59, 104, 0.1);
    z-index: 10;
}

.space-thumb-nav:hover {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(95, 59, 104, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(95, 59, 104, 0.15);
}

.space-thumb-nav:active {
    transform: scale(0.95);
}

/* Estilos antigos mantidos para compatibilidade */
.space-gallery-wrapper {
    position: relative;
    margin-top: var(--spacing-xl);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.space-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.gallery-nav {
    display: none;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background-color: var(--color-bege-claro);
    border: 1px solid rgba(95, 59, 104, 0.04);
    transition: transform 0.3s ease, border-color 0.3s ease;
    aspect-ratio: 1 / 1;
}

.gallery-item:hover {
    transform: translateY(-2px);
    border-color: rgba(95, 59, 104, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.space-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* ============================================
   4.5️⃣ Galeria Antes e Depois
   ============================================ */

.gallery-before-after {
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
    background-color: #ffffff;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.gallery-before-after::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(247, 241, 226, 0.3) 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 0;
}

.gallery-before-after .container {
    position: relative;
    z-index: 1;
}

.gallery-before-after .section-title {
    margin-bottom: var(--spacing-sm);
}

.gallery-before-after .section-subtitle {
    margin-bottom: var(--spacing-md);
}

/* ============================================
   4.5️⃣ Antes e Depois
   ============================================ */

.before-after {
    padding: var(--spacing-xl) 0 var(--spacing-xxl) 0;
    background-color: var(--color-bege-claro);
    background-image: url('../images/background-s1.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.before-after::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bege-claro);
    opacity: 0.2;
    z-index: 0;
}

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

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.before-after-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    transition: transform 0.3s ease;
}

.before-after-pair:hover {
    transform: translateY(-4px);
}

.before-after-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: #ffffff;
    border: 1px solid rgba(95, 59, 104, 0.1);
    box-shadow: 0 4px 16px rgba(95, 59, 104, 0.08);
    transition: all 0.3s ease;
}

.before-after-image-wrapper:hover {
    box-shadow: 0 8px 24px rgba(95, 59, 104, 0.12);
    border-color: rgba(95, 59, 104, 0.15);
}

.before-after-label {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(95, 59, 104, 0.95) 0%, rgba(95, 59, 104, 0.85) 100%);
    color: #ffffff;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.before-after-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.before-after-image-wrapper:hover .before-after-image {
    transform: scale(1.08);
}

.before-after-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ============================================
   4.6️⃣ Produtos
   ============================================ */

.products {
    padding: var(--spacing-xxl) 0;
    background-color: #ffffff;
    background-image: url('../images/background s-2.svg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    opacity: 0.96;
    z-index: 0;
}

.products::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to right, var(--color-bege-claro) 0%, transparent 8%, transparent 92%, var(--color-bege-claro) 100%),
        linear-gradient(to bottom, var(--color-bege-claro) 0%, transparent 8%, transparent 92%, var(--color-bege-claro) 100%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    pointer-events: none;
    z-index: 1;
}

.products .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Carrossel de Produtos */
.products-carousel-container {
    margin-top: var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Imagem grande no centro */
.products-carousel-main {
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.products-carousel-main-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--color-bege-claro);
    box-shadow: 0 8px 24px rgba(95, 59, 104, 0.1);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.products-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.5s ease;
}

/* Carrossel de thumbnails */
.products-carousel-thumbnails-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.products-carousel-thumbnails {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 0 1 auto;
    padding: var(--spacing-xs) 0;
    justify-content: center;
    max-width: calc(5 * 80px + 4 * var(--spacing-sm));
}

.products-carousel-thumbnails::-webkit-scrollbar {
    display: none;
}

.products-thumb-item {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background-color: var(--color-bege-claro);
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xs);
}

.products-thumb-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    border-color: rgba(95, 59, 104, 0.2);
}

.products-thumb-item.active {
    opacity: 1;
    border-color: var(--color-dourado);
    box-shadow: 0 4px 12px rgba(209, 151, 91, 0.3);
    transform: translateY(-2px);
}

.products-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.products-thumb-nav {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(95, 59, 104, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-roxo-escuro);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(95, 59, 104, 0.1);
    z-index: 10;
}

.products-thumb-nav:hover {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(95, 59, 104, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(95, 59, 104, 0.15);
}

.products-thumb-nav:active {
    transform: scale(0.95);
}

/* Estilos antigos mantidos para compatibilidade */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    position: relative;
    z-index: 3;
}

.product-item {
    background-color: #ffffff;
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid rgba(95, 59, 104, 0.08);
    box-shadow: 0 2px 12px rgba(95, 59, 104, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 200px;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(95, 59, 104, 0.12);
    border-color: rgba(95, 59, 104, 0.15);
}

.product-logo-wrapper {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background-color: var(--color-bege-claro);
    border-radius: 8px;
    min-height: 120px;
}

.product-logo {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.3s ease;
    display: block;
}

.product-item:hover .product-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.product-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-roxo-escuro);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.4;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   5️⃣ CTA Final
   ============================================ */

.cta-final {
    padding: var(--spacing-sm) 0;
    background-color: var(--color-verde-escuro);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-final .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) 0;
}

.cta-logo {
    height: 180px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    margin-bottom: var(--spacing-xs);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    font-weight: 300;
}

.contact-section {
    margin: var(--spacing-sm) 0;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.contact-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-link span {
    font-weight: 500;
    letter-spacing: 0.02em;
}

.map-container {
    width: 100%;
    margin-bottom: var(--spacing-sm);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 250px;
    display: block;
    border: none;
}

/* ============================================
   Botões
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-primary {
    background-color: var(--color-dourado);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--color-marrom);
    transform: scale(1.02);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   Botão Flutuante WhatsApp
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #20BA5A;
}

.whatsapp-float img {
    width: 52px;
    height: 52px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================
   Responsividade
   ============================================ */

@media (max-width: 968px) {
    .partners-section {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        max-width: 500px;
    }

    .procedures-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .space-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xs);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-xxl: 5rem;
    }

    .nav-wrapper {
        gap: var(--spacing-md);
    }

    .hamburger-menu {
        display: flex;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10005;
        min-width: 48px;
        min-height: 48px;
        align-items: center;
        justify-content: center;
    }

    .nav-wrapper {
        justify-content: center;
        position: relative;
        align-items: center;
        min-height: 60px;
    }

    .nav-logo {
        height: 55px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1001;
    }

    /* Menu desliza da esquerda para a direita */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: calc(var(--spacing-xl) + var(--spacing-lg)) var(--spacing-lg) var(--spacing-lg);
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease, visibility 0.3s ease;
        box-shadow: 2px 0 24px rgba(0, 0, 0, 0.2);
        z-index: 10003;
        visibility: hidden;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    body.menu-open .header {
        z-index: 10002;
    }

    .nav-menu-overlay.active {
        z-index: 10001;
    }

    .nav-menu-close {
        position: absolute;
        top: var(--spacing-md);
        right: var(--spacing-md);
        background: transparent;
        border: none;
        font-size: 2rem;
        color: var(--color-roxo-escuro);
        cursor: pointer;
        padding: var(--spacing-xs);
        line-height: 1;
        width: 40px;
        height: 40px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
        z-index: 10000;
    }

    .nav-menu-close:hover {
        transform: scale(1.1);
    }

    .nav-menu-logo {
        position: absolute;
        top: var(--spacing-md);
        left: 50%;
        transform: translateX(-50%);
        display: flex !important;
        justify-content: center;
        align-items: center;
        z-index: 10000;
    }

    .nav-menu-logo img {
        height: 60px;
        width: auto;
        object-fit: contain;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: none;
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-xs);
        position: relative;
    }

    .nav-menu li::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(to right,
                rgba(209, 151, 91, 0) 0%,
                rgba(209, 151, 91, 0.4) 10%,
                rgba(209, 151, 91, 0.4) 90%,
                rgba(209, 151, 91, 0) 100%);
    }

    .nav-menu li:last-child {
        border-bottom: none;
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-xs);
    }

    .nav-menu li:last-child::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(to right,
                rgba(209, 151, 91, 0) 0%,
                rgba(209, 151, 91, 0.4) 10%,
                rgba(209, 151, 91, 0.4) 90%,
                rgba(209, 151, 91, 0) 100%);
    }

    .nav-link {
        font-size: 0.9375rem;
        font-weight: 400;
        width: 100%;
        padding: var(--spacing-md) 0;
        letter-spacing: 0.02em;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        padding: var(--spacing-xl) 0;
        min-height: 90vh;
    }

    .hero-wrapper {
        min-height: 100vh;
    }

    .hero-watermark {
        width: 600px;
        height: 600px;
    }

    .hero-image {
        top: 36%;
        max-width: 340px;
        opacity: 0.75;
    }

    .hero-img {
        width: 340px;
        max-width: 340px;
    }

    .hero-content {
        gap: var(--spacing-sm);
    }

    .hero-logo {
        height: 200px;
        margin-top: calc(var(--spacing-xl) + var(--spacing-sm));
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .cta-logo {
        height: 140px;
        margin-bottom: var(--spacing-xs);
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-sm);
    }

    .map-container iframe {
        height: 200px;
    }

    .authority,
    .clinic-space,
    .before-after,
    .products,
    .cta-final {
        padding: var(--spacing-xl) 0;
    }

    .procedures {
        padding: var(--spacing-sm) 0;
    }

    .procedures-carousel-wrapper,
    .space-carousel-wrapper,
    .results-carousel-wrapper,
    .products-carousel-wrapper {
        mask-image: none;
        -webkit-mask-image: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        /* Fix flex item overflow */
    }

    .procedures-carousel,
    .space-carousel-list,
    .results-carousel-list,
    .products-carousel-list {
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .procedure-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .procedure-nav-prev {
        left: var(--spacing-xs);
    }

    .procedure-nav-next {
        right: var(--spacing-xs);
    }

    .procedure-card,
    .space-card,
    .result-card,
    .product-card {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding: var(--spacing-xs);
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        flex: 0 0 100% !important;
        margin-right: 0 !important;
        min-height: 420px;
    }

    .procedure-image,
    .result-image,
    .product-image,
    .space-image {
        width: 100%;
        height: 180px;
        object-fit: contain;
        border-radius: 6px;
        margin-bottom: var(--spacing-xs);
    }

    .procedure-card h3,
    .procedure-card p {
        padding: 0 var(--spacing-sm);
    }

    .procedure-card h3 {
        padding-top: var(--spacing-sm);
        margin-bottom: var(--spacing-xs);
    }

    .procedure-card p {
        padding-bottom: var(--spacing-sm);
    }

    .procedure-details {
        padding: var(--spacing-xs) var(--spacing-sm) !important;
        padding-top: var(--spacing-xs) !important;
        font-size: 0.7rem !important;
    }

    .space-gallery-wrapper {
        position: relative;
        overflow: hidden;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .before-after-pair {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xs);
    }

    .before-after-image {
        height: 300px;
    }

    .before-after-label {
        top: var(--spacing-xs);
        left: var(--spacing-xs);
        padding: 0.375rem var(--spacing-sm);
        font-size: 0.7rem;
    }

    /* Carrossel de Produtos - Mobile */
    .products-carousel-container {
        margin-top: var(--spacing-lg);
    }

    .products-carousel-main-wrapper {
        border-radius: 8px;
        aspect-ratio: 4 / 3;
        padding: var(--spacing-md);
    }

    .products-carousel-thumbnails-wrapper {
        gap: var(--spacing-xs);
    }

    .products-thumb-item {
        width: 80px;
        height: 80px;
        border-width: 2px;
    }

    .products-thumb-nav {
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }

    .product-item {
        padding: var(--spacing-md);
        min-height: 160px;
    }

    .product-logo-wrapper {
        height: 100px;
        margin-bottom: var(--spacing-sm);
    }

    .product-name {
        font-size: 0.875rem;
    }

    /* Carrossel do Espaço e Resultados - Mobile */
    /* Carrossel do Espaço e Resultados - Mobile - Legacy Removed */


    .space-main-image,
    #gallery-before-after .space-main-image {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
    }

    .space-carousel-thumbnails-wrapper {
        gap: var(--spacing-xs);
        max-width: 100%;
    }

    .space-thumb-item {
        width: 64px;
        height: 64px;
        min-width: 64px;
        min-height: 64px;
        border-width: 2px;
        flex-shrink: 0;
    }

    .space-thumb-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .space-thumb-nav {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .space-gallery {
        display: flex;
        grid-template-columns: none;
        gap: 0;
        transition: transform 0.3s ease;
    }

    .gallery-item {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
        opacity: 0;
        transition: opacity 0.3s ease;
        display: none;
    }

    .gallery-item.active {
        opacity: 1;
        display: block;
    }

    .gallery-nav {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent;
        border: none;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: rgba(255, 255, 255, 0.9);
        cursor: pointer;
        z-index: 10;
        transition: all 0.2s ease;
        padding: 0;
        font-weight: 300;
    }

    .gallery-nav:hover {
        color: rgba(255, 255, 255, 1);
        transform: translateY(-50%) scale(1.05);
    }

    .gallery-nav:active {
        transform: translateY(-50%) scale(0.95);
    }

    .gallery-nav-prev {
        left: var(--spacing-xs);
    }

    .gallery-nav-next {
        right: var(--spacing-xs);
    }

    .partners-section {
        gap: var(--spacing-lg);
    }

    .partner-photo {
        width: 180px;
        height: 180px;
    }

    .btn {
        width: 100%;
        max-width: 400px;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 48px;
        height: 48px;
    }

    .contact-info {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }

    .contact-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .contact-link {
        width: auto;
        min-width: 200px;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hamburger-menu {
        display: flex;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10005;
        min-width: 48px;
        min-height: 48px;
        align-items: center;
        justify-content: center;
    }

    .nav-wrapper {
        justify-content: center;
        position: relative;
        align-items: center;
        min-height: 60px;
    }

    .nav-logo {
        height: 55px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1001;
    }

    .nav-menu {
        transform: translateX(-100%);
        z-index: 10003;
        visibility: hidden;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-menu-close {
        position: absolute;
        top: var(--spacing-md);
        right: var(--spacing-md);
        background: transparent;
        border: none;
        font-size: 2rem;
        color: var(--color-roxo-escuro);
        cursor: pointer;
        padding: var(--spacing-xs);
        line-height: 1;
        width: 40px;
        height: 40px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
        z-index: 10000;
    }

    .nav-menu-close:hover {
        transform: scale(1.1);
    }

    .nav-menu-logo {
        position: absolute;
        top: var(--spacing-md);
        left: 50%;
        transform: translateX(-50%);
        display: flex !important;
        justify-content: center;
        align-items: center;
        z-index: 10000;
    }

    .nav-menu-logo img {
        height: 60px;
        width: auto;
        object-fit: contain;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: none;
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-xs);
        position: relative;
    }

    .nav-menu li::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(to right,
                rgba(209, 151, 91, 0) 0%,
                rgba(209, 151, 91, 0.4) 10%,
                rgba(209, 151, 91, 0.4) 90%,
                rgba(209, 151, 91, 0) 100%);
    }

    .nav-menu li:last-child {
        border-bottom: none;
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-xs);
    }

    .nav-menu li:last-child::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(to right,
                rgba(209, 151, 91, 0) 0%,
                rgba(209, 151, 91, 0.4) 10%,
                rgba(209, 151, 91, 0.4) 90%,
                rgba(209, 151, 91, 0) 100%);
    }

    .nav-link {
        font-size: 0.9375rem;
        font-weight: 400;
        width: 100%;
        padding: var(--spacing-md) 0;
        letter-spacing: 0.02em;
    }

    .nav-link::after {
        display: none;
    }

    .hero-wrapper {
        min-height: 100vh;
    }

    .hero-watermark {
        width: 450px;
        height: 450px;
    }

    .hero-image {
        top: 38%;
        max-width: 320px;
    }

    .hero-img {
        width: 320px;
        max-width: 320px;
    }

    .hero-content {
        gap: var(--spacing-xs);
        margin-top: var(--spacing-lg);
    }

    .hero-content .btn {
        margin-top: var(--spacing-sm);
    }

    .hero-logo {
        height: 220px;
        margin-top: calc(var(--spacing-lg) + var(--spacing-sm));
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .cta-logo {
        height: 120px;
        margin-bottom: var(--spacing-xs);
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.9375rem;
        margin-bottom: var(--spacing-xs);
    }

    .map-container iframe {
        height: 180px;
    }

    .contact-info {
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
        align-items: center;
    }

    .contact-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .contact-link {
        width: auto;
        min-width: 200px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .authority-text {
        font-size: 1rem;
    }

    .procedure-card {
        padding: var(--spacing-md);
    }

    .procedure-image {
        height: 180px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float img {
        width: 44px;
        height: 44px;
    }

    /* Carrossel do Espaço e Resultados - Mobile Pequeno */
    .space-carousel-main-wrapper,
    #gallery-before-after .space-carousel-main-wrapper {
        aspect-ratio: 3 / 2;
        max-height: min(56vw, 260px);
        padding: var(--spacing-xs);
    }

    .space-main-image,
    #gallery-before-after .space-main-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .space-thumb-item {
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
    }

    .space-thumb-nav {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        font-size: 1rem;
    }

    /* Carrossel de Produtos - Mobile Pequeno */
    .products-carousel-main-wrapper {
        aspect-ratio: 3 / 2;
        padding: var(--spacing-sm);
    }

    .products-thumb-item {
        width: 70px;
        height: 70px;
    }

    .products-thumb-nav {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    /* Produtos - Mobile Pequeno */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .product-item {
        padding: var(--spacing-sm);
        min-height: 140px;
    }

    .product-logo-wrapper {
        height: 80px;
        margin-bottom: var(--spacing-xs);
    }

    .product-name {
        font-size: 0.8125rem;
    }
}

/* ============================================
   Ajustes para Desktop - Altura Total (100vh)
   ============================================ */
@media (min-width: 1024px) {

    .procedures,
    .clinic-space {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.image-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.image-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.image-modal-close:hover,
.image-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .image-modal-content {
        width: 100%;
    }
}

/* Ensure images indicate they are clickable */
.space-image,
.result-image {
    cursor: pointer;
}

/* Modal Navigation Styles */
.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 50px;
    font-weight: 300;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    user-select: none;
    z-index: 2001;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.image-modal-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.image-modal-prev {
    left: 20px;
}

.image-modal-next {
    right: 20px;
}

@media (max-width: 768px) {
    .image-modal-nav {
        font-size: 30px;
        padding: 5px 15px;
        height: 60px;
    }

    .image-modal-prev {
        left: 10px;
    }

    .image-modal-next {
        right: 10px;
    }
}