/* Pignoro Consultoria */

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-wght.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/space-grotesk-latin-wght.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* paleta derivada do logotipo: azul-marinho e dourado */
    --ink-900: #0b1622;
    --ink-800: #101f30;
    --ink-700: #17304a;
    --ink-600: #25486b;
    --slate: #6b7890;
    --teal: #8f6d22;
    --cyan: #d9b866;
    --cyan-soft: #f3e6c4;

    --paper: #ffffff;
    --paper-tint: #f6f4ee;
    --line: #e4e0d5;
    --text: #1b2530;
    --text-soft: #566270;
    --on-dark: #eef0f3;
    --on-dark-soft: #aab4c2;
    --line-dark: rgba(243, 230, 196, 0.14);

    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(11, 22, 34, 0.06), 0 12px 32px -12px rgba(11, 22, 34, 0.18);
    --container: 1160px;
    --header-h: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
}

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--cyan);
    color: var(--ink-900);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

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

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

/* ---------- botões ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 600 16px/1 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--cyan);
    color: var(--ink-900);
}

.btn-primary:hover {
    background: #e6cb85;
}

.btn-ghost {
    border-color: var(--line-dark);
    color: var(--on-dark);
    background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
    border-color: var(--cyan);
}

.btn-small {
    padding: 10px 18px;
    font-size: 15px;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: progress;
    transform: none;
}

/* ---------- cabeçalho ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    background: rgba(11, 22, 34, 0.86);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-dark);
    color: var(--on-dark);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-family: var(--font-head);
    font-size: 18px;
    letter-spacing: -0.01em;
}

.brand-text span {
    font-size: 12px;
    color: var(--on-dark-soft);
    letter-spacing: 0.04em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    white-space: nowrap;
}

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

    .brand-text span {
        display: none;
    }
}

.site-nav a:not(.btn) {
    font-size: 15px;
    font-weight: 500;
    color: var(--on-dark-soft);
    text-decoration: none;
    transition: color 0.2s;
}

.site-nav a:not(.btn):hover {
    color: var(--on-dark);
}

/* seletor de idioma (site e área do cliente) */

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
}

.lang-switch a,
.site-nav .lang-switch a {
    padding: 3px 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: var(--on-dark-soft);
    border-radius: 999px;
}

.lang-switch a:hover,
.site-nav .lang-switch a:hover {
    color: var(--on-dark);
}

.lang-switch a[aria-current="true"],
.site-nav .lang-switch a[aria-current="true"] {
    color: var(--ink-900);
    background: var(--cyan);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--on-dark);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle-bars {
    position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-bars::before {
    top: -6px;
}

.nav-toggle-bars::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    color: var(--on-dark);
    background:
        radial-gradient(900px 520px at 85% 10%, rgba(201, 162, 74, 0.28), transparent 60%),
        radial-gradient(700px 480px at 0% 100%, rgba(107, 120, 144, 0.22), transparent 60%),
        var(--ink-900);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
    opacity: 0.7;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 64px;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 104px;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}

.hero .eyebrow,
.section-dark .eyebrow {
    color: var(--cyan);
}

.hero h1 {
    font-size: clamp(38px, 5.4vw, 66px);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.hero h1 em {
    font-style: normal;
    color: var(--cyan);
}

.lead {
    max-width: 58ch;
    margin-top: 24px;
    font-size: 19px;
    color: var(--on-dark-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--line-dark);
}

.hero-facts strong {
    display: block;
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
    color: var(--on-dark);
}

.hero-facts span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--on-dark-soft);
}

/* painel decorativo */

.hero-panel {
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(23, 48, 74, 0.75), rgba(16, 31, 48, 0.75));
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
    font-family: var(--font-mono);
    font-size: 13px;
}

.panel-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-dark);
    color: var(--on-dark-soft);
}

.panel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ink-600);
}

.panel-title {
    margin-left: 10px;
}

.panel-rows {
    padding: 10px 18px;
}

.panel-rows li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 6px 10px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line-dark);
    color: var(--on-dark-soft);
}

.panel-rows li:last-child {
    border-bottom: 0;
}

.row-tag {
    color: var(--slate);
}

.row-name {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
}

.row-bar {
    grid-column: 2;
    height: 6px;
    border-radius: 6px;
    background: rgba(243, 230, 196, 0.08);
    overflow: hidden;
}

.row-bar i {
    display: block;
    height: 100%;
    border-radius: 6px;
    background: var(--ink-600);
}

.is-done .row-name,
.is-active .row-name {
    color: var(--on-dark);
}

.is-done .row-tag,
.is-active .row-tag {
    color: var(--cyan);
}

.is-done .row-bar i {
    background: var(--teal);
}

.is-active .row-bar i {
    background: linear-gradient(90deg, var(--teal), var(--cyan));
}

.w-100 {
    width: 100%;
}

.w-60 {
    width: 60%;
}

.w-25 {
    width: 25%;
}

.w-10 {
    width: 10%;
}

.panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid var(--line-dark);
    color: var(--on-dark-soft);
}

.panel-foot svg {
    flex: 1;
    height: 12px;
    fill: none;
    stroke: var(--teal);
    stroke-width: 1.2;
}

/* verbete: origem do nome */

.entry {
    padding: 28px 26px 30px;
    font-family: var(--font-body);
}

.entry-word {
    font-family: var(--font-head);
    font-size: clamp(34px, 3.6vw, 46px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--on-dark);
}

.entry-class {
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--on-dark-soft);
}

.entry-origin {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px dashed var(--line-dark);
    font-size: 16px;
    color: var(--on-dark-soft);
}

.entry-origin i {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    color: var(--cyan);
}

.entry-meaning {
    margin-top: 20px;
    font-family: var(--font-head);
    font-size: 22px;
    line-height: 1.35;
    color: var(--on-dark);
}

.entry-meaning span {
    display: block;
    color: var(--cyan);
}

/* ---------- seções ---------- */

.section {
    padding: 104px 0;
}

.section-light {
    background: var(--paper);
}

.section-tint {
    background: var(--paper-tint);
}

.section-dark {
    color: var(--on-dark);
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(201, 162, 74, 0.16), transparent 60%),
        var(--ink-900);
}

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

.section-head h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 600;
}

.section-intro {
    margin-top: 18px;
    font-size: 18px;
    color: var(--text-soft);
}

.section-dark .section-intro {
    color: var(--on-dark-soft);
}

.icon {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* situações */

.situations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.situations li {
    padding: 32px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    counter-increment: situation;
}

.situations {
    counter-reset: situation;
}

.situations li::before {
    content: counter(situation, decimal-leading-zero);
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--teal);
}

.situations h3 {
    font-size: 20px;
    font-weight: 600;
}

.situations p {
    margin-top: 10px;
    font-size: 16px;
    color: var(--text-soft);
}

/* cartões de serviço */

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

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

.card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(23, 48, 74, 0.35);
    transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
    border-color: rgba(217, 184, 102, 0.5);
    transform: translateY(-2px);
}

.card .icon {
    color: var(--cyan);
    margin-bottom: 18px;
}

.card h3 {
    font-size: 23px;
    font-weight: 600;
}

.card h4 {
    font-size: 18px;
    font-weight: 600;
}

.card p {
    margin-top: 10px;
    font-size: 16px;
    color: var(--on-dark-soft);
}

.card-core {
    padding: 32px;
    background: linear-gradient(180deg, rgba(37, 72, 107, 0.5), rgba(23, 48, 74, 0.35));
    border-color: rgba(217, 184, 102, 0.28);
}

.card-core > ul {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line-dark);
}

.card-core > ul > li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--on-dark);
}

.card-core > ul > li + li {
    margin-top: 10px;
}

.card-core > ul > li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background: var(--cyan);
    transform: rotate(45deg);
}

.card-tag {
    position: absolute;
    top: 28px;
    right: 28px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan);
}

.subhead {
    margin: 64px 0 24px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-dark-soft);
}

/* inteligência artificial */

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

.ai-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 6px 20px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.ai-card .icon {
    grid-row: span 2;
    width: 52px;
    height: 52px;
    padding: 12px;
    border-radius: 12px;
    color: var(--cyan-soft);
    background: var(--ink-700);
}

.ai-card h3 {
    align-self: center;
    font-size: 21px;
    font-weight: 600;
}

.ai-card p {
    grid-column: 2;
    font-size: 16px;
    color: var(--text-soft);
}

/* agronegócio */

.agro {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 20px;
    align-items: stretch;
}

.agro-case {
    display: flex;
    flex-direction: column;
}

.agro-for {
    margin-top: auto;
    padding-top: 28px;
}

.agro-for h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan);
}

.agro-for .chips {
    margin-top: 12px;
}

.agro-side {
    display: grid;
    gap: 20px;
}

.agro-block {
    padding: 28px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(23, 48, 74, 0.35);
}

.agro-block h3 {
    font-size: 20px;
    font-weight: 600;
}

.agro-block p {
    margin-top: 8px;
    font-size: 15px;
    color: var(--on-dark-soft);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.chips li {
    padding: 6px 13px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--on-dark);
    background: rgba(11, 22, 34, 0.5);
}

/* modelos de contratação */

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

.model {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.model-kind {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
}

.model h3 {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 600;
}

.model p {
    font-size: 16px;
    color: var(--text-soft);
}

.model h3 + p {
    margin-top: 12px;
}

.model-fit {
    margin-top: auto;
    padding-top: 20px;
    font-size: 14px !important;
    color: var(--text) !important;
}

.model-fit::before {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-bottom: 14px;
    background: var(--teal);
}

.model-featured {
    color: var(--on-dark);
    background: var(--ink-700);
    border-color: var(--ink-700);
    box-shadow: var(--shadow);
}

.model-featured .model-kind {
    color: var(--cyan);
}

.model-featured p {
    color: var(--on-dark-soft);
}

.model-featured .model-fit {
    color: var(--on-dark) !important;
}

.model-featured .model-fit::before {
    background: var(--cyan);
}

/* método */

.steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding-top: 44px;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink-700);
    color: var(--cyan-soft);
    font: 600 14px/1 var(--font-mono);
}

.steps li::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 40px;
    right: -14px;
    height: 1px;
    background: #d5cfbf;
}

.steps li:last-child::after {
    display: none;
}

.steps h3 {
    font-size: 19px;
    font-weight: 600;
}

.steps p {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-soft);
}

/* nuvem de parceiros */

.cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 44px;
    max-width: 1040px;
    margin: 0 auto;
}

.cloud-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cloud-word {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: color 0.2s;
}

.cloud-item.t5 .cloud-word { font-size: clamp(34px, 4.6vw, 58px); }
.cloud-item.t4 .cloud-word { font-size: clamp(28px, 3.6vw, 44px); }
.cloud-item.t3 .cloud-word { font-size: clamp(22px, 2.7vw, 32px); }
.cloud-item.t2 .cloud-word { font-size: clamp(18px, 2vw, 24px); }
.cloud-item.t1 .cloud-word { font-size: clamp(15px, 1.5vw, 18px); font-weight: 500; }

.cloud-item.c1 .cloud-word { color: var(--on-dark); }
.cloud-item.c2 .cloud-word { color: var(--cyan); }
.cloud-item.c3 .cloud-word { color: var(--teal); }
.cloud-item.c4 .cloud-word { color: #8fa3bd; }

/* "filhos": produtos ligados à empresa-mãe por uma linha fina */
.cloud-children {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    max-width: 340px;
    padding-top: 12px;
    border-top: 1px solid var(--line-dark);
}

.cloud-children::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 9px;
    height: 9px;
    margin-left: -5px;
    background: var(--ink-900);
    border: 1px solid var(--teal);
    transform: rotate(45deg);
}

.cloud-children li {
    padding: 4px 11px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--on-dark-soft);
    background: rgba(23, 48, 74, 0.45);
    transition: border-color 0.2s, color 0.2s;
}

.cloud-item.has-children:hover .cloud-children li {
    border-color: rgba(217, 184, 102, 0.55);
    color: var(--on-dark);
}

.cloud-item:hover .cloud-word {
    color: var(--cyan-soft);
}

/* nuvem com etiquetas em <span> e níveis encadeados (avô > pai > filho) */

.cloud-children li:has(> .cloud-tag) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0;
    border: 0;
    background: none;
}

.cloud-tag {
    padding: 4px 11px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--on-dark-soft);
    background: rgba(23, 48, 74, 0.45);
    transition: border-color 0.2s, color 0.2s;
}

.cloud-children .cloud-children {
    padding-top: 14px;
}

/* variação para seção clara */

.section-tint .cloud-item.c1 .cloud-word,
.section-light .cloud-item.c1 .cloud-word { color: var(--ink-700); }

.section-tint .cloud-item.c2 .cloud-word,
.section-light .cloud-item.c2 .cloud-word { color: var(--ink-600); }

.section-tint .cloud-item.c3 .cloud-word,
.section-light .cloud-item.c3 .cloud-word { color: #8f6d22; }

.section-tint .cloud-item.c4 .cloud-word,
.section-light .cloud-item.c4 .cloud-word { color: var(--slate); }

.section-tint .cloud-item:hover .cloud-word,
.section-light .cloud-item:hover .cloud-word { color: var(--teal); }

.section-tint .cloud-children,
.section-light .cloud-children { border-top-color: #d5cfbf; }

.section-tint .cloud-children::before { background: var(--paper-tint); }
.section-light .cloud-children::before { background: var(--paper); }

.section-tint .cloud-tag,
.section-light .cloud-tag {
    border-color: #d5cfbf;
    color: var(--ink-700);
    background: var(--paper);
}

.section-tint .cloud-item.has-children:hover .cloud-tag,
.section-light .cloud-item.has-children:hover .cloud-tag {
    border-color: var(--teal);
    color: var(--ink-900);
}

.cloud-clients {
    gap: 36px 56px;
}

/* sobre */

.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.about-copy h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 600;
    margin-bottom: 24px;
}

.about-copy p + p {
    margin-top: 16px;
}

.about-copy > p:not(.eyebrow) {
    color: var(--text-soft);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.about-tags li {
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    color: var(--text-soft);
    background: var(--paper-tint);
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 28px !important;
}

.link-arrow {
    font-weight: 600;
    color: var(--ink-600);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.link-arrow::after {
    content: " \2197";
}

.link-arrow:hover {
    color: var(--teal);
}

.about-side {
    display: grid;
    gap: 24px;
}

.about-block {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.about-block h3 {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
}

.timeline li,
.education li {
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-soft);
}

.timeline li {
    position: relative;
    padding: 0 0 20px 24px;
    border-left: 1px solid var(--line);
}

.timeline li:last-child {
    padding-bottom: 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 6px;
    width: 9px;
    height: 9px;
    background: var(--teal);
    transform: rotate(45deg);
}

.timeline span {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--slate);
}

.timeline strong,
.education strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.education li + li {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

/* dúvidas */

.faq details {
    border-bottom: 1px solid #ddd8ca;
}

.faq details:first-child {
    border-top: 1px solid #ddd8ca;
}

.faq summary {
    position: relative;
    padding: 22px 44px 22px 0;
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font: 400 26px/1 var(--font-body);
    color: var(--teal);
}

.faq details[open] summary::after {
    content: "\2212";
}

.faq details p {
    padding: 0 44px 24px 0;
    color: var(--text-soft);
}

/* contato */

.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: start;
}

.channels {
    display: grid;
    gap: 12px;
}

.channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(23, 48, 74, 0.35);
    text-decoration: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.channel:hover {
    border-color: var(--cyan);
    background: rgba(37, 72, 107, 0.45);
}

.channel .icon {
    flex: none;
    color: var(--cyan);
}

.channel strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.channel span span {
    display: block;
    font-size: 14px;
    color: var(--on-dark-soft);
    overflow-wrap: anywhere;
}

.form {
    padding: 32px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(23, 48, 74, 0.5);
}

.form-mode {
    display: inline-flex;
    gap: 4px;
    margin: 0 0 24px;
    padding: 4px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
}

.form-mode label {
    cursor: pointer;
}

.form-mode input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-mode span {
    display: block;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--on-dark-soft);
    transition: background-color 0.2s, color 0.2s;
}

.form-mode input:checked + span {
    background: var(--cyan);
    color: var(--ink-900);
}

.form-mode input:focus-visible + span {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

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

.form-row[hidden] {
    display: none;
}

.field {
    display: block;
    margin-bottom: 16px;
}

.field > span {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--on-dark-soft);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-sm);
    background: rgba(11, 22, 34, 0.6);
    color: var(--on-dark);
    font: 400 16px/1.4 var(--font-body);
    color-scheme: dark;
    transition: border-color 0.2s;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--cyan);
}

.field .is-invalid {
    border-color: #f0a5a5;
}

.field-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.form-note {
    flex: 1;
    min-width: 200px;
    font-size: 13px;
    color: var(--on-dark-soft);
}

.form-status {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 500;
}

.form-status:empty {
    display: none;
}

.form-status.is-ok {
    color: #9be7c4;
}

.form-status.is-error {
    color: #f6b6b6;
}

/* rodapé */

.site-footer {
    padding: 40px 0;
    background: #070f18;
    color: var(--on-dark-soft);
    font-size: 14px;
    border-top: 1px solid var(--line-dark);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px 40px;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand strong {
    display: block;
    color: var(--on-dark);
    font-weight: 600;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

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

.footer-nav a:hover {
    color: var(--on-dark);
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
    font-size: 13px;
    line-height: 1.6;
}

.footer-legal a,
.footer-address a {
    color: var(--on-dark-soft);
}

.footer-legal a:hover,
.footer-address a:hover {
    color: var(--on-dark);
}

.footer-address {
    font-style: normal;
    text-align: right;
}

@media (max-width: 640px) {
    .footer-address {
        text-align: left;
    }
}

/* ---------- entrada suave (somente com JS) ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
    }

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

/* ---------- responsivo ---------- */

@media (max-width: 1080px) {
    .models {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .steps li::after {
        display: none;
    }
}

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 64px;
        padding-bottom: 72px;
    }

    .hero-panel {
        max-width: 520px;
    }

    .services-core,
    .services-support,
    .situations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-grid,
    .agro {
        grid-template-columns: 1fr;
    }

    .about,
    .contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 24px;
        background: var(--ink-900);
        border-bottom: 1px solid var(--line-dark);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a:not(.btn) {
        padding: 14px 0;
        font-size: 17px;
        border-bottom: 1px solid var(--line-dark);
    }

    .site-nav .btn {
        margin-top: 20px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section {
        padding: 72px 0;
    }

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

    .lead {
        font-size: 17px;
    }

    .hero-facts,
    .services-core,
    .services-support,
    .situations,
    .models,
    .ai-grid,
    .steps,
    .form-row {
        grid-template-columns: 1fr;
    }

    .cloud {
        gap: 22px 26px;
    }

    .ai-card {
        grid-template-columns: 44px 1fr;
        gap: 6px 14px;
        padding: 22px 18px;
    }

    .ai-card .icon {
        width: 44px;
        height: 44px;
        padding: 10px;
    }

    .ai-card p {
        grid-column: 1 / -1;
        margin-top: 8px;
    }

    .hero-facts {
        gap: 18px;
        margin-top: 40px;
    }

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

    .brand-text span {
        display: none;
    }

    .form {
        padding: 22px 18px;
    }

    .form-mode {
        display: flex;
    }

    .form-mode label {
        flex: 1;
        text-align: center;
    }

    .form-mode span {
        padding: 9px 8px;
    }

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

/* ---------- termos de uso ---------- */

.legal h1 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.legal h2 {
    margin-top: 48px;
    padding-top: 24px;
    font-size: 26px;
    font-weight: 600;
    border-top: 1px solid var(--line);
}

.legal h3 {
    margin-top: 32px;
    font-size: 19px;
    font-weight: 600;
}

.legal p {
    margin-top: 14px;
    color: var(--text-soft);
}

.legal a {
    color: var(--ink-600);
}

.legal .legal-updated {
    margin-top: 12px;
    font-size: 14px;
}

.legal-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-left: 20px;
    list-style: disc;
    color: var(--text-soft);
}

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

/* fora da página principal o cabeçalho fica sobre fundo claro: usa a cor sólida */
.page-legal .site-header {
    background: var(--ink-900);
}
