/* =========================================================
   HAVAIANAS QUIZ — PREMIUM DESIGN SYSTEM
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── TOKENS ─── */
:root {
  --hav-orange:   #FF6B2B;
  --hav-orange-2: #FF8C00;
  --hav-orange-light: #FFF0E8;
  --hav-orange-dark:  #D94F1A;
  --hav-coral:    #FF3E5F;
  --hav-yellow:   #FFD600;
  --hav-teal:     #00B8A0;
  --hav-blue:     #0062FF;
  --hav-dark:     #1A1A2E;
  --hav-text:     #2D2D3E;
  --hav-muted:    #7A7A9A;
  --hav-light:    #F7F4F0;
  --hav-white:    #FFFFFF;
  --hav-border:   #EAE4DC;
  --radius-card:  20px;
  --radius-btn:   14px;
  --shadow-card:  0 8px 32px rgba(255,107,43,0.10), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-btn:   0 4px 16px rgba(255,107,43,0.35);
  --transition:   all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background:
    linear-gradient(160deg,
      #FF3FA4 0%,
      #FF6B2B 35%,
      #FFB800 65%,
      #FFD600 100%
    );
  min-height: 100vh;
  color: var(--hav-text);
  overflow-x: hidden;
  position: relative;
}

/* blobs decorativos tropicais */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 500px 400px at 0% 0%,   rgba(0,200,180,0.22)  0%, transparent 60%),
    radial-gradient(ellipse 400px 350px at 100% 20%, rgba(255,50,120,0.25) 0%, transparent 55%),
    radial-gradient(ellipse 600px 300px at 50% 100%, rgba(255,214,0,0.30)  0%, transparent 60%),
    radial-gradient(ellipse 300px 300px at 15% 70%,  rgba(0,98,255,0.15)   0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* palmeira SVG decorativa no canto */
body::after {
  content: '';
  position: fixed;
  bottom: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'%3E%3Cellipse cx='160' cy='180' rx='18' ry='80' fill='%23FF8C00' opacity='0.25' transform='rotate(-20 160 180)'/%3E%3Cellipse cx='155' cy='100' rx='55' ry='16' fill='%2300C896' opacity='0.30' transform='rotate(-40 155 100)'/%3E%3Cellipse cx='145' cy='108' rx='50' ry='14' fill='%2300B8A0' opacity='0.28' transform='rotate(10 145 108)'/%3E%3Cellipse cx='165' cy='95' rx='45' ry='12' fill='%2300E0B8' opacity='0.22' transform='rotate(-70 165 95)'/%3E%3Ccircle cx='30' cy='30' r='22' fill='%23FFD600' opacity='0.20'/%3E%3Ccircle cx='20' cy='160' r='14' fill='%23FF3FA4' opacity='0.22'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

/* ─── HEADER ─── */
#site-header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid rgba(255,255,255,0.25);
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
}

.header__inner {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.header__logo {
  height: 30px;
  object-fit: contain;
}

.header__discount-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--hav-orange), var(--hav-coral));
  padding: 4px 12px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(255,107,43,0.30);
  animation: badgePop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes badgePop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.badge__label {
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.badge__value {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* ─── PROGRESS BAR ─── */
.progress-wrapper {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255,255,255,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.progress-bar-track {
  width: 100%;
  max-width: 500px;
  height: 4px;
  background: #EAE4DC;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--hav-orange), var(--hav-coral));
  border-radius: 10px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-steps {
  display: flex;
  gap: 12px;
  align-items: center;
}

.step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #EAE4DC;
  color: var(--hav-muted);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.step-dot.active {
  background: linear-gradient(135deg, var(--hav-orange), var(--hav-coral));
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,107,43,0.35);
  transform: scale(1.15);
}

.step-dot.done {
  background: var(--hav-teal);
  color: #fff;
}

.progress-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--hav-muted);
  letter-spacing: 0.3px;
}

/* ─── MAIN ─── */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 170px 16px 24px;   /* Padding superior bem generoso para dar respiro abaixo do header fixo */
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0 auto;
}

/* ─── QUIZ CARD ─── */
.quiz-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.5);
  animation: cardIn 0.45s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── STEP BADGE ─── */
.quiz-card__step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hav-orange-light);
  color: var(--hav-orange);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  margin: 16px 16px 0;
  border-radius: 50px;
  border: 1.5px solid rgba(255,107,43,0.18);
}

.quiz-card__step-badge i { font-size: 10px; }

/* ─── REWARD PREVIEW ─── */
.quiz-card__reward-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1A1A2E, #2D2D50);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  margin: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(26,26,46,0.20);
}

.quiz-card__reward-preview i {
  color: var(--hav-yellow);
  font-size: 15px;
  animation: tagBounce 1.5s ease-in-out infinite;
}

@keyframes tagBounce {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

.quiz-card__reward-preview strong {
  color: var(--hav-yellow);
  font-weight: 800;
  font-size: 15px;
}

/* ─── DISCOUNT PROGRESS ─── */
.discount-progress-bar {
  margin: 0 16px 4px;
  background: linear-gradient(135deg, #FFF7F0, #FFF0E6);
  border: 1.5px solid rgba(255,107,43,0.14);
  border-radius: 14px;
  padding: 10px 14px;
}

.dp-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--hav-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.dp-track {
  width: 100%;
  height: 8px;
  background: #EAE4DC;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 5px;
}

.dp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--hav-orange), var(--hav-coral));
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}

.dp-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 8px; height: 100%;
  background: rgba(255,255,255,0.4);
  border-radius: 10px;
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.dp-values {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.dp-current {
  font-weight: 800;
  color: var(--hav-orange);
}

.dp-target {
  color: var(--hav-muted);
  font-weight: 500;
}

/* ─── CARD IMAGE ─── */
.quiz-card__image-wrapper {
  width: 100%;
  padding: 0 24px;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
}

.quiz-card__image {
  width: 100%;
  max-width: 380px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ─── CONTENT AREA ─── */
.quiz-card__content {
  padding: 16px 16px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hav-orange);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.section-label.mt-2 { margin-top: 16px; }

.quiz-card__question {
  font-size: 15px;
  font-weight: 600;
  color: var(--hav-text);
  letter-spacing: -0.2px;
  line-height: 1.45;
  margin-bottom: 12px;
}

/* ─── STARS ─── */
.stars-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.star-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #F7F4F0;
  border: 2px solid #EAE4DC;
  cursor: pointer;
  transition: var(--transition);
  gap: 2px;
}

.star-btn i {
  font-size: 22px;
  color: #C8BFB5;
  transition: var(--transition);
}

.star-btn .star-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--hav-muted);
}

.star-btn:hover {
  border-color: var(--hav-orange);
  background: var(--hav-orange-light);
  transform: translateY(-2px);
}

.star-btn.active {
  background: linear-gradient(135deg, var(--hav-orange), var(--hav-orange-2));
  border-color: var(--hav-orange);
  box-shadow: 0 4px 12px rgba(255,107,43,0.30);
  transform: translateY(-2px) scale(1.05);
}

.star-btn.active i {
  color: var(--hav-yellow);
}

.star-btn.active .star-label {
  color: rgba(255,255,255,0.85);
}

.stars-desc {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--hav-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

/* ─── OPTIONS GRID ─── */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 10px;
  background: #F7F4F0;
  border: 2px solid #EAE4DC;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
  min-height: 80px;
  justify-content: center;
}

.option-btn:hover {
  border-color: var(--hav-orange);
  background: var(--hav-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,107,43,0.15);
}

.option-btn.active {
  background: linear-gradient(135deg, #FFF0E8, #FFE4D4);
  border-color: var(--hav-orange);
  box-shadow: 0 4px 16px rgba(255,107,43,0.25);
  transform: translateY(-2px);
}

.option-btn.active .option-text {
  color: var(--hav-orange-dark);
  font-weight: 700;
}

.option-icon {
  font-size: 26px;
  line-height: 1;
}

.option-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--hav-text);
  line-height: 1.35;
  letter-spacing: -0.1px;
}

/* ─── SUBMIT BUTTON ─── */
.quiz-card__submit {
  width: calc(100% - 32px);
  margin: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: #C8BFB5;
  color: rgba(255,255,255,0.7);
  border: none;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: not-allowed;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.quiz-card__submit:disabled {
  background: #D9D4CE;
  color: rgba(100,90,85,0.6);
  cursor: not-allowed;
  box-shadow: none;
}

.quiz-card__submit.ready {
  background: linear-gradient(135deg, var(--hav-orange), var(--hav-coral));
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  animation: pulseBtn 2s ease-in-out infinite;
}

.quiz-card__submit.ready::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255,255,255,0.25);
  transform: skewX(-20deg);
  animation: shine 2.5s ease-in-out infinite 1s;
}

@keyframes shine {
  0% { left: -60%; }
  100% { left: 160%; }
}

@keyframes pulseBtn {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,107,43,0.35); }
  50% { box-shadow: 0 6px 24px rgba(255,107,43,0.55); transform: translateY(-1px); }
}

.btn-text { flex: 1; text-align: center; }
.btn-icon { font-size: 16px; }

.btn-reward {
  background: rgba(255,255,255,0.22);
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: none;
}

.quiz-card__submit.ready .btn-reward {
  display: block;
}

/* ─── DISCOUNT TOAST ─── */
.discount-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, var(--hav-dark), #2D2D50);
  color: #fff;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 9999;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1.5px solid rgba(255,214,0,0.35);
}

.discount-toast i { color: var(--hav-yellow); }

.discount-toast strong { color: var(--hav-yellow); }

.discount-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========================================================
   FINALIZAÇÃO — PREMIUM
   ======================================================== */

.finalizacao-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18), inset 0 0 0 1px rgba(255,107,43,0.15);
  overflow: hidden;
  animation: cardIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}

.fin__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.confetti-piece {
  position: absolute;
  top: -20px;
  animation: confettiFall linear forwards;
  border-radius: 2px;
}

@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(340px) rotate(720deg); opacity: 0; }
}

/* Header */
.fin__header {
  text-align: center;
  padding: 28px 24px 8px;
  position: relative;
  z-index: 1;
}

.fin__title {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, #FF3FA4, #FF6B2B, #FFD600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.fin__subtitle {
  font-size: 14px;
  color: var(--hav-muted);
  font-weight: 400;
  line-height: 1.5;
}

.fin__subtitle strong {
  color: var(--hav-orange);
  font-weight: 700;
}

/* Imagem & Glow */
.fin__img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  position: relative;
  z-index: 1;
  width: 100%;
}

.fin__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255,214,0,0.4) 0%, rgba(255,107,43,0.1) 50%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.fin__product-img {
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.15));
  animation: floatImg 4s ease-in-out infinite;
}

@keyframes floatImg {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}

/* Texto & Badge */
.fin__text {
  padding: 8px 24px 16px;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.fin__text p {
  font-size: 14px;
  color: var(--hav-text);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.fin__discount-badge {
  background: linear-gradient(135deg, var(--hav-orange), var(--hav-coral));
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 4px 0;
  box-shadow: 0 4px 12px rgba(255, 62, 95, 0.4);
  transform: rotate(-2deg);
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-4px) rotate(1deg); }
}

.fin__sign {
  font-size: 12px !important;
  color: var(--hav-muted) !important;
  font-style: italic;
}

.fin__sign strong {
  font-style: normal;
  font-weight: 600 !important;
  color: var(--hav-muted) !important;
}

/* Botão */
.fin__cta {
  padding: 12px 24px 32px;
  position: relative;
  z-index: 1;
}

.fin__cta a {
  text-decoration: none;
  display: block;
}

.fin__btn-resgatar {
  width: 100%;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--hav-yellow), var(--hav-orange-2));
  color: var(--hav-dark);
  border: none;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255,140,0,0.4);
  animation: resgatarPulse 2.2s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}

.fin__btn-resgatar:active {
  transform: scale(0.96);
}

.fin__btn-resgatar::before {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: rgba(255,255,255,0.20);
  transform: skewX(-20deg);
  animation: shine 2.8s ease-in-out infinite 0.8s;
}

@keyframes resgatarPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,107,43,0.35); }
  50%       { box-shadow: 0 7px 22px rgba(255,107,43,0.52); transform: translateY(-1px); }
}

/* ─── HERO & HEADERS ─── */
.quiz-card__hero {
  position: relative;
  background: linear-gradient(135deg, rgba(255,107,43,0.1), rgba(255,62,95,0.1));
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.quiz-card__hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background: radial-gradient(ellipse at top, rgba(255,255,255,0.6) 0%, transparent 60%);
  pointer-events: none;
}

.fin__confetti {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.confetti-piece {
  position: absolute;
  top: -20px;
  animation: confettiFall linear forwards;
  border-radius: 2px;
}

@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(280px) rotate(720deg); opacity: 0; }
}

/* ── Trophy SVG ── */
.fin__trophy-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  animation: trophyFloat 3s ease-in-out infinite;
}

@keyframes trophyFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}

.fin__trophy-svg {
  width: 110px;
  height: 110px;
  filter: drop-shadow(0 8px 24px rgba(255,107,43,0.50));
}

/* ── Orbit dots ── */
.fin__orbit {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  animation: orbitSpin 6s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hav-yellow);
  box-shadow: 0 0 6px var(--hav-yellow);
}

.orbit-dot--1 { top: 0;    left: 50%;  transform: translateX(-50%); }
.orbit-dot--2 { bottom: 0; left: 50%;  transform: translateX(-50%); background: var(--hav-coral); box-shadow: 0 0 6px var(--hav-coral); }
.orbit-dot--3 { left: 0;   top: 50%;   transform: translateY(-50%); width: 5px; height: 5px; opacity: 0.7; }
.orbit-dot--4 { right: 0;  top: 50%;   transform: translateY(-50%); width: 5px; height: 5px; opacity: 0.7; background: var(--hav-orange); }

/* ── Hero Text ── */
.fin__hero-text {
  text-align: center;
  z-index: 3;
}

.fin__title {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(255,107,43,0.40);
}

.fin__subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.2px;
}

/* ── DISCOUNT RING ── */
.fin__discount-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 12px;
  gap: 10px;
}

.fin__discount-ring-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fin__ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 20px rgba(255,107,43,0.30));
}

#ringFill {
  transition: stroke-dashoffset 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fin__ring-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.fin__ring-val {
  font-size: 44px;
  font-weight: 900;
  color: var(--hav-orange);
  letter-spacing: -3px;
  line-height: 1;
}

.fin__ring-label {
  font-size: 9px;
  font-weight: 800;
  color: var(--hav-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

.fin__discount-caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--hav-orange);
  letter-spacing: 0.2px;
}

/* ── ACHIEVEMENTS ── */
.fin__achievements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 8px 20px 20px;
}

.fin__chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #F7F4F0;
  border: 1.5px solid #EAE4DC;
  border-radius: 14px;
  padding: 12px 8px;
  transition: var(--transition);
  animation: chipIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}

.fin__chip:nth-child(1) { animation-delay: 0.1s; }
.fin__chip:nth-child(2) { animation-delay: 0.2s; }
.fin__chip:nth-child(3) { animation-delay: 0.3s; }

@keyframes chipIn {
  from { opacity: 0; transform: translateY(16px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chip__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip__icon svg { width: 28px; height: 28px; }

.chip__icon--green { background: rgba(0,184,160,0.10); }
.chip__icon--orange { background: rgba(255,107,43,0.10); }
.chip__icon--red { background: rgba(255,62,95,0.10); }

.chip__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.chip__val {
  font-size: 17px;
  font-weight: 800;
  color: var(--hav-text);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.chip__label {
  font-size: 10px;
  font-weight: 500;
  color: var(--hav-muted);
  text-align: center;
}

/* ── PRODUCT ── */
.fin__product {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  margin-bottom: 8px;
}

.fin__product-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(255,107,43,0.25) 0%, transparent 70%);
  filter: blur(12px);
}

.fin__product-img {
  width: 70%;
  max-width: 220px;
  position: relative;
  z-index: 1;
  animation: presFloat 3.5s ease-in-out infinite;
}

@keyframes presFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%       { transform: translateY(-12px) rotate(1.5deg); }
}

/* ── DESCRIPTION BOX ── */
.fin__desc-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 20px 16px;
  background: #F7F4F0;
  border: 1.5px solid #EAE4DC;
  border-radius: 14px;
  padding: 14px;
}

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

.fin__desc-content p {
  font-size: 13px;
  font-weight: 400;
  color: var(--hav-text);
  line-height: 1.6;
}

.fin__desc-content strong {
  font-weight: 800;
  color: var(--hav-orange);
}

/* ── SIGNATURE ── */
.fin__signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px 16px;
}

.fin__signature p {
  font-size: 13px;
  color: var(--hav-muted);
  font-style: italic;
  font-weight: 400;
}

.fin__signature strong {
  color: var(--hav-orange);
  font-weight: 700;
  font-style: normal;
}

/* ── URGENCY ── */
.fin__urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFF0E8, #FFE4D4);
  border: 1.5px solid rgba(255,107,43,0.22);
  border-radius: 10px;
  margin: 0 20px 16px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hav-orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fin__urgency-icon {
  display: flex;
  align-items: center;
  animation: urgencyPulse 1s ease-in-out infinite alternate;
}

@keyframes urgencyPulse {
  from { transform: scale(1); opacity: 0.8; }
  to   { transform: scale(1.2); opacity: 1; }
}

/* ── CTA BUTTON ── */
.fin__cta {
  padding: 0 20px 16px;
}

.fin__cta a {
  text-decoration: none;
  display: block;
}

.fin__btn-resgatar {
  width: 100%;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--hav-orange), var(--hav-coral));
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(255,107,43,0.45);
  animation: resgatarPulse 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.fin__btn-resgatar::before {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: rgba(255,255,255,0.25);
  transform: skewX(-20deg);
  animation: shine 2.2s ease-in-out infinite 0.5s;
}

@keyframes resgatarPulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(255,107,43,0.45); transform: translateY(0); }
  50%       { box-shadow: 0 10px 36px rgba(255,107,43,0.65); transform: translateY(-2px); }
}

/* ── SEALS ── */
.fin__seals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 4px 20px 24px;
  flex-wrap: wrap;
}

.fin__seal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 70px;
}

.fin__seal-item span {
  font-size: 10px;
  font-weight: 600;
  color: var(--hav-muted);
  text-align: center;
  line-height: 1.3;
}

.fin__seal-divider {
  width: 1px;
  height: 32px;
  background: #EAE4DC;
  margin: 0 4px;
}

/* ─── MODAL ─── */
.modal-havaianas {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.20);
}

.modal-content {
  border: none;
  border-radius: 24px;
  overflow: hidden;
}

.modal-havaianas__header {
  background: linear-gradient(135deg, var(--hav-orange), var(--hav-coral));
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-havaianas__logo {
  height: 28px;
  filter: brightness(0) invert(1);
}

.modal-havaianas__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--hav-orange-light);
  color: var(--hav-orange);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 0 0 12px 12px;
  margin: -1px 24px 0;
  border: 1.5px solid rgba(255,107,43,0.20);
  border-top: none;
}

.modal-havaianas__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--hav-text);
  text-align: center;
  padding: 20px 24px 8px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.modal-havaianas__desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--hav-muted);
  text-align: center;
  padding: 0 24px 12px;
  line-height: 1.6;
}

.modal-havaianas__desc strong {
  color: var(--hav-text);
  font-weight: 700;
}

.modal-havaianas__highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hav-orange), var(--hav-coral));
  margin: 0 24px;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(255,107,43,0.35);
  margin-bottom: 12px;
}

.highlight-value {
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -3px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.highlight-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.modal-havaianas__subdesc {
  font-size: 13px;
  color: var(--hav-muted);
  text-align: center;
  padding: 0 24px 16px;
  font-weight: 500;
}

.modal-havaianas__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% - 48px);
  margin: 0 24px 24px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--hav-orange), var(--hav-coral));
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: var(--transition);
  text-transform: uppercase;
}

.modal-havaianas__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,43,0.50);
}

/* ─── APRESENTACAO (modal legacy) ─── */
.apresentacao {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

/* ─── RESPONSIVE ─── */
@media screen and (min-width: 540px) {
  .progress-wrapper {
    left: 50%;
    transform: translateX(-50%);
    max-width: 540px;
    border-radius: 0 0 12px 12px;
  }
}

@media screen and (max-width: 360px) {
  .stars-container { gap: 5px; }
  .star-btn { width: 44px; height: 44px; }
  .star-btn i { font-size: 18px; }
  .highlight-value { font-size: 44px; }
}