/* ============================================================
   CONCORTE AFIAÇÕES — Elite Industrial Design System
   DNA: Ultra Dark · Electric Blue · Steel Precision · Authority
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,900;1,600;1,900&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --blue:       #007BFF;
    --blue-hot:   #3395ff;
    --blue-dim:   rgba(0, 123, 255, 0.35);
    --blue-glow:  rgba(0, 123, 255, 0.2);
    --bg-0:       #040404;
    --bg-1:       #080808;
    --bg-2:       #0F0F0F;
    --bg-3:       #161616;
    --bg-4:       #1C1C1C;
    --text:       #F0F0F2;
    --text-muted: #9A9AA5;
    --text-faint: #5E5E68;
    --border:     rgba(255, 255, 255, 0.07);
    --border-blue: rgba(0, 123, 255, 0.25);
    --steel:      rgba(255, 255, 255, 0.03);
    --steel-hover: rgba(255, 255, 255, 0.07);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius:     6px;
    --radius-lg:  14px;
    --container:  1280px;
}

/* ---- GRAIN TEXTURE ---- */
.grain-overlay {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- REFLECTION GLOW ---- */
.mirror-section {
    position: relative;
}
.mirror-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    width: 80%;
    height: 100px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 123, 255, 0.06), transparent);
    filter: blur(40px);
    border-radius: 50%;
    z-index: 0;
    transform: scaleY(0.5);
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg-0);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Subtle scanline texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.01) 2px,
        rgba(255,255,255,0.01) 4px
    );
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    line-height: 1.0;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.blue { color: var(--blue); }

/* ---- SECTION LABEL ---- */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--blue);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--blue);
    flex-shrink: 0;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin-top: 1rem;
}

/* ---- SCROLL PROGRESS ---- */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-hot));
    z-index: 10001;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px var(--blue-glow);
}
::-webkit-scrollbar { width: 5px; background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   HEADER
   ============================================================ */
#main-header {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    background: rgba(4, 4, 4, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
#main-header.scrolled {
    background: rgba(4, 4, 4, 0.95);
    border-bottom-color: var(--border-blue);
    box-shadow: 0 4px 40px rgba(0,0,0,0.7);
}
#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

/* Logo */
.logo-link {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    gap: 1px;
}
.logo-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--text);
    letter-spacing: 0.05em;
}
.logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--blue);
    text-transform: uppercase;
}

/* Desktop Nav */
#desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}
#desktop-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
}
#desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--blue);
    transition: var(--transition);
}
#desktop-nav a:hover { color: var(--text); }
#desktop-nav a:hover::after { width: 100%; }
.nav-cta {
    background: var(--blue) !important;
    color: white !important;
    padding: 0.55rem 1.3rem;
    border-radius: var(--radius);
    font-weight: 700 !important;
    box-shadow: 0 0 20px var(--blue-glow);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--blue-hot) !important; transform: translateY(-1px); }

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.nav-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(4,4,4,0.98);
    backdrop-filter: blur(25px);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    gap: 1.5rem;
    z-index: 2000;
    overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}
.mobile-nav a:last-child { border-bottom: none; color: var(--blue); }
.mobile-nav a:hover { color: var(--blue); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    height: 100svh;
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4,4,4,0.55) 0%, rgba(4,4,4,0.25) 40%, rgba(4,4,4,0.95) 100%),
        linear-gradient(90deg, rgba(4,4,4,0.7) 0%, transparent 65%);
}

/* Blue atmospheric glow */
.hero-glow {
    position: absolute;
    bottom: -80px; left: -80px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.2) 0%, transparent 70%);
    z-index: 1;
    animation: glow-pulse 5s ease-in-out infinite alternate;
}
@keyframes glow-pulse {
    from { transform: scale(1); opacity: 0.5; }
    to   { transform: scale(1.4); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 90px;
    padding-bottom: 3rem;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(0, 123, 255, 0.08);
    border: 1px solid var(--border-blue);
    padding: 0.4rem 1rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}
.blink-dot {
    display: block;
    width: 6px; height: 6px;
    background: var(--blue);
    border-radius: 50%;
    animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-content h1 {
    font-size: clamp(2.8rem, 11vw, 6.5rem);
    line-height: 0.90;
    max-width: 900px;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 40px rgba(0,0,0,0.9);
}
.blue-word {
    color: var(--blue);
    text-shadow: 0 0 50px rgba(0, 123, 255, 0.6);
}

.hero-sub {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.75;
}
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2.5rem;
}
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.pill {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--steel);
    border: 1px solid var(--border);
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
}

/* Ticker */
.hero-ticker {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 10;
    background: rgba(4,4,4,0.5);
    border-top: 1px solid var(--border-blue);
    overflow: hidden;
    padding: 0.7rem 0;
    white-space: nowrap;
}
.ticker-track {
    display: inline-flex;
    gap: 2rem;
    animation: ticker 35s linear infinite;
}
.ticker-track span {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}
.ticker-track .sep { color: var(--blue); }
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--blue);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: var(--radius);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}
.btn-primary::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;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    background: var(--blue-hot);
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--text);
    padding: 0.9rem 2rem;
    border-radius: var(--radius);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
    cursor: pointer;
}
.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(0,123,255,0.06);
    transform: translateY(-2px);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: var(--radius);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
    cursor: pointer;
}
.btn-outline-white:hover {
    border-color: white;
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
    background: var(--bg-1);
    border-top: 1px solid var(--border-blue);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 2;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 2.5rem 1rem;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 0.4rem;
    text-shadow: 0 0 30px rgba(0,123,255,0.3);
}
.stat-plus { font-size: 0.75em; opacity: 0.8; }
.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
}

/* ============================================================
   SECTION BLOCK
   ============================================================ */
.section-block { padding: 6rem 0; }
.section-header { margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
.dark-section { background: var(--bg-1); }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--border);
}
.service-card {
    background: var(--bg-0);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover { background: var(--bg-2); }
.service-img-wrap {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}
.service-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(4,4,4,0.7) 100%);
}
.service-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    filter: saturate(0.7) brightness(0.85);
}
.service-card:hover .service-img-wrap img {
    transform: scale(1.07);
    filter: saturate(1) brightness(1);
}
.service-body {
    padding: 2rem 2.5rem 2.5rem;
    flex: 1;
    position: relative;
}
.service-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--blue);
    margin-bottom: 0.75rem;
}
.service-body h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}
.service-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================================
   PROMESSA SECTION
   ============================================================ */
.promessa-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}
.promessa-image {
    position: relative;
    overflow: hidden;
}
.promessa-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.6) brightness(0.7);
    transition: filter 0.5s;
}
.promessa-image:hover img { filter: saturate(0.9) brightness(0.85); }
.promessa-content {
    background: var(--bg-2);
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    border-left: 1px solid var(--border-blue);
}
.promessa-content h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.promessa-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 440px;
}

/* ============================================================
   MACHINES REEL
   ============================================================ */
.machines-reel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border);
}
.reel-item {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
    background: var(--bg-2);
    cursor: pointer;
}
.reel-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: saturate(0.6) brightness(0.7);
}
.reel-item:hover img {
    transform: scale(1.06);
    filter: saturate(1) brightness(0.9);
}
.reel-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 3rem 1.5rem 2rem;
    background: linear-gradient(0deg, rgba(4,4,4,0.95) 0%, transparent 100%);
}
.reel-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(0,123,255,0.1);
    border: 1px solid var(--border-blue);
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.5rem;
}
.reel-info h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
}
.diferencial-card {
    background: var(--bg-0);
    padding: 3.5rem 2.5rem;
    position: relative;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}
.diferencial-card:hover {
    background: var(--bg-2);
    border-bottom-color: var(--blue);
}
.diferencial-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    position: absolute;
    top: 1.5rem; right: 2rem;
    transition: color 0.4s;
}
.diferencial-card:hover .diferencial-number { color: var(--border-blue); }
.diferencial-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.diferencial-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.diferencial-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--bg-0); }

.footer-cta-banner {
    background: linear-gradient(135deg, var(--bg-2) 0%, rgba(0,123,255,0.08) 100%);
    border-top: 1px solid var(--border-blue);
    border-bottom: 1px solid var(--border);
    padding: 5rem 0;
    text-align: center;
}
.footer-cta-banner h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}
.footer-cta-banner p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-content { padding: 5rem 0 3rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}
.footer-logo-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--text);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.footer-info p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}
.footer-contacts { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-form-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.footer-form-sub {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 2rem;
}

#site-footer {
    background: var(--bg-0);
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
}

.footer-partners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-partners a {
    display: flex;
    align-items: center;
    opacity: 0.45;
    transition: var(--transition);
}

.footer-partners a:hover {
    opacity: 1;
}

.partner-logo {
    height: 22px;
    width: auto;
    filter: brightness(0) invert(1);
}

.logo-jumperz {
    filter: none;
    height: 30px;
}

/* ============================================================
   MOBILE STICKY BAR
   ============================================================ */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 0.8rem 1rem;
    background: var(--bg-2);
    border-top: 1px solid var(--border-blue);
    z-index: 900;
}
.sticky-btn {
    width: 100%;
    background: var(--blue);
    color: white;
    border: none;
    padding: 1rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius);
    box-shadow: 0 0 20px rgba(0,123,255,0.4);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: var(--bg-3);
    border: 1px solid var(--border-blue);
    color: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 800;
}
.back-to-top.visible { opacity: 1; transform: none; }
.back-to-top:hover { background: var(--blue); color: white; }

/* ============================================================
   LIGHTBOX WIZARD
   ============================================================ */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}
.lightbox-overlay.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-panel {
    background: var(--bg-2);
    border: 1px solid var(--border-blue);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 0 80px rgba(0,123,255,0.15), 0 40px 80px rgba(0,0,0,0.9);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.lightbox-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.lightbox-close:hover { background: var(--blue); color: white; border-color: var(--blue); }

.lightbox-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.lightbox-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    background: rgba(0,123,255,0.1);
    border: 1px solid var(--border-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--blue);
}
.lightbox-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.lightbox-header p { font-size: 0.82rem; color: var(--text-muted); }

.wizard-progress-bar {
    height: 3px;
    background: var(--bg-4);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
#wizard-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue-hot));
    width: 20%;
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* Steps */
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.step-header { margin-bottom: 1.5rem; }
.step-count {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.step-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}
.step-header p { font-size: 0.85rem; color: var(--text-muted); }

/* Wizard option cards */
.w-options { display: flex; flex-direction: column; gap: 0.75rem; }
.w-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.25rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius);
}
.w-card:hover, .w-card:focus { border-color: var(--blue); background: var(--bg-4); outline: none; }
.w-card.selected { border-color: var(--blue); background: rgba(0,123,255,0.08); }
.w-card-icon { font-size: 1.5rem; flex-shrink: 0; }
.w-card strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.15rem; }
.w-card p { font-size: 0.78rem; color: var(--text-muted); }

/* Form fields */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s;
    outline: none;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { min-height: 100px; resize: vertical; }

/* Wizard nav */
.wizard-nav {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.btn-prev {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}
.btn-prev:hover { border-color: var(--text-muted); color: var(--text); }
.btn-next,
.btn-submit {
    flex: 1;
    background: var(--blue);
    color: white;
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}
.btn-next:hover,
.btn-submit:hover { background: var(--blue-hot); transform: translateY(-1px); }

/* Success step */
.success-content {
    text-align: center;
    padding: 2rem 0;
}
.success-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.success-content h3 { font-size: 2rem; margin-bottom: 0.75rem; }
.success-content p { color: var(--text-muted); line-height: 1.6; }

#form-msg { margin-top: 0.75rem; font-size: 0.85rem; color: #ff4444; }

/* ---- ERROR SHAKE ---- */
.input-error {
    border-color: #ff4444 !important;
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

@media (max-width: 1100px) {
    .machines-reel { grid-template-columns: repeat(2, 1fr); }
    .promessa-section { grid-template-columns: 1fr; }
    .promessa-image { height: 350px; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
    .machines-reel { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
    .diferenciais-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    #desktop-nav { display: none; }
    .nav-hamburger { display: flex; }
    .mobile-sticky-bar { display: block; }
    .footer-cta-banner { padding: 3rem 0; }
    .hero-content { padding-left: 1rem; padding-right: 1rem; }
    .machines-reel { grid-template-columns: 1fr 1fr; gap: 2px; }
    .back-to-top { bottom: 5rem; }
}

@media (max-width: 480px) {
    .machines-reel { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3.2rem; }
    .hero-cta-group { flex-direction: column; align-items: stretch; gap: 0.8rem; }
    .btn-primary { width: 100%; justify-content: center; }
}

@media (max-width: 360px) {
    .container { padding: 0 1.25rem; }
    .hero-eyebrow { font-size: 0.62rem; padding: 0.3rem 0.6rem; }
    .logo-text { font-size: 1.35rem; }
}
