/* ==========================================================================
   Golpe ou não? — estilos
   ========================================================================== */

:root {
  --ink: #1F2933;
  --ink-soft: #52606D;
  --ink-faint: #7B8794;
  --line: #D9DEE5;
  --line-soft: #E4E8EE;
  --bg: #FFFFFF;
  --bg-soft: #F4F6F8;
  --bubble: #EEF1F5;
  --blue: #1C5D99;
  --blue-dark: #123F6B;
  --blue-soft: #E8F0F8;
  --red: #C62828;
  --red-soft: #FCEEEE;
  --red-mark: #FBE3E3;
  --green: #1E7B4F;
  --green-soft: #E6F4EC;

  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(31, 41, 51, .06), 0 1px 3px rgba(31, 41, 51, .08);
  --shadow-md: 0 4px 12px rgba(31, 41, 51, .06), 0 2px 4px rgba(31, 41, 51, .04);
  --shadow-lg: 0 24px 48px -12px rgba(31, 41, 51, .18), 0 4px 12px rgba(31, 41, 51, .05);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 68px;
}

/* Base ------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
p, li { text-wrap: pretty; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--blue-soft); color: var(--blue-dark); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--ink); color: #FFF; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #FFF; }

/* Botões ----------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  border: 2px solid transparent; border-radius: 10px;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none;
  cursor: pointer;
}
.btn svg { flex: 0 0 auto; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #FFF; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #FFF; }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn-ghost { background: #FFF; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-soft); color: var(--ink); }

/* Cabeçalho -------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 8px 24px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  letter-spacing: -.01em; color: var(--ink); text-decoration: none;
  padding: 8px 0; white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; flex: 0 0 auto; }

.nav { display: flex; align-items: center; gap: 0 4px; font-size: .9875rem; }
.nav a {
  color: var(--ink); text-decoration: none; white-space: nowrap;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav .nav-cta { margin-left: 8px; background: var(--ink); color: #FFF; }
.nav .nav-cta:hover { background: #000; color: #FFF; }

@media (max-width: 900px) {
  .site-header .container { flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
  .nav {
    order: 3; width: calc(100% + 48px); margin: 0 -24px; padding: 0 16px 6px;
    overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav .nav-cta { display: none; }
  html { scroll-padding-top: 120px; }
}

/* Seções ----------------------------------------------------------------- */

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-alert { background: var(--red-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
}
.section-alert .eyebrow { color: var(--red); }

.section-title {
  margin: 0 0 16px;
  font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.08; letter-spacing: -.02em;
}
.section-lead {
  margin: 0 0 56px; max-width: 36em;
  font-size: 1.15rem; color: var(--ink-soft);
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(28, 93, 153, .10), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(198, 40, 40, .06), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.hero .container {
  padding-top: 72px; padding-bottom: 96px;
  display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center;
}
.hero-copy { flex: 1 1 380px; min-width: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 24px; padding: 6px 14px 6px 10px;
  background: #FFF; border: 1px solid var(--line); border-radius: 999px;
  font-size: .875rem; font-weight: 700; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(198, 40, 40, .15); }

.hero-title {
  margin: 0 0 24px; padding-bottom: .1em; overflow: hidden;
  font-weight: 800; font-size: clamp(3rem, 7vw, 5.25rem);
  line-height: 1.02; letter-spacing: -.035em;
}
.hero-title > span { display: block; }
.hero-title .accent { color: var(--blue); }

.hero-lead { margin: 0 0 32px; max-width: 30em; font-size: 1.25rem; line-height: 1.5; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 40px; }

.hero-points {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin: 0; padding: 0; list-style: none;
  font-size: .9375rem; color: var(--ink-soft);
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--green); flex: 0 0 auto; }

/* Teste interativo ------------------------------------------------------- */

.quiz {
  position: relative;
  flex: 1 1 440px; min-width: 0; max-width: 560px;
  background: #FFF; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.quiz-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 24px; border-bottom: 1px solid var(--line-soft);
  font-size: .9375rem; color: var(--ink-soft); font-variant-numeric: tabular-nums;
}
.quiz-head strong { color: var(--ink); }
.quiz-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.quiz-score {
  padding: 2px 10px; border-radius: 999px;
  background: var(--bg-soft); font-weight: 700; color: var(--ink-soft);
}

.quiz-bar { height: 4px; background: var(--line-soft); }
.quiz-bar-fill {
  height: 100%; width: 0%; background: var(--blue);
  border-radius: 0 2px 2px 0;
  transition: width .6s var(--ease);
}

.quiz-body { padding: 24px; }

.quiz-channel {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; font-size: .9375rem; font-weight: 700; color: var(--ink-soft);
}
.quiz-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%;
  background: var(--bubble); color: var(--ink-soft);
}

.quiz-screen {
  min-height: 150px; margin-bottom: 20px; padding: 20px;
  border-radius: 16px; background: var(--bg-soft);
  background-image: radial-gradient(rgba(31, 41, 51, .05) 1px, transparent 1px);
  background-size: 14px 14px;
}

.bubble {
  position: relative; max-width: 92%;
  padding: 16px 18px;
  background: #FFF; border-radius: 16px 16px 16px 4px;
  box-shadow: var(--shadow-sm);
}
.bubble p { margin: 0; font-size: 1.125rem; line-height: 1.75; }
.bubble-meta { display: block; margin-top: 6px; text-align: right; font-size: .75rem; color: var(--ink-faint); }

.typing {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 18px 20px;
  background: #FFF; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow-sm);
}
.typing .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); }
.typing .dot:nth-child(2) { animation-delay: .15s; }
.typing .dot:nth-child(3) { animation-delay: .3s; }

.quiz-question { margin: 0 0 12px; font-weight: 700; }

.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 16px;
  border: 2px solid var(--ink); border-radius: 10px;
  background: #FFF; color: var(--ink);
  font: inherit; font-weight: 700; font-size: 1.1rem;
  cursor: pointer;
}
.qbtn:disabled { cursor: default; }
.qbtn:not(:disabled):hover { background: var(--bg-soft); }
.qbtn.is-chosen { background: var(--ink); color: #FFF; }
.qbtn.is-dim { opacity: .4; }

.feedback { margin-top: 24px; padding: 20px; border-radius: var(--radius); }
.feedback.is-right { background: var(--green-soft); }
.feedback.is-wrong { background: var(--red-soft); }
.feedback-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.feedback-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; color: #FFF;
}
.is-right .feedback-icon { background: var(--green); }
.is-wrong .feedback-icon { background: var(--red); }
.feedback-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.feedback-sub { margin: 0 0 10px; font-weight: 700; }
.feedback-notes { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.feedback-notes li { display: flex; gap: 12px; align-items: baseline; }
.note-num { flex: 0 0 auto; min-width: 1.2em; color: var(--red); font-weight: 700; }
.note-check { flex: 0 0 auto; position: relative; top: 2px; color: var(--green); }

.quiz-done { padding: 32px 24px; text-align: center; }
.done-label { margin: 0 0 6px; color: var(--ink-soft); }
.done-score {
  margin: 0 0 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 4rem;
  line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.done-dots { display: flex; justify-content: center; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.done-dots li { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.done-dots li.hit { background: var(--green); }
.done-dots li.miss { background: var(--red); }
.done-msg { margin: 0 auto 28px; max-width: 26em; font-size: 1.125rem; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (max-width: 420px) {
  .quiz-body, .quiz-head { padding-left: 16px; padding-right: 16px; }
  .quiz-screen { padding: 14px; }
  .bubble { max-width: 100%; }
}

/* Marcação dos sinais de golpe na mensagem */
.mark {
  background-image: linear-gradient(var(--red-mark), var(--red-mark));
  background-repeat: no-repeat; background-size: 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  border-radius: 3px;
  text-decoration-line: underline; text-decoration-style: wavy;
  text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.mark-num { display: inline-block; margin-left: 2px; color: var(--red); font-weight: 700; font-size: .75em; }

/* Golpes comuns ---------------------------------------------------------- */

.cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.card {
  display: flex; flex-direction: column;
  padding: 28px; background: #FFF;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 20px; border-radius: 12px;
  background: var(--red-soft); color: var(--red);
}
.card h3 { margin: 0 0 8px; font-weight: 700; font-size: 1.3rem; line-height: 1.25; }
.card p { margin: 0 0 20px; color: var(--ink-soft); }
.card .tip {
  margin: auto 0 0; padding: 14px 16px;
  border-radius: 10px; background: var(--blue-soft); color: var(--blue-dark);
  font-size: 1rem;
}
.card .tip strong { display: block; margin-bottom: 2px; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }

/* Sinais de alerta ------------------------------------------------------- */

.signals {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  margin: 0 0 48px; padding: 0; list-style: none;
}
.signals li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; background: #FFF; border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(198, 40, 40, .12);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.35;
}
.signal-num {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-top: 1px; border-radius: 50%;
  background: var(--red); color: #FFF; font-size: 1rem;
}
.wavy {
  text-decoration-line: underline; text-decoration-style: wavy;
  text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.callout {
  display: flex; gap: 16px; align-items: flex-start;
  max-width: 48em; padding: 24px 28px;
  background: #FFF; border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.15rem;
}
.callout svg { flex: 0 0 auto; margin-top: 3px; color: var(--blue); }
.callout p { margin: 0; }

/* Se você caiu ----------------------------------------------------------- */

.split { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.split-aside { flex: 1 1 300px; min-width: 0; }
.split-aside .section-lead { margin-bottom: 32px; }
.split-main { flex: 999 1 520px; min-width: 0; }

.urgent {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius);
  background: var(--red-soft); color: var(--ink);
}
.urgent svg { flex: 0 0 auto; color: var(--red); margin-top: 2px; }
.urgent p { margin: 0; }

.steps { display: flex; flex-direction: column; gap: 32px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; display: flex; gap: 20px; align-items: flex-start; }
.step-line, .step-fill {
  position: absolute; left: 21px; top: 48px; bottom: -28px; width: 2px;
  background: var(--line);
}
.step-fill { background: var(--blue); transform-origin: 50% 0; }
.step-num {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #FFF; border: 2px solid var(--blue); color: var(--blue);
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
}
.step-body { min-width: 0; padding-top: 8px; }
.step-body h3 { margin: 0 0 6px; font-weight: 700; font-size: 1.25rem; }
.step-body p { margin: 0; color: var(--ink-soft); }

/* Seus direitos ---------------------------------------------------------- */

.rights {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.right {
  padding: 28px; background: #FFF;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.right-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
}
.right h3 { margin: 0 0 8px; font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.right p { margin: 0; color: var(--ink-soft); }

/* Compartilhar ----------------------------------------------------------- */

.share {
  background: var(--blue); color: #FFF;
}
.share .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  padding-top: 64px; padding-bottom: 64px;
}
.share h2 { margin: 0 0 8px; color: #FFF; font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.25rem); letter-spacing: -.02em; line-height: 1.15; }
.share p { margin: 0; max-width: 34em; color: rgba(255, 255, 255, .85); font-size: 1.125rem; }
.share .btn-light { background: #FFF; border-color: #FFF; color: var(--blue-dark); }
.share .btn-light:hover { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--blue-dark); }
.share-status { display: block; min-height: 1.5em; margin-top: 8px; font-size: .9375rem; color: rgba(255, 255, 255, .9); }

/* Rodapé ----------------------------------------------------------------- */

.site-footer { background: var(--ink); color: #E4E8EE; }
.site-footer .container { padding-top: 64px; padding-bottom: 40px; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px;
  padding-bottom: 32px; border-bottom: 1px solid #3E4C59;
}
.footer-about { flex: 1 1 320px; min-width: 0; max-width: 30em; }
.footer-about .brand { color: #FFF; margin-bottom: 12px; }
.footer-about p { margin: 0 0 8px; color: #B8C2CC; }
.footer-about .lead { color: #FFF; font-size: 1.125rem; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav a { color: #E4E8EE; text-decoration: none; padding: 6px 0; }
.footer-nav a:hover { color: #FFF; text-decoration: underline; }
.footer-title { margin: 0 0 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9AA5B1; }
.footer-bottom { margin: 24px 0 0; font-size: .9375rem; color: #B8C2CC; }

/* Animações -------------------------------------------------------------- */

@keyframes mask-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bubble-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(4px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes ink { from { text-decoration-color: rgba(198, 40, 40, 0); } to { text-decoration-color: #C62828; } }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes fill-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .h-mask { animation: mask-up .9s var(--ease) both; }
  .h-rise { animation: rise .7s var(--ease) both; }
  .bubble-in { animation: bubble-in .45s var(--ease) both; transform-origin: 0 100%; }
  .rise-in { animation: rise .45s var(--ease) both; }
  .mark { animation: sweep .55s cubic-bezier(.3, .7, .2, 1) both, ink .45s ease-out both; }
  .pop { animation: pop .3s var(--ease) both; }
  .dot { animation: dot 1s ease-in-out infinite; }
  .btn, .nav a, .qbtn { transition: background-color .18s ease, border-color .18s ease, color .18s ease, opacity .25s ease, transform .12s ease; }
  .btn:active, .qbtn:not(:disabled):active { transform: scale(.98); }
  .card, .right { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease; }
  .card:hover, .right:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #C5CDD6; }

  @supports (animation-timeline: view()) {
    .sv-ink { animation: ink linear both; animation-timeline: view(); animation-range: entry 50% cover 30%; }
    .sv-fill { animation: fill-y linear both; animation-timeline: view(); animation-range: entry 100% cover 55%; }
  }
}

/* Impressão -------------------------------------------------------------- */

@media print {
  .site-header, .hero-actions, .quiz, .share, .footer-nav { display: none !important; }
  .section, .hero .container { padding: 24px 0; }
  .card, .right, .signals li { break-inside: avoid; box-shadow: none; border: 1px solid #CCC; }
  body { font-size: 12pt; }
}
