/* =====================================================================
   ELTOK — Redesign 2025
   Tecnologia & Análise de Dados para a Indústria
   Estilo: industrial-tech (preto / vermelho), baseado na linha do Instagram
   ===================================================================== */

:root {
    --red: #E6212F;
    --red-bright: #FF3344;
    --red-soft: rgba(230, 33, 47, 0.12);
    --bg: #0C0C0E;
    --bg-2: #141417;
    --bg-card: #18181C;
    --bg-card-hl: #1F1F24;
    --white: #F5F5F7;
    --muted: #9A9AA4;
    --muted-2: #6E6E78;
    --border: rgba(255, 255, 255, 0.08);
    --border-hl: rgba(230, 33, 47, 0.5);
    --font: 'Articulat CF', 'Segoe UI', system-ui, sans-serif;
    --font-extra: 'Articulat CF Extra', 'Articulat CF', sans-serif;
    --radius: 16px;
    --maxw: 1180px;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: var(--font);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--red);
    text-decoration: none;
}

img {
    max-width: 100%;
}

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

section {
    position: relative;
}

/* ---- Headings ---- */
h1, h2, h3, h4 {
    font-family: var(--font);
    line-height: 1.08;
    margin: 0;
    font-weight: 900;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--red);
    display: inline-block;
}

.section-title {
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-title .hl {
    color: var(--red);
}

.section-lead {
    color: var(--muted);
    font-size: 18px;
    max-width: 620px;
    margin-top: 18px;
}

.section-head {
    margin-bottom: 56px;
}

.text-center-block {
    text-align: center;
}

.text-center-block .section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* ---- Buttons ---- */
.btn-eltok {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 10px 30px rgba(230, 33, 47, 0.25);
}

.btn-eltok:hover {
    color: #fff;
    background: var(--red-bright);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(230, 33, 47, 0.4);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all .2s ease;
}

.btn-ghost:hover {
    color: #fff;
    border-color: var(--red);
    background: var(--red-soft);
}

/* =====================================================================
   PRELOADER
   ===================================================================== */
#pre_loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

#pre_loader .spinner-grow {
    width: 3rem;
    height: 3rem;
    color: var(--red) !important;
}

/* =====================================================================
   NAVBAR
   ===================================================================== */
nav.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: transparent;
    transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}

nav.navbar.scroll {
    background: rgba(12, 12, 14, 0.92);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border);
}

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

.navbar-brand img {
    height: 34px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: .3px;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width .25s ease;
}

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

.nav-links .nav-cta {
    background: var(--red);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
}

.nav-links .nav-cta::after {
    display: none;
}

.nav-links .nav-cta:hover {
    background: var(--red-bright);
    color: #fff;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* =====================================================================
   HERO
   ===================================================================== */
#cover {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(1100px 600px at 80% -10%, rgba(230, 33, 47, 0.18), transparent 60%),
        linear-gradient(180deg, #0C0C0E 0%, #141417 100%);
}

#cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(900px 600px at 70% 20%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(900px 600px at 70% 20%, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-badge i {
    color: var(--red);
}

.hero-title {
    font-size: clamp(40px, 6.4vw, 76px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    line-height: 1.02;
}

.hero-title .hl {
    color: var(--red);
}

.hero-sub {
    color: var(--muted);
    font-size: 19px;
    max-width: 540px;
    margin: 26px 0 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-social span {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--muted-2);
    text-transform: uppercase;
}

.hero-social a {
    color: var(--muted);
    font-size: 19px;
}

.hero-social a:hover {
    color: var(--red);
}

/* Hero visual panel (fake dashboard) */
.hero-visual {
    position: relative;
}

.hero-card {
    background: linear-gradient(160deg, var(--bg-card-hl), var(--bg-card));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.hero-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.hero-card-top .dots {
    display: flex;
    gap: 7px;
}

.hero-card-top .dots i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #333;
    display: inline-block;
}

.hero-card-top .dots i:first-child {
    background: var(--red);
}

.hero-card-top span {
    font-size: 12px;
    color: var(--muted-2);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.hero-kpi {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.hero-kpi .k-label {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hero-kpi .k-value {
    font-size: 26px;
    font-weight: 900;
    margin-top: 6px;
}

.hero-kpi .k-value.red {
    color: var(--red);
}

.hero-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 90px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.hero-chart span {
    flex: 1;
    background: linear-gradient(180deg, var(--red), rgba(230, 33, 47, 0.25));
    border-radius: 4px 4px 0 0;
}

/* =====================================================================
   STATS STRIP
   ===================================================================== */
#stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat .stat-num {
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat .stat-num .plus {
    color: var(--red);
}

.stat .stat-label {
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
}

/* =====================================================================
   ABOUT / TIMELINE
   ===================================================================== */
#about {
    padding: 110px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-points {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.about-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.about-point i {
    color: var(--red);
    margin-top: 4px;
    font-size: 18px;
}

.about-point strong {
    display: block;
    font-weight: 700;
}

.about-point p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 15px;
}

/* Timeline */
.timeline {
    position: relative;
    display: grid;
    gap: 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--red), rgba(230, 33, 47, 0.15));
}

.tl-item {
    position: relative;
    padding: 0 0 30px 60px;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-weight: 900;
    font-size: 13px;
}

.tl-year {
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 1px;
}

.tl-item h4 {
    font-size: 19px;
    font-weight: 700;
    margin: 4px 0 6px;
    text-transform: uppercase;
}

.tl-item p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* =====================================================================
   SOLUTIONS
   ===================================================================== */
#solutions {
    padding: 110px 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}

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

.sol-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 30px;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
    position: relative;
    overflow: hidden;
}

.sol-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.sol-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hl);
    background: var(--bg-card-hl);
}

.sol-card:hover::after {
    transform: scaleX(1);
}

.sol-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--red-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 24px;
    margin-bottom: 22px;
}

.sol-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sol-card p {
    color: var(--muted);
    font-size: 15.5px;
    margin: 0;
}

/* =====================================================================
   CTA BAND (pain-point)
   ===================================================================== */
#cta-band {
    padding: 90px 0;
    background:
        radial-gradient(700px 400px at 90% 50%, rgba(230, 33, 47, 0.22), transparent 65%),
        var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-band-inner h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    max-width: 640px;
}

.cta-band-inner h2 .hl {
    color: var(--red);
}

.cta-band-inner p {
    color: var(--muted);
    margin: 16px 0 0;
    max-width: 540px;
}

/* =====================================================================
   CLIENTS
   ===================================================================== */
#clients {
    padding: 90px 0;
    text-align: center;
}

#clients .clients-label {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 46px;
}

.brnd_img {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 70px;
}

.brnd img {
    max-height: 50px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: opacity .25s ease;
}

.brnd:hover img {
    opacity: 1;
}

/* =====================================================================
   CONTACT
   ===================================================================== */
#contact {
    padding: 110px 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
}

.contact-info-block {
    margin-top: 36px;
}

.ci-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.ci-item:last-child {
    border-bottom: none;
}

.ci-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    background: var(--red-soft);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ci-item .ci-head {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted-2);
    margin-bottom: 4px;
}

.ci-item a, .ci-item .ci-line {
    display: block;
    color: var(--white);
    font-size: 15.5px;
    line-height: 1.5;
}

.ci-item a:hover {
    color: var(--red);
}

/* Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--white);
    font-family: var(--font);
    font-size: 15px;
    transition: border-color .2s ease, background .2s ease;
}

.form-control::placeholder {
    color: var(--muted-2);
}

.form-control:focus {
    outline: none;
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-eltok {
    width: 100%;
    justify-content: center;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
#footer {
    background: var(--bg);
    padding: 56px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border);
}

.footer-top img {
    height: 32px;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 16px;
}

.footer-social a:hover {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
}

.footer-bottom {
    padding-top: 26px;
    text-align: center;
    color: var(--muted-2);
    font-size: 14px;
}

/* =====================================================================
   LIGHT SECTIONS — para alternar o ritmo e deixar o site mais leve
   ===================================================================== */
.section-light {
    background: #F3F3F5 !important;
    color: #16161B;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.section-light .section-title {
    color: #121217;
}

.section-light .section-lead {
    color: #565660;
}

/* About / timeline */
.section-light .about-point strong {
    color: #121217;
}

.section-light .about-point p {
    color: #565660;
}

.section-light .tl-dot {
    background: #fff;
}

.section-light .tl-item h4 {
    color: #121217;
}

.section-light .tl-item p {
    color: #565660;
}

/* Clients */
.section-light .clients-label {
    color: #8A8A93;
}

.section-light .brnd img {
    filter: grayscale(100%);
    opacity: 0.55;
}

.section-light .brnd:hover img {
    filter: none;
    opacity: 1;
}

/* Contact */
.section-light .ci-item {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.section-light .ci-item .ci-head {
    color: #8A8A93;
}

.section-light .ci-item a,
.section-light .ci-item .ci-line {
    color: #121217;
}

.section-light .ci-item a:hover {
    color: var(--red);
}

.section-light .contact-form {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.section-light .form-group label {
    color: #121217;
}

.section-light .form-control {
    background: #F3F3F5;
    border-color: rgba(0, 0, 0, 0.12);
    color: #121217;
}

.section-light .form-control::placeholder {
    color: #9A9AA4;
}

.section-light .form-control:focus {
    background: #fff;
    border-color: var(--red);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991px) {
    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .sol-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    /* Mobile nav */
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        background: var(--bg-2);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 100px 32px 32px;
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 999;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 18px;
        padding: 10px 0;
        width: 100%;
    }

    .nav-links .nav-cta {
        margin-top: 12px;
    }
}

@media (max-width: 600px) {
    .sol-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    #cover {
        padding: 120px 0 60px;
    }

    .contact-form {
        padding: 24px;
    }

    .cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
