/* ============================================================
   LP CASE PROTECTPOOL — Tríade Digital
   Reformulação VISUAL da página original (mesma disposição e ordem
   de conteúdo, medida elemento a elemento na página ao vivo).
   Tokens do shadcn v4 traduzidos pra CSS puro. Sem framework, sem CDN.
   ============================================================ */

@font-face {
  font-family: 'Montserrat';
  src: url('assets/montserrat-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/montserrat-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB;
}

:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --muted: #f7f7f7;
  --primary: #0057ff;
  --primary-foreground: #ffffff;
  --whats: #25d366;

  --radius: 4px;
  --radius-md: var(--radius);
  --radius-xl: calc(var(--radius) + 2px);

  --max: 1200px;
  --pad: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
h1 { font-size: clamp(30px, 4.2vw, 48px); text-align: center; }
h2 { font-size: clamp(24px, 2.8vw, 34px); }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; width: 100%; }
.center { text-align: center; }

/* título de seção: mesma coluna de 680px do corpo, alinhado à esquerda */
.titulo-largo { max-width: 680px; margin: 0 auto 8px; text-align: left; }
/* subtexto abaixo do título: mesma coluna, mesma borda esquerda */
.paragrafo-central { max-width: 680px; margin: 0 auto; text-align: left; color: var(--muted-foreground); font-size: 16px; }

/* --- COLUNA ÚNICA (Jornada): texto corrido, mesma largura do original --- */
.coluna-central {
  max-width: 680px;
  margin: 24px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.coluna-central p { color: var(--muted-foreground); font-size: 16px; }
.coluna-central .atribuicao { font-weight: 600; color: var(--foreground); font-size: 14px; margin-top: -4px; }
.coluna-central .btn { margin-top: 10px; align-self: center; }
.coluna-central .rotulo-video { align-self: flex-start; }

/* --- LISTA COM ÍCONE: bloco de ícone + texto, sem emoji --- */
.lista-icones {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0;
}
.icon-item { display: flex; align-items: center; gap: 14px; text-align: left; }
.icon-badge {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-badge svg { width: 18px; height: 18px; }
.icon-item span:last-child { font-size: 15px; color: var(--foreground); }

/* --- CITAÇÃO EM BLOCO (estilo depoimento) --- */
.citacao {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--muted);
  padding: 24px 26px;
  text-align: left;
}
.citacao .aspas { display: block; font-size: 34px; line-height: 0.6; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.citacao p { font-style: italic; color: var(--foreground) !important; font-size: 16px; }
.citacao footer { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--muted-foreground); }

.rotulo-video { font-weight: 600; color: var(--foreground) !important; }

/* --- BOTÕES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  max-width: 100%;
}
.btn:hover { background: #0048d6; }
.btn-lg { height: 58px; padding: 0 36px; font-size: 16px; }
.btn-whats { background: var(--whats); color: #fff; }
.btn-whats:hover { background: #1ebc59; }
.btn-lg { animation: pulso 3.4s ease-in-out infinite; }
@keyframes pulso {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-lg { animation: none; }
}

/* --- HERO — logo, headline, sub, matéria da imprensa. Sem CTA. --- */
/* Mesma coluna de 680px do resto da página: recuo idêntico em toda dobra.
   O fundo escuro não cobre a dobra inteira: termina no meio da foto da
   matéria, e a metade de baixo dela já fica sobre o branco da página.
   340px = metade da foto (680px/2); sem padding-bottom, a dobra seguinte encosta na foto. */
.hero { position: relative; min-height: 70vh; display: flex; align-items: center; background: var(--background); overflow: hidden; }
.hero-bg { position: absolute; inset: 0 0 auto 0; height: calc(100% - 340px); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(100% - 340px);
  background: linear-gradient(180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.72) 55%,
    rgba(0,0,0,0.86) 100%);
}
/* só vertical: o shorthand zerava o padding lateral herdado de .container */
.hero-content { position: relative; z-index: 1; color: #fff; width: 100%; padding-top: 56px; padding-bottom: 0; text-align: center; }
.hero-copy { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-logo { margin-bottom: 24px; height: 38px; width: auto; }
.hero-content h1 { color: #fff; text-align: left; align-self: stretch; font-size: clamp(26px, 3.6vw, 40px); }
.hero-content p { margin: 18px 0 32px; font-size: 18px; color: rgba(255,255,255,0.85); text-align: left; align-self: stretch; }
.hero-copy .press-shot {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

/* --- BLOCOS: altura natural pelo conteúdo --- */
.block {
  display: flex;
  align-items: center;
  padding: var(--pad) 0;
  background: var(--background);
}
.block > .container { width: 100%; }
.block-muted { background: var(--muted); }

/* --- VÍDEO EMBEDDADO --- */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  margin: 6px auto 0;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed-solo { max-width: 680px; margin: 20px auto 0; }

/* --- ESTATÍSTICAS — mesma coluna de 680px do resto da página --- */
.stats { max-width: 680px; margin: 32px auto 0; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat .num { font-size: clamp(38px, 5.6vw, 58px); font-weight: 700; letter-spacing: -0.03em; color: var(--primary); line-height: 1; }
.stat .label { color: var(--muted-foreground); font-size: 15px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.produto-shot {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  height: auto;
}

/* --- CHECKLIST (qualificação final) --- */
/* mesma coluna de 680px do resto da seção, tudo na mesma borda esquerda */
.lista-check {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 24px auto;
  max-width: 680px;
}
.lista-check li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--foreground);
}
.lista-check li::before {
  content: '';
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* CTA final: respiro entre o texto de chamada e o botão */
#cta-final .center .btn { margin-top: 28px; }

/* --- RODAPÉ — só o copyright, igual à original --- */
.rodape { background: var(--background); padding: 40px 0; text-align: center; }
.copyright { font-size: 13px; color: var(--muted-foreground); }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 860px) {
  :root { --pad: 56px; }
  .container { max-width: 448px; margin-left: auto; margin-right: auto; }

  h1 { font-size: clamp(28px, 7.6vw, 38px); }
  h2 { font-size: 24px; }

  .hero-content p { font-size: 16px; margin: 16px 0 26px; }
  .hero-logo { height: 32px; margin-bottom: 20px; }
  /* a foto ocupa a coluna inteira; o corte do fundo escuro acompanha
     a metade da foto (largura do container - padding, dividido por 2) */
  .hero-bg, .hero::after { height: calc(100% - ((min(100vw, 448px) - 48px) / 2)); }
  .btn-lg { font-size: 15px; padding: 0 26px; height: 54px; white-space: normal; text-align: center; line-height: 1.25; }

  .coluna-central { gap: 12px; }

  .grid-3.stats { grid-template-columns: 1fr; gap: 28px; }

  .video-embed-solo { max-width: 100%; }
}

/* Tablet */
@media (min-width: 600px) and (max-width: 860px) {
  .container { max-width: 620px; }
  .hero-bg, .hero::after { height: calc(100% - ((min(100vw, 620px) - 48px) / 2)); }
}
