/* ============================================================
   CUPOM DA GI — design system
   Display: Unbounded (bold, rounded, geometric — playful/pop)
   Body: Plus Jakarta Sans
   Code: JetBrains Mono (coupon codes read like real ticket codes)
   ============================================================ */

:root {
  --rosa: #ff6ca1;
  --rosa-dark: #c7547e;
  --rosa-ink: #3a0a24;
  --amarelo: #ff751f;
  --amarelo-deep: #cc5e19;
  --bg: #fff8f4;
  --card: #ffffff;
  --ink: #2b0a1f;
  --muted: #8a5570;
  --line: #f3d9e4;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(58, 10, 36, 0.25);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Unbounded", "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--rosa-ink);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
a { color: var(--rosa-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; }

code, .mono { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Unbounded", sans-serif; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--rosa-dark);
  background: #ffe6f0; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.lede { color: var(--muted); font-size: 1.1rem; max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 0.92rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--rosa); color: #fff; box-shadow: 0 8px 20px -6px rgba(255,45,120,0.55); }
.btn-primary:hover { background: var(--rosa-dark); }
.btn-secondary { background: var(--amarelo); color: var(--rosa-ink); box-shadow: 0 8px 20px -6px rgba(255,203,5,0.5); }
.btn-secondary:hover { background: var(--amarelo-deep); }
.btn-outline { background: transparent; color: var(--rosa-ink); border: 2px solid var(--rosa-ink); padding: 12px 24px; }
.btn-outline:hover { background: var(--rosa-ink); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; overflow: visible;
  background: rgba(255, 248, 244, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-height: 74px; }
.logo { display: flex; align-items: center; height: 42px; }
.logo-img { height: 42px; max-height: 42px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--rosa-ink); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--rosa); text-decoration: none; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.has-sub { position: relative; }
.submenu {
  position: absolute; top: 100%; left: 0; background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 10px; min-width: 220px; display: none; flex-direction: column;
  border: 1px solid var(--line);
}
.has-sub:hover .submenu { display: flex; }
.submenu a { padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.submenu a:hover { background: #fff0f6; text-decoration: none; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 40px; position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: "Unbounded", sans-serif; font-size: 1.5rem; color: var(--rosa); }
.hero-stat span { font-size: 0.85rem; color: var(--muted); }

/* Signature element: coupon ticket */
.ticket-stack { position: relative; display: flex; flex-direction: column; gap: 18px; }
.ticket {
  display: flex; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; border: 1px solid var(--line); position: relative;
}
.ticket-stub {
  width: 108px; flex-shrink: 0; background: linear-gradient(160deg, var(--rosa), var(--rosa-dark));
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 14px 8px; position: relative;
}
.ticket-stub .pct { font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 1.5rem; line-height: 1; }
.ticket-stub .pct-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; opacity: 0.9; }
.ticket-perf {
  width: 0; border-left: 2px dashed rgba(58,10,36,0.25); position: relative; flex-shrink: 0;
}
.ticket-perf::before, .ticket-perf::after {
  content: ""; position: absolute; left: -8px; width: 16px; height: 16px; background: var(--bg);
  border-radius: 50%; border: 1px solid var(--line);
}
.ticket-perf::before { top: -8px; }
.ticket-perf::after { bottom: -8px; }
.ticket-body { flex: 1; padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.ticket-body .brand { font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 1rem; }
.ticket-body .benefit { color: var(--muted); font-size: 0.9rem; }
.ticket-body .code-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.code-pill {
  font-family: "JetBrains Mono", monospace; font-size: 0.82rem; background: #fff0f6;
  color: var(--rosa-dark); padding: 5px 12px; border-radius: 999px; border: 1px dashed var(--rosa);
  font-weight: 600; letter-spacing: 0.02em;
}
.ticket-body .verified { font-size: 0.72rem; color: var(--muted); }
.ticket.small { max-width: 380px; }

/* Coupon grid (used on marcas / home destaques) */
.coupon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 32px; }
.coupon-grid .ticket { flex-direction: column; }
.coupon-grid .ticket-stub { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; padding: 16px 20px; }
.stub-brand { font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 1.02rem; color: #fff; }
.pct-wrap { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; flex-shrink: 0; }
.pct-wrap .pct { font-size: 1.3rem; }
.pct-wrap .pct-label { margin-top: 2px; }
.coupon-grid .ticket-perf { display: none; }
.coupon-grid .ticket::after {
  content: ""; position: absolute; top: 74px; left: 0; right: 0; height: 0;
  border-top: 2px dashed rgba(255,255,255,0.001);
}
.coupon-grid .ticket-body { padding: 20px; gap: 8px; }
.coupon-grid .ticket-body .cta { margin-top: 10px; }
.cta-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.88rem;
  color: var(--rosa-dark); font-family: "Unbounded", sans-serif;
}

/* ---------- Brand chips ---------- */
.brand-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.brand-chip {
  padding: 12px 22px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line);
  font-weight: 700; font-size: 0.9rem; color: var(--rosa-ink); transition: all 0.15s ease;
}
.brand-chip:hover { border-color: var(--rosa); background: #fff0f6; text-decoration: none; }

/* ---------- VIP banner ---------- */
.vip-banner {
  border-radius: 28px; padding: 56px 48px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--rosa) 0%, var(--rosa) 55%, var(--amarelo) 55%, var(--amarelo) 100%);
  color: #fff; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: center;
}
.vip-banner h2 { color: #fff; }
.vip-banner p { color: rgba(255,255,255,0.92); }
.vip-banner .btn-secondary { background: var(--rosa-ink); color: #fff; }
.vip-banner .btn-secondary:hover { background: #1f0513; }
.vip-icon { justify-self: end; font-size: 5rem; line-height: 1; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.blog-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.blog-card .thumb {
  height: 140px; background: linear-gradient(135deg, var(--amarelo), var(--rosa)); display: flex;
  align-items: center; justify-content: center; font-size: 2.2rem;
}
.blog-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card .tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rosa-dark); }
.blog-card h3 { margin-bottom: 4px; }
.blog-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.blog-card .read-more { font-weight: 700; font-size: 0.88rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--rosa-ink); color: #ffe3ef; padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-family: "Unbounded", sans-serif; font-size: 0.85rem; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: #ffc9df; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-logo-img { height: 38px; width: auto; margin-bottom: 14px; }
.footer-tagline { color: #ffc9df; font-size: 0.92rem; max-width: 280px; }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.social-row a:hover { background: var(--amarelo); color: var(--rosa-ink); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15); margin-top: 40px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: #ffb8d5;
}
.footer-bottom a { color: #ffb8d5; }

/* ---------- Generic page header (inner pages) ---------- */
.page-hero { padding: 56px 0 32px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.verified-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700;
  color: #0a7d4f; background: #e3f9ed; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}

/* Brand page big ticket */
.coupon-detail-grid { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.rules-howto-combined { display: flex; flex-direction: column; gap: 16px; }
.rules-howto-combined .card { margin-bottom: 0; }
.hero-ticket { display: flex; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.hero-ticket .ticket-stub { width: 140px; }
.hero-ticket .ticket-stub .pct { font-size: 1.7rem; }
.hero-ticket .ticket-body { padding: 22px 22px; gap: 8px; }
.hero-ticket .ticket-body .code-row { margin-top: 8px; flex-wrap: wrap; }

/* Content columns */
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; margin-top: 8px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; margin-bottom: 20px;
}
.card h3 { font-size: 1rem; margin-bottom: 12px; }
.rules-list li, .steps-list li { margin-bottom: 8px; }
.steps-list { list-style: none; padding: 0; counter-reset: step; }
.steps-list li { counter-increment: step; padding-left: 34px; position: relative; }
.steps-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 24px; height: 24px;
  background: var(--rosa); color: #fff; border-radius: 50%; font-size: 0.78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* FAQ accordion (native details/summary) */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  padding: 18px 22px; cursor: pointer; font-weight: 700; font-family: "Unbounded", sans-serif; font-size: 0.92rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--rosa); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted); }

/* Related brands */
.tag-badge {
  display: inline-flex; align-items: center; font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; background: rgba(255,255,255,0.25); color: #fff; padding: 3px 10px;
  border-radius: 999px; margin-top: 4px; width: fit-content;
}
.ticket-body .tag-badge, .hero-ticket .tag-badge, .ticket.small .tag-badge { background: #ffe6f0; color: var(--rosa-dark); }
.badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.badge-row .tag-badge { margin-top: 0; }
.tag-badge.mech { background: #fff0e0; color: var(--amarelo-deep); }
.category-section { margin-bottom: 44px; }
.category-section h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.category-count { font-size: 0.8rem; font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.subbrand-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 4px; }
  font-family: "Unbounded", sans-serif; font-size: 0.82rem; font-weight: 600; padding: 9px 16px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--rosa-ink);
  cursor: pointer; transition: all 0.15s ease;
}
.subbrand-tab:hover { border-color: var(--rosa); }
.subbrand-tab.active { background: var(--rosa-ink); border-color: var(--rosa-ink); color: #fff; }
.subbrand-new { display: inline-block; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; background: var(--amarelo); color: var(--rosa-ink); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.subbrand-panel { display: none; }
.subbrand-panel.active { display: block; }
.subbrand-blurb { color: var(--muted); font-size: 0.92rem; margin: 18px 0 4px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 36px; }
.filter-chip {
  font-family: "Unbounded", sans-serif; font-size: 0.82rem; font-weight: 600; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--rosa-ink);
  cursor: pointer; transition: all 0.15s ease;
}
.filter-chip:hover { border-color: var(--rosa); }
.filter-chip.active { background: var(--rosa); border-color: var(--rosa); color: #fff; }
.fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-top: 18px; }
.fav-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; text-align: center; transition: transform 0.15s ease; box-shadow: var(--shadow);
}
.fav-card:hover { transform: translateY(-3px); text-decoration: none; }
.fav-card img { width: 100%; height: 152px; object-fit: cover; display: block; background: #f6e9ee; }
.fav-thumb {
  height: 152px; display: flex; align-items: center; justify-content: center; font-size: 2rem;
  background: linear-gradient(135deg, var(--amarelo), var(--rosa));
}
.fav-card .fav-body { padding: 12px 10px 14px; }
.fav-card .fav-sub { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--rosa-dark); }
.fav-card .fav-name { font-size: 0.85rem; font-weight: 600; color: var(--rosa-ink); margin-top: 3px; line-height: 1.25; }
.fav-card .fav-price { font-size: 0.85rem; font-weight: 700; color: var(--rosa); margin-top: 6px; }
.fav-card .fav-fact { font-size: 0.76rem; color: var(--muted); margin-top: 8px; line-height: 1.4; text-align: left; }
.related-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* Sidebar VIP mini card */
.mini-vip { background: linear-gradient(160deg, var(--amarelo), var(--amarelo-deep)); border-radius: var(--radius-sm); padding: 22px; text-align: center; }
.mini-vip h4 { font-family: "Unbounded", sans-serif; margin-bottom: 8px; color: #fff; }
.mini-vip p { font-size: 0.88rem; color: #fff; opacity: 0.92; margin-bottom: 16px; }

/* General stores list */
.store-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.store-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px; text-align: center; }
.store-card h3 { margin-bottom: 14px; }

/* Blog article prose */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { color: var(--ink); }
.article-meta { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 0.88rem; margin-bottom: 24px; }
.article-meta .tag { background: #ffe6f0; color: var(--rosa-dark); padding: 4px 12px; border-radius: 999px; font-weight: 700; }

/* Contact form */
.form-grid { display: grid; gap: 16px; max-width: 560px; }
.form-grid label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  font-family: inherit; font-size: 0.95rem; background: #fff;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: none; border-color: var(--rosa);
}
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 32px 0 44px; }

/* Legal pages */
.legal h2 { margin-top: 1.8em; }
.legal p, .legal li { color: var(--muted); }

/* Pending note (kept for the owner's reference; can be deleted once resolved) */
.pending-note {
  background: #fff7e0; border: 1px dashed #e6a800; border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: 0.86rem; color: #8a5a00; margin: 16px 0;
}

/* Utility sections */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

@media (max-width: 900px) {
  .hero-grid, .two-col, .content-grid, .coupon-detail-grid { grid-template-columns: 1fr; }
  .content-grid { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .coupon-grid, .blog-grid, .store-list, .contact-cards { grid-template-columns: 1fr; }
  .vip-banner { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .vip-icon { justify-self: center; }
  .nav-links, .nav .btn { display: none; }
  .menu-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 16px;
  }
  .site-header.open .nav .btn { display: inline-flex; }
  .has-sub:hover .submenu { display: none; }
  .submenu { position: static; box-shadow: none; border: none; display: none; padding-left: 12px; }
  .has-sub.open .submenu { display: flex; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 0 24px; }
  .section { padding: 44px 0; }
}

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

:focus-visible { outline: 3px solid var(--rosa-dark); outline-offset: 2px; }
