/* ==========================================================================
   CSS DESIGN SYSTEM — DR. LUAN MATIAS (PJT002)
   Estilo: Luxury Editorial Dental Experience
   Desenvolvido por: GBS Studio Digital
   ========================================================================== */

/* IMPORTAÇÃO DE FONTES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* VARIÁVEIS DO DESIGN SYSTEM */
:root {
    /* Cores Oficiais */
    --black-premium: #0B0B0B;
    --graphite: #1E1E1E;
    --graphite-mid: #2A2A2A;
    --champagne: #C8A46B;
    --gold-deep: #A67C39;
    --gold-light: #D4B88A;
    --ivory: #F5F5F2;
    --ivory-warm: #EDECE8;
    --white: #FAFAF8;

    /* Cores de Texto */
    --text-dark: #0B0B0B;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --text-on-dark: #FAFAF8;
    --text-on-dark-muted: #BCBCBC;

    /* Elementos Visuais */
    --border-subtle: rgba(200, 164, 107, 0.15);
    --border-subtle-white: rgba(255, 255, 255, 0.08);
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.25s ease;

    /* Espaçamentos e Layout */
    --max-width: 1200px;
    --section-padding: clamp(4rem, 8vw, 8rem) 1.5rem;
}

/* RESET E ESTILOS GLOBAIS */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--black-premium);
    color: var(--text-on-dark);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

/* TIPOGRAFIA FLUIDA */
h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
}

.headline-large {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-weight: 300;
    color: var(--text-on-dark-muted);
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.body-large {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    font-weight: 300;
}

.body-regular {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
}

.label-mini {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--champagne);
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* LAYOUT E ESTRUTURA */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

/* Seções Escuras */
.bg-dark {
    background-color: var(--black-premium);
    color: var(--text-on-dark);
}

.bg-graphite {
    background-color: var(--graphite);
    color: var(--text-on-dark);
}

/* Seções Claras */
.bg-ivory {
    background-color: var(--ivory);
    color: var(--text-dark);
}

.bg-ivory .section-subtitle {
    color: var(--text-mid);
}

.bg-ivory .body-large,
.bg-ivory .body-regular {
    color: var(--text-mid);
}

/* ALINHAMENTOS E AUXILIARES */
.text-center {
    text-align: center;
}

.align-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.d-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

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

.d-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* COMPONENTES */

/* Botões Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.15rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: 'Inter', sans-serif;
    border-radius: 0;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--champagne);
    color: var(--black-premium);
    border: 1px solid var(--champagne);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--gold-deep);
    border-color: var(--gold-deep);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(166, 124, 57, 0.15);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--champagne);
    color: var(--champagne);
    background: transparent;
}

.btn-secondary:hover {
    background-color: var(--champagne);
    color: var(--black-premium);
    transform: translateY(-2px);
}

.btn-light {
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    background: transparent;
}

.btn-light:hover {
    background-color: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Linha Dourada de Respiro */
.line-gold {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--champagne), transparent);
    width: 100%;
    opacity: 0.3;
}

.line-gold-sutil {
    height: 1px;
    background-color: var(--border-subtle);
    width: 100%;
}

/* Molduras de Imagens */
.img-frame {
    position: relative;
    border: 1px solid var(--border-subtle);
    padding: 1rem;
}

.img-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-top: 1px solid var(--champagne);
    border-left: 1px solid var(--champagne);
}

.img-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-bottom: 1px solid var(--champagne);
    border-right: 1px solid var(--champagne);
}

/* ==========================================================================
   SEÇÕES DA PÁGINA
   ========================================================================== */

/* NAVBAR PREMIUM */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-subtle-white);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(11, 11, 11, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
    transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
    padding: 0.75rem 1.5rem;
}

/* BACKDROP OVERLAY DO MENU MOBILE */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 11, 11, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    margin-right: clamp(1.5rem, 4vw, 4rem);
}

.logo-symbol {
    height: clamp(58px, 7vw, 80px);
    width: auto;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.logo-assinatura {
    height: clamp(38px, 4.5vw, 54px);
    width: auto;
    transition: var(--transition-smooth);
}

.header.scrolled .logo-symbol {
    height: clamp(44px, 5.5vw, 60px);
}

.header.scrolled .logo-assinatura {
    height: clamp(28px, 3.5vw, 40px);
}

.nav-links {
    display: flex;
    gap: 1.6rem;
    list-style: none;
}

.nav-item a {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 400;
    color: var(--text-on-dark-muted);
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--champagne);
}

.nav-cta {
    margin-left: 1.2rem;
}

.nav-cta .btn {
    padding: 0.65rem 1.4rem;
    font-size: 0.75rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--champagne);
    transition: var(--transition-fast);
}

/* HERO SECTION EDITORIAL */
.hero {
    min-height: clamp(600px, 85vh, 800px);
    padding-top: clamp(7.5rem, 11vw, 9rem);
    padding-bottom: clamp(5rem, 8vw, 8rem);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


.hero .container {
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
}

.hero-content {
    max-width: 620px;
}

.hero-content .headline-large {
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    line-height: 1.25;
    margin-bottom: 1.8rem;
}

.hero-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-image-col {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-img-wrapper {
    width: 78%;
    position: relative;
}

.hero-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.05);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--graphite);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    z-index: 3;
    max-width: 240px;
}

.hero-badge-text {
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-on-dark-muted);
}

.hero-badge-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--champagne);
    margin-bottom: 0.3rem;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 1025px) {
    .hero-image-col {
        transform: translateY(-20px);
        /* Balanceamento vertical da foto no desktop */
    }

    .hero-img-wrapper {
        margin-bottom: 2rem;
        /* Evita que o badge fique muito colado no rodapé da seção */
    }
}

.hero-badge-cro {
    display: block;
    font-size: 0.78rem;
    font-family: 'Inter', sans-serif;
    color: var(--champagne);
    letter-spacing: 0.1em;
    margin-top: 0.1rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* SEÇÃO DOR/DESEJO (INCÔMODOS DO SORRISO) */
.desejos-intro {
    margin-bottom: 4rem;
}

.desejos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.desejo-card {
    background-color: var(--white);
    padding: 3rem 2rem 2.5rem 2rem;
    border: 1px solid rgba(200, 164, 107, 0.18);
    box-shadow: 0 8px 24px rgba(11, 11, 11, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.desejo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
    opacity: 0;
    transition: var(--transition-smooth);
}

.desejo-card:hover::before {
    opacity: 1;
}

.desejo-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 164, 107, 0.35);
    box-shadow: 0 15px 35px rgba(200, 164, 107, 0.08);
}

.desejo-icon {
    font-size: 1.8rem;
    color: var(--champagne);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.desejo-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.desejo-card-desc {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.6;
    font-weight: 300;
}

/* SEÇÃO PRINCIPAL — FACETAS EM RESINA */
.facetas-intro {
    margin-bottom: 4rem;
}

.facetas-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.facetas-photo-wrapper {
    position: relative;
}

.facetas-photo {
    width: 100%;
    height: auto;
    filter: brightness(0.9) contrast(1.05);
}

.facetas-list {
    list-style: none;
    margin-top: 2rem;
}

.facetas-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.8rem;
}

.facetas-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background-color: var(--champagne);
    border-radius: 50%;
}

.facetas-item-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--white);
}

.facetas-item-desc {
    font-size: 0.95rem;
    color: var(--text-on-dark-muted);
    line-height: 1.5;
}

/* RESTAURAÇÕES ESTÉTICAS */
.restauracoes {
    border-top: 1px solid var(--border-subtle-white);
}

.restauracoes-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.restauracoes-content {
    order: 1;
}

.restauracoes-image {
    order: 2;
}

.restauracoes-photo {
    width: 100%;
    height: auto;
    filter: brightness(0.85) contrast(1.05);
}

/* GALERIA DE RESULTADOS (ANTES E DEPOIS) */
.galeria {
    position: relative;
}

/* GALERIA DE RESULTADOS (CARROSSEL COM SCROLL SNAP) */
.gallery-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.gallery-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    scroll-behavior: smooth;
    padding: 1rem 0;
    width: 100%;
}

.gallery-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.gallery-card.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
    background-color: var(--white);
    padding: 0;
    border: 1px solid rgba(200, 164, 107, 0.12);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(11, 11, 11, 0.015);
    transition: var(--transition-smooth);
}

.gallery-card.carousel-slide:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 164, 107, 0.28);
    box-shadow: 0 15px 35px rgba(200, 164, 107, 0.06);
}

.gallery-static-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

/* LIGHTBOX GALERIA */
.gallery-lb {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gallery-lb.active {
    display: flex;
}

.gallery-lb-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
}

.gallery-lb-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s;
    padding: 0.25rem 0.5rem;
}

.gallery-lb-close:hover {
    opacity: 1;
}

.gallery-info {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-case-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.gallery-case-tag {
    font-size: 0.62rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-deep);
    background-color: rgba(200, 164, 107, 0.08);
    border: 1px solid rgba(200, 164, 107, 0.2);
    padding: 0.25rem 0.75rem;
    font-family: 'Inter', sans-serif;
    display: inline-block;
}

.gallery-disclaimer {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2rem;
    text-align: center;
    font-style: italic;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(200, 164, 107, 0.25);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(11, 11, 11, 0.04);
}

.carousel-arrow:hover {
    background-color: var(--black-premium);
    color: var(--champagne);
    border-color: var(--black-premium);
    box-shadow: 0 6px 16px rgba(11, 11, 11, 0.15);
}

.carousel-arrow.prev {
    left: -21px;
}

.carousel-arrow.next {
    right: -21px;
}

@media (max-width: 1250px) {
    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(200, 164, 107, 0.25);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dots .dot.active {
    background-color: var(--champagne);
    width: 20px;
    border-radius: 4px;
}

/* MÉTODO DE ATENDIMENTO */
.metodo {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background-color: var(--border-subtle);
    z-index: 1;
}

.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background-color: var(--champagne);
    z-index: 2;
    height: 0%;
    transition: height 0.5s ease-out;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 3rem;
    z-index: 3;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 2.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--graphite);
    border: 2px solid var(--border-subtle);
    z-index: 4;
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -6px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -6px;
}

.timeline-item.active .timeline-dot {
    background-color: var(--champagne);
    border-color: var(--champagne);
    box-shadow: 0 0 10px var(--champagne);
}

.timeline-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: rgba(200, 164, 107, 0.15);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.timeline-item.active .timeline-number {
    color: var(--champagne);
}

.timeline-title {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-on-dark-muted);
    line-height: 1.6;
    font-weight: 300;
}

/* SOBRE O DR. LUAN MATIAS */
.sobre {
    overflow: hidden;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: center;
}

.sobre-content {
    position: relative;
}

.sobre-philosophy {
    border-left: 2px solid var(--champagne);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-on-dark-muted);
}

.sobre-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.sobre-credential-item {
    font-size: 0.8rem;
    color: var(--champagne);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* TRATAMENTOS COMPLEMENTARES */
.tratamentos-intro {
    margin-bottom: 4rem;
}

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

.tratamentos-card {
    background-color: var(--white);
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.tratamentos-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(200, 164, 107, 0.3);
}

.tratamentos-card.highlight {
    background-color: var(--black-premium);
    color: var(--white);
    border: 1px solid var(--border-subtle);
}

.tratamentos-card.highlight:hover {
    border-color: var(--champagne);
}

.card-top {
    margin-bottom: 2rem;
}

.card-icon {
    font-size: 1.8rem;
    color: var(--champagne);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.tratamentos-card.highlight .card-title {
    color: var(--white);
}

.tratamentos-card:not(.highlight) .card-title {
    color: var(--text-dark);
}

.card-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    font-weight: 300;
}

.tratamentos-card.highlight .card-desc {
    color: var(--text-on-dark-muted);
}

.tratamentos-card:not(.highlight) .card-desc {
    color: var(--text-mid);
}

.card-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-top: 1.5rem;
}

.tratamentos-card.highlight .card-cta-link {
    color: var(--champagne);
}

.tratamentos-card:not(.highlight) .card-cta-link {
    color: var(--text-dark);
}

.card-cta-link i {
    transition: var(--transition-fast);
}

.card-cta-link:hover i {
    transform: translateX(3px);
}

/* DIFERENCIAIS PREMIUM */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.diferencial-item {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}

.diferencial-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    color: var(--champagne);
}

.diferencial-desc {
    font-size: 0.95rem;
    color: var(--text-on-dark-muted);
    line-height: 1.6;
    font-weight: 300;
}

/* FAQ PREMIUM */
.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: flex-start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    border: 1px solid var(--border-subtle-white);
    background-color: rgba(255, 255, 255, 0.02);
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-subtle);
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: var(--white);
    transition: var(--transition-fast);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 400;
    padding-right: 1.5rem;
}

.faq-icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--champagne);
    transition: var(--transition-smooth);
}

/* Barra horizontal */
.faq-icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

/* Barra vertical */
.faq-icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-trigger {
    color: var(--champagne);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-on-dark-muted);
    font-weight: 300;
}

/* CTA FINAL CINEMATOGRÁFICO */
.cta-final {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-subtle-white);
}

.cta-final-monogram {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(250px, 50vw, 600px);
    opacity: 0.015;
    pointer-events: none;
}

.cta-final-box {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* FOOTER PREMIUM */
.footer {
    background-color: var(--black-premium);
    border-top: 1px solid var(--border-subtle-white);
    padding: 4rem 1.5rem 2rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    align-self: flex-start;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-on-dark-muted);
    max-width: 280px;
    line-height: 1.5;
    font-weight: 300;
}

.footer-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--champagne);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-on-dark-muted);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.88rem;
    color: var(--text-on-dark-muted);
    line-height: 1.4;
}

.footer-contact-item i {
    color: var(--champagne);
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle-white);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-light);
}

.footer-cro {
    font-size: 0.75rem;
    color: var(--text-light);
}

.footer-gbs {
    font-size: 0.72rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-gbs a {
    color: var(--champagne);
    font-weight: 500;
}

/* ==========================================================================
   EFEITOS DE REVEAL (INTERSECTION OBSERVER)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(35px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* delay utilitários para stagger effects */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* TABLETS (1024px e abaixo) */
@media (max-width: 1024px) {
    .nav-links {
        gap: 0.9rem;
    }

    .logo-symbol {
        height: 56px;
    }

    .logo-assinatura {
        height: 40px;
    }

    .d-grid-2,
    .facetas-grid,
    .restauracoes-grid,
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .restauracoes-content {
        order: 2;
    }

    .restauracoes-image {
        order: 1;
    }

    .hero-image-col {
        justify-content: center;
        margin-top: 3rem;
    }

    .hero-img-wrapper {
        width: 70%;
    }

    .gallery-card.carousel-slide {
        flex: 0 0 100%;
    }

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

    .desejos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

/* SMARTPHONES GRANDES E MÉDIOS (768px e abaixo) */
@media (max-width: 768px) {
    .nav-cta {
        display: none;
    }

    .logo-symbol {
        height: 50px;
    }

    .logo-assinatura {
        display: block;
        height: 59px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(11, 11, 11, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-left: 1px solid var(--border-subtle);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 1000;
        transition: var(--transition-smooth);
    }

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

    .menu-toggle {
        display: flex;
    }

    /* Hambúrguer quando ativo */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        min-height: auto;
        padding-top: 6.5rem;
        padding-bottom: 6.5rem;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-content p {
        margin-bottom: 0;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-top: 1.75rem;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .gallery-card.carousel-slide {
        flex: 0 0 100%;
        border-color: rgba(200, 164, 107, 0.1);
    }

    .gallery-carousel {
        gap: 1rem;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }

    .carousel-arrow.prev {
        left: -8px;
    }

    .carousel-arrow.next {
        right: -8px;
    }


    .hero-img-wrapper {
        width: 90%;
    }

    .hero-badge {
        left: 5%;
        right: 5%;
        bottom: -30px;
        max-width: none;
    }

    .timeline::before,
    .timeline-line-progress {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 14px !important;
        right: auto !important;
    }

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

    .desejos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .footer-brand {
        grid-column: span 1;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        align-self: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* SMARTPHONES PEQUENOS (480px e abaixo) */
@media (max-width: 480px) {
    .nav-links {
        width: 100%;
    }

    .sobre-credentials {
        flex-direction: column;
        align-items: stretch;
    }

    .sobre-credential-item {
        text-align: center;
    }
}

/* PREFERS REDUCED MOTION (ACESSIBILIDADE) */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .btn,
    .gallery-card,
    .tratamentos-card,
    .faq-icon::before,
    .faq-icon::after {
        transition: none !important;
    }

    .btn:hover,
    .gallery-card:hover,
    .tratamentos-card:hover {
        transform: none !important;
    }

    .timeline-line-progress {
        transition: none !important;
    }
}

/* ==========================================
   CERTIFICADOS E MODAL LIGHTBOX
   ========================================== */
.sobre-certificates {
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
}

.certificates-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--champagne);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.certificates-grid {
    display: flex;
    gap: 1.5rem;
}

.certificate-thumb {
    position: relative;
    width: 120px;
    height: 85px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    cursor: pointer;
    background-color: var(--black-premium);
    transition: var(--transition-smooth);
}

.certificate-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 11, 11, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    color: var(--champagne);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.certificate-thumb:hover {
    border-color: var(--champagne);
    transform: translateY(-2px);
}

.certificate-thumb:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.certificate-thumb:hover .thumb-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-modal.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--champagne);
}

@media (max-width: 768px) {
    .certificates-grid {
        justify-content: flex-start;
    }

    .lightbox-close {
        top: -45px;
        right: 10px;
    }
}

/* GBS CREDITS IN FOOTER */
.gbs-credits {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    text-align: right;
}

.gbs-details {
    display: flex;
    gap: 1rem;
    font-size: 0.65rem;
    color: var(--text-light);
}

.gbs-details a:hover {
    color: var(--champagne);
}

@media (max-width: 768px) {
    .gbs-credits {
        align-items: center;
        text-align: center;
        margin-top: 1rem;
    }

    .gbs-details {
        flex-direction: column;
        gap: 0.3rem;
    }
}

