/* Matrizes do Amanhã — página de apresentação (segue o mockup aprovado) */

@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-opsz-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-opsz-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #f7f5f0;
  --paper: #fcfbf6;
  --ink: #003d38;
  --ink-2: #00524b;
  --text: #4a625b;
  --teal: #007a6f;
  --teal-dark: #00665d;
  --mint: #e6f4f2;
  --aqua: #c2e5e1;
  --sage: #edf3eb;
  --sage-line: #dbe5da;
  --sand: #eeeae0;
  --line: #dde4da;
  --rust: #a56746;
  --dark: #003d38;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--aqua); }
:target { scroll-margin-top: 24px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 20; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(1248px + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--lg { width: 24px; height: 24px; stroke-width: 1.5; }

/* tipografia */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.serif em { font-style: italic; color: var(--teal); }
.em-block em { display: block; }
.br-d { display: none; }
@media (min-width: 900px) { .br-d { display: inline; } }
.h2 { font-size: clamp(2.75rem, 1.6rem + 3.6vw, 4.35rem); line-height: 0.95; color: var(--ink); }
.lead { color: var(--text); font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem); line-height: 1.7; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--rust); flex: none; }

/* botões */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 47px; padding: 0 18px; background: var(--teal); color: #fff; font-size: 14.5px; font-weight: 600; border-radius: 2px; white-space: nowrap; transition: background-color 180ms ease, transform 140ms var(--ease); }
.btn:hover { background: var(--teal-dark); }
.btn:active { transform: scale(0.98); }
.btn .ico { width: 16px; height: 16px; transition: transform 220ms var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mint); }
.textlink { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; font-size: 14.5px; font-weight: 600; color: var(--ink); border-bottom: 1px solid #9fb3ad; transition: border-color 180ms ease, color 180ms ease; }
.textlink:hover { color: var(--teal); border-color: var(--teal); }
.textlink .ico { width: 16px; height: 16px; }

/* chips e pontos */
.chip { position: absolute; z-index: 2; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 500; padding: 7px 12px; line-height: 1.2; }
.chip .ico { width: 14px; height: 14px; color: var(--teal); }
.chip--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rust); }
.dot { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f8fbf9; border: 1px solid #c9dcd5; color: var(--teal); flex: none; }
.dot .ico { width: 18px; height: 18px; }
.dot--sm { width: 28px; height: 28px; background: #e1ebe5; border: 0; }
.dot--sm .ico { width: 15px; height: 15px; }
.demo { display: inline-block; font-size: 7px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: #ece9df; color: #5d5a4d; padding: 3px 5px; border-radius: 2px; }

/* ---------- cabeçalho ---------- */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top__bar { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.top__logo img { width: 118px; }
.top__nav { display: none; gap: 37px; font-size: 14.5px; font-weight: 500; }
.top__nav a { position: relative; padding-block: 6px; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.top__nav a:hover::after { transform: scaleX(1); }
@media (min-width: 900px) { .top__nav { display: flex; } .top__logo img { width: 128px; } }
@media (max-width: 899px) {
  .top__bar { min-height: 70px; padding-block: 10px; flex-wrap: wrap; }
  .top__nav { display: flex; order: 3; width: 100%; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 13.5px; }
  .top .btn { min-height: 44px; font-size: 13.5px; padding: 0 14px; }
}

/* ---------- topo ---------- */
.hero { padding-top: 54px; display: grid; gap: 28px; }
.hero__title { font-size: clamp(3.4rem, 1.4rem + 5.6vw, 5.9rem); line-height: 0.9; letter-spacing: -0.025em; color: var(--ink); }
.hero__title em { white-space: nowrap; }
.hero__side p { color: var(--text); font-size: clamp(1rem, 0.94rem + 0.25vw, 1.2rem); line-height: 1.6; max-width: 23em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.hero__media { position: relative; margin-top: 12px; overflow: hidden; background: #8a9a6a; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media picture { display: block; aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); column-gap: 48px; row-gap: 0; padding-top: 52px; }
  .hero__title .nobr-o { display: block; }
  .hero__side { align-self: center; padding-top: 34px; }
  .hero__media { grid-column: 1 / -1; margin-top: 36px; }
  .hero__media picture { aspect-ratio: 1248 / 464; }
}
@media (max-width: 899px) {
  .hero__media { margin-inline: calc(var(--pad) * -1); margin-top: 6px; }
  .hero__actions .btn { min-height: 46px; }
}

/* celular desenhado (telas com dados de demonstração) */
.phone { position: absolute; width: 214px; padding: 7px; background: #1b2422; border-radius: 32px; box-shadow: 0 24px 40px -18px rgba(0, 30, 25, 0.55); }
.phone__screen { background: #fff; border-radius: 26px; overflow: hidden; color: #12302c; font-size: 9px; line-height: 1.3; }
.phone__status { display: flex; align-items: center; justify-content: space-between; padding: 9px 16px 4px; font-size: 8px; font-weight: 600; }
.phone__notch { width: 56px; height: 14px; background: #1b2422; border-radius: 10px; }
.phone__app { padding: 6px 12px 7px; border-bottom: 1px solid #eef0ec; }
.phone__app img { width: 58px; }
.phone__body { padding: 9px 12px 12px; display: grid; gap: 6px; }
.phone__body .demo { justify-self: start; }
.phone__title { font-size: 11.5px; font-weight: 600; letter-spacing: -0.01em; }
.phone__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 45%; border-radius: 3px; }
.phone__tagline { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 6px; border-bottom: 1px solid #eef0ec; }
.phone__tagline span { font-size: 7px; letter-spacing: 0.08em; text-transform: uppercase; color: #5e716c; }
.phone__tagline b { font-size: 10.5px; color: var(--teal); font-weight: 600; }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; }
.phone__grid dt { font-size: 7px; color: #6a7c77; }
.phone__grid dd { font-size: 8.5px; font-weight: 600; }
.phone__link { display: flex; align-items: center; gap: 5px; background: #eef6f3; color: var(--teal-dark); font-size: 7.5px; font-weight: 500; padding: 6px 7px; border-radius: 3px; }
.phone__link .ico { width: 10px; height: 10px; }
.phone__link .ico:last-child { margin-left: auto; }
.phone--hero { right: 2.4%; top: 17%; width: 190px; transform: rotate(5deg); display: none; z-index: 2; }
@media (min-width: 900px) { .phone--hero { display: block; } }

/* ---------- parceiros ---------- */
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 32px; padding-block: 24px; border-top: 1px solid #d8e1d9; border-bottom: 1px solid #d8e1d9; max-width: 1248px; padding-inline: 0; }
.partners .eyebrow { margin: 0; min-width: 240px; }
.partners__logos { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 0; }
.partners__logos li { padding-inline: 26px; border-left: 1px solid #d0d9d1; }
.partners__logos li:first-child { border-left: 0; padding-left: 0; }
.partners__logos img { height: 46px; width: auto; mix-blend-mode: multiply; }
@media (max-width: 1295px) { .partners { margin-inline: var(--pad); width: auto; } }
@media (max-width: 699px) {
  .partners { display: grid; gap: 16px; padding-block: 20px; }
  .partners__logos { flex-wrap: nowrap; }
  .partners__logos li { padding-inline: 10px; flex: 1 1 0; min-width: 0; }
  .partners__logos img { height: auto; max-height: 40px; width: 100%; object-fit: contain; object-position: left center; }
}

/* ---------- o programa ---------- */
.program { padding-block: 84px 72px; display: grid; gap: 40px; align-items: center; }
.program .lead { margin-top: 20px; max-width: 27em; }
.note { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 24px; position: relative; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.note::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 1px; background: #c9a893; }
.note .ico { width: 16px; height: 16px; color: var(--teal); }
.cycle { position: relative; background: var(--sage); border: 1px solid var(--sage-line); min-height: 440px; display: grid; place-items: center; }
.cycle__arcs { position: absolute; width: 340px; height: 340px; left: 50%; top: 50%; transform: translate(-50%, -50%); fill: none; stroke: var(--teal); stroke-width: 1.3; stroke-linecap: round; }
.cycle__ring { stroke: #c9dccf; stroke-dasharray: 1 5; stroke-width: 1.2; }
.cycle__core { position: relative; width: 170px; height: 170px; border-radius: 50%; background: var(--aqua); display: grid; place-content: center; text-align: center; gap: 2px; }
.cycle__num { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 52px; line-height: 1; color: var(--ink); }
.cycle__num .ico { width: 20px; height: 20px; color: var(--teal); stroke-width: 2; }
.cycle__cap { font-size: 7.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.cycle__node { position: absolute; display: grid; justify-items: center; text-align: center; gap: 1px; width: 160px; }
.cycle__node .dot { margin-bottom: 8px; background: #fbfcfa; }
.cycle__node b { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.cycle__node > span:last-child { font-size: 11.5px; color: var(--text); }
.cycle__node--top { top: 14px; left: 50%; transform: translateX(-50%); }
.cycle__node--bottom { bottom: 10px; left: 50%; transform: translateX(-50%); }
.cycle__node--left { left: calc(50% - 290px); top: 50%; transform: translateY(-50%); }
.cycle__node--right { right: calc(50% - 290px); top: 50%; transform: translateY(-50%); }
@media (min-width: 960px) {
  .program { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr); gap: 80px; padding-block: 92px 72px; }
}
@media (max-width: 640px) {
  .cycle { min-height: 288px; }
  .cycle__arcs { width: 220px; height: 220px; }
  .cycle__core { width: 104px; height: 104px; }
  .cycle__num { font-size: 32px; gap: 6px; }
  .cycle__num .ico { width: 13px; height: 13px; }
  .cycle__cap { font-size: 5.5px; letter-spacing: 0.1em; }
  .cycle__node { width: 96px; }
  .cycle__node .dot { width: 28px; height: 28px; margin-bottom: 4px; }
  .cycle__node .dot .ico { width: 13px; height: 13px; }
  .cycle__node b { font-size: 9.5px; }
  .cycle__node > span:last-child { font-size: 8.5px; }
  .cycle__node--top { top: 8px; }
  .cycle__node--bottom { bottom: 6px; }
  .cycle__node--left { left: 2px; }
  .cycle__node--right { right: 2px; }
}

/* ---------- como funciona ---------- */
.how { background: var(--mint); padding-block: 56px 60px; }
.how__head { display: grid; gap: 18px; }
.how__head .lead { max-width: 20em; }
@media (min-width: 960px) { .how__head { grid-template-columns: 1fr auto; align-items: end; column-gap: 60px; } .how__head .lead { padding-bottom: 8px; } }
.steps { position: relative; display: grid; margin-top: 38px; }
.step { display: grid; justify-items: center; gap: 12px; width: 100%; font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 0; }
.step .dot { width: 54px; height: 54px; background: #f3f9f7; border-color: #b9d8d1; transition: background-color 200ms ease, border-color 200ms ease, transform 200ms var(--ease); }
.step .dot .ico { width: 20px; height: 20px; }
.step:hover .dot { transform: translateY(-2px); border-color: var(--teal); }
.step.is-on .dot { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(0, 122, 111, 0.12); }
.step--end .dot, .step--end.is-on .dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.steps__desc { margin-top: 28px; color: var(--text); max-width: 46em; min-height: 3.2em; }
.steps__desc b { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .steps::before { content: ""; position: absolute; left: 5.5%; right: 5.5%; top: 27px; height: 1px; background: #a9cec6; }
  .step { position: relative; }
}
@media (max-width: 899px) {
  .steps { gap: 0; margin-top: 30px; }
  .steps::before { content: ""; position: absolute; left: 18px; top: 18px; bottom: 18px; width: 1px; background: #a9cec6; }
  .step { position: relative; grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 14px; font-size: 15px; padding-block: 5px; text-align: left; }
  .step .dot { width: 36px; height: 36px; }
  .step .dot .ico { width: 16px; height: 16px; }
  .step.is-on .dot { box-shadow: 0 0 0 3px rgba(0, 122, 111, 0.12); }
}

/* ---------- RG digital ---------- */
.rg { padding-block: 50px 60px; display: grid; gap: 44px; align-items: center; }
.rg .lead { margin-top: 22px; max-width: 24em; }
.ticks { display: grid; gap: 12px; margin-top: 30px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.ticks .ico { width: 17px; height: 17px; color: var(--teal); }
.devices { position: relative; background: #dfece5; overflow: hidden; height: 460px; }
.devices__rings { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #b9d4ca; stroke-width: 1; }
.laptop { position: absolute; left: 20%; top: 48px; width: 68%; }
.laptop__screen { display: grid; grid-template-columns: 17% 1fr; aspect-ratio: 565 / 335; border: 10px solid #1d2826; border-bottom-width: 12px; border-radius: 12px 12px 0 0; background: #f7f8f5; overflow: hidden; }
.laptop__base { height: 11px; margin-inline: -3%; background: #a9b6b1; border-radius: 0 0 10px 10px; position: relative; }
.laptop__base::after { content: ""; position: absolute; left: 50%; top: 0; width: 90px; height: 4px; transform: translateX(-50%); background: #8c9a95; border-radius: 0 0 4px 4px; }
.laptop__side { background: var(--dark); display: grid; align-content: start; gap: 10px; padding: 12px 10px; }
.laptop__side img { width: 26px; }
.laptop__side i { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.laptop__side i:nth-of-type(1) { margin-top: 10px; background: rgba(255, 255, 255, 0.32); }
.laptop__main { padding: 12px 14px; display: grid; align-content: start; gap: 8px; color: #12302c; min-width: 0; }
.laptop__head { display: flex; justify-content: space-between; align-items: center; font-size: 7.5px; color: #5e716c; }
.laptop__title { font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.kpis div { background: #fff; border: 1px solid #e2e7e3; padding: 6px 8px; display: grid; gap: 2px; }
.kpis span { font-size: 6.5px; color: #5e716c; }
.kpis b { font-size: 12px; color: var(--teal-dark); }
.bars { background: #fff; border: 1px solid #e2e7e3; padding: 8px 10px 16px; }
.bars__title { font-size: 7.5px; font-weight: 600; }
.bars__plot { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: 140px; margin-top: 6px; border-bottom: 1px solid #e2e7e3; background: repeating-linear-gradient(to bottom, #eef1ee 0 1px, transparent 1px 35px); }
.bars__plot div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; }
.bars__plot i { display: block; text-align: center; padding-top: 4px; flex: none; width: 38%; height: calc(var(--v) / 34 * 100%); background: #3a978a; color: #fff; font-style: normal; font-size: 6.5px; transform-origin: bottom; }
.bars__plot .is-top i { background: #00665d; }
.bars__plot span { position: absolute; bottom: -12px; font-size: 6px; color: #5e716c; white-space: nowrap; }
.phone--rg { left: 4%; top: 96px; width: 200px; z-index: 2; }
@media (min-width: 960px) {
  .rg { grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); gap: 60px; }
}
@media (max-width: 959px) {
  .devices { height: 430px; }
  .laptop { left: 30%; width: 92%; top: 60px; }
  .phone--rg { left: 8%; top: 50px; width: 196px; }
}
@media (max-width: 520px) {
  .devices { height: 420px; margin-inline: calc(var(--pad) * -1); }
  .laptop { display: none; }
  .phone--rg { left: 50%; top: 34px; transform: translateX(-50%) rotate(-3deg); width: 206px; }
}

/* ---------- no campo ---------- */
.field { background: var(--sand); padding-block: 72px; }
.field__in { display: grid; gap: 34px; align-items: center; }
.field__media { position: relative; overflow: hidden; }
.field__media img { width: 100%; aspect-ratio: 604 / 400; object-fit: cover; object-position: 40% 50%; }
.field__media .chip { left: 16px; bottom: 16px; }
.field .lead { margin-top: 24px; max-width: 25em; }
.ticks--round { margin-top: 28px; gap: 10px; }
@media (min-width: 960px) {
  .field { padding-block: 58px 88px; }
  .field__in { grid-template-columns: minmax(0, 604px) minmax(0, 1fr); gap: 86px; }
  .field__media { margin-top: 30px; }
}
@media (max-width: 959px) { .field__media { order: 2; } }

/* ---------- quem participa ---------- */
.who { padding-block: 58px 56px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.card { background: var(--paper); border: 1px solid #dce4db; padding: 18px 16px 20px; transition: border-color 200ms ease, transform 200ms var(--ease); }
.card:hover { border-color: #a9cec6; transform: translateY(-2px); }
.card .ico { color: var(--teal); }
.card h3 { font-size: 15px; font-weight: 600; margin-top: 14px; letter-spacing: -0.005em; }
.card p { font-size: 13.5px; color: var(--text); line-height: 1.5; margin-top: 4px; }
.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
.card--wide .ico { grid-row: span 2; }
.card--wide h3 { margin-top: 0; }
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; }
  .card { padding: 22px 16px 24px; min-height: 144px; }
  .card--wide { grid-column: auto; display: block; }
  .card--wide h3 { margin-top: 14px; }
}

/* ---------- números ---------- */
.numbers { background: var(--aqua); padding-block: 40px 44px; }
.numbers__title { font-size: clamp(2.4rem, 1.7rem + 2vw, 2.85rem); line-height: 1; }
.numbers__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; border-top: 1px solid #8dbdb4; }
.numbers__row > div { padding: 14px 18px 4px; border-left: 1px solid #8dbdb4; }
.numbers__row > div:nth-child(odd) { border-left: 0; padding-left: 0; }
.numbers__row > div:nth-child(n+3) { border-top: 1px solid #8dbdb4; }
.numbers__row dt { font-size: 4.6rem; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.numbers__row dt em { font-size: 0.4em; color: var(--ink-2); margin-right: 2px; }
.numbers__row dd { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-top: 4px; }
@media (min-width: 900px) {
  .numbers__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .numbers__row > div { padding: 14px 18px 0; }
  .numbers__row > div:nth-child(odd) { border-left: 1px solid #8dbdb4; padding-left: 18px; }
  .numbers__row > div:first-child { border-left: 0; padding-left: 0; }
  .numbers__row > div:nth-child(n+3) { border-top: 0; }
}

/* ---------- fechamento ---------- */
.close { position: relative; background: var(--dark); color: #fff; overflow: hidden; padding-block: 48px 56px; }
.close__lines { position: absolute; right: 0; top: 0; width: min(46vw, 620px); height: 100%; fill: none; stroke: rgba(169, 214, 204, 0.28); stroke-width: 1; }
.close__in { position: relative; display: grid; gap: 28px; }
.close__icon { width: 40px; opacity: 0.95; }
.close__title { font-size: clamp(3rem, 1.6rem + 4.6vw, 5.1rem); line-height: 0.94; color: #fff; }
.close__title em { color: #a9d6cc; display: block; }
.close .btn { justify-self: start; }
.close__note { margin-top: 20px; font-size: 17px; line-height: 1.5; color: #cfe8e3; max-width: 30em; }
@media (min-width: 900px) {
  .close__in { grid-template-columns: 1fr auto; align-items: end; }
  .close__icon { grid-column: 1 / -1; }
  .close .btn { margin-bottom: 18px; }
}

/* ---------- rodapé ---------- */
.foot { padding-block: 22px 20px; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.foot__logos { display: flex; align-items: center; }
.foot__logos li { padding-inline: 22px; border-left: 1px solid #d0d9d1; }
.foot__logos li:first-child { padding-left: 0; border-left: 0; }
.foot__logos img { height: 38px; width: auto; mix-blend-mode: multiply; }
.foot__links { display: flex; gap: 24px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.foot__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.foot__links a:hover { color: var(--teal); }
.foot__links .ico { width: 14px; height: 14px; }
.foot__legal { font-size: 12px; color: var(--text); padding-top: 14px; }
@media (max-width: 699px) {
  .foot__logos { width: 100%; }
  .foot__logos li { padding-inline: 10px; flex: 1 1 0; min-width: 0; }
  .foot__logos img { height: auto; max-height: 34px; width: 100%; object-fit: contain; object-position: left center; }
}

/* ---------- movimento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-in] { opacity: 0; transform: translateY(18px); animation: rise 900ms var(--ease) forwards; animation-delay: calc(80ms + var(--d, 0) * 110ms); }
  .js .hero__media[data-in] { transform: none; opacity: 1; clip-path: inset(0 0 100% 0); animation: open 1200ms cubic-bezier(0.76, 0, 0.24, 1) 350ms forwards; }
  .js .hero__media[data-in] picture img { transform: scale(1.08); animation: settle 1800ms var(--ease) 350ms forwards; }
  .js .phone--hero { opacity: 0; translate: 0 30px; animation: phone-in 900ms var(--ease) 1100ms forwards; }
  .live [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .live [data-reveal].is-in { opacity: 1; transform: none; }
  .live .bars__plot i { transform: scaleY(0); transition: transform 900ms var(--ease); }
  .live .devices.is-in .bars__plot i { transform: none; }
  .live .devices.is-in .bars__plot div:nth-child(2) i { transition-delay: 80ms; }
  .live .devices.is-in .bars__plot div:nth-child(3) i { transition-delay: 160ms; }
  .live .devices.is-in .bars__plot div:nth-child(4) i { transition-delay: 240ms; }
  .live .devices.is-in .bars__plot div:nth-child(5) i { transition-delay: 320ms; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes open { to { clip-path: inset(0); } }
@keyframes settle { to { transform: none; } }
@keyframes phone-in { to { opacity: 1; translate: 0 0; } }
