/* ===================================================================
   Identidade visual Tempus — Espaço de Desenvolvimento
   Símbolo: cérebro monoline com gradiente teal → peach
   Tipografia: Fraunces (display/serif) + Inter (texto)
   =================================================================== */
:root {
  --teal:         #377E75;
  --teal-deep:    #245C56;
  --teal-soft:    #5FA398;
  --teal-pale:    #E7F2EF;
  --sage:         #7B9C6E;        /* tom intermediário do gradiente do cérebro */
  --peach:        #D9A066;
  --peach-deep:   #C18843;
  --peach-soft:   #F1D4B0;
  --peach-pale:   #FBF1E5;
  --cream:        #F7FCFB;
  --cream-warm:   #FFF8EE;
  --ink:          #1C2A2C;
  --ink-soft:     #3F4F50;
  --muted:        #6E7B7C;
  --line:         rgba(55, 126, 117, 0.14);
  --brand-gradient: linear-gradient(90deg, var(--teal) 0%, var(--sage) 50%, var(--peach) 100%);
  --danger:       #B0413E;
  --danger-pale:  #FBE9E9;
  --info-pale:    #E7EEF2;
  --info-deep:    #2F5872;
  --success-pale: #E1F2E9;
  --success-deep: #2C6E49;
  --shadow-sm:    0 1px 2px rgba(36, 92, 86, .06), 0 2px 6px rgba(36, 92, 86, .06);
  --shadow-md:    0 6px 18px rgba(36, 92, 86, .10), 0 2px 6px rgba(36, 92, 86, .06);
  --shadow-lg:    0 20px 48px rgba(36, 92, 86, .20), 0 4px 12px rgba(36, 92, 86, .08);
  --radius:       18px;
  --radius-lg:    26px;
  --container:    1120px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; color: var(--teal-deep); letter-spacing: -0.01em; line-height: 1.18; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw + 0.5rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.4vw + 0.6rem, 2.4rem); }
h3 { font-size: clamp(1.15rem, 0.6vw + 0.9rem, 1.35rem); }
p { margin: 0 0 1em; color: var(--ink-soft); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .94em; background: var(--teal-pale); padding: 1px 6px; border-radius: 6px; color: var(--teal-deep); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); background: var(--teal-pale); padding: 8px 14px; border-radius: 999px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--peach); display: inline-block; }

.topbar { background: var(--teal-deep); color: var(--cream); font-size: 13.5px; padding: 9px 0; text-align: center; }
.topbar strong { color: var(--peach-soft); }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(247, 252, 251, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; }
@media (max-width: 480px) { .brand img { height: 40px; } }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a, .nav-links .link-btn { color: var(--ink-soft); font-weight: 500; font-size: 15px; background: none; border: none; cursor: pointer; padding: 0; font-family: inherit; }
.nav-links a:hover, .nav-links .link-btn:hover { color: var(--teal-deep); }
.nav-cta { padding: 10px 18px !important; font-size: 14px !important; }
@media (max-width: 820px) { .nav-links a:not(.btn), .nav-links .link-btn { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: transform .15s ease, box-shadow .15s ease; border: none; cursor: pointer; text-align: center; line-height: 1; white-space: nowrap; text-decoration: none; }
.btn-primary { background: linear-gradient(180deg, #E4AE76 0%, #C18843 100%); color: #2A1A05; box-shadow: 0 8px 20px rgba(193, 136, 67, .35), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(193, 136, 67, .45), inset 0 1px 0 rgba(255,255,255,.45); color: #2A1A05; }
.btn-ghost { background: transparent; color: var(--teal-deep); border: 1.5px solid var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--cream); }
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 88% -10%, rgba(217,160,102,.32), transparent 60%), radial-gradient(700px 460px at -10% 90%, rgba(95,163,152,.28), transparent 60%), linear-gradient(180deg, var(--cream) 0%, var(--peach-pale) 100%); padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .hero { padding: 44px 0 56px; } .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; } .hero .badges { justify-content: center; } }
.hero h1 { margin-top: 18px; }
.hero h1 em { font-style: italic; color: var(--peach-deep); font-weight: 600; }
.hero .lead { font-size: 1.15rem; max-width: 540px; }
@media (max-width: 920px) { .hero .lead { margin-left: auto; margin-right: auto; } }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 10px; }
@media (max-width: 920px) { .hero-cta { justify-content: center; } }
.badges { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.badges span { display: inline-flex; align-items: center; gap: 8px; }
.badges svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }
.cover-wrap { position: relative; display: grid; place-items: center; }
.cover-card { position: relative; width: min(360px, 84%); transform: rotate(-2deg); transition: transform .4s ease; filter: drop-shadow(0 22px 40px rgba(36, 92, 86, .25)); }
.cover-card:hover { transform: rotate(0) scale(1.02); }
.cover-card img { width: 100%; border-radius: 8px; border: 1px solid rgba(0,0,0,.05); }
.ribbon { position: absolute; top: -14px; right: -10px; z-index: 2; background: var(--teal); color: var(--cream); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-md); transform: rotate(8deg); }

section { padding: 62px 0; }
@media (max-width: 760px) { section { padding: 44px 0; } }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.for-who { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.for-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .for-grid { grid-template-columns: 1fr; } }
.for-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.for-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.for-card .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--teal-pale); color: var(--teal); }
.for-card:nth-child(2) .ico { background: var(--peach-pale); color: var(--peach-deep); }
.for-card:nth-child(3) .ico { background: var(--teal-pale); color: var(--teal-deep); }
.for-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.for-card p { margin: 0; font-size: 0.98rem; }

.chapters { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.chap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .chap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .chap-grid { grid-template-columns: 1fr; } }
.chap { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.chap:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(55,126,117,.25); }
.chap .num { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: var(--peach); line-height: 1; margin-bottom: 6px; }
.chap h3 { font-size: 1.05rem; margin: 0 0 6px; }
.chap p { font-size: 0.92rem; color: var(--muted); margin: 0; }

.author { background: linear-gradient(180deg, var(--teal-pale) 0%, var(--cream) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: flex-start; }
@media (max-width: 820px) { .author-grid { grid-template-columns: 1fr; text-align: center; gap: 36px; } .author-photo-wrap { margin: 0 auto; } .author blockquote { margin-left: auto; margin-right: auto; } }
.author-photo-wrap { width: 260px; height: 260px; border-radius: 50%; background: linear-gradient(135deg, var(--peach-soft) 0%, var(--peach) 100%); padding: 8px; box-shadow: var(--shadow-lg); position: relative; }
.author-photo { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 50% 38%, var(--peach-soft) 0 36%, transparent 37%), radial-gradient(ellipse at 50% 78%, var(--teal) 0 50%, transparent 51%), var(--cream); display: grid; place-items: center; overflow: hidden; font-family: 'Fraunces', serif; }
.author-photo .initial { font-size: 110px; font-weight: 700; color: var(--cream); text-shadow: 0 2px 8px rgba(0,0,0,.18); margin-top: -8px; }
.author h2 { margin-bottom: 6px; }
.author .role { color: var(--peach-deep); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; margin-bottom: 16px; display: inline-block; }
.author p { font-size: 1.03rem; line-height: 1.75; }
.author blockquote { border-left: 4px solid var(--peach); background: var(--cream); padding: 20px 26px; margin: 24px 0 0; max-width: 600px; border-radius: 0 14px 14px 0; font-family: 'Fraunces', serif; font-style: italic; color: var(--teal-deep); font-size: 1.1rem; }
.author blockquote cite { display: block; margin-top: 10px; font-style: normal; font-size: 0.85rem; color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 500; }

.offer { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.offer-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 36px; box-shadow: var(--shadow-lg); text-align: center; position: relative; overflow: hidden; }
.offer-card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(217,160,102,.32), transparent 70%); }
.offer-card::after { content: ''; position: absolute; bottom: -50px; left: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(95,163,152,.28), transparent 70%); }
.offer-card > * { position: relative; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 20px 0 6px; }
.price-strike { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.price { font-family: 'Fraunces', serif; font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 700; color: var(--teal-deep); line-height: 1; }
.price small { font-size: 0.45em; vertical-align: top; font-weight: 600; margin-right: 4px; }
.price-note { color: var(--muted); font-size: 0.95rem; margin: 0 0 24px; }
.checklist { list-style: none; padding: 0; margin: 24px auto; display: grid; gap: 12px; text-align: left; max-width: 480px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; color: var(--ink-soft); }
.checklist svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 1px; }
.secure { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.secure svg { width: 16px; height: 16px; color: var(--teal); }

/* ============== Carrossel de produtos ============== */
.product-carousel { position: relative; max-width: 100%; }

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 24px 32px;
  margin: 0 -24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  perspective: 1200px;
}
.carousel-track::-webkit-scrollbar { display: none; }

/* Card: design vertical compacto. Mostra 3 no desktop, 2 no tablet, 1 no mobile. */
.carousel-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .45s cubic-bezier(.22,1,.36,1),
              box-shadow .35s ease,
              border-color .25s ease;
  transform-origin: center bottom;
  will-change: transform;
}
@media (min-width: 720px) { .carousel-card { flex-basis: 300px; } }
@media (min-width: 1024px){ .carousel-card { flex-basis: 320px; } }

/* Efeito: card central destacado (sobe + sombra + leve rotação 3D nos vizinhos) */
.carousel-card.is-center {
  box-shadow: 0 24px 50px rgba(36,92,86,.22), 0 6px 14px rgba(36,92,86,.10);
  border-color: var(--peach-soft);
  z-index: 2;
}
.carousel-card.is-side  { opacity: .9; }
.carousel-card:hover    {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 24px 50px rgba(36,92,86,.22);
  border-color: var(--peach-soft);
}

.carousel-card-media {
  position: relative;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.75), transparent 55%),
    linear-gradient(155deg, var(--teal-pale) 0%, var(--peach-pale) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  height: 220px;
  overflow: hidden;
}
.carousel-card-media::before {
  content: '';
  position: absolute;
  inset: auto auto -36px -36px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,160,102,.45), transparent 70%);
  pointer-events: none;
}
.carousel-card-media::after {
  content: '';
  position: absolute;
  inset: -30px -30px auto auto;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95,163,152,.30), transparent 70%);
  pointer-events: none;
}
.carousel-card-media img {
  position: relative;
  display: block;
  max-width: 86%;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(36,92,86,.30), 0 4px 10px rgba(36,92,86,.14);
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.carousel-card:hover .carousel-card-media img,
.carousel-card.is-center .carousel-card-media img {
  transform: translateY(-4px) rotate(-1.4deg) scale(1.03);
}

.carousel-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  flex: 1;
}
.carousel-card-body h3 {
  font-size: 1.15rem;
  margin: 0 0 4px;
  color: var(--teal-deep);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.carousel-card-desc {
  color: var(--ink-soft);
  font-size: .9rem;
  margin: 0 0 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}
.carousel-card .price-row {
  justify-content: flex-start;
  margin: auto 0 2px;
  gap: 8px;
  align-items: baseline;
}
.carousel-card .price { font-size: 1.8rem; line-height: 1; }
.carousel-card .price small { font-size: .55em; }
.carousel-card .price-strike { font-size: .9rem; }
.carousel-card .price-note { font-size: .78rem; margin: 0 0 12px; color: var(--muted); }
.carousel-cta {
  width: 100%;
  margin-top: 4px;
  font-size: .95rem;
  padding: 11px 18px;
  letter-spacing: .02em;
  border-radius: 999px;
}
.carousel-card .secure { display: none; }

/* Setas */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  color: var(--teal-deep);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.carousel-arrow:hover { background: var(--peach); color: var(--teal-deep); border-color: var(--peach); box-shadow: 0 10px 24px rgba(193,136,67,.32); }
.carousel-arrow:active { transform: translateY(-50%) scale(.92); }
.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }
@media (max-width: 720px) {
  .carousel-arrow { display: none; }
}

/* Dots */
.carousel-dots { display: flex; gap: 9px; justify-content: center; margin-top: 4px; }
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(95,163,152,.28);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease, width .2s ease;
}
.carousel-dot.is-active {
  background: var(--peach-deep);
  width: 26px;
  border-radius: 999px;
}
.carousel-dot:hover { background: var(--teal-soft); }

/* ============== Brand accents (linha gradiente, watermark monoline) ============== */
.brand-gradient-rule {
  display: block;
  height: 4px;
  width: 80px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--brand-gradient);
  opacity: .9;
}
.nav { position: sticky; }
.nav::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--brand-gradient);
  opacity: .65;
}

/* ============== Loja /adquirir ============== */
.shop-page { padding: 56px 0 90px; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); min-height: 100vh; }
.shop-hero { text-align: center; max-width: 740px; margin: 0 auto 38px; }
.shop-hero h1 { margin: 12px 0 10px; font-size: clamp(2rem, 3vw + 1rem, 2.8rem); }
.shop-hero p { color: var(--ink-soft); }
.shop-empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}
.shop-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, border-color .2s ease;
}
.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--peach-soft);
}
.shop-card-media {
  position: relative;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,.7), transparent 55%),
    linear-gradient(155deg, var(--teal-pale) 0%, var(--peach-pale) 100%);
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  overflow: hidden;
}
.shop-card-media::before {
  content: '';
  position: absolute; inset: auto auto -30px -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,160,102,.4), transparent 70%);
}
.shop-card-media img {
  position: relative;
  max-height: 180px; max-width: 86%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(36,92,86,.25), 0 4px 10px rgba(36,92,86,.12);
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.shop-card:hover .shop-card-media img { transform: translateY(-4px) rotate(-1deg) scale(1.03); }
.shop-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.shop-card-body h3 { font-size: 1.2rem; margin: 0 0 4px; color: var(--teal-deep); line-height: 1.25; }
.shop-card-desc {
  color: var(--ink-soft); font-size: .92rem; line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.shop-card-foot { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.shop-card .price-row { justify-content: flex-start; gap: 8px; margin: 0; align-items: baseline; }
.shop-card .price { font-size: 1.7rem; line-height: 1; }
.shop-card .price small { font-size: .55em; }
.shop-card .price-strike { font-size: .9rem; }

/* nav active state */
.nav-links a.is-active { color: var(--peach-deep); font-weight: 600; }

.faq { background: #fff; border-top: 1px solid var(--line); }
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; transition: background .2s ease; }
details[open] { background: #fff; box-shadow: var(--shadow-sm); }
summary { cursor: pointer; font-weight: 600; color: var(--teal-deep); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.02rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 26px; color: var(--peach-deep); line-height: 1; transition: transform .2s ease; font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { margin: 14px 0 0; color: var(--ink-soft); font-size: 0.98rem; }

footer { background: var(--teal-deep); color: rgba(247, 252, 251, .85); padding: 56px 0 28px; text-align: center; font-size: 14px; }
footer .footer-logo { display: inline-block; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 18px; }
footer .footer-logo img { height: 70px; width: auto; }
footer p { color: rgba(247, 252, 251, .75); margin: 4px 0; }
footer a { color: var(--peach-soft); }
footer a:hover { color: var(--cream); }
.fine { font-size: 12.5px; color: rgba(247, 252, 251, .55); margin: 18px auto 0; max-width: 680px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin: 20px 0 14px; padding: 16px 0; border-top: 1px solid rgba(247, 252, 251, .12); border-bottom: 1px solid rgba(247, 252, 251, .12); }
.footer-links a { color: rgba(247, 252, 251, .85); font-size: 13.5px; }
.footer-links a:hover { color: #fff; }

.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 50; padding: 16px 20px; max-width: 700px; margin: 0 auto; }
.cookie-inner { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cookie-inner p { margin: 0; font-size: 14px; flex: 1; min-width: 260px; }

.alert { border-radius: 12px; padding: 14px 18px; margin: 0 0 20px; border: 1px solid; font-size: 0.96rem; line-height: 1.55; }
.alert-error   { background: var(--danger-pale);  border-color: rgba(176,65,62,.25); color: var(--danger); }
.alert-success { background: var(--success-pale); border-color: rgba(44,110,73,.25); color: var(--success-deep); }
.alert-info    { background: var(--info-pale);    border-color: rgba(47,88,114,.25); color: var(--info-deep); }

.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 14px; color: var(--teal-deep); }
.form-group input, .form-group textarea, .form-group select { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease; width: 100%; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(55,126,117,.15); }
.form-group .hint { color: var(--muted); font-size: 12.5px; }
.form-group .label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.form-group .label-link { font-size: 13px; font-weight: 500; color: var(--teal); text-decoration: none; }
.form-group .label-link:hover { color: var(--teal-deep); text-decoration: underline; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 18px; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.checkbox input { margin-top: 3px; flex-shrink: 0; }
.checkbox a { color: var(--teal); text-decoration: underline; }
.auth-submit { width: 100%; margin-top: 4px; }

.auth-page { padding: 60px 0 80px; min-height: calc(100vh - 200px); }
.auth-container { display: flex; justify-content: center; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 36px; max-width: 520px; width: 100%; box-shadow: var(--shadow-md); }
.auth-card h1 { font-size: 1.9rem; margin: 12px 0 4px; }
.auth-lead { color: var(--muted); margin-bottom: 28px; }
.auth-alt { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.btn-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #fff; color: #1f1f1f; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 20px; font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: background .15s ease, border-color .15s ease, transform .1s ease; margin-bottom: 18px; }
.btn-google:hover { background: #FAFAFA; border-color: var(--teal-soft); color: #1f1f1f; }
.btn-google:active { transform: translateY(1px); }
.btn-google svg { flex-shrink: 0; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 22px; color: var(--muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-divider span { white-space: nowrap; }

.profile-page { padding: 56px 0 80px; }
.profile-header { text-align: center; margin-bottom: 36px; }
.profile-header h1 { margin: 12px 0 8px; }
.profile-lead { color: var(--muted); max-width: 540px; margin: 0 auto; }
.profile-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.profile-section-head { margin-bottom: 22px; }
.profile-section-head h2 { font-size: 1.5rem; margin-bottom: 4px; }
.profile-section-head p { color: var(--muted); margin: 0; font-size: .95rem; }
.empty-state { text-align: center; padding: 32px 24px; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty-icon { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--teal-pale); color: var(--teal); }
.empty-state h3 { color: var(--teal-deep); margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }
.library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.library-card { display: grid; grid-template-columns: 110px 1fr; gap: 18px; background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 20px; transition: box-shadow .2s ease, transform .2s ease; }
.library-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.library-cover img { width: 100%; border-radius: 8px; box-shadow: var(--shadow-sm); }
.library-info h3 { margin: 0 0 4px; font-size: 1.1rem; color: var(--teal-deep); }
.library-info p { margin: 0 0 8px; font-size: 0.92rem; color: var(--ink-soft); }
.library-desc { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.library-meta { font-size: 12.5px !important; color: var(--muted) !important; margin: 0 0 12px !important; }
.library-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.library-status { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.status-paid        { background: var(--success-pale); color: var(--success-deep); }
.status-pending     { background: var(--peach-pale);   color: var(--peach-deep); }
.status-refunded    { background: var(--danger-pale);  color: var(--danger); }
.status-open        { background: var(--peach-pale);   color: var(--peach-deep); }
.status-in_progress { background: var(--info-pale);    color: var(--info-deep); }
.status-resolved    { background: var(--success-pale); color: var(--success-deep); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.info-item { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; }
.info-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.info-value { color: var(--ink); font-weight: 500; }
.profile-actions { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }

.legal-page { padding: 56px 0 80px; }
.legal-container { max-width: 820px; }
.legal-head { text-align: center; margin-bottom: 32px; }
.legal-head .updated { color: var(--muted); font-size: 14px; }
.legal-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 40px; box-shadow: var(--shadow-sm); }
@media (max-width: 600px) { .legal-content { padding: 28px 22px; } }
.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--teal-deep); scroll-margin-top: 90px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content ul { padding-left: 22px; margin: 0 0 16px; }
.legal-content li { margin-bottom: 6px; color: var(--ink-soft); }

.contact-page { padding: 56px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: flex-start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { background: var(--teal-pale); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.contact-info h2 { font-size: 1.2rem; margin: 0 0 16px; }
.contact-item { margin-bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.contact-item strong { font-size: 13px; color: var(--teal-deep); text-transform: uppercase; letter-spacing: .06em; }
.contact-item a { font-size: 14.5px; color: var(--ink); }
.contact-note { margin-top: 22px; padding-top: 18px; border-top: 1px dashed rgba(55,126,117,.25); }
.contact-note p { font-size: 13.5px; color: var(--muted); margin: 0; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-sm); }
@media (max-width: 600px) { .contact-card { padding: 26px 22px; } }

.support-page { padding: 56px 0 80px; }
.support-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 0 auto 56px; }
@media (max-width: 820px) { .support-quick { grid-template-columns: 1fr; } }
.support-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); text-align: left; }
.support-card .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: var(--teal-pale); color: var(--teal); }
.support-card h3 { font-size: 1.1rem; margin: 0 0 6px; }
.support-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.support-faq { max-width: 800px; margin: 0 auto 56px; }
.support-faq h2 { font-size: 1.6rem; margin-bottom: 28px; }
.support-tickets { max-width: 880px; margin: 0 auto 56px; }
.support-tickets h2 { text-align: center; font-size: 1.5rem; margin-bottom: 24px; }
.tickets-list { display: grid; gap: 12px; }
.ticket-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow-sm); }
.ticket-card header { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 6px; }
.ticket-id { font-family: 'Fraunces', serif; color: var(--peach-deep); font-weight: 700; }
.ticket-status { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.ticket-card h3 { font-size: 1rem; margin: 0 0 6px; }
.ticket-meta { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.ticket-message { font-size: 14px; color: var(--ink-soft); background: var(--cream); padding: 10px 14px; border-radius: 10px; margin: 8px 0 0; border-left: 3px solid var(--peach); }
.support-form { max-width: 820px; margin: 0 auto; }
.support-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-sm); }
@media (max-width: 600px) { .support-form-card { padding: 26px 22px; } }
.form-lead { color: var(--muted); margin-bottom: 22px; }
.form-as-user { background: var(--teal-pale); border-radius: 10px; padding: 10px 14px; font-size: 14px; color: var(--teal-deep); margin: 0 0 18px; }

.thanks-page { padding: 56px 0 80px; }
.thanks-container { max-width: 860px; margin: 0 auto; }
.hero-success { text-align: center; margin-bottom: 40px; }
.check-circle { width: 110px; height: 110px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-soft), var(--teal)); display: grid; place-items: center; margin: 0 auto 24px; box-shadow: var(--shadow-lg); position: relative; animation: pop .6s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.check-circle svg { width: 56px; height: 56px; color: var(--cream); }
.check-circle::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--teal-soft); opacity: .35; animation: ripple 2s ease-out infinite; }
@keyframes ripple { 0% { transform: scale(1); opacity: .35; } 100% { transform: scale(1.4); opacity: 0; } }
.hero-success .eyebrow { margin-bottom: 18px; }
.hero-success h1 em { font-style: italic; color: var(--peach-deep); font-weight: 600; }
.hero-success p.lead { font-size: 1.1rem; max-width: 560px; margin: 8px auto 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-md); margin-bottom: 22px; }
@media (max-width: 540px) { .card { padding: 28px 22px; } }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: flex-start; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.steps li:last-child { border-bottom: none; padding-bottom: 0; }
.steps li:first-child { padding-top: 0; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--peach-pale); color: var(--peach-deep); font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.15rem; display: grid; place-items: center; flex-shrink: 0; }
.steps h3 { margin: 0 0 4px; }
.steps p { margin: 0; font-size: 0.97rem; }
.info-box { background: var(--peach-pale); border: 1px solid var(--peach-soft); border-radius: 14px; padding: 20px 22px; display: flex; align-items: flex-start; gap: 14px; margin-top: 22px; }
.info-box svg { width: 22px; height: 22px; color: var(--peach-deep); flex-shrink: 0; margin-top: 2px; }
.info-box p { margin: 0; font-size: 0.96rem; }
.author-msg { background: linear-gradient(180deg, var(--teal-pale) 0%, var(--cream) 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; display: grid; grid-template-columns: 90px 1fr; gap: 24px; align-items: flex-start; margin-bottom: 22px; }
@media (max-width: 540px) { .author-msg { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; } .author-msg .avatar { margin: 0 auto; } }
.author-msg .avatar { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, var(--peach-soft), var(--peach)); display: grid; place-items: center; font-family: 'Fraunces', serif; font-size: 36px; font-weight: 700; color: var(--cream); box-shadow: var(--shadow-md); }
.author-msg h2 { margin: 0 0 6px; font-size: 1.25rem; }
.author-msg .who { color: var(--peach-deep); font-weight: 600; font-size: 0.88rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.author-msg p { font-style: italic; font-family: 'Fraunces', serif; color: var(--teal-deep); font-size: 1.05rem; line-height: 1.7; }
.author-msg p:last-child { margin-bottom: 0; }
.signature { font-family: 'Fraunces', serif; font-style: italic; color: var(--peach-deep); margin-top: 8px; font-size: 1.1rem; }
.help { text-align: center; margin-top: 22px; }
.help h2 { font-size: 1.2rem; margin-bottom: 8px; }
.help p { color: var(--muted); font-size: 0.96rem; }
.help a.email { color: var(--peach-deep); font-weight: 600; }

.error-page { padding: 80px 0; min-height: calc(100vh - 200px); display: flex; align-items: center; }
.error-container { max-width: 600px; margin: 0 auto; text-align: center; }
.error-container h1 { margin: 16px 0 12px; }
.error-container p { color: var(--muted); margin-bottom: 28px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: no-preference) {
  .fade-in { animation: fadeIn .8s ease both; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

/* ====================================================================
   Checkout — escolha de pagamento (PIX · Cartão · Boleto)
   ==================================================================== */
.checkout-page { padding: 48px 0 80px; background: radial-gradient(900px 460px at 90% -10%, rgba(217,160,102,.16), transparent 60%), linear-gradient(180deg, #fff 0%, var(--cream) 100%); min-height: calc(100vh - 180px); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
@media (max-width: 920px) { .checkout-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---- Resumo do pedido ---- */
.checkout-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
@media (max-width: 920px) { .checkout-summary { position: static; } }
@media (max-width: 540px) { .checkout-summary { padding: 24px 20px; } }
.checkout-summary h1 { font-size: 1.65rem; margin: 10px 0 22px; }
.product-card { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: start; padding-bottom: 22px; border-bottom: 1px dashed var(--line); }
.product-card img { width: 92px; border-radius: 10px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.05); }
.product-card h2 { font-size: 1.12rem; margin: 0 0 6px; line-height: 1.25; }
.product-card > div > p { font-size: .9rem; color: var(--muted); margin: 0 0 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .price-row { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.product-card .price-row strong { font-family: 'Fraunces', Georgia, serif; font-size: 1.7rem; color: var(--teal-deep); font-weight: 700; }
.product-card .strike { color: var(--muted); text-decoration: line-through; font-size: .95rem; }
.checkout-perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checkout-perks li { position: relative; padding-left: 32px; font-size: .95rem; color: var(--ink-soft); line-height: 1.5; }
.checkout-perks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; line-height: 1; }

/* ---- Métodos de pagamento ---- */
.checkout-methods { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px 26px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
@media (max-width: 540px) { .checkout-methods { padding: 24px 20px; } }
.checkout-methods h2 { font-size: 1.5rem; margin: 10px 0 20px; }

/* Segmented control de métodos */
.method-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--teal-pale); border-radius: 14px; padding: 6px; margin-bottom: 24px; }
.method-tab { appearance: none; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink-soft); padding: 12px 8px; border-radius: 10px; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease; }
.method-tab:hover { color: var(--teal-deep); }
.method-tab.is-active { background: #fff; color: var(--teal-deep); box-shadow: 0 2px 6px rgba(36,92,86,.12); }
.method-tab:active { transform: scale(.98); }

.method-panel { animation: fadeIn .3s ease both; }
.method-panel > p { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }

/* Bloco de dados do visitante (checkout sem login) */
.guest-box { background: var(--cream-warm); border: 1px solid var(--peach-soft); border-radius: 14px; padding: 18px; margin-bottom: 22px; }
.guest-box-title { font-weight: 700; font-size: 14px; color: var(--teal-deep); margin: 0 0 12px; }
.guest-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .guest-fields { grid-template-columns: 1fr; } }
.guest-hint { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.guest-hint a { color: var(--teal); font-weight: 600; }

/* Campos do checkout (não usam .form-group) */
.checkout-methods label { display: block; font-weight: 600; font-size: 13.5px; color: var(--teal-deep); margin-bottom: 6px; }
.checkout-methods input, .checkout-methods select { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.checkout-methods input:focus, .checkout-methods select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(55,126,117,.15); }
.checkout-methods .form-row { display: block; margin-bottom: 16px; }
.checkout-methods .form-row-2, .checkout-methods .form-row-3 { display: grid; gap: 14px; margin-bottom: 16px; }
.checkout-methods .form-row-2 { grid-template-columns: 1fr 1fr; }
.checkout-methods .form-row-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 540px) { .checkout-methods .form-row-2 { grid-template-columns: 1fr; } .checkout-methods .form-row-3 { grid-template-columns: 1fr 1fr; } }
.checkout-methods .form-row-2 > div, .checkout-methods .form-row-3 > div { min-width: 0; }

.btn-block { width: 100%; }
.checkout-methods .btn-block { margin-top: 6px; padding-top: 15px; padding-bottom: 15px; }
.form-error { color: var(--danger); background: var(--danger-pale); border: 1px solid rgba(176,65,62,.2); border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin: 14px 0 0; }
.checkout-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); text-align: center; }
.checkout-secure svg { color: var(--teal); flex-shrink: 0; }

/* "Saiba +" + modal da descrição */
.read-more { display: inline-block; background: none; border: none; padding: 0; margin: -2px 0 14px; color: var(--teal); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.read-more:hover { color: var(--teal-deep); text-decoration: underline; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(28,42,44,.55); backdrop-filter: blur(2px); }
.modal-box { position: relative; z-index: 1; width: 100%; max-width: 600px; max-height: 84vh; overflow: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px 30px; animation: modalIn .25s ease both; }
.modal-box h3 { font-size: 1.4rem; margin: 0 0 14px; color: var(--teal-deep); padding-right: 36px; }
.modal-body { color: var(--ink-soft); line-height: 1.7; }
.modal-body p { margin: 0; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: none; background: var(--teal-pale); color: var(--teal-deep); border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s ease, color .15s ease; }
.modal-close:hover { background: var(--teal); color: #fff; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ---- Telas de status (PIX / boleto / processando / sucesso) ---- */
.checkout-status { max-width: 660px; margin: 0 auto; text-align: center; padding-top: 6px; }
.checkout-status .eyebrow { margin-bottom: 8px; }
.checkout-status h1 { margin: 12px 0 10px; }
.checkout-status .lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.checkout-status .alert { text-align: left; margin: 22px auto 0; max-width: 560px; }
.checkout-status .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* PIX */
.pix-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 30px; margin: 30px auto 0; max-width: 620px; display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; text-align: left; }
@media (max-width: 560px) { .pix-card { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; padding: 26px 22px; } }
.pix-qr { width: 220px; height: 220px; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 10px; box-shadow: var(--shadow-sm); }
.pix-info { width: 100%; min-width: 0; }
.pix-value { font-family: 'Fraunces', Georgia, serif; font-size: 2rem; font-weight: 700; color: var(--teal-deep); line-height: 1; }
.pix-product { color: var(--muted); margin: 4px 0 18px; font-size: .95rem; }
.pix-copy-label { display: block; font-weight: 600; font-size: 13px; color: var(--teal-deep); margin-bottom: 6px; }
.pix-copy { display: flex; gap: 8px; align-items: stretch; }
@media (max-width: 560px) { .pix-copy { flex-direction: column; } }
.pix-copy textarea { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--ink-soft); background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; resize: none; line-height: 1.45; }
.pix-copy .btn { flex-shrink: 0; align-self: flex-start; }
@media (max-width: 560px) { .pix-copy .btn { align-self: stretch; } }
.pix-expire { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.pix-status { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--ink-soft); background: var(--cream); border: 1px solid var(--line); padding: 8px 15px; border-radius: 999px; }
.pix-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--peach); flex-shrink: 0; box-shadow: 0 0 0 0 rgba(217,160,102,.5); animation: pulse 1.6s ease-out infinite; }
.pix-status .dot.ok  { background: var(--success-deep); animation: none; }
.pix-status .dot.err { background: var(--danger); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217,160,102,.5); } 70% { box-shadow: 0 0 0 9px rgba(217,160,102,0); } 100% { box-shadow: 0 0 0 0 rgba(217,160,102,0); } }
@media (prefers-reduced-motion: reduce) { .pix-status .dot { animation: none; } }

/* Boleto */
.boleto-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 32px; margin: 30px auto 0; max-width: 520px; text-align: center; }
.boleto-info { margin-bottom: 22px; }
.boleto-value { font-family: 'Fraunces', Georgia, serif; font-size: 2.2rem; font-weight: 700; color: var(--teal-deep); line-height: 1; }
.boleto-product { color: var(--muted); margin: 6px 0 4px; }
.boleto-expire { font-size: 13px; color: var(--peach-deep); font-weight: 600; margin: 6px 0 0; }
.boleto-card .btn { width: 100%; }

/* Sucesso */
.success-mark { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-soft), var(--teal)); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: var(--shadow-lg); animation: pop .6s cubic-bezier(.34,1.56,.64,1) both; }

/* ===================================================================
   Blog — material educativo
   =================================================================== */
.blog-page { padding: 56px 0 80px; }
.blog-hero { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.blog-hero h1 { margin: 16px 0 12px; }
.blog-hero p { color: var(--muted); font-size: 1.08rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card-link { display: flex; flex-direction: column; height: 100%; padding: 28px 26px; color: inherit; }
.post-card-link:hover { color: inherit; }
.post-card-cat { font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--peach-deep); margin-bottom: 12px; }
.post-card h2 { font-size: 1.28rem; margin: 0 0 10px; }
.post-card p { color: var(--ink-soft); margin: 0 0 22px; }
.post-card-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); }
.post-card-more { color: var(--teal); font-weight: 600; }

/* Post individual */
.post-page { padding: 48px 0 80px; }
.post-container { max-width: 760px; }
.post-back { display: inline-block; margin-bottom: 22px; font-weight: 600; font-size: .92rem; }
.post-head { margin-bottom: 30px; }
.post-head .eyebrow { margin-bottom: 16px; }
.post-head h1 { margin: 0 0 18px; }
.post-lead { font-family: 'Fraunces', Georgia, serif; font-size: 1.32rem; line-height: 1.5; font-style: italic; color: var(--teal-deep); margin: 0 0 22px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: .9rem; color: var(--muted); margin: 0; }
.post-body { margin-bottom: 36px; }
.post-body p:last-child { margin-bottom: 0; }
.post-note { background: var(--cream-warm); border: 1px solid var(--line); border-left: 4px solid var(--peach); border-radius: 0 14px 14px 0; padding: 18px 22px; margin-top: 28px; font-size: .95rem; color: var(--ink-soft); }
.post-cta { background: linear-gradient(135deg, var(--teal-pale) 0%, var(--cream) 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; text-align: center; margin-bottom: 40px; }
.post-cta h2 { font-size: 1.32rem; margin: 0 0 8px; }
.post-cta p { color: var(--ink-soft); margin: 0 0 18px; }
.post-cta .btn { margin: 4px 6px 0; }
.post-more { border-top: 1px solid var(--line); padding-top: 26px; }
.post-more h2 { font-size: 1.15rem; margin-bottom: 14px; }
.post-more-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.post-more-list a { font-weight: 500; font-family: 'Fraunces', Georgia, serif; font-size: 1.05rem; }

/* ===================================================================
   Foto da autora (retrato duotone)
   =================================================================== */
.author-photo-wrap--photo { width: 280px; height: 350px; border-radius: 26px; }
.author-photo-img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; display: block; }
@media (max-width: 820px) { .author-photo-wrap--photo { margin: 0 auto; } }

/* Preview da foto no admin */
.author-photo-admin { display: flex; gap: 18px; flex-wrap: wrap; }
.author-photo-admin figure { margin: 0; }
.author-photo-admin img { width: 150px; height: 188px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; }
.author-photo-admin figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; text-align: center; }

/* ===================================================================
   Hero — 4 banners rotativos
   =================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero--rotator { padding: 0; }
.hr { position: relative; }
.hr-viewport { overflow: hidden; }
.hr-track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.hr-slide { flex: 0 0 100%; min-width: 100%; }
.hr-slide .hero-grid { padding: 44px 0 56px; min-height: 412px; }
.hr-copy .eyebrow { margin-bottom: 14px; }
.hr-title { font-family: 'Fraunces', Georgia, serif; font-weight: 700; color: var(--teal-deep); font-size: clamp(1.7rem, 2.6vw + .6rem, 2.7rem); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 16px; }
.hr-cover { display: grid; place-items: center; }
.hr-cover img { width: clamp(180px, 19vw, 230px); border-radius: 11px; border: 1px solid rgba(0, 0, 0, .05); box-shadow: 0 20px 42px rgba(36, 92, 86, .26); transform: rotate(-2deg); transition: transform .4s ease; }
.hr-cover img:hover { transform: rotate(0deg) scale(1.03); }
.hr-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .82); color: var(--teal-deep); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: background .15s ease, transform .15s ease; z-index: 3; }
.hr-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.hr-prev { left: 14px; }
.hr-next { right: 14px; }
.hr-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 9px; }
.hr-dot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 999px; background: rgba(36, 92, 86, .25); cursor: pointer; transition: width .25s ease, background .25s ease; }
.hr-dot.is-active { background: var(--peach-deep); width: 24px; }
@media (max-width: 920px) {
  .hr-slide .hero-grid { padding: 28px 0 46px; min-height: 0; text-align: center; }
  .hr-cover { order: -1; }
  .hr-cover img { width: 150px; }
  .hero--rotator .hero-cta { justify-content: center; }
  .hr-arrow { display: none; }
}
