/* ==========================================================================
   PREMIUM DARK-LIGHT HYBRID DESIGN SYSTEM - LANDING PAGE BCL
   ========================================================================== */

/* Variables & Design Tokens */
:root {
    --primary: #1863DC;               /* Azul BCL (Confiança e Engenharia) */
    --primary-light: #4182F9;         /* Tom mais claro para hovers */
    --primary-dark: #0F49B0;          /* Tom mais escuro para estados ativos */
    
    --secondary: #00314C;             /* Azul Escuro/Asfalto (Robustez e Solidez) */
    --secondary-light: #00456B;       /* Tom intermediário */
    --secondary-dark: #001D2E;        /* Azul profundo para fundos de alto contraste */
    
    --accent: #FF8600;                /* Laranja BCL (Destaque e Infraestrutura) */
    --accent-light: #FFA133;          /* Laranja hover */
    --accent-dark: #CC6B00;           /* Laranja active */
    
    --bg-main: #FFFFFF;               /* Fundo principal claro */
    --bg-offset: #F4F7FB;             /* Fundo alternado suave */
    --card-bg: #FFFFFF;               /* Fundo de cartões */
    
    --text-main: #051E2E;             /* Texto principal (azul escuro quase preto) */
    --text-muted: #5C7280;            /* Texto secundário/apoio */
    --text-light: #FFFFFF;            /* Texto branco para fundos escuros */
    --text-light-muted: rgba(255, 255, 255, 0.7);
    
    --border-color: rgba(24, 99, 220, 0.12); /* Bordas sutis */
    --border-focus: rgba(24, 99, 220, 0.35);
    
    /* Sombras suaves e realistas para estética premium */
    --shadow-sm: 0 4px 10px rgba(0, 49, 76, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(0, 49, 76, 0.05), 0 8px 16px -6px rgba(0, 49, 76, 0.03);
    --shadow-lg: 0 20px 35px -10px rgba(0, 49, 76, 0.08), 0 12px 20px -8px rgba(0, 49, 76, 0.05);
    --shadow-premium: 0 30px 60px -15px rgba(0, 49, 76, 0.12);
    
    --font-sans: 'Inter', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1200px;
    --header-height: 90px;
}

/* Reset Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

/* Scroll Reveal (Intersection Observer) States */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Layout Elements */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.section-pre-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
    background-color: rgba(24, 99, 220, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: var(--secondary);
}

.section-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-description {
    font-size: 17px;
    margin-top: 18px;
    color: var(--text-muted);
}

.title-bar {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 24px auto 0 auto;
    border-radius: 2px;
}

/* Buttons Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(24, 99, 220, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 99, 220, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: var(--secondary);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(255, 134, 0, 0.25);
}

.btn-accent:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 134, 0, 0.4);
}

.btn-large {
    padding: 18px 40px;
    font-size: 15px;
}

.btn-full {
    width: 100%;
}

.icon-right {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn:hover .icon-right {
    transform: translateX(5px);
}

/* Shimmer Animation Effect */
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: none;
}

.btn-shimmer:hover::after {
    left: 140%;
    transition: all 0.8s ease-in-out;
}

/* ==========================================================================
   1. HEADER NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.main-header.scrolled {
    height: 80px;
    background-color: rgba(0, 29, 46, 0.92); /* Deep navy base */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(24, 99, 220, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.header-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-logo {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}

.main-header .logo-dark {
    display: none !important;
}

.main-header .logo-light {
    display: block !important;
}

.main-header.scrolled .logo-dark {
    display: block !important;
}

.main-header.scrolled .logo-light {
    display: none !important;
}


/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-item {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light-muted);
    padding: 8px 0;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

.nav-item:hover {
    color: var(--text-light);
}

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

.main-header.scrolled .nav-item {
    color: rgba(255, 255, 255, 0.8);
}

.main-header.scrolled .nav-item:hover {
    color: var(--text-light);
}

.header-mobile-btn {
    display: none !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.mobile-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

/* ==========================================================================
   2. HERO SECTION (DOBRA PRINCIPAL)
   ========================================================================== */
.section-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 60px) 0 100px 0;
    background-color: var(--secondary-dark);
    background-image: linear-gradient(185deg, rgba(0, 29, 46, 0.82) 0%, rgba(0, 49, 76, 0.92) 100%), url('../images/obra-asfalto-1.png');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(24, 99, 220, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 134, 0, 0.12);
    border: 1px solid rgba(255, 134, 0, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.badge-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.badge-text {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
}

.hero-title {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-actions {
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.trust-item i {
    color: var(--accent);
    font-size: 16px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(24, 99, 220, 0.3) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 1;
}

.tech-graphic {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.graphic-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.graphic-circle.outer {
    width: 100%;
    height: 100%;
    animation: rotateCW 30s linear infinite;
}

.graphic-circle.middle {
    width: 75%;
    height: 75%;
    border-style: solid;
    border-color: rgba(24, 99, 220, 0.2);
    animation: rotateCCW 20s linear infinite;
}

.graphic-circle.inner {
    width: 50%;
    height: 50%;
    border-color: rgba(255, 134, 0, 0.2);
}

.graphic-node {
    position: absolute;
    width: 54px;
    height: 54px;
    background-color: var(--secondary);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: var(--text-light);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.graphic-node:hover {
    background-color: var(--primary);
    border-color: var(--accent);
    transform: scale(1.1);
}

.graphic-node.node-1 {
    top: 12.5%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.graphic-node.node-2 {
    bottom: 25%;
    left: 12.5%;
    transform: translate(-50%, 50%);
}

.graphic-node.node-3 {
    bottom: 25%;
    right: 12.5%;
    transform: translate(50%, 50%);
}

.graphic-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: var(--text-light);
    box-shadow: 0 0 40px rgba(255, 134, 0, 0.4);
    animation: pulseGlow 3s infinite;
}

@keyframes rotateCW {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCCW {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px rgba(255, 134, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 134, 0, 0.6); }
    100% { box-shadow: 0 0 20px rgba(255, 134, 0, 0.3); }
}

.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
}

.section-divider .shape-fill {
    fill: var(--bg-main);
}

/* ==========================================================================
   3. SEÇÃO 2: O CORE BUSINESS
   ========================================================================== */
.section-core {
    padding: 100px 0;
    background-color: var(--bg-main);
}

.core-intro-block {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    margin-bottom: 60px;
    align-items: center;
}

.core-intro-text {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
}

.core-intro-highlight {
    background-color: var(--bg-offset);
    border-left: 4px solid var(--primary);
    padding: 24px;
    border-radius: 0 12px 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.core-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.core-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.core-card:hover {
    transform: translateY(-8px);
    border-color: rgba(24, 99, 220, 0.2);
    box-shadow: var(--shadow-lg);
}

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

.card-icon-container {
    width: 60px;
    height: 60px;
    background-color: rgba(24, 99, 220, 0.08);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.core-card:hover .card-icon-container {
    background-color: var(--primary);
    color: #FFFFFF;
    transform: rotate(10deg);
}

.card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 16px;
}

.card-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   4. SEÇÃO 3: DIFERENCIAIS
   ========================================================================== */
.section-diferenciais {
    padding: 100px 0;
    background-color: var(--bg-offset);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.diferenciais-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.diferenciais-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    filter: brightness(0.9);
}

.visual-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: var(--secondary);
    border: 2px solid var(--primary);
    color: var(--text-light);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.badge-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent);
    display: block;
}

.badge-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.diferenciais-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.diferencial-item {
    display: flex;
    gap: 20px;
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.diferencial-item:hover {
    transform: translateX(8px);
    border-color: rgba(24, 99, 220, 0.2);
    box-shadow: var(--shadow-md);
}

.diferencial-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 134, 0, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.diferencial-item:hover .diferencial-icon {
    background-color: var(--accent);
    color: #FFFFFF;
}

.diferencial-info h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
}

.diferencial-info p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   5. SEÇÃO 4: PORTFÓLIO & GALERIA
   ========================================================================== */
.section-portfolio {
    padding: 100px 0;
    background-color: var(--bg-main);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background-color: var(--secondary);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 29, 46, 0.9) 0%, rgba(0, 49, 76, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.portfolio-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    color: #FFFFFF;
    background-color: var(--accent);
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.portfolio-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 6px;
}

.portfolio-location {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 6px;
}

.portfolio-location i {
    color: var(--accent);
}

/* Lightbox Styling */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 29, 46, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 32px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* ==========================================================================
   6. SEÇÃO 5: ATENDIMENTO HUMANO & FORMULÁRIO (CONVERSÃO B2B)
   ========================================================================== */
.section-contato {
    padding: 100px 0;
    background-color: var(--bg-offset);
    position: relative;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

/* Testimonial / Human Aspect */
.contato-human {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.expert-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.expert-quote {
    font-size: 18px;
    font-style: italic;
    font-weight: 500;
    color: var(--secondary);
    line-height: 1.7;
    position: relative;
}

.expert-quote::before {
    content: '“';
    font-size: 80px;
    font-family: serif;
    position: absolute;
    top: -40px;
    left: -20px;
    color: rgba(24, 99, 220, 0.1);
    line-height: 1;
}

.expert-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.expert-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.expert-details h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary);
}

.expert-details p {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* B2B Qualify Form */
.qualify-card {
    background-color: var(--secondary);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: var(--shadow-premium);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.qualify-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 134, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.form-title {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
}

.form-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.4;
}

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

/* Campo anti-spam honeypot: escondido de humanos, capturado por bots */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

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

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.85);
}

.form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    color: var(--text-light);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14.5px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary-light);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(24, 99, 220, 0.2);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' 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 14px center;
    background-size: 14px;
    padding-right: 36px;
    cursor: pointer;
}

select.form-control option {
    background-color: var(--secondary);
    color: var(--text-light);
}

/* Success State Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-overlay.active {
    transform: translateY(0);
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 134, 0, 0.12);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 24px;
    animation: scaleUp 0.5s ease forwards;
}

@keyframes scaleUp {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.success-title {
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.success-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ==========================================================================
   7. FOOTER SECTION
   ========================================================================== */
.main-footer {
    background-color: var(--secondary-dark);
    color: var(--text-light);
    padding: 80px 0 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background-color: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--accent-light);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link::before {
    content: '→';
    color: var(--accent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: #FFFFFF;
    padding-left: 6px;
}

.footer-link:hover::before {
    opacity: 1;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.contact-item i {
    font-size: 18px;
    color: var(--accent);
    margin-top: 3px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.5);
}

.copyright-text span {
    color: var(--accent);
}

.footer-developer a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.footer-developer a:hover {
    color: var(--primary-light);
}

/* ==========================================================================
   7. SEÇÃO: NOSSOS CLIENTES (INFINITE TICKER)
   ========================================================================== */
.section-clientes {
    padding: 50px 0;
    background-color: var(--bg-offset);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    overflow: hidden;
    position: relative;
}

/* Gradient overlays for smooth fade on the edges */
.section-clientes::before,
.section-clientes::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.section-clientes::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-offset) 0%, transparent 100%);
}

.section-clientes::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-offset) 0%, transparent 100%);
}

.clientes-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(0, 49, 76, 0.6);
    font-weight: 700;
    margin-bottom: 35px;
    position: relative;
    z-index: 3;
}

.clientes-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.clientes-track {
    display: flex;
    width: calc(250px * 10); /* 10 items (5 original + 5 duplicates) */
    animation: scrollTicker 30s linear infinite;
}

.clientes-track:hover {
    animation-play-state: paused;
}

.cliente-logo-item {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    padding: 0 35px;
}

.cliente-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.cliente-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5)); /* Shift by exactly 5 items (half of track) */
    }
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES (MOBILE OPTIMIZATIONS)
   ========================================================================== */

/* 1024px Grid adjustments */
@media (max-width: 1024px) {
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .core-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px Tablet adjustments */
@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* Navigation burger menu */
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--secondary-dark);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 40px 24px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 32px;
        transform: translateX(-100%);
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .nav-item {
        font-size: 18px;
        display: block;
    }
    
    .header-desktop-btn {
        display: none !important;
    }
    
    .header-mobile-btn {
        display: flex !important;
        width: 100%;
        margin-top: 24px;
        justify-content: center;
        align-items: center;
    }
    
    /* Toggle active animation */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    /* Grids to 1 Column */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .core-intro-block {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* 480px Mobile adjustments */
@media (max-width: 480px) {
    .section-title {
        font-size: 26px;
    }
    
    .hero-title {
        font-size: 30px;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .core-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .qualify-card {
        padding: 24px 16px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-title {
        font-size: 19px;
    }
    
    .expert-card {
        padding: 32px 20px;
    }
}

/* CTA Intermediário */
.section-cta-middle {
    padding: 60px 0;
    background-color: var(--bg-main);
    text-align: center;
}
