:root {
    --blue: #2e50ad;
    --blue-dark: #243f94;
    --cyan: #35bfdd;
    --cyan-dark: #1e9fbd;
    --ink: #151a27;
    --muted: #687083;
    --line: #e4e7ed;
    --surface: #f7f8fa;
    --white: #ffffff;
    --deep: #102b3d;
    --footer: #293f8c;
    --whatsapp: #24bd62;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    min-width: 320px;
    color: var(--ink);
    background: var(--white);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.container {
    width: min(1040px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(23, 31, 54, 0.06);
}

.site-header.is-scrolled {
    box-shadow: 0 4px 18px rgba(22, 34, 68, 0.09);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    position: relative;
    display: inline-grid;
    color: var(--blue-dark);
    text-decoration: none;
    line-height: 1;
}

.brand-word {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 5px;
}

.brand-a {
    position: relative;
    letter-spacing: 0;
}

.brand-a::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    left: 50%;
    top: 50%;
    border: 1px dotted var(--blue);
    border-radius: 50%;
    transform: translate(-47%, -52%);
}

.brand-subtitle {
    margin-top: 7px;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 2.4px;
}

.brand-mark {
    display: none;
}

.brand-copy {
    display: grid;
    color: var(--blue-dark);
    line-height: 1;
}

.brand-copy strong {
    font-size: 19px;
    letter-spacing: 3px;
}

.brand-copy small {
    margin-top: 6px;
    font-size: 8px;
    letter-spacing: 1.8px;
}

.site-nav {
    display: flex;
    align-items: stretch;
    gap: 36px;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 72px;
    color: #52639d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 10px;
    height: 2px;
    background: var(--blue-dark);
    transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
    right: 0;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--blue-dark);
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border: 0;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary,
.button-dark {
    color: var(--white);
    background: var(--blue-dark);
}

.button-primary:hover,
.button-dark:hover {
    background: #172f75;
}

.button:focus-visible,
.site-nav a:focus-visible,
.menu-toggle:focus-visible,
.whatsapp-float:focus-visible,
.site-footer a:focus-visible {
    outline: 3px solid rgba(53, 191, 221, 0.58);
    outline-offset: 3px;
}

.hero {
    position: relative;
    min-height: 430px;
    height: min(500px, calc(100svh - 150px));
    overflow: hidden;
    background: #3b4149;
}

.hero-media,
.hero-overlay,
.attendance-media,
.attendance-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("assets/images/hero-suv.webp");
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(26, 37, 73, 0.58) 0%, rgba(26, 37, 73, 0.27) 45%, rgba(26, 37, 73, 0.08) 75%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    width: min(510px, 100%);
    color: var(--white);
}

.hero-kicker,
.section-kicker {
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.hero-kicker {
    color: var(--white);
}

.hero h1 {
    margin-top: 10px;
    color: var(--white);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
}

.hero-content > p:not(.hero-kicker) {
    max-width: 500px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
}

.hero-content .button {
    margin-top: 24px;
}

.contact-band {
    padding: 29px 0;
    color: var(--blue-dark);
    background: var(--cyan);
}

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

.contact-band h2 {
    font-size: 19px;
    line-height: 1.3;
}

.contact-band p {
    margin-top: 4px;
    font-size: 12px;
}

.solutions {
    padding: 104px 0 112px;
    background: var(--white);
}

.section-heading {
    margin-bottom: 55px;
    text-align: center;
}

.section-heading h2 {
    font-size: 32px;
    line-height: 1.2;
}

.section-heading h2 span,
.attendance h2 span,
.about-copy h2 span {
    color: var(--blue-dark);
}

.section-heading p {
    margin-top: 12px;
    color: #858a95;
    font-size: 11px;
    letter-spacing: 0.8px;
}

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

.solution-card {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px;
    background: var(--cyan);
    border-radius: 0;
}

.solution-card h3 {
    color: var(--blue-dark);
    font-size: 17px;
    line-height: 1.35;
}

.solution-card p {
    margin-top: 14px;
    color: var(--white);
    font-size: 12px;
}

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

.attendance {
    position: relative;
    min-height: 510px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--deep);
    border-top: 14px solid #262626;
    border-bottom: 14px solid #262626;
}

.attendance-media {
    background-position: center;
    background-size: cover;
}

.attendance-overlay {
    background: rgba(7, 65, 85, 0.88);
}

.attendance-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 72px;
    align-items: center;
    padding-top: 65px;
    padding-bottom: 65px;
}

.section-kicker-light {
    color: var(--white);
}

.attendance-copy h2 {
    max-width: 480px;
    margin-top: 10px;
    color: var(--white);
    font-size: 31px;
    line-height: 1.2;
}

.attendance-copy > p:not(.section-kicker) {
    max-width: 510px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.93);
    font-size: 12px;
}

.attendance-copy .button {
    margin-top: 30px;
}

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

.fact-box {
    min-height: 142px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.13);
}

.fact-box strong {
    color: var(--blue-dark);
    font-size: 30px;
    line-height: 1;
}

.fact-box span {
    margin-top: 12px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

.about {
    padding: 96px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.about-image {
    min-height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--surface);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-copy {
    min-height: 410px;
    padding: 50px 54px;
    color: var(--white);
    background: var(--cyan);
}

.about-copy h2 {
    margin-top: 12px;
    color: var(--ink);
    font-size: 30px;
    line-height: 1.18;
}

.about-copy > p:not(.section-kicker) {
    margin-top: 24px;
    font-size: 12px;
}

.about-copy .button {
    margin-top: 28px;
}

.site-footer {
    padding: 64px 0 28px;
    color: var(--white);
    background: var(--footer);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 82px;
}

.site-footer h3 {
    margin-bottom: 22px;
    font-size: 16px;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
}

.footer-grid > div > p + p {
    margin-top: 14px;
}

.site-footer ul {
    list-style: none;
}

.site-footer li {
    margin-top: 10px;
}

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

.site-footer a:hover {
    color: var(--cyan);
}

.footer-bottom {
    margin-top: 68px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 10px;
}

.whatsapp-float {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.2));
}

.whatsapp-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--whatsapp);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.whatsapp-label {
    min-height: 29px;
    margin-left: -5px;
    padding: 7px 18px 7px 14px;
    color: var(--white);
    background: var(--whatsapp);
    border-radius: 0 999px 999px 0;
    font-size: 10px;
    font-weight: 600;
}

/* Páginas legais */
.legal-page {
    background: var(--surface);
}

.legal-header {
    position: static;
}

.legal-hero {
    padding: 66px 0 54px;
    color: var(--white);
    background: var(--blue-dark);
}

.legal-hero .eyebrow {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.legal-hero h1 {
    margin-top: 10px;
    color: var(--white);
    font-size: 38px;
    line-height: 1.2;
}

.legal-hero p:last-child {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.legal-content {
    width: min(860px, calc(100% - 48px));
    margin: 54px auto 76px;
    padding: 44px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.legal-content h2 {
    margin-top: 32px;
    font-size: 22px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content ul {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content li {
    margin-top: 8px;
}

.legal-content a {
    color: var(--blue-dark);
}

.legal-note {
    padding: 17px 19px;
    background: #edf2ff;
    border-left: 4px solid var(--blue-dark);
}

.not-found {
    min-height: calc(100svh - 72px);
    display: grid;
    place-items: center;
    padding: 60px 0;
    text-align: center;
}

.not-found strong {
    color: var(--blue-dark);
    font-size: 64px;
}

.not-found h1 {
    margin-top: 8px;
    font-size: 34px;
}

.not-found p {
    margin: 14px auto 26px;
    color: var(--muted);
}

@media (max-width: 900px) {
    .site-nav {
        gap: 24px;
    }

    .solutions-grid {
        gap: 16px;
    }

    .solution-card {
        padding: 26px 22px;
    }

    .attendance-grid {
        gap: 42px;
    }

    .about-copy {
        padding: 42px 38px;
    }

    .footer-grid {
        gap: 45px;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 68px;
    }

    .container {
        width: min(100% - 32px, 1040px);
    }

    .header-inner {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        padding: 10px 16px 18px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 14px 24px rgba(22, 34, 68, 0.13);
        transform: translateY(-130%);
        visibility: hidden;
        transition: transform 190ms ease, visibility 190ms ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
        visibility: visible;
    }

    .site-nav a {
        min-height: 48px;
        padding: 0 10px;
        border-bottom: 1px solid var(--line);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .site-nav a::after {
        display: none;
    }

    .hero {
        min-height: 490px;
        height: calc(100svh - 125px);
        max-height: 620px;
    }

    .hero-media {
        background-position: 58% center;
    }

    .hero-overlay {
        background: rgba(20, 31, 67, 0.55);
    }

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

    .contact-band-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .contact-band .button {
        min-width: 220px;
    }

    .solutions {
        padding: 74px 0 80px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .solutions-grid,
    .attendance-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: 220px;
        padding: 28px;
    }

    .attendance-grid {
        gap: 46px;
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .attendance-copy h2 {
        font-size: 28px;
    }

    .about {
        padding: 70px 0;
    }

    .about-image,
    .about-copy {
        min-height: 360px;
    }

    .about-copy h2 {
        font-size: 27px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 38px 34px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        margin-top: 48px;
    }

    .legal-hero h1 {
        font-size: 31px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 24px, 1040px);
    }

    .brand-word {
        font-size: 18px;
    }

    .hero {
        min-height: 500px;
        height: calc(100svh - 105px);
        max-height: 580px;
    }

    .hero-content {
        padding-top: 34px;
    }

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

    .hero-content > p:not(.hero-kicker) {
        font-size: 14px;
    }

    .contact-band {
        padding: 26px 0;
    }

    .contact-band .button {
        width: 100%;
    }

    .facts-grid {
        gap: 12px;
    }

    .fact-box {
        min-height: 124px;
        padding: 20px 10px;
    }

    .fact-box strong {
        font-size: 24px;
    }

    .fact-box span {
        font-size: 12px;
    }

    .about-image {
        min-height: 300px;
    }

    .about-copy {
        min-height: 380px;
        padding: 38px 28px;
    }

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

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .whatsapp-label {
        display: none;
    }

    .legal-content {
        width: min(100% - 24px, 860px);
        margin-top: 32px;
        padding: 28px 20px;
    }

    .legal-header .button {
        min-height: 40px;
        padding: 10px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
