/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #8b5cf6;
    --text-primary: #2c3e50;
    --text-secondary: #666;
    --text-light: #9ca3af;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(45deg, #667eea, #764ba2);
    --gradient-soft: linear-gradient(45deg, #a78bfa, #c084fc);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

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

/* 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;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

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

.highlight {
    color: #667eea;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--gradient-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Hero CTA Button */
.hero .btn-primary {
    background: white;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.hero .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
}

.hero .btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar {
    padding: 0;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.nav-logo h2 {
    color: #667eea;
    font-weight: 700;
    margin: 0;
    font-size: 1rem;
    white-space: nowrap;
    line-height: 1.2;
    flex: 1;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.nav-cta {
    margin-left: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    display: block;
}

/* Animação do hamburguer quando ativo */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Garantir que o hero tenha altura adequada no mobile */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 6rem 0 3rem 0;
        overflow: hidden;
        width: 100%;
    }
    
    .hero-container {
        width: 100%;
        padding: 0 1rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="800" r="120" fill="url(%23a)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: slideInLeft 1s ease-out;
}

.hero-content h1 .highlight {
    color: #a78bfa;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out;
}

.doctor-photo {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.doctor-photo:hover {
    transform: scale(1.05);
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

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

/* Tratamentos Section */
.tratamentos {
    padding: 5rem 0;
    background-color: var(--background-white);
}

.tratamentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tratamento-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.tratamento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-soft);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.3);
}

.tratamento-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tratamento-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Cirurgias Section */
.cirurgias {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.cirurgias-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background-color: var(--background-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-secondary);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.tab-content {
    background-color: var(--background-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.cirurgia-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.cirurgia-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cirurgia-item h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.cirurgia-item p {
    margin: 0;
    color: var(--text-secondary);
}

/* Quem Sou Section */
.quem-sou {
    padding: 5rem 0;
    background: var(--background-light);
}

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

.quem-sou-image {
    text-align: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient-soft);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 20px 40px rgba(167, 139, 250, 0.2);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.image-placeholder:hover {
    transform: scale(1.05);
}

.quem-sou-text h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.quem-sou-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.stat-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

/* Localização Section */
.localizacao {
    padding: 5rem 0;
    background-color: var(--background-white);
}

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

.localizacao-info h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.localizacao-info p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.localizacao-info i {
    color: #667eea;
    margin-right: 0.5rem;
}

.localizacao-info .btn-primary {
    margin-top: 1rem;
}

/* Agendamento Section */
.agendamento {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
}

.agendamento .section-header h2 {
    color: white !important;
}

.agendamento .section-header h2 .highlight {
    color: #a78bfa !important;
}

.agendamento .section-header h2::after {
    background: #a78bfa;
}

.agendamento-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.agendamento-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item div {
    color: rgba(255, 255, 255, 0.9);
}

.agendamento-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--gradient-soft);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(167, 139, 250, 0.3);
}

/* Blog Section */
.blog {
    padding: 5rem 0;
    background-color: var(--background-white);
}

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

.blog-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

.blog-image {
    height: 200px;
    background-color: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background: var(--gradient-soft);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(167, 139, 250, 0.3);
}

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

.blog-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-meta i {
    margin-right: 0.25rem;
}

.blog-cta {
    text-align: center;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

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

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient-soft);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.3);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Animações modernas de scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Animações específicas */
.fade-in-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rotate-in.animate-in {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Animações com delay */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

/* Animações para cards em grid */
.tratamento-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tratamento-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Animações para estatísticas */
.stat-item {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-item.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Animações para blog cards */
.blog-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Animações para seções */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Animações para botões de tab */
.tab-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tab-btn.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Animações para conteúdo das tabs */
.tab-pane {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tab-pane.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Animações para formulário */
.agendamento-form {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.agendamento-form.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.agendamento-info {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.agendamento-info.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Animações para footer */
.footer-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in animations - mantido para compatibilidade */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Garantir que image-placeholders não sejam afetados por transformações indesejadas */
.image-placeholder {
    transform: none !important;
    will-change: auto;
}

.image-placeholder:hover {
    transform: scale(1.05) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        position: relative;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e5e7eb;
        z-index: 999;
        width: 100%;
        box-sizing: border-box;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active li {
        margin: 0.5rem 0;
    }
    
    .nav-menu.active a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }
    
    .nav-menu.active a:hover {
        background-color: #f3f4f6;
    }
    
    /* Overlay escuro quando menu está aberto */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
        position: relative;
        right: 0;
        align-self: center;
    }
    
    .nav-logo h2 {
        font-size: 1rem;
        max-width: none;
        white-space: normal;
        line-height: 1.1;
        flex: 1;
        margin-right: 1rem;
    }
    
    .hero {
        padding-top: 120px; /* Aumenta espaço para o header fixo */
        min-height: auto;
        padding-bottom: 3rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 1rem;
    }
    
    .hero-content {
        order: 1;
        z-index: 2;
        position: relative;
    }
    
    .hero-image {
        order: 2;
        z-index: 1;
        position: relative;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        margin-top: 1rem;
    }
    
    .quem-sou-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .localizacao-content {
        grid-template-columns: 1fr;
    }
    
    .agendamento-content {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
    }
    
    .doctor-photo {
        width: 300px;
        height: 300px;
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
        gap: 0.5rem;
        align-items: center;
    }
    
    .nav-logo h2 {
        font-size: 0.9rem;
        max-width: none;
        white-space: normal;
        line-height: 1.1;
        flex: 1;
        margin-right: 0.5rem;
    }
    
    .hamburger {
        padding: 8px;
        margin-left: 0.5rem;
        align-self: center;
    }
    
    .hamburger span {
        width: 22px;
        height: 2px;
    }
    
    .hero {
        padding-top: 100px; /* Aumenta o espaçamento para telas menores */
        min-height: auto;
        padding-bottom: 2rem;
    }
    
    .hero-container {
        gap: 1.5rem;
    }
    
    .hero-content {
        order: 1;
        z-index: 2;
        position: relative;
    }
    
    .hero-image {
        order: 2;
        z-index: 1;
        position: relative;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        margin-top: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .doctor-photo {
        width: 250px;
        height: 250px;
        position: relative;
        z-index: 1;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
} 