/* =====================================================================
   Fernando Melo Transfer: folha de estilos do site público.
   Direção: grafite e papel, com âmbar de sinalização. O elemento marcante
   é o painel de embarque dos aeroportos na home; o resto é silencioso.
   Sem fontes externas: títulos em serifa do sistema, texto em sans do sistema.
   ===================================================================== */

:root {
  --ink: #1b1f23;
  --ink-2: #353c43;
  --muted: #4f5861;
  --line: #d8dce0;
  --line-strong: #7f8991;
  --paper: #ffffff;
  --tint: #f2f3f4;
  --graphite: #1b1f23;
  --graphite-2: #252b31;
  --graphite-line: #3a424a;
  --on-dark: #e4e8eb;
  --on-dark-muted: #b4bcc3;
  --amber: #f2b134;
  --amber-d: #d99a1a;
  --ok: #0f7a5a;
  --ok-d: #0b6248;
  --danger: #b3261e;
  --radius: 10px;
  --radius-lg: 16px;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --header-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.45rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, 760px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 0.75rem;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(242, 177, 52, 0.85);
  border-radius: 4px;
}

.hero :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.board :focus-visible {
  outline-color: #fff;
}

main:focus {
  outline: none;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 44rem;
}

.meta {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.stack-sm {
  display: grid;
  gap: 0.6rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.text-link,
.prose a,
.faq-answer a,
.section-lead a,
.note a,
.capacity-note a,
.quote-aside a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.text-link:hover,
.prose a:hover,
.faq-answer a:hover {
  text-decoration-thickness: 4px;
}

/* ============================================================ botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

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

.btn-primary:hover {
  background: var(--amber-d);
}

.btn-dark {
  background: var(--graphite);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
}

.btn-line {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-line:hover {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #e4e8eb;
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--ink);
}

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

/* ============================================================ cabeçalho */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--graphite);
  color: var(--amber);
}

.logo-mark svg {
  width: 26px;
  height: 26px;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 1;
  white-space: nowrap;
}

.logo-text strong {
  font-weight: 700;
}

.logo-text span {
  font-weight: 400;
  color: var(--muted);
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 0.15rem;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--tint);
}

.site-nav a[aria-current="page"] {
  font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--amber);
  border-radius: 0;
}

.header-cta {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  flex: none;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle .icon-close {
  display: none;
}

.nav-open .menu-toggle .icon-open {
  display: none;
}

.nav-open .menu-toggle .icon-close {
  display: block;
}

@media (max-width: 1119px) {
  .header-bar {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .header-cta {
    margin-left: auto;
    padding: 0.4rem 0.9rem;
    font-size: 0.95rem;
  }

  .site-nav {
    order: 5;
    width: 100%;
    margin-left: 0;
    border-top: 1px solid var(--line);
  }

  .site-nav ul {
    flex-wrap: wrap;
    padding: 0.4rem 0;
  }

  /* Com JavaScript, o menu vira um painel que abre e fecha. */
  .js .menu-toggle {
    display: grid;
  }

  .js .site-nav {
    display: none;
  }

  .js .nav-open .site-nav {
    display: block;
    padding-bottom: 0.75rem;
  }

  .js .site-nav ul {
    flex-direction: column;
  }

  .js .site-nav a {
    padding: 0.85rem 0.25rem;
    font-size: 1.1rem;
  }

  .js .site-nav a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--amber);
    padding-left: 0.75rem;
  }
}

/* Logo, botão e menu precisam caber na mesma linha. Quanto mais estreita a tela, mais enxuto o cabeçalho. */
@media (max-width: 559px) {
  .header-bar {
    column-gap: 0.5rem;
  }

  .header-cta .cta-long {
    display: none;
  }
}

@media (max-width: 459px) {
  .logo-text span {
    display: none;
  }
}

@media (max-width: 379px) {
  .header-bar {
    column-gap: 0.4rem;
  }

  .logo {
    gap: 0.45rem;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .header-cta {
    padding-inline: 0.6rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }
}

/* Telas muito estreitas: o botão flutuante "Orçamento" continua na tela, então o do cabeçalho sai. */
@media (max-width: 359px) {
  .header-cta {
    display: none;
  }
}

/* ============================================================ home: hero */

.hero {
  padding: clamp(2.5rem, 7vw, 5.25rem) 0;
  background: var(--graphite);
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: 0.45em;
}

.hero .lead {
  color: var(--on-dark);
  max-width: 34rem;
}

.hero .actions {
  margin-top: 1.75rem;
}

.hero-note {
  margin: 1.25rem 0 0;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}

.board {
  padding: 1.25rem 1.4rem 0.5rem;
  background: var(--graphite-2);
  border: 1px solid var(--graphite-line);
  border-radius: var(--radius-lg);
}

.board h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--amber);
}

.board ul {
  list-style: none;
}

.board li + li {
  border-top: 1px solid var(--graphite-line);
}

.board a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.25rem;
  color: #fff;
  text-decoration: none;
}

.board a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.board-code {
  min-width: 4.4ch;
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 3.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.board-name strong {
  display: block;
  font-weight: 600;
}

.board-name span {
  display: block;
  color: var(--on-dark-muted);
  font-size: 0.93rem;
  line-height: 1.4;
}

.board .icon {
  color: var(--on-dark-muted);
}

@media (max-width: 859px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ seções */

.section {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

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

.section h2 {
  margin-bottom: 1rem;
}

.section-lead {
  max-width: 40rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem 2.5rem;
  margin: 1.5rem 0 0;
}

.benefits dt {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 700;
}

.benefits dt .icon {
  color: var(--ok);
  margin-top: 0.2rem;
}

.benefits dd {
  margin: 0.35rem 0 0 1.75rem;
  color: var(--muted);
}

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

.columns-3 article {
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}

.columns-3 h3 {
  margin-bottom: 0.4em;
}

.columns-3 h3 a {
  text-decoration: none;
}

.columns-3 h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 3px;
}

.columns-3 p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

@media (max-width: 859px) {
  .columns-3,
  .split {
    grid-template-columns: 1fr;
  }
}

/* linhas de links (serviços, destinos, guia) */

.link-rows {
  list-style: none;
  border-top: 2px solid var(--ink);
}

.link-rows li {
  border-bottom: 1px solid var(--line);
}

.link-rows a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0.25rem;
  text-decoration: none;
}

.link-rows a:hover {
  background: rgba(27, 31, 35, 0.04);
}

.section-tint .link-rows a:hover {
  background: rgba(255, 255, 255, 0.7);
}

.row-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tint);
}

.section-tint .row-icon {
  background: #fff;
}

.row-text strong {
  display: block;
  font-size: 1.05rem;
}

.row-text span {
  display: block;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.45;
}

.row-go {
  color: var(--muted);
}

.link-rows a:hover .row-go {
  color: var(--ink);
}

/* sequência real: como funciona */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
}

.timeline li {
  position: relative;
  padding-top: 3.4rem;
}

.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 52px;
  right: -1.5rem;
  border-top: 2px dashed var(--line-strong);
}

.timeline-node {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
}

.timeline h3 {
  margin-bottom: 0.3em;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 859px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline li {
    padding: 0 0 1.75rem 3.5rem;
  }

  .timeline li:not(:last-child)::before {
    top: 46px;
    bottom: 4px;
    left: 20px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed var(--line-strong);
  }
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.reviews figure {
  margin: 0;
  padding-left: 1.25rem;
  border-left: 4px solid var(--amber);
}

.reviews blockquote {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.reviews figcaption {
  color: var(--muted);
  font-weight: 600;
}

/* ============================================================ FAQ */

.faq {
  border-top: 2px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 1.1rem 2.75rem 1.1rem 0.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.5rem;
  top: 0.85rem;
  font: 400 1.7rem/1 var(--font-body);
}

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

.faq summary:hover {
  background: rgba(27, 31, 35, 0.04);
}

.faq-answer {
  padding: 0 0.25rem 1.1rem;
}

.faq-answer p {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-2);
}

/* ============================================================ faixa de ação */

.cta-band {
  padding: clamp(2.5rem, 6vw, 3.75rem) 0;
  background: var(--graphite);
  color: #fff;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  color: #fff;
}

.cta-band p {
  margin: 0;
  max-width: 34rem;
  color: var(--on-dark);
}

/* ============================================================ páginas internas */

.page-head {
  padding: 1.75rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  max-width: 22ch;
  margin-bottom: 0.4em;
}

.breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.93rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--line-strong);
}

.breadcrumb a {
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.breadcrumb [aria-current] {
  color: var(--muted);
}

.layout-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: 2.5rem 0 3.5rem;
}

.prose {
  max-width: 46rem;
}

.prose .block {
  margin-bottom: 2.6rem;
}

.prose .block:last-child {
  margin-bottom: 0;
}

.prose p {
  max-width: 66ch;
}

.list {
  margin: 0 0 1em;
  padding-left: 1.35rem;
}

.list li {
  margin: 0.45rem 0;
  padding-left: 0.2rem;
  max-width: 64ch;
}

ul.list li::marker {
  color: var(--amber-d);
}

.note {
  margin: 1.25rem 0 0;
  padding: 0.95rem 1.15rem;
  background: var(--tint);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.facts {
  margin: 1rem 0 0;
  border-top: 2px solid var(--ink);
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(8rem, 13rem) 1fr;
  gap: 0.25rem 1.25rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-weight: 700;
}

.facts dd {
  margin: 0;
  color: var(--ink-2);
}

.check-list {
  margin: 1rem 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  margin: 0.55rem 0;
}

.check-list .icon {
  margin-top: 0.22rem;
  color: var(--ok);
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 0;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.price-table caption {
  padding-bottom: 0.6rem;
  text-align: left;
  font-weight: 600;
  color: var(--muted);
}

.price-table th,
.price-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.price-table thead th {
  background: var(--graphite);
  color: #fff;
  font-weight: 600;
}

.price-table tbody th {
  font-weight: 600;
}

.price-table td {
  font-weight: 700;
}

.vehicle-card {
  padding: 1.25rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.vehicle-card-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.vehicle-card-head .icon {
  width: 2rem;
  height: 2rem;
  margin-top: 0.15rem;
}

.vehicle-card-head strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
}

.vehicle-card-head span {
  color: var(--muted);
}

.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  padding: 1.35rem;
  background: var(--tint);
  border-radius: var(--radius-lg);
}

.aside-card h2 {
  margin-bottom: 0.4em;
  font-size: 1.3rem;
}

.aside-card p {
  color: var(--muted);
}

.aside-card .btn {
  width: 100%;
}

@media (max-width: 899px) {
  .layout-article {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .aside-card {
    position: static;
  }

  .facts > div {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ formulário */

.layout-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  padding: 2.25rem 0 3.5rem;
}

.quote-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
}

.quote-aside {
  padding: 1.35rem;
  background: var(--tint);
  border-radius: var(--radius-lg);
}

.quote-aside h2 {
  margin: 0 0 0.5em;
  font-size: 1.2rem;
}

.quote-aside h2:not(:first-child) {
  margin-top: 1.5rem;
}

.aside-steps {
  padding-left: 1.25rem;
}

.aside-steps li {
  margin: 0.4rem 0;
}

.steps-nav {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
  list-style: none;
}

.is-stepped .steps-nav {
  display: flex;
}

.steps-nav li {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-weight: 600;
}

.steps-nav li:last-child {
  flex: none;
}

.steps-nav li:not(:last-child)::after {
  content: "";
  flex: 1;
  min-width: 0.75rem;
  border-top: 2px solid var(--line);
}

.steps-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  font-size: 0.9rem;
}

.steps-nav .is-current {
  color: var(--ink);
}

.steps-nav .is-current .steps-num {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.steps-nav .is-done .steps-num {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

@media (max-width: 480px) {
  .steps-nav li span:not(.steps-num) {
    display: none;
  }

  .steps-nav .is-current span:not(.steps-num) {
    display: inline;
  }
}

fieldset.step {
  min-width: 0;
  margin: 0 0 0.5rem;
  padding: 0;
  border: 0;
}

fieldset.step legend {
  margin: 0 0 1rem;
  padding: 0;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.opt {
  font-weight: 400;
  color: var(--muted);
}

.hint {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.93rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="password"],
select,
textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0.6rem 0.85rem;
  background: var(--paper);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--amber);
  outline-offset: 0;
  border-color: var(--ink);
  box-shadow: none;
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: var(--danger);
}

.field-error {
  margin: 0.4rem 0 0;
  color: var(--danger);
  font-size: 0.95rem;
  font-weight: 600;
}

.field-error:empty {
  display: none;
}

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

@media (max-width: 599px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field-check .check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.field-check input[type="checkbox"] {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0.15rem 0 0;
  accent-color: var(--ink);
}

.field-check label {
  margin: 0;
  font-weight: 400;
}

.field-check a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.capacity-note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0 0 1.15rem;
  padding: 0.85rem 1rem;
  background: var(--tint);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.capacity-note .icon {
  margin-top: 0.15rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.form-actions [data-action="next"],
.form-actions [data-action="submit"] {
  margin-left: auto;
}

.form-status {
  min-height: 1.5em;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.error-summary {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  background: #fdf1f0;
  border: 2px solid var(--danger);
  border-radius: var(--radius);
}

.error-summary h2 {
  margin: 0 0 0.4em;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
}

.error-summary ul {
  margin: 0;
  padding-left: 1.2rem;
}

.error-summary a {
  color: var(--ink);
}

.success {
  padding: 0.25rem 0;
}

.success:focus {
  outline: none;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
}

.success-mark .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.4;
}

.code {
  padding: 0.1rem 0.5rem;
  background: var(--tint);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 1.05em;
  letter-spacing: 0.04em;
}

.success-steps {
  margin: 1rem 0 1.5rem;
  padding-left: 1.3rem;
}

.success-steps li {
  margin: 0.4rem 0;
}

@media (max-width: 899px) {
  .layout-quote {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ rodapé */

.site-footer {
  padding: 3rem 0 5.5rem;
  background: var(--graphite);
  color: var(--on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-footer .footer-subhead {
  margin-top: 1.6rem;
}

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

.site-footer li {
  margin: 0.4rem 0;
}

.site-footer a {
  color: var(--on-dark);
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: #fff;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
}

.site-footer .logo {
  color: #fff;
}

.site-footer .logo-text span {
  color: var(--on-dark-muted);
}

.site-footer .logo-mark {
  background: var(--amber);
  color: var(--ink);
}

.footer-brand p {
  max-width: 28ch;
  margin-top: 1rem;
  color: var(--on-dark-muted);
  font-size: 0.97rem;
}

.footer-legal {
  max-width: none;
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--graphite-line);
  color: var(--on-dark-muted);
  font-size: 0.9rem;
}

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

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

@media (max-width: 519px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ flutuantes */

.fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--ok);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.fab:hover {
  background: var(--ok-d);
}

.fab .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.fab-quote {
  background: var(--graphite);
}

.fab-quote:hover {
  background: #000;
}

.consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 30rem;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.consent p {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}

.consent a {
  font-weight: 600;
}

.consent-actions {
  display: flex;
  gap: 0.5rem;
}

.consent .btn {
  min-height: 44px;
  padding: 0.45rem 1.1rem;
}

@media (max-width: 899px) {
  .consent {
    max-width: none;
  }
}

@media print {
  .site-header,
  .fab,
  .consent,
  .cta-band,
  .aside-card {
    display: none;
  }
}
