/* =====================================================
   SIAF — Visibilidade Digital Integrada
   Design: escuro, moderno, minimalista. Acento verde-menta.
   Único arquivo CSS. Tokens em :root.
   ===================================================== */

:root {
    /* Superfícies */
    --bg: #0A0C14;
    --bg-alt: #0E111B;
    --surface: #141826;
    --surface-hover: #1A1F30;
    --border: #232838;
    --border-soft: #1B2030;

    /* Texto */
    --text: #F3F6FA;
    --text-soft: #C3CAD8;
    --text-muted: #8A93A6;

    /* Acentos */
    --accent: #34E3A1;
    --accent-dim: #1FC888;
    --accent-soft: rgba(52, 227, 161, .12);

    /* Tipografia */
    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Ritmo */
    --radius: 14px;
    --radius-lg: 20px;
    --section-y: 104px;
    --container: 1180px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Decisão de design: conteúdo não selecionável (anti-cópia) */
    user-select: none;
    -webkit-user-select: none;
}

input,
textarea,
select,
[contenteditable] {
    user-select: text;
    -webkit-user-select: text;
}

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

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

button,
input,
select {
    font: inherit;
    color: inherit;
}

::selection {
    background: var(--accent);
    color: #04120C;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Presente no DOM (acessível a leitores de tela e crawlers), invisível na tela.
   Não usar display:none — isso removeria o conteúdo da árvore de acessibilidade. */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--accent);
    color: #04120C;
    padding: 10px 18px;
    border-radius: 0 0 8px 0;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.container-narrow {
    max-width: 860px;
}

section {
    position: relative;
}

/* ---------- Tipografia utilitária ---------- */
.accent-text {
    color: var(--accent);
}

.eyebrow,
.eyebrow-center {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.eyebrow-center {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.section-header {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-header-left {
    margin-inline: 0;
    text-align: left;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.18;
    letter-spacing: -.02em;
    color: var(--text);
}

.section-subtitle {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #04120C;
}

.btn-primary:hover {
    background: #45EFAE;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px -8px rgba(52, 227, 161, .55);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text-soft);
}

.btn-outline:hover {
    border-color: rgba(52, 227, 161, .45);
    color: var(--text);
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
    padding-block: 14px;
}

/* ---------- Navbar ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    background: rgba(10, 12, 20, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}

.navbar.scrolled {
    border-bottom-color: var(--border-soft);
    background: rgba(10, 12, 20, .92);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 68px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-logo-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid rgba(52, 227, 161, .45);
    box-shadow: 0 0 10px rgba(52, 227, 161, .15);
    flex-shrink: 0;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}

.nav-logo:hover .nav-logo-wrap {
    border-color: rgba(52, 227, 161, .8);
    box-shadow: 0 0 16px rgba(52, 227, 161, .35);
    transform: scale(1.04);
}

.nav-logo-wrap::after {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(52, 227, 161, .28), transparent);
    filter: blur(4px);
    z-index: 0;
    pointer-events: none;
}

.nav-logo-wrap .logo-img {
    position: relative;
    z-index: 1;
    width: 62%;
    height: 62%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: .04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin-inline: auto;
}

.nav-link {
    position: relative;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-muted);
    padding-block: 6px;
    transition: color .2s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 68px 0 0;
    z-index: 99;
    background: var(--bg);
    padding: 32px 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 4px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-soft);
}

.mobile-nav-link.btn {
    margin-top: 18px;
    border-bottom: 0;
    font-size: 16px;
    justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
    padding-block: clamp(48px, 8vw, 92px) clamp(56px, 8vw, 96px);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -220px;
    left: 50%;
    width: min(1100px, 130vw);
    height: 640px;
    transform: translateX(-50%);
    pointer-events: none;
    background:
        radial-gradient(closest-side, rgba(52, 227, 161, .13), transparent 72%),
        radial-gradient(closest-side, rgba(52, 227, 161, .09), transparent 70%);
    background-position: 30% 40%, 78% 30%;
    background-size: 70% 100%, 60% 90%;
    background-repeat: no-repeat;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(40px, 6vw, 76px);
    align-items: center;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(34px, 5.2vw, 56px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.hero-subtitle {
    margin-top: 24px;
    max-width: 46ch;
    color: var(--text-muted);
    font-size: 16.5px;
    line-height: 1.75;
}

.hero-subtitle strong {
    color: var(--text-soft);
    font-weight: 600;
}

.hero-highlights {
    list-style: none;
    margin-top: 26px;
    display: grid;
    gap: 10px;
}

.hero-highlights li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    color: var(--text-soft);
}

.hero-highlights li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ---------- Card de contato + radar ---------- */
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 26px 28px;
    box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9);
}

.radar {
    margin: -6px auto 18px;
    max-width: 300px;
}

.radar svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.radar-ring {
    fill: none;
    stroke: var(--border);
    stroke-width: 1;
}

.radar-ring-outer {
    stroke: #2C3346;
}

.radar-axis line {
    stroke: var(--border);
    stroke-width: 1;
}

.radar-area {
    fill: url(#radarFill);
    stroke: var(--accent);
    stroke-width: 1.6;
    stroke-linejoin: round;
}

.radar-dot circle {
    fill: var(--accent);
}

.radar-label text {
    fill: var(--text-muted);
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .02em;
}

.radar-sweep {
    transform-origin: 110px 100px;
    animation: radar-spin 6s linear infinite;
}

@keyframes radar-spin {
    to {
        transform: rotate(360deg);
    }
}

.contact-card-title {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -.01em;
}

.contact-card-desc {
    margin-top: 6px;
    margin-bottom: 22px;
    text-align: center;
    font-size: 13.5px;
    color: var(--text-muted);
}

/* Segmented control */
.segmented {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin-bottom: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.segmented-thumb {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 6px);
    height: calc(100% - 8px);
    border-radius: 7px;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    transition: transform .25s var(--ease);
}

.segmented.is-second .segmented-thumb {
    transform: translateX(calc(100% + 4px));
}

.segmented-option {
    position: relative;
    z-index: 1;
    background: none;
    border: 0;
    padding: 9px 8px;
    border-radius: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: color .2s var(--ease);
}

.segmented-option.active {
    color: var(--text);
}

/* Formulário */
.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14.5px;
    color: var(--text);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.form-input::placeholder {
    color: #5B6478;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-note {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

.form-success {
    display: none;
    text-align: center;
    padding: 20px 4px 8px;
}

.form-success.visible {
    display: block;
}

.form-success-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
}

.form-success-icon svg {
    width: 22px;
    height: 22px;
}

.form-success-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}

.form-success-text {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ---------- Marquee de plataformas ---------- */
.marquee-section {
    padding-block: 40px 44px;
    background: var(--bg-alt);
    border-block: 1px solid var(--border-soft);
    overflow: hidden;
}

.marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    /* 4 grupos idênticos: deslocar 25% troca um grupo -> loop sem emenda */
    animation: marquee 30s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 64px;
    padding-right: 64px;
    /* garante que 4 grupos sempre cubram telas largas, sem espaços vazios */
    min-width: max(25vw, 420px);
    flex: 0 0 auto;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--text-muted);
    opacity: .75;
    white-space: nowrap;
    transition: color .2s var(--ease), opacity .2s var(--ease);
}

.marquee-item:hover {
    color: var(--accent);
    opacity: 1;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

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

/* ---------- Cards genéricos ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 28px;
    transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}

.card:hover {
    border-color: #2E3549;
    background: var(--surface-hover);
    transform: translateY(-3px);
}

.card-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 20px;
}

.card-icon-alt {
    background: rgba(52, 227, 161, .14);
    color: var(--accent);
}

.card-icon svg {
    width: 21px;
    height: 21px;
}

.card-kicker {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.card-text {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.72;
}

.card-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    gap: 11px;
}

.card-list li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    color: var(--text-soft);
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 7px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
    border-radius: 1px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 24px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--accent);
    transition: gap .2s var(--ease);
}

.card-link:hover {
    gap: 12px;
}

/* ---------- Serviços ---------- */
.services {
    padding-block: var(--section-y);
}

.service-grid,
.client-grid {
    display: grid;
    gap: 24px;
}

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

.client-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ---------- Números ---------- */
.stats {
    padding-block: 24px 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-block: 44px;
    border-block: 1px solid var(--border-soft);
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--accent);
    line-height: 1.1;
}

.stat-label {
    display: block;
    margin-top: 10px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---------- Clientes ---------- */
.clients {
    padding-block: var(--section-y);
}

.client-logo {
    display: inline-flex;
    align-items: center;
    height: 52px;
    margin-bottom: 22px;
    opacity: .85;
    transition: opacity .2s var(--ease);
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

/* Fallback tipográfico para clientes ainda sem arquivo de logo.
   Ao adicionar assets/img/company/<cliente>.webp, troque o span por um <img>. */
.client-wordmark {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .01em;
    color: var(--text);
    white-space: nowrap;
}

/* ---------- FAQ ---------- */
.faq-section {
    padding-block: var(--section-y);
    background: var(--bg-alt);
    border-block: 1px solid var(--border-soft);
}

.faq-accordion {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .25s var(--ease);
}

.faq-item.active {
    border-color: rgba(52, 227, 161, .38);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 19px 22px;
    background: none;
    border: 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text);
    cursor: pointer;
}

.faq-toggle {
    position: relative;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-muted);
    transform: translate(-50%, -50%);
    transition: transform .3s var(--ease), background .3s var(--ease);
}

.faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-toggle::before,
.faq-item.active .faq-toggle::after {
    background: var(--accent);
}

.faq-item.active .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s var(--ease);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer>p {
    overflow: hidden;
    padding-inline: 22px;
    color: var(--text-muted);
    font-size: 14.8px;
    line-height: 1.75;
}

.faq-item.active .faq-answer>p {
    padding-bottom: 21px;
}

/* ---------- Sobre ---------- */
.about {
    padding-block: var(--section-y);
}

.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: clamp(36px, 6vw, 72px);
    align-items: center;
}

.about-logo-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: min(260px, 78vw);
    aspect-ratio: 1;
    margin-inline: auto;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid rgba(52, 227, 161, .45);
}

.about-logo-wrap::after {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(52, 227, 161, .28), transparent);
    filter: blur(26px);
    z-index: 0;
}

.about-logo-wrap img {
    position: relative;
    z-index: 1;
    width: 62%;
    height: 62%;
    object-fit: cover;
    border-radius: 50%;
}

.about-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-link {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color .2s var(--ease), border-color .2s var(--ease);
}

.social-link:hover {
    color: var(--accent);
    border-color: rgba(52, 227, 161, .4);
}

.about-text {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.78;
}

.about-text strong {
    color: var(--text);
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.badge {
    flex: 1 1 130px;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
}

.badge-text {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
    padding-block: 64px 32px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-soft);
}

.footer-grid {
    display: grid;
    /* a 4ª coluna (Recursos) é .visually-hidden e sai do fluxo do grid */
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
}

.footer-description {
    margin-top: 16px;
    max-width: 30ch;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.footer-title {
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 11px;
}

.footer-col a,
.footer-place {
    font-size: 14px;
    color: var(--text-muted);
    transition: color .2s var(--ease);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-place {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.flag {
    font-size: 15px;
    line-height: 1;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 26px;
    border-top: 1px solid var(--border-soft);
    font-size: 13px;
    color: var(--text-muted);
}

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

.footer-social a:hover {
    color: var(--accent);
}

/* ---------- Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s var(--ease) var(--delay, 0s), transform .6s var(--ease) var(--delay, 0s);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
    :root {
        --section-y: 76px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .contact-card {
        max-width: 520px;
        width: 100%;
        margin-inline: auto;
    }

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

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

    .about-visual {
        max-width: 320px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .navbar-inner {
        position: relative;
    }
    .nav-logo .nav-logo-wrap {
        position: static;
        transform: none;
    }
    .nav-logo .logo-text {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    .header-lang-selector {
        display: none !important;
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

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

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

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-block: 36px;
    }
}

@media (max-width: 560px) {
    .container {
        padding-inline: 18px;
    }

    .card {
        padding: 26px 22px;
    }

    .contact-card {
        padding: 22px 20px 24px;
    }

    .marquee-track {
        gap: 44px;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }

    .about-badges {
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.nav-cta-group {
    display: flex;
    gap: 0.75rem;
}

.mobile-nav-btn {
    margin-bottom: 0.5rem;
    text-align: center;
}

.mobile-nav-btn-primary {
    text-align: center;
}

.nav-logo-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid rgba(52, 227, 161, .45);
    box-shadow: 0 0 10px rgba(52, 227, 161, .15);
    flex-shrink: 0;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}

.nav-logo:hover .nav-logo-wrap {
    border-color: rgba(52, 227, 161, .8);
    box-shadow: 0 0 16px rgba(52, 227, 161, .35);
    transform: scale(1.04);
}

.nav-logo-wrap::after {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(52, 227, 161, .28), transparent);
    filter: blur(4px);
    z-index: 0;
    pointer-events: none;
}

.nav-logo-wrap .logo-img {
    position: relative;
    z-index: 1;
    width: 62%;
    height: 62%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Client Cards Styles */
.client-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1c2235;
    padding: 16px !important;
    height: 110px !important;
}

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.client-logo img {
    width: 100%;
    height: 100%;
    max-height: 75px;
    object-fit: contain;
}
