/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    word-wrap: break-word;
    hyphens: auto;
    /* Fix scroll jank on mobile */
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

/* Prevent text overflow globally */
h1, h2, h3, h4, h5, h6, p, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a, #1e293b);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, transparent, rgba(30, 64, 175, 0.1));
    color: #1e40af;
    border: 2px solid #1e40af;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: linear-gradient(135deg, transparent, rgba(229, 231, 235, 0.3));
    color: #333;
    border: 2px solid #e5e7eb;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e293b 0%, #1e3a8a 25%, #1e40af 50%, #2563eb 75%, #3b82f6 100%);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 25px rgba(30, 58, 138, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand .logo {
    height: 55px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.btn-agendar {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.btn-agendar:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 0px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background-circle {
    position: absolute;
    top: 45%;
    right: -5%;
    transform: translateY(-50%);
    width: 650px;
    height: 650px;
    background-image: url('images/circulo-fundo-hero.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .hero-background-circle {
        width: 500px;
        height: 500px;
        right: -15%;
    }
}

@media (max-width: 768px) {
    .hero-background-circle {
        width: 350px;
        height: 350px;
        right: -25%;
        top: 70%;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 0.9rem;
    font-weight: 400;
    color: #64748b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.hero-text h2 {
    font-size: 3.2rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.1;
}

.credenciais {
    margin-bottom: 1.5rem;
}

.credenciais p {
    color: #1e3a8a;
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0;
    padding: 0.2rem 0.6rem;
    background: rgba(30, 58, 138, 0.05);
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(30, 58, 138, 0.1);
    opacity: 0.6;
}

.hero-text p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}

.stat .label {
    font-size: 0.9rem;
    color: #64748b;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-container {
    position: relative;
    z-index: 3;
}

.hero-image {
    position: relative;
    margin-bottom: -100px;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 4;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header h3 {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Sobre Section */
.sobre {
    padding: 120px 0 80px;
    background: white;
    position: relative;
    z-index: 5;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.sobre-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.formacao-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #1e40af;
}

.formacao-item i {
    color: #1e40af;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.formacao-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.formacao-item p {
    color: #64748b;
    margin: 0;
}

/* Especialidades */
.especialidades {
    padding: 80px 0;
    background: #f8fafc;
}

.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.especialidade-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #e5e7eb;
    /* Fix touch scroll issues */
    touch-action: pan-y;
}

.especialidade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.especialidade-card:hover .card-icon {
    background: linear-gradient(135deg, #1e3a8a, #1e293b);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

.especialidade-card:hover .card-icon img {
    transform: scale(1.1);
}

.especialidade-card.featured {
    border-top-color: #1e40af;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.especialidade-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.especialidade-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #1e3a8a;
}

/* Locais */
.locais {
    padding: 80px 0;
    background: white;
}

.locais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.local-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    /* Fix touch scroll issues */
    touch-action: pan-y;
}

.local-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.local-image {
    height: 200px;
    overflow: hidden;
}

.local-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.local-card:hover .local-image img {
    transform: scale(1.05);
}

.local-info {
    padding: 2rem;
}

.local-info h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.local-info p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.local-endereco {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #64748b;
}

.local-endereco i {
    color: #1e40af;
}

/* Stars (usado em testemunhas) */
.stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #fbbf24;
}

/* Testemunhas */
.testemunhas {
    padding: 80px 0;
    background: white;
}

.testemunhas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testemunha-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #1e3a8a;
    position: relative;
    /* Fix touch scroll issues */
    touch-action: pan-y;
}

.testemunha-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testemunha-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #1e3a8a;
    opacity: 0.3;
    font-family: serif;
}

.testemunha-content .stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.testemunha-content .stars i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.testemunha-content p {
    color: #1e293b;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.testemunha-autor {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.autor-info strong {
    color: #1e293b;
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.autor-info span {
    color: #1e3a8a;
    font-size: 0.9rem;
    font-weight: 500;
}

.fonte {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.85rem;
}

.fonte i {
    color: #1e3a8a;
    opacity: 0.6;
}

.testemunhas-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 15px;
    border: 2px solid #e0f2fe;
}

.testemunhas-cta p {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.testemunhas-cta strong {
    color: #1e3a8a;
}

/* Agendar */
.agendar {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #1e3a8a 50%, #1e40af 100%);
    color: white;
}

.agendar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.agendar-info h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.agendar-info p {
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contato-item i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
    opacity: 0.8;
}

.contato-item strong {
    display: block;
    margin-bottom: 0.5rem;
}

.contato-item p {
    margin: 0;
    opacity: 0.8;
}

.agendar-whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.whatsapp-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon i {
    color: white;
    font-size: 2.5rem;
}

.whatsapp-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.whatsapp-card p {
    color: #374151;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.whatsapp-options {
    margin-bottom: 2rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #0d7377);
    transform: translateY(-2px);
}

.btn-whatsapp i {
    margin-right: 0.5rem;
}

.btn-whatsapp-outline {
    background: linear-gradient(135deg, transparent, rgba(37, 211, 102, 0.1));
    color: #25d366;
    border: 2px solid #25d366;
    margin-bottom: 0.5rem;
    padding: 10px 20px;
}

.btn-whatsapp-outline:hover {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    transform: translateY(-2px);
}

.btn-whatsapp-outline i {
    margin-right: 0.5rem;
}

.whatsapp-benefits {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #047857;
    font-size: 0.9rem;
    font-weight: 600;
}

.benefit i {
    font-size: 1rem;
}

/* Contato */
.contato {
    padding: 80px 0;
    background: #f8fafc;
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contato-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    /* Fix touch scroll issues */
    touch-action: pan-y;
}

.contato-card:hover {
    transform: translateY(-5px);
}

.contato-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

.contato-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.contato-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-info h3 {
    color: #93c5fd;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-info p {
    color: #f3f4f6;
    margin-bottom: 0.5rem;
}

.footer-menu h4,
.footer-contato h4 {
    margin-bottom: 1rem;
    color: #93c5fd;
    font-weight: 600;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: #f3f4f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: white;
}

.footer-contato p {
    color: #f3f4f6;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #e5e7eb;
    font-size: 0.85rem;
    font-weight: 400;
}

.footer-bottom a {
    color: #93c5fd;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: #bfdbfe;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 40px;
        min-height: 80vh;
    }
    
    .hero-background-circle {
        width: 300px;
        height: 300px;
        right: -30%;
        top: 70%;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 0.75rem;
        letter-spacing: 1px;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-text h2 {
        font-size: 2rem;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 1.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
    }
    
    .hero-stats {
        justify-content: center;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-image {
        margin-bottom: -30px;
    }
    
    .hero-image img {
        max-width: 280px;
        height: auto;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .agendar-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .especialidades-grid,
    .locais-grid,
    .testemunhas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .nav-brand .logo {
        height: 40px;
        max-width: 160px;
    }
    
    .whatsapp-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .whatsapp-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .benefit {
        justify-content: center;
    }
}
/
* Blog Styles */
.blog-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.blog-content {
    padding: 80px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #1e3a8a;
    /* Fix touch scroll issues */
    touch-action: pan-y;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-card h2 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.blog-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Page Content Styles */
.page-content {
    padding: 140px 0 80px;
    background: white;
    min-height: 60vh;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #1e293b 0%, #1e3a8a 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        margin: 3px 0;
        transition: 0.3s;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
    
    .hero-text h2 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .credenciais p {
        font-size: 0.85rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin: 1rem 0;
    }
    
    .hero-stat {
        padding: 1rem;
    }
    
    .hero-stat .number {
        font-size: 1.2rem;
    }
    
    .hero-stat .label {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }
    
    .hero-image img {
        max-width: 240px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .especialidade-card,
    .local-card,
    .testemunha-card {
        padding: 1.5rem;
    }
    
    .especialidade-card h3,
    .local-card h3 {
        font-size: 1.1rem;
    }
    
    .especialidade-card p,
    .local-card p {
        font-size: 0.9rem;
    }
    
    .nav-brand .logo {
        height: 35px;
        max-width: 140px;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .hero {
        padding: 90px 0 30px;
    }
}

/* Very small devices (320px and down) */
@media (max-width: 320px) {
    .hero-text h2 {
        font-size: 1.4rem;
    }
    
    .hero-text p {
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 8px;
    }
    
    .hero-image img {
        max-width: 200px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}
/
* Performance optimizations for mobile scroll */
@media (max-width: 768px) {
    /* Optimize animations for mobile */
    .especialidade-card,
    .local-card,
    .testemunha-card,
    .blog-card,
    .contato-card {
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    
    /* Reduce animation complexity on mobile */
    .especialidade-card:hover,
    .local-card:hover,
    .testemunha-card:hover,
    .blog-card:hover,
    .contato-card:hover {
        transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    }
    
    /* Ensure smooth scrolling */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Fix for iOS Safari scroll bounce */
    body {
        position: relative;
        overflow-x: hidden;
    }
    
    /* Prevent scroll interference from fixed elements */
    .header {
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    .whatsapp-float {
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        pointer-events: auto;
        touch-action: manipulation;
    }
}

/* Additional touch optimizations */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-success,
.btn-agendar,
.btn-whatsapp {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent text selection issues on touch */
.especialidade-card h3,
.local-card h3,
.testemunha-card h3,
.blog-card h3,
.contato-card h3 {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}/
* Touch-specific styles */
.touch-active {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.2s ease-out !important;
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
    
    .especialidade-card,
    .local-card,
    .testemunha-card,
    .blog-card,
    .contato-card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Viewport height fix for mobile browsers */
:root {
    --vh: 1vh;
}

@media (max-width: 768px) {
    .hero {
        min-height: calc(var(--vh, 1vh) * 100);
    }
}