/* Estilo Avançado Premium - Clínica Veterinária São Francisco */
:root {
    --primary-deep: #1b4332;
    --primary-sage: #40916c;
    --accent-gold: #d4af37;
    --bg-light: #f8f9fa;
    --text-dark: #2d3748;
    --text-light: #ffffff;
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.06);
    --border-radius-lg: 16px;
    --border-radius-sm: 8px;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Container de Seções */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-badge {
    display: inline-block;
    color: var(--primary-sage);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--primary-deep);
    margin-bottom: 40px;
}

/* Cabeçalho Glassmorphism */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.brand-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-deep);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-sage);
}

.nav-menu .btn-nav {
    background-color: var(--primary-deep);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-menu .btn-nav:hover {
    background-color: var(--primary-sage);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Seção Hero */
.hero-section {
    background: linear-gradient(135deg, rgba(27,67,50,0.95) 0%, rgba(40,145,108,0.85) 100%), url('../hero-bg.jpg') center/cover no-repeat;
    height: 85vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    padding: 0 24px;
    margin-top: 70px;
}

.hero-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.05);
}

.hero-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-hero {
    display: inline-block;
    text-decoration: none;
    background-color: var(--accent-gold);
    color: var(--primary-deep);
    padding: 16px 32px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    background-color: #ffffff;
}

/* Seção História */
.history-section {
    background-color: var(--bg-light);
    text-align: center;
}

.history-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.8;
}

/* Seção de Recorte Avançado da Equipe Geral */
.beach-cutout-section {
    background-color: #2e7d32;
    color: #ffffff;
    overflow: hidden;
}

.beach-cutout-section .section-container {
    padding: 80px 24px;
}

.cutout-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.cutout-text {
    flex: 1;
    max-width: 500px;
}

.cutout-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cutout-text p {
    font-size: 1.05rem;
    opacity: 0.9;
    line-height: 1.7;
}

.cutout-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.team-cutout-img {
    max-width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    /* Inteligência de Recorte Avançado via isolamento/mesclagem */
    isolation: isolate;
    mix-blend-mode: normal;
}

/* Seção do Corpo Clínico (Cards Premium) */
.grid-doctors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card-doctor {
    position: relative;
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    border: 1px solid #edf2f7;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-doctor:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(64, 145, 108, 0.2);
}

.card-border-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-deep), var(--primary-sage));
}

.card-body h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    color: var(--primary-deep);
    margin-bottom: 8px;
}

.doctor-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.card-body p {
    color: #718096;
    font-size: 0.95rem;
}

/* Seção Laboratório Próprio */
.lab-section {
    background-color: var(--bg-light);
}

.lab-card-premium {
    background: linear-gradient(135deg, #1b4332 0%, #0d2119 100%);
    border-radius: 24px;
    padding: 60px;
    color: var(--text-light);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    position: relative;
}

.lab-content {
    max-width: 750px;
}

.lab-tag {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 16px;
}

.lab-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.lab-content p {
    opacity: 0.85;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Rodapé */
.main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 30px 24px;
}

.footer-info h4 {
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-address, .footer-email {
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-email a {
    color: var(--primary-sage);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 0.85rem;
}

/* Botão Flutuante do WhatsApp Business + Micro-interação de Pulso IA */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-icon {
    width: 28px;
    height: 28px;
}

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

.wa-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: waPulseAnimate 2s infinite;
    opacity: 0.4;
}

@keyframes waPulseAnimate {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Responsividade Avançada */
@media (max-width: 992px) {
    .cutout-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .cutout-text {
        max-width: 100%;
    }
    .hero-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Em projetos de produção aqui entraria um menu sanduíche */
    }
    .section-title {
        font-size: 1.8rem;
    }
    .lab-card-premium {
        padding: 32px;
    }
    .lab-content h3 {
        font-size: 1.6rem;
    }
}
