/* =========================================
   Variáveis CSS e Reset
   ========================================= */
:root {
    --primary-blue: #0f1c42;
    --accent-cyan: #3652a3;
    --bg-light: #faf8f7;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #ffffff;
    
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --border-radius-lg: 60px;
    --border-radius-md: 20px;
    --border-radius-sm: 8px;
    
    /* Glassmorphism Variables */
    --glass-bg-light: rgba(255, 255, 255, 0.7);
    --glass-border-light: rgba(255, 255, 255, 0.5);
    --glass-bg-dark: rgba(255, 255, 255, 0.05);
    --glass-border-dark: rgba(255, 255, 255, 0.1);
    
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light); /* Fundo sutilmente escurecido para destacar o glass */
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 90px;
}

h1, h2, h3, h4 {
    font-family: var(--font-headings);
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

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

/* =========================================
   Animações On-load (Apenas Hero)
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

/* =========================================
   Animações On-scroll (Intersection Observer)
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.delay-1 { transition-delay: 0.15s; animation-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; animation-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; animation-delay: 0.45s; }

/* Marca d'água de fundo com o símbolo/redemoinho Nucre */
.bg-watermark-nucre {
    position: relative;
    overflow: hidden;
}
.bg-watermark-nucre > .container {
    position: relative;
    z-index: 1;
}
.bg-watermark-nucre::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 620px;
    height: 620px;
    background-image: url('assets/img/nucre-symbol.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.055;
    pointer-events: none;
    z-index: 0;
}

.bg-watermark-left::after {
    right: auto;
    left: -80px;
    top: -40px;
    bottom: auto;
    width: 650px;
    height: 650px;
    opacity: 0.065;
}

.bg-watermark-white {
    position: relative;
    overflow: hidden;
}
.bg-watermark-white > .container {
    position: relative;
    z-index: 1;
}
.bg-watermark-white::after {
    content: '';
    position: absolute;
    right: -5%;
    bottom: -10%;
    width: 600px;
    height: 600px;
    background-image: url('assets/img/nucre-symbol-white.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

/* =========================================
   Header / Navbar (Liquid Glass)
   ========================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Glassmorphism */
    background-color: var(--glass-bg-light);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--glass-border-light);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    z-index: 10000;
    height: 90px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}

.main-header.header-hidden {
    transform: translateY(-100%);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    transition: max-height 0.3s ease;
}

.logo span {
    color: var(--accent-cyan);
    font-size: 2.2rem;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.nav-links a:hover { color: var(--accent-cyan); }

.nav-links a.btn,
.nav-links .btn {
    color: #ffffff !important;
}

.nav-links a.btn:hover,
.nav-links .btn:hover {
    color: #ffffff !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: var(--transition);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    min-width: 260px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: var(--border-radius-sm);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-menu a {
    padding: 12px 1.5rem;
    display: block;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background-color: rgba(54, 82, 163, 0.1);
    color: var(--primary-blue);
}

/* =========================================
   Botões Modernos
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-cyan);
    color: #ffffff !important;
    border: 2px solid var(--accent-cyan);
}

.btn-primary:hover {
    background-color: #2b4999;
    border-color: #2b4999;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(54, 82, 163, 0.35);
    color: #ffffff !important;
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
}

.btn-outline:hover {
    background-color: var(--accent-cyan);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(54, 82, 163, 0.25);
}

.text-link {
    color: var(--text-dark);
    border-bottom: 1px solid var(--text-dark);
    padding-bottom: 2px;
    font-weight: 500;
}

.text-link:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

/* =========================================
   Seção: Hero Geral & Interno (Nossa Clínica, etc.)
   ========================================= */
.hero {
    padding: 6rem 0;
    position: relative;
    background-color: transparent;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3.5rem;
    width: 100%;
}

.hero-content {
    position: relative;
    flex: 1.2;
    max-width: 620px;
    z-index: 2;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -80px;
    transform: translateY(-50%);
    width: 480px;
    height: 480px;
    background-image: url('assets/img/nucre-symbol.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

.hero-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    max-width: 580px;
    line-height: 1.65;
}

.hero-buttons { display: flex; gap: 1rem; }

.hero-image {
    flex: 0.95;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    position: relative;
    height: 480px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================
   Seção: Hero Home (100vh & Galeria Dupla Animada)
   ========================================= */
.hero.hero-home {
    height: calc(100vh - 90px);
    min-height: 640px;
    max-height: 860px;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #faf8f7 0%, #f4f6fa 100%);
    border-bottom: 1px solid rgba(15, 28, 66, 0.06);
}

.hero.hero-home .container {
    height: 100%;
    max-height: 720px;
}

/* =========================================
   Faixa Dinâmica de Especialistas & Parceiros (Ticker)
   ========================================= */
.partners-ticker {
    background: linear-gradient(90deg, #09132c 0%, #112356 50%, #09132c 100%);
    padding: 1.25rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.25), 0 10px 25px rgba(15, 28, 66, 0.1);
    z-index: 5;
}

.partners-ticker-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: tickerScroll 32s linear infinite;
}

.partners-ticker:hover .partners-ticker-track {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-ticker-card {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.65rem 1.3rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    white-space: nowrap;
    transition: var(--transition);
    text-decoration: none;
}

.partner-ticker-card:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.partner-ticker-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.partner-ticker-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.partner-ticker-name {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.partner-ticker-specialty {
    font-size: 0.78rem;
    color: #93c5fd;
    line-height: 1.2;
    margin-top: 2px;
}

.partner-ticker-instagram {
    font-size: 0.72rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Galeria Dupla Vertical Infinita */
.hero-gallery {
    flex: 1.35;
    height: 100%;
    max-height: calc(100vh - 100px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    position: relative;
    margin-right: -6vw;
    width: 52vw;
    max-width: 720px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

.hero-gallery-col {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.hero-gallery-track {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.col-up .hero-gallery-track {
    animation: heroColUp 24s linear infinite;
}

.col-down .hero-gallery-track {
    animation: heroColDown 24s linear infinite;
}

.hero-gallery:hover .hero-gallery-track {
    animation-play-state: paused;
}

.hero-gallery-card {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
    box-shadow: none;
    border: none;
    transition: transform 0.3s ease;
}

.hero-gallery-card:hover {
    transform: scale(1.02);
}

.hero-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes heroColUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes heroColDown {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

/* =========================================
   Seção: Logos Strip
   ========================================= */
.logo-strip {
    background-color: var(--primary-blue);
    padding: 3rem 0;
    overflow: hidden;
}

.logo-strip .marquee-wrapper {
    --marquee-gap: 4rem;
}

.logo-marquee-group {
    align-items: center;
    animation-duration: 30s;
}

.logo-item {
    height: 50px;
    width: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: var(--transition);
    cursor: pointer;
    object-fit: contain;
}

.logo-item:hover {
    opacity: 1;
}

/* =========================================
   Seção: Features
   ========================================= */
.features { padding: 5rem 0; position: relative; }

/* Decoração de fundo sutil para realçar o glassmorphism */
.features::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
}

.features-header {
    margin-bottom: 3.5rem;
}

.features-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.features-header p {
    max-width: 1000px;
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.65;
}

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

.feature-item {
    padding: 2.5rem 2.2rem;
    border-radius: 18px;
    transition: var(--transition);
    /* 3D Glassmorphism Azul Sutil */
    background: linear-gradient(135deg, rgba(54, 82, 163, 0.05) 0%, rgba(15, 28, 66, 0.02) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    box-shadow: 0 15px 35px -5px rgba(15, 28, 66, 0.07), 0 0 0 1px rgba(54, 82, 163, 0.06);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-item:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(54, 82, 163, 0.09) 0%, rgba(15, 28, 66, 0.04) 100%);
    box-shadow: 0 25px 45px -8px rgba(15, 28, 66, 0.14), 0 0 0 1px rgba(54, 82, 163, 0.12);
}

.pillar-number-badge {
    display: none !important;
}

.feature-item h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.85rem;
    color: var(--primary-blue);
    line-height: 1.35;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* =========================================
   Seção: Services (Dark + Glass)
   ========================================= */
.services {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Efeito de luz ao fundo para o glassmorphism escuro funcionar bem */
.services::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.2;
}

.services h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.services-cta-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    position: relative;
    z-index: 3;
}

.btn-all-services {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.btn-all-services:hover {
    background: #ffffff;
    color: var(--primary-blue) !important;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}

.service-card {
    position: relative;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 40%, transparent 80%);
    z-index: 1;
}

.service-card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    padding-right: 5.5rem;
}

.service-card h3 {
    color: #ffffff;
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.25;
}

.service-card p {
    display: none !important;
}

/* Botão Redondo (Card Arrow) */
.card-arrow-btn {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 50px;
    height: 50px;
    background-color: var(--accent-cyan);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 3;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-arrow-btn:hover {
    background-color: white;
    color: var(--accent-cyan);
    transform: scale(1.1) translateX(4px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.card-arrow-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.card-arrow-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.card-arrow-btn:hover svg {
    transform: translateX(3px);
}

/* =========================================
   Seção: Detalhes do Serviço (Interno)
   ========================================= */
.service-detail-hero {
    display: flex;
    align-items: stretch;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.service-detail-info {
    flex: 1.2;
    background: #f0f6fc;
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(15, 28, 66, 0.04);
}

.service-detail-info h2 {
    font-size: 2.4rem;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
}

.service-detail-info p {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.service-detail-img-wrap {
    flex: 0.8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-detail-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
    padding: 16px 20px;
    background-color: #f0f6fc;
    border-radius: 12px;
    border: 1px solid rgba(54, 82, 163, 0.1);
    transition: var(--transition);
}

.benefits-list li:hover {
    background-color: #e4eef9;
    transform: translateX(4px);
}

.benefits-list li::before {
    content: '✓';
    color: white;
    background-color: var(--accent-cyan);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.faq-item {
    border-bottom: 1px solid #eaeaea;
    padding: 1.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.faq-question:hover { color: var(--accent-cyan); }

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-top: 1rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* =========================================
   Seção: Team
   ========================================= */
.team {
    padding: 6rem 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.team-header {
    margin-bottom: 2.5rem;
}

.team-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.team-header p {
    color: var(--text-gray);
    max-width: 900px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.team-thumbnails {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 2.5rem;
}

.team-thumbnails img {
    border-radius: 16px;
    width: 95px;
    height: 95px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 15%;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.team-thumbnails img:hover,
.team-thumbnails img.active {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(54, 82, 163, 0.25);
    border-color: var(--accent-cyan);
}

.featured-team-info,
.featured-team-img img {
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
}

.fade-out-down {
    opacity: 0 !important;
    transform: translateY(10px);
}

.featured-team {
    display: flex;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 2rem;
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(15, 28, 66, 0.05);
    box-shadow: 0 10px 30px rgba(15, 28, 66, 0.03);
}

.featured-team-img { flex: 0.9; position: relative; }
.featured-team-img img { 
    border-radius: 20px; 
    width: 100%; 
    height: auto;
    max-height: 480px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 20%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.team-badge {
    display: none !important;
}

.featured-team-info { flex: 1.1; }
.featured-team-info h3 { font-size: 2.3rem; margin-bottom: 0.5rem; color: var(--primary-blue); }

/* Grid Individual para Equipe.html */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(15, 28, 66, 0.08);
    box-shadow: 0 10px 30px rgba(15, 28, 66, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.team-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 28, 66, 0.09);
    border-color: rgba(54, 82, 163, 0.2);
}

.team-member-card-img {
    height: 320px;
    width: 100%;
    overflow: hidden;
    background: #e2e8f0;
}

.team-member-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.5s ease;
}

.team-member-card:hover .team-member-card-img img {
    transform: scale(1.04);
}

.team-member-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-member-card-body h3 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 0.35rem;
}

.team-member-card-role {
    font-size: 0.95rem;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member-card-bio {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.65;
}

/* =========================================
   Seção: Stats
   ========================================= */
.stats {
    padding: 6rem 0;
    background: linear-gradient(135deg, #182a5c 0%, #26438d 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.stats::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}

.stats-header h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.stats-header p {
    color: #d1d8ec;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 3rem;
}

.stat-item h3 {
    font-size: 2.8rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(54, 82, 163, 0.3);
}

.stat-item p { font-size: 0.95rem; color: #e2e8f0; }

/* =========================================
   Seção: Feedbacks (Marquee)
   ========================================= */
.feedbacks { padding: 5rem 0; background-color: #ffffff; overflow: hidden; }

.feedbacks-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3.5rem;
    gap: 1.2rem;
}

.feedbacks-header h2 { font-size: 2.5rem; margin-bottom: 0; }

.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background-color: #ffffff;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.google-rating-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.google-rating-badge .google-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-rating-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 2px;
}

.google-stars-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.google-stars-row .rating-score {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.google-stars-row .stars {
    font-size: 1rem;
    letter-spacing: 1px;
}

.google-reviews-link {
    font-size: 0.82rem;
    color: var(--text-gray);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.google-reviews-link:hover {
    color: var(--accent-cyan);
}

.marquee-wrapper {
    --marquee-gap: 2rem;
    display: flex;
    gap: var(--marquee-gap);
    user-select: none;
}

.marquee-group {
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    gap: var(--marquee-gap);
    min-width: 100%;
    animation: scroll-x 40s linear infinite;
}

.marquee-wrapper:hover .marquee-group {
    animation-play-state: paused;
}

@keyframes scroll-x {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - var(--marquee-gap))); }
}

.feedback-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stars {
    color: #FFB800;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.feedback-card p {
    color: var(--text-gray);
    font-style: italic;
    font-size: 0.95rem;
    flex-grow: 1;
    line-height: 1.6;
}

.feedback-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #eaeaea;
    padding-top: 1.2rem;
}

.feedback-author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.feedback-author span {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 2px;
}

/* =========================================
   Seção: Panorama da Clínica
   ========================================= */
.panorama {
    width: 100vw;
    max-width: 100%;
    height: 70vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-blue);
}

.panorama-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: ew-resize;
    overflow: hidden;
}

.panorama-scroll-area {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.panorama-header-mobile,
.panorama-badge-mobile,
.panorama-mobile-controls,
.panorama-modal {
    display: none;
}

.panorama-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    min-width: calc(100% + 350px);
    object-fit: cover;
    max-width: none;
    will-change: transform;
    pointer-events: none;
    user-select: none;
}

.panorama-overlay {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    width: calc(100% - 6rem);
    max-width: 420px;
    text-align: left;
    color: var(--text-light);
    z-index: 10;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.85); /* Fundo mais escuro e sólido para contraste */
    padding: 2rem 2.5rem;
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--accent-cyan); /* Detalhe colorido na lateral */
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.panorama-overlay h2 {
    color: var(--text-light);
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.panorama-overlay p {
    font-size: 1.05rem;
    color: #d1d8ec;
}

/* =========================================
   Seção: Parceiros
   ========================================= */
.partners {
    padding: 7.5rem 0;
    background-color: var(--bg-light);
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.partners-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(54, 82, 163, 0.1);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.partners-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.partners-header p {
    color: var(--text-gray);
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
    justify-content: center;
}

.partners-grid:has(> .partner-card:only-child) {
    max-width: 960px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

.partner-card {
    background: #ffffff;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(15, 28, 66, 0.08);
    box-shadow: 0 10px 30px rgba(15, 28, 66, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.partner-card-featured,
.partners-grid:has(> .partner-card:only-child) .partner-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    align-items: stretch;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 28, 66, 0.1);
    border-color: rgba(54, 82, 163, 0.25);
}

.partner-img-wrapper {
    position: relative;
    background: linear-gradient(145deg, #f0f4fc 0%, #e2eaf8 100%);
    height: 320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partner-card-featured .partner-img-wrapper,
.partners-grid:has(> .partner-card:only-child) .partner-img-wrapper {
    height: 100%;
    min-height: 280px;
}

.partner-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.partner-card:hover .partner-img-wrapper img {
    transform: scale(1.03);
}

.partner-badge-chip {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 28, 66, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.03em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.partner-info {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 1.2rem;
}

.partner-meta h3 {
    font-size: 1.65rem;
    color: var(--primary-blue);
    margin-bottom: 0.35rem;
}

.partner-specialty {
    font-size: 1.05rem;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.partner-creds {
    font-size: 0.82rem;
    color: #7b88a8;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.partner-bio {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.65;
}

.partner-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5fb;
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(54, 82, 163, 0.12);
}

.highlight-tag svg {
    color: var(--accent-cyan);
}

.partner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    margin-top: 0.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-partner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    font-size: 0.92rem;
}

.btn-partner-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    font-size: 0.92rem;
}

@media (max-width: 820px) {
    .partner-card-featured,
    .partners-grid:has(> .partner-card:only-child) .partner-card {
        grid-template-columns: 1fr;
    }
    
    .partner-img-wrapper {
        min-height: 320px;
        max-height: 380px;
    }

    .partner-info {
        padding: 1.75rem 1.5rem;
    }

    .partner-actions {
        flex-direction: column;
        width: 100%;
    }

    .partner-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   Seção: Location
   ========================================= */
.location {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1b2f6b 0%, #294796 100%);
    color: var(--text-light);
}

.location-header { margin-bottom: 3rem; text-align: center; }
.location-header h2 { font-size: 2.5rem; color: var(--text-light); margin-bottom: 1rem; }
.location-header p { color: #d1d8ec; max-width: 600px; margin: 0 auto; }

.location-content {
    display: flex;
    gap: 0;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.location-info {
    flex: 1;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.location-info h3 { font-size: 1.8rem; color: #ffffff; margin-bottom: 1rem; }
.location-info p { color: #e2e8f0; font-size: 1.1rem; line-height: 1.8; }

.location-map { flex: 1.5; min-height: 400px; }
.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--primary-blue);
    color: #d1d8ec;
    padding: 2.5rem 0 1.5rem;
    font-size: 0.9rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo span { color: #ffffff; font-size: 3rem; line-height: 1; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a:hover { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d8ec;
    transition: var(--transition);
}
.social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

/* =========================================
   Atendimento Domiciliar (Home Care) Section
   ========================================= */
.home-care {
    padding: 7rem 0;
    background: linear-gradient(135deg, #12214d 0%, #1e3a7a 100%);
    color: var(--text-light);
    border-top: none;
    position: relative;
    overflow: hidden;
}

.home-care::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}

.home-care .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.home-care-content {
    flex: 1.2;
}

.home-care-content h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.home-care-content .subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.home-care-content p {
    color: #e2e8f0;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.home-care-regions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.region-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.6rem 1.4rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.region-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.18);
    border-color: #38bdf8;
    box-shadow: 0 15px 35px rgba(56, 189, 248, 0.25);
}

.region-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    color: #38bdf8;
}

.region-card h4 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.region-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0;
    color: #e2e8f0;
}

.home-care-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-homecare-sp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0f1c42 !important;
    border: 2px solid #ffffff;
    font-weight: 700;
    padding: 13px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-homecare-sp:hover {
    background: #e2e8f0;
    border-color: #e2e8f0;
    color: #0f1c42 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.35);
}

.btn-homecare-interior {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #38bdf8;
    color: #09132c !important;
    border: 2px solid #38bdf8;
    font-weight: 700;
    padding: 13px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-homecare-interior:hover {
    background: #7dd3fc;
    border-color: #7dd3fc;
    color: #09132c !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
}

.home-care-image {
    flex: 0.8;
}

.home-care-image img {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    object-fit: cover;
    height: 480px;
}

/* =========================================
   Botão Flutuante do WhatsApp
   ========================================= */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-body);
}

.whatsapp-trigger-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border: none;
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s;
}

.whatsapp-trigger-btn:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.whatsapp-trigger-btn svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.whatsapp-popup {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.3s;
}

.whatsapp-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-popup-header {
    background-color: #075e54;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.whatsapp-avatar {
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.whatsapp-header-info h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.whatsapp-header-info p {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin: 0;
}

.whatsapp-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.whatsapp-popup-close:hover {
    color: white;
}

.whatsapp-popup-body {
    padding: 20px;
    background-color: #f4f7f6;
}

.whatsapp-popup-body p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.whatsapp-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whatsapp-btn-option {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: white;
    padding: 12px 15px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.whatsapp-btn-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    border-color: #25d366;
}

.btn-option-icon {
    font-size: 1.5rem;
}

.btn-option-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-option-text strong {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.btn-option-text span {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* =========================================
   Página de Contato
   ========================================= */
.contact-hero {
    padding-top: 8rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.contact-info-col {
    flex: 1.1;
}

.contact-info-col h1 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

.contact-info-col > p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.contact-channel-card {
    background: #ffffff;
    padding: 1.4rem 1.6rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 28, 66, 0.08);
    box-shadow: 0 10px 25px rgba(15, 28, 66, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: var(--transition);
}

.contact-channel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(54, 82, 163, 0.12);
    border-color: rgba(54, 82, 163, 0.25);
}

.contact-channel-details h4 {
    font-size: 1.15rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.contact-channel-details p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.contact-form-wrapper {
    flex: 0.95;
    background: #ffffff;
    padding: 2.75rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(15, 28, 66, 0.08);
    box-shadow: 0 20px 45px rgba(15, 28, 66, 0.08);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper p {
    color: var(--text-gray);
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}

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

.contact-input {
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--text-dark);
    background-color: #f8fafc;
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.contact-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(54, 82, 163, 0.1);
}

.contact-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 0.5rem;
    border-radius: 12px;
}

/* =========================================
   Página de Detalhe do Serviço / Terapias
   ========================================= */
.service-detail {
    padding-top: 10rem;
    padding-bottom: 6rem;
    background-color: #ffffff;
}

.service-back-btn {
    margin-bottom: 3rem;
    display: inline-block;
}

.service-detail-hero {
    display: flex;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.service-detail-info {
    flex: 1;
    min-width: 300px;
}

.service-detail-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.service-detail-info p {
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-detail-img-wrap {
    flex: 1;
    min-width: 300px;
}

.service-detail-img-wrap img {
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-detail-extras {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.benefits-section {
    flex: 1;
    min-width: 300px;
}

.benefits-section h3,
.faq-section h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.faq-section {
    flex: 1.5;
    min-width: 300px;
}

/* =========================================
   Media Queries
   ========================================= */
@media (max-width: 1024px) {
    .hero {
        height: auto;
        min-height: 100vh;
        max-height: none;
        padding-top: 110px;
        padding-bottom: 3.5rem;
    }
    .hero .container {
        flex-direction: column;
        max-height: none;
        gap: 3rem;
    }
    .hero-gallery {
        width: 100%;
        max-width: none;
        margin-right: 0;
        height: 380px;
        max-height: 380px;
    }
    .featured-team, .location-content { flex-direction: column; }
    .features-grid, .services-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .team-thumbnails img { width: 85px; height: 85px; }
    
    /* Home Care Responsivo */
    .home-care .container { flex-direction: column-reverse; gap: 3rem; }
    .home-care-regions { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 768px) {
    body { padding-top: 75px; }
    .main-header { height: 75px; }
    .logo img { max-height: 58px; }
    /* Panorama Mobile: Desobstruído e Interativo */
    .desktop-only {
        display: none !important;
    }

    .panorama {
        width: 100%;
        height: auto;
        min-height: 0;
        background: #0a1329;
    }

    .panorama-header-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2.2rem 1.25rem 1.2rem;
        background: linear-gradient(180deg, #070d1e 0%, #0a1329 100%);
    }

    .panorama-tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--accent-cyan);
        background: rgba(0, 240, 255, 0.08);
        border: 1px solid rgba(0, 240, 255, 0.25);
        padding: 5px 12px;
        border-radius: 20px;
        margin-bottom: 0.6rem;
    }

    .panorama-header-mobile h2 {
        font-size: 1.6rem;
        color: #ffffff;
        margin-bottom: 0.35rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .panorama-header-mobile p {
        font-size: 0.92rem;
        color: #94a3b8;
        max-width: 320px;
        margin: 0 auto;
        line-height: 1.4;
    }

    .panorama-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        overflow: hidden;
        cursor: default;
    }

    .panorama-scroll-area {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-behavior: smooth;
        position: relative;
        touch-action: pan-x pan-y;
        cursor: grab;
    }

    .panorama-scroll-area::-webkit-scrollbar {
        display: none;
    }

    .panorama-scroll-area.is-dragging {
        cursor: grabbing;
        scroll-behavior: auto;
        user-select: none;
    }

    .panorama-scroll-area .panorama-img {
        position: relative;
        height: 350px;
        width: auto;
        max-width: none;
        min-width: 0;
        display: block;
        object-fit: cover;
        pointer-events: auto;
        transform: none !important;
    }

    .panorama-badge-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: absolute;
        top: 14px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 15;
        background: rgba(10, 19, 41, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(0, 240, 255, 0.4);
        border-radius: 24px;
        padding: 6px 14px;
        font-size: 0.78rem;
        font-weight: 600;
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
        pointer-events: none;
        transition: opacity 0.4s ease, transform 0.4s ease;
        animation: panoBadgePulse 2.4s infinite;
        white-space: nowrap;
    }

    .panorama-badge-mobile.is-hidden {
        opacity: 0;
        transform: translate(-50%, -10px);
        pointer-events: none;
    }

    @keyframes panoBadgePulse {
        0%, 100% {
            box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.45);
        }
        50% {
            box-shadow: 0 0 0 7px rgba(0, 240, 255, 0);
        }
    }

    .panorama-mobile-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 1.1rem 1.25rem 2rem;
        background: #0a1329;
    }

    .pano-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.16);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .pano-btn:active {
        background: var(--primary-blue);
        border-color: var(--accent-cyan);
        transform: scale(0.92);
    }

    .pano-btn-expand {
        border-radius: 12px;
        width: 44px;
        height: 44px;
        color: var(--accent-cyan);
        border-color: rgba(0, 240, 255, 0.35);
        background: rgba(0, 240, 255, 0.06);
    }

    .pano-progress-wrapper {
        flex: 1;
        height: 8px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        overflow: hidden;
        position: relative;
        cursor: pointer;
        padding: 1px;
    }

    .pano-progress-bar {
        height: 100%;
        width: 32%;
        background: linear-gradient(90deg, #2563eb, var(--accent-cyan));
        border-radius: 6px;
        box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
        transition: transform 0.1s linear;
    }

    /* Modal Tela Cheia */
    .panorama-modal {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 100000;
    }

    .panorama-modal.is-open {
        display: flex;
        flex-direction: column;
    }

    .panorama-modal-overlay {
        position: absolute;
        inset: 0;
        background: rgba(5, 10, 22, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .panorama-modal-content {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    .panorama-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.25rem;
        color: #ffffff;
        font-size: 0.95rem;
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .panorama-modal-close {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        transition: background 0.2s;
    }

    .panorama-modal-close:active {
        background: rgba(255, 255, 255, 0.25);
    }

    .panorama-modal-body {
        flex: 1;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        display: flex;
        align-items: center;
        scrollbar-width: none;
        padding: 1rem 0;
        cursor: grab;
    }

    .panorama-modal-body::-webkit-scrollbar {
        display: none;
    }

    .panorama-modal-img {
        height: 65vh;
        width: auto;
        max-width: none;
        display: block;
        user-select: none;
    }

    .panorama-modal-hint {
        padding: 0.75rem 1rem 1.5rem;
        text-align: center;
        color: #94a3b8;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    
    .navbar { position: relative; }
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10002;
        padding: 0;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: var(--primary-blue);
        border-radius: 3px;
        transition: transform 0.3s ease, opacity 0.2s ease;
    }
    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

    /* Overlay escuro quando o menu está aberto */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 9998;
    }
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background-color: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 85px 1.5rem 2.5rem;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 25px rgba(0, 0, 0, 0.12);
        z-index: 9999;
        overflow-y: auto;
        overflow-x: hidden;
        gap: 0.35rem;
    }
    .nav-links.active { right: 0; }
    
    .nav-links li {
        width: 100%;
        list-style: none;
    }

    .nav-links > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.75rem 0.6rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-dark);
        border-radius: 8px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .nav-links > li > a:hover,
    .nav-links > li > a:active {
        background-color: rgba(37, 99, 235, 0.06);
        color: var(--primary-blue);
    }
    
    .dropdown {
        width: 100%;
    }

    .dropdown.active > a.dropdown-toggle {
        color: var(--primary-blue) !important;
        background-color: rgba(37, 99, 235, 0.08);
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        background: #f8fafc !important;
        border-left: 3px solid var(--accent-cyan) !important;
        border-radius: 0 8px 8px 0 !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0.4rem 0.4rem 0.4rem 0.6rem !important;
        margin: 0.25rem 0 0.5rem 0 !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
    }

    .dropdown.active .dropdown-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }

    .dropdown:hover .dropdown-menu {
        transform: none !important;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu a {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 8px 10px !important;
        font-size: 0.88rem !important;
        font-weight: 500 !important;
        color: var(--text-dark) !important;
        white-space: normal !important;
        word-break: normal !important;
        line-height: 1.35 !important;
        border-radius: 6px !important;
        transition: background-color 0.15s ease, color 0.15s ease !important;
        transform: none !important;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background-color: rgba(37, 99, 235, 0.08) !important;
        color: var(--primary-blue) !important;
        padding-left: 10px !important;
    }

    .hide-mobile {
        display: none !important;
    }

    /* =========================================
       Detalhe de Serviços / Terapias no Mobile
       ========================================= */
    .service-detail {
        padding-top: 0 !important;
        padding-bottom: 4rem !important;
    }
    
    #back-btn,
    .service-back-btn {
        display: none !important;
    }
    
    .service-detail-hero {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        margin-top: 0 !important;
        margin-bottom: 2.5rem !important;
    }
    
    .service-detail-img-wrap {
        order: -1 !important;
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }
    
    .service-detail-img-wrap img,
    #detail-image {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 0 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    .service-detail-info {
        width: 100% !important;
        min-width: 100% !important;
    }
    
    .service-detail-info h2,
    #detail-title {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.25 !important;
    }
    
    .service-detail-info p,
    #detail-description {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.7 !important;
    }
    
    .service-detail-info .btn {
        width: 100% !important;
        text-align: center !important;
    }
    
    .service-detail-extras {
        flex-direction: column !important;
        gap: 2.5rem !important;
    }
    
    .benefits-section,
    .faq-section {
        width: 100% !important;
        min-width: 100% !important;
    }
    
    .benefits-section h3,
    .faq-section h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1.25rem !important;
    }

    .service-card {
        min-height: 380px;
    }
    .service-card-content {
        padding: 1.75rem !important;
        padding-right: 4.5rem !important;
    }
    .service-card h3 {
        font-size: 1.5rem !important;
    }
    .card-arrow-btn {
        bottom: 1.75rem !important;
        right: 1.75rem !important;
        width: 44px !important;
        height: 44px !important;
    }

    /* =========================================
       Hero Home no Mobile (Idêntico à Imagem de Referência: Galeria no Topo e Rodapé com Centro Branco Puro e Texto Centralizado)
       ========================================= */
    .hero.hero-home {
        position: relative !important;
        height: calc(100vh - 75px) !important;
        height: calc(100dvh - 75px) !important;
        min-height: 620px !important;
        max-height: none !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: #ffffff !important;
        overflow: hidden !important;
    }

    .hero.hero-home .container {
        position: relative !important;
        z-index: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        max-height: none !important;
        padding: 0 1.25rem !important;
        margin: 0 auto !important;
    }

    /* Galeria com 2 colunas preenchendo o fundo no Mobile */
    .hero.hero-home .hero-gallery {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 8px 10px !important;
        box-sizing: border-box !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        z-index: 1 !important;
        opacity: 1 !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
        pointer-events: none !important;
    }

    .hero.hero-home .hero-gallery-card {
        aspect-ratio: 16 / 12 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        background: #e2e8f0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    }

    /* Transição em degradê branco sólido no centro: fotos no topo e embaixo com centro 100% branco para o texto */
    .hero.hero-home .hero-gallery::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 10%,
            rgba(255, 255, 255, 0.9) 24%,
            #ffffff 34%,
            #ffffff 66%,
            rgba(255, 255, 255, 0.9) 76%,
            rgba(255, 255, 255, 0) 90%,
            rgba(255, 255, 255, 0) 100%
        ) !important;
        z-index: 10 !important;
        pointer-events: none !important;
    }

    /* Textos centralizados perfeitamente integrados ao degradê branco central */
    .hero.hero-home .hero-content {
        position: relative !important;
        z-index: 30 !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 0.5rem 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    .hero.hero-home .hero-content h1 {
        font-size: 1.85rem !important;
        font-weight: 800 !important;
        color: #0b193d !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.15 !important;
        text-align: center !important;
        letter-spacing: -0.5px;
    }

    .hero.hero-home .hero-content .subtitle {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: var(--accent-cyan) !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.35 !important;
        text-align: center !important;
        max-width: 290px !important;
    }

    .hero.hero-home .hero-content .hero-desc,
    .hero.hero-home .hero-content p {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        color: #334155 !important;
        margin-bottom: 0 !important;
        text-align: center !important;
        max-width: 300px !important;
    }

    .hero.hero-home .hero-buttons {
        display: none !important;
    }

    .features-grid, .services-grid, .stats-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 2rem; }

    .home-care .container {
        flex-direction: column !important;
        gap: 2.5rem !important;
    }
    .home-care-regions {
        grid-template-columns: 1fr !important;
    }
    .home-care-buttons {
        flex-direction: column !important;
        width: 100% !important;
    }
    .home-care-buttons .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    .contact-container {
        flex-direction: column !important;
        gap: 3rem !important;
    }
    .contact-form-wrapper {
        padding: 2rem 1.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .featured-team {
        flex-direction: column !important;
        padding: 1.75rem !important;
        gap: 2rem !important;
    }

    /* WhatsApp Widget Mobile Responsivo */
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-popup {
        width: calc(100vw - 40px);
        bottom: 70px;
    }
}

/* =========================================
   Monitores Ultra-largos (> 1440px)
   ========================================= */
@media (min-width: 1440px) {
    .container {
        max-width: 1240px;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .features, .services, .team, .stats, .feedbacks, .home-care, .location, .partners {
        padding: 6.5rem 0;
    }

    .features-grid {
        gap: 2.5rem;
    }

    .services-grid {
        gap: 2.5rem;
    }
}

/* =========================================
   Estilos do Painel Administrativo CMS (Visual Studio Editor)
   ========================================= */
.admin-body {
    background-color: #0b132b;
    padding-top: 0;
    margin: 0;
    overflow: hidden;
    height: 100vh;
    font-family: var(--font-body);
}

.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1b2f6b 0%, #294796 100%);
    padding: 2rem;
}

.admin-login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: var(--border-radius-md);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.admin-login-logo img {
    max-height: 65px;
    margin: 0 auto 1.5rem auto;
}

.admin-login-card h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.admin-login-sub {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.admin-alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 1.2rem;
}

.admin-form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-blue);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-form-group input,
.admin-form-group textarea {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: #ffffff;
    transition: var(--transition);
}

.admin-form-group input:focus,
.admin-form-group textarea:focus {
    border-color: var(--accent-cyan);
    outline: none;
    box-shadow: 0 0 0 3px rgba(54, 82, 163, 0.2);
}

.admin-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

/* =========================================
   Visual Studio Layout Principal
   ========================================= */
.admin-studio-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    background-color: #0f172a;
    overflow: hidden;
    position: relative;
}

/* Barra Superior Fixa do Visual Studio */
.admin-studio-header {
    height: 64px;
    background: linear-gradient(90deg, #0b132b 0%, #1e293b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.admin-studio-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.admin-studio-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.admin-studio-logo img {
    height: 32px;
    width: auto;
    filter: brightness(1.2);
}

.admin-studio-badge {
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.4);
}

/* Seletor de Páginas na Barra Superior */
.admin-page-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.07);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-page-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-page-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.admin-page-btn.active {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4);
}

/* Dropdown de Serviços e Terapias Manuais na Barra */
.admin-dropdown {
    position: relative;
    display: inline-block;
}

.admin-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #0b132b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    padding: 8px 0;
    min-width: 280px;
    max-height: 440px;
    overflow-y: auto;
    z-index: 10000;
    backdrop-filter: blur(20px);
}

.admin-dropdown:hover .admin-dropdown-menu,
.admin-dropdown.active .admin-dropdown-menu {
    display: block;
}

.admin-dropdown-header {
    padding: 8px 16px 4px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4px;
}

.admin-dropdown-header:first-child {
    border-top: none;
    margin-top: 0;
}

.admin-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-family: inherit;
    font-size: 0.83rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.admin-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding-left: 20px;
}

.admin-dropdown-item.active {
    background: rgba(2, 132, 199, 0.25);
    color: #38bdf8;
    font-weight: 700;
}

/* Centro: Controles de Dispositivo */
.admin-studio-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-device-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.07);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-device-switcher button {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-device-switcher button:hover {
    color: #ffffff;
}

.admin-device-switcher button.active {
    background: rgba(255, 255, 255, 0.18);
    color: #38bdf8;
    font-weight: 700;
}

/* Direita: Ações de Salvar e Menu */
.admin-studio-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-btn-save {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: all 0.2s ease;
}

.admin-btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.admin-btn-save.has-changes {
    animation: pulseSave 2s infinite;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

@keyframes pulseSave {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.admin-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.admin-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.admin-btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-btn-danger:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Tag / Banner Flutuante "EM EDIÇÃO" */
.admin-floating-status-pill {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.admin-floating-status-pill .live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
}

.admin-floating-status-pill .live-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.admin-floating-status-pill .hint-text {
    color: #cbd5e1;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 14px;
}

.admin-floating-status-pill .hint-text b {
    color: #ffffff;
}

.admin-floating-status-pill .lock-note {
    font-size: 0.78rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Área de Visualização do Site / Workspace */
.admin-viewport-area {
    flex: 1;
    height: calc(100vh - 64px);
    width: 100%;
    background-color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    position: relative;
    padding: 0;
}

.admin-viewport-frame-wrapper {
    width: 100%;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: #ffffff;
}

.admin-viewport-frame-wrapper.desktop-view {
    width: 100%;
    height: 100%;
}

.admin-viewport-frame-wrapper.tablet-view {
    width: 768px;
    height: 92%;
    margin: 20px auto;
    border-radius: 28px;
    box-shadow: 0 0 0 12px #1e293b, 0 25px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.admin-viewport-frame-wrapper.mobile-view {
    width: 380px;
    height: 780px;
    margin: 20px auto;
    border-radius: 36px;
    box-shadow: 0 0 0 14px #1e293b, 0 30px 70px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.admin-live-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #ffffff;
    display: block;
}

/* Toast de Notificação do Visual Studio */
.admin-toast {
    position: fixed;
    top: 80px;
    right: 30px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-toast.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Modal de Troca de Imagem */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
}

.admin-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.admin-modal-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    transform: translateY(20px) scale(0.95);
    transition: all 0.25s ease;
}

.admin-modal-overlay.active .admin-modal-card {
    transform: translateY(0) scale(1);
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.admin-modal-header h3 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.admin-modal-close:hover {
    color: #ef4444;
}

.admin-upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1.2rem;
}

.admin-upload-zone:hover,
.admin-upload-zone.dragover {
    border-color: #0284c7;
    background: #f0f9ff;
}

.admin-upload-zone-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.admin-upload-zone p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.admin-upload-zone p b {
    color: #0284c7;
}

.admin-img-preview-box {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-img-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* =========================================
   Classes Injetadas para Edição no iFrame
   ========================================= */
.nucre-cms-hover-text {
    outline: 2px dashed #0284c7 !important;
    outline-offset: 3px !important;
    cursor: text !important;
    position: relative !important;
}

.nucre-cms-hover-img {
    outline: 3px dashed #06b6d4 !important;
    outline-offset: 4px !important;
    cursor: pointer !important;
    filter: brightness(0.94) !important;
    position: relative !important;
}

.nucre-cms-editing {
    outline: 3px solid #2563eb !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.4) !important;
    background-color: rgba(238, 242, 255, 0.95) !important;
    color: #0f172a !important;
    border-radius: 4px !important;
}

.nucre-cms-locked-hover {
    cursor: not-allowed !important;
}