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

:root {
    --primary-color: #1565C0;
    --secondary-color: #1976D2;
    --accent-color: #64B5F6;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --background-light: #F3F8FF;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #1565C0 0%, #1976D2 100%);
    --shadow: 0 10px 30px rgba(21, 101, 192, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #64B5F6;
    --secondary-color: #42A5F5;
    --accent-color: #90CAF9;
    --text-dark: #E0E0E0;
    --text-light: #B0BEC5;
    --background-light: #1A1A2E;
    --white: #0F0F1E;
    --gradient: linear-gradient(135deg, #42A5F5 0%, #64B5F6 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --card-bg: #16213E;
    --border-color: #2C3E50;
}

[data-theme="light"] {
    --card-bg: #FFFFFF;
    --border-color: #E0E0E0;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--white);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1565C0 0%, #1976D2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: pulse-ring 2s ease-in-out infinite;
}

.loading-logo i {
    font-size: 3rem;
    color: white;
}

.loading-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.loading-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-style: italic;
}

.loading-content .crp {
    font-size: 0.9rem;
    font-style: normal;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Dark Mode in Loading Screen */
[data-theme="dark"] .loading-screen {
    background: linear-gradient(135deg, #0F0F1E 0%, #1A1A2E 100%);
}

/* Header */
.header {
    background: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

[data-theme="dark"] .header {
    background: var(--card-bg);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

[data-theme="dark"] .header.scrolled {
    background: var(--card-bg);
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.logo p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    font-style: italic;
}

.logo .crp {
    font-size: 0.75rem;
    font-style: normal;
    opacity: 0.7;
}

[data-theme="dark"] .logo h1 {
    color: var(--primary-color);
}

[data-theme="dark"] .logo p {
    color: var(--text-light);
}

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

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

.nav-link:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .nav-link {
    color: var(--text-dark);
    font-weight: 600;
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary-color);
}

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

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

/* Theme Toggle Button */
.theme-toggle {
    background: var(--gradient);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    margin-left: 1rem;
}

.theme-toggle:hover {
    transform: rotate(20deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(21, 101, 192, 0.3);
}

.theme-toggle i {
    font-size: 1.2rem;
    transition: var(--transition);
}

[data-theme="dark"] .theme-toggle {
    background: var(--gradient);
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background-light) 0%, #E3F2FD 100%);
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, var(--background-light) 0%, #0F0F1E 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(100, 181, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-circle {
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

.profile-circle i {
    font-size: 4rem;
    color: var(--white);
}

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

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Sobre Section */
.sobre {
    background: var(--white);
    transition: var(--transition);
}

.sobre-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.sobre-image {
    position: relative;
}

.sobre-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: var(--gradient);
    opacity: 0.1;
    z-index: -1;
    transition: var(--transition);
}

.sobre-image:hover::before {
    top: -25px;
    right: -25px;
    opacity: 0.15;
}

.profile-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(21, 101, 192, 0.2);
    transition: var(--transition);
    object-fit: cover;
    border: 5px solid var(--background-light);
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .profile-photo {
    border-color: var(--card-bg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.profile-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(21, 101, 192, 0.3);
}

.sobre-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.credenciais {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

[data-theme="dark"] .credenciais {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.credenciais h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.credenciais ul {
    list-style: none;
}

.credenciais li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.credenciais i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.sobre-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--gradient);
    color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

/* Serviços Section */
.servicos {
    background: var(--background-light);
}

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

.servico-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

[data-theme="dark"] .servico-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(21, 101, 192, 0.15);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.servico-icon i {
    font-size: 2rem;
    color: var(--white);
}

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

.servico-card ul {
    list-style: none;
    margin-top: 1.5rem;
    text-align: left;
}

.servico-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--background-light);
    position: relative;
    padding-left: 1.5rem;
}

.servico-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Especialidades Section */
.especialidades {
    background: var(--white);
}

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

.especialidade-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.especialidade-item:hover {
    background: var(--background-light);
    transform: translateX(10px);
}

.especialidade-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.especialidade-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

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

/* Depoimentos Section */
.depoimentos {
    background: var(--background-light);
}

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

.depoimento-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.depoimento-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    font-family: serif;
}

.stars {
    margin-bottom: 1rem;
}

.stars i {
    color: #FFD700;
    font-size: 1.2rem;
}

.depoimento-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.depoimento-autor {
    color: var(--primary-color);
    font-weight: 600;
}

/* Apresentação do Paciente Section */
.apresentacao-paciente {
    background: var(--background-light);
    padding: 100px 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.apresentacao-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
}

.intro-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    height: fit-content;
    position: sticky;
    top: 120px;
    transition: var(--transition);
    border: 2px solid transparent;
}

[data-theme="dark"] .intro-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.intro-icon i {
    font-size: 2rem;
    color: var(--white);
}

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

.apresentacao-form {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

[data-theme="dark"] .apresentacao-form {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.form-section {
    padding: 2rem;
    border-bottom: 1px solid var(--background-light);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
}

.form-section h4 i {
    font-size: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
}

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

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-actions {
    padding: 2.5rem;
    background: var(--background-light);
    text-align: center;
}

.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.privacy-note i {
    color: var(--primary-color);
}

.form-actions .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive para Apresentação */
@media (max-width: 768px) {
    .apresentacao-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-card {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-actions {
        padding: 2rem 1.5rem;
    }
}

/* Contato Section - Redesigned */
.contato {
    background: var(--background-light);
    position: relative;
}

[data-theme="dark"] .contato {
    background: var(--white);
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 1rem auto 0;
}

.contato-wrapper {
    max-width: 700px;
    margin: 3rem auto 0;
}

.contato-card-main {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(21, 101, 192, 0.1);
    transition: var(--transition);
}

[data-theme="dark"] .contato-card-main {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
}

.contato-info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 15px;
    transition: var(--transition);
}

[data-theme="dark"] .contato-info-item {
    background: rgba(100, 181, 246, 0.05);
}

.contato-info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(21, 101, 192, 0.15);
}

.info-icon-circle {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contato-info-item:hover .info-icon-circle {
    transform: scale(1.1) rotate(5deg);
}

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

.info-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.info-content a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-color);
}

.contato-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 2rem 0;
    opacity: 0.3;
}

.social-section {
    text-align: center;
}

.social-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-btn i {
    font-size: 1.5rem;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #FD1D1D 100%);
    color: white;
}

.social-btn.whatsapp {
    background: #25D366;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .contato-card-main {
        padding: 2rem;
    }
    
    .contato-info-item {
        padding: 1rem;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}

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

.contato-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contato-items {
    margin: 2rem 0;
}

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

.contato-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contato-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contato-item p {
    margin: 0;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

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

/* Form Styles */
.contato-form {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

[data-theme="dark"] .contato-form {
    background: var(--card-bg);
    border-color: var(--border-color);
}

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

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

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

[data-theme="dark"] .footer {
    background: #0a0a14;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

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

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

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

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section .social-links a {
    margin-right: 1rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .footer-bottom p {
    color: #B0BEC5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        margin-left: 0.5rem;
    }
    
    .theme-toggle i {
        font-size: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    [data-theme="dark"] .nav-menu {
        background-color: var(--card-bg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding: 140px 0 80px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }
    
    .profile-circle {
        width: 200px;
        height: 200px;
    }
    
    .profile-circle i {
        font-size: 3rem;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sobre-image {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .sobre-image::before {
        top: -15px;
        right: -15px;
        border-radius: 15px;
    }
    
    .sobre-image:hover::before {
        top: -18px;
        right: -18px;
    }
    
    .profile-photo {
        border-radius: 15px;
    }
    
    .sobre-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .servico-card {
        padding: 2rem;
    }
    
    .especialidades-content {
        grid-template-columns: 1fr;
    }
    
    .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contato-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .contato-card {
        padding: 1.5rem 1rem;
    }
    
    .contato-card-main {
        padding: 1.5rem;
    }
    
    .contato-info-item {
        padding: 1rem;
        flex-direction: row;
        gap: 1rem;
    }
    
    .info-icon-circle {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .info-icon-circle i {
        font-size: 1.2rem;
    }
    
    .info-content h3 {
        font-size: 1rem;
    }
    
    .info-content a {
        font-size: 0.95rem;
        word-break: break-all;
    }
    
    .social-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .profile-circle {
        width: 150px;
        height: 150px;
    }
    
    .profile-circle i {
        font-size: 2.5rem;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .servico-card {
        padding: 2rem 1.5rem;
    }
    
    .sobre-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .sobre-image {
        max-width: 280px;
    }
    
    .sobre-image::before {
        top: -10px;
        right: -10px;
        border-radius: 12px;
    }
    
    .sobre-image:hover::before {
        top: -12px;
        right: -12px;
    }
    
    .profile-photo {
        border-radius: 12px;
        border: 3px solid var(--background-light);
    }
    
    .especialidade-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contato-form {
        padding: 1.5rem;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contato-card {
        padding: 1.5rem 1rem;
    }
    
    .contato-card-main {
        padding: 1.2rem;
    }
    
    .contato-info-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .info-content a {
        font-size: 0.9rem;
    }
    
    .social-links-center {
        padding: 1.5rem;
    }
    
    .social-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 50px 0;
    }
}

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

.section-header,
.servico-card,
.depoimento-card,
.especialidade-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Hover Effects */
.servico-card:hover .servico-icon {
    transform: scale(1.1);
}

.especialidade-item:hover .especialidade-icon {
    transform: scale(1.1);
}

/* Focus States */
.btn:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Micro-interactions and Advanced Animations */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Card hover effects enhanced */
.servico-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(21, 101, 192, 0.15);
}

.servico-icon {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.servico-card:hover .servico-icon {
    transform: scale(1.1) rotate(10deg);
}

/* Especialidade hover with slide effect */
.especialidade-item {
    position: relative;
    overflow: hidden;
}

.especialidade-item::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 181, 246, 0.1), transparent);
    transition: left 0.5s;
}

.especialidade-item:hover::before {
    left: 100%;
}

/* Stat counter pulse effect */
.stat-item {
    position: relative;
    overflow: hidden;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-item:hover::after {
    opacity: 1;
}

/* Form focus effects */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
}

/* Link underline animation */
.nav-link {
    position: relative;
    display: inline-block;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Accessibility improvements - Better contrast */
[data-theme="dark"] .hero-text h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
    color: var(--text-dark);
}

[data-theme="dark"] p {
    color: var(--text-light);
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast improvements */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --text-light: #333333;
    }
    
    [data-theme="dark"] {
        --text-dark: #FFFFFF;
        --text-light: #CCCCCC;
    }
}

/* Skip to main content for screen readers */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10001;
}

.skip-to-main:focus {
    top: 0;
} 