/* ===== ISOLAMENTO COMPLETO DOS MENUS - PRIORIDADE MÁXIMA ===== */

/* DESKTOP: Esconder completamente menu mobile */
@media (min-width: 769px) {
    .mobile-menu-overlay,
    .mobile-menu,
    .mobile-menu-header,
    .mobile-logo,
    .mobile-nav,
    .mobile-menu-close,
    .mobile-nav ul,
    .mobile-nav li,
    .mobile-nav a {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        z-index: -9999 !important;
    }
    
    .nav-toggle {
        display: none !important;
    }
}

/* MOBILE: Esconder completamente menu desktop */
@media (max-width: 768px) {
    .nav-menu,
    .nav-menu li,
    .nav-menu a {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        z-index: -9999 !important;
    }
}

/* GARANTIR QUE O LOADING SCREEN SEMPRE SEJA VISÍVEL */
.loading-screen {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
}

/* PERMITIR QUE O LOADING SCREEN SEJA ESCONDIDO QUANDO NECESSÁRIO */
.loading-screen.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.8s ease !important;
}

.loading-content,
.loading-logo,
.loading-text,
.loading-bar,
.loading-progress {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    pointer-events: auto !important;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

body * {
    max-width: 100vw;
    box-sizing: border-box;
}

/* Paleta Azul Elegante */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #60a5fa;
    --accent-color: #ffd700;
    --dark-blue: #1d4ed8;
    --light-blue: #eff6ff;
    --blue-gradient: linear-gradient(135deg, #3b82f6, #60a5fa);
    --text-color: #374151;
    --light-text: #6b7280;
    --text-muted: #9ca3af;
    --text-dark: #1f2937;
    --background-color: #ffffff;
    --light-bg: #f8fafc;
    --surface: #eff6ff;
    --border-color: #dbeafe;
    --shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

/* Performance optimizations and loading state */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-x: hidden;
    max-width: 100vw;
}

body.loaded {
    opacity: 1;
}

/* Improve text rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #357abd, #2c5282);
}

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

/* Focus styles for accessibility */
.hero-cta:focus,
.back-to-top:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.85)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.1) 75%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.header:hover::before {
    opacity: 1;
}

/* Header Decorations */
.header-decoration {
    display: none;
}

.floating-element {
    display: none;
}

.floating-element:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.floating-element:nth-child(2) {
    left: 50%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.floating-element:nth-child(3) {
    left: 80%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}



.logo-icon img {
    width: 60px;
    height: 60px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
    border-radius: 50%;
    object-fit: cover;
}

.logo-icon:hover img {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 8px 16px rgba(59, 130, 246, 0.5));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
    letter-spacing: -0.5px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    margin-top: 2px;
}

.logo .crp {
    font-size: 0.75rem;
    color: var(--light-text);
    font-weight: 400;
    margin-top: 2px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 20px;
    margin: 0 5px;
    position: relative;
    transition: var(--transition);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    z-index: 2;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--blue-gradient);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-menu a:hover::before {
    opacity: 1;
    transform: scale(1);
}

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

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary-color);
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.8) 0%, rgba(191, 219, 254, 0.6) 100%),
                url('./assets/image/fundo1.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: visible;
    padding: 120px 20px 40px 20px;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    max-width: 900px;
    width: 100%;
    z-index: 2;
    position: relative;
    padding: 20px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    line-height: 1.4;
    letter-spacing: -1px;
    white-space: normal;
    overflow: visible;
    text-align: center;
    padding: 0;
    display: block;
    width: 100%;
    word-wrap: break-word;
    hyphens: auto;
}

/* Animated Letters */
.animated-text .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
    animation: letterDrop 0.8s ease forwards;
}

.animated-text .space {
    width: 0.3em;
    display: inline-block;
}

.animated-text .letter:nth-child(1) { animation-delay: 0.1s; }
.animated-text .letter:nth-child(2) { animation-delay: 0.2s; }
.animated-text .letter:nth-child(3) { animation-delay: 0.3s; }
.animated-text .letter:nth-child(4) { animation-delay: 0.4s; }
.animated-text .letter:nth-child(5) { animation-delay: 0.5s; }
.animated-text .letter:nth-child(7) { animation-delay: 0.7s; }
.animated-text .letter:nth-child(8) { animation-delay: 0.8s; }
.animated-text .letter:nth-child(9) { animation-delay: 0.9s; }
.animated-text .letter:nth-child(10) { animation-delay: 1.0s; }
.animated-text .letter:nth-child(11) { animation-delay: 1.1s; }

.hero-subtitle {
    font-size: 2.2rem;
    margin: 30px 0 50px;
    opacity: 1;
    font-weight: 400;
    max-width: 800px;
    line-height: 1.7;
    font-family: 'Dancing Script', cursive;
    font-style: italic;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-left: auto;
    margin-right: auto;
    display: block;
    white-space: normal;
    word-wrap: break-word;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    padding: 18px 36px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid #3b82f6;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

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

.hero-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-img:hover {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 5rem 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
}

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

/* About Section */
.about {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.about-text {
    max-width: 600px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-photo {
    text-align: center;
    position: relative;
    perspective: 1000px;
}

.about-photo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.about-photo::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 20px;
    opacity: 0.1;
    z-index: -1;
    transition: all 0.3s ease;
}

.about-photo:hover::before {
    transform: translate(10px, 10px) rotateY(10deg);
    opacity: 0.2;
}

.about-photo:hover img {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.crp-text {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-description {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-final {
    font-size: 1.1rem;
    color: var(--secondary-color);
}



/* Services Section */
.services {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: linear-gradient(
        135deg,
        rgba(147, 197, 253, 0.12),
        rgba(191, 219, 254, 0.10),
        rgba(59, 130, 246, 0.07)
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(59, 130, 246, 0.18);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #1d4ed8);
    border-radius: 20px 20px 0 0;
}

.service-card:hover {
    transform: translateY(-12px) rotateX(3deg) rotateY(3deg);
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(96, 165, 250, 0.12),
        rgba(29, 78, 216, 0.08)
    );
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 25px 50px rgba(59, 130, 246, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.service-card:hover::before {
    background: linear-gradient(90deg, #60a5fa, #1d4ed8, #3b82f6);
}

.service-card .icon {
    font-size: 3rem;
    color: #3b82f6;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.2),
        rgba(96, 165, 250, 0.15)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.service-card .icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .icon {
    transform: scale(1.15) rotateY(10deg);
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.3),
        rgba(96, 165, 250, 0.25)
    );
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 12px 40px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #60a5fa;
}

.service-card:hover .icon::before {
    opacity: 1;
    animation: shimmer 0.6s ease-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Efeito shine adicional para todos os cards glassmorphismo */
.service-card::after,
.step::after,
.faq-item::after,
.contact-form::after,
.contact-method::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s;
    pointer-events: none;
}

.service-card:hover::after,
.step:hover::after,
.faq-item:hover::after,
.contact-form:hover::after,
.contact-method:hover::after {
    left: 100%;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Treatment Section */
.treatment {
    background: var(--light-bg);
}

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

.step {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1),
        rgba(96, 165, 250, 0.08),
        rgba(29, 78, 216, 0.05)
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.step:hover {
    transform: translateY(-8px);
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(96, 165, 250, 0.12),
        rgba(29, 78, 216, 0.08)
    );
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 25px 50px rgba(59, 130, 246, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.9),
        rgba(96, 165, 250, 0.8)
    );
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 1),
        rgba(96, 165, 250, 0.9)
    );
    box-shadow: 
        0 12px 40px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.step:hover .step-number::before {
    opacity: 1;
    animation: shimmer 0.6s ease-out;
}

.step h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step p {
    color: var(--light-text);
    line-height: 1.6;
}

/* TCC Section */
.tcc {
    background: var(--background-color);
}

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

.tcc-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
}

.tcc-text p {
    margin-bottom: 1.5rem;
}

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

.tcc-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tcc-img:hover {
    transform: scale(1.05);
}

/* FAQ Section */
.faq {
    background: var(--light-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .faq-list {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .faq-list {
        padding: 0 5px;
    }
}

.faq-item {
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.12), rgba(191, 219, 254, 0.10), rgba(59, 130, 246, 0.07));
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.08);
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s, border 0.3s;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: var(--transition);
    line-height: 1.4;
    word-wrap: break-word;
    hyphens: auto;
}

.faq-item:hover {
    transform: translateY(-3px);
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(96, 165, 250, 0.12),
        rgba(29, 78, 216, 0.08)
    );
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 20px 40px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background: var(--background-color);
}

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

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info {
    order: 1;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-method {
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.12), rgba(191, 219, 254, 0.10), rgba(59, 130, 246, 0.07));
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.08);
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s, border 0.3s;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method:hover {
    transform: translateX(8px) translateY(-2px);
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(96, 165, 250, 0.12),
        rgba(29, 78, 216, 0.08)
    );
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.contact-method .icon {
    font-size: 1.8rem;
    color: #3b82f6;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.2),
        rgba(96, 165, 250, 0.15)
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 6px 25px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.contact-method .icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-method:hover .icon {
    transform: scale(1.1);
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.3),
        rgba(96, 165, 250, 0.25)
    );
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 8px 30px rgba(59, 130, 246, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #60a5fa;
}

.contact-method:hover .icon::before {
    opacity: 1;
    animation: shimmer 0.6s ease-out;
}

.contact-method h4 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.contact-method p {
    color: var(--light-text);
    margin: 0;
}

.contact-method p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method p a:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

/* Formulário moderno */
.contact-form {
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.12), rgba(191, 219, 254, 0.10), rgba(59, 130, 246, 0.07));
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.08);
    padding: 2.5rem 2rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s, border 0.3s;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    font-size: 1.08rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(59,130,246,0.06);
    transition: border 0.2s, box-shadow 0.2s;
    font-family: inherit;
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.13);
    background: #f0f7ff;
}

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

.contact-form button[type="submit"],
.btn.btn-primary {
    width: 100%;
    padding: 1.1rem 0;
    font-size: 1.1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #fff;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 18px rgba(59,130,246,0.13);
    margin-top: 0.5rem;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}

.contact-form button[type="submit"]:hover,
.btn.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 8px 28px rgba(59,130,246,0.18);
    transform: translateY(-2px) scale(1.03);
}

/* Footer */
.footer {
    background: url('./assets/image/fundo1.png') center/cover no-repeat;
    position: relative;
    padding: 3rem 0 1rem;
    color: #ffffff;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.1)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer > * {
    position: relative;
    z-index: 2;
}

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

.footer-info h3,
.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

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

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

.footer-links ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(96, 165, 250, 0.3);
    transform: translateY(-1px);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

/* Responsive Design */
/* Media queries antigas removidas - substituídas pelas novas */

/* Media query antiga de 480px removida - substituída pela nova */

/* Força overflow visible em todas as resoluções */
.hero,
.hero-content,
.hero-title {
    overflow: visible !important;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blue-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.8s ease;
}

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

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

.loading-logo {
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.loading-logo img {
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
    display: block;
}

.loading-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.6);
}

.loading-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #f0f0f0);
    border-radius: 2px;
    animation: loading 2s ease-in-out;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    width: 0%;
    transition: width 0.1s ease;
}

/* Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    max-width: 100vw;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(29, 78, 216, 0.7);
    border-radius: 50%;
    animation: float-particle 8s linear infinite;
    will-change: transform;
    max-width: 6px;
    z-index: 0;
}

.particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 8s; }
.particle:nth-child(2) { left: 15%; animation-delay: 1s; animation-duration: 10s; }
.particle:nth-child(3) { left: 25%; animation-delay: 2s; animation-duration: 9s; }
.particle:nth-child(4) { left: 45%; animation-delay: 3s; animation-duration: 11s; }
.particle:nth-child(5) { left: 65%; animation-delay: 4s; animation-duration: 7s; }
.particle:nth-child(6) { left: 85%; animation-delay: 5s; animation-duration: 12s; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
    z-index: 1;
    margin-top: 30px;
    opacity: 0.9;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Enhanced Hero CTA */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--blue-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
    z-index: 2;
}

.hero-cta::before {
    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.6s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.hero-cta svg {
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(3px);
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes float-particle {
    0% { 
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

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

@keyframes scroll-wheel {
    0% { opacity: 1; top: 8px; }
    50% { opacity: 0; top: 20px; }
    100% { opacity: 0; top: 8px; }
}

@keyframes letterDrop {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(90deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* Animação removida para evitar overflow */

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

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

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

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .contact-form {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .hero {
        background: none;
        color: black;
    }
}

/* CONTROLE DE OVERFLOW ESPECÍFICO */
.header,
.hero,
.about,
.services,
.treatment,
.tcc,
.faq,
.contact,
.footer {
    overflow-x: hidden;
    position: relative;
}

/* Elementos específicos que precisam de controle */
.nav-container,
.hero-content,
.container {
    max-width: 100%;
    overflow-x: hidden;
} 

/* Animação elegante para letras da legenda */
.animated-subtitle .sub-letter {
    display: inline-block;
    animation: letterFadeInOut 4s ease-in-out infinite;
    animation-fill-mode: both;
    text-shadow: 0 2px 8px rgba(59, 130, 246, 0.5);
}

.animated-subtitle .sub-space {
    display: inline-block;
    width: 0.3em;
}

.animated-subtitle .sub-letter:nth-child(1) { animation-delay: 0.1s; }
.animated-subtitle .sub-letter:nth-child(2) { animation-delay: 0.2s; }
.animated-subtitle .sub-letter:nth-child(3) { animation-delay: 0.3s; }
.animated-subtitle .sub-letter:nth-child(4) { animation-delay: 0.4s; }
.animated-subtitle .sub-letter:nth-child(5) { animation-delay: 0.5s; }
.animated-subtitle .sub-letter:nth-child(6) { animation-delay: 0.6s; }
.animated-subtitle .sub-letter:nth-child(7) { animation-delay: 0.7s; }
.animated-subtitle .sub-letter:nth-child(8) { animation-delay: 0.8s; }
.animated-subtitle .sub-letter:nth-child(9) { animation-delay: 0.9s; }
.animated-subtitle .sub-letter:nth-child(11) { animation-delay: 1.0s; }
.animated-subtitle .sub-letter:nth-child(12) { animation-delay: 1.1s; }
.animated-subtitle .sub-letter:nth-child(13) { animation-delay: 1.2s; }
.animated-subtitle .sub-letter:nth-child(14) { animation-delay: 1.3s; }
.animated-subtitle .sub-letter:nth-child(15) { animation-delay: 1.4s; }
.animated-subtitle .sub-letter:nth-child(16) { animation-delay: 1.5s; }
.animated-subtitle .sub-letter:nth-child(17) { animation-delay: 1.6s; }
.animated-subtitle .sub-letter:nth-child(18) { animation-delay: 1.7s; }
.animated-subtitle .sub-letter:nth-child(19) { animation-delay: 1.8s; }
.animated-subtitle .sub-letter:nth-child(20) { animation-delay: 1.9s; }
.animated-subtitle .sub-letter:nth-child(21) { animation-delay: 2.0s; }
.animated-subtitle .sub-letter:nth-child(22) { animation-delay: 2.1s; }
.animated-subtitle .sub-letter:nth-child(23) { animation-delay: 2.2s; }
.animated-subtitle .sub-letter:nth-child(25) { animation-delay: 2.3s; }
.animated-subtitle .sub-letter:nth-child(26) { animation-delay: 2.4s; }
.animated-subtitle .sub-letter:nth-child(28) { animation-delay: 2.5s; }
.animated-subtitle .sub-letter:nth-child(29) { animation-delay: 2.6s; }
.animated-subtitle .sub-letter:nth-child(30) { animation-delay: 2.7s; }
.animated-subtitle .sub-letter:nth-child(31) { animation-delay: 2.8s; }
.animated-subtitle .sub-letter:nth-child(32) { animation-delay: 2.9s; }
.animated-subtitle .sub-letter:nth-child(33) { animation-delay: 3.0s; }
.animated-subtitle .sub-letter:nth-child(34) { animation-delay: 3.1s; }
.animated-subtitle .sub-letter:nth-child(36) { animation-delay: 3.2s; }
.animated-subtitle .sub-letter:nth-child(37) { animation-delay: 3.3s; }
.animated-subtitle .sub-letter:nth-child(38) { animation-delay: 3.4s; }
.animated-subtitle .sub-letter:nth-child(39) { animation-delay: 3.5s; }
.animated-subtitle .sub-letter:nth-child(40) { animation-delay: 3.6s; }
.animated-subtitle .sub-letter:nth-child(41) { animation-delay: 3.7s; }
.animated-subtitle .sub-letter:nth-child(42) { animation-delay: 3.8s; }
.animated-subtitle .sub-letter:nth-child(43) { animation-delay: 3.9s; }
.animated-subtitle .sub-letter:nth-child(44) { animation-delay: 4.0s; }
.animated-subtitle .sub-letter:nth-child(45) { animation-delay: 4.1s; }
.animated-subtitle .sub-letter:nth-child(46) { animation-delay: 4.2s; }
.animated-subtitle .sub-letter:nth-child(47) { animation-delay: 4.3s; }
.animated-subtitle .sub-letter:nth-child(48) { animation-delay: 4.4s; }
.animated-subtitle .sub-letter:nth-child(49) { animation-delay: 4.5s; }
.animated-subtitle .sub-letter:nth-child(50) { animation-delay: 4.6s; }
.animated-subtitle .sub-letter:nth-child(51) { animation-delay: 4.7s; }
.animated-subtitle .sub-letter:nth-child(52) { animation-delay: 4.8s; }
.animated-subtitle .sub-letter:nth-child(53) { animation-delay: 4.9s; }
.animated-subtitle .sub-letter:nth-child(54) { animation-delay: 5.0s; }
.animated-subtitle .sub-letter:nth-child(55) { animation-delay: 5.1s; }
.animated-subtitle .sub-letter:nth-child(56) { animation-delay: 5.2s; }
.animated-subtitle .sub-letter:nth-child(57) { animation-delay: 5.3s; }
.animated-subtitle .sub-letter:nth-child(58) { animation-delay: 5.4s; }

@keyframes letterFadeInOut {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
        filter: blur(2px);
    }
    15% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
        text-shadow: 0 4px 12px rgba(59, 130, 246, 0.8);
    }
    85% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
        text-shadow: 0 4px 12px rgba(59, 130, 246, 0.8);
    }
    100% {
        opacity: 0.4;
        transform: translateY(-10px) scale(0.9);
        filter: blur(1px);
        text-shadow: 0 2px 6px rgba(59, 130, 246, 0.4);
    }
} 

/* Media query duplicada removida - já existe versão melhorada acima */ 

/* Responsividade mobile melhorada */
@media (max-width: 768px) {
    /* Container e espaçamentos */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Header e navegação */
    .nav-container {
        padding: 0.8rem 15px;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo-icon img {
        width: 50px;
        height: 50px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .logo .crp {
        font-size: 0.7rem;
    }
    
    /* Menu mobile - removido duplicação */
    
    /* Hero section */
    .hero {
        padding: 120px 15px 60px 15px;
        min-height: 100vh;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.4;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    
    .hero-cta {
        padding: 15px 30px;
        font-size: 1.1rem;
        margin: 0 auto;
    }
    
    /* About section */
    .about-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-photo {
        order: 1;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-photo img {
        width: 100%;
        height: auto;
        max-width: 300px;
    }
    
    /* Services section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        margin: 0;
    }
    
    /* Treatment section */
    .treatment-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step {
        padding: 1.5rem;
        text-align: center;
    }
    
    /* TCC section */
    .tcc-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .tcc-image {
        order: 1;
        max-width: 100%;
    }
    
    .tcc-text {
        order: 2;
    }
    
    .tcc-img {
        width: 100%;
        height: auto;
        max-width: 400px;
    }
    
    /* Contact section */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: stretch;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}
    
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
    width: 100%;
}
    
.contact-method {
    padding: 1.2rem;
    text-align: left;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.contact-form {
    padding: 2rem 1.5rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    order: 2;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* Evita zoom no iOS */
}
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Sections gerais */
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Animações mobile */
    .animated-subtitle .sub-letter {
        display: inline;
        animation: none;
        opacity: 1;
    }
    
    /* Scroll indicator */
    .scroll-indicator {
        display: none;
    }
    
    /* Particles */
    .particles-container {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Ajustes para telas muito pequenas */
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0.6rem 10px;
    }
    
    .logo-icon img {
        width: 45px;
        height: 45px;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    .logo .crp {
        font-size: 0.6rem;
    }
    
    /* Hero section */
    .hero {
        padding: 100px 10px 40px 10px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* About section */
    .about-photo {
        max-width: 250px;
    }
    
    .about-photo img {
        max-width: 250px;
    }
    
    /* Service cards */
    .service-card {
        padding: 1.2rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Steps */
    .step {
        padding: 1.2rem;
    }
    
    .step h3 {
        font-size: 1.1rem;
    }
    
    .step p {
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-method {
        padding: 1rem;
    }
    
    .contact-method h4 {
        font-size: 1.1rem;
    }
    
    .contact-method p {
        font-size: 0.95rem;
    }
    
    /* Form */
    .contact-form {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .contact-content {
        gap: 2rem;
        padding: 0 10px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 360px) {
    /* Ajustes para telas extremamente pequenas */
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .step {
        padding: 1rem;
    }
}

/* Animações para menu mobile */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prevenir overflow horizontal */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Garantir que todos os elementos respeitem o container */
* {
    box-sizing: border-box;
}

/* Ajustes específicos para evitar overflow */
.hero,
.hero-content,
.hero-title,
.hero-subtitle {
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

/* Melhorar acessibilidade do menu mobile */
@media (max-width: 768px) {
    body.nav-open {
        overflow: hidden;
    }
    
    .nav-menu {
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu a:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
} 

/* Melhorias específicas para mobile */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Evita zoom no iOS */
        padding: 15px;
        border-radius: 8px;
    }
    
    .btn {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    /* Melhorar espaçamento dos cards */
    .service-card {
        margin-bottom: 1rem;
    }
    
    /* Ajustar imagens responsivas */
    .about-photo img,
    .tcc-img {
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
    
    /* Melhorar legibilidade do texto */
    .about-text p,
    .tcc-text p,
    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Ajustar espaçamento das seções */
    .about,
    .services,
    .treatment,
    .tcc,
    .faq,
    .contact {
        padding: 2.5rem 0;
    }
    
    /* Melhorar FAQ mobile */
    .faq-question {
        padding: 1.2rem;
        font-size: 1rem;
        text-align: left;
        line-height: 1.4;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .faq-answer {
        padding: 0 1.2rem 1.2rem 1.2rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0.8rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .faq-item {
        margin-bottom: 1rem;
        border-radius: 15px;
    }
    
    .faq-icon {
        font-size: 1.3rem;
        flex-shrink: 0;
        margin-left: 0.5rem;
    }
    
    /* Melhorar botão de voltar ao topo */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    /* Melhorar loading screen */
    .loading-content {
        padding: 0 20px;
    }
    
    .loading-logo img {
        width: 80px;
        height: 80px;
    }
    
    .loading-text {
        font-size: 1rem;
    }
    
    .loading-bar {
        width: 150px;
    }
}

/* Melhorias para telas muito pequenas */
@media (max-width: 480px) {
    .contact-form {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
    }
    
    .btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .faq-item {
        margin-bottom: 0.8rem;
        border-radius: 12px;
    }
    
    .faq-icon {
        font-size: 1.2rem;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

/* Menu mobile corrigido - REMOVIDO DUPLICATA */

/* Melhorias para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .treatment-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Melhorias para telas grandes */
@media (min-width: 1025px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .treatment-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .nav-menu {
        transition: none;
    }
    
    .nav-menu.active {
        animation: none;
    }
    
    .hero-cta:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .step:hover {
        transform: none;
    }
}

/* Melhorias para impressão */
@media print {
    .nav-toggle,
    .scroll-indicator,
    .particles-container,
    .back-to-top,
    .loading-screen {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static !important;
        background: none !important;
        box-shadow: none !important;
        flex-direction: row !important;
        padding: 0 !important;
    }
    
    .nav-menu li {
        margin: 0 1rem 0 0;
    }
    
    .nav-menu a {
        color: black !important;
        text-decoration: underline;
        padding: 0.5rem !important;
    }
    
    .hero {
        background: none !important;
        color: black !important;
        padding: 2rem 0 !important;
    }
    
    .hero-title,
    .hero-subtitle {
        color: black !important;
    }
    
    .service-card,
    .step {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--blue-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.back-to-top:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Melhorias para mobile */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* Melhorias para acessibilidade e mobile */
.keyboard-navigation *:focus {
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px !important;
}

/* Melhorar performance de animações */
@media (prefers-reduced-motion: reduce) {
    .particle,
    .floating-element,
    .hero-cta,
    .service-card,
    .step {
        animation: none !important;
        transition: none !important;
    }
}

/* Melhorar carregamento de fontes */
.fonts-loaded {
    font-display: swap;
}

/* Melhorar estados de foco para mobile */
@media (max-width: 768px) {
    .hero-cta:focus,
    .btn:focus,
    input:focus,
    textarea:focus {
        outline: 2px solid var(--primary-color) !important;
        outline-offset: 2px !important;
    }
    
    /* Melhorar área de toque */
    .hero-cta,
    .btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Melhorar feedback visual */
    .hero-cta:active,
    .btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* Melhorar formulário mobile */
@media (max-width: 768px) {
    .form-group.focused input,
.form-group.focused textarea {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
    
    .form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
}

/* Melhorar loading screen para mobile */
@media (max-width: 768px) {
    .loading-screen {
        background: var(--blue-gradient);
    }
    
    .loading-content {
        padding: 0 20px;
        text-align: center;
    }
    
    .loading-logo img {
        width: 80px;
        height: 80px;
        max-width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }
    
    .loading-text {
        font-size: 1rem;
        margin: 1rem 0;
    }
    
    .loading-bar {
        width: 150px;
        height: 4px;
    }
}

/* Melhorar scroll indicator para mobile */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* Melhorar particles para mobile */
@media (max-width: 768px) {
    .particles-container {
        opacity: 0.4;
        pointer-events: none;
    }
    
    .particle {
        width: 4px;
        height: 4px;
        animation-duration: 10s !important;
        will-change: transform;
        transform: translateZ(0);
    }
    
    .particle:nth-child(1) { 
        left: 10%; 
        animation-delay: 0s; 
        animation-duration: 8s; 
        opacity: 0.6;
    }
    .particle:nth-child(2) { 
        left: 50%; 
        animation-delay: 2s; 
        animation-duration: 10s; 
        opacity: 0.6;
    }
    .particle:nth-child(3) { 
        left: 80%; 
        animation-delay: 4s; 
        animation-duration: 9s; 
        opacity: 0.6;
    }
    .particle:nth-child(4) { display: none; }
    .particle:nth-child(5) { display: none; }
    .particle:nth-child(6) { display: none; }
}

/* Melhorar performance das partículas */
@media (prefers-reduced-motion: reduce) {
    .particles-container {
        display: none !important;
    }
    
    .particle {
        animation: none !important;
    }
}

/* Melhorar animações de texto para mobile */
@media (max-width: 768px) {
    .animated-text .letter,
    .animated-subtitle .sub-letter {
        /* Manter animações mas otimizar para mobile */
        animation-duration: 0.6s; /* Mais rápido em mobile */
        animation-timing-function: ease-out;
    }
    
    /* Reduzir delays para mobile */
    .animated-text .letter:nth-child(1) { animation-delay: 0.05s; }
    .animated-text .letter:nth-child(2) { animation-delay: 0.1s; }
    .animated-text .letter:nth-child(3) { animation-delay: 0.15s; }
    .animated-text .letter:nth-child(4) { animation-delay: 0.2s; }
    .animated-text .letter:nth-child(5) { animation-delay: 0.25s; }
    .animated-text .letter:nth-child(7) { animation-delay: 0.35s; }
    .animated-text .letter:nth-child(8) { animation-delay: 0.4s; }
    .animated-text .letter:nth-child(9) { animation-delay: 0.45s; }
    .animated-text .letter:nth-child(10) { animation-delay: 0.5s; }
    .animated-text .letter:nth-child(11) { animation-delay: 0.55s; }
}

/* Melhorar performance geral */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    .hero-cta:hover,
    .service-card:hover,
    .step:hover {
        transform: none !important;
    }
    
    /* Melhorar scroll */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Melhorar acessibilidade geral */
@media (prefers-reduced-motion: reduce) {
    .hero-cta:hover,
    .service-card:hover,
    .step:hover,
    .nav-menu a:hover {
        transform: none !important;
    }
    
    .particle,
    .floating-element {
        animation: none !important;
    }
}

/* Melhorar impressão */
@media print {
    .nav-toggle,
    .scroll-indicator,
    .particles-container,
    .back-to-top,
    .loading-screen {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static !important;
        background: none !important;
        box-shadow: none !important;
        flex-direction: row !important;
        padding: 0 !important;
    }
    
    .nav-menu li {
        margin: 0 1rem 0 0;
    }
    
    .nav-menu a {
        color: black !important;
        text-decoration: underline;
        padding: 0.5rem !important;
    }
    
    .hero {
        background: none !important;
        color: black !important;
        padding: 2rem 0 !important;
    }
    
    .hero-title,
    .hero-subtitle {
        color: black !important;
    }
    
    .service-card,
    .step {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* REMOVIDO: Seção duplicada do menu mobile */

/* Melhorias para telas muito pequenas */
@media (max-width: 480px) {
    .nav-menu {
        padding: 1.5rem 1rem;
    }
    
    .nav-menu a {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .nav-toggle {
        width: 28px;
        height: 28px;
    }
    
    .nav-toggle span {
        width: 22px;
        height: 2px;
    }
}

/* Melhorias para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .nav-menu {
        transition: none;
    }
    
    .nav-menu.active {
        animation: none;
    }
    
    .nav-toggle span {
        transition: none;
    }
}

/* REMOVIDO: Segunda seção duplicada do menu mobile */
  }
  
  .nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  body.nav-open {
    overflow: hidden;
  }
  
  .nav-menu::-webkit-scrollbar {
    width: 4px;
  }
  
  .nav-menu::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .nav-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
  }
}

/* Remover duplicatas problemáticas do menu mobile */
/* (As duplicatas serão sobrescritas por esta regra mais específica) */

/* ==================== MELHORIAS DE RESPONSIVIDADE ==================== */

/* Melhorar responsividade do formulário em mobile */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Evitar zoom em iOS */
        padding: 1rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Melhorar responsividade dos cards */
    .service-card {
        margin-bottom: 1rem;
    }
    
    .about-photo img,
    .tcc-img {
        max-width: 100%;
        height: auto;
    }
    
    .about-text p,
    .tcc-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .about,
    .services,
    .treatment,
    .tcc,
    .faq,
    .contact {
        padding: 2rem 0;
    }
    
    /* Melhorar responsividade do FAQ */
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
    
    /* Melhorar botão back to top */
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }
    
    /* Melhorar responsividade do header */
    .header {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0.5rem 15px;
    }
    
    /* Melhorar responsividade do hero */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    /* Melhorar responsividade das seções */
    .container {
        padding: 0 15px;
    }
    
    /* Melhorar responsividade do footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Melhorias para telas muito pequenas */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .step {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .nav-menu {
        padding: 1.5rem 1rem;
    }
    
    .nav-menu a {
        padding: 1rem;
        font-size: 1.2rem;
    }
}

/* Melhorias para acessibilidade em mobile */
@media (max-width: 768px) {
    /* Melhorar foco em mobile */
    .nav-menu a:focus {
        background: var(--primary-color);
        color: white;
        transform: scale(1.05);
    }
    
    /* Melhorar toque em mobile */
    .nav-menu a {
        -webkit-tap-highlight-color: transparent;
        min-height: 44px; /* Tamanho mínimo para toque */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Melhorar performance em mobile */
    .particle {
        will-change: transform;
    }
    
    /* Melhorar scroll em mobile */
    .nav-menu {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}

/* Melhorias para dispositivos com tela de alta densidade */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Melhorias para orientação landscape em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
    }
    
    .nav-menu {
        padding: 1rem;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-menu a {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* REMOVIDO: Terceira seção duplicada do menu mobile */

/* Melhorias para telas muito pequenas */
@media (max-width: 480px) {
    .nav-menu {
        padding: 1.5rem 1rem;
    }
    
    .nav-menu a {
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
    }
    
    .nav-toggle {
        width: 28px;
        height: 28px;
    }
    
    .nav-toggle span {
        width: 22px;
        height: 2px;
    }
}

/* Melhorias para orientação landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-menu {
        padding: 1rem;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-menu a {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* Acessibilidade para movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .nav-menu {
        transition: none;
    }
    
    .nav-menu.active {
        animation: none;
    }
    
    .nav-toggle span {
        transition: none;
    }
    
    .nav-menu li {
        transition: none;
    }
    
    .nav-menu a {
        transition: none;
    }
}

/* ==================== NAVEGAÇÃO MOBILE CORRIGIDA ==================== */

/* Toggle do menu hambúrguer - Desktop (escondido) */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Menu mobile - Desktop (escondido) */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

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

.nav-menu a:hover::after {
    transform: translateX(100%);
}

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


}

/* ==================== ACESSIBILIDADE - MOVIMENTO REDUZIDO ==================== */
@media (prefers-reduced-motion: reduce) {
    .nav-menu {
        transition: none !important;
    }
    
    .nav-menu.active {
        animation: none !important;
    }
    
    .nav-toggle span {
        transition: none !important;
    }
    
    .nav-menu li {
        transition: none !important;
    }
    
    .nav-menu a {
        transition: none !important;
    }
}

/* ==================== MENU MOBILE COMPLETAMENTE RECRIADO ==================== */

/* Esconder toggle em desktop */
.nav-toggle {
    display: none;
}

/* Menu desktop */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::before {
    left: 100%;
}

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

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ==================== MOBILE (768px e menor) ==================== */
/* ==================== MENU MOBILE CONSOLIDADO ==================== */
@media (max-width: 768px) {
    /* Esconder menu desktop */
    .nav-menu {
        display: none;
    }
    
    /* Mostrar toggle */
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 10000;
        background: none;
        border: none;
        padding: 0;
        position: relative;
    }
    
    /* Estilo das barras do hambúrguer */
    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
        display: block;
    }
    
    /* Animação do hambúrguer para X */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Menu mobile overlay */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        padding: 2rem;
        box-sizing: border-box;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0;
        border: none;
        outline: none;
    }
    
    /* Menu ativo */
    .nav-menu.active {
        left: 0;
        display: flex;
    }
    
    /* Itens do menu */
    .nav-menu li {
        margin: 1.5rem 0;
        width: 100%;
        text-align: center;
        list-style: none;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Delays escalonados para animação */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.6s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.7s; }
    
    /* Links do menu */
    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem 2rem;
        font-size: 1.5rem;
        border-radius: var(--border-radius);
        transition: all 0.3s ease;
        text-decoration: none;
        color: var(--text-color);
        font-weight: 500;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }
    
    /* Efeito hover nos links */
    .nav-menu a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-menu a:hover::before {
        left: 100%;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }
    
    /* Prevenir scroll quando menu está aberto */
    body.nav-open {
        overflow: hidden;
    }
    
    /* Garantir que o header não interfira com o menu mobile */
    .header {
        z-index: 100;
    }
    
    /* Garantir que o nav-container não interfira */
    .nav-container {
        z-index: 100;
    }
    
    /* Menu Mobile Separado - SOLUÇÃO LIMPA */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 350px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(147, 197, 253, 0.85) 0%, rgba(191, 219, 254, 0.8) 100%),
                    url('./assets/image/fundo1.png') center/cover no-repeat;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 
            -10px 0 30px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-menu-overlay.active .mobile-menu {
        right: 0;
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .mobile-logo img {
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
    }
    
    .mobile-logo span {
        font-weight: 600;
        color: #ffffff;
        font-size: 1.1rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-menu-close {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: background-color 0.3s ease;
        position: relative;
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-close:hover {
        background-color: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .mobile-menu-close span {
        display: block;
        width: 20px;
        height: 2px;
        background-color: #ffffff;
        position: absolute;
        top: 50%;
        left: 50%;
        transition: all 0.3s ease;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-menu-close span:first-child {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    
    .mobile-menu-close span:last-child {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    
    .mobile-nav {
        padding: 2rem 1.5rem;
    }
    
    .mobile-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .mobile-nav li {
        margin-bottom: 1rem;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active .mobile-nav li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .mobile-nav li:nth-child(1) { transition-delay: 0.1s; }
    .mobile-nav li:nth-child(2) { transition-delay: 0.2s; }
    .mobile-nav li:nth-child(3) { transition-delay: 0.3s; }
    .mobile-nav li:nth-child(4) { transition-delay: 0.4s; }
    .mobile-nav li:nth-child(5) { transition-delay: 0.5s; }
    .mobile-nav li:nth-child(6) { transition-delay: 0.6s; }
    .mobile-nav li:nth-child(7) { transition-delay: 0.7s; }
    
    .mobile-nav a {
        display: flex;
        align-items: center;
        padding: 1rem 1.5rem;
        color: #ffffff;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
        border-radius: var(--border-radius);
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-nav a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .mobile-nav a:hover::before {
        left: 100%;
    }
    
    .mobile-nav a:hover {
        background: linear-gradient(135deg, rgba(29, 78, 216, 0.8), rgba(59, 130, 246, 0.7));
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 
            0 8px 25px rgba(29, 78, 216, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        border-color: rgba(59, 130, 246, 0.6);
    }
    
    .mobile-nav a:active {
        background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(37, 99, 235, 0.8));
        transform: translateY(0);
        box-shadow: 
            0 4px 15px rgba(30, 64, 175, 0.4),
            inset 0 2px 4px rgba(0, 0, 0, 0.1);
        border-color: rgba(37, 99, 235, 0.8);
    }
    

    

    
    /* Scrollbar personalizada */
    .nav-menu::-webkit-scrollbar {
        width: 4px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
}

/* ==================== TELAS MUITO PEQUENAS (480px e menor) ==================== */
@media (max-width: 480px) {
    .nav-menu {
        padding: 1.5rem 1rem !important;
    }
    
    .nav-menu a {
        padding: 1rem 1.5rem !important;
        font-size: 1.2rem !important;
    }
    
    .nav-toggle {
        width: 28px;
        height: 28px;
    }
    
    .nav-toggle span {
        width: 22px;
        height: 2px;
    }
}

/* ==================== ORIENTAÇÃO LANDSCAPE ==================== */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-menu {
        padding: 1rem !important;
    }
    
    .nav-menu li {
        margin: 0.5rem 0 !important;
    }
    
    .nav-menu a {
        padding: 0.8rem 1.5rem !important;
        font-size: 1.1rem !important;
    }
}

/* ==================== ACESSIBILIDADE ==================== */
@media (prefers-reduced-motion: reduce) {
    .nav-menu {
        transition: none !important;
    }
    
    .nav-menu.active {
        transition: none !important;
    }
    
    .nav-toggle span {
        transition: none !important;
    }
    
    .nav-menu li {
        transition: none !important;
    }
    
    .nav-menu a {
        transition: none !important;
    }
}

/* ==================== IMPRESSÃO ==================== */
@media print {
    .nav-toggle,
    .nav-menu {
        display: none !important;
    }
}