:root {
  --black: #090b0d;
  --black-soft: #111417;
  --white: #ffffff;
  --offwhite: #f7f7f4;
  --gold: #c9a227;
  --gold-light: #dfc46d;
  --text: #17191b;
  --muted: #666b70;
  --line: rgba(10, 13, 15, .12);
  --line-dark: rgba(255,255,255,.14);
  --container: 1180px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(9, 11, 13, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section-light { background: var(--white); }
.section-white { background: #fff; }
.section-offwhite { background: var(--offwhite); }
.section-dark { background: var(--black-soft); color: #fff; }
.section-deep { background: #07090b; color: #fff; }

/* HEADER */
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  padding: 26px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-name,
.footer-brand {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}

.brand-line {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.site-menu a {
  opacity: .72;
  transition: opacity .2s ease;
  white-space: nowrap;
}

.site-menu a:hover { opacity: 1; }

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  background: var(--text);
  margin: 6px 0;
}

/* HERO */
.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 70px;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  right: -280px;
  top: 20px;
  background: radial-gradient(circle, rgba(201,162,39,.10), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(0px, 3vw, 45px);
}

.eyebrow {
  margin: 0 0 18px;
  color: #70757a;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
  line-height: 1.4;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  line-height: 1.04;
  letter-spacing: -.035em;
}

h1 {
  max-width: 700px;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 700;
}

h1 em,
h2 em {
  color: var(--gold);
  font-style: normal;
}

.hero-text {
  max-width: 540px;
  margin: 28px 0 32px;
  color: #555b60;
  font-size: 17px;
}

.microcopy {
  margin: 24px 0 0;
  color: #858a8f;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.microcopy span {
  color: var(--gold);
  margin: 0 7px;
}

.hero-image {
  position: relative;
  justify-self: end;
  width: min(100%, 590px);
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  border-radius: 0 0 0 170px;
  background: #0d2428;
  box-shadow: -25px 25px 80px rgba(0,0,0,.14);
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.04), transparent 45%, rgba(0,0,0,.13));
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  object-position: center top;
}

.gold-mark {
  position: absolute;
  left: -18px;
  bottom: 48px;
  width: 76px;
  height: 76px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.gold-mark::after {
  content: "";
  position: absolute;
  inset: 17px;
  border: 1px solid rgba(201,162,39,.65);
}

/* BASE DE SEÇÕES */
section { position: relative; }

.choice { padding: 125px 0; }

.section-heading {
  max-width: 720px;
  margin-bottom: 58px;
}

.section-heading-wide { max-width: 860px; }

.section-heading h2,
.diagnostic-copy h2,
.refuge-copy h2,
.closing h2 {
  font-size: clamp(34px, 4.2vw, 57px);
  font-weight: 650;
}

.section-heading > p:last-child {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
}

/* ESCOLHA POR PRONTIDÃO */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.choice-card {
  position: relative;
  min-height: 290px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.68);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.choice-card::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.choice-card:hover {
  transform: translateY(-7px);
  border-color: rgba(201,162,39,.55);
  box-shadow: var(--shadow);
  background: #fff;
}

.card-number {
  position: absolute;
  right: 28px;
  top: 24px;
  color: #aaa;
  font: 700 12px "Montserrat";
  letter-spacing: .12em;
}

.card-title {
  max-width: 290px;
  font: 700 18px/1.18 "Montserrat";
  letter-spacing: -.02em;
}

.card-text {
  max-width: 290px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.card-arrow {
  margin-top: 25px;
  color: var(--gold);
  font-size: 20px;
}

/* RECURSOS GRATUITOS */
.resources { padding: 125px 0; }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.resource-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .28s ease, box-shadow .28s ease;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.resource-cover {
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #f0f0ed;
  overflow: hidden;
}

.resource-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.18));
}

.resource-cover.dark-cover { background: #0a0a0a; }

.resource-body { padding: 28px; }

.resource-category,
.small-label,
.advance-tag {
  margin: 0 0 12px;
  color: #888d91;
  font: 800 9px/1.3 "Montserrat";
  letter-spacing: .18em;
}

.resource-body h3,
.advance-card h3 {
  font-size: 23px;
  font-weight: 700;
}

.resource-body p:not(.resource-category) {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font: 800 10px/1.2 "Montserrat";
  letter-spacing: .13em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--gold);
  font-size: 18px;
  transition: transform .2s ease;
}

.text-link:hover span { transform: translateX(4px); }

/* DIAGNÓSTICO */
.diagnostic {
  overflow: hidden;
  padding: 115px 0;
}

.diagnostic-orb {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -250px;
  top: -220px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,.16);
  box-shadow:
    0 0 0 80px rgba(201,162,39,.025),
    0 0 0 160px rgba(201,162,39,.018);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 80px;
}

.diagnostic-copy p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  color: #aeb3b6;
  font-size: 16px;
}

.diagnostic-card {
  position: relative;
  padding: 40px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(8px);
}

.small-label { color: var(--gold-light); }

.diagnostic-card h3 {
  font-size: 30px;
  color: #fff;
}

.diagnostic-card p {
  margin: 16px 0 26px;
  color: #aeb3b6;
  font-size: 14px;
}

.form-note,
.free-note,
.status-note {
  display: block;
  margin-top: 12px;
  color: #83898d;
  font-size: 11px;
}

/* BOTÕES */
.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 0 25px;
  border: 1px solid transparent;
  font: 800 10px/1 "Montserrat";
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn span { font-size: 18px; }

.btn-dark {
  color: #fff;
  background: var(--black);
}

.btn-dark:hover { background: #1b1f22; }

.btn-gold {
  color: #0b0d0f;
  background: var(--gold);
}

.btn-gold:hover { background: var(--gold-light); }

/* MINISTÉRIO REFÚGIO */
.refuge {
  overflow: hidden;
  padding: 125px 0;
}

.refuge-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 80px;
  align-items: center;
}

.refuge-logo-wrap {
  width: 88px;
  height: 88px;
  margin-bottom: 26px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,.5);
}

.refuge-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refuge-copy h2 { max-width: 650px; }

.refuge-copy > p:not(.eyebrow):not(.free-note) {
  max-width: 600px;
  margin: 25px 0;
  color: #aeb3b6;
  font-size: 16px;
}

.refuge-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.refuge-points span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.12);
  color: #b9bdc0;
  font-size: 11px;
}

.refuge-visual {
  display: flex;
  justify-content: center;
  min-height: 470px;
  align-items: center;
}

.refuge-frame {
  position: relative;
  width: min(100%, 430px);
  height: 430px;
  border: 1px solid rgba(201,162,39,.28);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, rgba(201,162,39,.11), transparent 48%);
}

.frame-line {
  position: absolute;
  border: 1px solid rgba(201,162,39,.16);
  transform: rotate(45deg);
}

.line-one {
  width: 260px;
  height: 260px;
}

.line-two {
  width: 340px;
  height: 340px;
}

.frame-light {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(201,162,39,.45), transparent);
  transform: rotate(32deg);
}

.frame-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,.35);
  font: 600 11px/2.2 "Montserrat";
  letter-spacing: .28em;
}

.frame-copy strong {
  color: var(--gold-light);
  font-size: 15px;
}

/* AJUDA PERSONALIZADA + MÉTODOS */
.advance { padding: 120px 0; }

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

.advance-card {
  min-height: 310px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.advance-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.advance-card.featured {
  border-color: rgba(201,162,39,.65);
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
}

.advance-card h3 { margin-bottom: 15px; }

.advance-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.advance-tag {
  display: block;
  margin-bottom: 22px;
  color: #8b8f93;
}

/* O caminho premium recebe mais presença visual sem mudar a identidade */
#ajuda-personalizada .advance-grid {
  grid-template-columns: minmax(0, 790px);
}

#ajuda-personalizada .advance-card {
  min-height: 285px;
  padding: 38px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfaf5 100%);
  border-color: rgba(201,162,39,.70);
}

#ajuda-personalizada .advance-card h3 {
  max-width: 620px;
  font-size: clamp(25px, 3vw, 34px);
}

#ajuda-personalizada .advance-card p {
  max-width: 650px;
  font-size: 15px;
  line-height: 1.7;
}

.coming-soon {
  display: inline-flex;
  width: fit-content;
  margin-top: 25px;
  padding: 8px 11px;
  border: 1px solid #ddd;
  color: #898d91;
  font: 800 9px "Montserrat";
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* FECHAMENTO */
.closing {
  padding: 140px 0 125px;
  text-align: center;
}

.closing-inner { max-width: 900px; }

.closing-mark {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 20px;
}

.closing h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.closing-big {
  margin: 14px 0 35px;
  color: #555b60;
  font-size: clamp(22px, 2.5vw, 31px);
}

.closing-big em {
  color: var(--gold);
  font-style: normal;
}

/* FOOTER */
.site-footer {
  padding: 60px 0 25px;
  color: #b7bbbe;
  background: #0b0d0f;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 45px;
}

.footer-brand {
  color: #fff;
  margin-bottom: 15px;
}

.footer-grid p {
  margin: 0;
  color: #777d81;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-links a {
  color: #a8adb0;
  font-size: 12px;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #62686c;
  font-size: 10px;
  letter-spacing: .05em;
}

/* ANIMAÇÕES */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay { transition-delay: .10s; }

.reveal-delay-2 { transition-delay: .18s; }

/* TABLET */
@media (max-width: 980px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-grid,
  .diagnostic-grid,
  .refuge-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy { padding-left: 0; }

  .hero-image {
    justify-self: center;
    width: min(100%, 650px);
    margin-top: 20px;
  }

  .hero-image-frame,
  .hero-image img {
    min-height: 620px;
  }

  .diagnostic-grid,
  .refuge-grid {
    gap: 50px;
  }

  .refuge-visual { min-height: 360px; }

  .choice-grid,
  .resource-grid,
  .advance-grid,
  #ajuda-personalizada .advance-grid {
    grid-template-columns: 1fr;
  }

  .choice-card { min-height: 220px; }

  .resource-card {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
  }

  .resource-cover {
    height: 100%;
    min-height: 300px;
  }

  .advance-card,
  #ajuda-personalizada .advance-card {
    min-height: 260px;
  }
}

/* MENU RESPONSIVO */
@media (max-width: 900px) {
  .site-menu {
    position: absolute;
    top: 66px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 220px;
    padding: 8px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.98);
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
  }

  .site-menu.open { display: flex; }

  .site-menu a {
    padding: 12px;
    white-space: normal;
  }

  .menu-toggle { display: block; }
}

/* MOBILE */
@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header { padding: 18px 0; }

  .site-menu {
    top: 66px;
    right: 14px;
    width: 210px;
  }

  .hero { padding: 105px 0 45px; }

  .hero-grid { gap: 22px; }

  .hero-text {
    margin: 22px 0 27px;
    font-size: 15px;
  }

  .microcopy { line-height: 2; }

  h1 { font-size: clamp(45px, 14vw, 64px); }

  .hero-image { margin-top: 4px; }

  .hero-image-frame {
    min-height: 480px;
    border-radius: 0 0 0 90px;
  }

  .hero-image img {
    min-height: 480px;
    object-position: center top;
  }

  .gold-mark {
    width: 54px;
    height: 54px;
    left: 4px;
    bottom: 25px;
  }

  .gold-mark::after { inset: 12px; }

  .choice,
  .resources,
  .diagnostic,
  .refuge,
  .advance {
    padding: 85px 0;
  }

  .section-heading { margin-bottom: 40px; }

  .section-heading h2,
  .diagnostic-copy h2,
  .refuge-copy h2,
  .closing h2 {
    font-size: 36px;
  }

  .choice-grid,
  .resource-grid,
  .advance-grid {
    gap: 14px;
  }

  .choice-card {
    min-height: 215px;
    padding: 23px;
  }

  .choice-card::before {
    left: 23px;
    top: 23px;
  }

  .card-number {
    top: 20px;
    right: 23px;
  }

  .card-title { font-size: 17px; }

  .resource-card { display: block; }

  .resource-cover {
    height: 300px;
    min-height: 0;
    padding: 22px;
  }

  .resource-body { padding: 24px; }

  .resource-body h3 { font-size: 21px; }

  .diagnostic-card { padding: 27px; }

  .diagnostic-card h3 { font-size: 27px; }

  .refuge-logo-wrap {
    width: 74px;
    height: 74px;
  }

  .refuge-points { gap: 7px; }

  .refuge-points span { font-size: 10px; }

  .refuge-visual { min-height: 300px; }

  .refuge-frame {
    width: 290px;
    height: 290px;
  }

  .line-one {
    width: 180px;
    height: 180px;
  }

  .line-two {
    width: 240px;
    height: 240px;
  }

  .advance-card,
  #ajuda-personalizada .advance-card {
    min-height: 255px;
    padding: 25px;
  }

  #ajuda-personalizada .advance-card h3 {
    font-size: 25px;
  }

  #ajuda-personalizada .advance-card p {
    font-size: 14px;
  }

  .closing { padding: 100px 0 90px; }

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-grid { padding-bottom: 30px; }

  .footer-links { gap: 15px 20px; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
/* CARDS TOTALMENTE CLICÁVEIS */
.advance-card.card-link {
  cursor: pointer;
}

.advance-card.card-link:hover {
  transform: translateY(-7px);
  border-color: var(--gold);
  background: #fffdf6;
  box-shadow: 0 18px 50px rgba(9, 11, 13, .10);
}

.advance-card.card-link:hover .text-link span {
  transform: translateX(4px);
}

/* E-BOOKS — CARD INTEIRO CLICÁVEL */
.resource-card.card-link {
  cursor: pointer;
}

.resource-card.card-link:hover {
  transform: translateY(-7px);
  border-color: var(--gold);
  background: #fffdf6;
  box-shadow: 0 18px 50px rgba(9, 11, 13, .10);
}

.resource-card.card-link:hover .text-link span {
  transform: translateX(4px);
}
