/* ==========================================================================
   Dra. Juliana Alencar — landing pages
   ========================================================================== */

:root {
  --ouro: #d4af37;
  --ouro-escuro: #b8860b;
  --ouro-claro: #e7b068;
  --bege: #debea2;
  --bege-claro: #f6ece2;
  --marrom: #806145;
  --preto: #0b0b0b;
  --grafite: #1e1e1e;
  --cartao: #1b1b1b;
  --borda: rgba(212, 175, 55, 0.25);
  --texto: #f2f2f2;
  --texto-suave: #b9b9b9;

  --fundo: var(--preto);
  --fundo-alt: #111;
  --superficie: var(--cartao);

  --gradiente-ouro: linear-gradient(135deg, #f1d27a 0%, var(--ouro) 45%, var(--ouro-escuro) 100%);
  --fonte-titulo: "Marcellus", Georgia, serif;
  --fonte-texto: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --raio: 16px;
  --sombra: 0 20px 50px rgba(0, 0, 0, 0.45);
  --largura: 1160px;
}

/* Tema claro (página Método) */
.tema-claro {
  --fundo: var(--bege-claro);
  --fundo-alt: var(--bege);
  --superficie: #fffaf4;
  --texto: #2a2119;
  --texto-suave: #5f5142;
  --borda: rgba(128, 97, 69, 0.25);
  --sombra: 0 18px 40px rgba(84, 60, 36, 0.15);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 1rem/1.65 var(--fonte-texto);
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--ouro); }
ul { padding-left: 1.2em; }

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }

.dourado {
  background: var(--gradiente-ouro);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tema-claro .dourado { background: none; color: var(--marrom); }

.container { width: min(100% - 32px, var(--largura)); margin-inline: auto; }
.estreito { max-width: 760px; }

.secao { padding: clamp(64px, 9vw, 110px) 0; }
.secao--alt { background: var(--fundo-alt); }
.secao--escura { background: var(--preto); color: #f2f2f2; --texto-suave: #b9b9b9; --superficie: var(--cartao); --borda: rgba(212, 175, 55, 0.25); }

.titulo-secao { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.titulo-secao p { color: var(--texto-suave); max-width: 640px; margin: 0 auto; }

/* Divisor com estrela */
.divisor {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 14px auto 18px; color: var(--ouro);
}
.divisor::before, .divisor::after {
  content: ""; height: 1px; width: min(120px, 22vw);
  background: linear-gradient(90deg, transparent, currentColor);
}
.divisor::after { transform: scaleX(-1); }
.divisor svg { width: 18px; height: 18px; }
.tema-claro .divisor { color: var(--marrom); }

.selo {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--borda); color: var(--ouro);
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.tema-claro .selo { color: var(--marrom); }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 34px; border: 0; border-radius: 999px;
  background: var(--gradiente-ouro); color: #1e1e1e;
  font: 600 1rem/1.2 var(--fonte-texto); letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.botao:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(212, 175, 55, 0.5); }
.botao:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.botao--grande { padding: 22px 44px; font-size: 1.1rem; }
.botao--whatsapp { background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35); }
.botao svg { width: 22px; height: 22px; flex: none; }

.centro { text-align: center; }
.mt { margin-top: 40px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 75% 30%, rgba(212, 175, 55, 0.18), transparent 60%), #050505;
  color: #f2f2f2;
}
.hero__fundo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; opacity: 0.35;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ouro), transparent);
}
.hero__grade {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 32px;
  min-height: min(92vh, 760px); padding-top: 48px;
}
.hero__texto { padding-bottom: clamp(48px, 8vw, 110px); align-self: center; }
.hero__texto p { font-size: 1.1rem; color: #cfcfcf; max-width: 540px; margin: 0 0 32px; }
.hero__texto .selo { margin-bottom: 20px; }
.hero__foto { align-self: end; justify-self: center; }
.hero__foto img { max-height: 720px; width: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)); }
.hero h1 .destaque { color: var(--ouro); }

.hero__provas { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: #cfcfcf; font-size: 0.92rem; }
.hero__provas span { display: inline-flex; align-items: center; gap: 8px; }
.hero__provas svg { width: 18px; height: 18px; color: var(--ouro); }

/* ---------------- Carrossel ---------------- */
.carrossel { position: relative; }
.carrossel__trilho {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px;
}
.carrossel__trilho::-webkit-scrollbar { display: none; }
.carrossel__trilho > * { scroll-snap-align: start; }
.carrossel__trilho img {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--raio);
  border: 1px solid var(--borda);
}
.carrossel__seta {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--borda);
  background: rgba(0, 0, 0, 0.7); color: var(--ouro); cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(6px);
}
.carrossel__seta:hover { background: var(--ouro); color: #111; }
.carrossel--sem-rolagem .carrossel__seta { display: none; }
.carrossel__seta--ant { left: -18px; }
.carrossel__seta--prox { right: -18px; }
.carrossel__seta svg { width: 20px; height: 20px; }

/* ---------------- Cartões / listas ---------------- */
.cartao {
  background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--sombra);
}
.cartao__rotulo { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--texto-suave); }

.lista-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lista-check li { position: relative; padding-left: 34px; }
.lista-check li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gradiente-ouro) center / 100%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm-1.6 17.2-5-5 1.8-1.8 3.2 3.2 6.9-6.9 1.8 1.8-8.7 8.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm-1.6 17.2-5-5 1.8-1.8 3.2 3.2 6.9-6.9 1.8 1.8-8.7 8.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tema-claro .lista-check li::before { background: var(--marrom); }
.lista-check ul { list-style: none; padding: 10px 0 0; margin: 0; display: grid; gap: 6px; color: var(--texto-suave); }
.lista-check ul li { padding-left: 18px; }
.lista-check ul li::before { width: 6px; height: 6px; top: 11px; -webkit-mask: none; mask: none; }

.lista-x { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.lista-x li { position: relative; padding-left: 36px; }
.lista-x li::before {
  content: "×"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: #b3412f; color: #fff; font-weight: 700; line-height: 1;
}

.lista-emoji { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.lista-emoji li { display: flex; gap: 14px; align-items: flex-start; }
.lista-emoji .emoji { font-size: 1.35rem; line-height: 1.3; flex: none; }

.conteudo-curso { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 40px; }

/* ---------------- Depoimentos ---------------- */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 24px; }
.video {
  position: relative; border-radius: var(--raio); overflow: hidden; border: 1px solid var(--borda);
  aspect-ratio: 9 / 16; background: #000; box-shadow: var(--sombra);
}
.video video { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Preço ---------------- */
.preco { max-width: 520px; margin: 0 auto; text-align: center; position: relative; }
.preco::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--gradiente-ouro);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.preco__de { color: var(--texto-suave); text-decoration: line-through; font-size: 1.15rem; margin: 0; }
.preco__por { font-family: var(--fonte-titulo); font-size: clamp(3rem, 9vw, 4.4rem); line-height: 1.1; margin: 4px 0; }
.preco__por small { font-size: 0.4em; vertical-align: super; margin-right: 4px; }
.preco__cond { color: var(--texto-suave); margin: 0 0 28px; }
.preco .botao { width: 100%; }
.preco__seguro { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 0.85rem; color: var(--texto-suave); }
.preco__seguro span { display: inline-flex; align-items: center; gap: 6px; }
.preco__seguro svg { width: 16px; height: 16px; color: var(--ouro); }

.nota {
  max-width: 720px; margin: 0 auto; border-left: 3px solid var(--ouro);
  background: var(--superficie); border-radius: 0 var(--raio) var(--raio) 0;
  padding: 28px 32px;
}
.nota p { color: var(--texto-suave); }
.nota p:last-child { margin-bottom: 0; }

/* ---------------- Mentora ---------------- */
.mentora { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.mentora__foto img { border-radius: var(--raio); width: 100%; max-height: 640px; object-fit: cover; object-position: top; }
.mentora__foto--recorte img { border-radius: 0; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5)); }
.mentora__texto h3 { color: var(--texto-suave); font-family: var(--fonte-texto); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; }
.mentora__texto p { color: var(--texto-suave); }
.mentora__texto strong { color: var(--texto); }

/* ---------------- FAQ ---------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--superficie); border: 1px solid var(--borda); border-radius: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  color: var(--ouro); font-size: 1.5rem; transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 24px 20px; color: var(--texto-suave); }
.faq details > div p { margin: 0; }

/* ---------------- Benefícios (Método) ---------------- */
.beneficios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.beneficio { text-align: center; }
.beneficio__icone {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gradiente-ouro); color: #1e1e1e;
}
.beneficio__icone svg { width: 30px; height: 30px; }
.beneficio p { color: var(--texto-suave); margin: 0; }

.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }

/* Galeria antes e depois */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.galeria button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.galeria img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; transition: transform 0.35s ease; }
.galeria button:hover img { transform: scale(1.05); }
.galeria button:focus-visible { outline: 3px solid var(--marrom); outline-offset: 3px; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); max-height: 92vh;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.88); }
.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox__fechar {
  position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: #111; font-size: 1.6rem; cursor: pointer; line-height: 1;
}

/* Cronograma */
.cronograma { list-style: none; padding: 0; margin: 0; }
.cronograma li { display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--borda); }
.cronograma li:last-child { border-bottom: 0; }
.cronograma time { font-family: var(--fonte-titulo); font-size: 1.25rem; color: var(--ouro); }
.tema-claro .cronograma time { color: var(--marrom); }
.alerta {
  display: flex; gap: 10px; align-items: center; justify-content: center;
  margin: 24px 0 0; padding: 14px 18px; border-radius: 12px;
  background: rgba(179, 65, 47, 0.1); color: #8b2f20; font-weight: 600; text-align: center;
}
.secao--escura .alerta { color: #ff9b85; background: rgba(255, 120, 90, 0.1); }

/* Ajuda / WhatsApp */
.ajuda { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ajuda h2 { margin: 0; max-width: 620px; }

/* ---------------- Rodapé ---------------- */
.rodape { background: #050505; color: #9a9a9a; padding: 40px 0; font-size: 0.85rem; text-align: center; border-top: 1px solid rgba(212, 175, 55, 0.2); }
.rodape p { margin: 0 auto 10px; max-width: 760px; }
.rodape a { color: var(--ouro); text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
.rodape .coracao { color: #e25555; }

/* Barra fixa de CTA no celular */
.cta-fixo {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  display: none; transform: translateY(140%); transition: transform 0.3s ease;
}
.cta-fixo.visivel { transform: none; }
.cta-fixo .botao { width: 100%; padding: 16px; }

/* Animação de entrada */
.revelar { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.revelar.visivel { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .revelar { opacity: 1; transform: none; transition: none; }
  .botao, .galeria img { transition: none; }
}

/* ---------------- Responsivo ---------------- */
@media (max-width: 1024px) {
  .carrossel__trilho { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .carrossel__trilho img { aspect-ratio: 3 / 4; }
  .beneficios { grid-template-columns: repeat(2, 1fr); }
  .galeria { grid-template-columns: repeat(3, 1fr); }
  .carrossel__seta--ant { left: 4px; }
  .carrossel__seta--prox { right: 4px; }
}

@media (max-width: 760px) {
  .hero__grade { grid-template-columns: 1fr; min-height: 0; text-align: center; padding-top: 40px; gap: 0; }
  .hero__texto { padding-bottom: 32px; }
  .hero__texto p { margin-inline: auto; }
  .hero__provas { justify-content: center; }
  .hero__foto img { max-height: 420px; }
  .carrossel__trilho { grid-auto-columns: 72%; }
  .conteudo-curso, .duas-colunas, .mentora { grid-template-columns: 1fr; }
  .videos { grid-template-columns: minmax(0, 300px); }
  .galeria { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .beneficios { grid-template-columns: 1fr; }
  .mentora__foto { max-width: 420px; margin: 0 auto; }
  .ajuda { justify-content: center; text-align: center; }
  .botao { width: 100%; padding-inline: 20px; }
  .cta-fixo { display: block; }
  .rodape { padding-bottom: 96px; }
}

/* Seção escura dentro do tema claro */
.tema-claro .secao--escura .dourado {
  background: var(--gradiente-ouro);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tema-claro .secao--escura .divisor,
.tema-claro .secao--escura .cronograma time { color: var(--ouro); }
.tema-claro .hero .selo { color: var(--ouro); border-color: rgba(212, 175, 55, 0.35); }

/* ---------------- Página de entrada ---------------- */
.entrada { min-height: 100vh; display: flex; flex-direction: column; }
.entrada main { flex: 1; display: grid; place-items: center; padding: 64px 0; }
.entrada__topo { text-align: center; margin-bottom: 40px; }
.entrada__topo p { color: var(--texto-suave); margin: 0; }
.entrada__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.entrada__card {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.entrada__card:hover { transform: translateY(-4px); border-color: var(--ouro); }
.entrada__card:focus-visible { outline: 3px solid var(--ouro); outline-offset: 4px; }
.entrada__card h2 { margin: 0; font-size: 1.6rem; }
.entrada__card p { color: var(--texto-suave); margin: 0; flex: 1; }
.entrada__card .botao { align-self: flex-start; margin-top: 8px; }
@media (max-width: 760px) {
  .entrada__cards { grid-template-columns: 1fr; }
  .entrada__card .botao { align-self: stretch; }
}
