/* =========================================================
   Taróloga Raquelly
   Direção: o baralho de copas. Copas é o naipe do amor na cartomancia, e o amor
   é a especialidade dela; a foto do topo é uma carta com o índice R e o coração,
   e atrás dela o verso vermelho de corações (eco das cartas de rosas que ela usa).
   Preto, amarelo, vermelho e rosa (as cores que ela pediu) como fundos de seção,
   clima popular e direto. Uma família só, Bricolage Grotesque, estreita e pesada
   nos títulos. Depoimentos como os balões escuros do WhatsApp dos prints.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --preto: #000000;
  --branco: #ffffff;
  --amarelo: #ffc72c;
  --amarelo-claro: #ffd85f;
  --vermelho: #d7132b;
  --rosa: #ff6fa8;
  --rosa-claro: #ffe3ee;
  --bolha: #202c33;
  --bolha-texto: #e9edef;
  --whats: #25d366;

  --texto-suave: rgba(255, 255, 255, .74);
  --linha-clara: rgba(255, 255, 255, .18);

  --fonte: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --largura: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --secao: clamp(72px, 10vw, 136px);

  --raio-carta: 18px;
  --raio-bolha: 14px;
  --raio-pilula: 999px;

  --curva: cubic-bezier(.2, .7, .2, 1);
  --topo-altura: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-altura) + 12px); }
body {
  margin: 0;
  background: var(--preto);
  color: var(--branco);
  font-family: var(--fonte);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--largura); margin-inline: auto; padding-inline: var(--gutter); }
.secao { padding-block: var(--secao); }
.ico { width: 1.2em; height: 1.2em; flex: none; }

/* Títulos de seção: estreitos e pesados, sem caixa alta */
.cabeca h2, .amor h2, .sobre h2, .contato h2 {
  font-size: clamp(38px, 6.4vw, 76px);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 1;
  letter-spacing: -.015em;
}
.cabeca { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.cabeca-texto { margin-top: 16px; font-size: 19px; color: var(--texto-suave); max-width: 56ch; }

/* ---------- Acessibilidade ---------- */
.pular {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amarelo); color: var(--preto); padding: 12px 18px;
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.pular:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 4px; }
.faixa :focus-visible, .depoimentos :focus-visible, .duvidas :focus-visible { outline-color: var(--preto); }
.amor :focus-visible, .contato :focus-visible { outline-color: var(--branco); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border-radius: var(--raio-pilula);
  font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--curva), transform .3s var(--curva);
}
.btn .ico { width: 22px; height: 22px; }
.btn-amarelo { background: var(--amarelo); color: var(--preto); }
.btn-amarelo:hover { background: var(--amarelo-claro); transform: translateY(-2px); }
.btn-grande { min-height: 64px; padding: 0 34px; font-size: 19px; }

.link-sec {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-underline-offset: 6px;
  text-decoration-thickness: 2px; text-decoration-color: var(--rosa);
}
.link-sec:hover { text-decoration-color: var(--amarelo); }

/* ---------- Cabeçalho ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .4s var(--curva), border-color .4s var(--curva);
  border-bottom: 1px solid transparent;
}
.topo.rolado { background: var(--preto); border-bottom-color: var(--linha-clara); }
.topo-linha { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--topo-altura); }
.marca { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; }
.marca-copas { width: 24px; height: 24px; color: var(--vermelho); }
.marca-nome { font-size: 28px; font-weight: 800; font-stretch: 78%; letter-spacing: -.01em; line-height: 1; }

.menu { display: flex; align-items: center; gap: 28px; }
.menu ul { display: flex; gap: 24px; }
.menu ul a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 16px; color: var(--texto-suave); transition: color .3s; }
.menu ul a:hover, .menu ul a.ativo { color: var(--branco); }
.menu-cta { min-height: 44px; padding: 0 18px; font-size: 16px; }
.menu-cta .ico { width: 18px; height: 18px; }

.menu-botao { display: none; }

@media (max-width: 960px) {
  .menu-botao {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: none; border: 0; color: var(--branco); cursor: pointer; position: relative; z-index: 2;
  }
  .menu-botao-linhas, .menu-botao-linhas::before, .menu-botao-linhas::after {
    display: block; width: 26px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .35s var(--curva), background-color .2s;
  }
  .menu-botao-linhas { position: relative; }
  .menu-botao-linhas::before, .menu-botao-linhas::after { content: ''; position: absolute; left: 0; }
  .menu-botao-linhas::before { top: -8px; }
  .menu-botao-linhas::after { top: 8px; }
  .menu-botao[aria-expanded="true"] .menu-botao-linhas { background: transparent; }
  .menu-botao[aria-expanded="true"] .menu-botao-linhas::before { transform: translateY(8px) rotate(45deg); }
  .menu-botao[aria-expanded="true"] .menu-botao-linhas::after { transform: translateY(-8px) rotate(-45deg); }

  .menu {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 32px;
    padding: 96px var(--gutter) 48px;
    background: var(--preto);
    visibility: hidden; opacity: 0;
    transition: opacity .35s var(--curva), visibility 0s linear .35s;
  }
  .menu.aberto { visibility: visible; opacity: 1; transition: opacity .35s var(--curva); }
  .menu ul { flex-direction: column; gap: 4px; }
  .menu ul a { font-size: 34px; font-weight: 800; font-stretch: 78%; color: var(--branco); }
  .menu-cta { min-height: 54px; padding: 0 26px; font-size: 17px; }
}

/* ---------- Topo (hero) ---------- */
.hero { padding: calc(var(--topo-altura) + clamp(28px, 6vw, 72px)) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grade { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-sobre { font-size: 18px; font-weight: 600; color: var(--rosa); }
.hero-titulo {
  margin-top: 14px;
  font-size: clamp(64px, 16vw, 138px);
  font-weight: 800;
  font-stretch: 75%;
  line-height: .9;
  letter-spacing: -.02em;
  max-width: 6.2em;
}
.hero-lead { margin-top: 26px; font-size: clamp(21px, 2.3vw, 27px); font-weight: 600; line-height: 1.3; max-width: 30ch; }
.hero-paragrafo { margin-top: 16px; color: var(--texto-suave); max-width: 48ch; }
.hero-acoes { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* A carta de copas: frente com a foto, verso de corações atrás */
.baralho { position: relative; width: min(100%, 420px); justify-self: center; margin-right: 4%; }
.carta-frente, .carta-verso { border-radius: var(--raio-carta); }
.carta-verso {
  position: absolute; inset: 0;
  background-color: var(--vermelho);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cg fill='%23ff6fa8'%3E%3Cpath d='M9 14c-.3-.9-1-1.8-2.2-3C5.5 9.7 4.5 8.6 4.5 7.2 4.5 5.9 5.5 5 6.7 5c1 0 1.8.6 2.3 1.5C9.5 5.6 10.3 5 11.3 5c1.2 0 2.2.9 2.2 2.2 0 1.4-1 2.5-2.3 3.8C10 12.2 9.3 13.1 9 14Z'/%3E%3Cpath d='M27 32c-.3-.9-1-1.8-2.2-3-1.3-1.3-2.3-2.4-2.3-3.8 0-1.3 1-2.2 2.2-2.2 1 0 1.8.6 2.3 1.5.5-.9 1.3-1.5 2.3-1.5 1.2 0 2.2.9 2.2 2.2 0 1.4-1 2.5-2.3 3.8-1.2 1.2-1.9 2.1-2.2 3Z' opacity='.55'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 36px 36px;
  border: 10px solid var(--branco);
  box-shadow: inset 0 0 0 2px var(--vermelho), inset 0 0 0 4px var(--branco);
  transform: translate(-16%, 5%) rotate(-9deg);
}
.carta-frente {
  position: relative;
  background: var(--branco);
  padding: 12px;
  transform: rotate(3deg);
  box-shadow: 0 30px 60px -20px rgba(255, 111, 168, .35);
}
.carta-frente img { border-radius: 9px; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.indice {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 10px 10px;
  background: var(--branco); color: var(--vermelho);
  border-radius: 9px 0 14px 0;
}
.indice b { font-size: 30px; font-weight: 800; font-stretch: 75%; line-height: .9; }
.indice svg { width: 20px; height: 20px; }
.indice-base { top: auto; left: auto; bottom: 12px; right: 12px; transform: rotate(180deg); }

/* A única entrada coreografada: as cartas sendo dadas */
.motion .hero-texto > * { animation: subir .9s var(--curva) both; }
.motion .hero-texto > :nth-child(2) { animation-delay: .08s; }
.motion .hero-texto > :nth-child(3) { animation-delay: .18s; }
.motion .hero-texto > :nth-child(4) { animation-delay: .28s; }
.motion .hero-texto > :nth-child(5) { animation-delay: .38s; }
.motion .carta-frente { animation: dar-frente 1.1s var(--curva) .2s both; }
.motion .carta-verso { animation: dar-verso 1.2s var(--curva) .45s both; }
@keyframes subir { from { opacity: 0; transform: translateY(18px); } }
@keyframes dar-frente { from { opacity: 0; transform: translate(30%, 8%) rotate(14deg); } }
@keyframes dar-verso { from { opacity: 0; transform: translate(0, 0) rotate(3deg); } }

/* ---------- Faixa de fatos ---------- */
.faixa { background: var(--amarelo); color: var(--preto); }
.faixa-lista { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px 28px; padding-block: 22px; }
.faixa-lista li { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; line-height: 1.25; }
.faixa-lista .ico { color: var(--vermelho); width: 18px; height: 18px; }

/* ---------- Atendimentos ---------- */
.lista-atend { border-bottom: 1px solid var(--linha-clara); }
.atend {
  display: grid;
  grid-template-columns: 64px minmax(0, .9fr) minmax(0, 1.3fr) auto;
  align-items: center; gap: 16px 40px;
  padding-block: clamp(26px, 3.4vw, 40px);
  border-top: 1px solid var(--linha-clara);
}
.atend-ico { width: 56px; height: 56px; color: var(--amarelo); }
.atend h3 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; font-stretch: 78%; line-height: 1; letter-spacing: -.01em; }
.atend p { color: var(--texto-suave); max-width: 52ch; }
.atend-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--amarelo); font-weight: 700; text-decoration: underline;
  text-underline-offset: 6px; text-decoration-thickness: 2px;
  white-space: nowrap;
}
.atend-link:hover { color: var(--branco); }

/* ---------- Casos amorosos ---------- */
.amor { background: var(--vermelho); }
.amor-grade { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.amor-sobre { font-size: 18px; font-weight: 700; color: var(--amarelo); margin-bottom: 16px; }
.amor h2 { font-size: clamp(42px, 7.4vw, 92px); line-height: .96; }
.amor-texto > p:not(.amor-sobre) { margin-top: 24px; font-size: 19px; max-width: 50ch; }
.amor-texto .btn { margin-top: 32px; }
.amor-lista li {
  display: flex; align-items: center; gap: 14px;
  padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .32);
  font-size: clamp(20px, 2vw, 24px); font-weight: 600; line-height: 1.25;
}
.amor-lista li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .32); }
.amor-lista .ico { color: var(--amarelo); width: 22px; height: 22px; }
.amor-nota { margin-top: 20px; font-size: 16px; color: rgba(255, 255, 255, .88); }

/* ---------- Depoimentos: os balões do WhatsApp ---------- */
.depoimentos { background: var(--rosa-claro); color: var(--preto); }
.depoimentos .cabeca-texto { color: rgba(0, 0, 0, .7); }
.conversa { columns: 3 300px; column-gap: 24px; }
.bolhas { break-inside: avoid; display: grid; gap: 6px; margin-bottom: 24px; justify-items: start; }
.bolha {
  position: relative;
  background: var(--bolha); color: var(--bolha-texto);
  padding: 12px 16px 10px;
  border-radius: 4px var(--raio-bolha) var(--raio-bolha) var(--raio-bolha);
  font-size: 17px; line-height: 1.5;
  max-width: 100%;
}
.bolhas .bolha:first-child::before {
  content: ''; position: absolute; top: 0; left: -8px;
  border-top: 10px solid var(--bolha); border-left: 10px solid transparent;
}
.hora { display: block; text-align: right; margin-top: 4px; font-size: 13px; color: rgba(233, 237, 239, .62); }
.motion .conversa:not(.is-in) .bolha { opacity: 0; transform: translateY(10px) scale(.97); }
.motion .conversa .bolha { transition: opacity .6s var(--curva), transform .6s var(--curva); transition-delay: calc(var(--n, 0) * 140ms); }

/* ---------- Como funciona ---------- */
.passos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px); }
.passos li { border-top: 2px solid var(--amarelo); padding-top: 22px; }
.passo-num { display: block; font-size: 64px; font-weight: 800; font-stretch: 75%; line-height: .9; color: var(--amarelo); }
.passos h3 { margin-top: 16px; font-size: 23px; font-weight: 700; line-height: 1.2; }
.passos p { margin-top: 10px; color: var(--texto-suave); }

/* ---------- Sobre ---------- */
.sobre { padding-top: 0; }
.sobre-grade { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); align-items: center; border-top: 1px solid var(--linha-clara); padding-top: var(--secao); }
.sobre-foto {
  position: relative; background: var(--branco); color: var(--preto);
  padding: 12px 12px 0; border-radius: var(--raio-carta);
  transform: rotate(-2deg); max-width: 400px; justify-self: center; width: 100%;
}
.sobre-foto img { border-radius: 9px; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.sobre-foto figcaption { padding: 12px 6px 14px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.sobre-lead { margin-top: 24px; font-size: clamp(20px, 2.1vw, 25px); font-weight: 600; line-height: 1.35; max-width: 34ch; }
.sobre-texto > p:not(.sobre-lead) { margin-top: 16px; color: var(--texto-suave); max-width: 52ch; }
.sobre-texto .link-sec { margin-top: 24px; }

/* ---------- Dúvidas ---------- */
.duvidas { background: var(--branco); color: var(--preto); }
.duvidas .cabeca-texto { color: rgba(0, 0, 0, .68); }
.duvidas-grade { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-bottom: 2px solid var(--preto); }
.faq details:first-child { border-top: 2px solid var(--preto); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding-block: 18px;
  font-size: 20px; font-weight: 700; line-height: 1.3;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--vermelho); width: 26px; height: 26px; transition: transform .35s var(--curva); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; max-width: 58ch; color: rgba(0, 0, 0, .78); }

/* ---------- Contato ---------- */
.contato { background: var(--vermelho); text-align: center; }
.contato-caixa { display: flex; flex-direction: column; align-items: center; }
.contato-copas { width: 56px; height: 56px; color: var(--amarelo); margin-bottom: 22px; }
.contato h2 { font-size: clamp(46px, 9vw, 112px); line-height: .95; }
.contato-caixa > p { margin-top: 20px; font-size: 20px; max-width: 40ch; }
.contato .btn { margin-top: 34px; }
.contato .contato-pagamento { margin-top: 22px; font-size: 16px; color: rgba(255, 255, 255, .88); }

/* ---------- Rodapé ---------- */
.rodape { padding: 64px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--texto-suave); }
.rodape-grade { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: start; }
.rodape-nome { display: flex; align-items: center; gap: 8px; color: var(--branco); font-size: 26px; font-weight: 800; font-stretch: 78%; line-height: 1; }
.rodape-nome .ico { color: var(--vermelho); width: 22px; height: 22px; }
.rodape-texto { margin-top: 12px; max-width: 46ch; }
.rodape-links { display: grid; grid-template-columns: repeat(2, auto); gap: 0 32px; }
.rodape-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.rodape-links a:hover { color: var(--branco); }
.rodape-base { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--linha-clara); display: grid; gap: 8px; }
.rodape-aviso { max-width: 80ch; }
.rodape-credito a { color: var(--branco); }

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--whats); color: var(--branco);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .4s var(--curva), transform .4s var(--curva), visibility 0s linear .4s;
}
.whats-flutuante .ico { width: 30px; height: 30px; }
.whats-flutuante.visivel { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--curva), transform .4s var(--curva); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .atend { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .atend p { grid-column: 2 / -1; grid-row: 2; }
  .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faixa-lista { grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px 48px; }
  .faixa-lista li { white-space: normal; }
}

@media (max-width: 860px) {
  .hero-grade { grid-template-columns: 1fr; }
  .baralho { width: min(74vw, 360px); margin: 12px auto 0; }
  .amor-grade, .sobre-grade, .duvidas-grade { grid-template-columns: 1fr; }
  .sobre-foto { max-width: 340px; }
  .rodape-grade { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .faixa-lista { grid-template-columns: 1fr; gap: 10px; }
  .atend { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 18px; }
  .atend-ico { width: 44px; height: 44px; }
  .atend p, .atend-link { grid-column: 1 / -1; }
  .atend-link { grid-row: auto; white-space: normal; }
  .passos { grid-template-columns: 1fr; }
  .faq summary { font-size: 18px; }
  .btn-grande { padding: 0 24px; font-size: 17px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
