/* ============================================================
   Oficina de Colar Bordado · Bordados da Bah
   Paleta: lilás artesanal + creme linho + coral (urgência)
   ============================================================ */

:root {
  --plum: #4a2d5e;
  --purple: #8156a8;
  --purple-soft: #a06fc4;
  --lilac: #f3ecf8;
  --lilac-deep: #e7d8f1;
  --cream: #faf5ef;
  --ink: #3a2f44;
  --ink-soft: #6b5e76;
  --line: #e3d8ec;
  --coral-1: #ff3d2e;
  --coral-2: #ff7a2f;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 18px 50px -22px rgba(74, 45, 94, 0.35);
  --shadow-sm: 0 8px 24px -14px rgba(74, 45, 94, 0.4);
  --ff-display: "Fraunces", Georgia, serif;
  --ff-body: "Poppins", system-ui, sans-serif;
  --ff-hand: "Caveat", cursive;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.12; color: var(--plum); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
em { font-style: italic; color: var(--purple); }
p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--ff-body); font-weight: 600; font-size: .98rem;
  padding: .95rem 1.9rem; border-radius: 999px; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  text-align: center; line-height: 1.2; border: none;
}
.btn-lg { padding: 1.15rem 2.6rem; font-size: 1.06rem; }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 14px 30px -12px rgba(129, 86, 168, .7); }
.btn-primary:hover { background: var(--plum); transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(129, 86, 168, .8); }
.btn-cta {
  background: linear-gradient(135deg, var(--coral-1), var(--coral-2));
  color: #fff; box-shadow: 0 16px 34px -10px rgba(255, 80, 40, .65);
  font-size: 1.15rem; font-weight: 700; width: 100%; max-width: 460px;
  animation: pulse 2.4s ease-in-out infinite;
}
.btn-cta:hover { transform: translateY(-3px) scale(1.01); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 16px 34px -10px rgba(255, 80, 40, .55); }
  50% { box-shadow: 0 16px 44px -6px rgba(255, 80, 40, .85); }
}

/* ===== Urgency bar ===== */
.urgency-bar {
  background: linear-gradient(90deg, var(--coral-1), var(--coral-2));
  color: #fff; text-align: center; padding: .55rem 0; font-size: .9rem;
}
.urgency-inner { display: flex; flex-wrap: wrap; gap: .35rem 1.6rem; align-items: center; justify-content: center; }
.urgency-bar p { color: #fff; margin: 0; }
.urgency-bar strong { font-weight: 700; }
.countdown { background: rgba(0,0,0,.22); padding: .1rem .55rem; border-radius: 8px; font-variant-numeric: tabular-nums; font-weight: 700; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 239, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand-mark { font-size: 1.7rem; color: var(--purple); line-height: 1; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--ff-display); font-weight: 600; font-size: 1.18rem; color: var(--plum); line-height: 1.05; }
.brand-sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-soft); }
.nav-cta { padding: .7rem 1.5rem; font-size: .92rem; }

/* ===== Eyebrow / section heads ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: var(--purple); margin-bottom: 1rem;
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--lilac-deep); }
.eyebrow .line { width: 34px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral-2); }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.lilac { background: var(--lilac); }
.section-head { margin-bottom: 2.8rem; }
.section-head.center { text-align: center; }
.section-sub { max-width: 620px; margin: 1rem auto 0; }
.center { text-align: center; }

/* ===== Hero ===== */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); background: radial-gradient(120% 90% at 80% 0%, var(--lilac) 0%, var(--cream) 55%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 540px; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-bottom: 2rem; }
.hero-guarantee { font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 1.8rem; }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--ff-display); font-size: 1.5rem; color: var(--purple); }
.hero-trust span { font-size: .8rem; color: var(--ink-soft); }

/* Hero photo */
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--lilac-deep); }
.hero-photo img { width: 100%; height: auto; display: block; }
.hero-photo.missing { min-height: 420px; }

/* ===== Quem ===== */
.quem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.quem-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem; box-shadow: var(--shadow-sm);
}
.quem-card p + p { margin-top: .9rem; }
.quem-tag {
  display: inline-block; background: var(--lilac); color: var(--purple); font-weight: 600;
  padding: .35rem 1rem; border-radius: 999px; font-size: .85rem; margin-bottom: 1.1rem;
  letter-spacing: .02em;
}
.quem-highlight { color: var(--plum); font-weight: 500; }

/* ===== Fases ===== */
.fases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2.8rem; }
.fase-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm); position: relative; border: 1px solid var(--line);
}
.fase-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-soft)); color: #fff;
  font-family: var(--ff-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 1.1rem;
}
.fase-card h3 { margin-bottom: .8rem; }
.fase-card p + p { margin-top: .7rem; }

/* ===== Pontos ===== */
/* Carrossel de aulas */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding: .4rem .3rem 1.2rem; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.ponto-card {
  flex: 0 0 clamp(240px, 27%, 290px); scroll-snap-align: start;
  background: var(--lilac); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
}
.car-btn {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--purple); font-size: 1.8rem; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: background .2s ease, transform .2s ease, opacity .2s ease;
  display: grid; place-items: center; padding-bottom: 4px;
}
.car-btn:hover { background: var(--purple); color: #fff; }
.car-prev { left: -10px; }
.car-next { right: -10px; }
.car-btn[disabled] { opacity: .3; cursor: default; }
.car-btn[disabled]:hover { background: #fff; color: var(--purple); }
.car-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .4rem; }
.car-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: var(--lilac-deep); transition: background .2s ease, transform .2s ease;
}
.car-dots button.active { background: var(--purple); transform: scale(1.3); }
.ponto-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.ponto-thumb { position: relative; background: var(--lilac-deep); overflow: hidden; }
.ponto-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.ponto-body { padding: 1.2rem 1.4rem 1.5rem; }
.ponto-aula { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-soft); font-weight: 600; }
.ponto-card h3 { margin: .35rem 0 .5rem; }
.ponto-card p { font-size: .9rem; }
.ponto-bonus { background: linear-gradient(135deg, var(--purple), var(--plum)); border: none; }
.ponto-bonus .ponto-thumb { background: rgba(255,255,255,.12); }
.ponto-bonus .ponto-aula { color: var(--lilac-deep); }
.ponto-bonus h3, .ponto-bonus p { color: #fff; }

/* ===== Prática ===== */
.pratica-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem; margin-bottom: 2.8rem;
}
.pr-item { grid-column: span 2; }
/* Centraliza as 2 últimas (4ª e 5ª) numa linha de 3 colunas */
.pr-item:nth-child(4) { grid-column: 2 / span 2; }
.pr-item:nth-child(5) { grid-column: 4 / span 2; }
.pr-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); }
.pr-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.pr-cap {
  display: block; text-align: center; font-family: var(--ff-display); font-weight: 600;
  color: var(--plum); font-size: 1.05rem; padding: .85rem 1rem 1.05rem;
}
.modelos { background: var(--white); border-radius: var(--radius-lg); padding: 2.2rem; text-align: center; box-shadow: var(--shadow-sm); margin-bottom: 2.5rem; border: 1px solid var(--line); }
.modelos h3 { margin-bottom: 1.3rem; }
.modelos-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; }
.modelos-list li { display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; color: var(--plum); }
.modelos-list span { color: var(--purple); font-size: 1.3rem; }

/* ===== Comunidade ===== */
.comunidade-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.comunidade-copy p + p { margin-top: 1rem; }
.comunidade-copy.center { max-width: 680px; margin-inline: auto; }
.comunidade-copy.center h2 { margin-bottom: 1.2rem; }
.comunidade-wpp { display: flex; justify-content: center; margin-bottom: 1.1rem; }
.comunidade-wpp img { width: clamp(120px, 20vw, 170px); height: auto; }
.comunidade-card {
  background: linear-gradient(150deg, var(--lilac), var(--lilac-deep)); border-radius: var(--radius-lg);
  padding: 2.4rem; box-shadow: var(--shadow-sm); position: relative;
}
.comunidade-card p { font-family: var(--ff-display); font-style: italic; font-size: 1.25rem; color: var(--plum); line-height: 1.4; }
.wpp-ico { font-size: 2rem; display: block; margin-bottom: 1rem; }
.wpp-author { display: block; margin-top: 1.2rem; font-weight: 600; color: var(--purple); font-style: normal; font-family: var(--ff-body); }

/* ===== Depoimentos — carrossel de prints WhatsApp ===== */
.depo-track { /* herda .carousel-track */ }
.depo-slide {
  flex: 0 0 clamp(220px, 26%, 280px); scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: var(--white);
  border: 1px solid var(--line); position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.depo-slide:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.depo-slide img { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }
.depo-slide.missing { min-height: 380px; }

/* ===== Bônus ===== */
.bonus-card {
  background: linear-gradient(135deg, var(--plum), var(--purple)); color: #fff;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); position: relative;
  display: grid; grid-template-columns: 1fr 1.4fr; align-items: center;
}
.bonus-img {
  height: 100%; min-height: 280px; position: relative;
  overflow: hidden;
}
.bonus-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bonus-body {
  padding: clamp(2rem, 5vw, 3rem); text-align: left;
}
.bonus-card h2 { color: #fff; margin-bottom: 1.1rem; }
.bonus-card p { color: rgba(255,255,255,.88); }
.bonus-flag {
  display: inline-block; background: linear-gradient(135deg, var(--coral-1), var(--coral-2));
  color: #fff; font-weight: 600; padding: .4rem 1.2rem; border-radius: 999px; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.3rem;
}
.bonus-price { margin-top: 1.6rem; font-size: 1.3rem; }
.bonus-price s { opacity: .6; }
.bonus-price strong { color: #ffe08a; font-size: 1.5rem; }

/* ===== Oferta ===== */
.oferta { background: radial-gradient(120% 100% at 50% 0%, var(--plum), #321f42); }
.on-dark { color: #fff; }
.offer-box {
  background: var(--white); border-radius: var(--radius-lg); max-width: 720px; margin-inline: auto;
  overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr;
}
.stack { list-style: none; padding: 2.4rem; }
.stack li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.stack li span { color: var(--ink-soft); }
.stack li strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
.stack-total { border-bottom: none !important; margin-top: .4rem; }
.stack-total span { font-weight: 700; color: var(--plum); font-size: 1.05rem; }
.stack-total strong { font-size: 1.2rem; color: var(--plum); text-decoration: line-through; text-decoration-color: var(--coral-1); }
.price-block { background: var(--lilac); padding: 2.4rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.price-kicker { font-weight: 600; color: var(--purple); margin-bottom: .4rem; }
.price-installment { font-family: var(--ff-display); font-size: 1.4rem; color: var(--plum); }
.price-installment strong { font-size: 1.9rem; }
.price-cash { color: var(--ink-soft); margin-bottom: 1.6rem; }
.price-cash strong { color: var(--plum); font-size: 1.15rem; }
.price-note { font-size: .82rem; color: var(--ink-soft); margin-top: 1rem; }

/* ===== Garantia ===== */
.garantia-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; max-width: 880px; margin-inline: auto; }
.selo { display: grid; place-items: center; flex-shrink: 0; }
.selo img { width: clamp(150px, 22vw, 190px); height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .18)); }
.garantia-copy h2 { margin-bottom: 1rem; }
.garantia-sign { font-family: var(--ff-hand); font-size: 1.5rem; color: var(--purple); margin-top: 1rem; }

/* ===== Sobre ===== */
.sobre-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; background: var(--lilac-deep); }
.frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.sobre-copy p + p { margin-top: 1rem; }
.sobre-handle { color: var(--purple); font-weight: 500; margin-bottom: 1.2rem !important; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: .9rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; padding: 1.2rem 1.6rem; font-weight: 600; color: var(--plum);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; color: var(--purple); font-weight: 400; transition: transform .25s ease; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.6rem 1.4rem; }

/* ===== Footer ===== */
.site-footer { background: var(--plum); color: #fff; padding: 3rem 0 2.2rem; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--lilac-deep); }
.site-footer .brand-mark { color: var(--lilac-deep); }
.footer-tagline { font-family: var(--ff-display); font-style: italic; color: var(--lilac-deep); font-size: 1.15rem; }
.footer-base { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: .6rem; }

/* ===== Sticky CTA mobile ===== */
.sticky-cta {
  display: none; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60;
  background: linear-gradient(135deg, var(--coral-1), var(--coral-2)); color: #fff;
  text-align: center; padding: 1rem; border-radius: 14px; font-weight: 700;
  box-shadow: 0 14px 34px -8px rgba(255,80,40,.7);
}

/* ===== Placeholder de imagem ausente ===== */
.missing img { opacity: 0; }
.missing { background: repeating-linear-gradient(45deg, var(--lilac-deep) 0 10px, var(--lilac) 10px 20px); }
.ph-label { display: none; }
.missing .ph-label {
  display: grid; place-items: center; position: absolute; inset: 0;
  font-family: var(--ff-hand); font-size: 1.4rem; color: var(--purple); text-align: center;
}
.hero-photo, .pr-item, .frame { position: relative; }

/* ===== Reveal animation (só quando há JS para revelar) ===== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .hero-grid, .comunidade-grid, .sobre-grid { grid-template-columns: 1fr; }
  /* Mobile: texto em cima da imagem, CTA + selos embaixo */
  .hero-copy { display: contents; }
  .hero-intro { order: 1; }
  .hero-media { order: 2; }
  .hero-cta-block { order: 3; }
  .hero-photo { max-width: 460px; margin-inline: auto; }
  .quem-grid, .fases-grid { grid-template-columns: 1fr; }
  .bonus-card { grid-template-columns: 1fr; }
  .bonus-img { min-height: 220px; max-height: 260px; }
  .bonus-body { text-align: center; }
  .ponto-card { flex-basis: 78%; }
  .depo-slide { flex-basis: 72%; }
  .car-prev { left: 2px; }
  .car-next { right: 2px; }
  .pratica-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .pr-item, .pr-item:nth-child(4), .pr-item:nth-child(5) { grid-column: 1 / -1; }
  .offer-box { grid-template-columns: 1fr; }
  .sobre-media { max-width: 360px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .urgency-inner { font-size: .8rem; gap: .2rem .9rem; }
  .ponto-card { flex-basis: 82%; }
  .depo-slide { flex-basis: 82%; }
  .garantia-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .nav-cta { display: none; }
  .sticky-cta { display: block; }
  body { padding-bottom: 5rem; }
  .hero-trust { gap: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn-cta { animation: none; }
  html { scroll-behavior: auto; }
}
