/* ============================================================
   ASCORR DIGITAL · Identidade visual v2.0
   ============================================================ */

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta oficial */
  --ink-0: #0B1210;        /* apoio: grafite esverdeado (hero, rodapé) */
  --ink-1: #0F0F0F;        /* grafite · base */
  --ink-2: #141414;
  --ink-3: #1C1C1C;
  --mist: #F2F5F3;         /* névoa · off-white */
  --green: #00D4A0;        /* verde Ascorr · sinal */
  --green-pale: #8FEBD3;
  --green-600: #009E78;
  --green-700: #007A5D;
  --green-deep: #0B3B30;   /* verde profundo */

  /* Texto */
  --on-dark: var(--mist);
  --on-dark-2: #A3AEA9;
  --on-light: var(--ink-1);
  --on-light-2: #46514C;
  --on-green-2: #A9CFC2;
  --rule-dark: rgb(242 245 243 / 0.12);
  --rule-light: rgb(15 15 15 / 0.14);

  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(1.25rem, 5.5vw, 5.25rem);
  --max: 82rem;
  --section-y: clamp(5rem, 11vw, 9.5rem);
  --header-h: 5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-color: #2B3833 var(--ink-0);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--on-dark);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--green);
}

body.menu-open {
  overflow: hidden;
}

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

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.light :focus-visible {
  outline-color: var(--green-700);
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

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

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink-0);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Logo ---------- */

.logo {
  height: auto;
}

.logo-ink {
  fill: currentColor;
}

.logo-cursor,
.logo-desc {
  fill: var(--green);
}

/* ---------- Botões e links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.25rem;
  padding: 0 1.625rem;
  border: 0;
  border-radius: 999px;
  font: 700 1rem/1 var(--font);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s var(--ease-out);
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: currentColor;
}

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

.btn-primary:hover {
  background: var(--green-pale);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary:focus-visible {
  outline-color: var(--mist);
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color 0.2s ease;
}

.link-arrow svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.3s var(--ease-out);
}

.link-arrow:hover {
  text-decoration-color: currentColor;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- Cabeçalho ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgb(11 18 16 / 0.9);
  border-color: var(--rule-dark);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Sem backdrop-filter com o menu aberto: ele prenderia o painel fixo dentro do cabeçalho */
body.menu-open .site-header {
  background: var(--ink-0);
  border-color: var(--rule-dark);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
}

.brand {
  display: block;
  flex: none;
  padding-block: 0.75rem;
  color: var(--on-dark);
}

.site-header .logo-compact {
  width: 8.75rem;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-left: clamp(1rem, 6vw, 7rem);
}

.nav-list {
  display: flex;
  gap: clamp(1.5rem, 2.6vw, 2.5rem);
}

.nav-list a {
  position: relative;
  display: block;
  padding: 0.5rem 0;
  font-size: 0.975rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-list a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -0.8rem;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--green);
  transform: translateY(-50%) scale(0);
  transition: transform 0.25s var(--ease-out);
}

.nav-list a:hover::before,
.nav-list a[aria-current="true"]::before {
  transform: translateY(-50%) scale(1);
}

.nav-cta {
  min-height: 2.75rem;
  padding: 0 1.375rem;
  font-size: 0.95rem;
}

.header-wa {
  display: none;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink-0);
  transition: background-color 0.2s ease;
}

.header-wa svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.header-wa:hover {
  background: var(--green-pale);
}

.header-wa:focus-visible {
  outline-color: var(--mist);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  border: 0;
  background: none;
  color: var(--on-dark);
  cursor: pointer;
}

.menu-toggle-bars,
.menu-toggle-bars::before {
  position: absolute;
  left: 50%;
  width: 1.375rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}

.menu-toggle-bars {
  top: calc(50% - 4px);
  transform: translateX(-50%);
}

.menu-toggle-bars::before {
  content: "";
  top: 8px;
  left: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
  transform: translateX(-50%) translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
  transform: translateY(-8px) rotate(-90deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: max(100svh, 42rem);
  padding: calc(var(--header-h) + 3rem) 0 clamp(2.5rem, 7vh, 5rem);
  overflow: hidden;
  background: var(--ink-0);
}

/* O "A" gigante da pág. 4 do manual: ancorado pelo cursor, sangrando à direita e embaixo */
.hero-mark {
  --mh: min(69vw, 118svh, 81.25rem);
  position: absolute;
  z-index: -1;
  left: calc(74.4vw - var(--mh) * 0.5712);
  bottom: calc(clamp(1.5rem, 4vh, 2.75rem) - var(--mh) * 0.1551);
  width: calc(var(--mh) * 810 / 709);
  max-width: none;
  height: var(--mh);
  overflow: visible;
}

.hero-mark-a {
  fill: #0F1A16;
  stroke: #14503F;
  stroke-width: 1.2;
}

.hero-mark-cursor {
  fill: var(--green);
  transform-box: fill-box;
  transform-origin: center;
}

.hero-content {
  position: relative;
}

.hero h1 {
  max-width: 7.4em;
  font-size: clamp(min(2.75rem, 12vw), min(1rem + 5.4vw, 10.5svh), 6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: wrap;
}

.caret {
  display: inline-block;
  width: 0.5em;
  height: 0.1em;
  margin-left: 0.04em;
  background: var(--green);
  transform: translateY(0.05em);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 1.75rem;
  color: var(--on-dark-2);
  font-size: 0.8125rem;
}

.hero-foot {
  display: grid;
  justify-items: start;
  gap: 1.75rem;
  margin-top: clamp(2rem, 5vh, 3.25rem);
}

.hero-lead {
  max-width: 34ch;
  color: #C5CEC9;
  font-size: 1.1875rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-mark-a {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    fill-opacity: 0;
    animation:
      mark-draw 1.8s var(--ease-out) 0.15s forwards,
      mark-fill 1s ease-out 1s forwards;
  }

  .hero-mark-cursor {
    animation:
      cursor-in 0.6s var(--ease-out) 1.15s both,
      blink 1.1s steps(1, end) 1.9s 4;
  }

  .caret {
    animation: blink 1.1s steps(1, end) 1.9s 4;
  }
}

@keyframes mark-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes mark-fill {
  to { fill-opacity: 1; }
}

@keyframes cursor-in {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

/* O cursor pisca por alguns segundos e assenta aceso (WCAG 2.2.2) */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ---------- Seções ---------- */

.section {
  padding-block: var(--section-y);
}

.light {
  background: var(--mist);
  color: var(--on-light);
  color-scheme: light;
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-head h2 {
  grid-column: 1 / span 7;
  font-size: clamp(2.5rem, 1.2rem + 4vw, 5rem);
  line-height: 0.98;
}

.section-head p {
  grid-column: 9 / -1;
  max-width: 34ch;
  color: var(--on-dark-2);
  font-size: 1.125rem;
  line-height: 1.5;
}

.light .section-head p {
  color: var(--on-light-2);
}

/* ---------- Serviços ---------- */

.services {
  border-top: 2px solid var(--on-light);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: 1.5rem clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--rule-light);
}

.service h3 {
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
  line-height: 0.95;
}

/* Underscore do cursor: aparece quando a linha está em foco ou sob o mouse */
.service h3::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.09em;
  margin-left: 0.05em;
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.service:hover h3::after,
.service:focus-within h3::after {
  transform: scaleX(1);
}

.service-body p {
  max-width: 44ch;
  color: var(--on-light-2);
  font-size: 1.125rem;
  line-height: 1.55;
}

.service-body .link-arrow {
  margin-top: 0.75rem;
  color: var(--green-700);
}

.service-list {
  display: grid;
  gap: 0.5rem;
  padding-top: 0.375rem;
  font-size: 0.975rem;
  font-weight: 500;
}

.service-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.service-list li::before {
  content: "";
  flex: none;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--on-light);
  transform: translateY(-0.15em);
}

/* ---------- Para quem ---------- */

.audience-section {
  background: var(--ink-1);
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.audience-stage {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - var(--header-h) - 4rem);
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink-2);
}

.audience-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 1.4s var(--ease-out);
}

.audience-stage img.is-active {
  opacity: 1;
  transform: scale(1);
}

.audience {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(56svh, 34rem);
  padding-block: clamp(2.5rem, 6vh, 4rem);
  border-top: 1px solid var(--rule-dark);
}

.audience:last-child {
  border-bottom: 1px solid var(--rule-dark);
}

.audience-media {
  display: none;
}

.audience h3 {
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
  transition: color 0.4s ease;
}

.audience p {
  max-width: 42ch;
  margin-top: 1.125rem;
  color: var(--on-dark-2);
  font-size: 1.125rem;
  line-height: 1.55;
}

.audience .fit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  color: var(--on-dark-2);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.audience .fit li {
  white-space: nowrap;
}

@media (min-width: 901px) {
  .audience:not(.is-active) h3 {
    color: #7A8681;
  }
}

/* ---------- Método ---------- */

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
}

.method-intro {
  position: sticky;
  top: calc(var(--header-h) + 3rem);
}

.method-intro h2 {
  font-size: clamp(2.75rem, 1.2rem + 4.6vw, 5.75rem);
  line-height: 0.95;
}

.method-intro p {
  max-width: 34ch;
  margin-top: 1.75rem;
  color: var(--on-light-2);
  font-size: 1.1875rem;
  line-height: 1.55;
}

.steps-wrap {
  --rail-x: 0.5rem;
  --cursor: 1rem;
  position: relative;
  padding-left: clamp(3rem, 5vw, 4.5rem);
}

.steps-rail {
  position: absolute;
  top: 0.25rem;
  bottom: 0;
  left: var(--rail-x);
  width: 1px;
  background: var(--rule-light);
}

.steps-progress {
  position: absolute;
  inset: 0;
  background: var(--green-700);
  clip-path: inset(0 0 calc(100% - var(--y, 0px)) 0);
  transition: clip-path 0.8s var(--ease-out);
}

.steps-cursor {
  position: absolute;
  top: 0;
  left: calc(var(--cursor) / -2 + 0.5px);
  width: var(--cursor);
  height: var(--cursor);
  background: var(--green-600);
  transform: translateY(var(--y, 0px));
  transition: transform 0.8s var(--ease-out);
}

.step {
  padding-bottom: clamp(2.75rem, 6vw, 4.5rem);
}

.step:last-child {
  padding-bottom: 0;
}

.step-num {
  display: block;
  color: var(--green-700);
}

.step h3 {
  margin-top: 0.625rem;
  font-size: clamp(1.875rem, 1.2rem + 1.8vw, 2.75rem);
  transition: color 0.4s ease;
}

.step p {
  max-width: 46ch;
  margin-top: 0.875rem;
  color: var(--on-light-2);
  font-size: 1.125rem;
  line-height: 1.55;
}

.step:not(.is-active) h3 {
  color: #66706B;
}

/* ---------- Fundador ---------- */

.founder {
  background: var(--ink-1);
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.founder-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  background: var(--green-deep);
}

.founder-portrait figcaption {
  display: grid;
  gap: 0.375rem;
  margin-top: 1.25rem;
}

@media (min-width: 901px) {
  .founder-portrait {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.founder-name {
  color: var(--mist);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.founder-role {
  color: var(--on-dark-2);
}

.founder-copy h2 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 1.2rem + 4vw, 4.75rem);
  line-height: 0.98;
}

.founder-copy > p {
  max-width: 52ch;
  margin-top: 1.5rem;
  color: var(--on-dark-2);
  font-size: 1.1875rem;
  line-height: 1.6;
}

.founder-copy > h2 + p {
  margin-top: 2.25rem;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.5rem;
  max-width: 52ch;
  margin-top: 1.5rem;
  color: var(--on-dark-2);
  letter-spacing: 0.12em;
}

.stack li {
  white-space: nowrap;
}

.balance {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule-dark);
}

.balance h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--on-dark-2);
}

.balance ul {
  display: grid;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

.balance li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(2.5rem, 1.3fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  font-size: clamp(1.125rem, 0.95rem + 0.8vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.balance li span:last-child {
  text-align: right;
}

.beam {
  position: relative;
  height: 1px;
  background: var(--rule-dark);
}

.beam::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--green);
  transform: translate(-50%, -50%);
}

/* ---------- Contato ---------- */

.contact {
  background: var(--green-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.contact h2 {
  font-size: clamp(2.5rem, 1.2rem + 3.8vw, 4.5rem);
  line-height: 0.98;
}

.contact-lead {
  max-width: 38ch;
  margin-top: 1.75rem;
  color: var(--on-green-2);
  font-size: 1.1875rem;
  line-height: 1.55;
}

.promises {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  font-weight: 600;
}

.promises li {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
}

.promises li::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--green);
  transform: translateY(-0.1em);
}

.direct {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(143 235 211 / 0.2);
}

.direct dt {
  color: var(--on-green-2);
}

.direct dd a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.direct dd a:hover {
  text-decoration: underline;
}

.form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: 6px;
  background: var(--ink-0);
}

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

.opt {
  color: var(--on-dark-2);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8125rem 1rem;
  border: 1px solid #5E6E67;
  border-radius: 8px;
  background: var(--ink-1);
  color: var(--mist);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2300D4A0' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.125rem;
  cursor: pointer;
}

.field select option {
  background: var(--ink-1);
  color: var(--mist);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8C9893;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #8A9993;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--green);
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.field [aria-invalid="true"] {
  border-color: #FF8C7A;
}

.field-error {
  margin-top: 0.5rem;
  color: #FFB0A3;
  font-size: 0.9rem;
}

.form .btn-block {
  margin-top: 0.5rem;
}

.form-note {
  color: var(--on-dark-2);
  font-size: 0.875rem;
  text-align: center;
}

.form-status:empty {
  display: none;
}

.form-status {
  padding: 0.875rem 1rem;
  border-radius: 8px;
  background: rgb(0 212 160 / 0.1);
  color: var(--green-pale);
  font-size: 0.95rem;
}

.form-status a {
  color: var(--mist);
  font-weight: 600;
}

/* ---------- Rodapé ---------- */

.site-footer {
  padding-block: clamp(4rem, 8vw, 6rem) 2rem;
  background: var(--ink-0);
}

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

.footer-brand .logo {
  width: 13.5rem;
}

.footer-tag {
  margin-top: 1.75rem;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.footer-col h2 {
  color: var(--on-dark-2);
}

.footer-col ul {
  display: grid;
  margin-top: 0.75rem;
}

.footer-col a {
  display: inline-block;
  padding-block: 0.5rem;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.domain {
  color: var(--on-dark-2);
  letter-spacing: 0.08em;
  text-transform: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-dark);
  color: var(--on-dark-2);
  font-size: 0.875rem;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.availability::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--green);
}

/* ============================================================
   Responsivo
   ============================================================ */

@media (max-width: 1200px) {
  .hero-mark {
    left: calc(80vw - var(--mh) * 0.5712);
  }
}

@media (max-width: 1100px) {
  .section-head h2 {
    grid-column: 1 / -1;
  }

  .section-head p {
    grid-column: 1 / span 8;
  }

  .service {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .service h3 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 4.25rem;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .header-wa {
    display: grid;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 49;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    margin: 0;
    padding: 2.5rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
    background: var(--ink-0);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--rule-dark);
  }

  .nav-list a {
    padding: 1rem 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
  }

  .nav-list a::before {
    display: none;
  }

  .nav-cta {
    min-height: 3.5rem;
    margin-top: 2.5rem;
    font-size: 1.0625rem;
  }

  .audience-grid,
  .method-grid,
  .founder-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .audience-stage {
    display: none;
  }

  .audience {
    min-height: 0;
  }

  .audience-media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin-bottom: 1.75rem;
    border-radius: 4px;
    object-fit: cover;
  }

  .method-intro {
    position: static;
  }

  .founder-portrait {
    max-width: 24rem;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

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

@media (max-width: 640px) {
  .site-header .logo-compact {
    width: 7.5rem;
  }

  /* No celular o "A" fica ao lado do texto: à direita, ancorado no fim do hero e sangrando pelas bordas, como no desktop */
  .hero {
    --mh: 78vw;
    min-height: 0;
    align-items: flex-start;
    padding: calc(var(--header-h) + 2.5rem) 0 1.5rem;
  }

  .hero-mark-a {
    stroke-width: 2.4;
  }

  .hero-mark {
    --mh: inherit;
    left: calc(100vw - var(--gutter) - var(--mh) * 0.6544);
    bottom: calc(1.5rem - var(--mh) * 0.1551);
  }

  .hero-tags {
    max-width: 54vw;
    gap: 0.5rem 1.25rem;
    margin-top: 1.25rem;
    font-size: 0.75rem;
  }

  .hero-foot {
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .hero-lead {
    max-width: 54vw;
    font-size: 1.0625rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .section-head p {
    grid-column: 1 / -1;
  }

  .service {
    grid-template-columns: minmax(0, 1fr);
  }

  .balance li {
    grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Tablet em pé: a mesma composição do celular, o "A" ao lado do texto */
@media (min-width: 641px) and (max-width: 1100px) and (orientation: portrait) {
  .hero {
    --mh: 64vw;
    min-height: 0;
    align-items: flex-start;
    padding: calc(var(--header-h) + 4rem) 0 2rem;
  }

  .hero-mark-a {
    stroke-width: 1.6;
  }

  .hero-mark {
    --mh: inherit;
    left: calc(100vw - var(--gutter) - var(--mh) * 0.6544);
    bottom: calc(2rem - var(--mh) * 0.1551);
  }

  .hero-tags {
    max-width: 54vw;
  }

  .hero-lead {
    max-width: min(34ch, 54vw);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* Celular deitado: o "A" ocupa a altura à direita e o texto cabe inteiro na primeira tela */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    --mh: calc(100svh - var(--header-h) - 1rem);
    min-height: 100svh;
    align-items: flex-start;
    padding: calc(var(--header-h) + 0.5rem) 0 1.5rem;
  }

  .hero-mark {
    --mh: inherit;
    top: calc(var(--header-h) + 0.5rem);
    bottom: auto;
    left: calc(100vw - var(--mh) * 0.82);
    -webkit-mask-image: linear-gradient(to bottom, #000 84.6%, transparent 90%);
    mask-image: linear-gradient(to bottom, #000 84.6%, transparent 90%);
  }

  .hero-mark-a {
    stroke-width: 2;
  }

  .hero-content {
    padding-right: calc(var(--mh) * 0.42);
  }

  .hero h1 {
    font-size: clamp(1.5rem, 7.6svh, 2.5rem);
  }

  .hero-tags {
    gap: 0.25rem 1.25rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
  }

  .hero-foot {
    gap: 0.875rem;
    margin-top: 0.875rem;
  }

  .hero-lead {
    max-width: 38ch;
    font-size: 1rem;
  }

  .hero-actions {
    width: auto;
  }

  .hero-actions .btn {
    width: auto;
    min-height: 3rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
