/* Variáveis de Cores Premium Medical */
:root {
    --ks-cyan: #38b6b6;    
    --ks-cyan-dark: #2a8e8e;
    --ks-pink: #f5899e;    
    
    --bg-white: #ffffff;
    --bg-light: #f4f7f6; /* Off-white médico bem elegante */
    
    --text-dark: #1e293b; /* Slate 800 */
    --text-muted: #64748b; /* Slate 500 */
    --border-color: #e2e8f0;
    
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    background-color: var(--ks-cyan);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-nav {
    background-color: var(--ks-pink);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-nav:hover {
    background-color: #e07a8e;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin-top: 70px; /* offset navbar */
    
    /* Imagem da Clínica */
    background-image: url('abertura.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 30, 40, 0.65) 0%, rgba(20, 30, 40, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    color: white;
}

.hero-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    max-width: 700px;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 40px;
    color: #e2e8f0;
}

.btn-primary {
    display: inline-block;
    background-color: var(--ks-cyan);
    color: white;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(56, 182, 182, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--ks-cyan-dark);
}

/* Insurance Banner */
.insurance-banner {
    background-color: white;
    padding: 30px 20px;
    border-bottom: 1px solid var(--border-color);
}

.insurance-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.insurance-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ks-pink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.insurance-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.insurance-logos span {
    padding: 5px 15px;
    background-color: var(--bg-light);
    border-radius: 20px;
}

/* Specialties Section */
.specialties-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.specialty-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.specialty-card:hover {
    transform: translateY(-5px);
}

.spec-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

/* Imagens for Specialties */
#img-psico { background-image: url('Captura de tela 2026-07-02 102951.png'); }
#img-aba { background-image: url('Captura de tela 2026-07-02 103150.png'); }
#img-fono { background-image: url('Captura de tela 2026-07-02 103418.png'); }
#img-nutri { background-image: url('Captura de tela 2026-07-02 103452.png'); }

.spec-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.spec-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.spec-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.btn-whatsapp {
    margin-top: auto;
    text-align: center;
    background-color: var(--bg-light);
    color: var(--ks-cyan);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--ks-cyan);
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background-color: var(--ks-cyan);
    color: white;
}

/* About Section */
.about-section {
    background-color: white;
    padding: 80px 20px;
    border-top: 1px solid var(--border-color);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.location-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
}

.location-info i {
    font-size: 1.5rem;
    color: var(--ks-pink);
    margin-top: 3px;
}

.location-info strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.location-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.about-images-wrapper {
    display: flex;
    gap: 20px;
}

.about-img-tag {
    flex: 1;
    width: 100%;
    height: 260px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.logo-area-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-icon-footer {
    background-color: white;
    color: var(--ks-cyan);
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.footer p {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* FAB WhatsApp */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s;
}

.fab-whatsapp:hover {
    transform: scale(1.1);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-img {
        height: 300px;
    }
    .insurance-logos {
        justify-content: center;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
