/* ==========================================================================
   XERFAN TECH LAB - style.css v2.0
   Design System Completo | Modo Claro & Escuro
   ========================================================================== */

/* ==========================================================================
   1. VARIÁVEIS GLOBAIS - DESIGN TOKENS
   ========================================================================== */
:root {
    /* — Paleta da Marca — */
    --orange-50:  #fff7ed;
    --orange-100: #ffedd5;
    --orange-200: #fed7aa;
    --orange-300: #fdba74;
    --orange-400: #fb923c;
    --orange-500: #f97316;   /* Cor principal */
    --orange-600: #ea580c;
    --orange-700: #c2410c;

    --blue-50:  #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --blue-950: #172554;

    /* — Superfícies (Modo Claro) — */
    --bg-page:        #f8fafc;
    --bg-card:        #ffffff;
    --bg-card-hover:  #f9fafb;
    --bg-subtle:      #f1f5f9;
    --text-primary:   #0f172a;
    --text-secondary: #475569;
    --text-muted:     #94a3b8;
    --border-color:   #e2e8f0;
    --border-subtle:  #f1f5f9;

    /* — Sombras — */
    --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --shadow-orange: 0 10px 30px -5px rgba(249,115,22,0.35);
    --shadow-blue:   0 10px 30px -5px rgba(59,130,246,0.25);

    /* — Transições — */
    --transition-fast:   all 0.15s ease;
    --transition:        all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:   all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* — Bordas — */
    --radius-sm:  0.375rem;
    --radius-md:  0.625rem;
    --radius-lg:  1rem;
    --radius-xl:  1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* — Tipografia — */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* — Z-index — */
    --z-dropdown:  100;
    --z-sticky:    200;
    --z-fixed:     300;
    --z-modal:     400;
    --z-popover:   500;
    --z-toast:     600;
}

/* ==========================================================================
   2. TEMA ESCURO
   ========================================================================== */
.dark {
    --bg-page:        #0f172a;
    --bg-card:        #1e293b;
    --bg-card-hover:  #263548;
    --bg-subtle:      #162032;
    --text-primary:   #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted:     #64748b;
    --border-color:   #334155;
    --border-subtle:  #1e293b;
    --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -1px rgba(0,0,0,0.2);
    --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.3), 0 4px 6px -2px rgba(0,0,0,0.2);
    --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.4), 0 10px 10px -5px rgba(0,0,0,0.2);
}

/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* Seleção de texto com cor da marca */
::selection {
    background: rgba(249, 115, 22, 0.25);
    color: var(--text-primary);
}

/* Scrollbar customizada */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-subtle); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--orange-400), var(--orange-600));
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-subtle);
}
::-webkit-scrollbar-thumb:hover { background: var(--orange-500); }

/* ==========================================================================
   4. LAYOUT UTILITÁRIOS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: 5rem 0; }
.section-padding-sm { padding: 3rem 0; }
.section-padding-lg { padding: 7rem 0; }

/* ==========================================================================
   5. TIPOGRAFIA
   ========================================================================== */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
}

.text-orange   { color: var(--orange-500); }
.text-gradient {
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-blue {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-multi {
    background: linear-gradient(135deg, var(--orange-400), #facc15, var(--orange-500));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Badge / etiqueta inline */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
.badge-orange {
    background: rgba(249,115,22,0.12);
    color: var(--orange-600);
    border: 1px solid rgba(249,115,22,0.2);
}
.badge-blue {
    background: rgba(59,130,246,0.12);
    color: var(--blue-600);
    border: 1px solid rgba(59,130,246,0.2);
}
.badge-green {
    background: rgba(34,197,94,0.12);
    color: #16a34a;
    border: 1px solid rgba(34,197,94,0.2);
}
.badge-new {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    box-shadow: 0 2px 8px rgba(249,115,22,0.4);
}

/* ==========================================================================
   6. BOTÕES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.2s ease;
}
.btn:hover::before { background: rgba(255,255,255,0.08); }

.btn-primary {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(249,115,22,0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    border-color: var(--orange-400);
    color: var(--orange-500);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: none;
}
.btn-ghost:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
}
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    border-radius: var(--radius-xl);
}
.btn-xl {
    padding: 1.2rem 3rem;
    font-size: 1.125rem;
    border-radius: var(--radius-xl);
}
.btn-auto { width: auto !important; }
.btn-full { width: 100%; }

/* Efeito "Magic" do botão */
.btn-magic {
    position: relative;
    overflow: hidden;
}
.btn-magic::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}
.btn-magic:hover::after { width: 400px; height: 400px; }

/* ==========================================================================
   7. CABEÇALHO
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: var(--z-fixed);
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.dark .header {
    background-color: rgba(15, 23, 42, 0.95);
    border-bottom-color: var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}
.logo-img {
    height: 3.25rem;
    width: auto;
    transition: var(--transition);
}
.logo-container:hover .logo-img { transform: scale(1.06) rotate(-1deg); }

.dark .logo-container {
    background-color: rgba(255,255,255,0.92);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-md);
}

/* Nav Links */
.nav-menu { display: flex; gap: 0.25rem; align-items: center; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}
.nav-link:hover {
    color: var(--orange-500);
    background-color: rgba(249,115,22,0.06);
}
.nav-link.active {
    color: var(--orange-500);
    background-color: rgba(249,115,22,0.1);
    font-weight: 600;
}

/* Botão do tema */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem; height: 2.5rem;
    border: none;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}
.theme-toggle:hover {
    background: rgba(249,115,22,0.1);
    transform: scale(1.08) rotate(12deg);
}

/* ==========================================================================
   8. HERO SECTIONS
   ========================================================================== */
.hero-home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 40%, #7c2d12 100%);
    overflow: hidden;
    padding-top: 5rem;
    color: white;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(249,115,22,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.12) 0%, transparent 50%);
    pointer-events: none;
}

.hero-page {
    background: linear-gradient(135deg, var(--blue-950), var(--blue-900) 50%, var(--orange-700));
    color: white;
    padding: 9rem 0 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(249,115,22,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-page-title {
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hero-page-desc {
    font-size: 1.2rem;
    color: var(--blue-100);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Watermark decorativo */
.hero-bg-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
}
.hero-bg-watermark img {
    width: 60%;
    max-width: 50rem;
    opacity: 0.06;
    filter: blur(6px) drop-shadow(0 0 40px rgba(249,115,22,0.5));
}

/* Animações do hero */
@keyframes float-up {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%       { transform: translateY(-18px) rotate(3deg); }
    66%       { transform: translateY(-8px) rotate(-2deg); }
}
.animate-float { animation: float-up 7s ease-in-out infinite; }

.hero-image-container {
    position: relative;
    z-index: 10;
    max-width: 28rem;
    margin: 0 auto;
}
.hero-image {
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
}
.hero-image-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse, rgba(249,115,22,0.25) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50%       { opacity: 1;   transform: scale(1.05); }
}

/* ==========================================================================
   9. CARDS E GRIDS
   ========================================================================== */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}
.grid-cards-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.75rem;
}
.grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
}
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
}

/* Card base */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249,115,22,0) 0%, rgba(249,115,22,0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}
.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    border-color: rgba(249,115,22,0.2);
}
.card:hover::before { opacity: 1; }

/* Card sem padding (para imagens) */
.card-body-no-padding { padding: 0; }
.card-content-padding { padding: 1.5rem; }

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Ícone do card */
.card-icon {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    margin-bottom: 1.5rem;
    color: white;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    box-shadow: 0 6px 16px rgba(249,115,22,0.35);
    transition: var(--transition-bounce);
}
.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(249,115,22,0.45);
}

.card-icon-blue {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    box-shadow: 0 6px 16px rgba(59,130,246,0.3);
}
.card-icon-green {
    background: linear-gradient(135deg, #22c55e, #15803d);
    box-shadow: 0 6px 16px rgba(34,197,94,0.3);
}
.card-icon-purple {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    box-shadow: 0 6px 16px rgba(168,85,247,0.3);
}

/* Card com imagem */
.card-image-box {
    width: 100%;
    height: 14rem;
    overflow: hidden;
    background: var(--bg-subtle);
    position: relative;
}
.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover .card-image { transform: scale(1.08); }

/* Overlay de imagem */
.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card:hover .card-image-overlay { opacity: 1; }

/* Card de stats */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-500), var(--blue-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.stat-card:hover::after { transform: scaleX(1); }

/* ==========================================================================
   10. FORMULÁRIOS
   ========================================================================== */
.form-container {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

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

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-label i { color: var(--orange-500); font-size: 0.8rem; }

.form-input {
    width: 100%;
    padding: 0.8125rem 1.125rem;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-color);
    background: var(--bg-page);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition);
    appearance: none;
}
.form-input:hover {
    border-color: rgba(249,115,22,0.4);
}
.form-input:focus {
    outline: none;
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
    background: var(--bg-card);
}
.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.form-input.success {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.1);
}

/* Placeholder */
.form-input::placeholder { color: var(--text-muted); }

/* Textarea */
textarea.form-input {
    resize: vertical;
    min-height: 130px;
}

/* Select customizado */
select.form-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.75rem;
}

/* Mensagem de erro */
.form-error {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #ef4444;
    font-size: 0.8125rem;
    margin-top: 0.375rem;
    font-weight: 500;
}

/* ==========================================================================
   11. CAIXAS DE INFORMAÇÃO (Contato & Agendamento)
   ========================================================================== */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.375rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}
.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange);
    border-color: rgba(249,115,22,0.25);
}

.info-box-center {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.info-box-center:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.icon-box {
    width: 3rem; height: 3rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    transition: var(--transition-bounce);
}
.info-box-center .icon-box {
    margin: 0 auto 1rem;
    border-radius: 50%;
    width: 3.5rem; height: 3.5rem;
}
.contact-info-card:hover .icon-box { transform: scale(1.12) rotate(-5deg); }

.bg-orange-light { background: rgba(249,115,22,0.1);  color: var(--orange-500); }
.bg-blue-light   { background: rgba(59,130,246,0.1);  color: var(--blue-500); }
.bg-green-light  { background: rgba(34,197,94,0.1);   color: #22c55e; }
.bg-purple-light { background: rgba(168,85,247,0.1);  color: #a855f7; }
.bg-red-light    { background: rgba(239,68,68,0.1);   color: #ef4444; }
.bg-yellow-light { background: rgba(250,204,21,0.12); color: #ca8a04; }

/* ==========================================================================
   12. LISTAS E TESTEMUNHOS
   ========================================================================== */
.feature-list { list-style: none; margin: 1.25rem 0; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.feature-list li .check-icon {
    color: var(--orange-500);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.testimonial-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 2rem;
    border-radius: var(--radius-xl);
    color: white;
    transition: var(--transition);
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.13);
    transform: translateY(-4px);
}
.stars { color: #facc15; font-size: 1.1rem; margin-bottom: 0.75rem; letter-spacing: 0.1em; }

/* ==========================================================================
   13. RODAPÉ
   ========================================================================== */
.footer {
    background: linear-gradient(135deg, #030712 0%, #0f172a 40%, #0c1a3d 70%, #0f172a 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--orange-500) 30%, var(--blue-500) 70%, transparent 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-title {
    color: var(--orange-400);
    font-weight: 700;
    margin-bottom: 1.125rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-text {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.footer-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}
.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-link:hover { color: var(--orange-400); transform: translateX(3px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 1.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

/* ==========================================================================
   14. WHATSAPP FLUTUANTE
   ========================================================================== */
.whatsapp-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: var(--z-fixed);
}
.whatsapp-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem; height: 3.5rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    transition: var(--transition-bounce);
    text-decoration: none;
}
.whatsapp-button:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 32px rgba(37,211,102,0.55);
}
.whatsapp-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #4ade80;
    opacity: 0.6;
    animation: wa-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: -1;
}
.whatsapp-icon { width: 1.75rem; height: 1.75rem; position: relative; z-index: 10; }
.whatsapp-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 50%;
    width: 1.25rem; height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wa-bounce 1.2s infinite;
    z-index: 20;
}

@keyframes wa-ping   { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes wa-bounce {
    0%, 100% { transform: translateY(-20%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50%       { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

/* ==========================================================================
   15. SEÇÃO DE DESTAQUES / FEATURES
   ========================================================================== */
.feature-card {
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-500), var(--orange-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(249,115,22,0.15);
}
.feature-card:hover::after { transform: scaleX(1); }

/* ==========================================================================
   16. SEÇÃO DE PROCESSO / STEPS
   ========================================================================== */
.step-card {
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-orange);
    border-color: rgba(249,115,22,0.25);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem; height: 3.5rem;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    border-radius: 50%;
    font-size: 1.375rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 18px rgba(249,115,22,0.4);
    transition: var(--transition-bounce);
}
.step-card:hover .step-number {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 10px 28px rgba(249,115,22,0.55);
}

/* ==========================================================================
   17. TAGS / FILTROS
   ========================================================================== */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
}
.filter-tab {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
}
.filter-tab:hover {
    border-color: var(--orange-400);
    color: var(--orange-500);
    background: rgba(249,115,22,0.06);
}
.filter-tab.active {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(249,115,22,0.35);
}

/* ==========================================================================
   18. ALERTS E NOTIFICAÇÕES
   ========================================================================== */
.notification {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    transform: translateX(calc(100% + 2rem));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: var(--z-toast);
    box-shadow: var(--shadow-2xl);
    max-width: 380px;
    min-width: 280px;
    backdrop-filter: blur(10px);
}
.notification.show { transform: translateX(0); }
.notification.success { background: linear-gradient(135deg, #22c55e, #16a34a); }
.notification.error   { background: linear-gradient(135deg, #ef4444, #dc2626); }
.notification.info    { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); }
.notification.warning { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* ==========================================================================
   19. TOOLTIP
   ========================================================================== */
[data-tooltip] {
    position: relative;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: #0f172a;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: var(--z-popover);
}
[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* ==========================================================================
   20. SEÇÃO DE CTA
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ==========================================================================
   21. RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 1024px) {
    .container { padding: 0 1.25rem; }
    .section-padding { padding: 4rem 0; }
    .form-container { padding: 2rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .section-padding { padding: 3rem 0; }
    .hero-home { padding-top: 4.5rem; }
    .hero-page { padding: 7rem 0 3rem; }
    .grid-cards { grid-template-columns: 1fr; gap: 1.25rem; }
    .grid-cards-2 { grid-template-columns: 1fr; }
    .grid-features { grid-template-columns: 1fr; }
    .form-container { padding: 1.5rem; border-radius: var(--radius-xl); }
    .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
    .card { padding: 1.5rem; }
    .notification { left: 1rem; right: 1rem; max-width: none; }
    .whatsapp-container { bottom: 1rem; right: 1rem; }
}

@media (max-width: 480px) {
    .hero-page-title { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
    .btn-xl { padding: 0.9rem 2rem; font-size: 1rem; }
}

/* ==========================================================================
   22. UTILIDADES EXTRAS
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

.truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Divider decorativo */
.divider-orange {
    width: 4rem;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-500), var(--orange-400));
    border-radius: var(--radius-full);
    margin: 1rem auto;
}

/* ==========================================================================
   23. APRIMORAMENTOS PROFISSIONAIS v3.0
   ========================================================================== */

/* ── Tipografia Display ── */
.font-display,
h1, h2, h3 {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

/* ── Cards de Serviço Aprimorados ── */
.feature-card,
.service-card,
.card-hover {
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}
.feature-card:hover,
.service-card:hover,
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

/* ── Hero Aprimorado ── */
.hero-home {
    background: linear-gradient(135deg, #0c1525 0%, #0f172a 40%, #172554 100%);
    position: relative;
    isolation: isolate;
}

.hero-home::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 15% 50%, rgba(249,115,22,0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(59,130,246,0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(168,85,247,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ── Botões Aprimorados ── */
.btn-cta,
.btn-primary-site {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.btn-cta::before,
.btn-primary-site::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.5s ease;
}
.btn-cta:hover::before,
.btn-primary-site:hover::before {
    left: 100%;
}

/* ── Inputs Aprimorados ── */
.form-input,
.form-select,
.form-textarea {
    border-width: 1.5px;
    transition: all 0.25s ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--orange-500) !important;
    box-shadow: 0 0 0 4px rgba(249,115,22,0.1);
    outline: none;
}

/* ── Section Labels Aprimorados ── */
.badge {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Seção de Hero das Subpáginas ── */
.hero-page {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a8a 100%);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.hero-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(249,115,22,0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.09) 0%, transparent 55%);
    pointer-events: none;
}

/* ── Imagens com hover suave ── */
img {
    transition: transform 0.4s ease;
}
.img-hover:hover img {
    transform: scale(1.04);
}

/* ── Tags de filtro aprimoradas ── */
.filter-tab {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.01em;
}

/* ── Gradiente de Texto Multi-cor ── */
.text-gradient-multi {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 30%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Animação de entrada suave para seções ── */
.section-entry {
    animation: sectionEntry 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes sectionEntry {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Hover Lift Universal ── */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ── Container responsivo aprimorado ── */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ── Aspect Ratios para imagens ── */
.aspect-card { aspect-ratio: 4/3; }
.aspect-hero { aspect-ratio: 16/9; }
.aspect-square { aspect-ratio: 1/1; }

/* ── Espaçamento de seções aprimorado ── */
@media (min-width: 1024px) {
    .py-24 { padding-top: 6.5rem; padding-bottom: 6.5rem; }
}

/* ── Cursor personalizado para links ── */
a, button, [role="button"] {
    cursor: pointer;
}

/* ── Número animado ── */
[data-counter] {
    font-feature-settings: 'tnum';
    font-variant-numeric: tabular-nums;
}

/* ── Logo fallback elegante ── */
.logo-fallback {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f97316, #ea580c 50%, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 0.875rem;
    letter-spacing: -0.05em;
    box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

/* Glassmorphism */
.glass {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--bg-subtle) 25%, var(--border-color) 50%, var(--bg-subtle) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Fade in reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal="left"]   { transform: translateX(-24px); }
[data-reveal="right"]  { transform: translateX(24px); }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal="zoom"]   { transform: scale(0.9); }
[data-reveal="zoom"].revealed { transform: scale(1); }
/* Reserva o espaço exato do Menu em todas as páginas para alinhar os topos */
#header {
    min-height: 80px;
    display: block;
    width: 100%;
}
