/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevenir overflow horizontal global */
html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

:root {
    --primary-color: #1d4ed8;
    --secondary-color: #1e40af;
    --accent-color: #2563eb;
    --text-dark: #111827;
    --text-light: #4b5563;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --border-color: #d1d5db;
    --success-color: #16a34a;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Dark Mode Variables */
body.dark-mode {
    --primary-color: #60a5fa;
    --secondary-color: #3b82f6;
    --accent-color: #93c5fd;
    --text-dark: #f9fafb;
    --text-light: #e5e7eb;
    --bg-light: #1f2937;
    --bg-white: #111827;
    --border-color: #374151;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
    /* Variável CSS para altura real da viewport (sem barra de endereço) */
    --vh: 1vh;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Garantir que todos os elementos respeitem a largura da tela */
* {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--text-dark);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* ===== DARK MODE TOGGLE ===== */
.dark-mode-toggle {
    position: fixed;
    bottom: 160px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--text-dark);
    color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    transform: translateY(-5px) rotate(20deg);
    box-shadow: var(--shadow-lg);
}

body.dark-mode .dark-mode-toggle {
    background-color: #fbbf24;
    color: #1f2937;
    border-color: #fbbf24;
}

/* ===== HEADER ===== */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 998;
    transition: all 0.3s;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1rem;
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
}

.lang-current:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
}

.lang-current img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-current i {
    margin-left: auto;
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.lang-current.active i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0.7rem 1rem;
    border: none;
    background-color: transparent;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.lang-option:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.lang-option.active {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

body.dark-mode .lang-option.active {
    background-color: rgba(59, 130, 246, 0.2);
}

.lang-option img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s;
    mix-blend-mode: multiply;
    filter: contrast(1.2);
}

/* Modo escuro - inverter para o logo aparecer branco */
body.dark-mode .logo-img {
    mix-blend-mode: screen;
    filter: invert(1) contrast(1.2);
}

.logo:hover .logo-img {
    transform: scale(1.1);
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

/* Modo escuro - texto branco */
body.dark-mode .logo h1 {
    color: #ffffff;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-whatsapp-header {
    background-color: var(--success-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-whatsapp-header:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: #1e40af;
    color: white;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1e40af;
}

/* Slideshow de imagens */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1e40af;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
    will-change: opacity;
    z-index: 1;
}

.hero-slideshow .slide.active {
    opacity: 1 !important;
    z-index: 2;
}

/* Fallback: garantir que o primeiro slide apareça mesmo sem JS */
.hero-slideshow .slide:first-child {
    opacity: 1 !important;
    z-index: 2;
}

/* Overlay escuro sobre as imagens para melhor legibilidade do texto */
.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.5) 0%, rgba(30, 64, 175, 0.5) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Efeito Ken Burns (zoom suave) - desabilitado em mobile */
@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (min-width: 969px) {
    .hero-slideshow .slide {
        animation: kenburns 20s ease-in-out infinite;
    }
}

/* Overlay escuro sobre as imagens */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.7) 0%, rgba(30, 64, 175, 0.7) 100%);
    z-index: 1;
}

/* Canvas para efeito tecnológico */
#techCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: 2;
}

/* Grade tecnológica animada */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
    z-index: 4;
    pointer-events: none;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Linhas tecnológicas decorativas */
.tech-grid::before,
.tech-grid::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.tech-grid::before {
    top: 20%;
    left: 0;
    width: 100%;
    height: 2px;
    animation: scan-line 3s ease-in-out infinite;
}

.tech-grid::after {
    top: 0;
    left: 30%;
    width: 2px;
    height: 100%;
    animation: scan-line-vertical 4s ease-in-out infinite;
}

@keyframes scan-line {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(400px);
    }
}

@keyframes scan-line-vertical {
    0%, 100% {
        transform: translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(400px);
    }
}

/* Cantos tecnológicos */
.tech-corner {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    animation: pulse-corner 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    z-index: 4;
    pointer-events: none;
}

.tech-corner::before,
.tech-corner::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.corner-tl {
    top: 30px;
    left: 30px;
    border-right: none;
    border-bottom: none;
}

.corner-tl::before {
    top: -3px;
    left: -3px;
    width: 25px;
    height: 3px;
}

.corner-tl::after {
    top: -3px;
    left: -3px;
    width: 3px;
    height: 25px;
}

.corner-tr {
    top: 30px;
    right: 30px;
    border-left: none;
    border-bottom: none;
    animation-delay: 0.5s;
}

.corner-tr::before {
    top: -3px;
    right: -3px;
    width: 25px;
    height: 3px;
}

.corner-tr::after {
    top: -3px;
    right: -3px;
    width: 3px;
    height: 25px;
}

.corner-bl {
    bottom: 30px;
    left: 30px;
    border-right: none;
    border-top: none;
    animation-delay: 1s;
}

.corner-bl::before {
    bottom: -3px;
    left: -3px;
    width: 25px;
    height: 3px;
}

.corner-bl::after {
    bottom: -3px;
    left: -3px;
    width: 3px;
    height: 25px;
}

.corner-br {
    bottom: 30px;
    right: 30px;
    border-left: none;
    border-top: none;
    animation-delay: 1.5s;
}

.corner-br::before {
    bottom: -3px;
    right: -3px;
    width: 25px;
    height: 3px;
}

.corner-br::after {
    bottom: -3px;
    right: -3px;
    width: 3px;
    height: 25px;
}

@keyframes pulse-corner {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* Ondas de energia */
.energy-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    will-change: transform;
    z-index: 2;
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    margin-left: -150px;
    margin-top: -150px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: wave-pulse 4s ease-out infinite;
    will-change: transform, opacity;
}

.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 1.3s;
}

.wave-3 {
    animation-delay: 2.6s;
}

@keyframes wave-pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
        border-width: 3px;
    }
    100% {
        transform: scale(3);
        opacity: 0;
        border-width: 0px;
    }
}

/* Partículas flutuantes */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 4;
    pointer-events: none;
}

.floating-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                0 0 20px rgba(255, 255, 255, 0.5),
                0 0 30px rgba(255, 255, 255, 0.3);
    animation: float-particle 15s infinite ease-in-out;
    will-change: transform, opacity;
}

.floating-particles span:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.floating-particles span:nth-child(2) {
    left: 20%;
    top: 80%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.floating-particles span:nth-child(3) {
    left: 30%;
    top: 40%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.floating-particles span:nth-child(4) {
    left: 40%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 13s;
}

.floating-particles span:nth-child(5) {
    left: 50%;
    top: 30%;
    animation-delay: 3s;
    animation-duration: 15s;
}

.floating-particles span:nth-child(6) {
    left: 60%;
    top: 70%;
    animation-delay: 5s;
    animation-duration: 17s;
}

.floating-particles span:nth-child(7) {
    left: 70%;
    top: 50%;
    animation-delay: 2.5s;
    animation-duration: 14s;
}

.floating-particles span:nth-child(8) {
    left: 80%;
    top: 25%;
    animation-delay: 4.5s;
    animation-duration: 16s;
}

.floating-particles span:nth-child(9) {
    left: 90%;
    top: 65%;
    animation-delay: 1.5s;
    animation-duration: 13s;
}

.floating-particles span:nth-child(10) {
    left: 15%;
    top: 55%;
    animation-delay: 3.5s;
    animation-duration: 15s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translate(50px, -100px) scale(1.5);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(100px, -200px) scale(0.5);
        opacity: 0;
    }
}

.hero .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.hero-content * {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 0;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Promoção Banner */
.promo-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    animation: pulse-promo 3s ease-in-out infinite;
    box-sizing: border-box;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine-promo 3s infinite;
}

@keyframes pulse-promo {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    }
}

@keyframes shine-promo {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.promo-icon {
    font-size: 3rem;
    color: #fbbf24;
    animation: bounce-gift 2s ease-in-out infinite;
}

@keyframes bounce-gift {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.promo-content {
    flex: 1;
    text-align: left;
}

.promo-tag {
    display: inline-block;
    background-color: #ef4444;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.promo-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.promo-content p {
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
    opacity: 0.9;
}

.promo-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fbbf24;
    font-size: 0.9rem;
    font-weight: 600;
    animation: blink-timer 2s ease-in-out infinite;
}

@keyframes blink-timer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.promo-btn {
    background-color: #25d366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.promo-btn:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--success-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background-color: #20ba5a;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-shine {
    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;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }
.fade-in.delay-3 { animation-delay: 0.6s; }
.fade-in.delay-4 { animation-delay: 0.8s; }
.fade-in.delay-5 { animation-delay: 1s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-tag.light {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.reveal-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s;
}

.reveal-text.light {
    color: white;
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-divider.light {
    background: linear-gradient(90deg, white, rgba(255,255,255,0.5));
}

/* ===== SOBRE SECTION ===== */
.sobre {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-content p {
    font-size: 1.05rem;
    color: #374151;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    text-align: justify;
    font-weight: 500;
}

.sobre-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.3rem;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    background-color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: float-card 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.floating-card.card-1 {
    top: 20px;
    right: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 80px;
    left: -20px;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 20px;
    right: 20px;
    animation-delay: 2s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.reveal-left,
.reveal-right,
.reveal-card {
    opacity: 0;
    transition: all 0.8s;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-card {
    transform: translateY(30px);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-card.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== SERVIÇOS SECTION ===== */
.servicos {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.servico-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.servico-card:hover::before {
    transform: scaleX(1);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background-color: white;
}

.servico-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.2rem;
    position: relative;
    transition: all 0.4s;
}

.servico-card:hover .servico-icon {
    transform: scale(1.1) rotate(5deg);
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0; }
}

.servico-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    transition: color 0.3s;
}

.servico-card:hover h3 {
    color: var(--primary-color);
}

.servico-card p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.servico-arrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.servico-card:hover .servico-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===== PROJETOS SECTION ===== */
.projetos {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.projetos-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.7;
    font-weight: 500;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.projeto-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s;
}

.projeto-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.projeto-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.projeto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.projeto-card:hover .projeto-img {
    transform: scale(1.1);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    transition: transform 0.4s;
}

.projeto-card:hover .placeholder-image {
    transform: scale(1.1);
}

.projeto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.projeto-card:hover .projeto-overlay {
    opacity: 1;
}

.projeto-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 8px;
    transition: all 0.3s;
}

.projeto-link:hover {
    background-color: white;
    color: var(--primary-color);
}

.projeto-content {
    padding: 2rem;
}

.projeto-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.tag {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.projeto-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.projeto-content p {
    color: #374151;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== CONTATO SECTION ===== */
.contato {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contato-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contato-shape {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
}

.contato-shape.shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -200px;
}

.contato-shape.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -150px;
}

.contato-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
}

.contato-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contato-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s;
}

.info-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
    transition: all 0.3s;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(10deg);
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.info-card a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid white;
    transition: opacity 0.3s;
}

.info-card a:hover {
    opacity: 0.8;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    transition: color 0.3s;
}

.footer-logo-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: invert(1) contrast(1.2);
}

.footer-info i {
    color: var(--primary-color);
}

.footer-info p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-description {
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-cnpj {
    margin-top: 0.8rem;
    color: #9ca3af;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.btn-whatsapp-footer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--success-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.btn-whatsapp-footer:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
}

.footer-email {
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-dev {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.footer-dev i {
    color: #ef4444;
    animation: heartbeat 1.5s infinite;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-copyright i {
    color: #3b82f6;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 968px) {
    /* Garantir que nada ultrapasse a largura da tela */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .header .container {
        flex-wrap: wrap;
        padding: 0.8rem 15px;
    }

    /* Loading screen mobile - garantir centralização */
    .loading-screen {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .loader {
        width: 100%;
        max-width: 300px;
    }

    .loader-circle {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }

    .loader-text {
        font-size: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .nav {
        order: 4;
        width: 100%;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-md);
        border-radius: 8px;
        margin-top: 1rem;
    }

    .nav.active {
        max-height: 400px;
        padding: 1rem 0;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Esconder botão WhatsApp no header mobile */
    .btn-whatsapp-header {
        display: none;
    }

    /* Language selector mobile */
    .language-selector {
        order: 2;
    }

    .lang-current {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        min-width: 100px;
    }

    .lang-current img {
        width: 18px;
        height: 13px;
    }

    .lang-dropdown {
        right: 0;
        left: auto;
    }

    /* Hero mobile otimizado - SEM BARRA INFERIOR */
    .hero {
        padding: 0 !important;
        margin: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        min-height: 100vh !important;
        display: flex;
        align-items: center;
        overflow: hidden !important;
        width: 100%;
    }
    
    .hero-background {
        height: 100% !important;
        width: 100%;
    }
    
    .hero .container {
        padding: 1rem 15px;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    /* Slideshow suave em mobile */
    .hero-slideshow {
        width: 100%;
        height: 100%;
    }

    .hero-slideshow .slide {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
        transition: opacity 2s ease-in-out;
        animation: none;
        width: 100%;
        height: 100%;
    }
    
    .hero-slideshow .slide.active {
        opacity: 1;
        z-index: 1;
    }
    
    /* Overlay em mobile - mesma opacidade que desktop */
    .hero-slideshow::after {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.5) 0%, rgba(30, 64, 175, 0.5) 100%);
    }

    .hero h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        word-wrap: break-word;
        max-width: 100%;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        word-wrap: break-word;
    }

    /* Promoção mobile */
    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
        margin: 1.5rem 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .promo-content {
        text-align: center;
        max-width: 100%;
    }

    .promo-content h3 {
        font-size: 1.1rem;
        word-wrap: break-word;
    }

    .promo-content p {
        font-size: 0.9rem;
        word-wrap: break-word;
    }

    .promo-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        box-sizing: border-box;
    }

    .promo-icon {
        font-size: 2.5rem;
    }

    /* Stats mobile */
    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
        margin-top: 2rem;
        margin-bottom: 0;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .stat-item {
        flex: 1;
        min-width: 80px;
        max-width: 120px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
        word-wrap: break-word;
    }

    /* Seções mobile */
    .sobre,
    .servicos,
    .projetos,
    .contato {
        padding: 4rem 0;
        width: 100%;
        overflow-x: hidden;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }

    .image-wrapper {
        height: 250px;
        width: 100%;
    }

    .floating-card {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    /* Serviços mobile - 1 coluna */
    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .servico-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .servico-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    /* Projetos mobile - 1 coluna */
    .projetos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }

    .projeto-card {
        width: 100%;
        box-sizing: border-box;
    }

    .projeto-image {
        height: 200px;
        width: 100%;
    }

    /* Contato mobile */
    .contato-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .info-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    /* Footer mobile */
    .footer {
        width: 100%;
        overflow-x: hidden;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        width: 100%;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    /* Botões flutuantes mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .scroll-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .dark-mode-toggle {
        bottom: 150px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    /* Seção headers mobile */
    .section-header h2,
    .reveal-text {
        font-size: 1.8rem;
    }

    .section-tag {
        font-size: 0.85rem;
        padding: 0.4rem 1.2rem;
    }
}

@media (max-width: 480px) {
    /* Hero extra small - FORÇAR altura exata */
    .hero {
        padding: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        min-height: 100vh !important;
        width: 100vw !important;
    }
    
    .hero .container {
        padding: 1rem 10px !important;
        width: 100%;
    }
    
    .hero-content {
        padding: 0 !important;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-stats {
        margin-bottom: 0 !important;
        padding: 0 !important;
    }

    .hero h2 {
        font-size: 1.5rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero p {
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .stat-item {
        min-width: 70px;
        max-width: 100px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Seção headers extra small */
    .section-header h2,
    .reveal-text {
        font-size: 1.6rem;
    }

    /* Botões mobile */
    .btn-primary {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    /* Cards mobile */
    .servico-card,
    .projeto-card {
        padding: 1.2rem;
    }

    /* Language selector extra small */
    .lang-current {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
        min-width: 90px;
    }

    .lang-current img {
        width: 16px;
        height: 12px;
    }

    .lang-option {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .lang-option img {
        width: 18px;
        height: 13px;
    }

    /* Promoção extra small */
    .promo-banner {
        padding: 1rem;
    }

    .promo-icon {
        font-size: 2rem;
    }

    .promo-content h3 {
        font-size: 1rem;
    }

    .promo-content p {
        font-size: 0.85rem;
    }

    .promo-timer {
        font-size: 0.8rem;
    }

    /* Footer extra small */
    .footer-info h3 {
        font-size: 1.3rem;
    }

    .footer-logo-img {
        width: 28px;
        height: 28px;
    }
}

/* ===== MELHORIAS ADICIONAIS ===== */

/* Prevenir overflow horizontal em todos os elementos */
section,
div,
header,
footer,
nav {
    max-width: 100%;
    overflow-x: hidden;
}

/* Garantir que textos longos quebrem corretamente */
h1, h2, h3, h4, h5, h6, p, span, a, li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Smooth transitions globais */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Seleção de texto personalizada */
::selection {
    background-color: var(--primary-color);
    color: white;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: white;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Focus states para acessibilidade */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Prevenção de FOUC (Flash of Unstyled Content) */
html {
    visibility: visible;
    opacity: 1;
}

/* Print styles */
@media print {
    .header,
    .whatsapp-float,
    .scroll-top,
    .loading-screen {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
}

/* Acessibilidade - Modo de alto contraste */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --text-dark: #000000;
        --text-light: #333333;
    }
}

/* Preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support (opcional) */
@media (prefers-color-scheme: dark) {
    /* Descomente para ativar dark mode automático
    :root {
        --text-dark: #f9fafb;
        --text-light: #d1d5db;
        --bg-light: #1f2937;
        --bg-white: #111827;
    }
    */
}

/* Otimização de performance */
.servico-card,
.projeto-card,
.info-card {
    will-change: transform;
}

/* Garantir que imagens não quebrem o layout */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Links sem sublinhado por padrão */
a {
    text-decoration: none;
}

/* Botões com cursor pointer */
button,
.btn-primary,
.btn-whatsapp-header,
.btn-whatsapp-footer {
    cursor: pointer;
}

/* Garantir que o site ocupe toda a altura */
html,
body {
    min-height: 100vh;
}

/* Animação de entrada suave */
body {
    animation: fadeInBody 0.5s ease-in;
}

@keyframes fadeInBody {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
