@charset "UTF-8";

/* ==========================================================================
   The Human - landing page
   Tipografia e paleta: source/diretrizes-human.txt
   Arquitetura e copy:  source/brief-lp-the-human.md
   ========================================================================== */

/* ─── 1. fontes ─────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/atkinson-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/atkinson-700-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/opensans-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/opensans-var-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── 2. tokens ─────────────────────────────────────────────────────────── */

:root {
  /* paleta das diretrizes */
  --paper: #ffffff;
  --coral: #f06e58;
  --sand: #f8ede1;
  --mint: #e8f2f0;
  --sage: #8fa496;
  --ink: #1c1a17;

  /* derivados por exigência de contraste sobre branco */
  --ink-soft: #4a443d;    /* 9.6:1 */
  --ink-muted: #6b645b;   /* 5.8:1 */
  --sage-deep: #5d6f63;   /* 5.4:1 */
  --coral-ink: #b0432c;   /* 5.8:1 */

  --line: rgba(28, 26, 23, 0.12);
  --line-soft: rgba(28, 26, 23, 0.07);

  /* sombras tingidas, nunca preto puro */
  --sh-1: 0 1px 2px rgba(84, 60, 40, 0.06), 0 2px 8px rgba(84, 60, 40, 0.05);
  --sh-2: 0 2px 6px rgba(84, 60, 40, 0.07), 0 12px 32px rgba(84, 60, 40, 0.09);
  --sh-3: 0 4px 14px rgba(84, 60, 40, 0.09), 0 24px 70px rgba(84, 60, 40, 0.14);

  --r-sm: 8px;
  --r: 20px;
  --r-pill: 999px;

  --nav: 76px;
  --max: 1200px;
  --gut: clamp(20px, 4.5vw, 32px);
  --pad-y: clamp(64px, 8vw, 120px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 160ms;

  --display: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --body: "Open Sans", "Segoe UI", system-ui, sans-serif;
}

/* ─── 3. reset ──────────────────────────────────────────────────────────── */

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

[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* diretrizes: sem itálico em lugar nenhum */
em, i, cite, address, dfn { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible { outline-color: var(--ink); }

::selection { background: var(--coral); color: var(--ink); }

/* ─── 4. utilitários ────────────────────────────────────────────────────── */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-sm);
  transition: top var(--t) var(--ease);
}
.skip-link:focus { top: 16px; }

.grid {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.ic { width: 1.125em; height: 1.125em; fill: currentColor; flex: none; }
.ic-lg { width: 24px; height: 24px; }

/* ─── 5. botões ─────────────────────────────────────────────────────────── */

/* O primário é tinta, não coral: branco sobre #f06e58 dá 2.97:1 e reprova,
   e um botão coral sumiria dentro do campo coral do hero. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t) var(--ease),
              border-color var(--t) var(--ease),
              color var(--t) var(--ease),
              transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}

.btn-primary { background: var(--ink); color: var(--paper); box-shadow: var(--sh-1); }
.btn-primary:hover { background: #2d2a25; box-shadow: var(--sh-2); }
.btn-primary:active { transform: translateY(1px); box-shadow: var(--sh-1); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); background: rgba(28, 26, 23, 0.04); }
.btn-outline:active { transform: translateY(1px); }

.btn-quiet { background: transparent; color: var(--ink); padding-inline: 8px; }
.btn-quiet:hover { color: var(--coral-ink); }

.btn-outline .ic, .btn-quiet .ic { transition: transform var(--t) var(--ease); }
.btn-outline:hover .ic, .btn-quiet:hover .ic { transform: translateX(3px); }

.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 0.875rem; }
.btn-full { width: 100%; }

/* ─── 6. header ─────────────────────────────────────────────────────────── */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  /* afasta a pill do topo e das laterais: ela flutua sobre o conteúdo */
  padding: clamp(12px, 1.6vw, 20px) var(--gut) 0;
}

/* a barra é uma pill branca desde o topo (não mais transparente sobre o hero).
   .grid mantém o max-width e o centramento; aqui vira o cartão flutuante. */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
  /* ar interno; sobrepõe o padding-inline do .grid. Direita menor: o botão
     preto encosta na borda da pill como na referência. */
  padding-inline: 24px 8px;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--sh-1);
  transition: box-shadow 240ms var(--ease);
}
/* fixo continua pill: ao rolar, só aprofunda a sombra */
.header.is-stuck .header-inner { box-shadow: var(--sh-2); }

/* pill branca desde o topo: logo em coral (marca), nav em tinta */
.header-logo { color: var(--coral); }
/* o conteúdo do wordmark excede o viewBox em fração de unidade e o overflow
   padrão do SVG cortava a base */
.header-logo svg { width: 152px; height: auto; fill: currentColor; overflow: visible; }

.header-nav { display: none; align-items: center; gap: clamp(16px, 2.2vw, 32px); font-size: 0.9375rem; font-weight: 500; }
.header-nav a { position: relative; color: var(--ink-soft); padding-block: 4px; }
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.header-nav a:hover::after { transform: scaleX(1); }

.header-right { display: flex; align-items: center; gap: 10px; }
.header-right .btn { display: none; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 9px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t) var(--ease), opacity var(--t) var(--ease), background-color 240ms var(--ease); }

/* menu aberto: a pill branca continua sobre o menu coral, então o X fica em tinta */
.burger[aria-expanded="true"] span { background: var(--ink) !important; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* tela cheia na cor do hero, textos em areia */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: var(--nav) var(--gut) 40px;
  background: var(--coral);
  overflow-y: auto;
}
.menu a {
  padding: 14px 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--sand);
}
.menu-cta {
  justify-self: start;
  margin-top: 24px;
  padding: 16px 28px !important;
  background: var(--ink);
  color: var(--sand) !important;
  border-radius: var(--r-pill);
  font-family: var(--body) !important;
  font-size: 1rem !important;
  font-weight: 600;
  letter-spacing: normal !important;
}

/* ─── 7. hero ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  /* a marca ultrapassa a janela dos dois lados e sangra além da seção:
     o corte acontece aqui, não na barra de rolagem */
  overflow: hidden;
  background: var(--coral);
  padding-top: calc(var(--nav) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(72px, 10vw, 136px);
}

/* a moldura de navegador envolve o conteúdo, e os cards flutuantes
   sobrepõem as bordas */
.hero-frame {
  position: relative;
  width: 100%;
  max-width: 940px;
  margin-inline: auto;
  /* folga para o transbordo dos cards de notificação nos cantos */
  padding-block: 26px;
}

/* head.svg como fundo da seção. Sobe até o topo do hero, portanto passa por
   trás dos itens do nav, e é cortado pelo overflow do .hero. */
.hero-bg {
  position: absolute;
  z-index: 0;
  /* ancorado no topo: o domo aparece inteiro por trás do nav e o corte cai
     embaixo, onde os arcos já são abertos */
  top: -5%;
  left: 50%;
  height: clamp(760px, 152%, 1700px);
  width: auto;
  /* o reset aplica max-width:100% em svg, que travaria a forma na largura do
     contêiner e anularia o dimensionamento por altura */
  max-width: none;
  color: #bf6053;
  pointer-events: none;
  transform: translate3d(-50%, 0, 0);
  will-change: transform;
}

.browser {
  position: relative;
  z-index: 1;
  border-radius: var(--r);
  border: 2px solid var(--sand);
  background: var(--coral);
  box-shadow: none;
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--sand);
}
.dots { display: flex; gap: 7px; flex: none; }
.dots i { width: 11px; height: 11px; border-radius: 50%; }
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  min-width: 0;
  padding: 8px 16px;
  background: var(--paper);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* mesmo coral do hero, opaco: a marca do favicon fica atrás e só aparece
   para fora das bordas da janela */
.hero-stage {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 72px);
  background: var(--coral);
}

.hero-stage h1 {
  max-width: 18ch;
  font-size: clamp(2.125rem, 3.4vw + 1.15rem, 4rem);
  line-height: 1.06;
  color: var(--sand);
}
.hero-lead {
  margin-top: 22px;
  max-width: 54ch;
  font-size: clamp(1rem, 0.45vw + 0.92rem, 1.1875rem);
  color: var(--paper);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

/* areia com texto preto: 15.4:1 */
.btn-hero { background: var(--sand); color: var(--ink); box-shadow: none; }
.btn-hero:hover { background: #fff7ee; }
.btn-hero:active { transform: translateY(1px); }

/* secundário apenas traçado, em tom apagado */
.btn-hero-alt {
  background: transparent;
  color: rgba(248, 237, 225, 0.76);
  border-color: rgba(248, 237, 225, 0.4);
}
.btn-hero-alt:hover { background: transparent; color: var(--sand); border-color: var(--sand); }
.btn-hero-alt:active { transform: translateY(1px); }

/* verde claro, fora da paleta. Texto em tinta sobre #86efac dá 12.6:1 */
.bubbles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.bubbles li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 9px;
  background: #86efac;
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink);
}
.bubbles .ic { width: 12px; height: 12px; color: var(--ink); }

/* por cima da janela, mas ancorados nos cantos, onde não há texto */
.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--paper);
  border: 2px solid var(--sand);
  border-radius: 12px;
  box-shadow: none;
}
.float-txt { display: grid; }
.float-txt strong { font-family: var(--display); font-size: 0.75rem; color: var(--ink); line-height: 1.3; }
.float-txt small { font-size: 0.6875rem; color: var(--ink-muted); line-height: 1.35; }

.float-ic {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--sand);
  color: var(--coral-ink);
}
.float-ic-dark { background: var(--sand); color: var(--coral-ink); }

/* a interface de busca estática exigida pelo brief */
.float-search { top: 8px; right: -18px; }
/* descreve um recurso, não um resultado */
.float-contact { bottom: 8px; left: -18px; }

@media (prefers-reduced-motion: no-preference) {
  .float { animation: bob 5.5s ease-in-out infinite; }
  .float-contact { animation-delay: -2.75s; }
}
@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -8px, 0); }
}

/* ─── 8. seções ─────────────────────────────────────────────────────────── */

.sec { padding-block: var(--pad-y); }
.sec-paper { background: var(--paper); }
.sec-sand { background: var(--sand); }
.sec-mint { background: var(--mint); }

.sec-head { max-width: 60ch; }
.sec-head h2 { font-size: clamp(1.625rem, 1.9vw + 0.95rem, 2.375rem); }
.sec-head p { margin-top: 18px; max-width: 62ch; font-size: 1.0625rem; }

/* h2 sobre fundo branco em sálvia, conforme pedido.
   Atenção: #8fa496 sobre #ffffff dá 2.65:1 e não alcança o mínimo de 3:1
   para texto grande. Ver nota na spec. */
.sec-paper h2 { color: var(--sage); }

.sec-action { margin-top: clamp(32px, 4vw, 48px); }

.note {
  margin-top: clamp(32px, 4vw, 48px);
  padding-left: 18px;
  border-left: 2px solid var(--sage);
  max-width: 72ch;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* sem filete à esquerda: usada abaixo dos cards na seção 3 */
.note-plain { padding-left: 0; border-left: 0; margin-top: 24px; }

/* ─── 9. cards ──────────────────────────────────────────────────────────── */

.card {
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--line); }
.card h3 { font-size: 1.0625rem; }
.card p { margin-top: 8px; font-size: 0.9375rem; }

.card-ic {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--sage-deep);
}

.cards-3 { display: grid; gap: 16px; margin-top: clamp(36px, 4.5vw, 56px); }

/* ─── 10. seção 3: encontrável ──────────────────────────────────────────── */

.found { display: grid; gap: clamp(28px, 4vw, 48px); margin-top: clamp(36px, 4.5vw, 56px); }

/* o arco, tirado do retrato do mock do hero. Segundo e último uso na página. */
.found-shot { margin: 0; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--mint); }
.found-shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 28%; }

.found-side { display: grid; align-content: center; }
.found-list { display: grid; gap: 14px; }
.card-row { display: flex; align-items: flex-start; gap: 16px; padding: 22px 22px; }
.card-row .card-ic { margin-bottom: 0; width: 42px; height: 42px; }
.card-row h3 { font-size: 1rem; }
.card-row p { margin-top: 6px; font-size: 0.9063rem; }

/* ─── 11. seção 4: projetos ─────────────────────────────────────────────── */

.work { display: grid; gap: clamp(32px, 4vw, 56px); }

.work-aside-in h2 { font-size: clamp(1.625rem, 1.9vw + 0.95rem, 2.375rem); }
.work-aside-in > p { margin-top: 18px; max-width: 46ch; font-size: 1.0625rem; }

/* o número marca posição numa sequência de três. Não aparece em outra seção. */
.work-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 32px;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.work-count-sep, .work-count-total { color: var(--ink-muted); font-weight: 400; }

.work-list { display: grid; gap: 20px; }

.work-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow 260ms var(--ease), border-color 260ms var(--ease), opacity 260ms var(--ease);
}
.work-shot { background: var(--mint); }
.work-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.work-body { padding: 26px 26px 30px; }
.work-name { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.work-sub { margin-top: 2px; font-size: 0.8125rem; font-weight: 600; color: var(--sage-deep); }
.work-body h3 { margin-top: 16px; font-size: 1.125rem; }
.work-body > p { margin-top: 10px; font-size: 0.9375rem; }

.work-visit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 18px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.work-visit:hover { border-color: var(--ink); background: rgba(28, 26, 23, 0.04); }
.work-visit:active { transform: translateY(1px); }
.work-visit .ic { transition: transform var(--t) var(--ease); }
.work-visit:hover .ic { transform: translate(2px, -2px); }

.work-action { margin-top: 0; }

/* ─── 12. seção 5: como acontece ────────────────────────────────────────── */

.steps { display: grid; gap: 28px; margin-top: clamp(36px, 4.5vw, 56px); }
.step { padding-top: 0; border-top: 0; }
/* menor que o mini título logo abaixo */
.step-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--coral-ink);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.1875rem; }
.step p { margin-top: 10px; font-size: 0.9375rem; max-width: 42ch; }

/* ─── 13. seção 6: dúvidas ──────────────────────────────────────────────── */

.faq { display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }

.faq-art { color: var(--coral); }
.faq-art svg { width: 100%; max-width: 340px; height: auto; margin-inline: auto; }

.faq-main > h2 { font-size: clamp(1.625rem, 1.9vw + 0.95rem, 2.375rem); }
.faq-list { margin-top: clamp(24px, 3vw, 36px); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  transition: color var(--t) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--coral-ink); }
.faq-item summary .ic { width: 20px; height: 20px; color: var(--coral-ink); transition: transform 240ms var(--ease); }
.faq-item[open] summary .ic { transform: rotate(180deg); }

.faq-answer { overflow: hidden; }
.faq-answer p { padding-bottom: 22px; max-width: 66ch; font-size: 0.9375rem; }

/* ─── 14. seção 7: conversa inicial ─────────────────────────────────────── */

.talk { display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }

.talk-copy h2 { font-size: clamp(1.625rem, 1.9vw + 0.95rem, 2.375rem); max-width: 18ch; }
.talk-copy > p { margin-top: 18px; max-width: 44ch; font-size: 1.0625rem; }

/* mesma forma do botão de contato da LP atual, na cor sálvia.
   ATENÇÃO: texto branco sobre #8fa496 dá 2.65:1 e reprova em AA. Ver spec. */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 18px 28px;
  background: var(--sage);
  color: var(--paper);
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(143, 164, 150, 0.34);
  transition: background-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.wa-btn:hover { background: #829a8b; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(143, 164, 150, 0.42); }
.wa-btn:active { transform: translateY(1px); box-shadow: 0 4px 14px rgba(143, 164, 150, 0.3); }
.ic-wa { width: 20px; height: 20px; fill: currentColor; flex: none; }

.talk-panel {
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  box-shadow: var(--sh-2);
}

/* ─── 15. formulário ────────────────────────────────────────────────────── */

.form { display: grid; gap: 18px; }

.f { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.f label, .f legend { padding: 0; font-family: var(--display); font-size: 0.8125rem; font-weight: 700; color: var(--ink); }

.f input, .f textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(28, 26, 23, 0.26);
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.f textarea { min-height: 84px; resize: vertical; }
.f input:hover, .f textarea:hover { border-color: rgba(28, 26, 23, 0.42); }
.f input:focus, .f textarea:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(28, 26, 23, 0.12);
}

.hint { font-size: 0.75rem; color: var(--ink-muted); }
.err { font-size: 0.75rem; font-weight: 600; color: var(--coral-ink); }
.f.is-bad input, .f.is-bad textarea { border-color: var(--coral-ink); }

.f-row { display: grid; gap: 18px; }

/* rádio como círculo à frente do texto, sem moldura de tag */
.radios { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 6px; }
.radios-stack { flex-direction: column; gap: 4px; }

.radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}
/* círculo perfeito: anel fino, ponto preenchido no acento do projeto.
   O reset de padding e min-height é obrigatório: sem ele a regra .f input
   infla a caixa para 30x44 e o círculo deixa de ser círculo. */
.radio input,
.check input {
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  min-height: 0;
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}
.radio input {
  display: grid;
  place-content: center;
  width: 16px; height: 16px;
  margin: 0;
  flex: none;
  border: 1.5px solid rgba(28, 26, 23, 0.32);
  transition: border-color var(--t) var(--ease);
}
.radio input::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  transform: scale(0);
  transition: transform 140ms var(--ease);
}
.radio input:checked { border-color: var(--coral); border-width: 2px; }
.radio input:checked::before { transform: scale(1); }
.radio input:hover { border-color: var(--ink); }
.radio span { font-family: var(--body); font-size: 0.9375rem; font-weight: 400; color: var(--ink-soft); }
.radio:hover span { color: var(--ink); }

.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input {
  display: grid;
  place-content: center;
  width: 17px; height: 17px;
  margin: 2px 0 0;
  flex: none;
  border: 1.5px solid rgba(28, 26, 23, 0.32);
  border-radius: 5px;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.check input::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--paper);
  clip-path: polygon(14% 47%, 0 61%, 39% 100%, 100% 22%, 84% 8%, 37% 70%);
  transform: scale(0);
  transition: transform 140ms var(--ease);
}
.check input:checked { background: var(--coral); border-color: var(--coral); }
.check input:checked::before { transform: scale(1); }
.check input:hover { border-color: var(--ink); }
.check span { font-size: 0.8125rem; line-height: 1.55; color: var(--ink-soft); }
.check a { color: var(--coral-ink); text-decoration: underline; text-underline-offset: 2px; }
.f-consent { margin-top: 2px; }

#send { position: relative; margin-top: 6px; min-height: 52px; }
#send[data-busy] { pointer-events: none; opacity: 0.8; }
#send[data-busy] .btn-txt { visibility: hidden; }
.btn-spin { display: none; }
#send[data-busy] .btn-spin {
  display: block;
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.done { display: grid; justify-items: center; gap: 16px; padding: clamp(24px, 4vw, 44px) 0; text-align: center; }
.done-ic {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--sage-deep);
}
.done p { max-width: 34ch; color: var(--ink); }

/* ─── 16. rodapé ────────────────────────────────────────────────────────── */

.footer { padding-top: clamp(48px, 6vw, 72px); background: var(--ink); color: rgba(248, 237, 225, 0.72); }

.footer-in { display: grid; gap: 40px; padding-bottom: clamp(36px, 5vw, 56px); }

.footer-logo { display: inline-block; margin-bottom: 24px; color: var(--sand); }
.footer-logo svg { width: 168px; height: auto; fill: currentColor; }

.footer-motto { margin-bottom: 12px; font-size: 0.875rem; color: var(--sand); }
.footer-motto strong { font-weight: 700; color: var(--coral); }
.footer-tag { max-width: 42ch; font-size: 0.875rem; line-height: 1.6; color: rgba(248, 237, 225, 0.62); }

.footer-h {
  margin-bottom: 20px;
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--coral);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.875rem; color: rgba(248, 237, 225, 0.78); transition: color var(--t) var(--ease); }
.footer-col a:hover { color: var(--sand); }

.footer-bottom { border-top: 1px solid rgba(248, 237, 225, 0.1); }
.footer-bottom-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  font-size: 0.6875rem;
  /* .38 de opacidade daria 3.32:1 e reprovaria a 11px; .52 dá 5.03:1 */
  color: rgba(248, 237, 225, 0.52);
}

/* ─── 17. barra fixa de mobile ──────────────────────────────────────────── */

.bar-cta {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-3);
  font-size: 0.9375rem;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(130%);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease), visibility 240ms;
}
.bar-cta.is-on { opacity: 1; visibility: visible; transform: none; }

/* ─── depoimentos ───────────────────────────────────────────────────────── */

/* 50/50: cabeçalho à esquerda, carrossel de cards à direita (empilha no mobile) */
.depo { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
.depo-head h2 { font-size: clamp(1.625rem, 1.9vw + 0.95rem, 2.375rem); max-width: 16ch; }
.depo-head p { margin-top: 16px; max-width: 44ch; font-size: 1.0625rem; }

.quotes { display: grid; gap: clamp(18px, 2vw, 24px); }
.quotes-viewport { overflow: hidden; }
.quotes-track { display: flex; transition: transform 420ms var(--ease); }

/* card flat: sem sombra, sem hover */
.quote {
  flex: 0 0 100%;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(26px, 3vw, 38px);
}
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.125rem, 0.7vw + 1rem, 1.375rem);
  line-height: 1.5;
  color: var(--coral);
}
.quote-by { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.quote-by strong { font-family: var(--display); color: var(--ink); }
.quote-by span { font-size: 0.875rem; color: var(--ink-muted); }

/* controles: renderizados sempre, mas o JS só os revela quando há 2+ cards */
.quotes-nav { display: flex; align-items: center; gap: 14px; }
.quotes-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.quotes-arrow:hover { border-color: var(--ink); background: rgba(28, 26, 23, 0.04); }
.quotes-arrow .ic { width: 18px; height: 18px; }
.quotes-arrow[data-dir="-1"] .ic { transform: rotate(180deg); }
.quotes-dots { display: flex; align-items: center; gap: 8px; margin-inline: auto; }
.quotes-dot {
  width: 8px; height: 8px;
  padding: 0; border: 0;
  border-radius: var(--r-pill);
  background: var(--line);
  cursor: pointer;
  transition: background-color var(--t) var(--ease), width var(--t) var(--ease);
}
.quotes-dot[aria-current="true"] { width: 22px; background: var(--coral); }

/* ─── botão flutuante de WhatsApp ───────────────────────────────────────── */

.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 95;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: var(--r-pill);
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), var(--sh-1);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5), var(--sh-2); }
.wa-float:active { transform: translateY(0) scale(1); }
.wa-float-ic { width: 30px; height: 30px; fill: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    animation: wa-pulse 2.4s var(--ease) infinite;
  }
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ─── 18. entrada em cascata ────────────────────────────────────────────── */

.js .r { opacity: 0; transform: translateY(14px); }
.js .r.is-in { opacity: 1; transform: none; transition: opacity 620ms var(--ease), transform 620ms var(--ease); }

/* ─── 19. breakpoints ───────────────────────────────────────────────────── */

@media (max-width: 767px) {
  /* no mobile as bolhas de garantia descem até a base da janela, então o card
     de notificação precisa sair de cima delas */
  .float-contact { bottom: -32px; }

  /* a barra fixa de CTA ocupa a base; o float sobe para não cobri-la */
  .wa-float { bottom: 80px; }

  /* proporcionalmente a forma ficaria 339px além de cada lateral e só a faixa
     central apareceria; menor, o domo volta a ser legível.
     No mobile a âncora vai para a base do hero. */
  .hero-bg {
    top: auto;
    bottom: 0;
    height: clamp(540px, 82%, 900px);
  }
}

@media (min-width: 560px) {
  .f-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .found { grid-template-columns: 5fr 7fr; align-items: center; }
  .footer-in { grid-template-columns: 2fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
  .bar-cta { display: none; }
}

@media (min-width: 1024px) {
  .header-nav { display: flex; }
  .header-right .btn { display: inline-flex; }
  .burger { display: none; }
  .menu { display: none !important; }

  .float-search { right: -34px; }
  .float-contact { left: -34px; }

  .faq { grid-template-columns: 4fr 8fr; }
  .faq-art { position: sticky; top: calc(var(--nav) + 32px); }

  .depo { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 5vw, 80px); }

  .talk { grid-template-columns: 5fr 7fr; }

  /* coluna esquerda sticky com o indicador, três cards à direita */
  .work { grid-template-columns: 4fr 8fr; column-gap: clamp(40px, 5vw, 80px); }
  .work-aside-in { position: sticky; top: calc(var(--nav) + 48px); }
  .work-list { gap: 32px; }
  .work-action { grid-column: 2; }
}

/* ─── 19b. portfólio empilhado no mobile ────────────────────────────────── */

@media (max-width: 1023px) {
  .work-list { gap: 14px; }

  /* cada card gruda um pouco mais abaixo, formando a pilha */
  .work-card { position: sticky; top: calc(var(--nav) + 58px); }
  .work-card:nth-child(2) { top: calc(var(--nav) + 74px); }
  .work-card:nth-child(3) { top: calc(var(--nav) + 90px); }

  /* o contador vira uma pílula flutuante enquanto a seção está em tela.
     Sticky não serviria: o contexto de contenção do contador é a coluna
     lateral, que termina antes da lista. */
  .work-count {
    position: fixed;
    top: calc(var(--nav) + 10px);
    left: 50%;
    z-index: 80;
    margin-top: 0;
    padding: 7px 18px;
    background: var(--ink);
    color: var(--sand);
    border-radius: var(--r-pill);
    font-size: 0.9375rem;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-50%, -14px, 0);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 220ms;
  }
  .work-count.is-on { opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0); }
  .work-count .work-count-sep,
  .work-count .work-count-total { color: rgba(248, 237, 225, 0.6); }
}

/* ─── 20. redução de movimento ──────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .r { opacity: 1 !important; transform: none !important; }
  .bar-cta { transition: none; }
  .float { animation: none; }
  .hero-bg { transform: translate3d(-50%, 0, 0) !important; }
}

/* ─── 21. impressão ─────────────────────────────────────────────────────── */

@media print {
  .header, .menu, .bar-cta, .faq-art, .float, .wa-float { display: none !important; }
  .js .r { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
  .hero, .sec-sand, .sec-mint { background: #fff !important; }
}
