:root {
    --blue-950: #071826;
    --blue-900: #0b2238;
    --blue-800: #123b5d;
    --wine-900: #5b1028;
    --wine-950: #3f0718;
    --wine-800: #701733;
    --wine-700: #8a1f40;
    --wine-100: #f8e9ef;
    --gray-950: #111827;
    --gray-700: #374151;
    --gray-200: #e5e7eb;
    --gray-100: #f3f5f7;
    --white: #ffffff;
    --green: #1fa855;
    --shadow: 0 18px 50px rgba(7, 24, 38, .16);
    --line: rgba(255, 255, 255, .16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-950);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
    background: var(--white);
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 86px;
    padding: 12px clamp(18px, 4vw, 64px);
    border-bottom: 1px solid rgba(91, 16, 40, .14);
    background: rgba(255, 255, 255, .96);
    color: var(--wine-900);
    box-shadow: 0 8px 24px rgba(7, 24, 38, .08);
    backdrop-filter: blur(14px);
}

.site-header .brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    min-height: 54px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
}

.site-header .brand img {
    width: 250px;
    height: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 30px);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.main-nav a {
    color: var(--wine-900);
}

.main-nav a,
.site-footer a {
    text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
    color: var(--wine-700);
}

.header-whatsapp,
.floating-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 6px;
    background: var(--green);
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    min-height: calc(100vh - 84px);
    padding: clamp(64px, 8vw, 110px) clamp(18px, 5vw, 80px);
    background:
        linear-gradient(120deg, rgba(7, 24, 38, .96), rgba(91, 16, 40, .82)),
        url("img/industrial-bg.jpg") center/cover no-repeat;
    color: var(--white);
}

.hero h1 {
    max-width: 780px;
    margin: 12px 0 20px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 690px;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, .86);
    font-size: 20px;
}

.eyebrow {
    margin: 0;
    color: var(--wine-900);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow,
.process-section .eyebrow,
.segments .eyebrow {
    color: var(--wine-100);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--wine-800);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--wine-900);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .08);
    color: var(--white);
}

.hero-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04));
    box-shadow: var(--shadow);
}

.slider {
    position: relative;
    min-height: 430px;
    background:
        linear-gradient(135deg, rgba(7, 24, 38, .96), rgba(91, 16, 40, .86)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 32px);
}

.slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility .45s ease;
}

.slide.is-active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 330px;
    padding: 22px;
    object-fit: contain;
    object-position: center;
}

.slide figcaption {
    min-height: 100px;
    padding: 20px 24px 24px;
    border-top: 1px solid var(--line);
    background: rgba(5, 13, 20, .72);
}

.slide figcaption strong,
.slide figcaption span {
    display: block;
}

.slide figcaption strong {
    color: var(--white);
    font-size: 20px;
    line-height: 1.2;
}

.slide figcaption span {
    margin-top: 6px;
    color: rgba(255, 255, 255, .76);
}

.slider-controls {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.slider-controls button {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .34);
    cursor: pointer;
}

.slider-controls button.is-active {
    background: var(--wine-700);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, .14);
}

.hero-metrics span {
    padding: 18px 14px;
    background: rgba(7, 24, 38, .88);
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
}

.hero-metrics strong {
    display: block;
    color: var(--wine-100);
    font-size: 18px;
}

.section {
    padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 80px);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    padding-top: 0;
    padding-bottom: 0;
    background: var(--gray-200);
}

.trust-strip span {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: var(--white);
    color: var(--wine-900);
    font-weight: 900;
    text-align: center;
    border-bottom: 3px solid var(--wine-700);
}

.intro-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding-top: 0;
    padding-bottom: 0;
    background: var(--wine-900);
    color: var(--white);
}

.intro-strip div {
    padding: 30px;
    background: linear-gradient(135deg, var(--wine-900), var(--blue-950));
}

.intro-strip strong,
.intro-strip span {
    display: block;
}

.intro-strip span {
    margin-top: 8px;
    color: rgba(255, 255, 255, .75);
}

.promo-section {
    display: grid;
    gap: 28px;
    background: linear-gradient(180deg, #ffffff, #f8f3f5);
}

.promo-copy {
    max-width: 980px;
}

.promo-copy h2 {
    max-width: 900px;
}

.promo-copy p:not(.eyebrow) {
    max-width: 760px;
    color: var(--gray-700);
    font-size: 18px;
}

.promo-copy .btn {
    margin-top: 14px;
}

.promo-image {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(91, 16, 40, .16);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 42px rgba(17, 24, 39, .12);
}

.promo-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.split,
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
    gap: clamp(26px, 6vw, 80px);
    align-items: start;
}

h2 {
    margin: 10px 0 0;
    color: var(--blue-950);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: 0;
}

h3 {
    margin: 18px 0 8px;
    color: var(--blue-950);
    font-size: 22px;
    line-height: 1.2;
}

.text-stack p {
    margin: 0 0 18px;
    color: var(--gray-700);
    font-size: 18px;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 34px;
}

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

.service-card {
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 32px rgba(17, 24, 39, .08);
}

.service-card img {
    width: 100%;
    height: 280px;
    padding: 20px;
    object-fit: contain;
    background:
        linear-gradient(180deg, #f8fafc, #eef2f7),
        repeating-linear-gradient(90deg, rgba(7, 24, 38, .04) 0 1px, transparent 1px 26px);
}

.product-carousel {
    position: relative;
    overflow: hidden;
    height: 280px;
    padding: 18px;
    background:
        linear-gradient(180deg, #f8fafc, #eef2f7),
        repeating-linear-gradient(90deg, rgba(7, 24, 38, .04) 0 1px, transparent 1px 26px);
}

.product-carousel .product-shot {
    position: absolute;
    inset: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    padding: 0;
    object-fit: contain;
    background: transparent;
    opacity: 0;
    transform: scale(.98);
    transition: opacity .45s ease, transform .45s ease;
}

.product-carousel .product-shot.is-active {
    opacity: 1;
    transform: scale(1);
}

.service-card .product-cutout {
    width: 100%;
    height: 280px;
    padding: 20px;
    object-fit: contain;
    background:
        linear-gradient(180deg, #f8fafc, #eef2f7),
        repeating-linear-gradient(90deg, rgba(7, 24, 38, .04) 0 1px, transparent 1px 26px);
}

.service-card h3,
.service-card p {
    padding: 0 22px;
}

.service-card h3 {
    min-height: 58px;
    margin: 22px 0 10px;
    font-size: clamp(1.18rem, 1.05rem + .35vw, 1.42rem);
    line-height: 1.18;
    color: var(--ink);
}

.service-card p {
    margin: 0 0 24px;
    color: var(--gray-700);
}

.differentiators {
    background: var(--gray-100);
}

.downloads-section {
    background: var(--white);
}

.downloads-section .section-heading p:not(.eyebrow) {
    max-width: 700px;
    color: var(--gray-700);
    font-size: 18px;
}

.downloads-panel {
    border: 1px solid rgba(91, 16, 40, .14);
    border-radius: 8px;
    background:
        linear-gradient(180deg, #ffffff, #fbf7f9),
        repeating-linear-gradient(90deg, rgba(91, 16, 40, .04) 0 1px, transparent 1px 28px);
    box-shadow: 0 14px 34px rgba(17, 24, 39, .08);
}

.downloads-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(91, 16, 40, .12);
}

.download-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    align-items: center;
    min-height: 112px;
    padding: 22px;
    background: var(--white);
    color: var(--gray-950);
    text-decoration: none;
}

.download-description {
    grid-column: 2;
    color: var(--gray-700);
    font-size: .95rem;
    line-height: 1.45;
}

.download-item:hover {
    color: var(--wine-900);
    background: var(--wine-100);
}

.download-type {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 42px;
    border-radius: 6px;
    background: var(--wine-800);
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
}

.download-item strong {
    line-height: 1.25;
}

.download-item small {
    color: var(--gray-700);
    font-weight: 800;
}

.downloads-empty {
    display: grid;
    gap: 8px;
    padding: 28px;
    color: var(--gray-700);
}

.downloads-empty strong {
    color: var(--wine-900);
    font-size: 20px;
}

.downloads-empty code {
    color: var(--wine-900);
    font-weight: 900;
}

.downloads-access-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-top: 1px solid rgba(91, 16, 40, .12);
    color: var(--gray-700);
    background: rgba(255, 255, 255, .72);
}

.downloads-access-note a {
    color: var(--wine-800);
    font-weight: 900;
}

.client-page {
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
}

.client-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
}

.client-panel {
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.client-logo {
    display: inline-flex;
    margin-bottom: 28px;
}

.client-logo img {
    width: min(320px, 72vw);
    height: auto;
}

.client-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.client-form {
    display: grid;
    gap: 15px;
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #fbfcfe;
}

.client-form h2 {
    margin: 0;
    font-size: 1.35rem;
}

.client-single-form {
    margin-top: 22px;
}

.client-form label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.client-form input[type="email"],
.client-form input[type="password"] {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font: inherit;
}

.client-consent {
    grid-template-columns: auto 1fr;
    align-items: start;
    color: var(--gray-700);
    font-weight: 600;
    line-height: 1.45;
}

.client-consent input {
    margin-top: 4px;
}

.client-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.client-notice,
.client-lgpd,
.client-session {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 8px;
}

.client-notice-success {
    color: #0f7a45;
    background: #e8f7ef;
}

.client-notice-error {
    color: #b42318;
    background: #fff0ed;
}

.client-lgpd {
    color: var(--gray-700);
    background: var(--gray-100);
}

.client-session {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(91, 16, 40, .16);
    background: #fff7fa;
}

.client-session .btn-secondary,
.client-form .btn-secondary {
    border: 1px solid var(--wine-800);
    color: var(--white);
    background: var(--wine-800);
}

.client-session .btn-secondary:hover,
.client-form .btn-secondary:hover {
    color: var(--white);
    background: var(--wine-900);
}

.client-download-list {
    margin-top: 24px;
}

.process-section {
    background:
        linear-gradient(135deg, rgba(7, 24, 38, .97), rgba(91, 16, 40, .90)),
        url("img/industrial-bg.jpg") center/cover no-repeat;
    color: var(--white);
}

.process-section h2,
.process-section h3 {
    color: var(--white);
}

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

.process-grid article {
    min-height: 230px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
}

.process-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--wine-100);
    color: var(--wine-900);
    font-weight: 900;
}

.process-grid p {
    color: rgba(255, 255, 255, .76);
}

.feature-grid,
.segment-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature-grid span,
.segment-list span {
    min-height: 72px;
    padding: 20px;
    border-left: 4px solid var(--wine-700);
    border-radius: 6px;
    background: var(--white);
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
}

.segments {
    background: var(--blue-950);
    color: var(--white);
}

.segments h2 {
    color: var(--white);
}

.segment-list span {
    background: rgba(255, 255, 255, .08);
    color: var(--white);
}

.contact-section {
    background: var(--white);
}

.contact-copy p {
    max-width: 620px;
    color: var(--gray-700);
    font-size: 18px;
}

.contact-lines {
    display: grid;
    gap: 8px;
    margin-top: 26px;
}

.contact-lines a {
    color: var(--wine-800);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: clamp(22px, 4vw, 34px);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue-950), var(--wine-900));
    color: var(--white);
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, .58);
}

.contact-form .btn {
    width: 100%;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.form-status {
    min-height: 24px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    box-shadow: 0 12px 30px rgba(31, 168, 85, .34);
}

.site-footer {
    display: grid;
    grid-template-columns: 1.2fr 1fr .7fr;
    gap: 28px;
    padding: 42px clamp(18px, 5vw, 80px);
    background: #050d14;
    color: rgba(255, 255, 255, .78);
}

.footer-credit {
    grid-column: 1 / -1;
    max-width: none;
    margin: 4px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .72);
    font-size: .92rem;
}

.site-footer strong {
    display: block;
    color: var(--white);
    font-size: 20px;
}

.site-footer p {
    max-width: 460px;
}

.site-footer div {
    display: grid;
    gap: 8px;
    align-content: start;
}

@media (max-width: 980px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero,
    .split,
    .promo-section,
    .contact-section,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .intro-strip,
    .card-grid,
    .trust-strip,
    .downloads-list,
    .client-auth-grid,
    .feature-grid,
    .segment-list,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .downloads-access-note,
    .client-session {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-card h3 {
        min-height: 0;
    }

    .slider {
        min-height: 390px;
    }

    .slide img {
        height: 280px;
    }
}

@media (max-width: 560px) {
    .site-header {
        min-height: auto;
    }

    .site-header .brand {
        min-width: 190px;
        min-height: 42px;
        padding: 0;
    }

    .site-header .brand img {
        width: 184px;
    }

    .header-whatsapp {
        min-height: 40px;
        padding: 0 12px;
        font-size: 13px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-copy {
        font-size: 18px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .slider {
        min-height: 360px;
    }

    .slide img {
        height: 230px;
        padding: 14px;
    }

    .slide figcaption {
        min-height: 130px;
        padding: 16px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .floating-whatsapp {
        right: 12px;
        bottom: 12px;
    }
}
