/* ==========================================================================
   SITE MASTER TEMPLATE - PREMIUM DYNAMIC SPA STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Brand Theme Colors (Dynamically configurable via app.js / Firestore) */
    --cor-primaria: #2563eb;
    --cor-primaria-hover: #1d4ed8;
    --cor-primaria-rgb: 37, 99, 235;
    --cor-secundaria: #0ea5e9;
    --cor-secundaria-hover: #0284c7;
    --cor-destaque: #f59e0b;
    --cor-accent: #10b981;
    
    /* Background Colors */
    --cor-fundo: #f8fafc;
    --cor-fundo-alt: #ffffff;
    --cor-card: #ffffff;
    --cor-card-hover: #f1f5f9;
    --cor-footer: #0b1f3a;
    
    /* Text Colors - High Contrast WCAG AAA Compliant */
    --cor-texto: #0f172a;
    --cor-texto-mutado: #475569; /* 7:1 contrast ratio on white */
    --cor-texto-claro: #f8fafc;
    --cor-texto-footer: #cbd5e1; /* 10:1 contrast ratio on #0b1f3a */
    
    /* UI Accents & Status */
    --cor-borda: #e2e8f0;
    --cor-borda-escura: rgba(255, 255, 255, 0.12);
    --cor-whatsapp: #25d366;
    --cor-whatsapp-hover: #1eb956;
    --cor-estrela: #fbbf24;
    --cor-sucesso: #10b981;
    --cor-perigo: #ef4444;
    --cor-aviso: #f59e0b;
    
    /* Typography */
    --font-title: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing */
    --section-spacing: 56px;
    --container-max-width: 1200px;
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 16px 32px rgba(37, 99, 235, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* Indicador Global de Foco Acessível (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--cor-primaria);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--cor-texto);
    background-color: var(--cor-fundo);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--cor-texto);
    line-height: 1.25;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.is-hidden {
    display: none !important;
}

/* --------------------------------------------------------------------------
   3. Loading Spinner & 404 View
   -------------------------------------------------------------------------- */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.spinner-content {
    text-align: center;
}

.spinner-circle {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border: 4px solid rgba(37, 99, 235, 0.15);
    border-top-color: var(--cor-primaria);
    border-radius: 50%;
    animation: spin 0.9s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

.spinner-text {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cor-texto-mutado);
    letter-spacing: -0.01em;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.not-found-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: var(--cor-fundo);
}

.not-found-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--cor-borda);
}

.not-found-icon {
    color: var(--cor-destaque);
    margin-bottom: 20px;
}

.not-found-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.not-found-desc {
    color: var(--cor-texto-mutado);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   4. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}
.btn-primary {
    background: var(--cor-primaria);
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--cor-primaria-hover);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 6px 16px rgba(37, 99, 235, 0.28);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--cor-texto);
    border: 1px solid var(--cor-borda);
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: var(--cor-texto);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--cor-texto-mutado);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: #f1f5f9;
    color: var(--cor-texto);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: #ffffff;
    color: var(--cor-texto);
    border: 1px solid var(--cor-borda);
    font-weight: 600;
}

.btn-outline-dark:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--cor-texto);
    transform: translateY(-1px);
}

.btn-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    font-weight: 600;
}

.btn-warning:hover {
    background: #fde68a;
    color: #78350f;
}

.btn-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-weight: 600;
}

.btn-danger:hover {
    background: #fecaca;
    color: #7f1d1d;
}

.btn-whatsapp {
    background: var(--cor-whatsapp);
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    font-weight: 700;
}

.btn-whatsapp:hover {
    background: var(--cor-whatsapp-hover);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    transform: translateY(-2px);
}

.btn-xs {
    padding: 4px 10px;
    font-size: 0.78rem;
    border-radius: var(--radius-sm);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   5. Section Header & Common Spacing
   -------------------------------------------------------------------------- */
.section {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cor-primaria);
    background: rgba(37, 99, 235, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.section-title {
    font-size: 1.85rem;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--cor-texto);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--cor-texto-mutado);
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   6. Sticky Responsive Navbar
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.25rem;
    color: #ffffff;
    transition: color var(--transition-fast);
}

.navbar.scrolled .nav-brand {
    color: var(--cor-texto);
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--cor-primaria);
    color: #ffffff;
}

.nav-menu {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-title);
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.navbar.scrolled .nav-link {
    color: var(--cor-texto-mutado);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--cor-primaria);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta-desktop {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 11px 6px;
    z-index: 10001;
    border-radius: var(--radius-sm);
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.navbar.scrolled .hamburger .bar {
    background-color: var(--cor-texto);
}

.hamburger.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--cor-texto);
}

.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--cor-texto);
}

/* Mobile Drawer Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100dvh;
    background: #ffffff;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.15);
    padding: 80px 24px calc(24px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
}

.mobile-drawer.is-open {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cor-texto);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--cor-borda);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--cor-primaria);
    padding-left: 6px;
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0b1f3a;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.92) 0%, rgba(30, 58, 138, 0.8) 50%, rgba(14, 165, 233, 0.4) 100%);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    line-height: 1.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    max-width: 580px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

.badge-icon {
    color: var(--cor-destaque);
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   9. Serviços Section (Card Grid)
   -------------------------------------------------------------------------- */
.servicos-section {
    background-color: var(--cor-fundo);
}

.servicos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.servico-card {
    background: var(--cor-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cor-borda);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    z-index: 10000;
}

.mobile-drawer.is-open {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cor-texto);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--cor-borda);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--cor-primaria);
    padding-left: 6px;
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0b1f3a;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.92) 0%, rgba(30, 58, 138, 0.8) 50%, rgba(14, 165, 233, 0.4) 100%);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    line-height: 1.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    max-width: 580px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

.badge-icon {
    color: var(--cor-destaque);
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   8. Sobre Nós / A Doutora Section (Luxury Aesthetic Layout)
   -------------------------------------------------------------------------- */
.sobre-section {
    background-color: var(--cor-fundo-alt, #ffffff);
    position: relative;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .sobre-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 56px;
    }
}

.sobre-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--cor-card-borda, #ede5dc);
}

.sobre-img {
    width: 100%;
    height: 100%;
    max-height: 540px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.sobre-image-wrapper:hover .sobre-img {
    transform: scale(1.03);
}

.sobre-experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(26, 24, 24, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 14px 20px;
    border-radius: 16px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sobre-experience-badge .badge-title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cor-accent, #d4af37);
}

.sobre-experience-badge .badge-subtitle {
    font-size: 0.8rem;
    opacity: 0.85;
}

.sobre-content-col {
    display: flex;
    flex-direction: column;
}

.sobre-subtitle {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cor-primaria, #b8977e);
    margin-top: -6px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.sobre-text p {
    font-size: 1rem;
    color: var(--cor-texto-mutado, #5c5550);
    line-height: 1.75;
    margin-bottom: 16px;
}

.sobre-pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
}

@media (min-width: 640px) {
    .sobre-pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pillar-card {
    background: var(--cor-fundo, #faf8f5);
    border: 1px solid var(--cor-card-borda, #ede5dc);
    padding: 18px 16px;
    border-radius: 16px;
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.pillar-card:hover {
    transform: translateY(-4px);
    border-color: var(--cor-primaria, #b8977e);
}

.pillar-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pillar-title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cor-texto, #2c2826);
    margin-bottom: 6px;
}

.pillar-desc {
    font-size: 0.82rem;
    color: var(--cor-texto-mutado, #5c5550);
    line-height: 1.5;
}

.sobre-quote {
    margin: 16px 0 24px;
    padding: 16px 20px;
    border-left: 3px solid var(--cor-accent, #d4af37);
    background: rgba(212, 175, 55, 0.06);
    border-radius: 0 14px 14px 0;
    font-family: var(--font-title);
    font-style: italic;
    font-size: 1.02rem;
    color: var(--cor-texto, #2c2826);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8.1 Diferenciais da Clínica (Luxury Glass Cards)
   -------------------------------------------------------------------------- */
.diferenciais-section {
    background-color: var(--cor-fundo-alt, #ffffff);
    position: relative;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .diferenciais-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.diferencial-card {
    background: var(--cor-fundo, #faf8f5);
    border: 1px solid var(--cor-card-borda, #ede5dc);
    border-radius: 18px;
    padding: 28px 24px;
    text-align: left;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.diferencial-card:hover {
    transform: translateY(-5px);
    border-color: var(--cor-primaria, #b8977e);
    box-shadow: 0 12px 28px -4px rgba(184, 151, 126, 0.16);
    background: #ffffff;
}

.diferencial-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 151, 126, 0.12);
    border-radius: 12px;
}

.diferencial-title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cor-texto, #2c2826);
    margin-bottom: 10px;
    line-height: 1.35;
}

.diferencial-desc {
    font-size: 0.88rem;
    color: var(--cor-texto-mutado, #5c5550);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Serviços & Tratamentos Section (Luxury Aesthetic Cards & Filters)
   -------------------------------------------------------------------------- */
.servicos-section {
    background-color: var(--cor-fundo, #faf8f5);
}

.servicos-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.filter-tab-btn {
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid var(--cor-card-borda, #ede5dc);
    background: #ffffff;
    color: var(--cor-texto-mutado, #5c5550);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab-btn:hover {
    border-color: var(--cor-primaria, #b8977e);
    color: var(--cor-primaria, #b8977e);
}

.filter-tab-btn.active {
    background: var(--cor-primaria, #b8977e);
    color: #ffffff;
    border-color: var(--cor-primaria, #b8977e);
    box-shadow: 0 4px 14px rgba(184, 151, 126, 0.3);
}

.servico-benefits-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
}

.servico-benefit-item {
    font-size: 0.82rem;
    color: var(--cor-texto, #2c2826);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.servico-benefit-item::before {
    content: "✓";
    color: var(--cor-accent, #d4af37);
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   9.1 Transformações & Resultados (Showcase de Beleza)
   -------------------------------------------------------------------------- */
.transformacoes-section {
    background-color: var(--cor-fundo-alt, #ffffff);
}

.transformacoes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 768px) {
    .transformacoes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.transformacao-card {
    background: var(--cor-card, #ffffff);
    border-radius: 20px;
    border: 1px solid var(--cor-card-borda, #ede5dc);
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.transformacao-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -4px rgba(184, 151, 126, 0.18);
    border-color: var(--cor-primaria, #b8977e);
}

.transformacao-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.transformacao-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.transformacao-card:hover .transformacao-img {
    transform: scale(1.06);
}

.transformacao-body {
    padding: 22px 20px;
}

.transformacao-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cor-primaria, #b8977e);
    margin-bottom: 8px;
    display: block;
}

.transformacao-title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cor-texto, #2c2826);
    margin-bottom: 8px;
}

.transformacao-desc {
    font-size: 0.88rem;
    color: var(--cor-texto-mutado, #5c5550);
    line-height: 1.55;
}

.servicos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 640px) {
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .servicos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.servico-card {
    background: var(--cor-card, #ffffff);
    border-radius: 20px;
    border: 1px solid var(--cor-card-borda, #ede5dc);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    position: relative;
}

.servico-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -4px rgba(184, 151, 126, 0.18);
    border-color: var(--cor-primaria, #b8977e);
}

.servico-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f1ede8;
}

.servico-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.servico-card:hover .servico-card-img {
    transform: scale(1.06);
}

.servico-category-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(26, 24, 24, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
}

.servico-pricing {
    border-top: 1px solid var(--cor-borda);
    padding-top: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.servico-price {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--cor-primaria);
}

.servico-period {
    font-size: 0.85rem;
    color: var(--cor-texto-mutado);
}

/* --------------------------------------------------------------------------
   10. Galeria Section (Grid Auto-fill & Hover Zoom)
   -------------------------------------------------------------------------- */
.galeria-section {
    background-color: #ffffff;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.galeria-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.galeria-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 31, 58, 0.8) 0%, rgba(11, 31, 58, 0) 60%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    transition: opacity var(--transition-normal);
}

.galeria-caption {
    color: #ffffff;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
}

.galeria-item:hover .galeria-img {
    transform: scale(1.08);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   11. Depoimentos Section (Testimonial Cards & Gold Stars)
   -------------------------------------------------------------------------- */
.depoimentos-section {
    background-color: var(--cor-fundo);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.depoimento-card {
    background: var(--cor-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cor-borda);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.depoimento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.depoimento-stars {
    display: flex;
    gap: 4px;
    color: var(--cor-estrela);
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.depoimento-texto {
    font-size: 0.95rem;
    color: var(--cor-texto);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 22px;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.depoimento-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--cor-borda);
    border: 2px solid var(--cor-primaria);
}

.depoimento-author-info h4 {
    font-size: 0.95rem;
    color: var(--cor-texto);
    font-weight: 700;
}

.depoimento-author-info span {
    font-size: 0.8rem;
    color: var(--cor-texto-mutado);
}

/* --------------------------------------------------------------------------
   12. Placeholders (Agendamento, Mapa)
   -------------------------------------------------------------------------- */
.agendamento-section, .mapa-section {
    background-color: #ffffff;
}

.mapa-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cor-borda);
    min-height: 350px;
    background: #e2e8f0;
}

.mapa-container iframe {
    width: 100%;
    height: 380px;
    border: none;
    display: block;
}

/* --------------------------------------------------------------------------
   13. Redes Sociais & Contato Section
   -------------------------------------------------------------------------- */
.redes-section {
    background-color: var(--cor-fundo);
}

.redes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.rede-card {
    background: var(--cor-card);
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.rede-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.rede-whatsapp .rede-icon { color: var(--cor-whatsapp); }
.rede-instagram .rede-icon { color: #E1306C; }
.rede-telefone .rede-icon { color: var(--cor-primaria); }
.rede-email .rede-icon { color: var(--cor-secundaria); }

.rede-info h3 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.rede-info p {
    font-size: 0.85rem;
    color: var(--cor-texto-mutado);
}

/* --------------------------------------------------------------------------
   14. Footer (Dark Theme)
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--cor-footer);
    color: var(--cor-texto-footer);
    padding-top: 60px;
    padding-bottom: 30px;
    border-top: 1px solid var(--cor-borda-escura);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 320px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-bottom p {
    color: #94a3b8;
}

/* --------------------------------------------------------------------------
   15. Floating WhatsApp Button & Pulse Animation
   -------------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: var(--cor-whatsapp);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease, visibility 0.4s;
    animation: whatsapp-pulse 2.2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--cor-whatsapp-hover);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float.whatsapp-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px) scale(0.6);
    pointer-events: none;
}

.whatsapp-float.whatsapp-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: #1e293b;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1e293b;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 6px 20px rgba(37, 211, 102, 0.4);
    }
}

/* --------------------------------------------------------------------------
   16. Scroll Animations ([data-animate])
   -------------------------------------------------------------------------- */
[data-animate] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   17. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Mobile Optimizations (< 768px) - Eliminates empty gaps and tightens flow */
@media (max-width: 767px) {
    :root {
        --section-spacing: 36px;
    }

    .hero-section {
        min-height: auto;
        padding: 95px 0 35px;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.22;
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 22px;
        line-height: 1.5;
    }

    .hero-actions {
        margin-bottom: 24px;
        gap: 10px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 14px 16px;
        width: 100%;
        max-width: 100%;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 1.05rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .section-header {
        margin-bottom: 22px;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .sobre-grid {
        gap: 24px;
    }

    .sobre-img {
        max-height: 380px;
    }

    .sobre-pillars-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 16px;
    }

    .diferenciais-grid {
        gap: 16px;
    }

    .diferencial-card {
        padding: 20px 18px;
    }

    .servicos-filter-tabs {
        margin-bottom: 20px;
        gap: 8px;
    }

    .filter-tab-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .servicos-grid {
        gap: 18px;
    }

    .transformacoes-grid {
        gap: 18px;
    }

    [data-animate] {
        transform: translateY(12px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
}

/* Tablet (>= 768px) */
@media (min-width: 768px) {
    :root {
        --section-spacing: 70px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-actions {
        flex-direction: row;
    }

    .sobre-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .sobre-img {
        height: 420px;
    }

    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .depoimentos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .redes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Desktop (>= 1024px) */
@media (min-width: 1024px) {
    :root {
        --section-spacing: 80px;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .nav-menu {
        display: block;
    }

    .nav-cta-desktop {
        display: inline-flex;
    }

    .hamburger {
        display: none;
    }

    .mobile-drawer {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .servicos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .depoimentos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .redes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Interactive Booking Calendar Widget — Stacked Vertical (Mobile-First)
   ========================================================================== */
.booking-widget {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
    box-sizing: border-box;
}

.booking-step {
    background: var(--cor-card, #ffffff);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg, 18px);
    padding: 22px 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .booking-step {
        padding: 28px 24px;
        gap: 22px;
    }
}

.booking-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 14px;
    min-width: 0;
}

.step-badge {
    background: var(--cor-primaria, #009ee3);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: var(--radius-full, 9999px);
    flex-shrink: 0;
    white-space: nowrap;
}

.booking-step-header h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--cor-texto, #1e293b);
    margin: 0;
    word-break: break-word;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .booking-step-header h3 {
        font-size: 1.25rem;
    }
}

/* === Date Strip: Horizontal Swipe === */
.booking-dates-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    width: 100%;
}

.booking-month-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.booking-dates-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.booking-dates-strip::-webkit-scrollbar {
    height: 5px;
}
.booking-dates-strip::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.booking-date-btn {
    flex: 0 0 74px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 6px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 480px) {
    .booking-date-btn {
        flex: 0 0 80px;
        padding: 14px 8px;
    }
}

.booking-date-btn:hover {
    border-color: var(--cor-primaria, #009ee3);
    background: #f0f9ff;
    transform: translateY(-2px);
}

.booking-date-btn.active {
    background: var(--cor-primaria, #009ee3);
    border-color: var(--cor-primaria, #009ee3);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 158, 227, 0.38);
    transform: translateY(-2px);
}

.booking-date-weekday {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: #64748b;
}

.booking-date-btn.active .booking-date-weekday {
    color: rgba(255, 255, 255, 0.95);
}

.booking-date-number {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    color: #1e293b;
}

.booking-date-btn.active .booking-date-number {
    color: #ffffff;
}

.booking-date-month {
    font-size: 0.68rem;
    font-weight: 600;
    margin-top: 4px;
    color: #94a3b8;
}

.booking-date-btn.active .booking-date-month {
    color: rgba(255, 255, 255, 0.9);
}

/* === Time Slots Grid === */
.booking-times-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
    min-width: 0;
    width: 100%;
}

.booking-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: #475569;
}

.booking-times-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    min-width: 0;
    width: 100%;
}

@media (max-width: 420px) {
    .booking-times-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.booking-time-btn {
    padding: 12px 4px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.booking-time-btn:hover {
    border-color: var(--cor-primaria, #009ee3);
    background: #f0f9ff;
}

.booking-time-btn.active {
    background: var(--cor-primaria, #009ee3);
    border-color: var(--cor-primaria, #009ee3);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 158, 227, 0.32);
}

.booking-time-btn:disabled,
.booking-time-btn.is-disabled {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.55;
    pointer-events: none;
    box-shadow: none;
}

.no-slots-msg {
    grid-column: 1 / -1;
    background: #fff7ed;
    border: 1.5px dashed #fdba74;
    color: #c2410c;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

/* === Form Elements === */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    width: 100%;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
}

.form-control {
    width: 100%;
    max-width: 100%;
    padding: 13px 15px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: #1e293b;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--cor-primaria, #009ee3);
    box-shadow: 0 0 0 3px rgba(0, 158, 227, 0.15);
}

.booking-summary-card {
    background: #f0f9ff;
    border: 1.5px dashed #7dd3fc;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    gap: 10px;
    flex-wrap: wrap;
}

.summary-label {
    color: #0369a1;
    font-weight: 600;
}

.summary-item strong {
    color: var(--cor-secundaria, #0b1f3a);
    font-weight: 800;
    text-align: right;
}

.booking-btn {
    padding: 15px 20px;
    font-size: 1.02rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    border-radius: 12px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    word-break: break-word;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 6px 20px rgba(0, 158, 227, 0.35);
}

/* === Voucher Confirmation Card === */
.booking-success-card {
    background: #ffffff;
    border: 2px solid #10b981;
    border-radius: 16px;
    padding: 22px 18px;
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.14);
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.voucher-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #065f46;
    text-align: center;
}

.voucher-icon {
    width: 28px;
    height: 28px;
    background: #10b981;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.voucher-code-box {
    background: #f0fdf4;
    border: 1.5px dashed #86efac;
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.voucher-code-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #047857;
    font-weight: 700;
}

.voucher-code-val {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
    color: #065f46;
    letter-spacing: 0.05em;
}

.voucher-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    min-width: 0;
    box-sizing: border-box;
}

.voucher-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.88rem;
    gap: 8px;
    flex-wrap: wrap;
}

.voucher-row span:first-child {
    color: #64748b;
    font-weight: 600;
    flex-shrink: 0;
}

.voucher-row strong {
    color: var(--cor-secundaria, #0b1f3a);
    font-weight: 800;
    text-align: right;
    word-break: break-word;
}

.status-pill {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid #86efac;
}

.voucher-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
    min-width: 0;
    width: 100%;
}

.voucher-actions .btn,
.voucher-actions a.btn {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    word-break: break-word;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
}



/* ==========================================================================
   SEÇÃO COMO FUNCIONA, VÍDEO SHOWCASE & ETAPAS
   ========================================================================== */
.como-funciona-section {
    background: #ffffff;
}

.video-showcase-wrapper {
    max-width: 820px;
    margin: 0 auto 40px;
}

.video-player-card {
    background: #0f172a;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.video-player-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.video-player-title {
    font-family: var(--font-title);
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steps-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .steps-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background: var(--cor-fundo);
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: #ffffff;
}

.step-card.highlight {
    border-color: rgba(37, 99, 235, 0.4);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.step-badge-num {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--cor-primaria);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-wrap {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--cor-texto);
}

.step-desc {
    font-size: 0.9rem;
    color: var(--cor-texto-mutado);
    line-height: 1.6;
}

.como-funciona-action {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================================================
   SIMULADOR WHATSAPP & CALCULADORA DE ROI
   ========================================================================== */
.simulator-wrapper {
    background: #ffffff;
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    box-shadow: var(--shadow-sm);
    margin-top: 48px;
}

.simulator-intro {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 28px;
}

.badge-pill {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    margin-bottom: 10px;
}

.simulator-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.simulator-subtitle {
    font-size: 0.92rem;
    color: var(--cor-texto-mutado);
}

.niche-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 28px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.niche-tabs::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .niche-tabs {
        justify-content: center;
    }
}

.niche-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 18px;
    background: #f8fafc;
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-full);
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cor-texto-mutado);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.niche-tab:hover {
    background: #f1f5f9;
    color: var(--cor-texto);
}

.niche-tab.active {
    background: var(--cor-primaria);
    color: #ffffff;
    border-color: var(--cor-primaria);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.simulator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 992px) {
    .simulator-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Device Mockup */
.phone-mockup-wrapper {
    display: flex;
    justify-content: center;
}

.phone-bezel {
    width: 100%;
    max-width: 360px;
    background: #1e293b;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid #334155;
}

.phone-speaker {
    width: 50px;
    height: 4px;
    background: #475569;
    border-radius: 2px;
    margin: 4px auto 8px;
}

.phone-screen {
    background: #efeae2;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 500px;
}

.wa-header {
    background: #075e54;
    color: #ffffff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.wa-info {
    flex-grow: 1;
    min-width: 0;
}

.wa-name {
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wa-status {
    font-size: 0.72rem;
    color: #d1fae5;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.wa-body {
    flex-grow: 1;
    padding: 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-date-pill {
    align-self: center;
    background: rgba(255, 255, 255, 0.85);
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wa-bubble {
    max-width: 84%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.84rem;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    word-break: break-word;
}

.wa-bubble.received {
    align-self: flex-start;
    background: #ffffff;
    color: #1e293b;
    border-top-left-radius: 0;
}

.wa-bubble.sent {
    align-self: flex-end;
    background: #d9fdd3;
    color: #1e293b;
    border-top-right-radius: 0;
}

.wa-time {
    font-size: 0.65rem;
    color: #94a3b8;
    text-align: right;
    margin-top: 2px;
}

.wa-checks {
    color: #38bdf8;
    font-weight: 700;
}

.wa-audio-player {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.audio-play-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.audio-waves-bar {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-grow: 1;
    height: 18px;
}

.audio-bar {
    width: 3px;
    height: 100%;
    background: #94a3b8;
    border-radius: 2px;
}

.audio-duration {
    font-size: 0.72rem;
    color: #64748b;
}

.wa-cal-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 4px;
}

.wa-cal-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 2px;
}

.wa-chips-row {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 10px;
    background: #f0f2f5;
    border-top: 1px solid #e2e8f0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.wa-chips-row::-webkit-scrollbar {
    display: none;
}

.wa-chip-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-full);
    min-height: 40px;
    padding: 6px 12px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--transition-fast);
}

.wa-chip-btn:hover {
    background: #e2e8f0;
}

.wa-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: #f0f2f5;
}

.wa-input {
    flex-grow: 1;
    border: none;
    border-radius: var(--radius-full);
    padding: 8px 14px;
    font-size: 0.82rem;
    outline: none;
    background: #ffffff;
}

.wa-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #00a884;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Feature Callout & ROI Calculator */
.feature-callout {
    background: #f8fafc;
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.callout-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cor-primaria);
    margin-bottom: 6px;
}

.feature-callout h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--cor-texto);
}

.feature-callout p {
    font-size: 0.88rem;
    color: var(--cor-texto-mutado);
    line-height: 1.5;
}

.roi-calc-card {
    background: #ffffff;
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.calc-header {
    margin-bottom: 18px;
}

.calc-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0284c7;
    display: block;
    margin-bottom: 4px;
}

.roi-calc-card h4 {
    font-size: 1.15rem;
    color: var(--cor-texto);
}

.calc-slider-group {
    margin-bottom: 20px;
}

.calc-slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.86rem;
    margin-bottom: 8px;
    color: var(--cor-texto);
}

.calc-range {
    width: 100%;
    height: 8px;
    accent-color: var(--cor-primaria);
    border-radius: 4px;
    cursor: pointer;
}

.calc-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.metric-box {
    background: #f8fafc;
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
}

.metric-num {
    display: block;
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--cor-primaria);
}

.servico-body {
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.servico-desc {
    font-size: 0.88rem;
    color: var(--cor-texto-mutado, #5c5550);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.servico-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--cor-card-borda, #ede5dc);
    padding-top: 14px;
    margin-bottom: 16px;
    font-size: 0.82rem;
}

.servico-duration-tag {
    color: var(--cor-texto-mutado, #5c5550);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.servico-price-tag {
    color: var(--cor-primaria, #b8977e);
    font-weight: 700;
    font-size: 0.9rem;
}

.servico-btn-wa {
    width: 100%;
    padding: 13px 18px;
    background: var(--cor-primaria, #b8977e);
    color: #ffffff;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(184, 151, 126, 0.25);
}

.servico-btn-wa:hover {
    background: var(--cor-primaria-hover, #a3836c);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(184, 151, 126, 0.35);
    color: #ffffff;
}

.metric-desc {
    font-size: 0.75rem;
    color: var(--cor-texto-mutado);
    line-height: 1.35;
}

/* ==========================================================================
   SEÇÃO FAQ (ACORDEÃO MODERNO & ACESSÍVEL)
   ========================================================================== */
.faq-section {
    background: var(--cor-fundo);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-question {
    width: 100%;
    min-height: 52px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-title);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--cor-texto);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 12px;
}

.faq-arrow {
    font-size: 0.75rem;
    color: var(--cor-texto-mutado);
    transition: transform var(--transition-normal);
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 18px;
    font-size: 0.92rem;
    color: var(--cor-texto-mutado);
    line-height: 1.6;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ==========================================================================
   MODAL DE CONTRATAÇÃO & PAINEL DO DONO
   ========================================================================== */
.contratacao-modal-overlay,
.trial-expired-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
}

.contratacao-modal-overlay.active,
.trial-expired-overlay.active {
    display: flex;
}

.contratacao-modal {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--cor-borda);
    display: flex;
    flex-direction: column;
    position: relative;
}

.contratacao-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid var(--cor-borda);
}

.contratacao-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cor-primaria);
    display: block;
    margin-bottom: 4px;
}

.contratacao-modal-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--cor-texto-mutado);
    cursor: pointer;
    transition: background var(--transition-fast);
    flex-shrink: 0;
}

.contratacao-modal-close:hover {
    background: #e2e8f0;
    color: var(--cor-texto);
}

.contratacao-modal-body {
    padding: 24px;
}

.contratacao-summary {
    display: flex;
    justify-content: space-around;
    background: #f8fafc;
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 20px;
}

.summary-col {
    text-align: center;
}

.summary-col-label {
    display: block;
    font-size: 0.76rem;
    color: var(--cor-texto-mutado);
}

.summary-col-val {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--cor-texto);
}

.summary-col-val.highlight {
    color: var(--cor-primaria);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

@media (min-width: 600px) {
    .form-row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.contratacao-terms-box {
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-md);
    background: #f8fafc;
    padding: 14px;
    margin: 18px 0;
}

.terms-box-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 10px;
}

.terms-scroll-hint {
    color: #b45309;
    font-size: 0.74rem;
}

.terms-scroll-box {
    height: 140px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 10px;
}

.terms-alert-box {
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    padding: 6px 10px;
    margin: 6px 0;
    font-weight: 700;
    font-size: 0.75rem;
}

.term-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--cor-texto);
}

.term-checkbox-row.disabled {
    opacity: 0.6;
}

.contratacao-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.btn-trial-giant {
    background: #10b981;
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.btn-trial-giant:hover {
    background: #059669;
}

.btn-trial-giant small {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.btn-pix-instant {
    background: #f8fafc;
    color: var(--cor-texto);
    border: 1.5px solid #cbd5e1;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-pix-instant:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.btn-pix-instant small {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--cor-texto-mutado);
}

.contratacao-whatsapp-fallback {
    text-align: center;
    margin-top: 14px;
    font-size: 0.84rem;
    color: var(--cor-texto-mutado);
}

.contratacao-whatsapp-fallback a {
    color: var(--cor-primaria);
    font-weight: 600;
}

/* Painel do Dono Stats */
.painel-modal-dialog {
    max-width: 600px;
    max-height: 90vh;
    width: 92%;
    margin: auto;
}

.painel-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.painel-stat-box {
    background: #f8fafc;
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
}

.painel-stat-box .stat-num {
    display: block;
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--cor-texto);
}

.painel-stat-box .stat-lbl {
    font-size: 0.72rem;
    color: var(--cor-texto-mutado);
}

.painel-section {
    border-top: 1px solid var(--cor-borda);
    padding-top: 16px;
    margin-top: 16px;
}

.painel-desc {
    font-size: 0.82rem;
    color: var(--cor-texto-mutado);
    margin-bottom: 12px;
}

.painel-tip-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.78rem;
    margin-top: 14px;
}

.painel-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

/* Painel do Dono - Status e Pareamento */
.painel-status-card {
    background: #f8fafc;
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.painel-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.painel-status-badge-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.painel-status-dot {
    font-size: 1.2rem;
    line-height: 1.2;
}

.painel-status-title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cor-texto);
    margin-bottom: 2px;
}

.painel-status-desc {
    font-size: 0.78rem;
    color: var(--cor-texto-mutado);
    margin: 0;
}

.painel-pairing-box {
    margin-top: 14px;
    background: #ffffff;
    border: 1.5px dashed var(--cor-primaria);
    border-radius: var(--radius-md);
    padding: 16px;
}

.pairing-badge-top {
    display: inline-block;
    background: #eff6ff;
    color: var(--cor-primaria);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 6px;
}

.pairing-box-desc {
    font-size: 0.82rem;
    color: var(--cor-texto-mutado);
    margin-bottom: 12px;
}

.pairing-code-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0f172a;
    color: #38bdf8;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    gap: 12px;
}

.pairing-code-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.pairing-guide-box {
    margin-top: 12px;
    background: #f8fafc;
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.78rem;
    color: var(--cor-texto);
}

.pairing-guide-box strong {
    display: block;
    margin-bottom: 4px;
    color: var(--cor-texto);
}

.pairing-guide-box ol {
    margin: 0;
    padding-left: 18px;
    line-height: 1.5;
    color: var(--cor-texto-mutado);
}

.familiar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--cor-borda);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: 8px;
}

.familiar-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.familiar-icon {
    font-size: 1.2rem;
}

.familiar-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--cor-texto);
}

.familiar-phone {
    font-size: 0.76rem;
    color: var(--cor-texto-mutado);
}

.familiar-badge {
    font-size: 0.72rem;
    background: #fef2f2;
    color: #ef4444;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.btn-remove-familiar {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: var(--cor-texto-mutado);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-remove-familiar:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* Floating WhatsApp Pulse Optimization (60fps no jank) */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background-color: var(--cor-whatsapp);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    z-index: 9999;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--cor-whatsapp);
    z-index: -1;
    animation: pulse-ring 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.8; }
    70% { transform: scale(1.45); opacity: 0; }
    100% { transform: scale(1.45); opacity: 0; }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & BOTTOM BAR
   ========================================================================== */
.mobile-bottom-bar {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 74px;
    }

    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 64px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--cor-borda);
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 8px 16px;
        gap: 12px;
        z-index: 995;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    }
    
    .mobile-bottom-bar .btn {
        flex: 1;
        padding: 10px 14px;
        font-size: 0.88rem;
        min-height: 44px;
    }

    .whatsapp-float {
        bottom: 76px;
        right: 16px;
        width: 52px;
        height: 52px;
        z-index: 990;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
        padding: 14px 16px;
    }

    .stat-divider {
        width: 60%;
        height: 1px;
    }

    .painel-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .painel-actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .calc-metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .servico-card, .depoimento-card, .step-card {
        padding: 18px 14px;
    }
}
