/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Work Sans', sans-serif;
  background: #F4EEE3;
  color: #3C3C3B;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.step {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
  animation: fadeIn 400ms ease;
}

.step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== HEADER ===== */
.logo-svg {
  display: inline-block;
  height: 28px;
  width: auto;
}

.landing-header .logo-svg {
  height: 32px;
}

/* ===== PROGRESS ===== */
.progress-bar {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid rgba(60, 60, 59, 0.08);
  position: sticky;
  top: 0;
  z-index: 90;
}

.progress-bar.visible {
  display: flex;
}

.progress-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ddd;
  transition: background 300ms, transform 300ms;
  position: relative;
}

.progress-dot.completed {
  background: #C4122F;
}

.progress-dot.completed::after {
  content: '\2713';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.progress-dot.active {
  background: #C4122F;
  transform: scale(1.15);
}

.progress-line {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: #ddd;
}

.progress-line.completed {
  background: #C4122F;
}

@media (max-width: 999px) {
  .progress-bar {
    gap: 6px;
    padding: 12px 16px;
  }

  .progress-dot {
    width: 12px;
    height: 12px;
  }

  .progress-dot.completed::after {
    font-size: 7px;
  }

  .progress-line {
    width: 20px;
    height: 2px;
  }
}

@media (max-width: 767px) {
  .progress-bar {
    gap: 4px;
    padding: 10px 12px;
  }

  .progress-dot {
    width: 10px;
    height: 10px;
  }

  .progress-dot.completed::after {
    font-size: 6px;
  }

  .progress-line {
    width: 14px;
    height: 2px;
  }
}

/* ===== STEP 1 — LANDING ===== */
.landing-hero {
  background: linear-gradient(145deg, #2a0105 0%, #6e0109 30%, #9B020D 55%, #C4122F 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 56px, rgba(255, 255, 255, 0.025) 56px, rgba(255, 255, 255, 0.025) 57px),
    repeating-linear-gradient(90deg, transparent, transparent 56px, rgba(255, 255, 255, 0.025) 56px, rgba(255, 255, 255, 0.025) 57px);
  pointer-events: none;
}

.landing-hero::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1.5px solid rgba(199, 163, 82, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 0 80px rgba(199, 163, 82, 0.04);
}

/* --- Floating figurinhas --- */
.hero-figurinhas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-fig {
  position: absolute;
  width: 54px;
  height: 72px;
  background: linear-gradient(145deg, rgba(199, 163, 82, 0.12), rgba(255, 255, 255, 0.06));
  border: 1.5px solid rgba(199, 163, 82, 0.15);
  border-radius: 4px;
  backdrop-filter: blur(2px);
  opacity: 0;
  animation: floatFig 18s ease-in-out infinite;
}

.hero-fig::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.hero-fig::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  height: 6px;
  background: repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.08) 0px, rgba(255, 255, 255, 0.08) 6px,
      transparent 6px, transparent 9px);
  border-radius: 1px;
}

.hero-fig:nth-child(1) {
  left: 5%;
  top: 20%;
  animation-delay: 0s;
  transform: rotate(-12deg);
}

.hero-fig:nth-child(2) {
  right: 6%;
  top: 35%;
  animation-delay: -4s;
  transform: rotate(8deg);
  width: 44px;
  height: 60px;
}

.hero-fig:nth-child(3) {
  left: 12%;
  bottom: 18%;
  animation-delay: -8s;
  transform: rotate(-5deg);
  width: 48px;
  height: 66px;
}

.hero-fig:nth-child(4) {
  right: 14%;
  top: 12%;
  animation-delay: -12s;
  transform: rotate(15deg);
  width: 40px;
  height: 54px;
}

.hero-fig:nth-child(5) {
  left: 70%;
  bottom: 25%;
  animation-delay: -6s;
  transform: rotate(-8deg);
  width: 38px;
  height: 52px;
}

@keyframes floatFig {

  0%,
  100% {
    opacity: 0;
    transform: translateY(20px) rotate(var(--r, -12deg));
  }

  15%,
  85% {
    opacity: 1;
  }

  50% {
    opacity: 1;
    transform: translateY(-12px) rotate(var(--r, -12deg));
  }
}

.hero-fig:nth-child(1) {
  --r: -12deg;
}

.hero-fig:nth-child(2) {
  --r: 8deg;
}

.hero-fig:nth-child(3) {
  --r: -5deg;
}

.hero-fig:nth-child(4) {
  --r: 15deg;
}

.hero-fig:nth-child(5) {
  --r: -8deg;
}

@media (max-width: 767px) {
  .hero-fig {
    display: none;
  }

  .hero-fig:nth-child(1),
  .hero-fig:nth-child(2) {
    display: block;
    width: 36px;
    height: 48px;
  }
}

/* --- Trophy accent --- */
.hero-trophy {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 90px;
  opacity: 0.05;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-trophy {
    display: none;
  }
}

/* --- Sticker sparkle dots --- */
.hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #C7A352;
  border-radius: 50%;
  opacity: 0;
  animation: sparkleAnim 3s ease-in-out infinite;
}

.sparkle:nth-child(1) {
  left: 15%;
  top: 25%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  right: 20%;
  top: 40%;
  animation-delay: 0.7s;
}

.sparkle:nth-child(3) {
  left: 25%;
  bottom: 30%;
  animation-delay: 1.4s;
}

.sparkle:nth-child(4) {
  right: 10%;
  bottom: 20%;
  animation-delay: 2.1s;
}

.sparkle:nth-child(5) {
  left: 60%;
  top: 15%;
  animation-delay: 0.5s;
}

.sparkle:nth-child(6) {
  left: 80%;
  top: 55%;
  animation-delay: 1.8s;
}

@keyframes sparkleAnim {

  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.5);
  }
}

/* --- Copa accent stripe --- */
.hero-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #C4122F 0%, #C7A352 50%, #005F6B 100%);
  z-index: 5;
}

.landing-header {
  position: relative;
  z-index: 2;
  padding: 24px 0 16px;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px 40px;
  max-width: 600px;
  margin: 0 auto;
}

.hero-year {
  font-family: 'Fraunces', serif;
  font-size: clamp(3.5rem, 11vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  user-select: none;
  position: relative;
  background: linear-gradient(105deg,
      rgba(199, 163, 82, 0.13) 0%,
      rgba(199, 163, 82, 0.13) 35%,
      rgba(199, 163, 82, 0.3) 50%,
      rgba(199, 163, 82, 0.13) 65%,
      rgba(199, 163, 82, 0.13) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: shimmer2026 4s ease-in-out infinite;
}

@keyframes shimmer2026 {

  0%,
  100% {
    background-position: 100% 0;
  }

  50% {
    background-position: -100% 0;
  }
}

.hero-content h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero-content h1 .accent {
  color: #C7A352;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(199, 163, 82, 0.15);
  border: 1px solid rgba(199, 163, 82, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #C7A352;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 14px;
}

.hero-badge svg {
  width: 13px;
  height: 13px;
}

.hero-ball {
  position: absolute;
  width: 80px;
  height: 80px;
  opacity: 0.04;
  right: 8%;
  top: 18%;
  z-index: 1;
}

@media (max-width: 767px) {
  .hero-ball {
    display: none;
  }
}

/* --- Steps section --- */
.landing-steps {
  position: relative;
  z-index: 2;
  padding: 32px 20px 40px;
  max-width: 700px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-steps h2 {
  font-family: 'Fraunces', serif;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.steps-row {
  display: flex;
  gap: 0;
  justify-content: center;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: rgba(199, 163, 82, 0.2);
}

.ls-card {
  flex: 1;
  text-align: center;
  padding: 0 10px;
  position: relative;
  max-width: 200px;
}

.ls-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(199, 163, 82, 0.15);
  border: 1.5px solid rgba(199, 163, 82, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-family: 'Fraunces', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #C7A352;
  position: relative;
  z-index: 2;
}

.ls-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 2px;
}

.ls-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

@media (max-width: 520px) {
  .landing-steps {
    padding: 24px 24px 32px;
  }

  .ls-card {
    padding: 0 6px;
  }

  .ls-card h3 {
    font-size: 0.92rem;
  }

  .ls-card p {
    font-size: 0.82rem;
  }

  .ls-num {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .steps-row::before {
    top: 16px;
    left: 15%;
    right: 15%;
  }
}

/* --- Light section below hero --- */
.landing-lower {
  background: #F4EEE3;
  padding: 0;
}

.cnpj-block {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 28px 20px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
  position: relative;
  top: -28px;
  z-index: 10;
}

.cnpj-block label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #000;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group input {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1.05rem;
  color: #000;
  background: #fff;
  transition: border-color 200ms;
  outline: none;
}

.input-group input:focus {
  border-color: #C4122F;
}

.input-group input.error {
  border-color: #C4122F;
}

.notices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0 20px 20px;
}

.notice-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(60, 60, 59, 0.15);
  border-radius: 4px;
  font-size: 0.85rem;
  color: #3C3C3B;
  background: rgba(255, 255, 255, 0.5);
}

.notice-chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.site-footer {
  text-align: center;
  padding: 28px 20px;
  font-size: 0.84rem;
  color: #888;
  border-top: 1px solid rgba(60, 60, 59, 0.1);
  margin-top: 32px;
}

.site-footer--landing {
  margin-top: 0;
  border-top: none;
}

.footer-copy,
.footer-link {
  display: inline-block;
}

.footer-copy {
  margin-top: 6px;
}

.footer-link {
  color: #C4122F;
  text-decoration: underline;
  margin-top: 4px;
}

.footer-fifa-notice {
  margin-top: 12px;
  font-size: 0.72rem;
  color: #aaa;
  line-height: 1.4;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 200ms, opacity 200ms, transform 100ms;
  min-height: 48px;
  min-width: 44px;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #C4122F;
  color: #fff;
}

.btn-primary:hover {
  background: #9B020D;
}

.btn-primary:disabled {
  background: #ccc;
  color: #888;
  cursor: not-allowed;
  transform: none;
}

.btn-primary.loading:disabled {
  background: #C4122F;
  color: #fff;
  cursor: wait;
}

.btn-secondary {
  background: transparent;
  color: #3C3C3B;
  border: 2px solid #3C3C3B;
}

.btn-secondary:hover {
  background: rgba(60, 60, 59, 0.05);
}

.btn-link {
  background: none;
  border: none;
  color: #3C3C3B;
  font-weight: 500;
  padding: 8px 0;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-link:hover {
  color: #C4122F;
}

.btn-full {
  width: 100%;
}

.btn .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 600ms linear infinite;
  display: none;
}

.btn.loading .spinner {
  display: block;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading[data-loading-text] .btn-text {
  display: inline;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== TOAST & ERRORS ===== */
.field-error {
  color: #C4122F;
  font-size: 0.88rem;
  margin-top: 6px;
  display: none;
}

.field-error.visible {
  display: block;
}

.toast {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%) translateY(-150px);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 1000;
  max-width: calc(100% - 32px);
  width: max-content;
  text-align: center;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  line-height: 1.4;
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: #005F6B;
  color: #fff;
}

.toast.valid {
  background: #0F6E56;
  color: #fff;
}

.toast.info {
  background: #3C3C3B;
  color: #fff;
}

.toast.error {
  background: #C4122F;
  color: #fff;
}

.update-notice {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
  background: rgba(44, 44, 43, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  text-align: center;
  animation: updateNoticeFade 280ms ease both;
}

@keyframes updateNoticeFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.update-notice-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 420px;
  letter-spacing: 0.01em;
}

.update-notice-btn {
  border: 0;
  border-radius: 8px;
  padding: 12px 32px;
  background: #C7A352;
  color: #2a2109;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: background 160ms ease, transform 160ms ease;
}

.update-notice-btn:hover,
.update-notice-btn:focus-visible {
  background: #d8b96d;
}

.update-notice-btn:active {
  transform: scale(0.97);
}

.update-notice-sub {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.78);
}

@media (prefers-reduced-motion: reduce) {
  .update-notice {
    animation: none;
  }
}

/* ===== STEP 2 — REGISTRATION ===== */
.step-inner {
  padding-top: 32px;
  padding-bottom: 100px;
}

.step-inner.step-inner--order {
  padding-bottom: calc(var(--floater-h, 0px) + 32px);
}

.step-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: #000;
  margin-bottom: 24px;
}

.receita-card {
  background: #fff;
  border: 1px solid rgba(60, 60, 59, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 32px;
}

.receita-card .rc-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 12px;
  font-weight: 600;
}

.receita-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .receita-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.receita-item .ri-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  font-weight: 600;
}

.receita-item .ri-value {
  font-size: 1rem;
  color: #000;
  font-weight: 500;
}

.form-section {
  margin-bottom: 28px;
}

.form-section-title {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(60, 60, 59, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  position: relative;
}

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3C3C3B;
  margin-bottom: 6px;
}

.form-field label .req {
  color: #C4122F;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #000;
  background: #fff;
  transition: border-color 200ms;
  outline: none;
}

.form-field input:focus,
.form-field select:focus {
  border-color: #C4122F;
}

.form-field input.readonly {
  background: #f5f5f5;
  color: #888;
  cursor: not-allowed;
}

.form-field input.field-invalid {
  border-color: #C4122F;
}

.form-field .field-error-msg {
  font-size: 0.84rem;
  color: #C4122F;
  margin-top: 4px;
  display: none;
}

.form-field .field-error-msg.visible {
  display: block;
}

.lgpd-block {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(60, 60, 59, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin: 28px 0;
}

.lgpd-label {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.5;
}

.lgpd-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: #C4122F;
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.form-field--narrow {
  max-width: 280px;
}

.is-hidden {
  display: none !important;
}

/* ===== PRODUCT CARDS ===== */
.order-header {
  margin-bottom: 24px;
}

.order-header h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  color: #000;
  font-weight: 400;
  line-height: 1.4;
}

.order-header h2 strong {
  font-weight: 700;
}

.order-header p {
  font-size: 0.92rem;
  color: #3C3C3B;
  margin-top: 4px;
}

.products-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(60, 60, 59, 0.08);
  overflow: hidden;
  transition: border-color 200ms;
  display: flex;
  flex-direction: column;
  flex: 0 1 calc((100% - 32px) / 3);
  min-width: 220px;
}

.product-card.required {
  border-color: #C4122F;
  border-width: 2px;
}

.product-img-area {
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
  background: #e8e2d6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.3;
  border-bottom: 1px solid rgba(60, 60, 59, 0.06);
  position: relative;
}

.product-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card.required .product-img-area::after {
  content: 'Obrigat\00f3rio';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #C4122F;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.product-body {
  padding: 14px 16px;
  flex: 1;
  min-width: 0;
}

.product-top-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.product-name {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: #000;
  font-weight: 600;
}

.product-price-qty {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 4px;
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-price .price-label {
  font-size: 0.78rem;
  color: #888;
}

.product-price .price-val {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: #C4122F;
  font-weight: 600;
  display: inline;
}

.product-divider {
  border-top: 1px solid rgba(60, 60, 59, 0.12);
  margin: 12px 0;
}

.product-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 2px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: #3C3C3B;
  transition: background 200ms;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.qty-btn:hover {
  background: #eee;
}

.qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-input {
  width: 48px;
  min-width: 48px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
  padding: 6px 2px;
  background: #fff;
  appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.qty-input:focus-visible {
  outline: none;
}

.product-subtotal .sub-label {
  font-size: 0.78rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-subtotal .sub-value {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: #000;
  font-weight: 600;
}

.product-note {
  font-size: 0.84rem;
  color: #888;
  margin-top: 3px;
}

.product-error {
  color: #C4122F;
  font-size: 0.84rem;
  margin-top: 4px;
  display: none;
}

.product-error.visible {
  display: block;
}

@media (max-width: 999px) {
  .product-card {
    flex: 0 1 calc((100% - 16px) / 2);
    min-width: 320px;
  }
}

/* ===== FLOATER ===== */
.floater {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid rgba(60, 60, 59, 0.08);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  padding: 16px 16px max(16px, env(safe-area-inset-bottom));
  z-index: 100;
  display: none;
}

/* iOS Safari leaves `bottom: 0` stuck when the URL bar collapses. */
.floater.floater-vv-positioned {
  top: var(--floater-top, auto);
  bottom: auto;
}

.floater.visible {
  display: block;
}

.floater-inner {
  display: grid;
  gap: 10px;
  max-width: 380px;
  margin: 0 auto;
}

.floater-payment {
  position: relative;
}

.floater-totals {
  grid-column: 1 / -1;
  margin: 0;
}

.floater-btn {
  grid-column: 1 / -1;
  margin-top: 0;
}

.floater-payment-label,
.floater-discount-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3C3C3B;
  margin-bottom: 6px;
  height: 14px;
  line-height: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floater-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 42px;
  background: #faf6ee;
  border: 1px solid rgba(60, 60, 59, 0.15);
  border-radius: 7px;
  padding: 0 36px 0 14px;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.floater-select:focus {
  border-color: #C7A352;
}

.floater-payment::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 17px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #3C3C3B;
  border-bottom: 1.5px solid #3C3C3B;
  transform: rotate(45deg);
  pointer-events: none;
}

.floater-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  flex-wrap: nowrap;
}

.floater-bruto {
  color: #3C3C3B;
  font-size: 13px;
  font-weight: 400;
}

.floater-bruto span {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  color: #3C3C3B;
}

.floater-discount {
  color: #9B020D;
  font-weight: 600;
  font-size: 13px;
}

.floater-discount span {
  color: #9B020D;
  font-weight: 600;
}

.floater-total-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(60, 60, 59, 0.12);
  margin-top: 6px;
  padding-top: 6px;
}

.floater-total-line::before {
  content: "Total";
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3C3C3B;
}

.floater-total-line .floater-row--end {
  padding: 0;
}

.floater-total-val {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  color: #000;
  letter-spacing: -0.01em;
}

.floater-btn .btn {
  width: 100%;
  border: none;
  background: #9B020D;
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
}

.floater-btn .btn:hover {
  background: #000;
}

.floater-btn .btn:disabled {
  background: #888;
  cursor: not-allowed;
}

@media (min-width: 768px) {
  .floater {
    padding: 18px 24px max(18px, env(safe-area-inset-bottom));
  }

  .floater-inner {
    column-gap: 16px;
    row-gap: 0;
    max-width: 720px;
    align-items: end;
  }

  .floater-payment {
    grid-row: 1;
  }

  .floater-totals {
    grid-row: 1;
    margin: 0;
    min-width: 220px;
  }

  .floater-total-line {
    margin-top: 4px;
    padding: 4px 0 0;
  }

  .floater-total-val {
    font-size: 24px;
  }

  .floater-btn {
    grid-column: 1 / -1;
    margin-top: 14px;
  }
}

@media (min-width: 1024px) {
  .floater {
    padding: 20px 28px max(20px, env(safe-area-inset-bottom));
  }

  .floater-inner {
    column-gap: 20px;
    max-width: 960px;
  }

  .floater-totals {
    min-width: 260px;
  }
}

/* ===== REVIEW ===== */
.review-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(60, 60, 59, 0.08);
}

.review-card--left {
  text-align: left;
}

.review-card .rc-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  font-weight: 600;
  margin-bottom: 4px;
}

.review-card .rc-value {
  font-size: 1rem;
  color: #000;
  font-weight: 500;
}

.review-card .rc-big {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #C4122F;
}

.review-meta {
  margin-top: 2px;
}

.review-note {
  margin-top: 4px;
}

.review-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  table-layout: fixed;
}

.review-items-table th {
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid rgba(60, 60, 59, 0.1);
}

.review-items-table th:not(:last-child) {
  padding-right: 12px;
}

.review-items-table th:nth-child(1) {
  width: 45%;
}

.review-items-table th:nth-child(2) {
  width: 30%;
}

.review-items-table th:nth-child(3) {
  width: 25%;
}

.review-items-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(60, 60, 59, 0.05);
  color: #000;
  overflow-wrap: break-word;
  vertical-align: top;
}

.review-items-table td:not(:last-child) {
  padding-right: 12px;
}

.review-product-name {
  line-height: 1.35;
}

.review-qty {
  line-height: 1.35;
}

.review-qty-main,
.review-qty-pack {
  display: inline-block;
  white-space: nowrap;
}

.review-items-table td:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.review-items-table th:last-child {
  text-align: right;
}

.review-totals {
  text-align: right;
  padding: 16px 0;
}

.review-totals .rt-line {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: baseline;
  padding: 4px 0;
  font-size: 1rem;
}

.review-totals .rt-line .rt-label {
  color: #888;
}

.review-totals .rt-line .rt-val {
  font-weight: 600;
  min-width: 100px;
  text-align: right;
}

.review-totals .rt-line.discount .rt-val {
  color: #C4122F;
}

.review-totals .rt-final {
  border-top: 2px solid #000;
  margin-top: 8px;
  padding-top: 12px;
}

.review-totals .rt-final .rt-val {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: #000;
}

.review-warnings {
  background: #FFF8F0;
  border-left: 3px solid #C4122F;
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  margin: 20px 0;
}

.review-warnings li {
  list-style: none;
  font-size: 0.92rem;
  padding: 3px 0;
  color: #3C3C3B;
}

.review-warnings li strong {
  color: #000;
}

.review-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

/* ===== SUCCESS ===== */
.success-content {
  text-align: center;
  padding: 48px 0;
  max-width: 560px;
  margin: 0 auto;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: #005F6B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 36px;
  height: 36px;
}

.success-content h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: #000;
  margin-bottom: 24px;
}

.success-action-card {
  background: #fff;
  border: 1px solid rgba(60, 60, 59, 0.08);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
}

.success-summary {
  text-align: left;
  margin-bottom: 20px;
}

.success-summary .ss-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(60, 60, 59, 0.08);
  font-size: 0.95rem;
}

.success-summary .ss-row:first-child {
  padding-top: 0;
}

.success-summary .ss-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.success-summary .ss-label {
  color: #888;
  flex: 0 0 auto;
}

.success-summary .ss-val {
  color: #000;
  font-weight: 600;
  text-align: right;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.success-msg {
  font-size: 1rem;
  line-height: 1.6;
  color: #3C3C3B;
  margin-bottom: 16px;
}

.success-msg strong {
  color: #000;
}

.success-msg+.success-msg {
  margin-top: 0;
}

.success-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.success-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #3C3C3B;
}

.success-step-num {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #C4122F;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 1px;
}

.success-step-text {
  flex: 1;
  min-width: 0;
}

.success-step-text strong {
  color: #000;
}

.success-warning {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #FFF7ED;
  padding: 16px 18px;
  border-radius: 6px;
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #3C3C3B;
  text-align: center;
}

.success-warning-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.success-warning-text strong {
  color: #78350F;
  font-weight: 700;
}

.nowrap {
  white-space: nowrap;
}

/* ===== UTILITIES ===== */
.mt-4 {
  margin-top: 16px;
}

:focus-visible {
  outline: 2px solid #C4122F;
  outline-offset: 2px;
}

/* ===== GLOBAL OVERFLOW SAFETY ===== */
.receita-item .ri-value,
.order-header h2,
.review-card .rc-value,
.review-card .rc-big {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ===== MOBILE TWEAKS ===== */
@media (max-width: 767px) {
  .step-inner {
    padding-top: 24px;
    padding-bottom: 80px;
  }

  /* Hero */
  .hero-content {
    padding: 0 24px 32px;
  }

  .hero-year {
    font-size: clamp(3rem, 10vw, 4rem);
    margin-bottom: 6px;
  }

  .hero-content h1 {
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }

  .cnpj-block {
    padding: 24px 20px;
    top: -20px;
  }

  .notices {
    padding: 0 24px 20px;
  }

  /* Product cards */
  .product-img-area {
    font-size: 0.7rem;
  }

  .product-card.required .product-img-area::after {
    font-size: 0.55rem;
    padding: 2px 5px;
    top: 4px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .product-body {
    padding: 10px 12px;
  }

  .product-name {
    font-size: 0.88rem;
  }

  .product-note {
    font-size: 0.78rem;
  }

  .qty-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .qty-input {
    width: 50px;
    font-size: 0.88rem;
    padding: 4px 2px;
  }

  /* Review */
  .review-card {
    padding: 16px;
  }

  .review-items-table {
    font-size: 0.85rem;
  }

  .review-items-table th {
    font-size: 0.7rem;
    padding: 6px 0;
  }

  .review-items-table td {
    padding: 8px 0;
    font-size: 0.85rem;
  }

  .review-items-table td:not(:last-child) {
    padding-right: 10px;
  }

  .review-totals .rt-line {
    gap: 12px;
    font-size: 0.9rem;
  }

  .review-totals .rt-line .rt-val {
    min-width: 80px;
  }

  .review-totals .rt-final .rt-val {
    font-size: 1.2rem;
  }

  .review-actions {
    flex-direction: column-reverse;
  }

  .review-actions .btn {
    width: 100%;
  }

  .review-warnings {
    padding: 12px 14px;
  }

  .review-warnings li {
    font-size: 0.85rem;
  }

  @media (max-width: 500px) {
    .review-items-table th:nth-child(1) {
      width: 42%;
    }

    .review-items-table th:nth-child(2) {
      width: 28%;
    }

    .review-items-table th:nth-child(3) {
      width: 30%;
    }

    .review-product-name {
      overflow-wrap: anywhere;
      word-break: normal;
    }
  }

  /* Success */
  .success-content {
    padding: 32px 0;
  }

  .success-summary .ss-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .success-summary .ss-val {
    text-align: left;
  }

  /* Form */
  .form-section-title {
    font-size: 1rem;
  }

  .lgpd-label {
    font-size: 0.85rem;
    gap: 10px;
  }

  /* Footer */
  .site-footer {
    font-size: 0.78rem;
    padding: 24px 20px;
    line-height: 1.8;
  }
}

/* Extra small screens (< 380px) */
@media (max-width: 379px) {
  .container {
    padding: 0 16px;
  }

  .hero-content {
    padding: 0 16px 28px;
  }

  .cnpj-block {
    padding: 20px 16px;
  }

  .input-group input {
    font-size: 1rem;
  }

  .landing-steps {
    padding: 20px 16px 28px;
  }

  .ls-card p {
    display: none;
  }

  .ls-card h3 {
    font-size: 0.78rem;
  }

  .ls-num {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .steps-row::before {
    top: 14px;
  }

  .qty-btn {
    width: 36px;
    height: 36px;
  }

  .qty-input {
    width: 48px;
    font-size: 0.88rem;
  }

  .notice-chip {
    font-size: 0.78rem;
    padding: 5px 10px;
  }
}

/* ===== CONDITIONS & ACCORDION (shared) ===== */
.conditions-list {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.condition-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(60, 60, 59, 0.08);
}

.condition-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 95, 107, 0.08);
  color: #005F6B;
}

.condition-icon--warn {
  background: rgba(196, 18, 47, 0.08);
  color: #C4122F;
}

.condition-icon--amber {
  background: rgba(154, 103, 0, 0.08);
  color: #9A6700;
}

.condition-icon--green {
  background: rgba(22, 128, 57, 0.08);
  color: #168039;
}

.condition-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: #000;
  margin-bottom: 2px;
}

.condition-card p {
  font-size: 0.92rem;
  color: #3C3C3B;
}

.discount-section {
  margin: 20px 0;
}

.discount-section>h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: #000;
}

.accordion {
  display: grid;
  gap: 8px;
}

.acc-item {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(60, 60, 59, 0.08);
  transition: border-color 200ms;
}

.acc-item.highlight {
  border-color: #C7A352;
}

.acc-item.open {
  border-color: #C4122F;
}

.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.acc-header:hover {
  background: rgba(60, 60, 59, 0.02);
}

.acc-item.selected {
  border-color: #C4122F;
}

.acc-item.highlight.selected {
  border-color: #C7A352;
}

.acc-item.highlight-hidden {
  border-color: rgba(60, 60, 59, 0.08);
}

.acc-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #ddd;
  transition: color 200ms;
}

.acc-item.selected .acc-check {
  color: #C4122F;
}

.acc-item.highlight.selected .acc-check {
  color: #C7A352;
}

.acc-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.acc-badges {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.acc-badges-row {
  padding: 0 16px 12px 48px;
}

.acc-badges-mobile {
  display: none;
}

.acc-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-best {
  display: inline-block;
  background: #C7A352;
  color: #fff;
  font-size: 0.70rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.badge-separator {
  color: #888780;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 5px;
  flex-shrink: 0;
}

.badge-priority {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #0F6E56;
  color: #fff;
  font-size: 0.70rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.badge-priority-icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.acc-range {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: #C4122F;
  font-size: 1rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.acc-arrow {
  width: 20px;
  height: 20px;
  transition: transform 300ms;
  flex-shrink: 0;
  color: #888;
}

.acc-item.open .acc-arrow {
  transform: rotate(180deg);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}

.acc-item.open .acc-body {
  max-height: 300px;
}

.acc-body-inner {
  padding: 0 16px 14px;
  display: grid;
  gap: 6px;
}

.acc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  background: #faf8f4;
  font-size: 0.92rem;
}

.acc-row .acc-faixa {
  color: #3C3C3B;
}

.acc-row .acc-pct {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #C4122F;
}

/* ===== PAYMENT CARDS (card layout) ===== */
.accordion[data-card-layout="1"] {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  align-items: start;
}

.pay-card {
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid rgba(60, 60, 59, 0.15);
  overflow: visible;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.pay-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.acc-item.pay-card .pay-card-body {
  display: block;
  padding: 34px 28px 30px;
  min-height: 340px;
  cursor: pointer;
}

.pay-card .acc-header:hover {
  background: transparent;
}

.pay-card--pix {
  border: 1.5px solid #C7A352;
}

.acc-item.pay-card--pix .pay-card-body {
  padding: 44px 40px 36px;
  min-height: 420px;
}

.pay-card--pix:hover {
  box-shadow: 0 12px 28px rgba(199, 163, 82, 0.18);
}

.pay-card--pix.selected,
.pay-card--pix.acc-item.selected {
  background: #fffdf7;
  border-color: #C7A352;
}

.pay-card--pix.highlight-hidden {
  border-color: #C7A352;
}

.pay-card--cartao {
  border: 1.5px solid #9B020D;
}

.pay-card--cartao:hover {
  box-shadow: 0 12px 28px rgba(155, 2, 13, 0.15);
}

.pay-card--cartao.selected,
.pay-card--cartao.acc-item.selected {
  background: #fffafa;
  border-color: #9B020D;
}

.pay-radio {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(60, 60, 59, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #fff;
  box-sizing: border-box;
}

.pay-card--pix .pay-radio {
  top: 22px;
  right: 24px;
}

.pay-radio .pay-check {
  width: 12px;
  height: 12px;
  stroke-width: 3;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.pay-card--pix.selected .pay-radio {
  background: #C7A352;
  border-color: #C7A352;
}

.pay-card--cartao.selected .pay-radio {
  background: #9B020D;
  border-color: #9B020D;
}

.pay-card.selected .pay-radio .pay-check {
  opacity: 1;
  transform: scale(1);
  color: #fff;
}

.pay-flag {
  position: absolute;
  top: -10px;
  left: 28px;
  background: #C7A352;
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  line-height: 1;
}

.pay-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 4px;
  color: #000;
}

.pay-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
}

.pay-card--pix .pay-title {
  color: #9B020D;
  font-size: 34px;
}

.pay-sub {
  font-size: 12.5px;
  color: #3C3C3B;
  margin: 0 0 24px;
}

.pay-tiers {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.pay-tier {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0 12px;
  border-bottom: 1px dotted rgba(60, 60, 59, 0.4);
}

.pay-card--pix .pay-tier {
  padding: 18px 0 16px;
}

.pay-tier-lbl {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3C3C3B;
}

.pay-tier-val {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.pay-card--pix .pay-tier-val {
  color: #9B020D;
  font-size: 34px;
}

.pay-card--cartao .pay-tier-val {
  color: #000;
  font-size: 28px;
}

.pay-tier-off {
  font-size: 0.7em;
  letter-spacing: 0.04em;
}

@media (min-width: 701px) and (max-width: 860px) {
  .pay-tier-val {
    text-align: right;
  }

  .pay-tier-off {
    display: block;
    margin-top: 5px;
  }
}

.pay-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9B020D;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 0 0;
}

.pay-perk svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .accordion[data-card-layout="1"] {
    grid-template-columns: 1fr;
  }

  .acc-item.pay-card .pay-card-body,
  .acc-item.pay-card--pix .pay-card-body {
    min-height: 0;
    padding: 32px 24px 26px;
  }

  .pay-card--pix .pay-title {
    font-size: 30px;
  }

  .pay-card--pix .pay-tier-val {
    font-size: 28px;
  }

  .pay-card--cartao .pay-tier-val {
    font-size: 24px;
  }
}

.info-note {
  background: rgba(255, 255, 255, 0.6);
  border-left: 3px solid #005F6B;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: #3C3C3B;
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
}

.info-note--tight {
  margin-top: 16px;
}

.btn-whatsapp {
  position: relative;
  background: linear-gradient(135deg, #25D366 0%, #1EBE57 55%, #18A94A 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 76px;
  padding: 14px 18px;
  text-align: left;
  border-radius: 14px;
  box-shadow:
    0 10px 24px -8px rgba(37, 211, 102, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
  isolation: isolate;
  animation: whatsapp-pulse 2.4s ease-in-out infinite;
  transition: transform 180ms ease, box-shadow 220ms ease, filter 180ms ease;
}

.btn-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(255, 255, 255, 0) 70%);
  transform: translateX(-100%);
  pointer-events: none;
  z-index: 1;
  animation: whatsapp-shimmer 3.6s ease-in-out infinite;
}

.btn-whatsapp>* {
  position: relative;
  z-index: 2;
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 14px 30px -8px rgba(37, 211, 102, 0.65),
    0 4px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-whatsapp:active {
  transform: translateY(0) scale(0.99);
  animation-play-state: paused;
}

.whatsapp-avatar {
  position: relative;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
}

.whatsapp-consultor-photo {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  display: block;
}

.whatsapp-avatar-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #1EBE57;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
}

.whatsapp-avatar-badge svg {
  width: 13px;
  height: 13px;
  display: block;
}

.whatsapp-consultor-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}

.whatsapp-consultor-label {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
  opacity: 0.92;
}

.whatsapp-consultor-label strong {
  font-weight: 700;
  letter-spacing: 0.005em;
}

.whatsapp-consultor-copy #sucWhatsappText {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.whatsapp-chevron {
  flex: 0 0 auto;
  margin-left: auto;
  opacity: 0.92;
  transition: transform 200ms ease;
}

.btn-whatsapp:hover .whatsapp-chevron {
  transform: translateX(3px);
}

@keyframes whatsapp-pulse {

  0%,
  100% {
    box-shadow:
      0 10px 24px -8px rgba(37, 211, 102, 0.55),
      0 2px 6px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      0 0 0 0 rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow:
      0 10px 24px -8px rgba(37, 211, 102, 0.55),
      0 2px 6px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      0 0 0 10px rgba(37, 211, 102, 0);
  }
}

@keyframes whatsapp-shimmer {

  0%,
  60%,
  100% {
    transform: translateX(-100%);
  }

  75% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {

  .btn-whatsapp,
  .btn-whatsapp::before {
    animation: none;
  }
}

.btn-icon {
  flex-shrink: 0;
}

/* ===== SHARED MOBILE TWEAKS ===== */
@media (max-width: 767px) {
  .acc-name {
    white-space: normal;
    font-size: 0.88rem;
  }

  .acc-range {
    font-size: 0.88rem;
  }

  .acc-header {
    padding: 12px 14px;
    gap: 8px;
  }

  .acc-body-inner {
    padding: 0 14px 12px;
  }

  .acc-row {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .acc-row .acc-pct {
    font-size: 0.95rem;
  }

  .badge-best {
    font-size: 0.6rem;
    padding: 2px 6px;
  }

  .badge-separator {
    font-size: 0.6rem;
  }

  .badge-priority {
    font-size: 0.6rem;
    padding: 2px 6px;
  }

  .condition-card {
    padding: 14px;
    gap: 10px;
  }

  .condition-card h3 {
    font-size: 0.95rem;
  }

  .condition-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 535px) {
  .acc-badges-desktop {
    display: none;
  }

  .acc-badges-mobile {
    display: block;
  }

  .acc-badges-row {
    padding: 0 14px 10px 42px;
  }

  .acc-item.highlight:not(.pay-card) .acc-header {
    padding-bottom: 0;
  }
}

@media (max-width: 379px) {
  .acc-header {
    padding: 10px 12px;
  }

  .acc-name {
    font-size: 0.82rem;
  }

  .acc-range {
    font-size: 0.82rem;
  }
}

/* Meta Pixel noscript fallback */
.meta-pixel-noscript {
  display: none;
  height: 1px;
  width: 1px;
}