:root {
  --ink: #121722;
  --ink-soft: #4f5a66;
  --paper: #f8f6f1;
  --white: #ffffff;
  --line: #ded6c8;
  --gold: #b99463;
  --gold-dark: #8f6b3e;
  --gold-light: #d7bb8a;
  --navy: #10192b;
  --charcoal: #080b12;
  --mist: #f0ede6;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --shadow: 0 12px 30px rgba(8, 11, 18, 0.075);
  --panel-shadow: 0 20px 54px rgba(8, 11, 18, 0.08);
  --button-shadow: 0 9px 20px rgba(8, 11, 18, 0.13);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbfaf7 0%, var(--paper) 46%, #f3efe7 100%);
  color: var(--ink);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 246, 241, 0.9);
  border-bottom: 1px solid rgba(224, 216, 202, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 240px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--navy), var(--charcoal));
  color: var(--gold-light);
  font-weight: 700;
  border: 1px solid rgba(185, 148, 99, 0.42);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.main-nav a,
.header-cta,
.text-link {
  text-decoration: none;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--gold-dark);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 72% 48%, rgba(185, 148, 99, 0.08), transparent 30%),
    linear-gradient(90deg, rgba(8, 11, 18, 0.99) 0%, rgba(8, 11, 18, 0.94) 43%, rgba(8, 11, 18, 0.64) 68%, rgba(8, 11, 18, 0.24) 100%),
    url("brand/thiago-hero.jpg") center / cover no-repeat;
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(220px, 1fr);
  align-items: center;
  padding: 54px 0 72px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold-light);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.35rem, 5.2vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-text {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

.hero-cta-stack {
  display: inline-grid;
  gap: 14px;
  justify-items: stretch;
  margin-top: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.38) inset;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  border-color: rgba(143, 107, 62, 0.38);
  color: var(--charcoal);
  box-shadow: var(--button-shadow);
}

.button.primary:hover {
  background: var(--gold-light);
  box-shadow: 0 12px 24px rgba(8, 11, 18, 0.14);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.button.secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.subtle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.button.subtle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.full {
  width: 100%;
}

.consult-note,
.small-print {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
}

.consult-note {
  margin: 0;
  text-align: center;
}

.signal-band {
  margin-top: -40px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--panel-shadow);
}

.signal-grid div {
  background: var(--surface-strong);
  padding: 26px;
  backdrop-filter: blur(12px);
}

.signal-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  padding: 7px;
  border-radius: 12px;
  background: rgba(185, 148, 99, 0.12);
  color: var(--gold-dark);
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid strong {
  margin-bottom: 5px;
}

.signal-grid span,
.text-stack,
.section p,
.document-panel li,
.faq-list p,
.info-list dd {
  color: var(--ink-soft);
}

.section {
  padding: 92px 0;
}

.section[id] {
  scroll-margin-top: 96px;
}

.section.muted {
  background: var(--mist);
}

.split,
.about-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

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

.text-stack p:first-child {
  margin-top: 0;
}

.check-list,
.document-panel ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.document-panel li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before,
.document-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 32px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps article,
.document-panel,
.contact-box,
.faq-list details {
  background: var(--surface);
  border: 1px solid rgba(224, 216, 202, 0.84);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.74) inset;
  backdrop-filter: blur(12px);
}

.steps article {
  position: relative;
  min-height: 238px;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.74) inset, 0 10px 26px rgba(8, 11, 18, 0.045);
}

.step-icon {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 26px;
  height: 26px;
  color: rgba(143, 107, 62, 0.72);
}

.steps span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 700;
}

.document-panel {
  padding: 28px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.document-panel h3,
.contact-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.heading-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-dark);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold-dark);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  background: var(--surface-strong);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 12px 0 0;
}

.contact-box {
  padding: 30px;
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}

.contact-portrait {
  display: block;
  width: calc(100% + 60px);
  max-width: none;
  height: 238px;
  margin: -30px -30px 26px;
  object-fit: cover;
  object-position: center 22%;
  border-bottom: 1px solid var(--line);
}

.contact-box .small-print {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.info-list dt {
  color: var(--gold-dark);
  font-weight: 700;
}

.info-list dd {
  margin: 0;
}

.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 46px 0 92px;
  scroll-margin-top: 96px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1fr) auto;
  gap: 42px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-logo {
  display: block;
  width: min(280px, 100%);
  height: auto;
  margin-bottom: 2px;
}

.footer-contact {
  display: grid;
  gap: 9px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-style: normal;
}

.footer-contact strong {
  color: var(--gold-light);
}

.footer-contact a,
.footer-actions a {
  color: var(--white);
}

.footer-line,
.footer-actions a {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
}

.footer-icon {
  width: 17px;
  height: 17px;
  margin-top: 0.18em;
  color: var(--gold-light);
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: start;
  white-space: nowrap;
}

.mobile-action {
  display: none;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    background:
      radial-gradient(circle at 82% 28%, rgba(185, 148, 99, 0.1), transparent 30%),
      linear-gradient(180deg, rgba(8, 11, 18, 0.91) 0%, rgba(8, 11, 18, 0.94) 48%, rgba(8, 11, 18, 0.99) 100%),
      url("brand/thiago-hero.jpg") center top / cover no-repeat;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .about-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 52px 0 78px;
  }

  .signal-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .signal-band {
    margin-top: -28px;
  }

  .steps article {
    min-height: auto;
  }

  .footer-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: 2.18rem;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .hero-cta-stack {
    width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .info-list div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: 88px;
  }

  .mobile-action {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    display: block;
    padding: 0 14px 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-action.is-visible {
    opacity: 1;
    pointer-events: none;
    transform: translateY(0);
  }

  .mobile-action a {
    display: flex;
    gap: 8px;
    width: min(100%, 360px);
    min-height: 48px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--gold);
    color: var(--charcoal);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(8, 11, 18, 0.18);
    pointer-events: auto;
  }
}
