/* =====================================================================
   RDO STORE — Folha de estilo principal
   Paleta: navy #16243F · dourado #B68A2E · creme #FBF6EA
   Tipografia: Cormorant Garamond (display) + Poppins (corpo/UI)
   ===================================================================== */

:root {
  --navy:        #16243F;
  --navy-deep:   #0E1830;
  --navy-soft:   #243650;
  --gold:        #B68A2E;
  --gold-light:  #D4B463;
  --gold-glow:   rgba(182, 138, 46, 0.18);
  --cream:       #FBF6EA;
  --cream-deep:  #F3ECDA;
  --cloud:       #FFFFFF;
  --ink:         #1C2230;
  --ink-soft:    #4A5468;
  --line:        rgba(22, 36, 63, 0.12);
  --line-gold:   rgba(182, 138, 46, 0.35);

  --shadow-sm: 0 2px 10px rgba(14, 24, 48, 0.06);
  --shadow-md: 0 12px 36px rgba(14, 24, 48, 0.12);
  --shadow-lg: 0 28px 70px rgba(14, 24, 48, 0.22);

  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1200px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);

  --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-body:    "Poppins", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Ornamento (assinatura visual) ---------- */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 0 auto;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: 64px;
  background: linear-gradient(90deg, transparent, var(--line-gold));
}
.ornament::after { background: linear-gradient(90deg, var(--line-gold), transparent); }
.ornament i {
  width: 8px; height: 8px; transform: rotate(45deg);
  border: 1px solid var(--gold); background: var(--gold-glow);
}
.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-body); font-weight: 600; font-size: 0.92rem;
  padding: 14px 28px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.3s var(--ease);
  letter-spacing: 0.01em; line-height: 1;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(251, 246, 234, 0.4); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Cabeçalho do site ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(22, 36, 63, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(182, 138, 46, 0.18);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.brand .mark {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--ff-display); font-size: 1.2rem; font-weight: 700;
}
.brand b { font-family: var(--ff-body); font-weight: 600; font-size: 1.06rem; letter-spacing: 0.02em; }
.brand span { color: var(--gold-light); font-weight: 400; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(251, 246, 234, 0.82); font-size: 0.9rem; font-weight: 500; transition: color 0.25s; }
.nav a:hover, .nav a.active { color: var(--gold-light); }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(182,138,46,0.20), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  padding: 96px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(251,246,234,0.05) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.5;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent);
}
.hero .wrap { position: relative; z-index: 2; text-align: center; }
.hero .eyebrow { display: inline-block; margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600;
  max-width: 16ch; margin: 0 auto 0.32em;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero p {
  font-size: clamp(1.02rem, 2vw, 1.18rem); color: rgba(251,246,234,0.78);
  max-width: 56ch; margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; justify-content: center; flex-wrap: wrap;
  margin-top: 64px; padding-top: 36px; border-top: 1px solid rgba(182,138,46,0.18);
}
.hero-stats div { text-align: center; }
.hero-stats b { display: block; font-family: var(--ff-display); font-size: 2.4rem; color: var(--gold-light); line-height: 1; }
.hero-stats span { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(251,246,234,0.6); }

/* ---------- Cabeçalho de seção ---------- */
.section { padding: 86px 0; }
.section-cream { background: var(--cream); }
.section-deep  { background: var(--cream-deep); }
.section-navy  { background: var(--navy); color: var(--cream); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 52px; }
.section-head .ornament { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-navy .section-head h2 { color: var(--cream); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.section-navy .section-head p { color: rgba(251,246,234,0.72); }

/* ---------- Portais de categoria ---------- */
.portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portal {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--navy); color: var(--cream); min-height: 260px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  border: 1px solid rgba(182,138,46,0.22);
}
.portal::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 80% 0%, var(--gold-glow), transparent 70%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.portal:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portal:hover::before { opacity: 1; }
.portal .ico {
  position: relative; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: auto;
  background: rgba(182,138,46,0.14); border: 1px solid var(--line-gold);
  color: var(--gold-light); font-size: 1.4rem;
}
.portal h3 { position: relative; font-size: 1.7rem; margin: 18px 0 6px; }
.portal p { position: relative; color: rgba(251,246,234,0.74); font-size: 0.92rem; margin: 0 0 14px; }
.portal .more { position: relative; color: var(--gold-light); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.04em; }
.portal .more::after { content: " →"; transition: margin 0.3s var(--ease); }
.portal:hover .more::after { margin-left: 6px; }
.portal .count {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--ff-display); font-size: 1.1rem; color: var(--gold-light);
  border: 1px solid var(--line-gold); border-radius: 100px; padding: 2px 12px;
}

/* ---------- Filtros ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter {
  font-family: var(--ff-body); font-size: 0.85rem; font-weight: 500;
  padding: 9px 20px; border-radius: 100px; cursor: pointer;
  background: var(--cloud); color: var(--ink-soft);
  border: 1px solid var(--line); transition: all 0.25s var(--ease);
}
.filter:hover { border-color: var(--gold); color: var(--navy); }
.filter.active { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* ---------- Grade de produtos ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  position: relative; background: var(--cloud); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); z-index: 3;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--cream-deep); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media .placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: var(--gold-light);
  font-family: var(--ff-display); font-size: 2.4rem;
}
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; backdrop-filter: blur(4px);
}
.badge-free { background: rgba(182,138,46,0.92); color: var(--navy-deep); }
.badge-new  { background: rgba(251,246,234,0.92); color: var(--navy); }
.badge-soon { background: rgba(22,36,63,0.85); color: var(--cream); }
.badge-top  { background: var(--navy); color: var(--gold-light); border: 1px solid var(--line-gold); }

.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.card h3 { font-size: 1.34rem; margin: 0 0 8px; color: var(--navy); }
.card-excerpt { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 16px; flex: 1; }
.card-meta { display: flex; gap: 14px; font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 18px; flex-wrap: wrap; }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: auto; flex-wrap: wrap; }
.price { font-family: var(--ff-display); font-size: 1.5rem; color: var(--navy); font-weight: 600; white-space: nowrap; line-height: 1.2; display: flex; flex-direction: column; }
.price .old { font-family: var(--ff-body); font-size: 0.8rem; color: var(--ink-soft); text-decoration: line-through; font-weight: 400; }
.card .btn { white-space: nowrap; }
.price.free { color: var(--gold); }
.card .btn { padding: 11px 20px; font-size: 0.85rem; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty-state h3 { color: var(--navy); }

/* ---------- Jornada (3 passos) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 34px 28px; background: var(--cloud); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--ff-display); font-size: 2.6rem; color: var(--gold);
  display: block; line-height: 1; margin-bottom: 14px; opacity: 0.85;
}
.step h3 { font-size: 1.34rem; color: var(--navy); }
.step p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Lead magnet (materiais gratuitos) ---------- */
.lead {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  color: var(--cream); padding: 64px 56px; text-align: center;
}
.lead::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 280px at 50% -20%, var(--gold-glow), transparent 70%);
}
.lead > * { position: relative; z-index: 1; }
.lead h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--cream); }
.lead p { color: rgba(251,246,234,0.78); max-width: 52ch; margin: 0 auto 28px; }
.lead-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.lead-form input {
  flex: 1; min-width: 200px; padding: 15px 20px; border-radius: 100px; border: 1px solid rgba(251,246,234,0.25);
  background: rgba(251,246,234,0.08); color: var(--cream); font-family: var(--ff-body); font-size: 0.95rem;
}
.lead-form input::placeholder { color: rgba(251,246,234,0.5); }
.lead-form input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.lead small { display: block; margin-top: 14px; color: rgba(251,246,234,0.5); font-size: 0.78rem; }

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: var(--cloud); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 0.9rem; }
.quote p { font-size: 0.96rem; color: var(--ink); margin: 0 0 18px; font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who b { display: block; font-family: var(--ff-body); font-size: 0.9rem; color: var(--navy); }
.quote .who span { font-size: 0.78rem; color: var(--ink-soft); }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin: 0 0 20px; font-size: 0.95rem; }

/* ---------- Página de produto ---------- */
.product { padding: 60px 0 90px; }
.product-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.product-media { position: sticky; top: 100px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.product-media .placeholder { aspect-ratio: 4/5; }
.product-info .breadcrumb { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 18px; }
.product-info .badge { position: static; display: inline-block; margin-bottom: 12px; }
.product-info .breadcrumb a:hover { color: var(--gold); }
.product-info h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--navy); }
.product-info .lead-text { font-size: 1.1rem; color: var(--ink-soft); }
.product-buy {
  margin: 28px 0; padding: 28px; background: var(--cloud); border: 1px solid var(--line-gold);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.product-buy .price { font-size: 2.4rem; }
.product-buy .btn { margin-top: 16px; }
.product-buy .guarantee { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.product-specs { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.product-specs li { display: flex; gap: 12px; align-items: center; font-size: 0.94rem; color: var(--ink); }
.product-specs li b { color: var(--gold); }
.product-content { margin-top: 40px; }
.product-content h2 { color: var(--navy); font-size: 1.8rem; margin-top: 32px; }
.product-content ul { padding-left: 22px; }
.product-content li { margin-bottom: 8px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-deep); color: rgba(251,246,234,0.72); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.site-footer h4 { font-family: var(--ff-body); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.site-footer a { display: block; color: rgba(251,246,234,0.72); font-size: 0.9rem; padding: 5px 0; transition: color 0.25s; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .brand { color: var(--cream); margin-bottom: 14px; }
.footer-about p { font-size: 0.9rem; max-width: 36ch; }
.footer-bottom { border-top: 1px solid rgba(182,138,46,0.16); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: rgba(251,246,234,0.5); }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .portals, .grid, .steps, .quotes { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .portals, .grid, .steps, .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 76px; }
  .section { padding: 60px 0; }
  .lead { padding: 44px 24px; }
  .hero-stats { gap: 28px; }
}

/* ---------- Acessibilidade ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Barra de oferta / cupom ---------- */
.promo-bar { background: linear-gradient(90deg, var(--gold), var(--gold-light)); color: var(--navy-deep); font-size: 0.85rem; font-weight: 600; }
.promo-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 9px 24px; min-height: 42px; }
.copy-code { display: inline-flex; align-items: center; gap: 8px; background: var(--navy-deep); color: var(--cream); border: 0; border-radius: 100px; padding: 5px 12px; font: inherit; cursor: pointer; transition: transform 0.2s var(--ease); }
.copy-code:hover { transform: translateY(-1px); }
.copy-code .code { font-weight: 700; letter-spacing: 0.06em; }
.copy-code .copy-label, .coupon-chip .copy-label { font-size: 0.7rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; }
.copy-code.copied .copy-label, .coupon-chip.copied .copy-label { opacity: 1; color: var(--gold-light); }

/* ---------- Contagem regressiva ---------- */
.countdown { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.countdown-label { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.cd-box { display: flex; flex-direction: column; align-items: center; background: var(--navy); color: var(--cream); border-radius: 10px; padding: 8px 10px; min-width: 46px; }
.cd-box b { font-family: var(--ff-body); font-size: 1.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-box span { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-light); margin-top: 3px; }
.countdown.is-over .countdown-label { color: var(--gold); }
.promo-bar .countdown { margin: 0; }
.promo-bar .countdown-label { color: var(--navy-deep); }
.promo-bar .cd-box { background: var(--navy-deep); padding: 3px 8px; min-width: 34px; }
.promo-bar .cd-box b { font-size: 0.92rem; }

/* ---------- Chip de cupom (produto) ---------- */
.coupon-chip { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 10px 14px; border: 1px dashed var(--gold); border-radius: 10px; background: var(--gold-glow); color: var(--navy); cursor: pointer; font-size: 0.9rem; transition: background 0.2s; }
.coupon-chip:hover { background: rgba(182, 138, 46, 0.26); }
.coupon-chip b { letter-spacing: 0.06em; }

/* ---------- Pré-venda ---------- */
.badge-presale { background: linear-gradient(90deg, var(--gold), var(--gold-light)); color: var(--navy-deep); }
.presale-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.presale-note { font-size: 0.85rem; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
