﻿:root {
  --color-bg: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-text: #000000;
  --color-muted: #2E2E2E;
  --color-muted-2: #555555;
  --color-accent: #DB1011;
  --color-accent-hover: #B80D0E;
  --color-accent-pressed: #8F0A0B;
  --color-border: rgba(0, 0, 0, 0.12);
  --color-border-strong: rgba(0, 0, 0, 0.22);
  --color-focus: rgba(219, 16, 17, 0.28);

  --font-sans: "Glacial Indifference", "Arimo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Parmigiano Text", Georgia, "Times New Roman", Times, serif;
  --font-script: "Playlist Script", "Funky Signature", "Brush Script MT", cursive;

  --font-body: var(--font-sans);
  --font-heading: var(--font-sans);
  --font-display: var(--font-script);

  --weight-regular: 400;
  --weight-bold: 700;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.1875rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.25rem;

  --leading-tight: 1.1;
  --leading-snug: 1.2;
  --leading-normal: 1.45;
  --leading-relaxed: 1.65;

  --tracking-tight: -0.01em;
  --tracking-normal: 0em;
  --tracking-wide: 0.06em;

  --container-max: 1080px;
  --gutter: 20px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 56px;
  --space-10: 72px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.10);

  --btn-font: var(--font-sans);
  --btn-weight: var(--weight-bold);
  --btn-radius: var(--radius-pill);
  --btn-padding-y: 14px;
  --btn-padding-x: 22px;

  --input-font: var(--font-body);
  --input-radius: var(--radius-md);
  --input-padding-y: 14px;
  --input-padding-x: 16px;

  --z-header: 50;
  --z-modal: 100;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #2b231d;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  background:
    radial-gradient(circle at 10% -6%, rgba(203, 162, 82, 0.16), transparent 38%),
    radial-gradient(circle at 92% 118%, rgba(219, 182, 108, 0.14), transparent 36%),
    #f6f1e9;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 22% 14%, rgba(255, 255, 253, 0.795), rgba(251, 255, 0, 0.021) 42%, transparent 42%),
    radial-gradient(circle at 78% 74%, rgba(255, 254, 252, 0.308), transparent 50%);
  opacity: 1;
}

.page-art {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-lines {
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: filter 260ms ease;
}

.page-lines path {
  fill: none;
  stroke: rgba(191, 146, 62, 0.26);
  stroke-width: 0.82;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 420 30;
  animation: pageLineFlow 162s linear infinite;
}

.page-lines path:nth-child(2n) {
  stroke-opacity: 0.68;
  stroke-width: 0.68;
  animation-duration: 205s;
  animation-direction: reverse;
}

.page-lines path:nth-child(3n) {
  stroke: rgba(198, 150, 69, 0.22);
  stroke-opacity: 0.44;
  stroke-width: 0.64;
  animation-duration: 229s;
}

@keyframes pageLineFlow {
  to {
    stroke-dashoffset: -1500;
  }
}


.site-header,
main,
.site-footer,
.sticky-cta,
.skip-link {
  position: relative;
  z-index: 2;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: var(--color-surface);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: calc(var(--z-header) + 1);
}

.skip-link:focus-visible {
  left: var(--space-4);
  top: var(--space-4);
}

.container {
  width: min(var(--container-max), 100% - (2 * var(--gutter)));
  margin-inline: auto;
}

.section {
  padding-block: clamp(var(--space-8), 5.5vw, var(--space-10));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid rgba(92, 60, 36, 0.18);
  background: rgba(248, 241, 232, 0.84);
  backdrop-filter: blur(12px) saturate(115%);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(var(--space-5), 2.3vw, var(--space-6));
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.brand-logo-stack {
  position: relative;
  display: block;
  width: 186px;
  height: 52px;
  filter: drop-shadow(0 6px 14px rgba(96, 66, 44, 0.18));
}

.brand-logo-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  will-change: opacity;
  transition: opacity 320ms ease;
}

.brand-logo-black {
  opacity: 1;
}

.brand-logo-red {
  opacity: 0;
}

.brand:hover .brand-logo-red,
.brand:focus-visible .brand-logo-red,
.brand.is-logo-active .brand-logo-red {
  opacity: 1;
}

.brand:hover .brand-logo-black,
.brand:focus-visible .brand-logo-black,
.brand.is-logo-active .brand-logo-black {
  opacity: 0;
}

.brand-fallback {
  display: none;
  color: #2f201a;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
}

.header-nav {
  list-style: none;
  display: flex;
  gap: var(--space-6);
  padding: 0;
  margin: 0;
}

.header-nav a {
  color: #3a3226;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.02em;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--color-accent);
}

/* ===================== */
/* MOBILE */
/* ===================== */

@media (max-width: 768px) {

  .header-nav {
    gap: var(--space-4);
  }

  .header-nav a {
    font-size: 12px;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;   /* palavras uma em cima da outra */
    align-items: center;      /* centraliza horizontalmente */
    justify-content: center;  /* centraliza verticalmente */
    text-align: center;

    line-height: 1.05;        /* controla espaço entre as palavras */
    padding-top: 10px;        /* equilíbrio top */
    padding-bottom: 10px;     /* equilíbrio bottom */

    white-space: normal;      /* permite quebra de linha */
  }

}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(var(--space-9), 6.4vw, var(--space-10));
  padding-bottom: clamp(var(--space-9), 7vw, var(--space-10));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: none;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(var(--space-7), 4.2vw, var(--space-9));
}

.hero-main h1 {
  margin: 0;
  max-width: 15ch;
  color: #3d2c22;
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 5vw, var(--text-6xl));
  line-height: 1.03;
  letter-spacing: -0.01em;
}

.eyebrow {
  margin: 0 0 var(--space-3);
  display: inline-flex;
  align-items: center;
  color: #8f5e31;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
}

.hero-subtitle {
  margin: var(--space-5) 0 var(--space-3);
  max-width: 58ch;
  color: #654a3a;
}

.hero-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.hero-step {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(121, 80, 52, 0.23);
  background: rgba(255, 252, 248, 0.58);
  backdrop-filter: blur(5px);
}

.hero-step-icon svg {
  width: 26px;
  height: 26px;
}

.hero-step-icon circle {
  fill: rgba(170, 6, 6, 0.89);
  stroke: #a36a3c;
  stroke-width: 1.2;
}

.hero-step-icon text {
  fill: #ffffff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: var(--weight-bold);
  text-anchor: middle;
  dominant-baseline: central;
}

.hero-step-label {
  color: #3f2d23;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  white-space: nowrap;
}

.hero-step-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: rgba(139, 93, 54, 0.65);
  stroke-width: 1.7;
}

.hero-note {
  margin: 0 0 var(--space-7);
  max-width: 54ch;
  color: #6f5343;
}

.card {
  border: 1px solid rgba(54, 16, 16, 0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.911), rgba(180, 172, 147, 0.123));
  box-shadow:
    0 18px 40px rgba(133, 129, 111, 0.137),
    inset 0 1px 0 rgba(160, 144, 144, 0.267);
  backdrop-filter: blur(10px);
}

.form-card,
.ticket-card,
.info-card,
.prize-card,
.rules-card {
  position: relative;
  overflow: hidden;
}

.form-card::before,
.ticket-card::before,
.prize-card::before,
.rules-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(88, 0, 0, 0.95), rgba(255, 0, 0, 0.692) 55%, rgba(255, 174, 0, 0));
}

.form-card {
  padding: clamp(var(--space-6), 2.4vw, var(--space-7));
}

.field-group {
  margin-bottom: var(--space-5);
}

.field-group label {
  display: block;
  margin-bottom: var(--space-2);
  color: #3d2d25;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  border: 1px solid rgba(128, 87, 57, 0.35);
  border-radius: var(--input-radius);
  padding: var(--input-padding-y) var(--input-padding-x);
  font: inherit;
  color: #2c2019;
  background-color: rgba(255, 255, 255, 0.7);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

input::placeholder {
  color: rgba(95, 63, 44, 0.55);
}

input[type="text"]:focus,
input[type="tel"]:focus {
  outline: none;
  border-color: #bf8249;
  box-shadow: 0 0 0 5px rgba(219, 16, 17, 0.18);
  background-color: rgba(255, 255, 255, 0.9);
}

input.invalid {
  border-color: var(--color-accent);
}

.field-error {
  margin: var(--space-2) 0 0;
  min-height: 1.2em;
  color: var(--color-accent);
  font-size: var(--text-sm);
}

.btn {
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  padding: var(--btn-padding-y) var(--btn-padding-x);
  font-family: var(--btn-font);
  font-size: var(--text-md);
  font-weight: var(--btn-weight);
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 5px var(--color-focus);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  color: var(--color-surface);
  background: linear-gradient(180deg, #e0281e, #b81212);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #d91f18, #ce6060);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(116, 77, 51, 0.38);
  color: #4a3428;
  background: rgba(255, 253, 250, 0.58);
}

.btn-outline:hover:not(:disabled) {
  border-color: #ad7548;
  color: #2e211a;
}

.btn-outline.is-active {
  border-color: #ad7548;
  background: rgba(255, 255, 255, 0.78);
}

.btn-ghost {
  padding-inline: 0;
  border: 0;
  background: transparent;
  color: #6f4f3d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-ghost:hover:not(:disabled),
.btn-ghost.is-active {
  color: #2e2119;
}

.microcopy {
  margin: var(--space-3) 0 0;
  color: #6e4f40;
  font-size: var(--text-sm);
}

.form-status {
  margin: var(--space-4) 0 0;
  min-height: 1.3em;
  color: #5d473c;
  font-size: var(--text-sm);
}

.form-status.success {
  color: #0e7d28;
}

.form-status.error {
  color: #be1a1a;
}

.hero-social-proof {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-social-proof p {
  margin: 0;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(121, 83, 56, 0.26);
  background: rgba(255, 251, 245, 0.54);
  color: #4d382d;
  font-size: var(--text-sm);
}

.ticket-card {
  padding: clamp(var(--space-6), 2.2vw, var(--space-7));
}

.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
}

.ticket-label {
  margin: 0;
  color: #80604f;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.ticket-value {
  margin: 0;
  color: #3a2a21;
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
}

.ticket-status {
  margin-top: var(--space-3);
  color: #665042;
}

.steps-list {
  margin: var(--space-5) 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.steps-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--space-3);
  color: #5f473a;
}

.steps-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(135, 94, 65, 0.4);
  background: transparent;
  margin-top: 1px;
}

.steps-list li.is-done::before {
  border-color: #c3874f;
  background: radial-gradient(circle at center, rgba(219, 16, 17, 0.88) 42%, transparent 43%);
}

.steps-list li.is-current::before {
  border-color: #c3874f;
  background: radial-gradient(circle at center, rgba(195, 135, 79, 0.2) 58%, transparent 59%);
}

.steps-list strong {
  display: block;
  color: #433228;
  font-size: var(--text-sm);
}

.steps-list span {
  font-size: var(--text-sm);
}

.instagram-actions {
  display: grid;
  gap: var(--space-3);
}

.instagram-actions [hidden] {
  display: none !important;
}

#confirmButton {
  margin-top: var(--space-4);
  width: 100%;
}

.readonly-lock {
  display: inline-flex;
  margin-top: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(130, 90, 61, 0.32);
  background: rgba(255, 255, 255, 0.55);
  color: #5e4537;
  font-size: var(--text-xs);
}

h2 {
  margin: 0 0 var(--space-7);
  color: #3a2a21;
  font-size: clamp(var(--text-xl), 3.2vw, var(--text-3xl));
  line-height: var(--leading-tight);
}

.info-grid {
  display: grid;
  gap: clamp(var(--space-5), 2.3vw, var(--space-6));
}

.info-card,
.prize-card,
.rules-card {
  padding: clamp(var(--space-6), 2.4vw, var(--space-7));
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 102, 67, 0.25);
  margin-bottom: var(--space-4);
  background: rgba(255, 255, 255, 0.5);
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #9e6842;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h3 {
  margin: 0 0 var(--space-2);
  color: #433126;
  font-size: var(--text-lg);
}

.info-card p,
.bullet-list {
  color: #6a5041;
}

#prizeTitle {
  margin: 0 0 var(--space-4);
  color: #a66a42;
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
}

.bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: var(--space-2);
}

.site-footer {
  border-top: 1px solid rgba(150, 104, 73, 0.18);
  background: rgba(244, 235, 226, 0.64);
  padding-block: var(--space-6);
  margin-bottom: 78px;
}

.footer-inner {
  color: #604b3f;
  font-size: var(--text-sm);
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: calc(var(--z-header) + 1);
  border-top: 1px solid rgba(152, 103, 71, 0.2);
  background: rgba(248, 241, 232, 0.86);
  backdrop-filter: blur(10px);
  padding: var(--space-3) var(--space-5);
}

.sticky-cta .btn {
  width: 100%;
}

.reveal {
  opacity: 1;
  transform: none;
}

.motion-enhanced .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.motion-enhanced .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .card {
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  }

  .card:hover {
    transform: translateY(-3px);
    border-color: rgba(110, 1, 1, 0.281);
    box-shadow:
      0 22px 40px rgba(104, 103, 99, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .hero-aside {
    position: sticky;
    top: calc(78px + var(--space-4));
  }

  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sticky-cta {
    display: none;
  }

  .site-footer {
    margin-bottom: 0;
  }
}

@media (max-width: 760px) {
  .section {
    padding-block: clamp(var(--space-7), 8vw, var(--space-8));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-logo-stack {
    width: 154px;
    height: 43px;
  }

  .header-nav {
    gap: var(--space-4);
  }

  .hero-step-label {
    white-space: normal;
  }

  .hero-step-arrow {
    display: none;
  }
}

@media (max-width: 420px) {
  .btn {
    width: 100%;
  }

  .hero-main h1 {
    font-size: clamp(var(--text-2xl), 11vw, var(--text-4xl));
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .page-lines {
    transform: none !important;
    filter: none !important;
  }

  body::before {
    opacity: 0.2 !important;
  }

  .motion-enhanced .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 860px) {
  .card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;

    /* mantém o look “glass”, mas sem o bug */
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(133, 129, 111, 0.12);
  }
}






