/* ========================================
   TOKENS / VARIABLES
   ======================================== */
:root {
  --yellow: #ffcc00;
  --yellow-hover: #f5c200;
  --green: #00c853;
  --green-hover: #00b848;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --shadow-lg: 0 10px 30px -5px rgba(0,0,0,.15);
  --shadow-xl: 0 20px 60px -10px rgba(0,0,0,.25);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --font: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--slate-50);
  color: var(--slate-800);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ========================================
   TEXT UTILITIES
   ======================================== */
.text-yellow { color: var(--yellow); }
.text-green  { color: var(--green);  }
.text-green-ul {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}

/* ========================================
   SECTION BASE
   ======================================== */
.section { padding: 2rem 1.5rem; }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  color: var(--slate-900);
  margin-bottom: 4rem;
  position: relative;
  display: inline-block;
  transform: translateX(-50%);
  padding-bottom: 0.5rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounceY {
  0%, 100% { transform: translate(1rem, -1rem); }
  50%       { transform: translate(1rem, -1.5rem); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,200,83,.35); }
  50%       { box-shadow: 0 0 0 14px rgba(0,200,83,0); }
}

.fade-up {
  opacity: 0;
  animation: fadeSlideUp .7s ease forwards;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  padding: 2rem 1rem 2rem;
  background: var(--white);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -5rem; right: -5rem;
  width: 22rem; height: 22rem;
  background: rgba(255,204,0,.12);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

/* product image + badge */
.hero__badge-wrap {
  position: relative;
  display: inline-block;
}

.badge-off {
  position: absolute;
  top: 0; right: 0;
  transform: translate(1rem, -1rem);
  background: #dc2626;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(220,38,38,.45);
  z-index: 2;
  animation: bounceY 1.4s ease-in-out infinite;
  white-space: nowrap;
}

.hero__img {
  width: 100%;
  max-width: 280px;
  border-radius: var(--radius-3xl);
  border: 4px solid var(--white);
}

/* headings */
.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--slate-900);
  line-height: 1.15;
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--slate-600);
  max-width: 42rem;
  line-height: 1.7;
}

/* ========================================
   CTA BUTTONS
   ======================================== */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 42rem;
}
@media (min-width: 600px) {
  .cta-grid { grid-template-columns: 1fr 1fr; }
}

.btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}
.btn:hover  { transform: scale(1.03); box-shadow: var(--shadow-xl); }
.btn:active { transform: scale(.98); }

.btn span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.btn strong { font-size: 1rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.btn small   { font-size: .8rem; opacity: .9; margin-top: .1rem; }

.btn--green {
  background: var(--green);
  color: var(--white);
  animation: pulse 2.4s ease infinite;
}
.btn--green:hover { background: var(--green-hover); }

.btn--yellow {
  background: var(--yellow);
  color: var(--slate-900);
}
.btn--yellow:hover { background: var(--yellow-hover); }

.btn__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  transition: transform var(--transition);
}
.btn:hover .btn__icon { transform: scale(1.15); }

/* ========================================
   OFFER CARD
   ======================================== */
.offer-section { background: var(--slate-100); }

.offer-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-3xl);
  padding: 2.5rem 2rem;
  max-width: 24rem;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-100);
  text-align: center;
  overflow: hidden;
}

.offer-card__bar {
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--yellow);
}

.offer-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 1.5rem;
}

.offer-card__from {
  color: var(--slate-400);
  text-decoration: line-through;
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.offer-card__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.offer-card__by {
  font-size: .95rem;
  font-weight: 500;
  color: var(--slate-600);
}

.offer-card__value {
  display: flex;
  align-items: baseline;
  gap: .4rem;
}

.offer-card__installments {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--slate-900);
}

.offer-card__main {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -.03em;
}

.offer-card__badge {
  display: inline-block;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  color: var(--slate-600);
  font-size: .85rem;
  font-weight: 600;
  padding: .6rem 1.5rem;
  border-radius: 9999px;
}

/* ========================================
   BENEFITS
   ======================================== */
.benefits-section { background: var(--white); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 700px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-2xl);
  transition: background var(--transition), box-shadow var(--transition);
}
.benefit-card:hover {
  background: var(--slate-50);
  box-shadow: var(--shadow-lg);
}

.benefit-card__icon {
  width: 4rem; height: 4rem;
  background: rgba(255,204,0,.12);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--yellow);
  transition: transform var(--transition);
}
.benefit-card:hover .benefit-card__icon { transform: scale(1.1); }

.benefit-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: .3rem;
}
.benefit-card p {
  font-size: .875rem;
  color: var(--slate-500);
}

/* ========================================
   RATES
   ======================================== */
.rates-section {
  background: var(--slate-900);
  color: var(--white);
  padding: 2rem 1.5rem;
}

.rates-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 768px) {
  .rates-inner {
    flex-direction: row;
    align-items: flex-start;
  }
}

.rates-text { flex: 1; }

.rates-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.rates-text p {
  color: var(--slate-400);
  line-height: 1.7;
  max-width: 26rem;
  margin-bottom: 2rem;
}

.rates-check {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
}
.rates-check__title { font-weight: 700; }
.rates-check__sub   { font-size: .85rem; color: var(--slate-400); }

/* Rates table */
.rates-table-wrap { width: 100%; max-width: 22rem; }

.rates-table {
  background: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.rates-table__header {
  background: var(--green);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
}

.rates-table__body { padding: .5rem 1.5rem; }

.rates-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--slate-100);
}
.rates-row:last-child { border-bottom: none; }

.rates-row__label { font-size: 1.1rem; font-weight: 700; }
.rates-row__value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--green);
}

/* ========================================
   TRUST BAND
   ======================================== */
.trust-section {
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
  padding: 2.5rem 1.5rem;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 4rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--slate-600);
  font-weight: 600;
  font-size: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--slate-900);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--slate-400);
  font-size: .9rem;
  line-height: 1.8;
}

/* ========================================
   RESPONSIVE TWEAKS
   ======================================== */
@media (max-width: 480px) {
  .hero__img       { max-width: 220px; }
  .offer-card__main { font-size: 2.8rem; }
}
