:root {
  --bg: #f6f0e8;
  --card: #fffaf3;
  --text: #2a201b;
  --muted: #6f625a;
  --line: #e1d4c7;
  --accent: #7b4e36;
  --accent-dark: #5d3927;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.page {
  width: min(920px, 92vw);
  margin: 0 auto;
  padding: 40px 0 70px;
}

.hero {
  text-align: center;
  margin-bottom: 28px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  color: var(--accent);
  font-weight: bold;
}

h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  margin: 10px 0 16px;
}

h2 {
  font-size: 28px;
  margin: 0 0 18px;
}

h3 {
  font-size: 21px;
  margin: 0 0 12px;
}

.subtitle {
  font-size: 20px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(50, 35, 20, .06);
}

.video-box {
  border: 1px dashed var(--accent);
  border-radius: 16px;
  padding: 24px;
  margin-top: 20px;
  background: rgba(123, 78, 54, .06);
}

label {
  display: block;
  margin: 18px 0;
  font-weight: bold;
}

input, select {
  width: 100%;
  display: block;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 16px;
  background: white;
  color: var(--text);
}

.question-block {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 28px;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: normal;
  font-size: 14px;
  color: var(--muted);
}

.consent input {
  width: auto;
  margin-top: 5px;
}

button, .cta {
  display: inline-block;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 17px 22px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: var(--accent);
  color: white;
  transition: .2s ease;
}

button:hover, .cta:hover {
  background: var(--accent-dark);
}

.result p {
  font-size: 18px;
}

.notice {
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  margin: 26px 0;
  background: rgba(123, 78, 54, .07);
  border-radius: 14px;
}

.small {
  font-size: 13px !important;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 640px) {
  .card { padding: 22px; border-radius: 18px; }
  h2 { font-size: 24px; }
}

/* Ajustes da v2 */
.video-box iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  margin-top: 10px;
}

.video-title {
  margin-top: 0;
}

.step-video {
  margin-bottom: 18px;
}

.small.left {
  text-align: left;
}

select:disabled {
  opacity: .75;
  cursor: not-allowed;
  background: #f3eee7;
}

/* Pergunta de feedback no fim da leitura */
.feedback {
  margin: 28px 0 6px;
}

.feedback-pergunta {
  font-size: 18px;
  margin-bottom: 12px;
}

.feedback-botoes {
  display: flex;
  gap: 12px;
}

.feedback-botoes .cta {
  width: auto;
  flex: 1;
}

.cta-claro {
  background: #9c8676;
}

.cta-claro:hover {
  background: #836e5f;
}

.feedback-resposta {
  display: none;
  margin-top: 14px;
}

.cta-destaque {
  font-size: 18px;
  padding: 20px 22px;
  margin-top: 18px;
}

.secundario {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}

.secundario a {
  color: var(--accent);
  font-weight: bold;
}

/* Caixinha da live (destaque no topo do resultado) */
.live-box {
  border: 2px solid var(--accent);
  background: rgba(123, 78, 54, .08);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 26px;
}

.live-box .live-tag {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 10px;
}

.live-box p {
  margin: 0 0 10px;
}

/* Entrega da leitura completa pelo e-mail */
.email-delivery-box {
  border: 2px solid var(--accent);
  background: #fff3df;
  border-radius: 18px;
  padding: 24px;
  margin: 28px 0;
  box-shadow: 0 8px 24px rgba(93, 57, 39, .10);
}

.email-delivery-box h2 {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.2;
  margin-bottom: 14px;
}

.email-delivery-box p {
  margin: 0 0 10px;
}

.email-delivery-tag {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px !important;
  font-weight: bold;
  color: var(--accent);
}

/* Rodapé com redes sociais */
.rodape {
  text-align: center;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.rodape p {
  margin: 0 0 10px;
  font-size: 14px;
}

.rodape-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.rodape-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.rodape-links a:hover {
  text-decoration: underline;
}

/* Campo anti-robô: invisível para pessoas, robôs de spam o preenchem e são barrados */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* Vídeos do YouTube */
.video {
  margin: 18px 0 8px;
}

.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  display: block;
}

/* Universo Val 2026 — camada exclusivamente visual */
:root {
  --bg: #fff8f2;
  --card: #fffcf8;
  --text: #2d2131;
  --muted: #5c4a60;
  --line: #d8c4dc;
  --accent: #8759b5;
  --accent-dark: #74449f;
  --accent-soft: #e5d6f1;
  --peach-soft: #f9d9cc;
  --coral: #f39578;
  --paper: #fffcf8;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Aptos, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 8%, rgba(229, 214, 241, 0.8), transparent 28%),
    radial-gradient(circle at 94% 42%, rgba(249, 217, 204, 0.72), transparent 28%),
    linear-gradient(145deg, #fff8f2 4%, #fffcf8 52%, #fdf1f2 100%);
  color: var(--text);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

p {
  margin: 0 0 1.05rem;
}

::selection {
  background: var(--accent-soft);
  color: var(--text);
}

.page {
  width: min(980px, calc(100% - 40px));
  padding: clamp(58px, 8vw, 96px) 0 84px;
}

.hero {
  position: relative;
  max-width: 850px;
  margin: 0 auto clamp(38px, 6vw, 58px);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -28px;
  left: 50%;
  width: min(560px, 82vw);
  height: min(260px, 42vw);
  transform: translateX(-50%);
  border: 1px solid rgba(135, 89, 181, 0.14);
  border-radius: 50%;
  content: "";
}

.eyebrow,
.video-title,
.live-tag,
.email-delivery-tag {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.76rem !important;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow,
.live-box .live-tag,
.email-delivery-box .email-delivery-tag {
  color: #684f6e;
}

.video-box .video-title {
  color: #f1e6f2;
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  margin: 12px 0 22px;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: 0.97;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.06;
}

h3 {
  margin-bottom: 15px;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.14;
}

.subtitle {
  max-width: 720px;
  color: #58475c;
  font-family: var(--font-display);
  font-size: clamp(1.16rem, 2.4vw, 1.48rem);
  line-height: 1.5;
}

.card {
  margin-bottom: 28px;
  border: 1px solid rgba(45, 33, 49, 0.15);
  border-radius: 30px;
  padding: clamp(26px, 5vw, 48px);
  background: rgba(255, 252, 248, 0.94);
  box-shadow: 0 28px 72px rgba(67, 44, 73, 0.1);
}

.intro {
  background:
    radial-gradient(circle at 94% 4%, rgba(249, 217, 204, 0.7), transparent 26%),
    rgba(255, 252, 248, 0.95);
}

.card p {
  color: #58475c;
}

.card strong {
  color: var(--text);
}

.video-box,
.video {
  overflow: hidden;
  border: 1px solid rgba(45, 33, 49, 0.16);
  border-radius: 24px;
  background: var(--text);
  box-shadow: 0 20px 48px rgba(67, 44, 73, 0.13);
}

.video-box {
  padding: 20px;
}

.video {
  margin: 22px 0 20px;
}

.video-box iframe,
.video iframe {
  border-radius: 18px;
}

.question-block {
  margin-top: 30px;
  border: 1px solid rgba(45, 33, 49, 0.14);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 96% 2%, rgba(229, 214, 241, 0.52), transparent 24%),
    rgba(255, 248, 242, 0.62);
}

.question-block + .question-block {
  margin-top: 20px;
}

.form > h2:not(:first-child) {
  margin-top: 2.7rem;
  border-top: 1px solid rgba(45, 33, 49, 0.14);
  padding-top: 2.3rem;
}

.question-block h3 {
  max-width: 720px;
}

label {
  margin: 22px 0;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
}

input,
select {
  min-height: 54px;
  margin-top: 10px;
  border: 1px solid rgba(45, 33, 49, 0.22);
  border-radius: 15px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

input::placeholder {
  color: #807083;
}

input:focus,
select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(135, 89, 181, 0.14);
}

input:hover,
select:hover {
  border-color: var(--accent);
}

select:disabled {
  background: #f1e8f4;
  color: #6a5a6d;
}

.consent {
  margin-top: 30px;
  border: 1px solid rgba(45, 33, 49, 0.13);
  border-radius: 18px;
  padding: 18px;
  background: rgba(249, 217, 204, 0.42);
  color: #5c4a60;
  font-size: 0.86rem;
  line-height: 1.58;
}

.consent input {
  width: 22px;
  height: 22px;
  min-height: 22px;
  flex: 0 0 22px;
  margin-top: 2px;
  accent-color: var(--accent);
}

button,
.cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 24px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  line-height: 1.3;
  box-shadow: 0 15px 34px rgba(135, 89, 181, 0.2);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

button:hover,
.cta:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

button:disabled {
  transform: none;
  cursor: wait;
  opacity: 0.76;
}

.notice {
  margin: 28px 0;
  border: 1px solid rgba(135, 89, 181, 0.22);
  border-left: 5px solid var(--accent);
  border-radius: 18px;
  padding: 20px 22px;
  background: rgba(229, 214, 241, 0.46);
}

.notice p:last-child {
  margin-bottom: 0;
}

.small {
  color: #6b596f;
  line-height: 1.55;
}

.result p {
  color: #58475c;
  font-size: 1.08rem;
  line-height: 1.72;
}

.feedback {
  border-top: 1px solid rgba(45, 33, 49, 0.14);
  padding-top: 28px;
}

.feedback-botoes {
  gap: 14px;
}

.cta-claro {
  border-color: rgba(45, 33, 49, 0.22);
  background: rgba(255, 248, 242, 0.78);
  color: var(--text);
  box-shadow: none;
}

.cta-claro:hover {
  border-color: var(--coral);
  background: var(--peach-soft);
  color: var(--text);
}

.cta-destaque {
  padding: 18px 24px;
  font-size: 0.95rem;
}

.secundario {
  color: var(--muted);
}

.secundario a,
.rodape-links a {
  color: var(--accent);
}

.live-box,
.email-delivery-box {
  border: 1px solid rgba(45, 33, 49, 0.16);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 30px);
  box-shadow: none;
}

.live-box {
  background: rgba(249, 217, 204, 0.54);
}

.email-delivery-box {
  background: rgba(229, 214, 241, 0.56);
}

.email-delivery-box h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
}

.rodape {
  margin-top: 42px;
  border-top-color: rgba(45, 33, 49, 0.16);
  padding-top: 30px;
  color: #5c4a60;
}

.rodape-links {
  gap: 22px;
}

.rodape-links a {
  position: relative;
  padding: 8px 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rodape-home {
  margin-top: 20px;
}

.rodape-home a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(135, 89, 181, 0.42);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.rodape-home a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  z-index: 10001;
  top: 10px;
  left: 10px;
  transform: translateY(-180%);
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(45, 33, 49, 0.18);
}

.skip-link:focus {
  transform: translateY(0);
}

.cf-turnstile {
  max-width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.result,
.email-delivery-box {
  overflow-wrap: anywhere;
}

[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  z-index: 10000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  width: min(920px, calc(100% - 32px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(45, 33, 49, 0.2);
  border-radius: 22px;
  padding: 20px;
  background: rgba(255, 252, 248, 0.98);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(45, 33, 49, 0.2);
  backdrop-filter: blur(12px);
}

.cookie-consent-copy strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
}

.cookie-consent-copy p {
  max-width: 620px;
  margin: 0;
  color: #58475c;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent-copy a {
  color: #684f6e;
  font-weight: 700;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-consent button,
.cookie-preferences {
  width: auto;
  min-height: 44px;
  padding: 10px 16px;
  box-shadow: none;
  font-size: 0.76rem;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.cookie-consent .cookie-consent-decline {
  border-color: rgba(135, 89, 181, 0.48);
  background: transparent;
  color: #684f6e;
}

.cookie-consent .cookie-consent-decline:hover {
  background: var(--accent-soft);
  color: var(--text);
}

.cookie-consent .cookie-consent-accept {
  background: var(--accent);
  color: var(--bg);
}

.cookie-preferences {
  position: fixed;
  z-index: 9999;
  bottom: 12px;
  left: 12px;
  border-color: rgba(135, 89, 181, 0.42);
  background: rgba(255, 252, 248, 0.96);
  color: #684f6e;
  backdrop-filter: blur(10px);
}

.cookie-preferences:hover {
  background: var(--accent);
  color: var(--bg);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 28px, 980px);
    padding: 48px 0 62px;
  }

  .hero {
    margin-bottom: 34px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 4.7rem);
  }

  .subtitle {
    font-size: 1.14rem;
  }

  .card {
    border-radius: 24px;
    padding: 24px 20px;
  }

  .question-block {
    border-radius: 20px;
    padding: 22px 18px;
  }

  .feedback-botoes {
    flex-direction: column;
  }

  .feedback-botoes .cta {
    width: 100%;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent button {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .card {
    padding: 22px 15px;
  }

  .question-block {
    padding: 20px 14px;
  }

  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    border-radius: 18px;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
