/**
 * SISTEMA DE CORES
 * 
 * O site utiliza um sistema de cores consistente definido por variáveis CSS.
 * Isso facilita a manutenção e garante consistência visual em todo o site.
 */
:root {
    /* Cores principais da DSeven */
    --black: #000000;
    --dark-gray: #333333;
    --metallic-gray: #8A8A8A;
    --light-metallic: #C0C0C0;
    --dark-orange: #E65C2C;
    --medium-orange: #F28C28;
    --burnt-yellow: #F4B042;
    
    /* Cores complementares */
    --petrol-blue: #1E3A5F;
    --emerald-green: #2E8B57;
    --ice-white: #FAFAFA;
    --dark-blue: #121921;
    --darker-blue: #0F1C2F;
    --darkest-blue: #080E17;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    
    /* Cores especiais para seção de contato */
    --deep-purple: #1A1035;
    --royal-purple: #2D1B4E;
    --dark-purple: #120A24;
    
    /* Cores especiais para o rodapé */
    --footer-dark: #151515;
    --footer-darker: #0D0D0D;
    --footer-border: rgba(255, 255, 255, 0.05);
    
    /* Variáveis para altura do header em diferentes estados */
    --header-height: 90px;
    --header-height-scrolled: 70px;
    --header-height-tablet: 80px; /* Altura do header em tablets */
    --header-height-mobile: 70px; /* Altura do header em dispositivos móveis */
    
    /* Variáveis para posicionamento vertical do texto */
    --text-padding-top-desktop: 20px;
    --text-padding-top-tablet: 55px;
    --text-padding-top-mobile: 55px;
    
    /* Variáveis para margens laterais e largura máxima do conteúdo */
    --side-margin: 20px;
    --max-content-width: 1280px;
    
    /* Variáveis para tamanho dos textos */
    --subtitle-size: 1.2rem;
    --title-size: 3.5rem;
    --description-size: 1.1rem;
    --button-text-size: 1rem;
    --nav-link-size: 0.95rem;
    
    /* Variáveis para tamanho da logo */
    --logo-height: 60px;
    --logo-height-scrolled: 45px;
    
    /* Variáveis para tamanho da imagem */
    --hero-image-width: 500px;
    
    /* Variáveis para espaçamento */
    --nav-links-gap: 30px;
    --hero-content-gap: 50px;
    --hero-buttons-gap: 20px;
    
    /* Variáveis para tamanho dos botões */
    --nav-button-padding: 10px 20px;
    --hero-button-padding: 15px 20px 15px 15px;
    
    /* Cores da seção Sobre Nós */
    --primary: #E65C2C;
    --secondary: #F28C28;
    --accent: #F4B042;
    --gray-medium: #8A8A8A;
}

/**
 * ESTILOS GERAIS
 * 
 * Reset básico e configurações gerais aplicadas a todo o site.
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Habilita rolagem suave para navegação por âncoras */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/**
 * PRELOADER
 * 
 * Tela de carregamento inicial com animações e barra de progresso.
 * É ocultada após o carregamento completo da página.
 */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.preloader-content {
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader-logo {
    width: 280px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: logoEntrance 1.8s ease-out forwards;
    filter: drop-shadow(0 10px 30px rgba(230, 92, 44, 0.3));
    animation-fill-mode: forwards;
}

@keyframes logoEntrance {
    0% { 
        opacity: 0; 
        transform: translateY(30px) scale(0.9);
        filter: drop-shadow(0 10px 30px rgba(230, 92, 44, 0.3));
    }
    70% { 
        opacity: 1; 
        transform: translateY(-3px) scale(1.01);
        filter: drop-shadow(0 12px 35px rgba(230, 92, 44, 0.4));
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 10px 30px rgba(230, 92, 44, 0.3));
    }
}

/* Animação sutil de "breathing" após a entrada */
.preloader-logo.entered {
    animation: logoBreathing 4s ease-in-out infinite;
    opacity: 1 !important; /* Garante que permaneça visível */
}

@keyframes logoBreathing {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 10px 30px rgba(230, 92, 44, 0.3));
        opacity: 1;
    }
    50% { 
        transform: scale(1.01);
        filter: drop-shadow(0 12px 35px rgba(230, 92, 44, 0.4));
        opacity: 1;
    }
}

.preloader-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.4s ease-out forwards 0.6s;
}

.preloader-message span {
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Barra de progresso centralizada */
.preloader-bar-container {
    width: 300px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    opacity: 1;
    transform: translateY(0);
}

/* Indicador de carregamento em background */
.preloader-bar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(230, 92, 44, 0.15) 25%, 
        rgba(255, 107, 53, 0.3) 50%, 
        rgba(230, 92, 44, 0.15) 75%, 
        transparent 100%);
    animation: techPulse 3s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes techPulse {
    0%, 100% { 
        transform: translateX(-100%) scaleX(0.5);
        opacity: 0.3;
    }
    50% { 
        transform: translateX(100%) scaleX(1);
        opacity: 0.8;
    }
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, 
        var(--dark-orange) 0%, 
        var(--burnt-yellow) 25%, 
        #ff6b35 50%, 
        var(--burnt-yellow) 75%, 
        var(--dark-orange) 100%);
    background-size: 200% 100%;
    border-radius: 2px;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px rgba(230, 92, 44, 0.6);
    will-change: width;
    position: relative;
    overflow: hidden;
    animation: waveGradient 2s ease-in-out infinite;
}

@keyframes waveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Efeito de data streaming */
.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 25%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0.4) 75%, 
        transparent 100%);
    animation: dataStream 1.5s ease-in-out infinite;
}

@keyframes dataStream {
    0% { 
        left: -100%; 
        opacity: 0;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        left: 100%; 
        opacity: 0;
    }
}

/**
 * HEADER E NAVEGAÇÃO
 * 
 * Cabeçalho fixo com navegação responsiva.
 * Inclui logo, links de navegação e botão de contato.
 * O header muda de aparência ao rolar a página (transparente -> branco).
 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    background-color: transparent;
    transition: all 0.4s ease;
    z-index: 100;
    height: var(--header-height); /* Definindo altura explícita */
}

/* Classe aplicada ao header quando a página é rolada */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    height: var(--header-height-scrolled);
}

.container {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 var(--side-margin);
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: var(--logo-height);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Efeito de clique na logo da barra fixa */
.logo {
    transition: transform 0.1s ease;
}

.logo:active {
    transform: scale(0.95);
}

/* Logo muda para preto quando o header tem fundo branco */
.header.scrolled .logo img {
    height: var(--logo-height-scrolled);
    filter: brightness(0);
}

.header.scrolled .logo:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* Links de navegação */
.nav-links {
    display: flex;
    list-style: none;
    gap: var(--nav-links-gap);
    white-space: nowrap;
    flex-wrap: nowrap;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--nav-link-size);
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    white-space: nowrap;
}

.header.scrolled .nav-link {
    color: var(--dark-gray);
}

/* Efeito de sublinhado nos links */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--burnt-yellow);
    transform: translateY(-3px) scale(1.1) rotateX(-5deg);
    text-shadow: 0 5px 15px rgba(244, 176, 66, 0.3);
    font-size: calc(var(--nav-link-size) * 1.15);
}

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

/**
 * BOTÃO DE CONTATO (WHATSAPP)
 * 
 * Botão de contato que direciona para o WhatsApp.
 * Presente tanto na versão desktop quanto na versão mobile.
 */
.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    color: var(--white);
    padding: var(--nav-button-padding);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: var(--nav-link-size);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(230, 92, 44, 0.3);
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 92, 44, 0.4);
}

/* Efeito de clique no botão Fale Conosco */
.nav-button {
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.nav-button:active {
    transform: scale(0.95);
    box-shadow: 0 3px 10px rgba(230, 92, 44, 0.3);
}

/**
 * BOTÃO FIXO DO WHATSAPP
 * 
 * Botão flutuante no canto esquerdo para facilitar o contato via WhatsApp.
 * Sempre visível e com animações suaves.
 */
.whatsapp-fixed-button {
    position: fixed;
    right: 30px;
    bottom: 30px; /* Posição inicial igual ao botão back-to-top */
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsapp-pulse 2s infinite;
}

/* Posição quando o botão back-to-top está visível */
.whatsapp-fixed-button.above-back-to-top {
    bottom: 90px; /* Posicionado acima do botão back-to-top (30px + 50px + 10px de espaçamento) */
}

.whatsapp-fixed-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.whatsapp-fixed-button:active {
    transform: scale(0.95);
}

.whatsapp-tooltip {
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-gray);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--dark-gray);
}

.whatsapp-fixed-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(5px);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/**
 * VLIBRAS - INTÉRPRETE DE LIBRAS
 * 
 * Controle de visibilidade do VLibras para aparecer apenas após o preloader.
 */
[vw] {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

[vw].vlibras-ready {
    opacity: 1;
    visibility: visible;
}

/**
 * MENU HAMBURGER
 * 
 * Botão de menu para dispositivos móveis.
 * Controla a exibição do menu de navegação em telas pequenas.
 */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .hamburger span {
    background-color: var(--dark-gray);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

/* Estilo para o botão hamburger quando ativo (menu aberto) */
.hamburger.active span {
    background-color: var(--dark-orange); /* Cor laranja quando menu está aberto */
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/**
 * HERO SECTION
 * 
 * Seção principal da página com imagem de fundo, texto e botões de ação.
 * Inclui animações de entrada para os elementos.
 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--darker-blue) 50%, var(--darkest-blue) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: var(--header-height); /* Adicionando padding-top para compensar o header fixo */
    box-sizing: border-box; /* Garantindo que o padding não aumente a altura total */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(18, 25, 33, 0.4) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    z-index: 2;
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 25, 33, 0.7), rgba(15, 28, 47, 0.8), rgba(8, 14, 23, 0.6));
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 var(--side-margin);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--hero-content-gap);
    height: calc(100vh - var(--header-height)); /* Ajustando a altura para considerar o header */
}

.hero-text {
    flex: 1;
    max-width: 600px;
    padding-top: var(--text-padding-top-desktop); /* Variável para ajustar posição vertical */
}

.hero-subtitle,
.hero-title,
.hero-description,
.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.hero-image {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--subtitle-size);
    font-weight: 500;
    color: var(--burnt-yellow);
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--title-size);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 30px;
}

.hero-title span {
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-description {
    font-size: var(--description-size);
    color: var(--light-metallic);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: var(--hero-buttons-gap);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    color: var(--white);
    padding: var(--hero-button-padding);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: var(--button-text-size);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(230, 92, 44, 0.3);
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho no botão */
.hero-btn::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.7s ease;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(230, 92, 44, 0.4);
}

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

.hero-btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Efeito próprio de clique nos botões hero */
.hero-btn:active {
    transform: scale(0.95);
}

.hero-btn-tertiary {
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
}

.hero-btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Container da imagem para melhor controle de dimensões */
.hero-image-container {
    flex: 1;
    max-width: var(--hero-image-width);
    position: relative;
    height: auto;
    max-height: calc(100vh - var(--header-height) - 80px); /* Altura máxima considerando header e margens */
    display: flex;
    align-items: center;
    justify-content: center;
}


/* MODIFICADO: Estrutura da imagem para manter proporção original */
.hero-image {
    position: relative;
    width: 100%;
    /* Proporção da imagem original (9:14) */
    aspect-ratio: 9/14;
}

.hero-image {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

/* Linha laranja removida, mantendo apenas o fundo decorativo */
.hero-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 70%;
    height: 70%;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    opacity: 0.2;
    border-radius: 10px;
    z-index: -1;
    pointer-events: none; /* Garante que não interfira com interações */
    transition: opacity 0.3s ease;
}

/* Indicador de rolagem */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

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

/* Estilo para o botão no menu mobile */
.nav-link-button {
    display: none; /* Inicialmente oculto */
}
/* ESTILOS DA SEÇÃO SOBRE NÓS */
.about-section {
    width: 100%;
    display: flex;
    position: relative;
}

.about-left {
    width: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230,92,44,0.6) 0%, rgba(242,140,40,0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 13%;
    color: var(--white);
}

.about-logo {
    margin-bottom: 30px;
}

.about-logo img {
    height: 50px;
}

.about-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-brief {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
    font-weight: bold;
}

.about-right {
    width: 50%;
    padding: 8% 8% 8% 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-heading {
    position: relative;
    margin-bottom: 40px;
}

.about-heading h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.about-heading p {
    font-size: 1.2rem;
    color: var(--gray-medium);
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.about-content {
    padding-right: 15px;
}

.about-text {
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.expertise-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.expertise-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.expertise-content p {
    font-size: 0.9rem;
    color: var(--gray-medium);
    line-height: 1.5;
}

.mission-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.mission-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3QgaWQ9InBhdHRlcm4tYmFja2dyb3VuZCIgd2lkdGg9IjQwMCUiIGhlaWdodD0iNDAwJSIgZmlsbD0icmdiYSgwLCAwLCAwLCAwKSI+PC9yZWN0PjxwYXRoIGZpbGw9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC4wNSkiIGQ9Ik0wIDBoNDB2NDBIMHoiPjwvcGF0aD48cGF0aCBmaWxsPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMDMpIiBkPSJNMCAwaDIwdjIwSDB6Ij48L3BhdGg+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCBmaWxsPSJ1cmwoI3BhdHRlcm4pIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIj48L3JlY3Q+PC9zdmc+');
    opacity: 0.1;
}

.mission-content {
    position: relative;
    z-index: 1;
}

.mission-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.highlight {
    color: var(--dark-blue);
    font-weight: 700;
}

/* ESTILOS DA SEÇÃO SERVIÇOS */
.services-section {
    padding: 100px 0;
    background-color: var(--ice-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

 .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--metallic-gray);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    /* Aspect ratio para formato quadrado */
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    /* Animação de entrada */
    opacity: 0;
    transform: translateY(50px) scale(0.9) rotateX(15deg);
    cursor: pointer;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.service-card.animate {
    animation: serviceCardEntrance 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes serviceCardEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9) rotateX(15deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02) rotateX(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.service-card:hover {
    transform: translateY(-25px) scale(1.15) rotateX(-10deg) rotateY(10deg);
    box-shadow: 0 35px 70px rgba(230, 92, 44, 0.3), 0 20px 50px rgba(244, 176, 66, 0.25);
    z-index: 10;
}

.service-card:active {
    transform: translateY(-8px) scale(1.02) rotateX(-2deg) rotateY(2deg);
    box-shadow: 0 15px 35px rgba(230, 92, 44, 0.25), 0 5px 20px rgba(244, 176, 66, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
    z-index: 2;
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 8px;
}

.service-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto 20px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 15px rgba(230, 92, 44, 0.3);
    transform-style: preserve-3d;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotateY(15deg) rotateZ(10deg);
    box-shadow: 0 15px 35px rgba(230, 92, 44, 0.4);
    animation: pulseIcon 2s ease-in-out infinite;
}

.service-card:hover .service-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    transform: scale(1.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-content {
    padding: 0 20px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
    text-align: center;
}

.service-description {
    color: var(--dark-gray);
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.service-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--dark-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: auto;
    padding: 12px 0;
    position: relative;
    overflow: hidden;
}

.service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 92, 44, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-link i {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.service-link:hover {
    color: var(--medium-orange);
    transform: translateY(-2px);
}

.service-link:hover::before {
    left: 100%;
}

.service-link:hover i {
    transform: translateX(8px) rotateY(15deg);
}

/* Ajuste específico: garantir que o botão "Saiba mais" do card de Sustentação fique visível dentro do card */
.service-card[data-service="sustentacao"] .service-content {
    padding-bottom: 25px;
    padding-top: 5px;
}

.service-card[data-service="sustentacao"] .service-description {
    -webkit-line-clamp: 3;
    margin-bottom: 8px;
    line-height: 1.4;
}

.service-card[data-service="sustentacao"] .service-link {
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 10px 0;
}

/* Ajuste do ícone do card de Sustentação - tamanho igual aos outros cards */
.service-card[data-service="sustentacao"] .service-icon-wrapper {
    margin: 30px auto 20px;
}

.service-card[data-service="sustentacao"] .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

/* Ajuste do título do card de Sustentação */
.service-card[data-service="sustentacao"] .service-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* Modal Popup - Serviços */
/* Modal base - aplica apenas para modais de serviços */
.modal:not(.project-modal) {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(30, 58, 95, 0.6));
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    perspective: 1000px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal:not(.project-modal)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(230, 92, 44, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal:not(.project-modal).show {
    opacity: 1;
    visibility: visible;
}

.modal:not(.project-modal).show::before {
    opacity: 1;
}

/* Modal content - aplica apenas para modais de serviços */
.modal-content:not(.project-modal-content) {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.95) 100%);
    width: 90%;
    max-width: 850px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(230, 92, 44, 0.1);
    transform: rotateX(-90deg);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    position: relative;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.modal-content:not(.project-modal-content)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
    transform: scaleX(0);
    transition: transform 0.8s ease 0.4s;
}

.modal:not(.project-modal).show .modal-content:not(.project-modal-content) {
    transform: rotateX(0);
    opacity: 1;
}

.modal:not(.project-modal).show .modal-content:not(.project-modal-content)::before {
    transform: scaleX(1);
}

.modal:not(.project-modal).show .modal-header {
    opacity: 1;
    transform: translateY(0);
}

/* Modal header - aplica apenas para modais de serviços */
.modal:not(.project-modal) .modal-header {
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    padding: 25px 30px;
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease 0.2s;
}

.modal-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.3rem;
    color: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-title {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Close button - aplica apenas para modais de serviços */
.modal:not(.project-modal) .modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.modal:not(.project-modal) .modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modal body - aplica apenas para modais de serviços */
.modal:not(.project-modal) .modal-body {
    padding: 40px;
    opacity: 0;
    transition: opacity 0.4s ease 0.3s;
    flex: 1;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}

/* Custom scrollbar for modal body - aplica apenas para modais de serviços */
.modal:not(.project-modal) .modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal:not(.project-modal) .modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.modal:not(.project-modal) .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    border-radius: 4px;
}

.modal:not(.project-modal) .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--burnt-yellow), var(--dark-orange));
}

.modal:not(.project-modal).show .modal-body {
    opacity: 1;
}

.modal-body p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--dark-gray);
}

.modal-body h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-orange);
    margin: 25px 0 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-body ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
    color: var(--dark-gray);
}

/* Cores específicas para modais de projetos */
.project-modal .modal-header {
    position: relative;
    background: transparent;
}

.project-modal .modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.project-modal .modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-modal .modal-body {
    padding: 40px;
    background: transparent;
}

.project-modal .modal-body p {
    color: var(--light-metallic) !important;
}

.project-modal .modal-body h4 {
    color: var(--burnt-yellow) !important;
}

.project-modal .modal-body li {
    color: var(--light-metallic) !important;
}

.project-modal .modal-text {
    color: var(--light-metallic) !important;
}

.project-modal .modal-section-title {
    color: var(--white) !important;
}

.project-modal .modal-feature-content h4 {
    color: var(--white) !important;
}

.project-modal .modal-feature-content p {
    color: var(--light-metallic) !important;
}

.project-modal .stat-label {
    color: var(--light-metallic) !important;
}

.project-modal .testimonial-quote {
    color: var(--white) !important;
}

.project-modal .testimonial-info h4 {
    color: var(--white) !important;
}

.project-modal .testimonial-info p {
    color: var(--light-metallic) !important;
}

.project-modal .tech-tag {
    color: var(--light-metallic) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Modal footer - aplica apenas para modais de serviços */
.modal:not(.project-modal) .modal-footer {
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(230, 92, 44, 0.05) 100%);
    padding: 25px 40px;
    text-align: right;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.5s;
    flex-shrink: 0;
}

.modal:not(.project-modal).show .modal-footer {
    opacity: 1;
    transform: translateY(0);
}

.modal-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(230, 92, 44, 0.2);
}

.modal-btn:hover {
    box-shadow: 0 6px 15px rgba(230, 92, 44, 0.3);
    transform: translateY(-3px);
}

.modal-btn:active {
    box-shadow: 0 3px 8px rgba(230, 92, 44, 0.3);
    transform: translateY(-1px);
}

/* ESTILOS DA SEÇÃO PROJETOS */
.projects-section {
    position: relative;
    padding: 120px 0;
    background-color: var(--dark-blue);
    overflow: hidden;
    color: var(--white);
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3QgaWQ9InBhdHRlcm4tYmFja2dyb3VuZCIgd2lkdGg9IjQwMCUiIGhlaWdodD0iNDAwJSIgZmlsbD0icmdiYSgwLCAwLCAwLCAwKSI+PC9yZWN0PjxwYXRoIGZpbGw9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC4wMikiIGQ9Ik0tMTAgLTEwaDYwdjYwSC0xMHoiPjwvcGF0aD48cGF0aCBmaWxsPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMDEpIiBkPSJNMTAgMTBoMjB2MjBIMTB6Ij48L3BhdGg+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCBmaWxsPSJ1cmwoI3BhdHRlcm4pIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIj48L3JlY3Q+PC9zdmc+');
    opacity: 1;
    z-index: 1;
}

.projects-section .container {
    position: relative;
    z-index: 2;
}

.projects-section .section-title {
    color: var(--white);
}

.projects-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

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

.projects-intro p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--light-metallic);
}

.projects-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.project-showcase {
    display: flex;
    align-items: center;
    gap: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.project-showcase.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-showcase:nth-child(even) {
    flex-direction: row-reverse;
}

.project-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-showcase:hover .project-image img {
    transform: scale(1.05);
}

/* Efeito 3D para a imagem do projeto (igual ao hero e metodologia) */
.project-image {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    overflow: hidden; /* Evita problemas de overflow */
    will-change: transform; /* Otimiza a performance */
}

.project-image img {
    transition: box-shadow 0.3s ease;
    transform-origin: center center; /* Garante que a transformação seja do centro */
}

/* Remover o efeito de scale do hover anterior para evitar conflitos */
.project-showcase:hover .project-image img {
    transform: none; /* Remove o scale anterior */
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 92, 44, 0.2), rgba(244, 176, 66, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-showcase:hover .project-image::after {
    opacity: 1;
}

.project-info {
    flex: 1;
    min-width: 300px;
}

.project-category {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, rgba(230, 92, 44, 0.15), rgba(244, 176, 66, 0.15));
    color: var(--burnt-yellow);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(244, 176, 66, 0.2);
}

.project-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
}

.project-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
}

.project-description {
    margin-bottom: 25px;
    color: var(--light-metallic);
    line-height: 1.7;
}

.project-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.feature-icon {
    color: var(--burnt-yellow);
    margin-right: 10px;
    font-size: 1.1rem;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajuste específico para ícones dos features dos projetos */
.project-showcase .feature-item .feature-icon {
    font-size: 0.9rem;
    margin-top: 0;
    align-self: flex-start;
}

.feature-text {
    color: var(--light-metallic);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--burnt-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-bottom: 3px;
    cursor: pointer;
    vertical-align: middle;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
    transition: width 0.3s ease;
}

.project-link:hover {
    color: var(--medium-orange);
}

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

.project-link i {
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.project-link:hover i {
    transform: translateX(5px);
}

.highlights-section {
    margin-top: 100px;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9), rgba(18, 25, 33, 0.9));
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.highlights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3QgaWQ9InBhdHRlcm4tYmFja2dyb3VuZCIgd2lkdGg9IjQwMCUiIGhlaWdodD0iNDAwJSIgZmlsbD0icmdiYSgwLCAwLCAwLCAwKSI+PC9yZWN0PjxwYXRoIGZpbGw9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC4wMykiIGQ9Ik0tMTAgLTEwaDYwdjYwSC0xMHoiPjwvcGF0aD48cGF0aCBmaWxsPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMDIpIiBkPSJNMTAgMTBoMjB2MjBIMTB6Ij48L3BhdGg+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCBmaWxsPSJ1cmwoI3BhdHRlcm4pIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIj48L3JlY3Q+PC9zdmc+');
    opacity: 1;
    z-index: 1;
}

.highlights-content {
    position: relative;
    z-index: 2;
    padding: 0 40px;
}

.highlights-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.highlights-title i {
    color: var(--burnt-yellow);
    font-size: 1.6rem;
}

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

.highlight-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, var(--dark-orange), var(--burnt-yellow));
    transition: height 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.highlight-item:hover::before {
    height: 100%;
}

.highlight-icon {
    color: var(--burnt-yellow);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.highlight-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.highlight-text {
    color: var(--light-metallic);
    font-size: 0.95rem;
    line-height: 1.6;
}

.sustentation-box {
    background: rgba(46, 139, 87, 0.1);
    border-radius: 10px;
    padding: 40px;
    margin-top: 50px;
    border: 1px solid rgba(46, 139, 87, 0.2);
    position: relative;
    overflow: hidden;
}

.sustentation-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sustentation-title i {
    color: var(--emerald-green);
}

.sustentation-text {
    color: var(--light-metallic);
    margin-bottom: 25px;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check-icon {
    color: var(--emerald-green);
    font-size: 1.1rem;
    margin-top: 3px;
}

.check-text {
    color: var(--light-metallic);
    font-size: 0.95rem;
}

.cta-section {
    margin-top: 80px;
    text-align: center;
    padding: 80px 60px;
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3QgaWQ9InBhdHRlcm4tYmFja2dyb3VuZCIgd2lkdGg9IjQwMCUiIGhlaWdodD0iNDAwJSIgZmlsbD0icmdiYSgwLCAwLCAwLCAwKSI+PC9yZWN0PjxwYXRoIGZpbGw9InJnYmEoMjMwLCA5MiwgNDQsIDAuMDMpIiBkPSJNLTEwIC0xMGg2MHY2MEgtMTB6Ij48L3BhdGg+PHBhdGggZmlsbD0icmdiYSgyMzAsIDkyLCA0NCwgMC4wMikiIGQ9Ik0xMCAxMGgyMHYyMEgxMHoiPjwvcGF0aD48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IGZpbGw9InVybCgjcGF0dGVybikiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjwvcmVjdD48L3N2Zz4=');
    opacity: 1;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-emoji {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(230, 92, 44, 0.5));
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-text {
    color: #e0e0e0;
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 45px;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--dark-orange), var(--medium-orange));
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(230, 92, 44, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-btn::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.7s ease;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(230, 92, 44, 0.4);
}

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

.cta-btn i {
    font-size: 1.2rem;
}

 /* Modal Popup Styles para Projetos */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85) !important;
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.show {
    display: block;
    opacity: 1;
}

/* Efeito de abertura de jornal simplificado para modais de projeto */
.project-modal.newspaper-opening {
    display: block;
    opacity: 1;
}

/* CÓDIGO ORIGINAL COMENTADO PARA REVERSÃO
.project-modal.newspaper-opening .project-modal-content {
    animation: newspaperOpen 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform-origin: center center;
}

@keyframes newspaperOpen {
    0% {
        transform: scale(0.2) rotateX(75deg);
        opacity: 0;
    }
    10% {
        transform: scale(0.3) rotateX(65deg);
        opacity: 0.2;
    }
    20% {
        transform: scale(0.4) rotateX(55deg);
        opacity: 0.4;
    }
    30% {
        transform: scale(0.5) rotateX(45deg);
        opacity: 0.5;
    }
    40% {
        transform: scale(0.6) rotateX(35deg);
        opacity: 0.6;
    }
    50% {
        transform: scale(0.7) rotateX(25deg);
        opacity: 0.7;
    }
    60% {
        transform: scale(0.8) rotateX(15deg);
        opacity: 0.8;
    }
    70% {
        transform: scale(0.85) rotateX(10deg);
        opacity: 0.85;
    }
    80% {
        transform: scale(0.9) rotateX(5deg);
        opacity: 0.9;
    }
    90% {
        transform: scale(0.95) rotateX(2deg);
        opacity: 0.95;
    }
    100% {
        transform: scale(1) rotateX(0deg);
        opacity: 1;
    }
}
*/

/* NOVO EFEITO: JORNAL ABRINDO DO MEIO PARA LATERAIS */
.project-modal.newspaper-opening .project-modal-content {
    animation: newspaperOpenSides 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform-origin: center center;
    overflow: hidden;
}

@keyframes newspaperOpenSides {
    0% {
        transform: scaleX(0) scaleY(1);
        opacity: 0;
        clip-path: inset(0 50% 0 50%);
    }
    10% {
        transform: scaleX(0.1) scaleY(1);
        opacity: 0.2;
        clip-path: inset(0 45% 0 45%);
    }
    20% {
        transform: scaleX(0.2) scaleY(1);
        opacity: 0.4;
        clip-path: inset(0 40% 0 40%);
    }
    30% {
        transform: scaleX(0.3) scaleY(1);
        opacity: 0.5;
        clip-path: inset(0 35% 0 35%);
    }
    40% {
        transform: scaleX(0.4) scaleY(1);
        opacity: 0.6;
        clip-path: inset(0 30% 0 30%);
    }
    50% {
        transform: scaleX(0.5) scaleY(1);
        opacity: 0.7;
        clip-path: inset(0 25% 0 25%);
    }
    60% {
        transform: scaleX(0.6) scaleY(1);
        opacity: 0.8;
        clip-path: inset(0 20% 0 20%);
    }
    70% {
        transform: scaleX(0.7) scaleY(1);
        opacity: 0.85;
        clip-path: inset(0 15% 0 15%);
    }
    80% {
        transform: scaleX(0.8) scaleY(1);
        opacity: 0.9;
        clip-path: inset(0 10% 0 10%);
    }
    90% {
        transform: scaleX(0.9) scaleY(1);
        opacity: 0.95;
        clip-path: inset(0 5% 0 5%);
    }
    100% {
        transform: scaleX(1) scaleY(1);
        opacity: 1;
        clip-path: inset(0 0% 0 0%);
    }
}

/* CÓDIGO ORIGINAL DE FECHAMENTO COMENTADO PARA REVERSÃO
.project-modal.newspaper-closing .project-modal-content {
    animation: newspaperClose 0.35s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
}

@keyframes newspaperClose {
    0% {
        transform: scale(1) rotateX(0deg);
        opacity: 1;
    }
    10% {
        transform: scale(0.95) rotateX(5deg);
        opacity: 0.95;
    }
    20% {
        transform: scale(0.9) rotateX(10deg);
        opacity: 0.9;
    }
    30% {
        transform: scale(0.85) rotateX(15deg);
        opacity: 0.85;
    }
    40% {
        transform: scale(0.8) rotateX(20deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(0.7) rotateX(30deg);
        opacity: 0.7;
    }
    60% {
        transform: scale(0.6) rotateX(40deg);
        opacity: 0.6;
    }
    70% {
        transform: scale(0.5) rotateX(50deg);
        opacity: 0.5;
    }
    80% {
        transform: scale(0.4) rotateX(60deg);
        opacity: 0.4;
    }
    90% {
        transform: scale(0.3) rotateX(70deg);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.2) rotateX(75deg);
        opacity: 0;
    }
}
*/

/* NOVO EFEITO DE FECHAMENTO: JORNAL FECHANDO DAS LATERAIS PARA O MEIO */
.project-modal.newspaper-closing .project-modal-content {
    animation: newspaperCloseSides 0.35s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
    overflow: hidden;
}

@keyframes newspaperCloseSides {
    0% {
        transform: scaleX(1) scaleY(1);
        opacity: 1;
        clip-path: inset(0 0% 0 0%);
    }
    10% {
        transform: scaleX(0.9) scaleY(1);
        opacity: 0.95;
        clip-path: inset(0 5% 0 5%);
    }
    20% {
        transform: scaleX(0.8) scaleY(1);
        opacity: 0.9;
        clip-path: inset(0 10% 0 10%);
    }
    30% {
        transform: scaleX(0.7) scaleY(1);
        opacity: 0.85;
        clip-path: inset(0 15% 0 15%);
    }
    40% {
        transform: scaleX(0.6) scaleY(1);
        opacity: 0.8;
        clip-path: inset(0 20% 0 20%);
    }
    50% {
        transform: scaleX(0.5) scaleY(1);
        opacity: 0.7;
        clip-path: inset(0 25% 0 25%);
    }
    60% {
        transform: scaleX(0.4) scaleY(1);
        opacity: 0.6;
        clip-path: inset(0 30% 0 30%);
    }
    70% {
        transform: scaleX(0.3) scaleY(1);
        opacity: 0.5;
        clip-path: inset(0 35% 0 35%);
    }
    80% {
        transform: scaleX(0.2) scaleY(1);
        opacity: 0.4;
        clip-path: inset(0 40% 0 40%);
    }
    90% {
        transform: scaleX(0.1) scaleY(1);
        opacity: 0.2;
        clip-path: inset(0 45% 0 45%);
    }
    100% {
        transform: scaleX(0) scaleY(1);
        opacity: 0;
        clip-path: inset(0 50% 0 50%);
    }
}

.project-modal-content {
    background-color: var(--dark-blue) !important;
    max-width: 900px;
    margin: 50px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}


.project-modal.show .project-modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Garantir que animações de jornal tenham prioridade e isolamento */
.project-modal.newspaper-opening .project-modal-content,
.project-modal.newspaper-closing .project-modal-content {
    animation-fill-mode: forwards;
    will-change: transform, opacity, clip-path;
    backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
    /* Isolamento para evitar conflitos */
    isolation: isolate;
    contain: layout style paint;
    /* Garantir que não interfira com scroll */
    position: relative;
    z-index: 1;
}

/* Override para garantir que modais de projetos não herdem estilos de serviços */
.project-modal.modal {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: none !important;
}

/* Garantir que o efeito de jornal não interfira com scroll e outros elementos */
.project-modal.newspaper-opening,
.project-modal.newspaper-closing {
    /* Isolamento completo do contexto de empilhamento */
    isolation: isolate;
    /* Contenção para evitar vazamentos de layout */
    contain: layout style paint;
    /* Garantir que não afete scroll */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

/* Otimização para performance durante animações */
.project-modal.newspaper-opening .project-modal-content,
.project-modal.newspaper-closing .project-modal-content {
    /* Forçar aceleração de hardware */
    transform: translateZ(0);
    /* Otimizar repaints */
    backface-visibility: hidden;
    /* Isolar contexto de empilhamento */
    isolation: isolate;
}

.project-modal.modal::before {
    display: none !important;
}

.project-modal-content.modal-content {
    background: var(--dark-blue) !important;
    backdrop-filter: none !important;
}

.project-modal-content.modal-content::before {
    display: none !important;
}

/* Rodapé específico para modais de projetos */
.project-modal .modal-footer {
    background: rgba(0, 0, 0, 0.3) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.project-modal .share-label {
    color: var(--light-metallic) !important;
}

.modal-header-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.modal-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 25, 33, 0.3), rgba(18, 25, 33, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.modal-category {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, rgba(230, 92, 44, 0.3), rgba(244, 176, 66, 0.3));
    color: var(--burnt-yellow);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(244, 176, 66, 0.3);
    backdrop-filter: blur(5px);
    max-width: fit-content;
}

.modal-subtitle {
    color: var(--light-metallic);
    font-size: 1.1rem;
}

.modal-section {
    margin-bottom: 40px;
}

.modal-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.modal-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
}

.modal-text {
    color: var(--light-metallic);
    margin-bottom: 20px;
    line-height: 1.7;
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--burnt-yellow);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--light-metallic);
    font-size: 0.9rem;
}

.modal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.modal-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.modal-feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(230, 92, 44, 0.2), rgba(244, 176, 66, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burnt-yellow);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.modal-feature-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.modal-feature-content p {
    color: var(--light-metallic);
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.modal-testimonial {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.5), rgba(18, 25, 33, 0.5));
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: rgba(244, 176, 66, 0.2);
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: Georgia, serif;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 5px;
}

.testimonial-info p {
    color: var(--light-metallic);
    font-size: 0.9rem;
}

.modal-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-metallic);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--dark-orange), var(--medium-orange));
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(230, 92, 44, 0.3);
}

.modal-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 92, 44, 0.4);
}

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

.share-label {
    color: var(--light-metallic);
    font-size: 0.9rem;
}

.share-links {
    display: flex;
    gap: 10px;
}

.share-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-metallic);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.share-link:hover {
    background: var(--dark-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* ESTILOS DA SEÇÃO COMO TRABALHAMOS */
.process-section {
    position: relative;
    padding: 120px 0;
    background-color: var(--ice-white);
    overflow: hidden;
}

/* Processo Visual */
.process-visual {
    position: relative;
    margin-bottom: 100px;
}

.process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1000px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    width: 100px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px) scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-step.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-step:hover .step-number::before {
    opacity: 1;
}

.step-number-inner {
    width: 90px;
    height: 90px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-orange);
    position: relative;
    overflow: hidden;
}

.step-number-inner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 176, 66, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-step:hover .step-number-inner::after {
    opacity: 1;
}

.step-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

/* Processo Detalhado */
.process-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.process-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    transition: all 1.2s ease-out;
    opacity: 0;
    transform: translateX(-100px);
    /* Prevenir conflitos durante animação */
    pointer-events: none;
}

/* Animação alternada: ímpar vem da esquerda, par vem da direita */
.process-card:nth-child(odd) {
    transform: translateX(-100px);
}

.process-card:nth-child(even) {
    transform: translateX(100px);
}

.process-card.visible {
    opacity: 1;
    transform: translateX(0);
    /* Reativar interações após animação completa */
    pointer-events: auto;
}

/* Delay sequencial para animação em cascata */
.process-card:nth-child(1) { transition-delay: 0.5s; }
.process-card:nth-child(2) { transition-delay: 1.0s; }
.process-card:nth-child(3) { transition-delay: 1.5s; }
.process-card:nth-child(4) { transition-delay: 2.0s; }
.process-card:nth-child(5) { transition-delay: 2.5s; }
.process-card:nth-child(6) { transition-delay: 3.0s; }

/* Hover apenas após a animação de entrada estar completa */
.process-card.visible {
    transition: all 1.2s ease-out, transform 0.5s ease, box-shadow 0.5s ease;
}

.process-card.visible:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Desabilitar hover durante animação de entrada */
.process-card:not(.visible):hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-number {
    width: 100px;
    min-width: 100px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

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

.process-card:hover .card-number::after {
    opacity: 1;
}

.card-content {
    padding: 30px;
    flex: 1;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-title i {
    color: var(--burnt-yellow);
    font-size: 1.8rem;
}

.card-description {
    color: var(--metallic-gray);
    line-height: 1.7;
}

/* Benefícios */
.benefits-section {
    margin-top: 100px;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(230, 92, 44, 0.02) 100%);
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    margin-left: 20px;
    margin-right: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3QgaWQ9InBhdHRlcm4tYmFja2dyb3VuZCIgd2lkdGg9IjQwMCUiIGhlaWdodD0iNDAwJSIgZmlsbD0icmdiYSgwLCAwLCAwLCAwKSI+PC9yZWN0PjxwYXRoIGZpbGw9InJnYmEoMCwgMCwgMCwgMC4wMikiIGQ9Ik0tMTAgLTEwaDYwdjYwSC0xMHoiPjwvcGF0aD48cGF0aCBmaWxsPSJyZ2JhKDAsIDAsIDAsIDAuMDEpIiBkPSJNMTAgMTBoMjB2MjBIMTB6Ij48L3BhdGg+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCBmaWxsPSJ1cmwoI3BhdHRlcm4pIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIj48L3JlY3Q+PC9zdmc+');
    opacity: 0.3;
    z-index: 1;
    border-radius: 30px;
}

.benefits-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.benefits-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.benefits-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(230, 92, 44, 0.1);
    backdrop-filter: blur(10px);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(230, 92, 44, 0.15);
    border-color: rgba(230, 92, 44, 0.2);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(230, 92, 44, 0.3);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(230, 92, 44, 0.4);
}

.benefit-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    border-radius: 25px;
    z-index: -1;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.benefit-card:hover .benefit-icon::after {
    opacity: 0.2;
}

.benefit-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 18px;
    line-height: 1.3;
}

.benefit-description {
    color: var(--metallic-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* Metodologia Ágil */
.methodology-section {
    margin-top: 100px;
    padding: 50px 0;
}

.methodology-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.methodology-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.methodology-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Efeito 3D para a imagem da metodologia (igual ao hero) */
.methodology-image {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    overflow: hidden; /* Evita problemas de overflow */
    will-change: transform; /* Otimiza a performance */
}

.methodology-image img {
    transition: box-shadow 0.3s ease;
    transform-origin: center center; /* Garante que a transformação seja do centro */
}

/* Remover o efeito de scale do hover anterior para evitar conflitos */
.methodology-image:hover img {
    transform: none; /* Remove o scale anterior */
}

.methodology-text {
    flex: 1;
}

.methodology-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.methodology-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
}

.methodology-description {
    color: var(--metallic-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.methodology-features {
    margin-top: 30px;
}

.methodology-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Ajuste específico para ícones da seção de projetos */
.projects-section .feature-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--metallic-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ESTILOS DA SEÇÃO NOSSA MARCA */
.brand-section {
    padding: 120px 0;
    background-color: var(--dark-blue);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.brand-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3QgaWQ9InBhdHRlcm4tYmFja2dyb3VuZCIgd2lkdGg9IjQwMCUiIGhlaWdodD0iNDAwJSIgZmlsbD0icmdiYSgwLCAwLCAwLCAwKSI+PC9yZWN0PjxwYXRoIGZpbGw9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC4wMikiIGQ9Ik0tMTAgLTEwaDYwdjYwSC0xMHoiPjwvcGF0aD48cGF0aCBmaWxsPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMDEpIiBkPSJNMTAgMTBoMjB2MjBIMTB6Ij48L3BhdGg+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCBmaWxsPSJ1cmwoI3BhdHRlcm4pIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIj48L3JlY3Q+PC9zdmc+');
    opacity: 1;
    z-index: 1;
}

.brand-content {
    position: relative;
    z-index: 2;
}

.brand-section-title {
    color: var(--white);
}

.brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
    gap: 50px;
}

.brand-intro-container {
    flex: 1;
}

.brand-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--light-metallic);
    max-width: 600px;
    margin-top: 20px;
}

.brand-logo-container {
    flex: 1;
    max-width: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230, 92, 44, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 0.5; }
}

.brand-logo {
    width: 250px;
    position: relative;
    z-index: 2;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.orbital {
    position: absolute;
    border: 1px solid rgba(230, 92, 44, 0.3);
    border-radius: 50%;
    z-index: 1;
}

.orbital-1 {
    width: 280px;
    height: 280px;
    animation: rotate 20s linear infinite;
}

.orbital-2 {
    width: 360px;
    height: 360px;
    animation: rotate 30s linear infinite reverse;
}

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

.orbital-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    border-radius: 50%;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(230, 92, 44, 0.5);
}

/* Linhas dos círculos orbitais - cor cinza mais escuro */
.orbital {
    border-color: #8A8A8A;
}

/* Bolinha do círculo de dentro (orbital-1) - laranja escuro */
.orbital-1 .orbital-dot {
    background: var(--dark-orange);
}

/* Bolinha do círculo de fora (orbital-2) - amarelo */
.orbital-2 .orbital-dot {
    background: var(--burnt-yellow);
}

.brand-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(230, 92, 44, 0.2), rgba(244, 176, 66, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burnt-yellow);
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.pillar-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.pillar-description {
    color: var(--light-metallic);
    line-height: 1.7;
}

.brand-conclusion {
    background: linear-gradient(135deg, rgba(230, 92, 44, 0.1), rgba(244, 176, 66, 0.05));
    border-radius: 15px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(230, 92, 44, 0.1);
    text-align: center;
}

.conclusion-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.conclusion-title i {
    color: var(--burnt-yellow);
    font-size: 1.6rem;
}

.conclusion-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--light-metallic);
    max-width: 800px;
    margin: 0 auto;
}

.conclusion-text .highlight {
    color: var(--burnt-yellow);
    font-weight: 600;
}

/* ESTILOS DA SEÇÃO CONTATO */
.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--deep-purple), var(--dark-purple));
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 92, 44, 0.1), rgba(244, 176, 66, 0.05));
    opacity: 0.3;
}

.element-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation: float 20s infinite ease-in-out;
}

.element-2 {
    width: 200px;
    height: 200px;
    bottom: 100px;
    right: 100px;
    animation: float 15s infinite ease-in-out reverse;
}

.element-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    animation: float 25s infinite ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 50px) rotate(90deg); }
    50% { transform: translate(0, 100px) rotate(180deg); }
    75% { transform: translate(-50px, 50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.contact-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 50px;
}

.contact-text-container {
    flex: 1;
}

.contact-emoji {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.contact-title span {
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--light-metallic);
    margin-bottom: 40px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(230, 92, 44, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-btn::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.7s ease;
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(230, 92, 44, 0.4);
}

.contact-btn:hover::before {
    left: 100%;
}

/* Botão secundário na seção de contato */
.contact-btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
    margin-left: 20px;
}

.contact-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--burnt-yellow);
}

.contact-btn-secondary::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.contact-visual {
    flex: 1;
    max-width: 500px;
}

.contact-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-image {
    width: 100%;
    height: auto;
    display: block;
    transition: box-shadow 0.3s ease;
}

/* Efeito 3D para a imagem de contato (igual ao hero, metodologia e projetos) */
.contact-image-container {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    overflow: hidden; /* Evita problemas de overflow */
    will-change: transform; /* Otimiza a performance */
}

.contact-image {
    transform-origin: center center; /* Garante que a transformação seja do centro */
}

.contact-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 92, 44, 0.3), rgba(244, 176, 66, 0.2));
}

/* ESTILOS DO RODAPÉ */
.footer {
    background-color: var(--footer-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer-decoration {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 92, 44, 0.05), rgba(244, 176, 66, 0.02));
    opacity: 0.1;
    z-index: 1;
}

.decoration-1 {
    width: 500px;
    height: 500px;
    top: -250px;
    left: -250px;
}

.decoration-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -150px;
}

.footer-top {
    padding: 80px 0 50px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo-column {
    margin-right: 20px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo:hover img {
    transform: scale(1.15);
    filter: brightness(1.3);
}

.footer-about {
    color: var(--light-metallic);
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-metallic);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-link:hover {
    background: var(--dark-orange);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
}

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

.footer-link, .footer-service-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-metallic);
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover, .footer-service-link:hover {
    color: var(--burnt-yellow);
    transform: translateX(5px);
}

.footer-link i, .footer-service-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-link:hover i, .footer-service-link:hover i {
    transform: translateX(3px);
}

.contact-info {
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burnt-yellow);
    flex-shrink: 0;
}

.contact-text {
    color: var(--light-metallic);
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    margin-top: 25px;
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--dark-orange);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-input::placeholder {
    color: var(--light-metallic);
}

.newsletter-button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-button:hover {
    transform: scale(1.1);
}

/* Botão Trabalhe Conosco no rodapé */
.work-with-us-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    color: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(230, 92, 44, 0.3);
    margin-top: 20px;
    width: 100%;
    justify-content: center;
}

.work-with-us-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 92, 44, 0.4);
    background: linear-gradient(135deg, var(--burnt-yellow), var(--dark-orange));
}

.work-with-us-btn i {
    font-size: 1rem;
}

.footer-bottom {
    background-color: var(--footer-darker);
    padding: 20px 0;
    border-top: 1px solid var(--footer-border);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--light-metallic);
    font-size: 0.9rem;
}

.copyright a {
    color: var(--burnt-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--medium-orange);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-link {
    color: var(--light-metallic);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--burnt-yellow);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(230, 92, 44, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(230, 92, 44, 0.4);
}

/* MEDIA QUERIES PARA RESPONSIVIDADE */

/* CORREÇÕES INTELIGENTES PARA SMARTPHONES MODERNOS */
/* Aplicar apenas em dispositivos que suportam detecção moderna de touch */
@media (hover: none) and (pointer: coarse) and (min-width: 1200px) {
    /* Estilos específicos para smartphones modernos grandes (Galaxy S24 Ultra, iPhone 15 Pro Max, etc.) */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        /* Hardware acceleration para melhor performance */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* Eliminar coluna branca em smartphones modernos */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hero-section {
        width: 100% !important;
        max-width: 100vw !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }
    
    section {
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
}



@media (max-width: 1200px) {
    :root {
        --title-size: 3rem;
        --hero-image-width: 450px;
        --nav-links-gap: 20px;
    }
    
    .nav-links {
        gap: 20px;
        white-space: nowrap;
        flex-wrap: nowrap;
    }
    
    .nav-link {
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 30px;
    }
}

/* Media query para telas médias */
@media (max-width: 1100px) {
    .nav-links {
        gap: 15px;
        white-space: nowrap;
        flex-wrap: nowrap;
    }
    
    .nav-link {
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

/* Media query específica para tablets */
@media (min-width: 769px) and (max-width: 992px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -350px;
        width: 350px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(18, 25, 33, 0.98), rgba(30, 58, 95, 0.95));
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        z-index: 1000;
        padding: 100px 40px 40px;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        opacity: 0;
        visibility: hidden;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(230, 92, 44, 0.2);
    }
    
    .nav-links.active {
        display: flex;
        right: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3QgaWQ9InBhdHRlcm4tYmFja2dyb3VuZCIgd2lkdGg9IjQwMCUiIGhlaWdodD0iNDAwJSIgZmlsbD0icmdiYSgwLCAwLCAwLCAwKSI+PC9yZWN0PjxwYXRoIGZpbGw9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC4wMikiIGQ9Ik0tMTAgLTEwaDYwdjYwSC0xMHoiPjwvcGF0aD48cGF0aCBmaWxsPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMDEpIiBkPSJNMTAgMTBoMjB2MjBIMTB6Ij48L3BhdGg+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCBmaWxsPSJ1cmwoI3BhdHRlcm4pIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIj48L3JlY3Q+PC9zdmc+');
        opacity: 0.1;
        z-index: -1;
    }
    
    .nav-link {
        font-size: 1.3rem;
        color: var(--white) !important;
        padding: 25px 20px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(30px);
        opacity: 0;
        display: flex;
        align-items: center;
        text-align: left;
        min-height: 45px;
        z-index: 10;
        cursor: pointer;
        box-sizing: border-box;
    }
    
    .nav-links.active .nav-link {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-links.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.5s; }
    
    .nav-link:hover {
        color: var(--burnt-yellow) !important;
        transform: translateX(10px);
        padding-left: 30px;
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
        transition: width 0.3s ease;
    }
    
    .nav-link:hover::after {
        width: 30px;
    }
    
    .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .nav-link-button {
        display: block;
        margin-top: 50px;
        width: 100%;
        transform: translateX(30px);
        opacity: 0;
        transition: all 0.3s ease 0.6s;
    }
    
    /* Botão de fechar o menu mobile */
    .nav-close-button {
        display: none;
        justify-content: flex-end;
        padding: 0px 30px 25px 20px;
        margin-top: -20px;
        border-bottom: none;
    }
    
    .nav-links.active .nav-close-button {
        display: flex;
    }
    
    .nav-close {
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 10px;
        border-radius: 50%;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }
    
    .nav-close:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--burnt-yellow);
        transform: rotate(90deg);
    }
    
    .nav-links.active .nav-link-button {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-button-desktop {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .brand-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }
    
    .brand-intro-container {
        flex: 1;
        text-align: left;
        max-width: 60%;
    }
    
    .brand-logo-container {
        flex: 1;
        max-width: 40%;
        margin: 0;
        justify-content: center;
    }
    
    .brand-logo {
        width: 180px;
    }
    
    .orbital-1 {
        width: 200px;
        height: 200px;
    }
    
    .orbital-2 {
        width: 260px;
        height: 260px;
    }
    
    .logo-glow {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    :root {
        --title-size: 2.5rem;
        --subtitle-size: 1.1rem;
        --description-size: 1rem;
        --hero-content-gap: 30px;
        --hero-image-width: 400px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(18, 25, 33, 0.98), rgba(30, 58, 95, 0.95));
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        z-index: 1000;
        padding: 80px 30px 30px;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        opacity: 0;
        visibility: hidden;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(230, 92, 44, 0.2);
    }
    
    .nav-links.active {
        display: flex;
        right: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3QgaWQ9InBhdHRlcm4tYmFja2dyb3VuZCIgd2lkdGg9IjQwMCUiIGhlaWdodD0iNDAwJSIgZmlsbD0icmdiYSgwLCAwLCAwLCAwKSI+PC9yZWN0PjxwYXRoIGZpbGw9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC4wMikiIGQ9Ik0tMTAgLTEwaDYwdjYwSC0xMHoiPjwvcGF0aD48cGF0aCBmaWxsPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMDEpIiBkPSJNMTAgMTBoMjB2MjBIMTB6Ij48L3BhdGg+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCBmaWxsPSJ1cmwoI3BhdHRlcm4pIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIj48L3JlY3Q+PC9zdmc+');
        opacity: 0.1;
        z-index: -1;
    }
    
    .nav-link {
        font-size: 1.2rem;
        color: var(--white) !important;
        padding: 22px 20px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(30px);
        opacity: 0;
        display: flex;
        align-items: center;
        text-align: left;
        min-height: 40px;
        z-index: 10;
        cursor: pointer;
        box-sizing: border-box;
    }
    
    .nav-links.active .nav-link {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-links.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.5s; }
    
    .nav-link:hover {
        color: var(--burnt-yellow) !important;
        transform: translateX(10px);
        padding-left: 25px;
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
        transition: width 0.3s ease;
    }
    
    .nav-link:hover::after {
        width: 25px;
    }
    
    .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .nav-link-button {
        display: block;
        margin-top: 40px;
        width: 100%;
        transform: translateX(30px);
        opacity: 0;
        transition: all 0.3s ease 0.6s;
    }
    
    /* Botão de fechar o menu mobile - versão mobile */
    .nav-close-button {
        display: none;
        justify-content: flex-end;
        padding: 0px 25px 22px 15px;
        margin-top: -15px;
        border-bottom: none;
    }
    
    .nav-links.active .nav-close-button {
        display: flex;
    }
    
    .nav-close {
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.3rem;
        cursor: pointer;
        padding: 8px;
        border-radius: 50%;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
    }
    
    .nav-close:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--burnt-yellow);
        transform: rotate(90deg);
    }
    
    .nav-links.active .nav-link-button {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-button-desktop {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-showcase {
        flex-direction: column;
    }
    
    .project-showcase:nth-child(even) {
        flex-direction: column;
    }
    
    .project-image, .project-info {
        width: 100%;
    }
    
    .about-section {
        flex-direction: column;
    }
    
    .about-left, .about-right {
        width: 100%;
    }
    
    .about-left {
        height: 400px;
    }
    
    .about-overlay {
        padding: 0 10%;
    }
    
    .about-right {
        padding: 60px 30px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .methodology-content {
        flex-direction: column;
    }
    
    .brand-header {
        flex-direction: column;
        gap: 50px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-logo-column {
        grid-column: span 2;
    }
    
    .brand-logo-container {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .brand-logo {
        width: 220px;
    }
    
    .orbital-1 {
        width: 250px;
        height: 250px;
    }
    
    .orbital-2 {
        width: 320px;
        height: 320px;
    }
    
    .logo-glow {
        width: 250px;
        height: 250px;
    }
}

/* Força o botão de fechar para o topo do menu */
.nav-links.active .nav-close-button {
    position: relative;
    top: -20px;
    margin-top: -25px;
    display: flex !important;
}

/* Garante que o botão só apareça quando o menu estiver ativo */
.nav-close-button {
    display: none !important;
}

.nav-links.active .nav-close-button {
    display: flex !important;
}

/* Estilos responsivos para o botão fixo do WhatsApp */
@media (max-width: 768px) {
    .whatsapp-fixed-button {
        right: 15px;
        bottom: 15px; /* Posição inicial igual ao botão back-to-top mobile */
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    /* Posição quando o botão back-to-top está visível em mobile */
    .whatsapp-fixed-button.above-back-to-top {
        bottom: 70px; /* Posicionado acima do botão back-to-top mobile (15px + 40px + 15px de espaçamento) */
    }
    
    .whatsapp-tooltip {
        display: none; /* Esconder tooltip em mobile para economizar espaço */
    }
}

@media (max-width: 768px) {
    :root {
        --title-size: 2.2rem;
        --subtitle-size: 1rem;
        --description-size: 0.95rem;
        --button-text-size: 0.9rem;
        --hero-button-padding: 12px 15px 12px 12px;
        --hero-buttons-gap: 15px;
        --header-height: var(--header-height-mobile);
        --text-padding-top-desktop: var(--text-padding-top-mobile);
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }
    
    .hero-text {
        order: 2;
        max-width: 100%;
    }
    
    .hero-image-container {
        order: 1;
        max-width: 300px;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image::before, .hero-image::after {
        display: none;
    }
    
    .hero-image-container {
        display: none;
    }
    
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        aspect-ratio: auto;
        height: auto;
        padding-bottom: 20px;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .process-timeline::before {
        width: 4px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }
    
    .timeline-step {
        width: 100%;
    }
    
    .card-number {
        min-width: 70px;
        width: 70px;
        font-size: 2rem;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-pillars {
        grid-template-columns: 1fr;
    }
    
    .brand-logo-container {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .brand-logo {
        width: 200px;
    }
    
    .brand-intro-container {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .orbital-1 {
        width: 200px;
        height: 200px;
    }
    
    .orbital-2 {
        width: 260px;
        height: 260px;
    }
    
    .logo-glow {
        width: 200px;
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo-column {
        grid-column: span 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .benefits-section {
        margin-left: 10px;
        margin-right: 10px;
        border-radius: 20px;
        padding: 60px 0;
    }
    
    .benefits-content {
        padding: 0 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .benefit-card {
        padding: 30px 25px;
        border-radius: 15px;
    }
}

@media (max-width: 576px) {
    :root {
        --title-size: 2rem;
        --subtitle-size: 0.9rem;
        --side-margin: 15px;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-btn, .contact-btn-secondary {
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }
    
    .contact-btn-secondary {
        margin-left: 0;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .form-actions .modal-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .modal-content:not(.project-modal-content) {
        margin: 20px;
        max-height: 90vh;
    }
    
    .modal:not(.project-modal) .modal-body {
        max-height: calc(90vh - 100px);
        padding: 20px;
    }
    
    .modal:not(.project-modal) .modal-header {
        padding: 20px;
    }
    
    .modal:not(.project-modal) .modal-body {
        padding: 20px;
    }
    
    .modal:not(.project-modal) .modal-footer {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .modal-cta {
        width: 100%;
        justify-content: center;
    }
    
    /* Responsive styles for project modals */
    .project-modal-content {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .project-modal .modal-body {
        padding: 20px;
    }
    
    .project-modal .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .project-modal .modal-footer {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .project-modal .modal-cta {
        order: 1;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .project-modal .modal-share {
        order: 2;
        justify-content: center;
    }
    
    .modal-share {
        justify-content: center;
    }
    
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Classe para elementos que devem ser animados ao entrar na viewport */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Animações específicas para a seção de metodologia */
.methodology-image.animate-on-scroll {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.methodology-image.animate-on-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

.methodology-text.animate-on-scroll {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.methodology-text.animate-on-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

.methodology-feature.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.methodology-feature.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animação especial para os ícones das features */
.methodology-feature.animate-on-scroll .feature-icon {
    opacity: 0;
    transform: scale(0) rotate(180deg);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.2s;
}

.methodology-feature.animate-on-scroll.visible .feature-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Animação para o conteúdo das features */
.methodology-feature.animate-on-scroll .feature-content {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.4s;
}

.methodology-feature.animate-on-scroll.visible .feature-content {
    opacity: 1;
    transform: translateX(0);
}

/* Animações específicas para a seção de benefícios */
.benefits-title.animate-on-scroll {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

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

.benefit-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.benefit-card.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animação especial para os ícones dos benefícios */
.benefit-card.animate-on-scroll .benefit-icon {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.3s;
}

.benefit-card.animate-on-scroll.visible .benefit-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Animação para o título dos benefícios */
.benefit-card.animate-on-scroll .benefit-title {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.5s;
}

.benefit-card.animate-on-scroll.visible .benefit-title {
    opacity: 1;
    transform: translateX(0);
}

/* Animação para a descrição dos benefícios */
.benefit-card.animate-on-scroll .benefit-description {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.7s;
}

.benefit-card.animate-on-scroll.visible .benefit-description {
    opacity: 1;
    transform: translateX(0);
}

/* Estilos para a seção de marca */
.brand-section .section-title {
    color: var(--white);
}

/* Ajustes para o modal de serviços no rodapé */
.footer-service-link {
    cursor: pointer;
}

/* ESTILOS DO FORMULÁRIO DE CONTATO */
.contact-form {
    max-width: 100%;
}

/* Layout lado a lado para formulários */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Garantir que o modal de contato funcione corretamente */
#contactModal .form-actions {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#contactModal .form-actions .modal-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--dark-gray);
    background-color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-orange);
    box-shadow: 0 0 0 3px rgba(230, 92, 44, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.form-actions .modal-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    min-width: 150px;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
}

.form-actions .modal-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-actions .modal-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 10px rgba(230, 92, 44, 0.2);
}

/* Mensagens de sucesso e erro */
.success-message,
.error-message {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.success-message {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(46, 139, 87, 0.2);
}

.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.success-message i {
    font-size: 3rem;
    color: var(--emerald-green);
    margin-bottom: 15px;
    display: block;
}

.error-message i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 15px;
    display: block;
}

.success-message h4,
.error-message h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.success-message h4 {
    color: var(--emerald-green);
}

.error-message h4 {
    color: #ef4444;
}

.success-message p,
.error-message p {
    color: var(--metallic-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Animação de pulsação para ícones dos cards */
@keyframes pulseIcon {
    0% {
        box-shadow: 0 15px 35px rgba(230, 92, 44, 0.4);
    }
    50% {
        box-shadow: 0 20px 45px rgba(230, 92, 44, 0.6);
    }
    100% {
        box-shadow: 0 15px 35px rgba(230, 92, 44, 0.4);
    }
}

/* Overlay escuro para menu mobile */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ESTILOS DO MODAL DE FORMULÁRIO DE PROJETO */
.project-form-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(30, 58, 95, 0.6));
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    perspective: 1000px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.project-form-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(230, 92, 44, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-form-modal.show {
    opacity: 1;
    visibility: visible;
}

.project-form-modal.show::before {
    opacity: 1;
}

.project-form-modal-content {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.95) 100%);
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(230, 92, 44, 0.1);
    transform: rotateX(-90deg);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    position: relative;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.project-form-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, 
        var(--dark-orange) 0%, 
        #ff6b35 25%, 
        var(--burnt-yellow) 50%, 
        #fbbf24 75%, 
        var(--dark-orange) 100%);
    transform: scaleX(0);
    transition: transform 1s ease 0.5s;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 2px 8px rgba(230, 92, 44, 0.3);
}

.project-form-modal.show .project-form-modal-content {
    transform: rotateX(0);
    opacity: 1;
}

.project-form-modal.show .project-form-modal-content::before {
    transform: scaleX(1);
}

.project-form-header {
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    padding: 25px 30px;
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease 0.2s;
}

.project-form-modal.show .project-form-header {
    opacity: 1;
    transform: translateY(0);
}


.modal-title-container {
    flex: 1;
    margin-right: 20px;
}

.modal-title {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

.project-form-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.project-form-modal .modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Barra de Progresso */
.form-progress-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.form-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.form-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 20%;
    position: relative;
    overflow: hidden;
}

.form-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}


.form-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 0.7;
}

.form-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-step.active .form-step-number {
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    color: var(--white);
    transform: scale(1.1);
}

.progress-step.completed .form-step-number {
    background: var(--emerald-green);
    color: var(--white);
}

.step-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dark-gray);
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--dark-orange);
    font-weight: 600;
}

/* A etapa 4 (Orçamento) será controlada dinamicamente pelo JavaScript */

/* Campos dinâmicos para serviços específicos */
.service-specific-fields {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.service-specific-field {
    margin-bottom: 20px;
    animation: fadeInUp 0.3s ease-out;
}

.service-specific-field label {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    display: block;
}

.service-specific-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    resize: vertical;
    min-height: 80px;
}

.service-specific-field textarea:focus {
    outline: none;
    border-color: var(--dark-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.service-name-highlight {
    color: var(--dark-orange);
    font-weight: 700;
}

/* Campos condicionais da etapa 3 */
.project-details-fields {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    animation: fadeInUp 0.3s ease-out;
}

/* Sistema de Notificações Personalizadas */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification {
    background: var(--white);
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    min-width: 320px;
    max-width: 400px;
    border-left: 4px solid;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
}

/* Tipos de notificação */
.notification.success {
    border-left-color: var(--emerald-green);
}

.notification.error {
    border-left-color: #ef4444;
}

.notification.warning {
    border-left-color: #f59e0b;
}

.notification.info {
    border-left-color: #3b82f6;
}

.notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification.success .notification-icon {
    background: var(--emerald-green);
    color: var(--white);
}

.notification.error .notification-icon {
    background: #ef4444;
    color: var(--white);
}

.notification.warning .notification-icon {
    background: #f59e0b;
    color: var(--white);
}

.notification.info .notification-icon {
    background: #3b82f6;
    color: var(--white);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.notification-message {
    font-size: 14px;
    color: var(--metallic-gray);
    margin: 0;
    line-height: 1.4;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: var(--metallic-gray);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 16px;
    line-height: 1;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--black);
}

/* Animações */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification.slide-in {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification.slide-out {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ESTILOS DO MODAL DE ORÇAMENTO SIMPLES */
.budget-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.budget-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(230, 92, 44, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.budget-modal.show {
    opacity: 1;
    visibility: visible;
}

.budget-modal.show::before {
    opacity: 1;
}

.budget-modal-content {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.95) 100%);
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: rotateX(-15deg) scale(0.8);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.budget-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease 0.5s;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 2px 8px rgba(230, 92, 44, 0.3);
    /* Garantir que não ultrapasse as bordas arredondadas */
    overflow: hidden;
    z-index: 1;
}

.budget-modal.show .budget-modal-content {
    transform: rotateX(0);
    opacity: 1;
}

.budget-modal.show .budget-modal-content::before {
    transform: scaleX(1);
}

.budget-header {
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    padding: 20px 30px;
    border-radius: 20px 20px 0 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease 0.2s;
    /* Garantir que fique acima do pseudo-elemento */
    z-index: 2;
    /* Garantir que não ultrapasse as bordas */
    overflow: hidden;
}

/* Garantir que não haja sobreposição na parte superior do modal */
.budget-modal-content {
    /* Garantir que o conteúdo principal fique acima dos pseudo-elementos */
    position: relative;
    z-index: 3;
    /* Garantir que não haja vazamentos de layout */
    contain: layout style paint;
    -webkit-contain: layout style paint;
}

.budget-modal.show .budget-header {
    opacity: 1;
    transform: translateY(0);
}

.budget-header .modal-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.budget-header .modal-title-container {
    flex: 1;
}

.budget-header .modal-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.budget-header .modal-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

.budget-modal .modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.budget-modal .modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.budget-body {
    padding: 40px;
    flex: 1;
    overflow-y: auto;
    max-height: calc(95vh - 160px);
}

.budget-modal.show .budget-body {
    opacity: 1;
}

.budget-form {
    height: 100%;
}

.budget-form .form-step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.budget-form .form-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.budget-form .form-step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 8px 0;
}

.budget-form .form-step-description {
    color: var(--metallic-gray);
    margin: 0 0 30px 0;
    font-size: 1rem;
}

.budget-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.budget-form .form-group {
    display: flex;
    flex-direction: column;
}

.budget-form .form-group label {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.budget-form .form-group input,
.budget-form .form-group select,
.budget-form .form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.budget-form .form-group input:focus,
.budget-form .form-group select:focus,
.budget-form .form-group textarea:focus {
    outline: none;
    border-color: var(--dark-orange);
    box-shadow: 0 0 0 3px rgba(230, 92, 44, 0.1);
}

.budget-footer {
    padding: 20px 40px;
    border-top: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0 0 20px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.5s;
    flex-shrink: 0;
}

.budget-modal.show .budget-footer {
    opacity: 1;
    transform: translateY(0);
}

.budget-footer .form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Barra de Progresso do Modal de Orçamento */
.budget-progress-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 40px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 10;
}

.budget-progress-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.budget-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
    border-radius: 2px;
    width: 50%;
    transition: width 0.4s ease;
}

.budget-progress-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 5;
    /* Carrossel responsivo para mobile */
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Esconder scrollbar no carrossel */
.budget-progress-steps::-webkit-scrollbar {
    display: none;
}

/* Estilos para drag/swipe no carrossel mobile */
.budget-progress-steps {
    /* Melhorar experiência de touch */
    touch-action: pan-x;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* Garantir que funcione em mobile */
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    /* Melhorar performance de scroll */
    will-change: scroll-position;
    transform: translateZ(0);
}

/* Feedback visual durante drag */
.budget-progress-steps.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    /* Efeito visual durante drag */
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.budget-progress-steps.dragging .budget-progress-step {
    pointer-events: none;
    /* Destaque visual da etapa sendo arrastada */
    opacity: 0.8;
    transform: scale(1.05);
    transition: all 0.1s ease;
}

/* Indicador de momentum durante drag */
.budget-progress-steps.dragging::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(230, 92, 44, 0.1) 0%, 
        transparent 20%, 
        transparent 80%, 
        rgba(230, 92, 44, 0.1) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Indicador de scroll para mobile */
.budget-progress-container {
    position: relative;
}

.budget-progress-container::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(90deg, transparent, rgba(230, 92, 44, 0.3));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

/* Mostrar indicador apenas em mobile quando há scroll */
@media (max-width: 768px) {
    .budget-progress-steps:not(.at-end) + .budget-progress-container::after {
        opacity: 1;
    }
    
    /* Indicador de que é possível arrastar */
    .budget-progress-steps::after {
        content: '← Arraste para navegar →';
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.7rem;
        color: rgba(230, 92, 44, 0.6);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        white-space: nowrap;
    }
    
    /* Mostrar indicador após um tempo */
    .budget-progress-steps.show-drag-hint::after {
        opacity: 1;
    }
    
    /* Esconder indicador após interação */
    .budget-progress-steps.user-interacted::after {
        opacity: 0;
    }
}

/* Centralizar etapas quando couberem na tela */
@media (min-width: 769px) {
    .budget-progress-steps {
        justify-content: center;
        overflow-x: visible;
    }
}

.budget-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    z-index: 5;
    /* Garantir tamanho mínimo para carrossel */
    min-width: 80px;
    flex-shrink: 0;
}

.budget-progress-step:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.budget-progress-step.clickable {
    cursor: pointer;
}

.budget-progress-step.clickable:hover .budget-step-number {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.budget-progress-step.active {
    opacity: 1;
}

.budget-progress-step.completed {
    opacity: 0.8;
}

.budget-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: var(--metallic-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

/* Estilo padrão para etapa 5 quando inativa */
.budget-progress-step[data-step="5"]:not(.active):not(.completed) {
    opacity: 0.5;
}

.budget-progress-step[data-step="5"]:not(.active):not(.completed) .budget-step-number {
    background: #e5e7eb;
    color: var(--metallic-gray);
    font-weight: 600;
    font-size: 0.9rem;
}

.budget-progress-step[data-step="5"]:not(.active):not(.completed) .budget-step-label {
    color: var(--metallic-gray);
    font-weight: 500;
    font-size: 0.85rem;
}

.budget-progress-step.active .budget-step-number {
    background: linear-gradient(135deg, var(--dark-orange) 0%, var(--burnt-yellow) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 92, 44, 0.3);
    transform: scale(1.1);
    animation: pulseActive 2s ease-in-out infinite;
}

.budget-progress-step.active .budget-step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 50%;
}

.budget-progress-step.completed .budget-step-number {
    background: linear-gradient(135deg, var(--emerald-green) 0%, #10b981 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transform: scale(1.05);
}

.budget-progress-step.completed .budget-step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    border-radius: 50%;
}

.budget-step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--metallic-gray);
    text-align: center;
    position: relative;
    z-index: 5;
}

.budget-progress-step.active .budget-step-label {
    color: var(--dark-orange);
    font-weight: 600;
}

.budget-progress-step.completed .budget-step-label {
    color: var(--emerald-green);
    font-weight: 600;
}

/* Grid de Serviços do Orçamento */
.budget-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.budget-service-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    overflow: hidden;
}

.budget-service-checkbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 92, 44, 0.1), transparent);
    transition: left 0.5s ease;
    /* Garantir que efeito não se estenda além dos limites do card */
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    /* Garantir que efeito só apareça no hover */
    opacity: 0;
    visibility: hidden;
}

.budget-service-checkbox:hover {
    border-color: var(--dark-orange);
    box-shadow: 0 4px 12px rgba(230, 92, 44, 0.1);
    transform: translateY(-2px);
    z-index: 50;
    overflow: visible !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.budget-service-checkbox:hover::before {
    left: 100%;
    /* Garantir que efeito não se estenda além dos limites */
    overflow: hidden;
    pointer-events: none;
    /* Garantir que efeito só apareça no hover */
    opacity: 1;
    visibility: visible;
}

.budget-service-checkbox input[type="checkbox"]:checked ~ * {
    position: relative;
    z-index: 1;
}


.budget-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.budget-service-checkbox input[type="checkbox"]:checked {
    /* Efeito para o card selecionado */
}

.budget-service-checkbox input[type="checkbox"]:checked + .budget-checkbox-custom {
    background: var(--dark-orange);
    border-color: var(--dark-orange);
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(230, 92, 44, 0.2);
}

.budget-service-checkbox input[type="checkbox"]:checked + .budget-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: var(--white);
    font-size: 11px;
    font-weight: bold;
    animation: checkmarkAppear 0.4s ease forwards;
}

.budget-service-checkbox input[type="checkbox"]:checked ~ .budget-service-info {
    color: var(--dark-orange);
    font-weight: 600;
    transform: translateX(2px);
}

/* Efeito suave para o card selecionado */
.budget-service-checkbox:has(input[type="checkbox"]:checked) {
    background: var(--white);
    border-color: var(--dark-orange);
    box-shadow: 0 4px 12px rgba(230, 92, 44, 0.1);
    transform: translateY(-1px);
    z-index: 40;
    overflow: visible !important;
    width: 100%;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    min-width: 0;
    max-width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    flex-basis: auto;
    position: relative;
}


.budget-service-checkbox:has(input[type="checkbox"]:checked)::after {
    display: none;
}

/* Fallback para navegadores que não suportam :has() */
@supports not (selector(:has(*))) {
    .budget-service-checkbox.selected {
        background: var(--white);
        border-color: var(--dark-orange);
        box-shadow: 0 4px 12px rgba(230, 92, 44, 0.1);
        transform: translateY(-1px);
    }
    
    .budget-service-checkbox.selected::after {
        display: none;
    }
}

/* Animações suaves */
@keyframes checkmarkAppear {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes subtleBorderGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes pulseActive {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(230, 92, 44, 0.3);
        transform: scale(1.1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(230, 92, 44, 0.4);
        transform: scale(1.15);
    }
}

.budget-service-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    transition: color 0.3s ease;
}

.budget-service-info i {
    font-size: 18px;
    color: var(--dark-orange);
    width: 20px;
    text-align: center;
}

.budget-service-info span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Campos Condicionais do Orçamento */
.budget-conditional-fields {
    margin-top: 20px;
    padding: 20px;
    background: rgba(230, 92, 44, 0.05);
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border: 1px solid rgba(230, 92, 44, 0.2);
}

.budget-checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.budget-checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.budget-checkbox-group label:hover {
    background: rgba(230, 92, 44, 0.1);
}

.budget-checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--dark-orange);
}

/* Responsividade */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .notification {
        min-width: auto;
        max-width: none;
    }
}

/* Corpo do Modal */
.project-form-body {
    padding: 20px 35px 30px 35px;
    opacity: 0;
    transition: opacity 0.4s ease 0.3s;
    flex: 1;
    overflow-y: auto;
    max-height: calc(95vh - 160px);
}

.project-form-modal.show .project-form-body {
    opacity: 1;
}

.project-form {
    height: 100%;
}

.project-form .form-step {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.project-form .form-step.active {
    display: block;
}

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

.form-step-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 3px;
    position: relative;
    padding-bottom: 8px;
}

.form-step-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--dark-orange), var(--burnt-yellow));
}

.form-step-description {
    color: var(--metallic-gray);
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 12px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--dark-gray);
    background-color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-orange);
    box-shadow: 0 0 0 3px rgba(230, 92, 44, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

/* Grid de Serviços do Formulário */
.form-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.service-checkbox {
    position: relative;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    padding: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-checkbox:hover {
    border-color: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 92, 44, 0.1);
}

.service-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.service-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    border-color: var(--dark-orange);
}

.service-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

.service-checkbox input[type="checkbox"]:checked ~ .service-info {
    color: var(--dark-orange);
}

.service-info {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.service-info i {
    font-size: 1.2rem;
    color: var(--metallic-gray);
    transition: color 0.3s ease;
}

.service-checkbox input[type="checkbox"]:checked ~ .service-info i {
    color: var(--dark-orange);
}

.service-info span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Campos Condicionais */
.conditional-fields {
    background: rgba(230, 92, 44, 0.05);
    border: 1px solid rgba(230, 92, 44, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.conditional-fields h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-orange);
    margin-bottom: 10px;
}

.checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Resumo de Confirmação */
.confirmation-summary {
    background: rgba(230, 92, 44, 0.05);
    border: 1px solid rgba(230, 92, 44, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.summary-section {
    margin-bottom: 15px;
}

.summary-section:last-child {
    margin-bottom: 0;
}

.summary-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-orange);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-content {
    color: var(--dark-gray);
    line-height: 1.6;
}

.summary-item {
    margin-bottom: 6px;
    display: flex;
    gap: 10px;
}

.summary-label {
    font-weight: 600;
    min-width: 120px;
    color: var(--metallic-gray);
}

.summary-value {
    flex: 1;
}

/* Rodapé do Modal */
.project-form-footer {
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(230, 92, 44, 0.05) 100%);
    padding: 15px 35px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.5s;
    flex-shrink: 0;
}

.project-form-modal.show .project-form-footer {
    opacity: 1;
    transform: translateY(0);
}

.form-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    min-width: 140px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--dark-orange), var(--burnt-yellow));
    color: var(--white);
    box-shadow: 0 5px 15px rgba(230, 92, 44, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 92, 44, 0.4);
}

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

.btn-secondary:hover {
    background: var(--dark-gray);
    color: var(--white);
    transform: translateY(-3px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 5px 15px rgba(230, 92, 44, 0.3) !important;
}

/* Botão de envio do formulário de projeto - controlado via JavaScript */
#projectSubmitBtn {
    display: none;
    visibility: visible;
    opacity: 1;
}

.project-form-footer .form-navigation #projectSubmitBtn {
    display: none;
    visibility: visible;
    opacity: 1;
}

/* Estilo quando há apenas um botão visível */
.form-navigation:has(.btn:only-child) {
    justify-content: center;
}

.form-navigation:has(.btn:only-child) .btn {
    min-width: 160px;
}






/* Responsividade */
@media (max-width: 768px) {
    .project-form-modal-content {
        width: 98%;
        max-height: 95vh;
        margin: 10px;
    }
    
    .project-form-header {
        padding: 12px 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .form-progress-container {
        padding: 10px 20px;
    }
    
    .form-progress-steps {
        gap: 10px;
    }
    
    .form-step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .project-form-body {
        padding: 15px 20px 20px 20px;
        max-height: calc(98vh - 140px);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-checkbox {
        padding: 15px;
    }
    
    .project-form-footer {
        padding: 12px 20px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .project-form-modal {
        padding: 10px;
    }
    
    .project-form-modal-content {
        width: 100%;
        max-height: 98vh;
        border-radius: 15px;
    }
    
    /* Responsividade do Modal de Orçamento */
    .budget-modal-content {
        width: 98%;
        max-height: 95vh;
        margin: 10px;
    }
    
    .budget-header {
        padding: 15px 20px;
        gap: 12px;
    }
    
    .budget-header .modal-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .budget-header .modal-title {
        font-size: 1.3rem;
    }
    
    .budget-body {
        padding: 30px 20px;
    }
    
    .budget-form .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .budget-footer {
        padding: 15px 20px;
    }
    
    .budget-footer .form-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .budget-footer .form-navigation .btn {
        width: 100%;
        justify-content: center;
    }
    
    .budget-progress-container {
        padding: 12px 20px;
    }
    
    .budget-progress-steps {
        gap: 15px;
    }
    
    /* Modal de orçamento - Tablet */
    .budget-modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 20px auto;
        padding: 0;
    }
    
    .budget-header {
        padding: 20px 25px;
    }
    
    .budget-header .modal-title {
        font-size: 1.4rem;
    }
    
    .budget-header .modal-subtitle {
        font-size: 0.9rem;
    }
    
    .budget-body {
        padding: 25px;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .budget-progress-steps {
        gap: 20px;
    }
    
    .budget-step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .budget-step-label {
        font-size: 0.75rem;
    }
    
    .budget-modal .budget-progress-step[data-step="5"]:not(.active):not(.completed) .budget-step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        background: #e5e7eb;
        color: var(--metallic-gray);
    }
    
    .budget-modal .budget-progress-step[data-step="5"]:not(.active):not(.completed) .budget-step-label {
        font-size: 0.75rem;
        color: var(--metallic-gray);
    }
    
    .budget-footer {
        padding: 20px 25px;
    }
    
    .form-navigation {
        gap: 10px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .budget-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .budget-service-checkbox {
        padding: 12px;
    }
    
    .budget-service-info {
        gap: 8px;
    }
    
    .budget-service-info i {
        font-size: 1rem;
    }
    
    .budget-service-info span {
        font-size: 0.85rem;
    }
    
    .budget-checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-form-header {
        padding: 10px 15px;
    }
}

/* Media query para telas extra pequenas (320px - 480px) */
@media (max-width: 480px) {
    /* Garantir que o modal seja sempre visível */
    .budget-modal {
        padding: 5px;
    }
    /* Modal de orçamento - Mobile */
    .budget-modal .budget-modal-content {
        width: 98%;
        max-height: 95vh;
        margin: 10px;
    }
    
    .budget-header {
        padding: 15px 20px;
    }
    
    .budget-header .modal-title {
        font-size: 1.2rem;
    }
    
    .budget-header .modal-subtitle {
        font-size: 0.8rem;
    }
    
    .budget-body {
        padding: 20px;
        max-height: 65vh;
        overflow-y: auto;
    }
    
    .budget-modal .budget-form .form-row {
        grid-template-columns: 1fr !important;
        gap: 15px;
        display: grid !important;
    }
    
    .budget-modal .budget-form .form-row .form-group {
        grid-column: 1 / -1 !important;
    }
    
    .budget-form .form-group {
        margin-bottom: 15px;
    }
    
    .budget-form .form-group input,
    .budget-form .form-group select,
    .budget-form .form-group textarea {
        padding: 12px 14px;
        font-size: 16px; /* Previne zoom no iOS */
        min-height: 44px; /* Melhora usabilidade em touch */
        border-radius: 8px;
    }
    
    .budget-form .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .budget-form .form-step-title {
        font-size: 1.2rem;
    }
    
    .budget-form .form-step-description {
        font-size: 0.85rem;
    }
    
    /* Carrossel responsivo para mobile */
    .budget-progress-steps {
        gap: 4px;
        justify-content: flex-start;
        padding: 0 10px;
        /* Mostrar apenas etapas relevantes */
        max-width: 100%;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    .budget-step-number {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }
    
    .budget-step-label {
        font-size: 0.6rem;
        /* Texto mais compacto */
        line-height: 1.1;
        max-width: 60px;
        text-align: center;
    }
    
    .budget-modal .budget-progress-step[data-step="5"]:not(.active):not(.completed) .budget-step-number {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
        background: #e5e7eb;
        color: var(--metallic-gray);
    }
    
    .budget-modal .budget-progress-step[data-step="5"]:not(.active):not(.completed) .budget-step-label {
        font-size: 0.7rem;
        color: var(--metallic-gray);
    }
    
    .budget-footer {
        padding: 15px 20px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }
    
    .budget-modal .budget-services-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .budget-service-checkbox {
        padding: 15px 12px;
        min-height: 60px;
        align-items: center;
        border-radius: 10px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }
    
    .budget-service-checkbox:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(230, 92, 44, 0.15);
    }
    
    .budget-service-info {
        gap: 8px;
        flex: 1;
        min-width: 0;
    }
    
    .budget-service-info i {
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    .budget-service-info span {
        font-size: 0.85rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .budget-conditional-fields {
        margin-top: 15px;
    }
    
    .budget-checkbox-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .budget-checkbox-group label {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    
    /* Melhorar acessibilidade do botão de fechar */
    .budget-modal .modal-close {
        width: 44px;
        height: 44px;
        top: 10px;
        right: 15px;
        font-size: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Melhorar botões de navegação */
    .budget-footer .form-navigation button {
        min-height: 44px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .budget-footer .form-navigation button:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

/* Media query para telas muito pequenas (320px - 360px) */
@media (max-width: 360px) {
    .budget-modal .budget-modal-content {
        width: 100%;
        max-height: 98vh;
        margin: 2px;
        border-radius: 10px;
    }
    
    .budget-header {
        padding: 10px 12px;
    }
    
    .budget-header .modal-title {
        font-size: 1rem;
    }
    
    .budget-header .modal-subtitle {
        font-size: 0.7rem;
    }
    
    .budget-body {
        padding: 12px;
        max-height: 75vh;
    }
    
    .budget-form .form-group input,
    .budget-form .form-group select,
    .budget-form .form-group textarea {
        padding: 10px 12px;
        font-size: 16px;
        min-height: 40px;
    }
    
    .budget-service-checkbox {
        padding: 12px 10px;
        min-height: 55px;
    }
    
    .budget-service-info {
        font-size: 0.8rem;
    }
    
    /* Carrossel para tablets pequenos */
    .budget-progress-steps {
        gap: 8px;
        justify-content: flex-start;
        padding: 0 15px;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    .budget-step-number {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }
    
    .budget-step-label {
        font-size: 0.65rem;
        max-width: 70px;
        text-align: center;
    }
}

/* Media query para telas pequenas (481px - 768px) - Tablets pequenos */
@media (min-width: 481px) and (max-width: 768px) {
    .budget-modal .budget-modal-content {
        width: 95%;
        max-width: 600px;
        margin: 20px auto;
    }
    
    .budget-header {
        padding: 20px 25px;
    }
    
    .budget-header .modal-title {
        font-size: 1.4rem;
    }
    
    .budget-header .modal-subtitle {
        font-size: 0.9rem;
    }
    
    .budget-body {
        padding: 25px;
        max-height: 70vh;
    }
    
    .budget-modal .budget-form .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .budget-modal .budget-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .budget-service-checkbox {
        padding: 15px;
        min-height: 70px;
    }
    
    .budget-progress-steps {
        gap: 20px;
    }
    
    .budget-step-label {
        font-size: 0.75rem;
    }
}

/* Media query para tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .budget-modal .budget-modal-content {
        width: 90%;
        max-width: 700px;
        margin: 30px auto;
    }
    
    .budget-header {
        padding: 20px 30px;
    }
    
    .budget-header .modal-title {
        font-size: 1.4rem;
    }
    
    .budget-header .modal-subtitle {
        font-size: 0.9rem;
    }
    
    .budget-body {
        padding: 30px;
        max-height: 75vh;
    }
    
    .budget-modal .budget-form .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .budget-modal .budget-services-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
    
    .budget-service-checkbox {
        padding: 18px;
        min-height: 80px;
    }
    
    .budget-progress-steps {
        gap: 20px;
    }
    
    .budget-step-label {
        font-size: 0.8rem;
    }
}

/* Media query para desktops pequenos (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .budget-modal .budget-modal-content {
        width: 85%;
        max-width: 800px;
        margin: 40px auto;
    }
    
    .budget-header {
        padding: 25px 35px;
    }
    
    .budget-header .modal-title {
        font-size: 1.6rem;
    }
    
    .budget-header .modal-subtitle {
        font-size: 1rem;
    }
    
    .budget-body {
        padding: 35px;
        max-height: 80vh;
    }
    
    .budget-modal .budget-form .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .budget-modal .budget-services-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
    
    .budget-service-checkbox {
        padding: 15px;
        min-height: 70px;
    }
    
    .budget-progress-steps {
        gap: 25px;
    }
    
    .budget-step-label {
        font-size: 0.85rem;
    }
}


/* Media query para telas grandes (1281px+) - Galaxy S25 Ultra, desktops grandes */
@media (min-width: 1281px) {
    .budget-modal .budget-modal-content {
        width: 80%;
        max-width: 900px;
        margin: 50px auto;
    }
    
    .budget-header {
        padding: 30px 40px;
    }
    
    .budget-header .modal-title {
        font-size: 1.8rem;
    }
    
    .budget-header .modal-subtitle {
        font-size: 1.1rem;
    }
    
    .budget-body {
        padding: 40px;
        max-height: 85vh;
    }
    
    .budget-modal .budget-form .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    
    .budget-modal .budget-services-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 25px;
    }
    
    .budget-service-checkbox {
        padding: 18px;
        min-height: 75px;
    }
    
    .budget-progress-steps {
        gap: 30px;
    }
    
    .budget-step-label {
        font-size: 0.9rem;
    }
}

/* ========================================
   VLIBRAS OFICIAL - INTÉRPRETE DE LIBRAS
   ======================================== */

/* O VLibras funciona automaticamente com todo o conteúdo da página */
/* Não são necessários estilos customizados - o VLibras é auto-suficiente */

/* Estilos para Etapa 3 - Detalhes Desenvolvimento */
.budget-development-details {
    display: none;
}

.budget-development-details.active {
    display: block;
}

.budget-service-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(230, 92, 44, 0.05);
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border: 1px solid rgba(230, 92, 44, 0.1);
}

.budget-service-section h5 {
    color: var(--dark-orange) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-shadow: 0 1px 2px rgba(230, 92, 44, 0.1);
}

.budget-service-section h5 i {
    font-size: 1.2rem !important;
}

/* Regra mais específica para garantir que funcione */
.budget-modal .budget-service-section h5 {
    color: var(--dark-orange) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-shadow: 0 1px 2px rgba(230, 92, 44, 0.1);
}

.budget-modal .budget-service-section h5 i {
    font-size: 1.2rem !important;
}

/* Regra ultra específica para forçar o estilo */
.budget-modal .budget-development-details .budget-service-section h5 {
    color: var(--dark-orange) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-shadow: 0 1px 2px rgba(230, 92, 44, 0.1);
    line-height: 1.2 !important;
}

.budget-modal .budget-development-details .budget-service-section h5 i {
    font-size: 1.2rem !important;
    color: var(--dark-orange) !important;
}

/* Estilos para dropdowns na Etapa 3 */
.budget-modal .budget-service-section select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    font-size: 1rem;
    color: #374151;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.budget-modal .budget-service-section select:focus {
    outline: none;
    border-color: var(--dark-orange);
    box-shadow: 0 0 0 3px rgba(230, 92, 44, 0.1);
}

.budget-modal .budget-service-section select:hover {
    border-color: var(--dark-orange);
    background: rgba(230, 92, 44, 0.02);
}

.budget-modal .budget-service-section select option {
    padding: 10px;
    background: #ffffff;
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    color: #374151;
}

.budget-modal .budget-service-section select option:hover {
    background: rgba(230, 92, 44, 0.1);
}

/* Estilos para labels de duas linhas na barra de progresso */
.budget-step-label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    line-height: 1.2 !important;
    width: 100% !important;
}

.budget-step-label-line1,
.budget-step-label-line2 {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    width: 100% !important;
    white-space: nowrap !important;
}

.budget-step-label-line2 {
    margin-top: 2px !important;
    font-size: 0.75rem !important;
    opacity: 0.9 !important;
}

/* Regra específica para a etapa 3 */
.budget-modal .budget-progress-step[data-step="3"] .budget-step-label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    line-height: 1.2 !important;
    width: 100% !important;
}

.budget-modal .budget-progress-step[data-step="3"] .budget-step-label-line1,
.budget-modal .budget-progress-step[data-step="3"] .budget-step-label-line2 {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    width: 100% !important;
    white-space: nowrap !important;
}

.budget-modal .budget-progress-step[data-step="3"] .budget-step-label-line2 {
    margin-top: 2px !important;
    font-size: 0.75rem !important;
    opacity: 0.9 !important;
}

/* Esconder etapa 3 inicialmente - regra com máxima especificidade */
.budget-modal .budget-progress-container .budget-progress-steps .budget-progress-step[data-step="3"],
.budget-progress-step[data-step="3"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Mostrar etapa 3 quando necessário - regra com máxima especificidade */
.budget-modal .budget-progress-container .budget-progress-steps .budget-progress-step[data-step="3"].show,
.budget-progress-step[data-step="3"].show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 10px !important;
    padding: 0 !important;
    border: initial !important;
    overflow: visible !important;
    position: static !important;
    left: auto !important;
}

/* Regra ultra específica para garantir que a etapa 3 esteja escondida */
.budget-modal .budget-progress-steps .budget-progress-step[data-step="3"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.budget-modal .budget-progress-steps .budget-progress-step[data-step="3"].show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    margin: 0 10px !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* Estilos para Etapa 4 - Detalhes Personalizados */
.budget-progress-step[data-step="4"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

.budget-progress-step[data-step="4"].show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 10px !important;
    padding: 0 !important;
    border: initial !important;
    overflow: visible !important;
    position: static !important;
    left: auto !important;
}

.budget-modal .budget-progress-container .budget-progress-steps .budget-progress-step[data-step="4"],
.budget-progress-step[data-step="4"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

.budget-modal .budget-progress-container .budget-progress-steps .budget-progress-step[data-step="4"].show,
.budget-progress-step[data-step="4"].show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 10px !important;
    padding: 0 !important;
    border: initial !important;
    overflow: visible !important;
    position: static !important;
    left: auto !important;
}

/* Estilos para conteúdo da Etapa 4 */
.budget-custom-details {
    display: none !important;
}

.budget-custom-details.active {
    display: block !important;
}

.budget-custom-service-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(230, 92, 44, 0.05);
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border: 1px solid rgba(230, 92, 44, 0.1);
}

.budget-custom-service-section h5 {
    color: var(--dark-orange) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-shadow: 0 1px 2px rgba(230, 92, 44, 0.1);
    line-height: 1.2 !important;
}

.budget-custom-service-section h5 i {
    font-size: 1.2rem !important;
    color: var(--dark-orange) !important;
}

/* Layout lado a lado para campos específicos na Etapa 3 - Desktop */
@media (min-width: 769px) {
    .budget-service-section .form-row-two-columns {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        align-items: start !important;
        margin-bottom: 20px !important;
    }
    
    .budget-service-section .form-row-two-columns .form-group {
        margin-bottom: 0 !important;
    }
}

/* Regra mais específica para garantir que funcione */
.budget-modal .budget-service-section .form-row-two-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    align-items: start !important;
    margin-bottom: 20px !important;
}

.budget-modal .budget-service-section .form-row-two-columns .form-group {
    margin-bottom: 0 !important;
}

/* Responsividade para tablet e celular - campos em linhas separadas */
@media (max-width: 768px) {
    .budget-service-section .form-row-two-columns {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }
    
    .budget-service-section .form-row-two-columns .form-group {
        margin-bottom: 20px !important;
        display: block !important;
        width: 100% !important;
    }
}

/* Regra específica para o modal */
@media (max-width: 768px) {
    .budget-modal .budget-service-section .form-row-two-columns {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }
    
    .budget-modal .budget-service-section .form-row-two-columns .form-group {
        margin-bottom: 20px !important;
        display: block !important;
        width: 100% !important;
    }
}

/* Popup de ajuda para serviços - Hover */
.budget-services-grid {
    overflow: visible !important;
}

.budget-service-checkbox {
    overflow: visible !important;
    position: relative;
}


/* Garantir que o modal permita overflow */
.budget-modal .modal-content {
    overflow: visible !important;
}

.budget-modal .form-step {
    overflow: visible !important;
}

/* Popup de ajuda para serviços */
.service-help-popup {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: #ffffff;
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    overflow: hidden;
    /* Garantir que não haja linhas extras na parte superior */
    border-top: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    /* Melhorar qualidade visual */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: opacity, visibility, transform;
    /* Garantir bordas suaves */
    -webkit-border-radius: 12px 12px 12px 12px;
    -moz-border-radius: 12px 12px 12px 12px;
    border-radius: 12px 12px 12px 12px;
    /* Forçar aplicação do border-radius */
    -webkit-border-top-left-radius: 12px;
    -webkit-border-top-right-radius: 12px;
    -webkit-border-bottom-left-radius: 12px;
    -webkit-border-bottom-right-radius: 12px;
    -moz-border-radius-topleft: 12px;
    -moz-border-radius-topright: 12px;
    -moz-border-radius-bottomleft: 12px;
    -moz-border-radius-bottomright: 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    -webkit-border-radius: 12px 12px 12px 12px;
    -moz-border-radius: 12px 12px 12px 12px;
    /* Melhorar renderização e evitar quebras de pixel */
    transform: translateX(-50%) translateY(-100%) translateZ(0);
    -webkit-transform: translateX(-50%) translateY(-100%) translateZ(0);
    /* Forçar aceleração de hardware */
    -webkit-perspective: 1000px;
    perspective: 1000px;
    /* Evitar quebras de pixel */
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    /* Melhorar subpixel rendering */
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}

.budget-service-checkbox:hover .service-help-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-100%) translateZ(0);
    -webkit-transform: translateX(-50%) translateY(-100%) translateZ(0);
    z-index: 99999;
    pointer-events: none;
    /* Melhorar qualidade visual no hover */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Garantir bordas arredondadas no hover */
    border-radius: 12px !important;
    -webkit-border-radius: 12px !important;
    -moz-border-radius: 12px !important;
}

/* Garantir que popup apareça em cards selecionados também */
.budget-service-checkbox:has(input[type="checkbox"]:checked):hover .service-help-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-100%) translateZ(0);
    -webkit-transform: translateX(-50%) translateY(-100%) translateZ(0);
    z-index: 99999;
    pointer-events: none;
    /* Garantir que popup apareça no card correto */
    position: absolute;
    top: -15px;
    left: 50%;
    /* Melhorar qualidade visual no estado checked */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Garantir bordas arredondadas no estado checked */
    border-radius: 12px !important;
    -webkit-border-radius: 12px !important;
    -moz-border-radius: 12px !important;
}


/* Evitar que popup interfira com seleção */
.budget-service-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    z-index: 20;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    pointer-events: auto;
    /* Garantir que o checkbox cubra toda a área do card */
    min-width: 100%;
    min-height: 100%;
}


.budget-service-checkbox .budget-service-info {
    z-index: 5;
    position: relative;
    pointer-events: none;
    flex: 1;
    min-width: 0;
}


/* Estabilizar tamanho dos cards */
.budget-service-checkbox {
    position: relative;
    width: 100%;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    overflow: visible !important;
    flex-shrink: 0;
    flex-grow: 0;
    flex-basis: auto;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.service-help-popup::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg) translateZ(0);
    -webkit-transform: translateX(-50%) rotate(45deg) translateZ(0);
    width: 16px;
    height: 16px;
    background: #ffffff;
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-left: none;
    /* Melhorar qualidade visual da seta */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Garantir bordas suaves */
    -webkit-border-radius: 0 0 3px 0;
    -moz-border-radius: 0 0 3px 0;
    border-radius: 0 0 3px 0;
}

.service-help-popup .popup-title {
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
    font-size: 16px;
    /* Melhorar qualidade visual do título */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-display: swap;
}

.service-help-popup .popup-description {
    color: #6B7280;
    margin: 0;
    line-height: 1.6;
    /* Melhorar qualidade visual da descrição */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-display: swap;
}

/* Responsividade para popups em diferentes tamanhos de tela */

/* Desktop Grande (1200px+) */
@media (min-width: 1200px) {
    .service-help-popup {
        min-width: 320px;
        max-width: 400px;
        padding: 18px 22px;
        font-size: 15px;
    }
    
    .service-help-popup .popup-title {
        font-size: 16px;
    }
    
    .service-help-popup .popup-description {
        font-size: 15px;
        line-height: 1.6;
    }
    
    /* Limitar popup dentro do modal */
    .budget-modal .form-step[data-step="2"] .service-help-popup {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

/* Desktop Médio (1025px - 1199px) */
@media (max-width: 1199px) and (min-width: 1025px) {
    .service-help-popup {
        min-width: 300px;
        max-width: 380px;
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .service-help-popup .popup-title {
        font-size: 15px;
    }
    
    .service-help-popup .popup-description {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Limitar popup dentro do modal */
    .budget-modal .form-step[data-step="2"] .service-help-popup {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .service-help-popup {
        min-width: 280px;
        max-width: 350px;
        padding: 14px 18px;
        font-size: 13px;
    }
    
    .service-help-popup .popup-title {
        font-size: 15px;
    }
    
    .service-help-popup .popup-description {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Limitar popup dentro do modal */
    .budget-modal .form-step[data-step="2"] .service-help-popup {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile Landscape (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .service-help-popup {
        min-width: 250px;
        max-width: 320px;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .service-help-popup .popup-title {
        font-size: 14px;
    }
    
    .service-help-popup .popup-description {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Ajustar grid para tablets */
    .budget-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        padding: 12px 0;
    }
    
    /* Limitar popup dentro do modal */
    .budget-modal .form-step[data-step="2"] .service-help-popup {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .service-help-popup {
        min-width: 200px;
        max-width: calc(100vw - 40px);
        padding: 10px 14px;
        font-size: 12px;
        left: 50%;
        transform: translateX(-50%) translateY(-100%);
    }
    
    .service-help-popup .popup-title {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .service-help-popup .popup-description {
        font-size: 12px;
        line-height: 1.3;
    }
    
    /* Ajustar grid para mobile */
    .budget-services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 8px 0;
        pointer-events: none;
    }
    
    .budget-services-grid .budget-service-checkbox {
        pointer-events: auto;
        height: 70px;
        min-height: 70px;
        max-height: 70px;
        padding: 10px;
    }
    
    /* Ajustar texto para mobile */
    .budget-service-checkbox .budget-service-info span {
        font-size: 0.8rem;
        line-height: 1.2;
        max-height: 2.2em;
        -webkit-line-clamp: 2;
    }
    
    /* Limitar popup dentro do modal */
    .budget-modal .form-step[data-step="2"] .service-help-popup {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile muito pequeno (até 320px) */
@media (max-width: 320px) {
    .service-help-popup {
        min-width: 180px;
        max-width: calc(100vw - 20px);
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .service-help-popup .popup-title {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .service-help-popup .popup-description {
        font-size: 11px;
        line-height: 1.2;
    }
    
    .budget-services-grid {
        gap: 12px;
        padding: 6px 0;
    }
    
    .budget-services-grid .budget-service-checkbox {
        height: 65px;
        min-height: 65px;
        max-height: 65px;
        padding: 8px;
    }
    
    .budget-service-checkbox .budget-service-info span {
        font-size: 0.75rem;
        line-height: 1.1;
        max-height: 2em;
    }
    
    /* Limitar popup dentro do modal */
    .budget-modal .form-step[data-step="2"] .service-help-popup {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile Landscape (481px - 768px) em orientação landscape */
@media (max-width: 768px) and (min-width: 481px) and (orientation: landscape) {
    .service-help-popup {
        min-width: 220px;
        max-width: 280px;
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .service-help-popup .popup-title {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .service-help-popup .popup-description {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .budget-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 8px 0;
    }
    
    .budget-services-grid .budget-service-checkbox {
        height: 65px;
        min-height: 65px;
        max-height: 65px;
        padding: 8px;
    }
    
    /* Limitar popup dentro do modal */
    .budget-modal .form-step[data-step="2"] .service-help-popup {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .service-help-popup {
        transition: none;
    }
}

/* Garantir que popups não interfiram com outros elementos */
.service-help-popup {
    will-change: opacity, visibility, transform;
    /* Forçar bordas perfeitamente arredondadas */
    border-radius: 12px !important;
    -webkit-border-radius: 12px !important;
    -moz-border-radius: 12px !important;
    /* Garantir que todas as bordas sejam suavemente arredondadas */
    -webkit-border-top-left-radius: 12px !important;
    -webkit-border-top-right-radius: 12px !important;
    -webkit-border-bottom-left-radius: 12px !important;
    -webkit-border-bottom-right-radius: 12px !important;
    -moz-border-radius-topleft: 12px !important;
    -moz-border-radius-topright: 12px !important;
    -moz-border-radius-bottomleft: 12px !important;
    -moz-border-radius-bottomright: 12px !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    /* Evitar "pontas" nos cantos */
    -webkit-border-image: none !important;
    border-image: none !important;
    /* Garantir renderização suave */
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
}

/* Correção específica para bordas do popup - evitar "pontas" */
.service-help-popup {
    /* Forçar bordas perfeitamente arredondadas sem "pontas" */
    border-radius: 12px !important;
    -webkit-border-radius: 12px !important;
    -moz-border-radius: 12px !important;
    /* Remover qualquer imagem de borda que possa causar "pontas" */
    -webkit-border-image: none !important;
    border-image: none !important;
    /* Garantir que não há elementos que causem "pontas" */
    outline: none !important;
    -webkit-outline: none !important;
    /* Forçar renderização suave */
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    /* Garantir que o background cubra completamente */
    background-clip: padding-box !important;
    -webkit-background-clip: padding-box !important;
    /* Garantir que não haja linhas extras na parte superior */
    border-top: 1px solid #e5e7eb !important;
    border-left: 1px solid #e5e7eb !important;
    border-right: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
    /* Garantir que o conteúdo não ultrapasse as bordas */
    overflow: hidden !important;
    /* Garantir que não haja elementos sobrepostos */
    position: relative !important;
    z-index: 99999 !important;
    /* Remover qualquer pseudo-elemento que possa causar sobreposição */
    isolation: isolate !important;
}

/* Remover pseudo-elementos que possam causar sobreposição */
.service-help-popup::before,
.service-help-popup::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Garantir que não haja elementos sobrepostos na parte superior */
.service-help-popup * {
    position: relative !important;
    z-index: 1 !important;
}

/* Garantir que o popup seja único e não tenha duplicatas */
.service-help-popup {
    /* Remover qualquer elemento que possa estar sobreposto */
    contain: layout style paint !important;
    -webkit-contain: layout style paint !important;
    /* Garantir que não haja elementos flutuantes */
    float: none !important;
    clear: both !important;
}

/* Evitar piscar e mouse tremendo */
.budget-service-checkbox {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* Estabilizar hover para evitar piscar */
.budget-service-checkbox:hover .service-help-popup {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    z-index: 99999;
    pointer-events: none;
}


/* Garantir que cards não mudem de tamanho */
.budget-service-checkbox:has(input[type="checkbox"]:checked) {
    flex-shrink: 0;
    flex-grow: 0;
    flex-basis: auto;
    width: 100%;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    min-width: 0;
    max-width: 100%;
}

/* Prevenir que conteúdo interno cause mudanças de largura */
.budget-service-checkbox .budget-service-info {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    flex-shrink: 1;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 10;
    /* Permitir quebra de linha para textos longos */
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.3;
    /* Centralizar verticalmente */
    justify-content: flex-start;
    align-self: center;
}

/* Garantir que texto seja visível em cards selecionados */
.budget-service-checkbox:has(input[type="checkbox"]:checked) .budget-service-info {
    color: var(--dark-orange);
    font-weight: 600;
    transform: translateX(2px);
}

/* Garantir que o span dentro do service-info seja visível */
.budget-service-checkbox .budget-service-info span {
    color: inherit;
    font-weight: inherit;
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    position: relative;
    z-index: 10;
    /* Permitir quebra de linha para textos longos */
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.3;
    max-height: 2.6em; /* Aproximadamente 2 linhas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* Centralizar verticalmente */
    align-self: center;
    margin: 0;
}

.budget-service-checkbox:has(input[type="checkbox"]:checked) .budget-service-info span {
    color: var(--dark-orange);
    font-weight: 600;
}

/* Garantir que o ícone seja visível em cards selecionados */
.budget-service-checkbox:has(input[type="checkbox"]:checked) .budget-service-info i {
    color: var(--dark-orange);
    font-weight: 600;
}


/* Garantir que o grid mantenha tamanho consistente */
.budget-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
    align-items: stretch;
    width: 100%;
    padding: 15px 0;
    isolation: isolate;
    contain: layout;
    /* Garantir que cards não interfiram entre si */
    position: relative;
    /* Eliminar interferência no gap entre cards */
    pointer-events: none;
}

/* Garantir que apenas os cards sejam clicáveis */
.budget-services-grid .budget-service-checkbox {
    pointer-events: auto;
}

/* Garantir que todos os cards tenham o mesmo tamanho */
.budget-services-grid .budget-service-checkbox {
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    flex-grow: 0;
    flex-basis: auto;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Garantir que popup fique contido no card */
    overflow: visible;
    isolation: isolate;
    /* Garantir que popup seja posicionado corretamente */
    contain: layout;
    /* Eliminar interferência no gap */
    pointer-events: auto;
    margin: 0;
    padding: 15px;
    /* Garantir que efeitos visuais não se estendam além dos limites */
    overflow: hidden;
}

/* Estabilizar hover em cards individuais */
.budget-services-grid .budget-service-checkbox:hover {
    z-index: 50;
    position: relative;
    transform: translateY(-2px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Garantir que hover seja estável */
    pointer-events: auto;
    isolation: isolate;
}

/* Garantir que o popup não interfira com a seleção */
.budget-services-grid .budget-service-checkbox .service-help-popup {
    pointer-events: none;
    z-index: 99999;
}

/* Eliminar interferência no gap entre cards */
.budget-services-grid::before,
.budget-services-grid::after {
    display: none !important;
}

.budget-services-grid * {
    pointer-events: none;
}

.budget-services-grid .budget-service-checkbox {
    pointer-events: auto;
}

.budget-services-grid .budget-service-checkbox * {
    pointer-events: none;
}

.budget-services-grid .budget-service-checkbox input[type="checkbox"] {
    pointer-events: auto;
}

/* Garantir que o formulário funcione corretamente */
.budget-services-grid input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 20;
}

/* Garantir que popup apareça na frente de qualquer elemento da etapa 2 */
.budget-modal .form-step[data-step="2"] .service-help-popup {
    z-index: 99999 !important;
    position: absolute !important;
    /* Garantir que popup seja posicionado corretamente */
    top: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-100%) !important;
    /* Limitar largura para não ultrapassar limites do modal */
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.budget-modal .form-step[data-step="2"] .budget-service-checkbox:hover .service-help-popup {
    z-index: 99999 !important;
    position: absolute !important;
    top: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-100%) !important;
    /* Limitar largura para não ultrapassar limites do modal */
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.budget-modal .form-step[data-step="2"] .budget-service-checkbox:has(input[type="checkbox"]:checked) .service-help-popup {
    z-index: 99999 !important;
    position: absolute !important;
    top: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-100%) !important;
    /* Limitar largura para não ultrapassar limites do modal */
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

/* Garantir que checkbox customizado fique abaixo do popup */
.budget-modal .form-step[data-step="2"] .budget-checkbox-custom {
    z-index: 1 !important;
}

.budget-modal .form-step[data-step="2"] .budget-service-info {
    z-index: 1 !important;
}

.budget-modal .form-step[data-step="2"] .budget-service-checkbox {
    z-index: 1 !important;
}

/* Garantir que o label seja clicável */
.budget-service-checkbox {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    background: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible !important;
    box-sizing: border-box;
}

/* Simplificar hover - agora que checkbox cobre toda a área */
.budget-service-checkbox:hover .service-help-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-100%);
    z-index: 99999;
    pointer-events: none;
    /* Garantir que popup apareça no card correto */
    position: absolute;
    top: -15px;
    left: 50%;
}

/* Garantir que popup apareça apenas no card correto */
.budget-service-checkbox .service-help-popup {
    /* Garantir que popup fique contido no card pai */
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    /* Limitar largura para não interferir com cards adjacentes */
    max-width: calc(100% - 20px);
    min-width: 300px;
    /* Garantir que não se estenda além dos limites */
    white-space: normal;
    word-wrap: break-word;
    /* Garantir que popup fique vinculado ao card correto */
    z-index: 99999;
    pointer-events: none;
}

/* Estabilizar hover para evitar contorno "pulando" */
.budget-service-checkbox {
    isolation: isolate;
    contain: layout;
    /* Garantir que efeitos visuais não se estendam além dos limites */
    overflow: hidden;
    position: relative;
}

.budget-service-checkbox:hover {
    isolation: isolate;
    contain: layout;
    will-change: transform, box-shadow;
    /* Garantir que efeitos não se estendam além dos limites */
    overflow: hidden;
    position: relative;
}

/* Garantir que apenas um card tenha hover ativo por vez */
.budget-services-grid .budget-service-checkbox:not(:hover) {
    z-index: 1;
    /* Garantir que cards não hovered não tenham efeitos visuais */
    transform: none;
    box-shadow: none;
    border-color: #e5e7eb;
}

.budget-services-grid .budget-service-checkbox:hover {
    z-index: 50;
}

/* Garantir que cards não selecionados não tenham efeitos de fundo */
.budget-service-checkbox:not(:has(input[type="checkbox"]:checked)):not(:hover) {
    background: var(--white);
    border-color: #e5e7eb;
    box-shadow: none;
    transform: none;
}

/* Garantir que pseudo-elementos só apareçam no hover */
.budget-service-checkbox:not(:hover)::before {
    opacity: 0;
    visibility: hidden;
    left: -100%;
}

/* Regra específica para a etapa 4 - Detalhes Personalizados */
.budget-modal .budget-progress-step[data-step="4"] .budget-step-label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    line-height: 1.2 !important;
    width: 100% !important;
}

.budget-modal .budget-progress-step[data-step="4"] .budget-step-label-line1,
.budget-modal .budget-progress-step[data-step="4"] .budget-step-label-line2 {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    width: 100% !important;
    white-space: nowrap !important;
}

.budget-modal .budget-progress-step[data-step="4"] .budget-step-label-line2 {
    margin-top: 2px !important;
    font-size: 0.75rem !important;
    opacity: 0.9 !important;
}

/* Regra específica para a etapa 5 - Confirmação */
.budget-modal .budget-progress-step[data-step="5"] {
    display: flex !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    left: auto !important;
}


.budget-modal .budget-progress-step[data-step="5"].active .budget-step-number {
    background: linear-gradient(135deg, var(--dark-orange) 0%, var(--burnt-yellow) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 92, 44, 0.3);
    transform: scale(1.1);
    animation: pulseActive 2s ease-in-out infinite;
}

.budget-modal .budget-progress-step[data-step="5"].active .budget-step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 50%;
}

.budget-modal .budget-progress-step[data-step="5"].completed .budget-step-number {
    background: linear-gradient(135deg, var(--emerald-green) 0%, #10b981 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transform: scale(1.05);
}

.budget-modal .budget-progress-step[data-step="5"].completed .budget-step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    border-radius: 50%;
}


.budget-modal .budget-progress-step[data-step="5"].active .budget-step-label {
    color: var(--dark-orange);
    font-weight: 600;
}

.budget-modal .budget-progress-step[data-step="5"].completed .budget-step-label {
    color: var(--emerald-green);
    font-weight: 600;
}

/* Media query para telas extra pequenas (320px) */
@media (max-width: 320px) {
    .budget-modal-content {
        width: 100%;
        margin: 5px;
    }
    
    .budget-header {
        padding: 12px 15px;
    }
    
    .budget-header .modal-title {
        font-size: 1.1rem;
    }
    
    .budget-header .modal-subtitle {
        font-size: 0.75rem;
    }
    
    .budget-body {
        padding: 15px;
    }
    
    .budget-modal .budget-form .form-row {
        grid-template-columns: 1fr !important;
        gap: 12px;
        display: grid !important;
    }
    
    .budget-modal .budget-form .form-row .form-group {
        grid-column: 1 / -1 !important;
    }
    
    .budget-form .form-group {
        margin-bottom: 12px;
    }
    
    .budget-form .form-group input,
    .budget-form .form-group select,
    .budget-form .form-group textarea {
        padding: 12px 14px;
        font-size: 16px;
    }
    
    .budget-form .form-group label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .budget-services-grid {
        grid-template-columns: 1fr !important;
        gap: 8px;
    }
    
    .budget-service-checkbox {
        padding: 12px 10px;
        min-height: 55px;
    }
    
    .budget-service-info span {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .budget-service-info i {
        font-size: 1rem;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-subtitle {
        font-size: 0.9rem;
    }
    
    .form-progress-container {
        padding: 10px 15px;
    }
    
    .form-progress-steps {
        gap: 5px;
    }
    
    .form-step-number {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .step-label {
        font-size: 0.6rem;
    }
    
    .project-form-body {
        padding: 12px 15px 15px 15px;
        max-height: calc(99vh - 120px);
    }
    
    .form-step-title {
        font-size: 1.3rem;
    }
    
    .form-step-description {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .service-checkbox {
        padding: 12px;
    }
    
    .service-info span {
        font-size: 0.85rem;
    }
    
    .project-form-footer {
        padding: 10px 15px;
    }
}

/* ========================================
   ETAPA DE CONFIRMAÇÃO LUXUOSA
   ======================================== */

/* Header da confirmação */
.confirmation-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, 
        rgba(230, 92, 44, 0.05) 0%, 
        rgba(30, 58, 95, 0.05) 50%, 
        rgba(18, 25, 33, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(230, 92, 44, 0.1);
    position: relative;
    overflow: hidden;
}

.confirmation-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--dark-orange) 0%, 
        var(--petrol-blue) 50%, 
        var(--dark-orange) 100%);
}

.confirmation-icon {
    margin-bottom: 20px;
    animation: pulseGlow 2s ease-in-out infinite;
}

.confirmation-icon i {
    font-size: 4rem;
    color: var(--dark-orange);
    text-shadow: 0 0 20px rgba(230, 92, 44, 0.3);
    filter: drop-shadow(0 4px 8px rgba(230, 92, 44, 0.2));
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.confirmation-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.confirmation-subtitle {
    font-size: 1.1rem;
    color: var(--metallic-gray);
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
}

/* Resumo da confirmação */
.confirmation-summary {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    border-radius: 20px;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(230, 92, 44, 0.1);
    overflow: hidden;
    position: relative;
}

.confirmation-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--dark-orange) 0%, 
        var(--petrol-blue) 50%, 
        var(--emerald-green) 100%);
}

/* Seções do resumo */
.confirmation-section {
    padding: 30px;
    border-bottom: 1px solid rgba(230, 92, 44, 0.08);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.confirmation-section:hover {
    background: rgba(230, 92, 44, 0.02);
    transform: translateY(-1px);
}

.confirmation-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(230, 92, 44, 0.1);
    position: relative;
}

.confirmation-section-title i {
    font-size: 1.4rem;
    color: var(--dark-orange);
    text-shadow: 0 2px 4px rgba(230, 92, 44, 0.2);
}

.confirmation-section-title h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
    letter-spacing: -0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.confirmation-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--dark-orange), var(--petrol-blue));
    border-radius: 1px;
}

/* Itens do resumo */
.confirmation-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(230, 92, 44, 0.05);
    transition: all 0.2s ease;
}

.confirmation-item:last-child {
    border-bottom: none;
}

.confirmation-item:hover {
    background: rgba(230, 92, 44, 0.03);
    padding-left: 10px;
    border-radius: 8px;
}

.confirmation-label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.95rem;
    min-width: 140px;
    margin-right: 20px;
    letter-spacing: -0.2px;
}

.confirmation-value {
    color: var(--metallic-gray);
    font-size: 0.95rem;
    font-weight: 400;
    flex: 1;
    text-align: right;
    line-height: 1.4;
    word-break: break-word;
}

/* Valores especiais */
.confirmation-value.highlight {
    color: var(--dark-orange);
    font-weight: 600;
    background: rgba(230, 92, 44, 0.08);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.confirmation-value.budget {
    color: var(--emerald-green);
    font-weight: 600;
    font-size: 1rem;
}

/* Footer da confirmação */
.confirmation-footer {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, 
        rgba(230, 92, 44, 0.03) 0%, 
        rgba(30, 58, 95, 0.03) 100%);
    border-radius: 15px;
    border: 1px solid rgba(230, 92, 44, 0.1);
}

.confirmation-note {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--metallic-gray);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

.confirmation-note i {
    color: var(--emerald-green);
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(46, 139, 87, 0.2);
}

/* Animações luxuosas */
.confirmation-summary {
    animation: slideInUp 0.6s ease-out;
}

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

.confirmation-section {
    animation: fadeInLeft 0.5s ease-out;
    animation-fill-mode: both;
}

.confirmation-section:nth-child(1) { animation-delay: 0.1s; }
.confirmation-section:nth-child(2) { animation-delay: 0.2s; }
.confirmation-section:nth-child(3) { animation-delay: 0.3s; }
.confirmation-section:nth-child(4) { animation-delay: 0.4s; }

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

/* Responsividade para a confirmação */
@media (max-width: 768px) {
    .confirmation-title {
        font-size: 1.8rem;
    }
    
    .confirmation-subtitle {
        font-size: 1rem;
    }
    
    .confirmation-icon i {
        font-size: 3rem;
    }
    
    .confirmation-section {
        padding: 20px;
    }
    
    .confirmation-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .confirmation-label {
        min-width: auto;
        margin-right: 0;
        font-size: 0.9rem;
    }
    
    .confirmation-value {
        text-align: left;
        font-size: 0.9rem;
    }
    
    .confirmation-note {
        font-size: 0.85rem;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .confirmation-header {
        padding: 20px 0;
        margin-bottom: 25px;
    }
    
    .confirmation-title {
        font-size: 1.6rem;
    }
    
    .confirmation-section {
        padding: 15px;
    }
    
    .confirmation-section-title h5 {
        font-size: 1.1rem;
    }
}

/* Animação para campos pendentes */
@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Animação para scroll suave */
@keyframes scroll-highlight {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Estilos para campos pendentes */
.pending-field {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

/* Destacar checkboxes pendentes */
.pending-field + span {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

/* Indicador visual durante scroll */
.scrolling-to-field {
    transition: scroll-behavior 0.6s ease-in-out;
}

/* Melhorar a experiência de scroll no modal de orçamento */
.budget-body {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

/**
 * BANNER DE CONSENTIMENTO DE COOKIES
 * 
 * Banner na parte inferior da tela para solicitar consentimento de cookies
 * em conformidade com a LGPD
 */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #121921 0%, #0f1c2f 100%);
    border-top: 3px solid var(--dark-orange, #e65c2c);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    padding: 20px;
    animation: slideUpCookie 0.5s ease-out;
}

@keyframes slideUpCookie {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    color: var(--white, #ffffff);
}

.cookie-consent-text i {
    font-size: 2rem;
    color: var(--dark-orange, #e65c2c);
    margin-top: 5px;
    flex-shrink: 0;
}

.cookie-consent-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white, #ffffff);
}

.cookie-consent-message {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cookie-consent-message a {
    color: var(--dark-orange, #e65c2c);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cookie-consent-message a:hover {
    color: var(--burnt-yellow, #c44536);
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--dark-orange, #e65c2c), var(--burnt-yellow, #c44536));
    color: var(--white, #ffffff);
    box-shadow: 0 4px 15px rgba(230, 92, 44, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 92, 44, 0.4);
}

.cookie-btn-essential {
    background: transparent;
    border: 2px solid var(--white, #ffffff);
    color: var(--white, #ffffff);
}

.cookie-btn-essential:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-reject {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.8);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--white, #ffffff);
    color: var(--white, #ffffff);
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 15px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .cookie-consent-text {
        gap: 12px;
    }
    
    .cookie-consent-text i {
        font-size: 1.5rem;
    }
    
    .cookie-consent-title {
        font-size: 1rem;
    }
    
    .cookie-consent-message {
        font-size: 0.85rem;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 14px 24px;
    }
}