/* CodeScript — sistema visual 2026
   Linguagem de empresa de tecnologia: fundo claro, títulos grandes, cantos retos
   e as barras do logo (linhas de código em degradê) como grafismo próprio. */

@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores da marca (fixas) */
  --navy: #0d1837;
  --navy-2: #16244d;
  --navy-3: #22336a;
  --blue: #0285f4;       /* azul do logo: grafismos, destaques e textos grandes */
  --blue-700: #0068cc;   /* azul para texto pequeno e botões (AA) */
  --blue-800: #0055a8;
  --sky: #49c3f4;        /* sobre fundos escuros */
  --sky-soft: #e3f3fd;

  /* Neutros */
  --ink: #0d1837;
  --ink-2: #48536d;
  --ink-3: #66718a;
  --surface: #f4f6fa;    /* faixas e cards claros */
  --surface-2: #eaeef5;
  --paper: #ffffff;
  --line: #e2e7ef;
  --line-strong: #cbd2de;
  --on-dark: #ffffff;
  --on-dark-2: #aeb9d2;
  --dark-line: rgba(255, 255, 255, .12);

  --ok: #12805c;
  --ok-soft: #e6f5ef;
  --error: #c4291c;
  --error-soft: #fdecea;

  --font: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --grad: linear-gradient(90deg, var(--blue), var(--sky));
  --section: clamp(80px, 9vw, 136px);
  --section-sm: clamp(48px, 5vw, 72px);
  --header-h: 76px;

  --shadow-1: 0 1px 2px rgba(13, 24, 55, .05), 0 2px 8px rgba(13, 24, 55, .05);
  --shadow-2: 0 1px 3px rgba(13, 24, 55, .06), 0 16px 40px -16px rgba(13, 24, 55, .22);
  --shadow-3: 0 2px 6px rgba(13, 24, 55, .06), 0 32px 64px -24px rgba(13, 24, 55, .32);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
strong { font-weight: 700; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible, .gantry :focus-visible, .cta-panel :focus-visible { outline-color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }
.icon-sign-arrow.down { transform: rotate(90deg); }
.icon-sign-arrow.up-right { transform: rotate(-45deg); }

/* Títulos terminam em ponto comum; a assinatura do sistema são as barras do logo */
.dot::after { content: "."; }
.accent { color: var(--blue); }
.u-accent { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: .09em; text-underline-offset: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
/* As barras do logo antes do rótulo */
.eyebrow::before { content: ""; flex: none; width: 13px; height: 19px; background: var(--grad); -webkit-mask: url("/images/mark.svg") center / contain no-repeat; mask: url("/images/mark.svg") center / contain no-repeat; }
.section-head.center .eyebrow { justify-content: center; }
.on-dark .eyebrow { color: var(--sky); }
.on-page-title.eyebrow::before, .timeline .eyebrow::before { display: none; }
/* Campo de linhas de código: grafismo derivado do logo */
.codelines { position: absolute; pointer-events: none; background: url("/images/codelines.svg") right top / contain no-repeat; aspect-ratio: 560 / 468; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .72em 1.3em .7em;
  font: 600 1rem/1.1 var(--font);
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.btn .icon-sign-arrow { transition: transform .25s var(--ease-out); }
.btn:hover { color: var(--btn-fg); }
.btn:hover .icon-sign-arrow:not(.up-right) { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: .85em 1.5em .82em; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .9375rem; }
.btn-blue { --btn-bg: var(--blue-700); box-shadow: 0 8px 20px -10px rgba(0, 104, 204, .7); }
.btn-blue:hover { --btn-bg: var(--blue-800); }
.btn-navy { --btn-bg: var(--navy); }
.btn-navy:hover { --btn-bg: var(--navy-3); }
.btn-outline { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: var(--line-strong); }
.btn-outline:hover { --btn-bd: var(--navy); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn-white:hover { --btn-bg: var(--sky-soft); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .08); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* Link com seta e sublinhado longo, como nos sites de tecnologia */
.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; padding-bottom: 8px;
  font-weight: 600; color: var(--navy); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1.5px no-repeat;
  transition: color .2s var(--ease-out);
}
.link-arrow .icon-sign-arrow { transition: transform .25s var(--ease-out); }
.link-arrow:hover { color: var(--blue-700); }
.link-arrow:hover .icon-sign-arrow:not(.up-right):not(.down) { transform: translateX(4px); }
.link-arrow.on-navy, .on-dark .link-arrow { color: #fff; }
.link-arrow.on-navy:hover, .on-dark .link-arrow:hover { color: var(--sky); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); } }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 24, 55, .4); }
.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: block; }
.brand img { width: 156px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.main-nav a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  font: 600 .9688rem/1 var(--font); color: var(--ink); text-decoration: none; white-space: nowrap;
  border-radius: var(--r-sm); transition: color .2s, background-color .2s;
}
.main-nav > ul > li > a:hover, .has-menu:hover > .nav-trigger, .has-menu:focus-within > .nav-trigger { color: var(--blue-700); background: var(--surface); }
.main-nav a[aria-current="page"] { color: var(--blue-700); }
.nav-trigger .icon { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.has-menu { position: relative; }
.has-menu:hover .nav-trigger .icon, .has-menu:focus-within .nav-trigger .icon { transform: rotate(180deg); }
/* Painel suspenso de Soluções */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 560px; padding: 12px;
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s var(--ease-out), transform .25s var(--ease-out), visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .mega a { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: center; padding: 12px; white-space: normal; line-height: 1.3; border-radius: var(--r); }
.main-nav .mega a:hover { background: var(--surface); color: var(--ink); }
.mega .tile { grid-row: span 2; width: 44px; height: 44px; }
.mega strong { font-weight: 700; color: var(--navy); }
.mega small { font-size: .875rem; font-weight: 400; color: var(--ink-3); }
.main-nav .mega .mega-all { display: flex; align-items: center; gap: 8px; justify-content: space-between; margin-top: 6px; padding: 14px 12px 10px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); color: var(--blue-700); }
.header-actions { display: flex; align-items: center; gap: 10px; }
/* Seletor de idioma com bandeiras (header, menu mobile e rodapé) */
.langs { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.langs a { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 9px 7px; border-radius: var(--r-sm); color: inherit; text-decoration: none; }
.langs a:hover { background: var(--surface); }
.flag { display: block; flex: none; width: 22px; height: 15px; border: 1px solid rgba(13, 24, 55, .16); border-radius: 2px; overflow: hidden; }
.flag-language { display: grid; place-items: center; font-size: 8px; line-height: 1; font-weight: 800; color: var(--ink-2); }
.header-langs .langs a[aria-current]::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--blue-700); }
.langs-gantry { margin-top: 20px; }
.langs-gantry .langs { flex-wrap: wrap; gap: 8px; }
.langs-gantry .langs a { padding: 10px 14px 10px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .9375rem; font-weight: 600; color: var(--ink-2); }
.langs-gantry .langs a[aria-current] { border-color: var(--blue-700); color: var(--navy); }
.langs-footer { margin-top: 24px; }
.langs-footer .langs { flex-wrap: wrap; gap: 4px 16px; }
.langs-footer .langs a { padding: 6px 0; font-size: .875rem; }
.langs-footer .langs a:hover { background: none; }
.langs-footer .langs a[aria-current] { color: #fff; }
.langs-footer .flag { border-color: rgba(255, 255, 255, .28); }
.menu-toggle, .menu-close { display: none; background: none; border: 0; padding: 8px; color: inherit; cursor: pointer; border-radius: var(--r-sm); }
.menu-toggle .icon, .menu-close .icon { width: 28px; height: 28px; }

/* Menu mobile */
.gantry { position: fixed; inset: 0; z-index: 60; background: #fff; color: var(--ink); overflow-y: auto; padding-bottom: 32px; }
.gantry[hidden] { display: none; }
.gantry-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.gantry-top img { width: 136px; }
.gantry-list { list-style: none; margin-top: 8px; }
.gantry-list li { border-bottom: 1px solid var(--line); }
.gantry-list a { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px 16px; color: var(--navy); text-decoration: none; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; }
.gantry-list a[aria-current="page"] { color: var(--blue-700); }
.gantry-list .icon { width: 22px; height: 22px; color: var(--blue-700); }
.gantry-actions { display: grid; gap: 12px; margin-top: 28px; }
.gantry .menu-close { display: inline-flex; color: var(--navy); }
.gantry.is-open { animation: fade-in .3s var(--ease-out); }
.gantry.is-open .gantry-list li { animation: slide-in .45s var(--ease-out) both; }
.gantry.is-open .gantry-list li:nth-child(2) { animation-delay: .03s; }
.gantry.is-open .gantry-list li:nth-child(3) { animation-delay: .06s; }
.gantry.is-open .gantry-list li:nth-child(4) { animation-delay: .09s; }
.gantry.is-open .gantry-list li:nth-child(5) { animation-delay: .12s; }
.gantry.is-open .gantry-list li:nth-child(n+6) { animation-delay: .15s; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand img { width: 132px; }
  .header-cta, .header-langs { display: none; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section); }
.section.tight { padding-block: var(--section-sm); }
.section:not(.ground) + .section:not(.ground):not(.rule-top) { padding-top: 0; }
.section.rule-top { padding-top: var(--section); }
.ground { background: var(--surface); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.section-head.row > div { max-width: 760px; }
.section-head h2, .h2 { font-size: clamp(2rem, 1.25rem + 2.3vw, 3.25rem); line-height: 1.08; }
.section-head p { margin: 18px 0 0; font-size: 1.1875rem; color: var(--ink-2); max-width: 62ch; }
.section-head.center p { margin-inline: auto; }
.section-head > .link-arrow { margin-top: 22px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.lead-sm { margin: 16px 0 18px; font-size: 1.1875rem; color: var(--ink-2); }

/* Lista com marcador de check: substitui listas com fio */
.rule-list { list-style: none; display: grid; gap: 4px; }
.rule-list li { position: relative; padding: 10px 0 10px 36px; color: var(--ink-2); }
.rule-list li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: var(--r-sm);
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230068cc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.rule-list li strong { display: block; margin-bottom: 2px; color: var(--navy); font-weight: 700; font-size: 1.0625rem; }
.rule-list.loose { gap: 10px; }
.rule-list.on-navy li { color: var(--on-dark-2); }
.rule-list.on-navy li strong { color: #fff; }
.rule-list.on-navy li::before { background-color: rgba(73, 195, 244, .16); }

/* Ícone em quadrado colorido (cards e menu) */
.tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r); color: #fff; background: var(--blue-700); }
.tile .icon { width: 26px; height: 26px; }
.mega .tile .icon { width: 22px; height: 22px; }
.tile.t-navy { background: var(--navy); }
.tile.t-sky { background: var(--sky); color: var(--navy); }
.tile.t-blue { background: var(--blue); }
.tile.t-deep { background: var(--navy-3); }
.tile.t-teal { background: #1a9bb0; }

/* Chips de tecnologia */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips { gap: 6px; }
.chips li { padding: 5px 9px 4px; border: 1px solid var(--line); border-radius: 3px; font: 500 .78rem/1.3 var(--mono); letter-spacing: -0.01em; color: var(--navy-3); background: #fff; }

/* ---------- Hero da home ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface); padding-block: clamp(56px, 8vw, 120px) clamp(120px, 14vw, 200px); }
/* Curva branca na base do topo da página */
.hero::after { content: ""; position: absolute; z-index: 2; left: -10%; right: -10%; bottom: -1px; height: clamp(48px, 7vw, 110px); background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hero-copy { position: relative; z-index: 2; max-width: 660px; }
.hero h1 { font-size: clamp(2.6rem, 1.3rem + 3.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
.hero .lead { font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); color: var(--ink-2); max-width: 46ch; margin: 26px 0 36px; }
.hero .lead strong { color: var(--navy); font-weight: 700; }
/* Composição de telas reais do My Fleet On Road, à direita do título */
.hero-visual { position: absolute; z-index: 1; top: 50%; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); width: min(34vw, 520px); aspect-ratio: 1 / .86; transform: translateY(-54%); }
.hero-visual img { position: absolute; border-radius: var(--r); border: 1px solid var(--line); background: #f3f5f8; box-shadow: var(--shadow-3); }
.hero-visual .codelines { top: -14%; right: -6%; width: 96%; opacity: .55; }
.hv-back { top: 0; right: 0; width: 74%; }
.hv-front { left: 0; top: 30%; width: 70%; }
.hv-small { right: 2%; bottom: -6%; width: 23%; border-radius: 18px !important; border: 5px solid var(--navy) !important; background: var(--navy) !important; }
@media (prefers-reduced-motion: no-preference) {
  .hv-back { animation: float 9s ease-in-out infinite; }
  .hv-small { animation: float 9s ease-in-out -4.5s infinite; }
}
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; font-size: .9375rem; color: var(--ink-2); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .icon { width: 18px; height: 18px; color: var(--blue-700); }
.hero-proof a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.hero-proof a:hover { color: var(--blue-700); text-decoration-color: currentColor; }
.hero-proof a .icon-sign-arrow { width: 14px; height: 14px; }
.hero-proof .proof-reviews { flex-wrap: wrap; gap: 4px 8px; text-decoration: none; }
.hero-proof .proof-reviews .stars { gap: 2px; }
.hero-proof .proof-reviews-txt { gap: 6px; white-space: nowrap; }
.hero-proof .proof-reviews strong { font-weight: 700; }
.hero-proof .proof-reviews .stars .icon { width: 15px; height: 15px; color: #f5b400; }
.hero-proof .proof-reviews:hover { color: var(--blue-700); }
@media (max-width: 1080px) {
  .hero-visual { position: relative; top: auto; right: auto; transform: none; width: auto; max-width: 560px; margin: 48px var(--gutter) 0; }
}
@media (max-width: 760px) {
  .hero { padding-bottom: clamp(72px, 14vw, 120px); }
  .hero .actions .btn { width: 100%; }
  .hero h1 { font-size: clamp(2.25rem, 1.2rem + 4.6vw, 2.75rem); }
}

/* ---------- Cards de soluções ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(26px, 2.6vw, 34px); border-radius: var(--r); background: var(--surface);
  color: var(--ink); text-decoration: none; border: 1px solid transparent;
  transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
a.card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 4px; background: var(--grad); transition: width .4s var(--ease-out); }
a.card:hover::before { width: 72px; }
a.card:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow-2); transform: translateY(-2px); color: var(--ink); }
.card h3 { margin-top: 10px; font-size: clamp(1.375rem, 1.15rem + .6vw, 1.625rem); letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.card-arrow { position: absolute; top: clamp(26px, 2.6vw, 34px); right: clamp(26px, 2.6vw, 34px); width: 22px; height: 22px; color: var(--ink-3); transition: transform .25s var(--ease-out), color .2s; }
a.card:hover .card-arrow { color: var(--blue-700); transform: translateX(4px); }
/* Card em largura total na última linha da grade (Infraestrutura e cloud) */
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 12px 32px; padding-right: calc(clamp(26px, 2.6vw, 34px) + 44px); }
.card-wide h3 { margin-top: 0; }
.card-wide .card-arrow { top: 50%; margin-top: -11px; }
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-wide { grid-template-columns: auto minmax(0, 1fr); }
  .card-wide p { grid-column: 2; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .card-wide { display: flex; align-items: stretch; padding-right: clamp(26px, 2.6vw, 34px); }
  .card-wide h3 { margin-top: 10px; }
  .card-wide .card-arrow { top: clamp(26px, 2.6vw, 34px); margin-top: 0; }
}

/* ---------- Projetos entregues (sem nomes de clientes) ---------- */
.work-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 52px) clamp(24px, 3vw, 48px); }
.work-list li { position: relative; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.work-list li::before { content: ""; position: absolute; left: 0; top: -1px; width: 44px; height: 4px; background: var(--grad); }
.work-sector { display: block; margin-bottom: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); }
.work-list h3 { font-size: 1.3125rem; line-height: 1.22; letter-spacing: -0.015em; margin-bottom: 10px; }
.work-list p { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 1000px) { .work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .work-list { grid-template-columns: 1fr; } }

/* ---------- Produto próprio: vitrine dos módulos do My Fleet On Road ---------- */
.mf-logo { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: clamp(1.375rem, 1.15rem + .7vw, 1.75rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--navy); white-space: nowrap; }
.section-head .mf-logo { margin: 0 0 20px; font-size: clamp(1.375rem, 1.15rem + .7vw, 1.75rem); color: var(--navy); }
.mf-logo > span:last-child { font-weight: 500; color: var(--ink-3); }
.mf-mark { flex: none; width: 1.15em; height: 1.15em; border-radius: 50%; background: linear-gradient(160deg, #00e6f5 0%, #0a6cf0 100%); }

.mf-showcase { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.mf-tabs { display: grid; border-top: 1px solid var(--line); }
.mf-tab { position: relative; display: block; width: 100%; padding: 18px 0 18px 22px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: inherit; color: var(--ink-3); cursor: pointer; transition: color .2s; }
.mf-tab::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; background: var(--line); transition: background-color .2s; }
.mf-tab::after { content: ""; position: absolute; left: 0; top: 18px; width: 3px; height: 0; background: linear-gradient(180deg, var(--blue), var(--sky)); }
.mf-tab-title { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: inherit; }
.mf-tab-text { display: grid; grid-template-rows: 0fr; margin-top: 0; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); opacity: 0; transition: grid-template-rows .35s var(--ease-out), opacity .3s, margin-top .35s var(--ease-out); }
.mf-tab-text > span { min-height: 0; overflow: hidden; }
.mf-tab:hover { color: var(--navy); }
.mf-tab[aria-selected="true"] { color: var(--navy); }
.mf-tab[aria-selected="true"]::before { background: var(--line); }
.mf-tab[aria-selected="true"]::after { height: calc(100% - 36px); }
.mf-tab[aria-selected="true"] .mf-tab-text { grid-template-rows: 1fr; margin-top: 6px; opacity: 1; }
/* Avanço automático: a barra do logo enche enquanto a aba está ativa */
.mf-showcase.is-playing .mf-tab[aria-selected="true"]::after { height: 0; animation: mf-fill var(--mf-dur, 7s) linear forwards; }
@keyframes mf-fill { to { height: calc(100% - 36px); } }
.mf-tab:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.mf-stage { position: relative; }
.mf-stage .codelines { top: -7%; right: -3%; width: 50%; opacity: .25; }
.mf-frame { position: relative; aspect-ratio: 1400 / 876; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-2); }
.mf-shot { position: absolute; inset: 10px; overflow: hidden; border-radius: var(--r); background: var(--surface); animation: mf-in .45s var(--ease-out); }
.mf-shot[hidden] { display: none; }
.mf-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
@keyframes mf-in { from { opacity: 0; transform: translateY(6px); } }
.mf-note { margin: 14px 0 0; font-size: .875rem; color: var(--ink-3); }

.mf-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(36px, 4vw, 48px); }
.mf-stats .stat strong { font-size: clamp(2.25rem, 1.9rem + 1vw, 2.75rem); }
/* Número com a barra do logo por cima */
.stat { padding-top: 18px; border-top: 1px solid var(--line); position: relative; }
.stat::before { content: ""; position: absolute; left: 0; top: -1px; width: 44px; height: 4px; background: var(--grad); }
.stat strong { display: block; font-size: clamp(2.5rem, 2rem + 1.4vw, 3.25rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: .9375rem; color: var(--ink-2); line-height: 1.35; }
@media (max-width: 900px) {
  .mf-showcase { grid-template-columns: 1fr; }
  .mf-stage { order: -1; }
}
@media (prefers-reduced-motion: reduce) { .mf-shot { animation: none; } .mf-tab-text { transition: none; } }

/* ---------- Por que a CodeScript ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.why-item { padding: clamp(28px, 3vw, 40px) clamp(20px, 2.6vw, 40px); border-left: 1px solid var(--line); }
.why-item:first-child { border-left: 0; padding-left: 0; }
.why-icon { display: block; width: 30px; height: 30px; margin-bottom: 22px; color: var(--blue-700); }
.why-item h3 { margin-bottom: 8px; font-size: 1.25rem; letter-spacing: -0.015em; }
.why-item p { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 760px) {
  .why { grid-template-columns: 1fr; }
  .why-item { border-left: 0; padding-inline: 0; }
  .why-item + .why-item { border-top: 1px solid var(--line); }
}

/* ---------- Avaliações do Google ---------- */
.reviews { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 96px); margin-top: clamp(64px, 7vw, 104px); align-items: start; }
.stars { display: inline-flex; gap: 2px; color: #f5b400; }
.stars .icon { width: 18px; height: 18px; }
.reviews-score { display: flex; align-items: center; gap: 16px; margin: 0; }
.reviews-score strong { font-size: clamp(3rem, 2.4rem + 1.8vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.reviews-score .stars .icon { width: 22px; height: 22px; }
.reviews-src { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--ink-2); }
.reviews-src .icon { width: 16px; height: 16px; color: var(--navy); }
.reviews-summary .link-arrow { margin-top: 22px; }
.reviews-nav { display: none; align-items: center; gap: 14px; margin-top: 36px; }
.reviews.is-ready .reviews-nav { display: flex; }
.reviews-nav button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--navy); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.reviews-nav button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.reviews-nav button .icon { width: 20px; height: 20px; }
.reviews-count { min-width: 64px; text-align: center; font: 500 .875rem/1 var(--mono); color: var(--ink-3); }
.reviews-track { display: grid; gap: 40px; }
.review { position: relative; display: flex; flex-direction: column; margin: 0; padding: clamp(28px, 3.5vw, 48px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.review::before { content: ""; position: absolute; left: -1px; top: -1px; width: 72px; height: 4px; background: var(--grad); border-top-left-radius: var(--r-lg); }
.review blockquote { margin: 18px 0 0; }
.review blockquote p { margin: 0; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.5rem); line-height: 1.45; letter-spacing: -0.01em; color: var(--navy); }
/* Autor sempre na base do cartão, na mesma altura em todas as avaliações */
.review figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 28px; }
.review figcaption strong { display: block; color: var(--navy); }
.review figcaption small { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-top: 2px; font-size: .875rem; color: var(--ink-3); }
.review figcaption small .icon { width: 13px; height: 13px; }
.review-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--line); }
/* Com JS: uma avaliação por vez, trocando com um leve fade */
/* Todas ocupam a mesma célula: o cartão fica com a altura da maior e nada pula ao trocar */
.reviews.is-ready .reviews-track { gap: 0; }
.reviews.is-ready .review { grid-area: 1 / 1; }
.reviews.is-ready .review:not(.is-active) { visibility: hidden; }
.reviews.is-ready .review.is-active blockquote, .reviews.is-ready .review.is-active figcaption { animation: mf-in .45s var(--ease-out); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .reviews.is-ready .review.is-active blockquote, .reviews.is-ready .review.is-active figcaption { animation: none; } }
/* ---------- Processo: linha do tempo ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-grid .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin: 0; }
.timeline { list-style: none; position: relative; }
.timeline li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 0 22px; padding-bottom: 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:hover .step-num { background: var(--blue-700); }
.timeline li::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 0; width: 2px; background: var(--line-strong); }
.timeline li:last-child::before { display: none; }
.timeline li > :not(.step-num) { grid-column: 2; }
.step-num { grid-row: 1 / span 4; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--navy); color: #fff; font: 500 .9375rem/1 var(--mono); }
.timeline .eyebrow { margin: 2px 0 6px; }
.timeline h3 { font-size: clamp(1.375rem, 1.15rem + .6vw, 1.625rem); letter-spacing: -0.02em; }
.timeline p { margin: 10px 0 0; color: var(--ink-2); }
.timeline .step-you { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 16px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: .9688rem; font-weight: 500; }
.timeline .step-you .icon { margin-top: 3px; color: var(--blue-700); width: 18px; height: 18px; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } .process-grid .section-head { position: static; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 6vw, 96px); }
.faq-grid .section-head { margin: 0; }
.faq-list { display: grid; gap: 12px; }
details { border-radius: var(--r); background: var(--surface); border: 1px solid transparent; transition: background-color .2s, border-color .2s; }
details[open] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-1); }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 600; color: var(--navy); border-radius: var(--r);
}
summary::-webkit-details-marker { display: none; }
summary .icon { flex: none; color: var(--blue-700); transition: transform .3s var(--ease-out); }
details[open] summary .icon { transform: rotate(180deg); }
summary:hover { color: var(--blue-700); }
details p { margin: -6px 24px 22px; color: var(--ink-2); max-width: 68ch; }
.faq-group + .faq-group { margin-top: var(--section-sm); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Fechamento: painel azul de contato ---------- */
.exit { position: relative; overflow: hidden; background: var(--blue-700); color: #fff; }
.exit::before { content: ""; position: absolute; top: 50%; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); width: min(40vw, 560px); aspect-ratio: 560 / 468; transform: translateY(-50%); background: url("/images/codelines-light.svg") right center / contain no-repeat; opacity: .14; pointer-events: none; }
.cta-panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(64px, 8vw, 112px); color: #fff;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.125rem); line-height: 1.08; color: #fff; }
.exit-copy p { margin: 16px 0 0; font-size: 1.1875rem; color: rgba(255, 255, 255, .86); max-width: 50ch; }
.exit-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.exit-meta { flex-basis: 100%; margin: 8px 0 0; color: rgba(255, 255, 255, .86); font-size: .9375rem; }
.exit-meta a { color: #fff; font-weight: 700; white-space: nowrap; }
@media (max-width: 960px) { .cta-panel { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .exit-actions .btn { width: 100%; } }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--surface); padding-block: clamp(36px, 5vw, 64px) clamp(96px, 11vw, 160px); }
.page-hero::after { content: ""; position: absolute; z-index: 2; left: -10%; right: -10%; bottom: -1px; height: clamp(40px, 6vw, 90px); background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.page-hero::before { content: ""; position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); bottom: clamp(72px, 9vw, 130px); width: min(30vw, 400px); aspect-ratio: 560 / 468; background: url("/images/codelines.svg") right bottom / contain no-repeat; opacity: .3; pointer-events: none; }
.page-hero:has(.on-page)::before, .page-hero.has-overlap::before { display: none; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero .hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.page-hero h1 { font-size: clamp(2.375rem, 1.3rem + 3.3vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 20ch; }
.page-hero h1::after { content: "."; }
.page-hero .lead { margin: 22px 0 0; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); color: var(--ink-2); max-width: 58ch; }
.page-hero .actions { margin-top: 34px; }
.page-hero.compact { padding-bottom: clamp(80px, 9vw, 128px); }
.page-hero.compact h1 { font-size: clamp(2.125rem, 1.4rem + 2.3vw, 3.25rem); }
@media (max-width: 900px) { .page-hero .hero-grid { grid-template-columns: 1fr; } }
/* Trilha de navegação */
.route ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: clamp(24px, 3vw, 40px); font-size: .875rem; font-weight: 600; }
.route li { display: inline-flex; align-items: center; gap: 8px; }
.route a { display: inline-block; padding-block: 8px; margin-block: -8px; color: var(--ink-3); text-decoration: none; }
.route a:hover { color: var(--blue-700); text-decoration: underline; }
.route span { color: var(--navy); }
.route-arrow { width: 12px; height: 12px; color: var(--ink-3); }
/* Índice da página: card branco com âncoras */
.on-page { padding: 10px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.on-page-title { margin: 0; padding: 12px 14px 8px; }
.on-page ul { list-style: none; }
.on-page a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); color: var(--navy); text-decoration: none; transition: background-color .2s; }
.on-page a:hover { background: var(--surface); color: var(--navy); }
.on-page strong { font-weight: 700; line-height: 1.3; }
.on-page small { grid-row: 2; font-size: .875rem; color: var(--ink-3); line-height: 1.3; }
.on-page .icon { grid-row: span 2; width: 18px; height: 18px; color: var(--blue-700); }
.on-page li + li a { border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); }
.on-page li + li a:hover { border-top-color: transparent; }

.page-hero.has-overlap { padding-bottom: clamp(170px, 19vw, 280px); }
.overlap { margin-top: calc(-1 * clamp(130px, 14vw, 210px)) !important; position: relative; z-index: 3; }
.section:has(> .wrap > .overlap), .section:has(> .wrap > .about-intro > .overlap) { padding-top: 0; }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.updated { margin-top: 2.5em; font-weight: 700; color: var(--ink) !important; }

/* ---------- Soluções ---------- */
.solution { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; padding-block: var(--section-sm); border-top: 1px solid var(--line); }
.solution:first-child { border-top: 0; padding-top: 0; }
.solution-head { position: sticky; top: calc(var(--header-h) + 32px); }
.solution-head .tile { margin-bottom: 22px; }
.solution-head h2 { font-size: clamp(1.875rem, 1.3rem + 1.7vw, 2.75rem); }
.solution-head h2::after { content: "."; }
.solution-body { padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--surface); }
.solution-body h3 { font-size: 1.125rem; margin-bottom: 12px; }
.solution-note { margin: 20px 0 0; color: var(--ink-2); }
.stack-line { margin: 24px 0 0; color: var(--ink-2); }
.stack-line strong { display: block; margin-bottom: 10px; color: var(--navy); }
@media (max-width: 900px) { .solution { grid-template-columns: 1fr; } .solution-head { position: static; } }

/* ---------- Sobre ---------- */
.about-intro .prose h2::after { content: "."; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1080px; }
.values > div { padding: clamp(26px, 3vw, 38px); border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.values h3 { font-size: 1.5rem; margin-bottom: 12px; }
.values h3::after { content: "."; }
.values p { color: var(--ink-2); margin: 0; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }
.address-block { display: grid; gap: 12px; }
.address-block > div { padding: 20px 22px; border-radius: var(--r); background: var(--surface); }
.address-block strong { display: block; color: var(--navy); }
.address-block p { margin: 4px 0 0; color: var(--ink-2); }
.address-actions { margin-top: 14px; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1.0625rem/1.4 var(--font); color: var(--ink);
  padding: 13px 14px; background: var(--surface); border: 1.5px solid transparent; border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230068cc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; border-color: var(--blue-700); box-shadow: 0 0 0 4px rgba(2, 133, 244, .16); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .875rem; font-weight: 600; }
.field-error:empty { display: none; }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }
/* O widget do reCAPTCHA tem 304px fixos: em telas estreitas, reduz a escala para caber no formulário. */
@media (max-width: 400px) {
  .form { padding: 20px; }
  .g-recaptcha { height: 70px; transform: scale(.9); transform-origin: 0 0; }
}
@media (max-width: 340px) { .g-recaptcha { height: 63px; transform: scale(.8); } }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { font-size: .875rem; color: var(--ink-3); margin: 0; }
.form-status { grid-column: 1 / -1; display: none; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-sm); font-weight: 600; }
.form-status.is-ok { display: flex; background: var(--ok-soft); color: var(--ok); }
.form-status.is-error { display: flex; background: var(--error-soft); color: var(--error); }
.form-status .icon { margin-top: 2px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.channels h2 { font-size: 1.5rem; margin-bottom: 16px; }
.channel-list { list-style: none; display: grid; gap: 10px; }
.channel { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: var(--surface); color: var(--ink); text-decoration: none; transition: background-color .2s, box-shadow .2s; }
a.channel:hover { background: #fff; box-shadow: var(--shadow-2); }
.channel .icon { width: 40px; height: 40px; padding: 10px; border-radius: var(--r-sm); background: var(--blue-700); color: #fff; }
.channel small { display: block; color: var(--ink-3); font-size: .8125rem; }
.channel strong { display: block; font-size: 1.0625rem; font-weight: 600; color: var(--navy); word-break: break-word; }
a.channel:hover strong { color: var(--blue-700); }
.channel-note { margin: 18px 0 0; color: var(--ink-3); font-size: .9375rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-2); padding-top: clamp(64px, 8vw, 104px); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 64px; }
.footer-brand img { width: 168px; margin-bottom: 22px; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.social { list-style: none; display: flex; gap: 8px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--dark-line); color: #fff; transition: background-color .2s, border-color .2s; }
.social a:hover { background: var(--blue); border-color: var(--blue); }
.footer-col address { line-height: 1.9; }
.footer-reviews { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; color: #fff !important; font-weight: 600; }
.footer-reviews .icon { width: 16px; height: 16px; }
.footer-reviews .icon-sign-arrow { width: 13px; height: 13px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; background: linear-gradient(var(--dark-line), var(--dark-line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: .875rem; }
.footer-bottom p { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cookie-settings-link { appearance: none; border: 0; padding: 0; background: none; color: var(--on-dark-2); font: inherit; cursor: pointer; transition: color .2s; }
.cookie-settings-link:hover { color: #fff; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp: cor da própria marca do WhatsApp, não da CodeScript */
.wa-float {
  position: fixed; right: 20px; bottom: 96px; z-index: 40; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: #1faa59; color: #fff; box-shadow: var(--shadow-2);
  transition: transform .25s var(--ease-out), background-color .2s;
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); background: #178f49; color: #fff; }

/* Banner de cookies no sistema visual */
#cc--main {
  --cc-font-family: var(--font);
  --cc-text: var(--ink);
  --cc-btn-primary-bg: var(--blue-700);
  --cc-btn-primary-hover-bg: var(--blue-800);
  --cc-btn-secondary-bg: var(--surface);
  --cc-btn-secondary-hover-bg: var(--surface-2);
  --cc-btn-border-radius: var(--r-sm);
  --cc-border-radius: 16px;
  --cc-toggle-bg-on: var(--blue-700);
  --cc-cookie-category-block-bg: var(--surface);
  --cc-overlay-bg: #0d1837;
  --cc-consent-modal-box-shadow: var(--shadow-3);
}
#cc--main #cm { border: 1px solid var(--line); }
#cc--main #c-ttl { font-weight: 700; }

/* ---------- Revelação suave ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
