/* ============================================================
   2iPonto — site
   Identidade: roxo + sage + azul + lavanda · Lora + Caveat
   Regra do design system: cor = função
     roxo     → tema novo, divisor, encerramento
     sage     → conteúdo principal
     azul     → dado, conceito, frase-soco
     lavanda  → Palavra de Deus / destaque
   Estrutura: protótipos A+B+C de 09/10/2026 (.claude/local/prototipos/2026-10-09-site-v2)
   ============================================================ */

:root {
  --purple: #3D2A4D;
  --purple-deep: #2D1F3A;
  --sage: #C9CBB5;
  --sage-deep: #B5B8A0;
  --blue: #8FAEBC;
  --lavender: #847BA0;
  --off-white: #F5F4EE;
  --warm-white: #FAF8F1;
  --wa: #25D366;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --hand: "Caveat", "Segoe Print", cursive;

  --radius: 16px;
  --gutter: 20px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--warm-white);
  color: var(--purple);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--purple); color: var(--sage); }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.005em; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }

.hand { font-family: var(--hand); font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .6; margin-bottom: 14px; }
.section { padding: 60px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.title { font-family: var(--hand); font-weight: 600; font-size: clamp(38px, 6.2vw, 64px); line-height: .95; margin-bottom: 14px; }
.lead { font-size: 17px; line-height: 1.6; opacity: .88; }
@media (min-width: 768px) { .lead { font-size: 18px; } }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--serif); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; font-weight: 500; border: 1px solid transparent; min-height: 46px;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sage); color: var(--purple); }
.btn-primary:hover { background: var(--off-white); }
.btn-dark { background: var(--purple); color: var(--off-white); }
.btn-dark:hover { background: var(--purple-deep); }
.btn-line { border-color: rgba(61,42,77,.35); color: var(--purple); }
.btn-line:hover { border-color: var(--purple); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ------------------------------------------------------------
   Topo
   ------------------------------------------------------------ */
.top { position: absolute; inset: 0 0 auto; z-index: 5; padding: 16px 0; }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wordmark { font-family: var(--hand); font-weight: 700; font-size: 32px; line-height: 1; color: var(--off-white); text-decoration: none; }
.wordmark span { color: var(--sage); }
.top .btn { padding: 10px 16px; font-size: 11px; min-height: 40px; }

/* ------------------------------------------------------------
   Abertura (B): casal no palco, frase de resultado, um botão
   ------------------------------------------------------------ */
.hero {
  position: relative; min-height: 92svh; display: flex; align-items: flex-end;
  background: var(--purple); color: var(--off-white); overflow: hidden;
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(45,31,58,.35) 0%, rgba(45,31,58,.05) 35%, rgba(45,31,58,.75) 70%, var(--purple) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 72px; }
.hero h1 { font-family: var(--hand); font-weight: 600; font-size: clamp(36px, 7vw, 80px); line-height: 1; max-width: 11ch; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--sage); }
.hero .fmt { font-size: 17px; max-width: 560px; color: rgba(245,244,238,.9); margin-bottom: 24px; }
.hero .fmt strong { font-weight: 500; color: var(--sage); }
@media (min-width: 900px) {
  .hero .wrap { padding-bottom: 64px; padding-left: calc(var(--gutter) + 54%); }
  .hero h1 { font-size: 58px; max-width: none; }
  .hero .fmt { max-width: 440px; font-size: 16px; }
  .hero > img { object-position: center 58%; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(45,31,58,.1) 0%, rgba(45,31,58,.1) 45%, rgba(45,31,58,.78) 62%, rgba(45,31,58,.9) 100%),
      linear-gradient(180deg, rgba(45,31,58,.3), rgba(45,31,58,0) 30%, rgba(45,31,58,.2) 70%, var(--purple) 100%);
  }
}

/* ------------------------------------------------------------
   Faixa de prova: por onde já passamos
   ------------------------------------------------------------ */
.faixa { background: var(--purple-deep); color: var(--off-white); padding: 20px 0; }
.faixa .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 26px; text-align: center; }
.faixa .lbl { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .55; }
.faixa .it { font-size: 14px; opacity: .85; }

/* ------------------------------------------------------------
   Duas portas (B)
   ------------------------------------------------------------ */
.portas { background: var(--warm-white); }
.portas .grid { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 768px) { .portas .grid { grid-template-columns: 1.4fr 1fr; } }
.porta { border-radius: var(--radius); padding: 28px; background: var(--off-white); display: flex; flex-direction: column; gap: 12px; }
.porta.main { background: var(--sage); }
.porta .hand { font-size: 34px; }
.porta p { font-size: 15px; opacity: .88; flex: 1; }
.porta .btn { align-self: flex-start; }

/* ------------------------------------------------------------
   Vídeo + galeria (roxo)
   ------------------------------------------------------------ */
.midia { background: var(--purple); color: var(--off-white); }
.midia .eyebrow { color: var(--sage); opacity: 1; }
.midia .wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .midia .wrap { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; } }
.yt {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #000; cursor: pointer; box-shadow: 0 24px 48px -24px rgba(0,0,0,.7);
}
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt .play { position: absolute; inset: 0; display: grid; place-items: center; }
.yt .play span { width: 68px; height: 68px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; transition: transform .2s, background .2s; }
.yt .play svg { width: 26px; height: 26px; fill: var(--purple); margin-left: 3px; }
.yt:hover .play span { transform: scale(1.08); background: var(--off-white); }
.yt .cap { position: absolute; left: 14px; bottom: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: rgba(45,31,58,.7); padding: 5px 10px; border-radius: 999px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.midia .more { margin-top: 14px; font-size: 14px; }
.link-line { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); text-decoration: none; border-bottom: 1px solid rgba(201,203,181,.4); padding-bottom: 3px; }
.link-line:hover { color: var(--off-white); border-color: var(--off-white); }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gal figure { margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--purple-deep); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal figure:hover img { transform: scale(1.04); }
.gal-cap { font-size: 13px; font-style: italic; color: rgba(245,244,238,.65); margin-top: 10px; }

/* ------------------------------------------------------------
   Temas como tags (A)
   ------------------------------------------------------------ */
.temas { background: var(--warm-white); }
.temas .lead { max-width: 620px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag { border: 1px solid rgba(61,42,77,.3); border-radius: 999px; padding: 10px 16px; font-size: 15px; background: var(--off-white); }
.tag.on { background: var(--purple); color: var(--off-white); border-color: var(--purple); }

/* ------------------------------------------------------------
   Formatos (A) — azul = conceito/dado
   ------------------------------------------------------------ */
.formatos { background: var(--blue); color: var(--purple); }
table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 15px; }
th { text-align: left; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .6; font-weight: 500; padding: 0 12px 12px 0; border-bottom: 1px solid rgba(61,42,77,.3); }
td { padding: 14px 12px 14px 0; border-bottom: 1px solid rgba(61,42,77,.18); vertical-align: top; }
td:first-child { font-weight: 600; font-size: 17px; }
td .hand { font-size: 24px; }
@media (max-width: 700px) {
  table, thead, tbody, tr, td { display: block; }
  thead { display: none; }
  tr { background: var(--off-white); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
  td { padding: 4px 0; border: 0; }
  td[data-l]::before { content: attr(data-l); display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; opacity: .55; margin-top: 8px; }
}
.nota { font-size: 14px; font-style: italic; opacity: .78; margin-top: 16px; max-width: 70ch; }

/* ------------------------------------------------------------
   Quem fala (B): confissão + fatos com número
   ------------------------------------------------------------ */
.quem { background: var(--off-white); }
.quem .wrap { display: grid; gap: 30px; }
@media (min-width: 900px) { .quem .wrap { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; } }
.quem figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.quem img { width: 100%; height: 100%; object-fit: cover; }
.quem .conf { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.3; margin-bottom: 18px; font-style: italic; }
.quem p { opacity: .9; }
.fatos { display: flex; flex-wrap: wrap; gap: 22px 28px; margin-top: 22px; }
.fato .n { font-family: var(--hand); font-weight: 600; font-size: 38px; line-height: 1; color: var(--lavender); }
.fato .l { font-size: 13px; opacity: .75; max-width: 160px; }
.social { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
.social a { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; opacity: .7; }
.social a:hover { opacity: 1; }

/* ------------------------------------------------------------
   O que dizem + por onde passamos (B) — sage = conteúdo
   ------------------------------------------------------------ */
.prova { background: var(--sage); }
.prova .wrap { display: grid; gap: 36px; }
@media (min-width: 900px) { .prova .wrap { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; } }
blockquote { margin: 0 0 22px; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; font-style: italic; }
blockquote cite { display: block; font-style: normal; font-size: 14px; margin-top: 10px; opacity: .75; }
.evs { display: grid; gap: 10px; }
.ev { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; background: var(--off-white); border-radius: 12px; padding: 12px 14px; }
.ev .d { text-align: center; font-family: var(--hand); font-weight: 600; line-height: 1; font-size: 32px; }
.ev .d small { display: block; font-family: var(--serif); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-top: 2px; }
.ev .t { font-size: 15px; font-weight: 500; }
.ev .s { font-size: 13px; opacity: .7; }

/* ------------------------------------------------------------
   Pedido (C): formulário que monta a mensagem do WhatsApp
   ------------------------------------------------------------ */
.pedido { background: var(--purple); color: var(--off-white); }
.pedido .wrap { max-width: 760px; }
.pedido .eyebrow { color: var(--sage); opacity: 1; }
.pedido .title { color: var(--sage); }
.pedido .sub { font-size: 16px; color: rgba(245,244,238,.8); margin-bottom: 24px; }
.f { display: grid; gap: 14px; }
.f label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); display: block; margin-bottom: 6px; }
.f input, .f select {
  width: 100%; font-family: var(--serif); font-size: 16px; padding: 13px 14px;
  border-radius: 10px; border: 1px solid rgba(245,244,238,.3);
  background: rgba(245,244,238,.08); color: var(--off-white); min-height: 48px;
}
.f select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23C9CBB5' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.f select option { color: var(--purple); background: var(--off-white); }
.f input::placeholder { color: rgba(245,244,238,.45); }
.f input:focus, .f select:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.f .row { display: grid; gap: 14px; }
@media (min-width: 560px) { .f .row { grid-template-columns: 1fr 1fr; } }
.f .hint { font-size: 13px; color: rgba(245,244,238,.6); font-style: italic; margin-top: 4px; }
.f .btn { margin-top: 6px; padding: 17px 28px; font-size: 13px; min-height: 50px; border: 0; }
.f .btn svg { width: 20px; height: 20px; }
.f .leio { font-size: 14px; color: rgba(245,244,238,.7); margin-top: 12px; font-style: italic; }
.pedido .contato { margin-top: 28px; font-size: 14px; color: rgba(245,244,238,.65); }
.pedido .contato a { text-decoration: none; }
.pedido .contato a:hover { color: var(--off-white); }

/* ------------------------------------------------------------
   Rodapé
   ------------------------------------------------------------ */
.footer { background: var(--purple-deep); color: rgba(245,244,238,.6); font-size: 12px; padding: 36px 0 110px; }
@media (min-width: 768px) { .footer { padding-bottom: 36px; } }
.footer .wrap { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .footer .wrap { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.footer .wordmark { font-size: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; }
.footer-links a:hover { color: var(--off-white); }

/* Botão flutuante de WhatsApp (celular) */
.wa-float {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--wa); color: #fff; padding: 15px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.5);
  transform: translateY(130%); opacity: 0; transition: transform .3s, opacity .3s;
}
.wa-float.show { transform: none; opacity: 1; }
.wa-float svg { width: 20px; height: 20px; fill: currentColor; }
@media (min-width: 768px) { .wa-float { display: none; } }

a:focus-visible, button:focus-visible, .yt:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gal img, .wa-float, .btn, .yt .play span { transition: none; }
}
