/* =========================================================
   Grão · Mentoria Agro para Advogados
   Camada própria sobre o sistema visual do site do Rafael
   (verde 900 + dourado, Playfair + Plus Jakarta)
   ========================================================= */

:root {
  /* dourado puxado para o metal da logo da Grão */
  --gold-bright: #d4ad57;
  --gold-soft: rgba(212, 173, 87, 0.22);
}

/* ---------- Marca no header ---------- */
.brand-grao { flex-direction: row; align-items: center; gap: 12px; }
.brand-grao img { width: 30px; height: auto; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.brand-grao > span { display: flex; flex-direction: column; gap: 3px; }
.brand-grao .bt-nome { letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Vídeo vertical ao lado do texto ---------- */
.vsl-duo { display: grid; gap: 48px; align-items: center; }
.vsl-duo-copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); color: var(--on-dark); margin: 20px 0 22px; }
.vsl-duo-copy h2 em, .section-head h2 em { color: var(--gold-bright); font-style: italic; }
.vsl-duo-copy p { color: var(--on-dark-soft); max-width: 52ch; margin-bottom: 16px; }
.vsl-duo-copy .btn { margin-top: 18px; }
.vsl-frame.vsl-vert { max-width: 380px; width: 100%; margin: 0 auto; }
.vsl-vert .vsl-inline { aspect-ratio: 9 / 16; }
@media (min-width: 900px) {
  .vsl-duo { grid-template-columns: 1.1fr 0.9fr; gap: 72px; }
}

/* ---------- Linha do tempo da Reforma ---------- */
.linha-tempo {
  list-style: none; margin: 10px 0 46px; padding: 0;
  display: grid; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); position: relative;
}
.linha-tempo li { padding: 26px 18px 0 0; position: relative; display: grid; gap: 4px; }
.linha-tempo li::before {
  content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--gold);
}
.linha-tempo li.fim::before { background: var(--gold); }
.linha-tempo b { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; color: var(--ink); line-height: 1; }
.linha-tempo span { font-weight: 600; font-size: .92rem; color: var(--gold); margin-top: 8px; }
.linha-tempo small { font-size: .86rem; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 720px) {
  .linha-tempo { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}

/* ---------- Pilares (lei, número, posicionamento) ---------- */
.cards-4.pilares { margin-top: 0; }
@media (min-width: 1000px) { .cards-4.pilares { grid-template-columns: repeat(3, 1fr); } }
.pilares .soft-card { background: var(--paper); border-color: var(--line); }
.pilares .soft-card h4 { color: var(--ink); font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; margin: 14px 0 8px; }
.pilares .soft-card p { color: var(--ink-soft); }
.pilar-ico {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-serif); font-size: 1.25rem;
}

/* ---------- Módulos ---------- */
.modulos { display: grid; gap: 22px; margin-top: 10px; }
@media (min-width: 900px) { .modulos { grid-template-columns: 1fr 1fr; } }
.modulo {
  border: 1px solid var(--gold-soft); border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,0.025); display: flex; flex-direction: column;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.modulo:hover { border-color: rgba(212,173,87,0.5); transform: translateY(-3px); }
.modulo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.modulo-txt { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.modulo-n { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; }
.modulo h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--on-dark); }
.modulo p { color: var(--on-dark-soft); font-size: .95rem; }
.modulo details { margin-top: 6px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 14px; }
.modulo summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: .9rem; color: var(--gold-bright);
  display: inline-flex; align-items: center; gap: 10px;
}
.modulo summary::-webkit-details-marker { display: none; }
.modulo summary::after { content: "+"; font-size: 1.1rem; line-height: 1; transition: transform .25s var(--ease); }
.modulo details[open] summary::after { transform: rotate(45deg); }
.modulo ol { margin: 14px 0 0; padding-left: 1.6em; display: grid; gap: 6px; color: var(--on-dark-soft); font-size: .9rem; }
.modulo ol li::marker { color: var(--gold-bright); font-variant-numeric: tabular-nums; }
#conteudo .sec-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }

/* ---------- Professores ---------- */
.profs { display: grid; gap: 22px; }
@media (min-width: 700px) { .profs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .profs { grid-template-columns: repeat(4, 1fr); } }
.prof { display: flex; flex-direction: column; gap: 8px; }
.prof img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; margin-bottom: 12px;
  border: 1px solid var(--gold-soft); filter: saturate(.92);
}
.prof-mat { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; }
.prof h3 { font-size: 1.55rem; color: var(--on-dark); }
.prof-cred { font-size: .82rem; color: var(--on-dark); opacity: .85; }
.prof p:last-child { font-size: .9rem; color: var(--on-dark-soft); }

/* ---------- Oferta ---------- */
.oferta-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .oferta-grid { grid-template-columns: 1fr 0.9fr; gap: 80px; } }
.oferta-h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: var(--ink); margin: 18px 0 20px; }
.oferta-lead { color: var(--ink-soft); max-width: 52ch; }
.oferta-checks { margin-top: 26px; display: grid; gap: 10px; }
.oferta-card {
  background: var(--green-900); color: var(--on-dark); border-radius: 22px; padding: 40px 34px 34px;
  border: 1px solid rgba(212,173,87,0.35); box-shadow: 0 50px 100px -50px rgba(15,28,20,0.65);
  text-align: center; position: relative; overflow: hidden;
}
.oferta-card::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 70%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(212,173,87,0.18), transparent 70%); pointer-events: none;
}
.oferta-logo { width: 120px; height: auto; margin: 0 auto 18px; position: relative; }
.oferta-tipo { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; }
.oferta-card h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 8px 0 22px; }
.oferta-itens { list-style: none; margin: 0 0 28px; padding: 0; text-align: left; }
.oferta-itens li {
  display: flex; justify-content: space-between; gap: 16px; padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08); font-size: .95rem;
}
.oferta-itens b { color: var(--gold-bright); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.btn-block { width: 100%; }
.oferta-nota { margin-top: 16px; font-size: .8rem; color: var(--on-dark-soft); }

/* ---------- Dúvidas ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; } }
.faq details { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 22px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--font-serif); font-size: 1.3rem; color: var(--on-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-bright); font-family: var(--font-sans); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 12px; color: var(--on-dark-soft); max-width: 60ch; }

/* ---------- Rodapé ---------- */
.footer-logo-grao { width: 96px; height: auto; margin-bottom: 18px; }
.footer-col span:not(.footer-h) { font-size: .9rem; }
@media (min-width: 900px) {
  .site-footer .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .modulo, .modulo summary::after, .faq summary::after { transition: none; }
}

/* ---------- Hero: título mais largo que o do site do Rafael ---------- */
@media (min-width: 761px) {
  .hero-photo .hero-inner { max-width: 760px; }
  .hero-photo h1 { max-width: 19ch; font-size: clamp(2.4rem, 4.4vw, 4rem); }
  .hero-photo .lead { max-width: 54ch; }
}

/* ---------- Vídeo no lugar da foto (bloco foto + texto) ---------- */
.split-video {
  width: 100%; display: block; border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover;
  box-shadow: 0 44px 90px -46px rgba(0,0,0,0.65); background: var(--green-900);
}

/* ---------- Faixa em vídeo (grãos caindo) ---------- */
.faixa-video {
  position: relative; overflow: hidden; min-height: clamp(420px, 62vh, 620px);
  display: grid; align-items: center; background: var(--green-900); isolation: isolate;
}
.faixa-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.faixa-veu {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 80% at 50% 50%, rgba(11,20,14,0.35), rgba(11,20,14,0.82)),
    linear-gradient(180deg, rgba(11,20,14,0.9), rgba(11,20,14,0.25) 30%, rgba(11,20,14,0.25) 70%, rgba(11,20,14,0.9));
}
.faixa-inner { text-align: center; display: grid; justify-items: center; gap: 18px; padding-block: 80px; }
.faixa-inner img { width: 46px; height: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
.faixa-frase {
  font-family: var(--font-serif); font-weight: 600; color: var(--on-dark);
  font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.08; max-width: 18ch; text-wrap: balance;
}
.faixa-frase em { color: var(--gold-bright); font-style: italic; }
.faixa-sub { color: var(--on-dark-soft); font-size: 1.05rem; max-width: 46ch; }

/* lista de garantias em fundo claro */
.oferta-checks li { color: var(--ink); }
.oferta-checks li::before { color: var(--gold); }

/* vídeo do vlog é mais claro que a capa do Rafael: véu um pouco mais denso à esquerda */
@media (min-width: 761px) {
  .hero-photo .hero-video-overlay {
    background:
      linear-gradient(90deg, rgba(11,20,14,0.86) 0%, rgba(11,20,14,0.66) 38%, rgba(11,20,14,0.22) 72%, rgba(11,20,14,0.10) 100%),
      linear-gradient(180deg, rgba(11,20,14,0.45) 0%, rgba(11,20,14,0) 22%, rgba(11,20,14,0) 70%, rgba(11,20,14,0.6) 100%);
  }
}
