:root {
    --ink: #0b1633;
    --muted: #253858;
    --soft: #5a6b85;
    --line: #cfd8e3;
    --surface: #f4f7fb;
    --panel: #ffffff;
    --brand: #003b5c;
    --brand-dark: #06172f;
    --cyan: #00a6c8;
    --red: #f0063b;
    --shadow: 0 16px 38px rgba(11, 22, 51, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.56;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    height: 54px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 800;
}

.nav-links a:hover,
.nav-links a.active,
.nav-dropdown-button:hover {
    color: var(--brand);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.language-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.language-button i {
    color: var(--brand);
    font-size: 13px;
}

.language-button .language-chevron {
    color: var(--soft);
    font-size: 10px;
}

.nav-dropdown-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 18px);
    z-index: 30;
    display: none;
    min-width: 190px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.nav-dropdown-menu-right {
    right: 0;
    left: auto;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
    gap: 2px;
}

.nav-dropdown-menu a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    color: var(--brand);
    background: #f4f7fb;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    padding: 10px 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 800;
    font-size: 17px;
}

.button-primary {
    background: var(--brand);
    color: #fff;
}

.button-secondary {
    background: #fff;
    border-color: var(--line);
    color: var(--brand);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(0, 166, 200, 0.32), transparent 36%),
        radial-gradient(circle at 12% 72%, rgba(240, 6, 59, 0.22), transparent 32%),
        linear-gradient(135deg, #07172f 0%, #09233f 46%, #06111f 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.06));
}

.hero-grid {
    position: relative;
    z-index: 1;
    min-height: 760px;
    padding: 56px 0 72px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 58px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 18px;
    color: #72e3f1;
    font-family: "Atkinson Hyperlegible", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero h1,
.section h2,
.section h3,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.about-hero h2,
.about-hero h3,
.partner-band h2,
.cta h2 {
    margin: 0;
    font-family: "Atkinson Hyperlegible", Arial, sans-serif;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 680px;
    font-size: 68px;
    font-weight: 700;
}

.hero h1 .highlight {
    color: var(--red);
}

.section h2,
.page-hero h2,
.about-hero h2,
.partner-band h2,
.cta h2 {
    font-size: 42px;
    font-weight: 700;
}

.section h3,
.page-hero h3,
.about-hero h3 {
    font-size: 27px;
    font-weight: 700;
}

.lead {
    max-width: 660px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: 23px;
    line-height: 1.46;
}

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

.hero .button-secondary {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.40);
}

.product-stage {
    position: relative;
    min-height: 570px;
}

.product-stage::before {
    content: "";
    position: absolute;
    inset: 44px 10px 22px 70px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.20);
    transform: rotate(-3deg);
}

.product-logo {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 380px;
    min-height: 172px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.product-logo img {
    max-height: 116px;
    object-fit: contain;
}

.product-logo.leia {
    top: 48px;
    left: 12px;
}

.product-logo.simulai {
    right: 0;
    bottom: 150px;
    width: 430px;
    min-height: 196px;
}

.product-note {
    position: absolute;
    left: 24px;
    bottom: -18px;
    z-index: 4;
    max-width: 360px;
    padding: 18px 20px;
    color: #fff;
    background: rgba(6, 23, 47, 0.90);
    border-left: 4px solid var(--red);
    border-radius: 8px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
    font-size: 19px;
    line-height: 1.45;
    backdrop-filter: blur(10px);
}

.hero-author-card {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 580px;
    margin-top: 26px;
    padding: 16px 18px;
    color: #fff;
    background: rgba(6, 23, 47, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
}

.hero-author-card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    object-position: top;
}

.hero-author-card strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
}

.hero-author-card span {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
}

.section {
    padding: 78px 0;
}

.section-alt {
    background: #fff;
    border-block: 1px solid var(--line);
}

.section-head {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 34px;
}

.section-head p,
.copy {
    margin: 0;
    color: var(--muted);
    font-size: 22px;
    line-height: 1.5;
}

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

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

.card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.card p,
.card li {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.card ul {
    margin: 16px 0 22px;
    padding-left: 22px;
}

.card .button {
    margin-top: auto;
}

.product-cards .product-card {
    min-height: 430px;
}

.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
}

#produtos .section-head h2,
#treinamentos h2 {
    margin: 0;
    font-family: "Atkinson Hyperlegible", Arial, sans-serif;
    font-size: 38px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0;
}

#produtos .section-head > p,
#treinamentos .max-w-4xl .section-subtitle {
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.56;
    font-weight: 400;
    letter-spacing: 0;
}

#produtos .card h3,
#treinamentos .service-card h3 {
    margin: 18px 0 0;
    font-family: "Atkinson Hyperlegible", Arial, sans-serif;
    font-size: 26px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0;
}

#produtos .card p,
#treinamentos .service-card p {
    margin: 18px 0 0;
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: 0;
}

#produtos .tag,
#treinamentos .service-tag {
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

#produtos .button,
#treinamentos .service-card a {
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

#produtos .product-card p:last-of-type {
    margin-bottom: 30px;
}

.product-card-red::before {
    background: var(--red);
}

.product-card-blue::before {
    background: var(--cyan);
}

.product-card-navy::before {
    background: var(--brand);
}

.product-card h3 {
    margin-top: 18px;
}

.product-card p {
    margin: 18px 0 0;
}

.product-card p + p {
    margin-top: 14px;
}

.product-card strong {
    color: var(--ink);
}

.tag {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
}

.tag-red {
    background: #fff0f3;
    color: var(--red);
}

.tag-blue {
    background: #e7f9fc;
    color: #007c89;
}

.tag-navy {
    background: #eef4ff;
    color: var(--brand);
}

.page-hero {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(6, 23, 47, 0.92), rgba(6, 23, 47, 0.78)),
        url("imagens/treinamentocremesp.jpg") center / cover no-repeat;
    padding: 108px 0 78px;
}

.page-hero .lead {
    max-width: 820px;
}

.service-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.service-list {
    display: grid;
    border-top: 1px solid var(--line);
}

.line-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.service-kicker {
    color: var(--cyan);
    font-family: "Atkinson Hyperlegible", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.line-item p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 19px;
}

.about-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(6, 23, 47, 0.90), rgba(6, 23, 47, 0.76), rgba(6, 23, 47, 0.28)),
        url("imagens/treinamentocremesp.jpg") center / cover no-repeat;
}

.about-content {
    max-width: 760px;
}

.about-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 22px;
}

.about-proof {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.metric {
    padding-top: 22px;
    border-top: 2px solid rgba(255, 255, 255, 0.28);
}

.metric strong {
    display: block;
    color: #fff;
    font-size: 40px;
    line-height: 1;
}

.metric span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 700;
}

.partner-band {
    overflow: hidden;
    padding: 54px 0;
    background: var(--brand-dark);
    color: #fff;
}

.partner-band h2 {
    max-width: 820px;
    margin-bottom: 28px;
    font-size: 34px;
}

.partner-rail {
    position: relative;
    overflow: hidden;
}

.partner-rail::before,
.partner-rail::after {
    content: "";
    position: absolute;
    top: 0;
    z-index: 2;
    width: 120px;
    height: 100%;
    pointer-events: none;
}

.partner-rail::before {
    left: 0;
    background: linear-gradient(90deg, var(--brand-dark), rgba(6, 23, 47, 0));
}

.partner-rail::after {
    right: 0;
    background: linear-gradient(270deg, var(--brand-dark), rgba(6, 23, 47, 0));
}

.partner-track {
    display: flex;
    width: max-content;
    gap: 18px;
    animation: partner-scroll 30s linear infinite;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 78px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
}

.partner-logo img {
    max-height: 52px;
    object-fit: contain;
}

@keyframes partner-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.cta {
    padding: 58px 0;
    background: var(--ink);
    color: #fff;
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 21px;
}

.footer {
    padding: 28px 0;
    color: var(--soft);
    background: #fff;
    border-top: 1px solid var(--line);
    font-size: 16px;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

@media (max-width: 1120px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-toggle {
        display: inline-flex;
        position: absolute;
        right: 20px;
        top: 18px;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-button {
        padding: 8px 0;
    }

    .language-button {
        width: fit-content;
        padding: 7px 10px;
    }

    .nav-dropdown-menu,
    .nav-dropdown-menu-right {
        position: static;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
    }

    .hero-grid,
    .section-head,
    .service-layout,
    .cta-row {
        grid-template-columns: 1fr;
        display: grid;
    }

    .grid-2,
    .grid-3,
    .about-proof {
        grid-template-columns: 1fr;
    }

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

    .section h2,
    .page-hero h2,
    .about-hero h2,
    .partner-band h2,
    .cta h2 {
        font-size: 34px;
    }

    #produtos .section-head h2,
    #treinamentos h2 {
        font-size: 34px;
    }

    #produtos .section-head > p,
    #treinamentos .max-w-4xl .section-subtitle,
    #produtos .card p,
    #treinamentos .service-card p {
        font-size: 17px;
    }

    .product-stage {
        min-height: 390px;
    }

    .product-logo,
    .product-logo.simulai {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        min-height: 150px;
        margin-top: 18px;
    }

    .product-stage::before {
        display: none;
    }

    .product-note {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 18px;
        max-width: 100%;
    }

    .line-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
