/* ==========================================================================
   Ayvu Hub — Sistema visual do site
   Paleta e hierarquia conforme o Manual de Marca (set/2026).
   Não alterar as cores sem consultar o manual.
   ========================================================================== */

:root {
  /* Paleta oficial */
  --forest: #23341D;
  --olive:  #667041;
  --sage:   #B1B78B;
  --cream:  #F7F5EE;
  --ink:    #23261F;
  --white:  #FFFFFF;

  /* Papéis semânticos */
  --bg:           var(--cream);
  --bg-alt:       var(--white);
  --bg-inverse:   var(--forest);
  --text-main:    var(--ink);
  --text-muted:   #5A6152;
  --text-inverse: var(--cream);
  --text-inverse-muted: #A8B29A;
  --accent:       var(--olive);
  --border:       #DEDCCF;
  --border-soft:  #E9E6DA;

  /* Tipografia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Escala fluida */
  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0:  clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
  --step-1:  clamp(1.18rem, 1.1rem + 0.35vw, 1.4rem);
  --step-2:  clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --step-3:  clamp(1.7rem, 1.42rem + 1.3vw, 2.5rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.3vw, 3.4rem);
  --step-5:  clamp(2.5rem, 1.7rem + 3.6vw, 4.4rem);

  /* Ritmo */
  --gap:        clamp(1.2rem, 2.5vw, 2rem);
  --section-y:  clamp(4rem, 9vw, 7.5rem);
  --shell:      1180px;
  --measure:    66ch;
  --radius:     10px;
  --radius-lg:  16px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--forest);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.1em; max-width: var(--measure); }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }

ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; max-width: var(--measure); }

strong { font-weight: 600; color: var(--forest); }

::selection { background: var(--sage); color: var(--forest); }

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

/* --------------------------------------------------------------- utils -- */

.shell { width: min(100% - 2rem, var(--shell)); margin-inline: auto; }
@media (min-width: 640px) { .shell { width: min(100% - 4rem, var(--shell)); } }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.6rem, 5vw, 4rem); }
.section--alt { background: var(--bg-alt); }
.section--inverse { background: var(--bg-inverse); color: var(--text-inverse); }
.section--inverse h2,
.section--inverse h3,
.section--inverse h4 { color: var(--cream); }
.section--inverse p { color: var(--text-inverse-muted); }
.section--inverse strong { color: var(--cream); }

.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 2000;
  background: var(--forest);
  color: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  font-size: var(--step--1);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--cream); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.section--inverse .eyebrow { color: var(--sage); }

.lede {
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 62ch;
  line-height: 1.55;
}
.section--inverse .lede { color: var(--text-inverse-muted); }

.section-head { max-width: 70ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.muted { color: var(--text-muted); }
.small { font-size: var(--step--1); }
.hr { height: 1px; background: var(--border); border: 0; margin-block: var(--section-y); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--forest); color: var(--cream); }
.btn--primary:hover { background: var(--olive); color: var(--cream); }

.btn--ghost { background: transparent; color: var(--forest); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--olive); color: var(--olive); background: transparent; }

.section--inverse .btn--primary { background: var(--cream); color: var(--forest); }
.section--inverse .btn--primary:hover { background: var(--sage); color: var(--forest); }
.section--inverse .btn--ghost { color: var(--cream); border-color: rgba(247,245,238,0.3); }
.section--inverse .btn--ghost:hover { border-color: var(--sage); color: var(--sage); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--accent);
}
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--inverse .link-arrow { color: var(--sage); }

/* ------------------------------------------------------------ navbar --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 245, 238, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--border); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(0.7rem, 1.4vw, 1rem);
  transition: padding-block 0.3s var(--ease);
}
.nav.is-scrolled .nav__inner { padding-block: 0.45rem; }

/* O Manual de Marca fixa largura mínima de 140 px para uso digital, e autoriza
   o símbolo isolado abaixo disso. Por isso o lockup nunca desce de 148 px —
   em telas estreitas trocamos pelo símbolo em vez de encolher a assinatura. */
.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__brand img { width: 148px; height: auto; }
.nav__brand .nav__symbol { display: none; width: 40px; }

@media (max-width: 520px) {
  .nav__brand .nav__lockup { display: none; }
  .nav__brand .nav__symbol { display: block; }
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu li { margin: 0; }

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding-block: 0.4rem;
  position: relative;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover { color: var(--forest); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--forest); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta {
  font-size: 0.92rem;
  padding: 0.68rem 1.4rem;
}

/* submenu de serviços */
.nav__has-sub { position: relative; }
.nav__sub {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: -1rem;
  min-width: 290px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(35, 52, 29, 0.09);
  padding: 0.6rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub a {
  display: block;
  padding: 0.62rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.nav__sub a:hover { background: var(--cream); color: var(--forest); }
.nav__sub small { display: block; color: var(--text-muted); font-size: 0.78rem; margin-top: 0.1rem; }

.nav__lang-item { display: flex; align-items: center; }
.nav__lang { display: flex; gap: 0.15rem; align-items: center; font-size: 0.8rem; }
.nav__lang a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.nav__lang a:hover { color: var(--forest); }
.nav__lang a[aria-current] { color: var(--forest); font-weight: 600; }
.nav__lang span { color: var(--border); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  position: relative;
  width: 18px; height: 1.5px;
  background: var(--forest);
  transition: background 0.2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: var(--forest);
  transition: transform 0.28s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  /* backdrop-filter cria bloco de contenção: um position:fixed descendente passa
     a se ancorar na barra em vez da viewport, e o painel do menu quebra.
     Nesta faixa a barra fica sólida — o efeito de desfoque não faz falta. */
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--cream);
  }

  /* o botão precisa ficar acima do painel para servir de "fechar" */
  .nav__toggle { display: inline-flex; position: relative; z-index: 1200; }
  .nav__menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    background: var(--cream);
    padding: 6.5rem 2rem 3rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu li { width: 100%; border-bottom: 1px solid var(--border-soft); }
  .nav__link { display: block; font-size: 1.25rem; padding: 1.05rem 0; font-family: var(--font-display); color: var(--forest); }
  .nav__link::after { display: none; }
  .nav__sub {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; background: transparent;
    padding: 0 0 0.9rem 0.2rem; min-width: 0;
  }
  .nav__sub a { padding: 0.5rem 0; font-size: 0.95rem; color: var(--text-muted); }
  .nav__cta { margin-top: 1.8rem; width: 100%; justify-content: center; }
  .nav__menu li.nav__menu-cta { border-bottom: 0; }
  .nav__menu li.nav__lang-item { border-bottom: 0; padding-top: 0.6rem; }
  .nav__lang { margin-top: 1.4rem; }
  body.is-locked { overflow: hidden; }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3.5rem, 8vw, 6rem);
}
.hero__inner { position: relative; z-index: 2; }
.hero h1 { max-width: 17ch; margin-bottom: 0.5em; }
.hero .lede { max-width: 56ch; font-size: var(--step-1); }

.hero__leaf {
  position: absolute;
  top: 50%; right: -6%;
  width: min(46vw, 560px);
  transform: translateY(-50%);
  opacity: 0.085;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 900px) { .hero__leaf { right: -22%; width: 78vw; opacity: 0.06; } }


/* A quebra entre as duas frases do título só existe em telas estreitas, para
   "A questão é qual." nunca começar no fim de uma linha. */
.hero-break { display: none; }

@media (max-width: 760px) {
  .hero-break { display: inline; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2rem, 8.2vw, 2.6rem); }
}

/* barra de credibilidade */
.credbar {
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
}
.credbar__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0; padding: 0;
}
.credbar__list li {
  flex: 1 1 210px;
  margin: 0;
  padding: 1.15rem 1.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 1px solid var(--border-soft);
}
.credbar__list li:first-child { border-left: 0; }
@media (max-width: 760px) {
  .credbar__list li { flex: 1 1 50%; border-left: 0; border-top: 1px solid var(--border-soft); }
  .credbar__list li:nth-child(-n+2) { border-top: 0; }
}

/* --------------------------------------------------------------- grid -- */

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.split h2 { font-size: var(--step-3); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- cards -- */

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.6vw, 2.3rem);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: var(--sage); transform: translateY(-3px); }
.card h3 { font-size: var(--step-1); margin-bottom: 0.55em; }
.card p { color: var(--text-muted); margin-bottom: 0; font-size: 0.97rem; }
.card p + p { margin-top: 0.9em; }
.card__num {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);   /* olive: 4.86:1 sobre creme. Sage reprovava (1.92:1) */
  margin-bottom: 1rem;
}
.card--link { display: block; text-decoration: none; color: inherit; }
.card--link:hover h3 { color: var(--olive); }
.card__more { display: inline-block; margin-top: 1.2rem; color: var(--accent); font-size: 0.92rem; font-weight: 500; }
.card__more::after { content: " →"; }

.section--alt .card { background: var(--cream); }
.section--inverse .card {
  background: rgba(247, 245, 238, 0.045);
  border-color: rgba(247, 245, 238, 0.16);
}
.section--inverse .card:hover { border-color: var(--sage); }
.section--inverse .card p { color: var(--text-inverse-muted); }
.section--inverse .card__num { color: var(--sage); }

/* pilares em lista */
.pillar {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s var(--ease);
}
.pillar:last-child { border-bottom: 1px solid var(--border); }
.pillar:hover { background: rgba(177, 183, 139, 0.09); }
.pillar:hover h3 { color: var(--olive); }
.pillar__num {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: #8A9163;   /* 3.05:1 — atende o mínimo de texto grande */
  line-height: 1;
}
.pillar__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.pillar h3 { margin-bottom: 0.4em; }
.pillar p { color: var(--text-muted); margin: 0; font-size: 0.97rem; }
.pillar__go { color: var(--accent); font-size: 1.3rem; align-self: center; }
@media (max-width: 720px) {
  .pillar { grid-template-columns: 1fr; gap: 0.6rem; }
  .pillar__go { display: none; }
}


/* lista de metodologias dentro dos cartões */
.methods { list-style: none; padding: 0; margin: 0; }
.methods li {
  position: relative;
  margin: 0 0 0.52rem;
  padding-left: 0.95rem;
  max-width: none;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.methods li:last-child { margin-bottom: 0; }
.methods li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
}
.section--inverse .methods li { color: var(--text-inverse-muted); }

/* ------------------------------------------------------------ tabelas -- */

.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
caption { text-align: left; color: var(--text-muted); font-size: var(--step--1); padding-bottom: 0.8rem; }
th, td { text-align: left; padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 600; color: var(--forest); font-size: 0.8rem; letter-spacing: 0.07em; text-transform: uppercase; }
tbody tr:hover { background: rgba(177, 183, 139, 0.08); }
td:first-child { color: var(--forest); font-weight: 500; }

/* --------------------------------------------------------------- prosa -- */

.prose h2 { margin-top: 2.4em; }
.prose h3 { margin-top: 1.9em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.1em; }
.prose li::marker { color: var(--sage); }

.quote {
  border-left: 2px solid var(--sage);
  padding-left: clamp(1.2rem, 3vw, 2rem);
  margin: 2.2rem 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.32;
  color: var(--forest);
  max-width: 28ch;
}

.note {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.3rem 1.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-block: 2rem;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--forest); }

.facts { list-style: none; padding: 0; margin: 0; }
.facts li {
  padding: 1.05rem 0;
  border-top: 1px solid var(--border);
  max-width: none;
  margin: 0;
}
.facts li:last-child { border-bottom: 1px solid var(--border); }
.facts b { display: block; color: var(--forest); font-weight: 600; margin-bottom: 0.15rem; }
.facts span { color: var(--text-muted); font-size: 0.95rem; }

/* ------------------------------------------------------------- equipe -- */

.person { text-align: left; }
.person__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--sage);
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  overflow: hidden;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__mono {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.5rem);
  color: var(--forest);
  opacity: 0.35;
  line-height: 1;
}
.person h3 { margin-bottom: 0.25em; }
.person__role {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.person p { font-size: 0.96rem; color: var(--text-muted); }
.person__meta { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.9rem; }

/* ---------------------------------------------------------- portfólio -- */

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.case-card:hover { border-color: var(--sage); transform: translateY(-3px); }
.case-card__cover {
  aspect-ratio: 16 / 10;
  background: var(--forest);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.case-card__cover img { width: 58%; opacity: 0.9; }
.case-card__body { padding: 1.5rem 1.6rem 1.8rem; }
.case-card__sector {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.7rem;
}
.case-card h3 { font-size: var(--step-1); margin-bottom: 0.4em; }
.case-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1rem; }

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.tags li {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

.placeholder {
  border: 1px dashed var(--sage);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: rgba(177, 183, 139, 0.07);
}
.placeholder h3 { margin-bottom: 0.5em; }
.placeholder p { color: var(--text-muted); }

/* ---------------------------------------------------------- formulário -- */

.form { display: grid; gap: 1.3rem; max-width: 720px; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--forest); }
.field .hint { font-size: 0.82rem; color: var(--text-muted); }
.field .req { color: var(--olive); }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
select, textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-main);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.82rem 1rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(102, 112, 65, 0.14);
}
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] {
  border-color: #9B3B2E;
}
.error {
  color: #9B3B2E;
  font-size: 0.85rem;
  min-height: 1.1em;
}

.checks { display: grid; gap: 0.6rem; }
.check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.94rem; cursor: pointer; }
.check input { width: 1.05rem; height: 1.05rem; margin-top: 0.22rem; accent-color: var(--olive); flex-shrink: 0; }
.checks--inline { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  align-items: start;   /* sem isto, o campo sem mensagem de erro estica e
                           fica mais alto que o vizinho */
}
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.form__status {
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  display: none;
}
.form__status.is-visible { display: block; }
.form__status--ok { background: rgba(102, 112, 65, 0.12); border: 1px solid var(--olive); color: var(--forest); }
.form__status--err { background: rgba(155, 59, 46, 0.08); border: 1px solid #9B3B2E; color: #7A2C21; }

.honey { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ------------------------------------------------------------- rodapé -- */

.footer {
  background: var(--forest);
  color: var(--text-inverse-muted);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: 0.94rem;
}
.footer h2, .footer h3 { color: var(--cream); }
.footer a { color: var(--text-inverse-muted); text-decoration: none; }
.footer a:hover { color: var(--sage); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo { width: 168px; margin-bottom: 1.3rem; }
.footer__tag {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1rem;
}
.footer__col h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.1rem;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 0.65rem; max-width: none; }

.footer__bottom {
  border-top: 1px solid rgba(247, 245, 238, 0.13);
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.8rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #99A48C;   /* 5.09:1 sobre forest */
}
.footer__bottom ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer__bottom li { margin: 0; }

/* -------------------------------------------------------------- final -- */

.cta-band { text-align: left; }
.cta-band h2 { max-width: 18ch; }
.cta-band .lede { max-width: 54ch; }

.page-head {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--olive); }
.breadcrumb span { margin-inline: 0.5rem; color: var(--sage); }

/* animação de entrada */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .nav, .footer, .btn-row, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}
