/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --secondary-color: #374151;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    /* Altura dinâmica do header (atualizada via JS) */
    --header-height: 0px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons - Sistema Unificado com Estilo SOBRE */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 16px 32px;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    white-space: nowrap;
    min-height: 48px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #1e40af 50%, #2563eb 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.25), 0 4px 16px rgba(37, 99, 235, 0.15);
    border: 2px solid #1e40af;
    min-width: 200px;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    border-color: #1e40af;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.35), 0 12px 32px rgba(37, 99, 235, 0.25);
}

.btn-primary:active {
    transform: translateY(-3px) scale(0.98);
    transition: all 0.1s ease;
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.3), 0 8px 32px rgba(30, 58, 138, 0.25);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(30, 64, 175, 0.35), 0 8px 24px rgba(59, 130, 246, 0.25);
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

.btn-secondary {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e3a8a 50%, #1e40af 100%);
    color: white;
    border: 2px solid #1e3a8a;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.25), 0 4px 16px rgba(37, 99, 235, 0.15);
    min-width: 200px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    border-color: #1e40af;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.35), 0 12px 32px rgba(37, 99, 235, 0.25);
}

.btn-secondary:active {
    transform: translateY(-3px) scale(0.98);
    transition: all 0.1s ease;
}

.btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.3), 0 8px 32px rgba(30, 58, 138, 0.25);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-height: 56px;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
}

.nav-logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: #1e3a8a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e3a8a;
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* HERO MODERNA */
.hero-modern {
    /* background removido para permitir que a imagem de fundo da classe .hero seja exibida */
    /* min-height control movido para .hero para compensação do header */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    /* Adicionar padding-top extra para melhor espaçamento do header */
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    gap: 5rem;
    flex-wrap: wrap;
}
.hero-content {
    flex: 1 1 400px;
    color: #fff;
    z-index: 2;
    min-width: 320px;
    padding: 2rem 0;
}
.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.8rem;
}
.hero-title .highlight {
    color: #a5b4fc;
    font-weight: 800;
    font-size: 1.9rem;
    display: block;
}
.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2.2rem;
    color: #dbeafe;
}
.hero-badges {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-crm-discrete {
    margin-bottom: 2rem;
}

.crm-badge-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.crm-badge-hero:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.badge {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 2rem;
    padding: 0.35rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px 0 rgba(30,64,175,0.08);
}
.hero-buttons {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 5;
}
.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.15), 0 4px 16px rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 60px;
    min-width: 200px;
    max-width: 240px;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    letter-spacing: 0.03em;
}
.btn-primary.btn-large {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #1e40af;
    border: 2px solid #1e40af;
    padding: 1.2rem 3rem;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.25), 0 4px 16px rgba(37, 99, 235, 0.15);
    min-width: 280px;
    max-width: 350px;
    font-weight: 600;
    flex: 1;
    border-radius: 20px;
}
.btn-primary.btn-large:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #1e3a8a;
    border-color: #1e40af;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.35), 0 12px 32px rgba(37, 99, 235, 0.25);
}
.btn-secondary.btn-large {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 100%);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.25), 0 4px 16px rgba(30, 64, 175, 0.15);
    position: relative;
    z-index: 10;
    padding: 1.2rem 3rem;
    min-width: 280px;
    max-width: 350px;
    font-weight: 600;
    flex: 1;
    border-radius: 20px;
}
.btn-secondary.btn-large:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.3) 100%);
    color: #fff;
    border-color: #fff;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.35), 0 12px 32px rgba(30, 64, 175, 0.25);
}

/* Garantir que o botão do WhatsApp seja sempre visível */
.btn-secondary.btn-large[href*="wa.me"] {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Estilo específico para o botão da seção SOBRE */
.about-cta .btn-secondary.btn-large {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: #fff;
    border: 2px solid #1e3a8a;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.25), 0 4px 16px rgba(37, 99, 235, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: fit-content;
    min-width: 480px;
    max-width: 580px;
    font-weight: 600;
    padding: 1.2rem 3rem;
    border-radius: 20px;
    text-align: center;
}

.about-cta .btn-secondary.btn-large:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    border-color: #1e40af;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.35), 0 12px 32px rgba(37, 99, 235, 0.25);
}

.about-cta .btn-secondary.btn-large:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.3), 0 8px 32px rgba(30, 58, 138, 0.25);
}

.about-cta .btn-secondary.btn-large:active {
    transform: translateY(-3px) scale(0.98);
    transition: all 0.1s ease;
}
.hero-image {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    /* Empilhar conteúdo da coluna direita e dar espaço para o widget */
    flex-direction: column;
    gap: 2rem;
    align-self: center;
    padding: 2rem 0;
}
/* Classes da foto do médico removidas - não são mais necessárias */



.hero-credentials {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: flex-end;
    height: 100%;
}

/* Classes da foto do médico removidas - não são mais necessárias */

/* Classes do card do médico removidas - não são mais necessárias */
/* Classes da imagem do médico removidas - não são mais necessárias */
/* Classes do badge do card removidas - não são mais necessárias */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .hero-content, .hero-image {
        min-width: 0;
        width: 100%;
        justify-content: center;
    }
    .hero-credentials {
        margin-bottom: 1.5rem;
        gap: 1.5rem;
    }
    
    .hero-widget {
        max-width: 240px;
    }
}
@media (max-width: 600px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-title .highlight {
        font-size: 1.2rem;
    }
    .hero-badges {
        flex-direction: column;
        gap: 0.4rem;
    }
    .hero-credentials {
        margin-bottom: 1rem;
        gap: 1rem;
    }
    
    .hero-widget {
        max-width: 220px;
        padding: 0;
    }
    .contact-widget {
        max-width: 320px;
        padding: 1rem;
    }
    
    /* Ajuste do botão da seção SOBRE para mobile */
    .about-cta .btn-secondary.btn-large {
        min-width: 400px;
        max-width: 480px;
        padding: 1rem 2.5rem;
        font-size: 0.95rem;
    }
}

/* Hero Section */
.hero {
    /* Dimensões para cobrir toda a largura da página */
    width: 100vw;
    height: calc(768px + var(--header-height));
    margin: 0;
    padding-top: calc(var(--header-height) + 2rem);
    display: flex;
    align-items: center;
    background: url('backgroundhero.jpg') center var(--header-height)/contain no-repeat;
    background-size: 100% auto;
    position: relative;
    overflow: visible;
}

/* Camada de blur azul removida para mostrar a imagem de fundo claramente */

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    height: 768px;
    margin: 0 auto;
    padding: 2rem 20px 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
}
.btn-large {
    font-size: 1.15rem;
    padding: 0.9rem 2.2rem;
    border-radius: 2.5rem;
    font-weight: 700;
    box-shadow: 0 4px 16px 0 rgba(30,64,175,0.10);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    min-height: 56px;
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-primary.btn-large, .btn-secondary.btn-large {
    height: 100%;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #60a5fa;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    position: relative;
}

/* Contêiner visual para o widget na hero */
.hero-widget {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-card {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-hover);
    transform: rotate(3deg);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.doctor-img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: calc(var(--border-radius) - 4px);
}

.card-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #1e3a8a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator {
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.section-header h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}

.section-crm {
    text-align: center;
    margin-bottom: 2rem;
}

.crm-badge-section {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
    gap: 0.6rem;
    transition: all 0.3s ease;
    border: 2px solid #1e3a8a;
}

.crm-badge-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.about-crm {
    margin-bottom: 1.5rem;
}

.crm-badge-about {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.25);
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid #1e3a8a;
}

.crm-badge-about:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.35);
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

.credentials {
    margin-top: 2rem;
}

.credential {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credential i {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.credential h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.about-image {
    text-align: center;
}

.about-img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-highlights {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 1.8rem 0;
}
.about-highlights li {
    font-size: 1.13rem;
    color: #1e293b;
    margin-bottom: 0.7rem;
    position: relative;
    padding-left: 1.2rem;
}
.about-highlights li::before {
    content: '\2022';
    color: #2563eb;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
.about-cta {
    margin-top: 2rem;
    text-align: center;
}
.about-credentials-logos {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
    justify-content: center;
    margin-top: 2.2rem;
}

.credentials-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.credential-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-width: 180px;
    max-width: 200px;
    transition: all 0.3s ease;
    background: white;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.credential-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 0.8rem;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}
.credential-logo span {
    font-size: 1.05rem;
    color: #1e293b;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    max-width: 160px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    border: none;
}
.credential-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.2);
}

.credential-logo:hover img {
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
    transform: scale(1.02);
}
@media (max-width: 900px) {
    .about-credentials-logos {
        gap: 3rem;
    }
    .credentials-column {
        gap: 2rem;
    }
    .credential-logo img {
        width: 85px;
        height: 85px;
    }
    .credential-logo {
        min-width: 160px;
        max-width: 180px;
        padding: 1.2rem 0.8rem;
    }
    .credential-logo span {
        font-size: 1rem;
        max-width: 140px;
    }
}
@media (max-width: 600px) {
    .about-highlights li {
        font-size: 1rem;
    }
    .about-credentials-logos {
        flex-direction: column;
        gap: 2rem;
    }
    .credentials-column {
        gap: 1.5rem;
    }
    .credential-logo img {
        width: 75px;
        height: 75px;
    }
    .credential-logo {
        min-width: 140px;
        max-width: 160px;
        padding: 1rem 0.6rem;
    }
    .credential-logo span {
        font-size: 0.95rem;
        max-width: 130px;
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-features i {
    color: #1e3a8a;
    font-size: 0.8rem;
}

/* Specialties Section */
.specialties {
    padding: 6rem 0;
    background: var(--bg-light);
}

.specialties-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.specialty-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.specialty-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.specialty-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.specialty-icon i {
    color: white;
    font-size: 1.5rem;
}

.specialty-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: white;
    padding: 5rem 0;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2rem;
}

/* Widget Doctoralia removido da seção de depoimentos */

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 100px; /* Espaço reduzido para o mapa não sobrepor */
}

.contact-info {
    display: grid;
    gap: 2rem;
    align-content: center;
    justify-self: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--bg-light);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: #1e3a8a;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-widget {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    justify-self: center;
}

/* Widget de Mapa Puro - Largura Total */
.contact-map {
    margin: 0;
    padding: 0;
    width: 100vw;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.map-container {
    background: white;
    border-radius: 0;
    overflow: hidden;
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 0;
}

.google-maps-widget {
    width: 100%;
    position: relative;
}

.map-iframe-container {
    position: relative;
    width: 100%;
    height: 200px;
}

.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #1e3a8a;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: #1e3a8a;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-2px);
    background: #1e40af;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom i {
    color: #1e3a8a;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 8rem;
    width: 50px;
    height: 50px;
    background: #1e3a8a;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
        margin-bottom: 100px;
    }

    .google-maps-widget {
        max-width: 100%;
    }

    .contact-map {
        width: 100vw;
        margin: 0;
        padding: 0;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
    }
    
    .map-container {
        width: 100vw;
        max-width: none;
        margin: 0;
        border-radius: 0;
        position: relative;
    }

    .map-iframe-container {
        height: 180px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-credentials {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
    }

    .hero-buttons .btn {
        width: auto;
        max-width: 200px;
        margin-bottom: 0;
        flex: 1;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
        margin-bottom: 100px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .specialties-content {
        grid-template-columns: 1fr;
    }

    .specialty-item {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

            .cta-buttons .btn {
            width: 100%;
            max-width: 300px;
            padding: 1rem 3rem;
            border-radius: 18px;
            min-width: 160px;
            font-weight: 600;
        }

    .back-to-top {
        right: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-credentials {
        gap: 1.5rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
        border-radius: 16px;
        min-width: 160px;
        font-weight: 600;
    }

    .btn-large {
        padding: 1rem 2.5rem;
        font-size: 0.95rem;
        min-width: 160px;
        max-width: 180px;
        border-radius: 18px;
        font-weight: 600;
    }

    .service-card,
    .specialty-item {
        padding: 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    /* Compensa ancoras por causa do header fixo */
    scroll-padding-top: var(--header-height);
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
} 

.doctor-placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 2rem;
    min-width: 220px;
    min-height: 48px;
    max-width: 320px;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 2px 12px 0 rgba(30,64,175,0.08);
    font-size: 1.1rem;
    gap: 0.6rem;
    margin: 0 auto;
}
.doctor-placeholder-img i {
    color: #94a3b8;
    font-size: 1.3rem;
}
.placeholder-text {
    color: #334155;
    font-size: 1.05rem;
    font-weight: 500;
    white-space: nowrap;
}
/* Media query da foto do médico removida - não é mais necessária */ 

.crm-badge-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 64, 175, 0.95);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 1.2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    gap: 0.4rem;
    margin: 0;
    width: fit-content;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
@media (max-width: 600px) {
    .crm-badge-modern {
        font-size: 0.92rem;
        padding: 0.25rem 0.7rem;
    }
} 

/* Carrossel de Depoimentos - Funcional */
.depoimentos-carousel {
    position: relative;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    position: relative;
    transition: transform 0.4s ease;
}

.carousel-track {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    overflow: visible;
    position: relative;
}

.carousel-slide {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    filter: blur(2px) grayscale(30%);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    min-width: 340px;
    max-width: 420px;
    flex: 1 1 360px;
    display: block;
}

/* Desktop - Estados originais preservados */
@media (min-width: 769px) {
    .carousel-slide {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
        filter: blur(2px) grayscale(30%);
        pointer-events: none;
        z-index: 1;
    }
    
    .carousel-slide-active {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: none;
        pointer-events: auto;
        z-index: 3;
    }
    
    .carousel-slide-prev,
    .carousel-slide-next {
        opacity: 0.6;
        transform: scale(0.92) translateY(10px);
        filter: blur(1px) grayscale(10%);
        pointer-events: none;
        z-index: 2;
    }
}

.carousel-slide-active {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: none;
    pointer-events: auto;
    z-index: 3;
}

.carousel-slide-prev,
.carousel-slide-next {
    opacity: 0.6;
    transform: scale(0.92) translateY(10px);
    filter: blur(1px) grayscale(10%);
    pointer-events: none;
    z-index: 2;
}

.depoimento {
    background: #1e2a4a;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(31, 41, 55, 0.18);
    padding: 2.2rem 2rem 2rem 2rem;
    margin: 0 0.5rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

.depoimento-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(30,64,175,0.10);
    letter-spacing: 1px;
}

.depoimento-nome {
    font-size: 1.08rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.1rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.depoimento-data {
    font-size: 0.85rem;
    color: #a5b4fc;
    margin-bottom: 1rem;
    text-align: center;
}

.depoimento-texto {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #fff;
    text-align: center;
    font-style: italic;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.carousel-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    height: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a8a;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    pointer-events: auto;
    z-index: 15;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 1);
    color: #1e3a8a;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-prev:active,
.carousel-next:active {
    transform: scale(0.95);
}

.carousel-indicators {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    margin-top: 0.7rem;
}

.carousel-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a5b4fc;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
    opacity: 0.7;
}

.carousel-indicator.active {
    background: #fff;
    transform: scale(1.2);
    opacity: 1;
}

/* Espaçamento entre vídeo e carrossel */
.video-dr-carrijo {
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-dr-carrijo video {
    width: 100%;
    display: block;
}

/* Responsividade */
@media (max-width: 768px) {
    .cta {
        padding: 3rem 0;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .depoimento {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }

    .depoimento-texto {
        font-size: 1rem;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
    }
} 

/* Mobile Optimizations - Apenas para dispositivos móveis */
@media (max-width: 768px) {
    /* Header Mobile Otimizado */
    .header {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo img {
        height: 60px !important;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
        transform: translateX(0);
    }
    
    .nav-menu li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateY(20px);
        animation: slideInMobile 0.4s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }
    
    @keyframes slideInMobile {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
        border-radius: 12px;
        margin: 0.5rem 1rem;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(30, 64, 175, 0.1);
        color: #1e3a8a;
        transform: translateX(10px);
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-toggle:hover {
        background: rgba(30, 64, 175, 0.1);
    }
    
    .bar {
        width: 28px;
        height: 3px;
        background: #1e3a8a;
        margin: 4px 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    /* Hero Mobile Otimizado - CORREÇÃO DOS PROBLEMAS */
    .hero {
        height: auto;
        min-height: calc(100vh - var(--header-height));
        padding-top: calc(var(--header-height) + 1rem);
        padding-bottom: 2rem;
        overflow: hidden; /* Prevenir overflow */
        background: url('backgroundhero-mobile.jpg') center top/cover no-repeat !important;
        background-size: 100% auto !important;
        background-position: center calc(var(--header-height) + 0px) !important;
        background-attachment: scroll !important;
    }
    
    /* Overlay removido para mobile - background limpo */
    .hero::before {
        display: none !important; /* Remover overlay azul */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 15px;
        text-align: left !important; /* Alinhamento à esquerda */
        height: 100vh !important; /* Altura total da viewport */
        max-width: 100%;
        overflow: hidden; /* Prevenir overflow */
        position: relative !important; /* Para posicionamento absoluto dos botões */
        z-index: 2;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; /* Conteúdo na parte superior */
    }
    
    .hero-content {
        padding: 4rem 0 0 0 !important; /* Padding superior aumentado para evitar sobreposição com menu */
        max-width: 100%;
        overflow: hidden; /* Prevenir overflow */
        position: relative;
        z-index: 2;
        text-align: left !important; /* Alinhamento à esquerda */
        margin-top: 0 !important; /* Remover margin superior */
    }
    
    .hero-title {
        font-size: 2.5rem !important; /* Tamanho otimizado */
        line-height: 1.1 !important; /* Line height reduzido */
        margin-bottom: 1.5rem;
        word-wrap: normal !important; /* Remover quebras desnecessárias */
        hyphens: none !important; /* Remover hífens automáticos */
        max-width: 100%;
        text-align: left !important; /* Alinhamento à esquerda */
        white-space: normal !important; /* Permitir quebras naturais */
    }
    
    /* Modificar título para mobile - remover "em Campinas" */
    .hero-title::before {
        content: "Neurologia humanizada e especializada" !important;
        display: block !important;
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
        font-weight: 700 !important; /* Peso da fonte mais forte */
        margin-bottom: 1.5rem !important;
        color: #ffffff !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7) !important; /* Sombra mais pronunciada sem overlay */
    }
    
    .hero-title {
        font-size: 0 !important; /* Esconder texto original */
        line-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .hero-subtitle {
        font-size: 1.3rem !important; /* Tamanho otimizado */
        line-height: 1.4 !important; /* Line height otimizado */
        margin-bottom: 2rem;
        padding: 0 !important; /* Remover padding lateral */
        word-wrap: normal !important; /* Remover quebras desnecessárias */
        max-width: 100%;
        overflow-wrap: normal !important; /* Remover quebras desnecessárias */
        text-align: left !important; /* Alinhamento à esquerda */
        white-space: normal !important; /* Permitir quebras naturais */
    }
    
    /* Modificar subtítulo para mobile - remover primeira frase */
    .hero-subtitle::before {
        content: "Atendimento acolhedor, diagnóstico preciso e acompanhamento completo para memória, dor de cabeça, AVC, demência e muito mais." !important;
        display: block !important;
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
        text-align: left !important;
        color: #ffffff !important;
        font-weight: 400 !important; /* Peso da fonte mais leve */
        margin-bottom: 3rem !important; /* Espaçamento maior para separar do botão */
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important; /* Sombra mais pronunciada sem overlay */
    }
    
    .hero-subtitle {
        font-size: 0 !important; /* Esconder texto original */
        line-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* REMOÇÃO DOS BADGES NA HERO MOBILE - PONTO 2 */
    .hero-badges {
        display: none !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 0 !important; /* Remover padding lateral */
        max-width: 100%;
        align-items: flex-start !important; /* Alinhar botões à esquerda */
        text-align: left !important; /* Alinhamento à esquerda */
    }
    
    /* Esconder botão WhatsApp na versão mobile */
    .hero-buttons .btn-secondary {
        display: none !important;
    }
    
    /* Posicionar botão de agendamento na extremidade inferior */
    .hero-buttons {
        position: absolute !important;
        bottom: 4rem !important; /* Margem inferior aumentada */
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        margin: 0 !important;
        z-index: 10 !important;
    }
    
    .btn-large {
        width: auto !important; /* Largura automática */
        min-width: 280px !important; /* Largura mínima otimizada */
        max-width: 320px !important; /* Largura máxima mantida */
        margin: 0 !important; /* Remover margin automático */
        padding: 1.2rem 2rem !important; /* Padding maior para botão inferior */
        font-size: 1.1rem !important; /* Tamanho de fonte maior */
        min-height: 56px !important; /* Altura mínima maior */
        word-wrap: normal !important; /* Remover quebras desnecessárias */
        text-align: center !important; /* Texto do botão centralizado */
        white-space: nowrap !important; /* Evitar quebras no texto do botão */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important; /* Sombra mais pronunciada */
        border-radius: 12px !important; /* Border radius maior */
        font-weight: 600 !important; /* Peso da fonte mais forte */
    }
    
    /* Sobre Mobile Otimizado - MELHORAR DISPOSIÇÃO DOS LOGOS - PONTO 3 */
    .about {
        padding: 4rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .about-highlights li {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        padding-left: 1.5rem;
    }
    
    .about-credentials-logos {
        flex-direction: row !important; /* Manter layout em duas colunas como desktop */
        gap: 1.5rem !important; /* Reduzir gap para mobile */
        padding: 0 0.5rem !important; /* Reduzir padding lateral */
        align-items: flex-start !important; /* Alinhar ao topo */
        justify-content: center !important; /* Centralizar as colunas */
        margin-top: 2rem !important;
    }
    
    .credentials-column {
        gap: 1.5rem !important; /* Reduzir gap entre logos */
        width: auto !important; /* Largura automática */
        max-width: none !important; /* Remover max-width */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .credential-logo {
        min-width: 140px !important; /* Reduzir largura mínima */
        max-width: 160px !important; /* Reduzir largura máxima */
        padding: 1rem 0.8rem !important; /* Reduzir padding */
        margin: 0 !important; /* Remover margin automático */
        text-align: center !important;
        background: white !important;
        border-radius: 12px !important; /* Reduzir border-radius */
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important; /* Sombra mais sutil */
        border: 1px solid rgba(30, 64, 175, 0.1) !important;
    }
    
    .credential-logo img {
        width: 60px !important; /* Reduzir tamanho da imagem */
        height: 60px !important; /* Reduzir tamanho da imagem */
        margin: 0 auto 0.8rem auto !important; /* Reduzir margin bottom */
        display: block !important;
        object-fit: contain !important;
        border-radius: 0.6rem !important; /* Reduzir border-radius */
        background: #f8fafc !important;
        box-shadow: 0 1px 4px rgba(30, 64, 175, 0.1) !important;
    }
    
    .credential-logo span {
        font-size: 0.85rem !important; /* Reduzir tamanho da fonte */
        max-width: 120px !important; /* Reduzir largura máxima do texto */
        text-align: center !important;
        margin: 0 auto !important;
        line-height: 1.3 !important; /* Reduzir line-height */
        font-weight: 600 !important;
        color: #1e293b !important;
    }
    
    .about-cta .btn-secondary.btn-large {
        min-width: 280px;
        max-width: 320px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Serviços Mobile Otimizado - CENTRALIZAR ÍCONES - PONTO 4 */
    .services {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
        border-radius: 16px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 1rem auto;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .service-icon i {
        font-size: 1.2rem;
    }
    
    .service-card h3 {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        text-align: center;
        margin-bottom: 0;
    }
    
    /* Especialidades Mobile Otimizado - CENTRALIZAR ÍCONES - PONTO 4 */
    .specialties {
        padding: 4rem 0;
    }
    
    .specialties-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .specialty-item {
        padding: 1.5rem;
        border-radius: 16px;
        flex-direction: column;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .specialty-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 1rem auto;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .specialty-icon i {
        font-size: 1.2rem;
    }
    
    .specialty-content {
        text-align: center;
        width: 100%;
    }
    
    .specialty-content h3 {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .specialty-content p {
        text-align: center;
        margin-bottom: 0;
    }
    
    /* CTA Mobile Otimizado */
    .cta {
        padding: 3rem 0;
    }
    
    .cta h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Depoimentos Mobile Otimizado - CORREÇÃO DOS PROBLEMAS - PONTO 5 */
    .depoimentos-carousel {
        max-width: 100vw;
        min-height: 200px;
        margin-bottom: 2rem;
        overflow: hidden; /* Prevenir overflow horizontal */
        position: relative;
        padding: 0 1rem;
    }
    
    .carousel-track {
        gap: 0;
        max-width: 100%;
        overflow: visible; /* Permitir overflow para mobile */
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 300%; /* 3 slides lado a lado */
        position: relative;
        transition: transform 0.4s ease;
    }
    
    .carousel-slide {
        min-width: 100vw;
        max-width: 100vw;
        flex-shrink: 0; /* Prevenir encolhimento */
        overflow: visible; /* Permitir overflow para mobile */
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0 1rem;
        box-sizing: border-box;
        opacity: 1; /* Garantir que todos os slides sejam visíveis */
        transform: none; /* Resetar transformações */
        filter: none; /* Resetar filtros */
        pointer-events: auto; /* Permitir interação */
    }
    
    .depoimento {
        padding: 1.5rem 1rem;
        min-height: 180px;
        border-radius: 16px;
        max-width: 100%;
        overflow: hidden; /* Prevenir overflow */
        word-wrap: break-word; /* Quebrar palavras longas */
    }
    
    .depoimento-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .depoimento-nome {
        font-size: 1rem;
        margin-bottom: 0.2rem;
        word-wrap: break-word; /* Quebrar palavras longas */
    }
    
    .depoimento-data {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .depoimento-texto {
        font-size: 0.95rem;
        line-height: 1.6;
        word-wrap: break-word; /* Quebrar palavras longas */
        overflow-wrap: break-word; /* Quebrar palavras longas */
        hyphens: auto; /* Hífens automáticos */
    }
    
    .carousel-controls {
        gap: 0.5rem;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 1rem;
        pointer-events: none; /* Permitir cliques nos slides */
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        pointer-events: auto; /* Reativar cliques nos botões */
        z-index: 10;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        border: none;
        outline: none;
    }
    
    /* Estados específicos para mobile */
    .carousel-slide {
        opacity: 1; /* Todos os slides visíveis por padrão */
        transform: none; /* Sem transformações por padrão */
        filter: none; /* Sem filtros por padrão */
        pointer-events: auto; /* Permitir interação */
    }
    
    .carousel-slide-active {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        pointer-events: auto !important;
        z-index: 3;
    }
    
    .carousel-slide-prev,
    .carousel-slide-next {
        opacity: 1 !important; /* Manter visíveis */
        transform: none !important; /* Sem transformações */
        filter: none !important; /* Sem filtros */
        pointer-events: auto !important;
        z-index: 2;
    }
    
    /* Contato Mobile Otimizado */
    .contact {
        padding: 4rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        margin-bottom: 120px;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
        border-radius: 12px;
        background: rgba(30, 64, 175, 0.02);
        border: 1px solid rgba(30, 64, 175, 0.1);
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i {
        font-size: 1.1rem;
    }
    
    .contact-widget {
        min-height: 250px;
        max-width: 100%;
    }
    
    .contact-map {
        width: 100vw;
        margin: 0;
        padding: 0;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
    }
    
    .map-iframe-container {
        height: 160px;
    }
    
    /* Footer Mobile Otimizado - ALINHAR TEXTOS - PONTO 6 */
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    .footer-logo img {
        height: 40px !important;
        margin: 0 auto 1rem auto;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* CORREÇÃO ESPECÍFICA PARA ALINHAMENTO DOS TEXTOS NO RODAPÉ - PONTO 6 */
    .footer-contact p {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
        color: rgba(255, 255, 255, 0.8);
        text-align: left;
        justify-content: flex-start;
        flex-wrap: wrap;
        line-height: 1.4;
    }
    
    .footer-contact p i {
        color: #1e3a8a;
        flex-shrink: 0;
        margin-top: 0.2rem;
        width: 16px;
        text-align: center;
    }
    
    .footer-contact p span {
        flex: 1;
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding-left: 0.5rem;
    }
    
    .footer-bottom p {
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.4;
        margin: 0;
    }
    
    .footer-bottom p span {
        display: inline-block;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Botões Flutuantes Mobile Otimizados */
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: 7rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Seção Header Mobile */
    .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .crm-badge-section {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
}

/* Mobile Extra Small (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
        word-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }
    
    /* REMOÇÃO DOS BADGES NA HERO MOBILE - PONTO 2 */
    .hero-badges {
        display: none !important;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        max-width: 280px;
        word-wrap: break-word;
        line-height: 1.3;
    }
    
    .about-cta .btn-secondary.btn-large {
        min-width: 240px;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        word-wrap: break-word;
    }
    
    .credential-logo {
        min-width: 180px;
        max-width: 260px;
        padding: 1.2rem 0.8rem;
    }
    
    .credential-logo img {
        width: 70px;
        height: 70px;
    }
    
    .credential-logo span {
        font-size: 0.9rem;
        max-width: 180px;
        word-wrap: break-word;
        line-height: 1.4;
    }
    
    .service-card,
    .specialty-item {
        padding: 1.2rem;
        border-radius: 12px;
    }
    
    .depoimento {
        padding: 1.2rem 0.8rem;
        min-height: 160px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .depoimento-texto {
        font-size: 0.9rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .carousel-slide {
        min-width: 90vw;
        max-width: 90vw;
        overflow: hidden;
        word-wrap: break-word;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    /* Correções específicas para rodapé em telas muito pequenas - PONTO 6 */
    .footer-contact p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .footer-contact p i {
        width: 14px;
        font-size: 0.9rem;
    }
    
    .footer-contact p span {
        padding-left: 0.3rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 6rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Correções específicas para hero em telas muito pequenas */
    .hero {
        padding-top: calc(var(--header-height) + 0.5rem);
        padding-bottom: 1.5rem;
        min-height: auto;
        height: auto;
    }
    
    .hero-container {
        padding: 0.5rem 12px;
        gap: 1.5rem;
    }
    
    .hero-content {
        padding: 0.5rem 0;
    }
    
    .hero-buttons {
        margin-bottom: 1.5rem;
        gap: 0.8rem;
    }
    
    /* Correções para depoimentos em telas muito pequenas */
    .depoimentos-carousel {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-track {
        gap: 0.5rem;
        padding: 0;
    }
    
    .carousel-controls {
        padding: 0 0.5rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Mobile Landscape (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .btn-large {
        flex: 1;
        max-width: 200px;
    }
    
    .about-credentials-logos {
        flex-direction: row;
        gap: 2rem;
    }
    
    .credentials-column {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .specialties-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .cta-buttons .btn {
        flex: 1;
        max-width: 200px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
        box-shadow: var(--shadow);
    }
    
    .service-card:hover,
    .specialty-item:hover,
    .credential-logo:hover {
        transform: none;
        box-shadow: var(--shadow);
    }
    
    .nav-link:hover::after {
        width: 0;
    }
    
    .nav-link:active {
        background: rgba(30, 64, 175, 0.1);
        color: #1e3a8a;
    }
    
    .btn:active {
        transform: scale(0.98);
        transition: all 0.1s ease;
    }
    
    .service-card:active,
    .specialty-item:active,
    .credential-logo:active {
        transform: scale(0.98);
        transition: all 0.1s ease;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduzir sombras para melhor performance */
    .btn {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }
    
    .btn:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    
    .service-card,
    .specialty-item,
    .credential-logo {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    /* Otimizar transições para mobile */
    .btn,
    .service-card,
    .specialty-item,
    .credential-logo,
    .nav-link {
        transition: all 0.2s ease;
    }
    
    /* Reduzir animações complexas em mobile */
    .hero-content {
        transform: none !important;
    }
    
    /* Otimizar scroll para mobile */
    html {
        scroll-behavior: auto;
    }
    
    /* Melhorar performance de touch */
    .nav-menu,
    .hero-container,
    .about-content,
    .services-grid,
    .specialties-content,
    .contact-content {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}

/* Mobile Accessibility Improvements */
@media (max-width: 768px) {
    /* Aumentar área de toque para botões */
    .btn {
        min-height: 48px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .carousel-prev,
    .carousel-next {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Melhorar contraste para mobile */
    .hero-subtitle {
        color: rgba(255, 255, 255, 0.95);
    }
    
    .badge {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    /* Melhorar legibilidade em telas pequenas */
    .service-card h3,
    .specialty-item h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .service-card p,
    .specialty-item p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Otimizar espaçamentos para mobile */
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .about,
    .services,
    .specialties,
    .contact {
        padding: 3rem 0;
    }
    
    .cta {
        padding: 2.5rem 0;
    }
} 

/* ===== NOVA SEÇÃO DE DEPOIMENTOS - MOBILE FIRST ===== */

/* Seção principal */
.depoimentos-section {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    padding: 4rem 0;
    color: white;
}

.depoimentos-header {
    text-align: center;
    margin-bottom: 3rem;
}

.depoimentos-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.depoimentos-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Novo Carrossel */
.novo-carrossel {
    position: relative;
    max-width: 100%;
    margin: 0 auto 3rem auto;
    overflow: visible;
    padding: 0 50px;
}

.carrossel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.carrossel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%;
}

.depoimento-card {
    width: 33.333%;
    flex-shrink: 0;
    padding: 0 1rem;
    box-sizing: border-box;
}

.depoimento-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #1e293b;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.depoimento-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #1e293b;
}

.data {
    font-size: 0.9rem;
    color: #64748b;
}

.depoimento-texto {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    flex-grow: 1;
}

/* Controles do carrossel */
.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #1e40af;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carrossel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carrossel-btn.prev {
    left: -25px;
}

.carrossel-btn.next {
    right: -25px;
}

/* Indicadores */
.indicadores {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.indicador:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.indicador.ativo {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

/* Botões CTA */
.depoimentos-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.depoimentos-buttons .btn {
    min-width: 280px;
    text-align: center;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .depoimentos-section {
        padding: 3rem 0;
    }
    
    .depoimentos-header h2 {
        font-size: 2rem;
    }
    
    .depoimentos-header p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.95);
        font-weight: 400;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    /* Ajustes específicos para mobile */
    .novo-carrossel {
        padding: 0;
        overflow: hidden;
    }
    
    /* Esconder botões de navegação no mobile */
    .carrossel-btn {
        display: none !important;
    }
    
    .depoimento-card {
        padding: 1.5rem;
    }
    
    .avatar {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .info h4 {
        font-size: 1.1rem;
    }
    
    .depoimento-texto {
        font-size: 0.95rem;
    }
    
    .depoimentos-buttons .btn {
        min-width: 260px;
        padding: 1rem 1.5rem;
    }
}

/* Responsividade Desktop */
@media (min-width: 769px) {
    .depoimentos-section {
        padding: 5rem 0;
    }
    
    .depoimentos-header h2 {
        font-size: 3rem;
    }
    
    .depoimentos-header p {
        font-size: 1.3rem;
    }
    
    .novo-carrossel {
        max-width: 800px;
    }
    
    .depoimentos-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .depoimentos-buttons .btn {
        min-width: 200px;
    }
}

/* ===== ASSINATURA DO DESENVOLVEDOR ===== */
.developer-signature {
    margin-top: 0.5rem;
    text-align: center;
}

.developer-signature p {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

.developer-signature a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.developer-signature a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Responsividade da assinatura */
@media (max-width: 768px) {
    .developer-signature {
        margin-top: 0.3rem;
    }
    
    .developer-signature p {
        font-size: 0.8rem;
    }
}

/* Correções para telas muito pequenas - PONTO 5 */
@media (max-width: 480px) {
    .depoimentos-carousel {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-track {
        gap: 0.5rem;
    }
    
    .carousel-slide {
        min-width: 90vw !important;
        max-width: 90vw !important;
    }
    
    .carousel-controls {
        padding: 0 0.5rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
    }
    
    .depoimento {
        padding: 1rem 0.8rem;
        min-height: 140px;
    }
    
    .depoimento-texto {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .depoimento-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .depoimento-nome {
        font-size: 0.9rem;
    }
    
    .depoimento-data {
        font-size: 0.75rem;
    }
}

/* Forçar correções para todos os dispositivos móveis */
@media (max-width: 768px) {
    .depoimentos-carousel * {
        box-sizing: border-box !important;
    }
    
    .carousel-track > div {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem;
    }
    
    /* Garantir que o container principal não cause overflow */
    .cta {
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .cta .container {
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Background Mobile Otimizado para Hero */
@media (max-width: 768px) {
    .hero {
        background: url('backgroundhero.jpg') center top/cover no-repeat !important;
        background-size: 100% auto !important;
        background-position: center top !important;
        background-attachment: scroll !important;
        min-height: calc(100vh - var(--header-height));
        height: auto;
        overflow: hidden;
    }
    
    /* Background específico para mobile - dimensões otimizadas */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, 
            rgba(30, 64, 175, 0.85) 0%, 
            rgba(30, 64, 175, 0.75) 50%, 
            rgba(30, 64, 175, 0.65) 100%);
        z-index: 1;
    }
    
    .hero-container {
        position: relative;
        z-index: 2;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
    }
}

/* Background específico para telas muito pequenas */
@media (max-width: 480px) {
    .hero {
        background: url('backgroundhero.jpg') center top/contain no-repeat !important;
        background-size: 100% auto !important;
        min-height: calc(100vh - var(--header-height));
        height: auto;
    }
    
    .hero::before {
        background: linear-gradient(135deg, 
            rgba(30, 64, 175, 0.9) 0%, 
            rgba(30, 64, 175, 0.8) 50%, 
            rgba(30, 64, 175, 0.7) 100%);
    }
}

/* Background específico para tablets */
@media (min-width: 481px) and (max-width: 768px) {
    .hero {
        background: url('backgroundhero-mobile.jpg') center calc(var(--header-height) + 0px)/cover no-repeat !important;
        background-size: cover !important; /* Otimizado para 1080x1920px */
        min-height: calc(100vh - var(--header-height));
        height: 100vh !important; /* Altura total da viewport */
    }
    
    .hero::before {
        display: none !important; /* Remover overlay azul */
    }
}

/* Desktop - Background original preservado */
@media (min-width: 769px) {
    .hero {
        background: url('backgroundhero.jpg') center var(--header-height)/contain no-repeat !important;
        background-size: 100% auto !important;
        background-position: center var(--header-height) !important;
        background-attachment: scroll !important;
    }
}

/* Background Mobile Exclusivo para Hero - CORREÇÃO PONTO 1 */
@media (max-width: 768px) {
    .hero {
        background: url('backgroundhero-mobile.jpg') center calc(var(--header-height) + 0px)/cover no-repeat !important;
        background-size: cover !important; /* Otimizado para 1080x1920px */
        background-position: center calc(var(--header-height) + 0px) !important;
        background-attachment: scroll !important;
        min-height: calc(100vh - var(--header-height));
        height: 100vh !important; /* Altura total da viewport */
        overflow: hidden;
        padding-top: calc(var(--header-height) + 1rem) !important;
    }
    
    /* Background específico para mobile - dimensões otimizadas */
    .hero::before {
        display: none !important; /* Remover overlay azul */
    }
    
    .hero-container {
        position: relative;
        z-index: 2;
        padding-top: 0 !important;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
    }
}

/* Background específico para telas muito pequenas */
@media (max-width: 480px) {
    .hero {
        background: url('backgroundhero-mobile.jpg') center calc(var(--header-height) + 0px)/cover no-repeat !important;
        background-size: cover !important; /* Otimizado para 1080x1920px */
        min-height: calc(100vh - var(--header-height));
        height: 100vh !important; /* Altura total da viewport */
    }
    
    .hero::before {
        display: none !important; /* Remover overlay azul */
    }
    
    /* Otimizações para telas muito pequenas */
    .hero-title::before {
        font-size: 2.2rem !important; /* Tamanho reduzido para telas pequenas */
        line-height: 1.1 !important;
    }
    
    .hero-subtitle::before {
        font-size: 1.2rem !important; /* Tamanho reduzido para telas pequenas */
        line-height: 1.3 !important;
    }
    
    .btn-large {
        min-width: 260px !important; /* Largura mínima reduzida */
        padding: 1rem 1.5rem !important; /* Padding ajustado */
        font-size: 1rem !important; /* Fonte ajustada */
    }
    
    /* Ajustes específicos para telas muito pequenas */
    .hero-content {
        padding: 5rem 0 0 0 !important; /* Padding superior ainda maior para telas pequenas */
    }
    
    .hero-buttons {
        bottom: 3rem !important; /* Margem inferior ajustada para telas pequenas */
    }
    
    /* Logos da seção Sobre para telas muito pequenas */
    .about-credentials-logos {
        gap: 1rem !important; /* Reduzir ainda mais o gap */
        padding: 0 0.3rem !important; /* Reduzir padding lateral */
    }
    
    .credentials-column {
        gap: 1rem !important; /* Reduzir gap entre logos */
    }
    
    .credential-logo {
        min-width: 120px !important; /* Reduzir ainda mais a largura mínima */
        max-width: 140px !important; /* Reduzir ainda mais a largura máxima */
        padding: 0.8rem 0.6rem !important; /* Reduzir padding */
    }
    
    .credential-logo img {
        width: 50px !important; /* Reduzir ainda mais o tamanho da imagem */
        height: 50px !important; /* Reduzir ainda mais o tamanho da imagem */
        margin: 0 auto 0.6rem auto !important; /* Reduzir margin bottom */
    }
    
    .credential-logo span {
        font-size: 0.8rem !important; /* Reduzir ainda mais o tamanho da fonte */
        max-width: 100px !important; /* Reduzir ainda mais a largura máxima do texto */
        line-height: 1.2 !important; /* Reduzir line-height */
    }
}

/* Background específico para tablets */
@media (min-width: 481px) and (max-width: 768px) {
    .hero {
        background: url('backgroundhero-mobile.jpg') center calc(var(--header-height) + 0px)/cover no-repeat !important;
        background-size: 100% auto !important;
        min-height: calc(100vh - var(--header-height));
        height: auto;
    }
    
    .hero::before {
        background: linear-gradient(135deg, 
            rgba(30, 64, 175, 0.8) 0%, 
            rgba(30, 64, 175, 0.7) 50%, 
            rgba(30, 64, 175, 0.6) 100%);
    }
    
    /* Otimizações para tablets */
    .hero-title::before {
        font-size: 2.8rem !important; /* Tamanho maior para tablets */
        line-height: 1.1 !important;
    }
    
    .hero-subtitle::before {
        font-size: 1.4rem !important; /* Tamanho maior para tablets */
        line-height: 1.4 !important;
    }
    
    .btn-large {
        min-width: 300px !important; /* Largura mínima maior para tablets */
        padding: 1.3rem 2.2rem !important; /* Padding maior para tablets */
        font-size: 1.15rem !important; /* Fonte maior para tablets */
    }
    
    /* Ajustes específicos para tablets */
    .hero-content {
        padding: 3.5rem 0 0 0 !important; /* Padding superior ajustado para tablets */
    }
    
    .hero-buttons {
        bottom: 4.5rem !important; /* Margem inferior ajustada para tablets */
    }
    
    /* Logos da seção Sobre para tablets */
    .about-credentials-logos {
        gap: 2rem !important; /* Gap maior para tablets */
        padding: 0 1rem !important; /* Padding maior para tablets */
    }
    
    .credentials-column {
        gap: 2rem !important; /* Gap maior entre logos */
    }
    
    .credential-logo {
        min-width: 160px !important; /* Largura maior para tablets */
        max-width: 180px !important; /* Largura máxima maior para tablets */
        padding: 1.2rem 1rem !important; /* Padding maior */
    }
    
    .credential-logo img {
        width: 70px !important; /* Tamanho maior para tablets */
        height: 70px !important; /* Tamanho maior para tablets */
        margin: 0 auto 1rem auto !important; /* Margin maior */
    }
    
    .credential-logo span {
        font-size: 0.9rem !important; /* Fonte maior para tablets */
        max-width: 140px !important; /* Largura máxima maior para tablets */
        line-height: 1.4 !important; /* Line-height maior */
    }
}

/* Desktop - Background original preservado */
@media (min-width: 769px) {
    .hero {
        background: url('backgroundhero.jpg') center var(--header-height)/contain no-repeat !important;
        background-size: 100% auto !important;
        background-position: center var(--header-height) !important;
        background-attachment: scroll !important;
    }
}

/* Botões de Agendamento - Estilos específicos */
.btn-primary[href="#contato"],
.btn-secondary[href="#contato"],
#agendeHeroBtn,
#agendeSobreBtn,
#agendeDepoimentosBtn {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary[href="#contato"]:hover,
.btn-secondary[href="#contato"]:hover,
#agendeHeroBtn:hover,
#agendeSobreBtn:hover,
#agendeDepoimentosBtn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

/* Efeito de clique para botões de agendamento */
#agendeHeroBtn:active,
#agendeSobreBtn:active,
#agendeDepoimentosBtn:active {
    transform: scale(0.98);
    transition: all 0.1s ease;
}

/* Indicador visual de que é um botão de agendamento */
#agendeHeroBtn::after,
#agendeSobreBtn::after,
#agendeDepoimentosBtn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#agendeHeroBtn:hover::after,
#agendeSobreBtn:hover::after,
#agendeDepoimentosBtn:hover::after {
    left: 100%;
}

/* Indicadores visuais para carrossel mobile */
.carousel-indicators-mobile {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    z-index: 20;
}

@media (max-width: 768px) {
    .carousel-indicators-mobile {
        display: flex !important;
    }
}

.carousel-indicator-mobile {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-indicator-mobile:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.carousel-indicator-mobile.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

/* Otimização específica para background mobile 1080x1920px */
@media (max-width: 768px) {
    .hero {
        background-image: url('backgroundhero-mobile.jpg') !important;
        background-size: cover !important; /* Cobre toda a área mantendo proporção */
        background-position: center calc(var(--header-height) + 0px) !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
        aspect-ratio: 9/16 !important; /* Proporção ideal para 1080x1920px */
        min-height: calc(100vh - var(--header-height)) !important;
        height: 100vh !important; /* Altura total da viewport */
    }
}