:root {
    /* Identidade Visual Domus */
    --primary: #06599E; /* Azul Domus (principal) */
    --primary-dark: #044175;
    --secondary: #01B1EC;
    --green: #25D366; /* Verde Domus (secundário) */
    
    --bg-white: #FFFFFF; /* Branco predominante */
    --bg-light: #F7F9FC; /* Cinza claro para apoio */
    
    --text-strong: #111827;
    --text-body: #4B5563;
    --text-white: #FFFFFF;
    
    --border: rgba(0,0,0,0.06);
    --border-hover: rgba(0,0,0,0.15);
    
    --glass-bg: rgba(255, 255, 255, 0.95);
}

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

html {
    scroll-behavior: auto; /* Required for GSAP */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-strong);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Utilities (Paleta Domus) */
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary); }

.text-primary { color: var(--primary) !important; }
.text-white { color: var(--text-white) !important; }
.text-white-80 { color: rgba(255,255,255,0.8) !important; }
.text-black { color: var(--text-strong) !important; }

.icon-primary { color: var(--primary); }
.icon-white { color: var(--text-white); }
.icon-green { color: var(--green); }

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }

/* Loading Preloader */
.preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.loader-logo {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background 0.3s, border 0.3s, transform 0.3s ease-in-out;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 32px; }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-body);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
}
.icon-sm { width: 16px; height: 16px; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-strong);
}

/* Botões */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 2rem;
    background: var(--primary);
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 100px; 
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-outline-primary:hover { background: var(--bg-light); }

.btn-white {
    background: var(--bg-white);
    color: var(--primary);
    border-radius: 100px;
    padding: 0.9rem 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
}
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary);
    padding-bottom: 0.2rem;
    cursor: pointer;
}
.link-arrow svg {
    transition: transform 0.2s;
}
.link-arrow:hover svg {
    transform: translateX(4px);
}

/* Botão Flutuante WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-green 2s infinite;
}
.floating-whatsapp:hover {
    transform: scale(1.1) rotate(5deg);
    animation: none;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Typography Base */
.title-massive {
    font-size: 3.8rem;
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}
.title-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.title-medium {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
.subtitle {
    font-size: 1.1rem;
    color: inherit;
}

/* Initial States for GSAP (Sem visibility hidden absoluto para não bugar no scroll rápido) */
.gs-reveal, .gs-reveal-up {
    /* JS cuidará de esconder antes da animação */
}
.scrub-text {
    background: linear-gradient(90deg, var(--primary) 0%, rgba(6, 89, 158, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    background-position: 100% 0;
    padding-bottom: 0.15em; /* Previne o corte de letras como g, p, q com line-height apertado */
}

/* Seção 1: Hero Parallax */
/* Seção 1: Premium Hero (Canvas Expansivo) */
.premium-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 18vh;
    overflow: hidden;
}
.hero-sticky-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Empurra o texto pro topo e o canvas pro final */
}
.hero-text-container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-shrink: 0; /* Impede que o texto amasse */
}
.hero-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
}
.hero-title {
    font-size: 6rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: var(--primary);
}
.hero-desc {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: 2.5rem;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.hero-canvas-wrapper {
    position: relative;
    bottom: auto;
    width: 100%;
    height: 45vh;
    min-height: 250px; /* Limite de encolhimento */
    flex-shrink: 1; /* Permite que o canvas encolha se a tela for muito baixa */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 5;
}
.hero-canvas-inner {
    width: 65vw;
    height: 100%; /* Preenche todo o wrapper */
    border-radius: 40px 40px 0 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 -20px 80px rgba(0,0,0,0.15);
    /* GSAP transformará a width para 100vw, height para 100vh e border-radius para 0 */
}
.hero-canvas-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* Margem para zoom-out inicial */
}
.hero-canvas-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0; /* GSAP cuidará do escurecimento */
    pointer-events: none;
}

/* Transição: Botão Expansivo Real (Sliding Window) */
.hero-expanding-btn {
    position: absolute;
    bottom: 6vh;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 65px;
    border-radius: 100px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 2px solid rgba(0,0,0,0.05); /* Borda sutil para parecer botão */
    /* Removido cursor: pointer daqui para não bugar a tela inteira quando expandir */
    /* GSAP removerá o border-radius, border, e expandirá width/height */
}

/* Link overlay que torna o botão clicável apenas enquanto é um botão */
.hero-app-link {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 15;
    cursor: pointer;
}

.expanding-btn-content {
    position: absolute;
    top: 6rem; /* A posição que deverá parar ao final (simulando a distância real do topo) */
    left: 50%;
    transform: translateX(-50%);
    width: 100vw; /* Fixo para impedir a quebra de linha maluca enquanto a largura anima */
    opacity: 0;
}

.expanding-btn-text {
    position: relative;
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 2;
}

/* Seção 2: Domus 360 (Sticky Stacked Cards) */
.stacked-cards-section {
    position: relative;
    z-index: 30; /* Fica acima do botão expansivo para os cards aparecerem na transição */
    margin-top: -65vh; /* NATIVO NO CSS PARA NÃO QUEBRAR O SCROLLTRIGGER DAS PRÓXIMAS SEÇÕES */
    padding: 2rem 0 4rem; 
    opacity: 0; /* Escondido até o botão expandir */
    pointer-events: none;
}
.stacked-cards-container {
    position: relative;
    padding-bottom: 4rem; /* Espaço pro scroll final */
}
.stacked-card {
    position: sticky;
    top: calc(120px + (var(--index) * 20px)); 
    padding-top: 1rem;
    margin-bottom: 5vh; /* Bastante reduzido para agilizar a rolagem */
    transform-origin: top center;
}
/* Última carta não precisa de tanta margem inferior */
.stacked-card:last-child {
    margin-bottom: 2rem;
}
.card-inner {
    position: relative;
    height: 55vh; /* Reduzido para caber melhor na tela sem forçar scroll */
    min-height: 400px;
    background: var(--bg-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
    /* For smoother GSAP scaling */
    will-change: transform;
}
.card-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.card-glass-content {
    position: absolute;
    bottom: 2rem; left: 2rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 500px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}
.card-glass-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}
.card-glass-content p {
    font-size: 1.05rem;
    margin: 0;
}
.card-glass-content.bg-primary {
    background: rgba(6, 89, 158, 0.9);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Seção 4: App Domus (Estilo Apple) */
.apple-app-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removido o overflow: hidden para evitar aquele "corte" quadrado feio. 
       A animação será ajustada para vir de baixo. */
}
.apple-pin-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.apple-glow {
    position: absolute;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.apple-header {
    position: absolute;
    top: 14vh; /* Empurra o texto para baixo para não bater no Menu Header principal */
    width: 100%;
    z-index: 15;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.apple-phone-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
}
.apple-phone-img {
    height: 65vh; /* Celular em um tamanho majestoso mas funcional */
    margin-top: 20vh; /* Empurra o celular para baixo, garantindo que o subtítulo tenha espaço de sobra */
    object-fit: contain;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.5));
}

/* Features de Vidro */
.apple-feature {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: max-content;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.apple-feature h4 { margin: 0; font-size: 1.2rem; font-weight: 600; color: #fff; }
.apple-feature p { margin: 0; font-size: 0.95rem; color: rgba(255,255,255,0.8); }

/* Posições */
/* Usamos calc a partir do centro (50%) para garantir que fiquem bem "em cima" das bordas do celular */
/* Lado Esquerdo */
.feature-left-top { top: 32%; right: calc(50% + 135px); }
.feature-left-mid { top: 48%; right: calc(50% + 145px); }
.feature-left-bottom { bottom: 22%; right: calc(50% + 125px); }

/* Lado Direito */
.feature-right-top { top: 32%; left: calc(50% + 135px); }
.feature-right-mid { top: 48%; left: calc(50% + 145px); }
.feature-right-bottom { bottom: 22%; left: calc(50% + 125px); }

.apple-footer {
    position: absolute;
    bottom: 5%;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
}

/* Seção Saúde */
.section-clean { padding: 8rem 0; }
.tabs-scroll-area {
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border);
}
.tabs-nav {
    display: flex;
    gap: 3rem;
}
.tab-pill {
    background: none;
    border: none;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-body);
    border-bottom: 2px solid transparent;
    cursor: pointer;
}
.tab-pill.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

/* Listas / Masonry */
.masonry-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.masonry-list span {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 1rem;
    color: var(--text-strong);
    background: var(--bg-white);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.editorial-box {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}
.editorial-box h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.editorial-box p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Programas e Loja */
.dual-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}
.clean-cards {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}
.clean-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-strong);
}
.clean-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.clean-tags span {
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 8px;
    color: var(--text-strong);
}

/* Galeria Arquitetônica */
.architectural-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-top: 4rem;
}
.gallery-large, .gallery-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.gallery-large img, .gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-large img { aspect-ratio: 16/9; }
.gallery-small {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.gallery-img {
    flex: 1;
    min-height: 0;
}
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--text-white);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Footer Premium (Estilo App) */
.footer-premium {
    border-top: 1px solid var(--border);
    padding: 6rem 0 2rem;
}
.footer-main-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-brand-section .footer-logo {
    height: 45px;
    margin-bottom: 2rem;
}
.footer-headline {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}
.footer-app-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}
.app-badges {
    display: flex;
    gap: 1rem;
}
.app-badge img {
    height: 40px;
    width: auto;
}
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-strong);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}
.footer-col a {
    display: block;
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 1rem;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: var(--primary);
}
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-strong);
}
.lang-btn i { width: 16px; height: 16px; }
.copyright {
    font-size: 0.85rem;
    color: var(--text-body);
}
.footer-socials {
    display: flex;
    gap: 1.5rem;
}
.footer-socials a {
    color: var(--text-strong);
    transition: color 0.2s;
}
.footer-socials a:hover {
    color: var(--primary);
}

/* --- RESPONSIVIDADE TOTAL (Mobile-First Polish) --- */

@media (max-width: 1200px) {
    .apple-feature {
        padding: 1rem;
        gap: 0.8rem;
    }
    .apple-feature h4 { font-size: 1.05rem; }
    .apple-feature p { font-size: 0.85rem; }
    
    .feature-left-top { right: calc(50% + 110px); }
    .feature-left-mid { right: calc(50% + 120px); }
    .feature-left-bottom { right: calc(50% + 100px); }
    .feature-right-top { left: calc(50% + 110px); }
    .feature-right-mid { left: calc(50% + 120px); }
    .feature-right-bottom { left: calc(50% + 100px); }
}

@media (max-width: 991px) {
    /* Tipografia e Grid */
    .hero-title { font-size: 3.5rem; line-height: 1.1; }
    .title-massive { font-size: 2.8rem; line-height: 1.1; }
    
    .sequence-container, .solid-grid, .dual-sections, .editorial-grid, .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-links-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom-bar { flex-direction: column; align-items: flex-start; gap: 2rem; }
    
    /* Hero */
    .premium-hero { padding-top: 12vh; }
    .hero-text-container { padding-top: 5vh; }
    .hero-canvas-inner { width: 92vw; height: 100%; }
    
    .hero-expanding-btn { 
        width: 280px; /* Mantém o estilo pílula no tablet/mobile */
        bottom: 5vh;
    }
    .expanding-btn-content { width: 100vw; top: 4rem; padding: 0 1rem; }
    
    /* Domus 360 (Stacked Cards) */
    .stacked-cards-section {
        margin-top: -55vh; /* Menos agressivo no mobile */
        padding: 1rem 0 1rem;
    }
    .stacked-cards-container {
        padding-bottom: 2rem;
    }
    .card-inner { 
        height: 60vh; 
        min-height: 380px; 
    }
    .card-glass-content {
        bottom: 1rem; left: 1rem; right: 1rem;
        max-width: none;
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    /* App Domus (Apple) - Linear no Mobile */
    .apple-app-section {
        min-height: auto;
        padding: 3rem 0; /* Reduzido de 6rem */
        height: auto; 
        display: block; 
    }
    
    .apple-header {
        position: relative;
        top: 0;
        width: 100%;
        margin-bottom: 2rem; /* Reduzido de 3rem */
        padding: 0 1.5rem;
    }
    
    .apple-phone-container {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem; /* Reduzido de 2rem */
    }
    
    .apple-phone-img {
        position: relative;
        height: 45vh; /* Levemente menor para caber melhor na tela com os cards */
        max-height: 400px;
        margin-top: 0;
    }
    
    /* Remove a flutuação absoluta dos cartões */
    .apple-feature {
        position: relative;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
        justify-content: flex-start;
        background: rgba(255,255,255,0.15);
    }
    
    .apple-footer {
        position: relative;
        bottom: 0;
        margin-top: 2rem; /* Reduzido de 4rem */
    }

    /* UI Geral */
    .section-clean { padding: 4rem 0; } 
    .tabs-scroll-area { margin-bottom: 2rem; } 
    
    .architectural-gallery { 
        grid-template-columns: 1fr; 
        margin-top: 2rem;
    }
    .gallery-caption { padding: 1rem; }
    
    .dual-sections { gap: 2rem; }
    .editorial-grid { gap: 2rem; }
    .clean-card { padding: 1rem 0; font-size: 1.1rem; }
    .gallery-large img { aspect-ratio: 4/3; }
    .gallery-small { flex-direction: row; }
    .gallery-img img { aspect-ratio: 4/3; }
    
    .btn-whatsapp { display: none; }
    .mobile-menu-btn { display: block; z-index: 1001; position: relative; }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 2rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.4s ease-in-out;
        gap: 1.5rem;
    }
    .nav-links.active {
        clip-path: inset(0 0 0 0);
    }
    .nav-links a {
        font-size: 1.1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.6rem; }
    .title-massive { font-size: 2.1rem; }
    .title-large { font-size: 2rem; }
    .title-medium { font-size: 1.8rem; }
    .subtitle { font-size: 1.05rem; }
    
    .premium-hero { padding-top: 10vh; }
    .hero-canvas-inner { width: 95vw; height: 100%; }
    .hero-canvas-wrapper { height: 55vh; }
    
    .hero-expanding-btn { 
        width: 250px; /* Pílula menor no mobile */
        height: 55px; 
        bottom: 12vh; /* Mais alto para não sumir atrás da barra de busca nativa do celular */
    }
    .expanding-btn-text { font-size: 1rem; }
    
    .stacked-card { margin-bottom: 2vh; }
    
    /* Focos específicos de imagem no mobile (Suavizados) */
    #card-2 .card-img { object-position: 25% 50%; } /* Facial - um pouco para a esquerda */
    #card-3 .card-img, 
    #card-4 .card-img { object-position: 75% 50%; } /* Capilar e Funcional - um pouco para a direita */
    
    .tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1.5rem;
        padding-bottom: 0.5rem; /* Reduzido respiro inferior da rolagem */
        -webkit-overflow-scrolling: touch;
    }
    
    .footer-premium { padding: 4rem 0 2rem; }
    .footer-links-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-headline { font-size: 1.6rem; }
    .footer-bottom-left { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
