/* ============================================================
   Rodrigo Arvelos — Design tokens
   ============================================================ */
:root {
  --navy-bg:      #0a1220;
  --navy-surface: #101c2e;
  --navy-surface-2: #142238;
  --line:         rgba(198, 164, 92, 0.16);
  --line-strong:  rgba(198, 164, 92, 0.32);
  --gold:         #c6a45c;
  --gold-bright:  #e6c988;
  --ivory:        #f2ede1;
  --sub:          #d6d1c6;   /* subtextos: mesmo marfim quente do texto da bio */
  --muted:        #94a0b8;
  --muted-2:      #5f6b82;

  --serif: "Playfair Display", "Georgia", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1120px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--navy-bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Foco visível para navegação por teclado (acessibilidade) */
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 1px; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--ivory);
}

p { color: var(--sub); margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

.btn-primary {
  background: var(--gold);
  color: #0a1220;
}
.btn-primary:hover { background: var(--gold-bright); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ivory);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

/* Pill buttons — direct contact row (WhatsApp / LinkedIn) */
.contact-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.btn-pill {
  border-radius: 999px;
  padding: 14px 24px;
}
.btn-pill svg { width: 16px; height: 16px; flex-shrink: 0; }
.link-plain {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease;
}
.link-plain svg { width: 15px; height: 15px; }
.link-plain:hover { color: var(--gold-bright); }

/* ---------------- Header ---------------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 18, 32, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 3px;
  font-weight: 600;
}
nav.main { display: flex; align-items: center; gap: 34px; }
nav.main a.navlink {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s ease;
}
nav.main a.navlink:hover { color: var(--ivory); }

/* ---------------- Ticker (signature element) ---------------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy-surface);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 38s linear infinite;
}
.ticker-track span {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 13px 30px;
  border-right: 1px solid var(--line);
}
.ticker-track span em {
  font-style: normal;
  color: var(--gold);
  margin-right: 8px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------------- Hero ---------------- */
.hero { padding: 100px 0 70px; }
.hero .eyebrow { margin-bottom: 22px; display: block; }
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 15ch;
}
.hero .gold-word { color: var(--gold); font-style: italic; }
.hero .lede {
  max-width: 56ch;
  margin-top: 24px;
  font-size: 18px;
  color: var(--sub);
}
.hero .cta-row {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}

/* ---------------- Pillars (3 differentiators) ---------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
}
.pillar:last-child { border-right: none; }
.pillar .mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { font-size: 14.5px; }

/* ---------------- Section shell ---------------- */
section { padding: 90px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 16px; display: block; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }

/* ---------------- Sobre ---------------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.sobre-grid p { font-size: 16px; color: var(--sub); margin-bottom: 18px; }
.sobre-grid p:last-child { margin-bottom: 0; }

/* Números em lista editorial (número grande + unidade dourada + descrição) */
.figures { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.figure { padding: 22px 0; border-bottom: 1px solid var(--line); }
.figure .n { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); color: var(--ivory); line-height: 1; }
.figure .n .u { color: var(--gold); }
.figure .l { font-size: 13.5px; color: var(--sub); margin-top: 9px; letter-spacing: 0.01em; }
.figure.small .n { font-size: 22px; }

/* ---------------- Abordagem (process) ---------------- */
.process { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: none; }
.step .idx { font-family: var(--serif); font-size: 15px; color: var(--muted-2); padding-top: 3px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; max-width: 60ch; }

/* ---------------- CTA final ---------------- */
.cta-final { text-align: center; padding: 100px 0; }
.cta-final .eyebrow { justify-content: center; display: flex; margin-bottom: 18px; }
.cta-final h2 { font-size: clamp(28px, 4vw, 42px); max-width: 20ch; margin: 0 auto; }
.cta-final p { max-width: 50ch; margin: 20px auto 36px; font-size: 16px; }
.cta-final .cta-row { justify-content: center; }

/* ---------------- Footer ---------------- */
footer.site { border-top: 1px solid var(--line); padding: 44px 0; }
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
footer.site .fname { font-family: var(--serif); font-size: 16px; }
footer.site .froles { font-size: 12.5px; color: var(--muted-2); margin-top: 4px; letter-spacing: 0.06em; text-transform: uppercase; }
footer.site .disclaimer { font-size: 12.5px; color: var(--muted-2); max-width: 46ch; line-height: 1.6; }
footer.site .fsocial a { font-size: 13px; color: var(--muted); border-bottom: 1px solid transparent; }
footer.site .fsocial a:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  nav.main .navlink { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .step { grid-template-columns: 56px 1fr; gap: 18px; }
}

/* ============================================================
   Lead capture page
   ============================================================ */
.lead-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}
.lead-card {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.lead-card .eyebrow { display: block; margin-bottom: 18px; }
.lead-card h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 14px; }
.lead-card .lede { font-size: 15.5px; color: var(--sub); margin-bottom: 40px; max-width: 48ch; }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 9px;
  font-weight: 600;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select {
  width: 100%;
  background: var(--navy-surface);
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--radius);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23c6a45c' stroke-width='1.6' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
}
.field .hint { font-size: 12.5px; color: var(--sub); margin-top: 7px; }
.field .err { display: none; font-size: 12.5px; color: #e6a07a; margin-top: 7px; }
.field.bad input, .field.bad select { border-color: #c8674a; }
.field.bad .err { display: block; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 28px 0 32px;
}
.consent input { margin-top: 4px; accent-color: var(--gold); }
.consent label { font-size: 12.5px; color: var(--sub); line-height: 1.6; }
.consent.bad label { color: #e6a07a; }

.lead-submit { width: 100%; justify-content: center; font-size: 15px; padding: 17px 28px; }
.lead-submit[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.lead-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-2); margin-bottom: 44px; }
.lead-back:hover { color: var(--gold-bright); }

.thanks {
  display: none;
  text-align: center;
  padding: 60px 0;
}
.thanks .eyebrow { display: flex; justify-content: center; margin-bottom: 18px; }
.thanks h2 { font-size: clamp(24px, 3.6vw, 32px); margin-bottom: 16px; }
.thanks p { max-width: 44ch; margin: 0 auto 30px; }
