/* Suraski Consulting — landing page
   Paleta e tipografia conforme o Brand Kit v1.0 */

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #062241;
  --graphite: #5a5a5a;
  --cyan: #0ba6c8;
  --off-white: #f5f6f7;
  --white: #ffffff;
  --silver: #b9bec5;

  --line: rgba(6, 34, 65, 0.14);
  --line-strong: rgba(6, 34, 65, 0.32);
  --line-on-navy: rgba(255, 255, 255, 0.18);
  --text-on-navy: rgba(255, 255, 255, 0.76);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-space: clamp(72px, 10vw, 128px);
  --header-height: 76px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.button-small { min-height: 42px; padding: 0 18px; font-size: 0.875rem; }

.button-primary { background: var(--navy); color: var(--white); }
.button-primary:hover { background: #0b3260; }

.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: var(--off-white); }

.text-link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.text-link:hover { text-decoration-color: var(--navy); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-height);
}
.brand { display: block; flex: none; }
.brand img { height: 44px; width: auto; }

.site-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--cyan); }

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

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
/* grid discreto ao fundo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
  background-image: linear-gradient(to right, rgba(6, 34, 65, 0.06) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  border-right: 1px solid rgba(6, 34, 65, 0.06);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(64px, 9vw, 120px);
}
.hero h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.lead {
  max-width: 34em;
  margin-top: 28px;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-top: 40px;
}

/* anel segmentado: três arcos, um por pilar */
.ring {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}
.ring svg { width: 100%; overflow: visible; }
.ring-guide { fill: none; stroke: var(--line); stroke-width: 1; }
.ring-ticks line { stroke: var(--line-strong); stroke-width: 1; }
.ring-arc {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 108 252;
}
.arc-navy { stroke: var(--navy); }
.arc-cyan { stroke: var(--cyan); }
.arc-graphite { stroke: var(--graphite); }
.dot-cyan { fill: var(--cyan); }
.dot-navy { fill: var(--navy); }

.ring-legend {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.ring-legend li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 9px;
  font-family: var(--font-display);
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
}
.ring-legend li + li { border-top: 1px solid var(--line); }
.swatch { width: 22px; height: 3px; border-radius: 2px; flex: none; }
.swatch-navy { background: var(--navy); }
.swatch-graphite { background: var(--graphite); }
.swatch-cyan { background: var(--cyan); }

@media (prefers-reduced-motion: no-preference) {
  .ring-arc { animation: draw-arc 1.1s cubic-bezier(0.65, 0, 0.35, 1) both; }
  .arc-cyan { animation-delay: 0.18s; }
  .arc-graphite { animation-delay: 0.36s; }
  .ring-dot, .ring-legend { animation: fade-in 0.6s ease 0.9s both; }
}
@keyframes draw-arc {
  from { stroke-dasharray: 0 360; }
  to { stroke-dasharray: 108 252; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.section { padding-block: var(--section-space); }
.section-tint { background: var(--off-white); }
.section-navy { background: var(--navy); color: var(--text-on-navy); }
.section-navy h2,
.section-navy h3 { color: var(--white); }

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head p { margin-top: 16px; font-size: 1.125rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 104px);
  align-items: start;
}
.split-body > * + * { margin-top: 1.25em; }
.statement {
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 500;
  line-height: 1.22;
}

.footnote {
  max-width: 46rem;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

/* ---------- Pilares ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pillar { padding-inline: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line-on-navy); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar:last-child { padding-right: 0; }

.pillar-glyph { width: 48px; height: 48px; margin-bottom: 28px; overflow: visible; }
.glyph-rest { fill: none; stroke: var(--line-on-navy); stroke-width: 1.5; }
.glyph-on {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 108 252;
}
.glyph-white { stroke: var(--white); }
.glyph-silver { stroke: var(--silver); }
.glyph-cyan { stroke: var(--cyan); }

.pillar h3 { font-size: 1.3125rem; }
.pillar > p { margin-top: 12px; min-height: 6.6em; }
.pillar ul { margin-top: 28px; }
.pillar li {
  padding-block: 12px;
  border-top: 1px solid var(--line-on-navy);
  font-size: 0.9375rem;
  color: var(--white);
}

/* ---------- Soluções (tabela) ---------- */

.ledger {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.ledger th {
  width: 50%;
  padding: 0 24px 14px 0;
  border-bottom: 2px solid var(--navy);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}
.ledger td {
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.ledger td:last-child {
  position: relative;
  padding-left: 28px;
  color: var(--navy);
  font-weight: 500;
}
.ledger th:last-child { padding-left: 28px; }
.ledger td:last-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(22px + 0.825em - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

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

.audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.audiences article { padding-inline: clamp(24px, 4vw, 56px); border-left: 1px solid var(--line-strong); }
.audiences article:first-child { padding-left: 0; border-left: 0; }
.audiences h3 { font-size: 1.3125rem; }
.audiences p { margin-top: 14px; max-width: 30em; }

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

.steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  counter-reset: step;
  border-top: 1px solid var(--line-strong);
}
.steps li {
  position: relative;
  counter-increment: step;
  padding: 32px 20px 0 0;
}
.steps li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--navy);
}
.steps li:last-child::before { background: var(--cyan); border-color: var(--cyan); }
.steps h3::before {
  content: counter(step);
  display: block;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--graphite);
}
.steps p { margin-top: 10px; font-size: 0.9375rem; line-height: 1.55; }

/* ---------- Sobre ---------- */

.founder { margin-top: 28px; }
.founder-name {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  color: var(--navy);
}
.founder-role { font-size: 0.9375rem; }

.facts { border-top: 1px solid var(--line-strong); }
.facts > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.facts dt { font-family: var(--font-display); font-weight: 600; color: var(--navy); }

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

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}
.contact-copy p { margin-top: 20px; max-width: 30em; font-size: 1.125rem; }

.channels { margin-top: 44px; border-top: 1px solid var(--line-on-navy); }
.channels li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-on-navy);
}
.channels li[hidden] { display: none; }
.channel-label { font-size: 0.9375rem; }
.channels a {
  color: var(--white);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.contact-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--white); }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: var(--white);
  font: inherit;
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, 0.55); }
.field input:focus-visible,
.field textarea:focus-visible { outline-offset: 0; border-color: var(--cyan); }
.field [aria-invalid="true"] { border-color: #ffb4a8; }
.contact-form .button { justify-self: start; margin-top: 4px; }
.form-status { min-height: 1.6em; font-size: 0.9375rem; color: var(--white); }
.form-status a { color: var(--white); }

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

.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--line-on-navy);
  color: var(--text-on-navy);
  font-size: 0.875rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 40px;
}
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-brand img { height: 48px; width: auto; }
.tagline {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--white);
}

/* ---------- Responsivo ---------- */

@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-inner { justify-content: space-between; }

  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; border-top: 0; }
  .steps li { border-top: 1px solid var(--line-strong); }
  .steps li::before { top: -6px; }
}

@media (max-width: 820px) {
  :root { --header-height: 68px; }
  .brand img { height: 38px; }

  .hero-inner,
  .split,
  .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .ring { max-width: 340px; }

  .pillars { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .pillar { padding-inline: 0; border-left: 0; }
  .pillar > p { min-height: 0; }

  .audiences { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .audiences article { padding-inline: 0; border-left: 0; }
  .audiences article + article { padding-top: 40px; border-top: 1px solid var(--line-strong); }

  /* tabela vira blocos empilhados */
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: 100%; }
  .ledger tr { padding-block: 22px; border-bottom: 1px solid var(--line); }
  .ledger tr:first-child { border-top: 2px solid var(--navy); }
  .ledger td { padding: 0; border: 0; }
  .ledger td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--graphite);
  }
  .ledger td:last-child { margin-top: 16px; padding-left: 0; }
  .ledger td:last-child::before {
    content: attr(data-label);
    position: static;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--navy);
  }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .button-small { padding: 0 14px; }
  .hero-actions .button { width: 100%; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; border-left: 1px solid var(--line-strong); }
  .steps li { padding: 0 0 36px 28px; border-top: 0; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { top: 4px; left: -5px; }
  .facts > div,
  .channels li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .contact-form .button { justify-self: stretch; }
}

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