*{box-sizing:border-box}
:root{
  --purple:#9b78c3;
  --purple-dark:#7b59a6;
  --purple-light:#f4effa;
  --text:#263246;
  --muted:#6f7785;
  --border:#eee9f4;
}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:#fff;
}
button,a{font:inherit}
a{text-decoration:none;color:inherit}
.preview-strip{
  min-height:40px;
  padding:8px 5vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:#211a2b;
  color:white;
  font-size:12px;
  letter-spacing:.06em;
}
.preview-strip button{
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.1);
  color:#fff;
  border-radius:999px;
  padding:8px 14px;
  cursor:pointer;
}
.announcement{
  min-height:39px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 20px;
  font-size:15px;
  text-align:center;
  border-bottom:1px solid #f3eff6;
}
.site-header{
  background:white;
  position:relative;
  z-index:5;
  box-shadow:0 2px 12px rgba(35,24,50,.04);
}
.header-main{
  min-height:103px;
  max-width:1160px;
  margin:0 auto;
  display:grid;
  grid-template-columns:160px minmax(260px,1fr) 235px;
  align-items:center;
  gap:28px;
  padding:18px 24px;
}
.brand img{
  display:block;
  width:126px;
  max-height:72px;
  object-fit:contain;
}
.search{
  min-height:48px;
  border:1.5px solid #cdb6e8;
  border-radius:999px;
  padding:0 14px 0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#a294ad;
  box-shadow:0 2px 8px rgba(138,96,183,.07);
}
.search-icon{
  display:grid;
  place-items:center;
  width:34px;height:34px;
  border-radius:50%;
  background:var(--purple);
  color:white;
  font-size:24px;
}
.header-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:22px;
  color:#9e75c4;
  font-size:14px;
}
.cart{font-size:23px;position:relative}
.cart b{
  position:absolute;
  right:-8px;top:-7px;
  width:18px;height:18px;
  border-radius:50%;
  display:grid;place-items:center;
  background:var(--purple);
  color:#fff;
  font-size:11px;
}
.nav{
  border-top:1px solid #f2eef6;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:0;
  overflow-x:auto;
  scrollbar-width:none;
}
.nav::-webkit-scrollbar{display:none}
.nav a{
  white-space:nowrap;
  padding:18px 16px;
  font-size:13px;
  color:#626c7d;
  border-right:1px solid #f3eff6;
}
.nav a:first-child{color:var(--purple)}
.hero{
  position:relative;
  overflow:hidden;
  background:#faf8fc;
  border-bottom:1px solid var(--border);
}
.hero-track{
  position:relative;
  aspect-ratio:3.245 / 1;
  min-height:250px;
  max-height:560px;
}
.slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .55s ease,visibility .55s ease;
}
.slide.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.placeholder{
  display:grid;
  place-items:center;
  text-align:center;
  padding:40px 9vw;
}
.placeholder-2{
  background:
    radial-gradient(circle at 17% 25%,rgba(255,255,255,.9) 0 9%,transparent 10%),
    radial-gradient(circle at 82% 70%,rgba(255,255,255,.76) 0 12%,transparent 13%),
    linear-gradient(120deg,#f7edf7,#e8e2fa 48%,#dceefa);
}
.placeholder-3{
  background:
    radial-gradient(circle at 78% 30%,rgba(255,255,255,.78) 0 10%,transparent 11%),
    radial-gradient(circle at 22% 76%,rgba(255,255,255,.72) 0 13%,transparent 14%),
    linear-gradient(120deg,#f7f1ff,#efdff5 48%,#f7e8ee);
}
.placeholder-inner{max-width:760px}
.placeholder-kicker{
  display:inline-block;
  margin-bottom:10px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  color:var(--purple-dark);
}
.placeholder h2{
  margin:0 0 12px;
  font-size:clamp(28px,4vw,58px);
  line-height:1;
  color:#6e5789;
}
.placeholder p{
  max-width:680px;
  margin:0 auto 22px;
  color:#706a78;
  font-size:clamp(14px,1.5vw,20px);
  line-height:1.55;
}
.placeholder-cta{
  display:inline-flex;
  padding:12px 20px;
  border-radius:999px;
  color:white;
  background:var(--purple);
  font-weight:700;
  font-size:14px;
}
.hero-arrow{
  position:absolute;
  z-index:3;
  top:50%;
  transform:translateY(-50%);
  width:48px;height:48px;
  display:grid;place-items:center;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.84);
  color:#3d3545;
  font-size:36px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(54,35,78,.16);
  transition:.2s ease;
}
.hero-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.04)}
.hero-prev{left:22px}
.hero-next{right:22px}
.hero-dots{
  position:absolute;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  z-index:3;
  display:flex;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.8);
  backdrop-filter:blur(8px);
}
.dot{
  width:11px;height:11px;
  border:none;border-radius:50%;
  padding:0;
  background:#c9c6ce;
  cursor:pointer;
}
.dot.active{background:#665f6b}
.content-preview{
  max-width:1180px;
  margin:0 auto;
  padding:58px 24px 80px;
}
.content-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:26px;
}
.eyebrow,.popup-kicker{
  font-size:11px;
  letter-spacing:.16em;
  font-weight:800;
  color:var(--purple);
}
.content-heading h1{margin:7px 0 5px;font-size:34px}
.content-heading p{margin:0;color:var(--muted)}
.badge{
  padding:9px 13px;
  border-radius:999px;
  background:#f5f1f9;
  color:#70598c;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.card{
  border:1px solid var(--border);
  border-radius:22px;
  padding:24px;
  min-height:185px;
  background:#fff;
}
.card-icon{
  width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:13px;
  background:var(--purple-light);
  color:var(--purple-dark);
  font-weight:900;
  margin-bottom:25px;
}
.card h3{margin:0 0 8px}
.card p{margin:0;color:var(--muted);line-height:1.6}
.popup-overlay{
  position:fixed;
  inset:0;
  z-index:999;
  background:rgba(31,27,36,.64);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:26px;
  backdrop-filter:blur(3px);
}
.popup-overlay[hidden]{display:none}
.popup-shell{
  position:relative;
  width:min(920px,94vw);
  max-height:92vh;
  overflow:auto;
  background:#fff;
  border-radius:20px;
  box-shadow:0 28px 70px rgba(0,0,0,.28);
}
.popup-close{
  position:absolute;
  z-index:3;
  right:16px;top:16px;
  width:40px;height:40px;
  border-radius:50%;
  border:1px solid rgba(70,60,82,.12);
  background:rgba(255,255,255,.94);
  color:#655d69;
  font-size:26px;
  cursor:pointer;
}
.popup-media{
  background:#fbf8fb;
  min-height:360px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.popup-media img{
  width:100%;
  min-height:360px;
  max-height:535px;
  object-fit:cover;
  image-rendering:auto;
}
.popup-footer{
  min-height:118px;
  padding:20px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.popup-footer h2{
  margin:5px 0 0;
  font-size:21px;
  color:#4c3f55;
}
.popup-cta{
  flex:0 0 auto;
  padding:14px 24px;
  border-radius:12px;
  background:var(--purple);
  color:#fff;
  font-weight:800;
  transition:.2s ease;
}
.popup-cta:hover{background:var(--purple-dark)}
@media(max-width:900px){
  .header-main{grid-template-columns:125px 1fr;gap:16px}
  .header-actions{display:none}
  .nav{justify-content:flex-start}
  .hero-track{aspect-ratio:2.1 / 1;min-height:330px}
  .cards{grid-template-columns:1fr}
  .content-heading{align-items:flex-start;flex-direction:column}
}
@media(max-width:640px){
  .preview-strip{font-size:10px;padding:7px 12px}
  .preview-strip span{max-width:58%}
  .preview-strip button{padding:7px 10px}
  .announcement{font-size:12px}
  .header-main{
    min-height:auto;
    grid-template-columns:95px 1fr;
    padding:12px 14px;
  }
  .brand img{width:86px}
  .search{min-height:42px;padding-left:14px;font-size:12px}
  .nav a{padding:13px 12px;font-size:11px}
  .hero-track{aspect-ratio:.80 / 1;min-height:520px}
  .slide img{object-position:center}
  .hero-arrow{width:42px;height:42px;font-size:30px}
  .hero-prev{left:10px}
  .hero-next{right:10px}
  .placeholder{padding:48px 28px}
  .placeholder h2{font-size:40px}
  .content-preview{padding:38px 16px 60px}
  .content-heading h1{font-size:28px}
  .popup-overlay{padding:14px}
  .popup-shell{width:min(96vw,560px);border-radius:17px}
  .popup-media{min-height:390px}
  .popup-media img{
    min-height:390px;
    max-height:65vh;
    object-fit:cover;
  }
  .popup-footer{
    align-items:stretch;
    flex-direction:column;
    padding:18px;
  }
  .popup-cta{text-align:center;width:100%}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important}
}


/* ===== Banner: arrastar com mouse / swipe em touch ===== */
.hero {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.hero-track {
  cursor: grab;
}

.hero.is-dragging .hero-track {
  cursor: grabbing;
}

.hero.is-dragging .slide {
  transition: none !important;
}

.hero .slide,
.hero .slide img {
  -webkit-user-drag: none;
  user-drag: none;
}

.hero .slide img {
  pointer-events: none;
}

/* Melhorias extras de responsividade */
@media (min-width: 641px) and (max-width: 1024px) {
  .header-main {
    max-width: 100%;
    grid-template-columns: 130px minmax(220px, 1fr) 190px;
    gap: 18px;
    padding: 16px 20px;
  }

  .brand img {
    width: 105px;
  }

  .header-actions {
    gap: 12px;
    font-size: 12px;
  }

  .nav a {
    padding: 15px 12px;
    font-size: 12px;
  }

  .hero-track {
    aspect-ratio: 2.35 / 1;
    min-height: 320px;
  }

  .hero-arrow {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 640px) {
  .hero {
    touch-action: pan-y;
  }

  .hero-track {
    cursor: default;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 12px;
  }
}


/* Conteúdo gerado a partir dos campos no padrão Sanity */
.sanity-slide-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 8vw;
  text-align: center;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.85) 0 8%, transparent 9%),
    radial-gradient(circle at 82% 72%, rgba(255,255,255,.66) 0 11%, transparent 12%),
    linear-gradient(120deg, #f7edf7, #e8e2fa 48%, #dceefa);
}
.sanity-slide-copy-inner { max-width: 760px; }
.sanity-slide-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1;
  color: #6e5789;
}
.sanity-slide-copy p {
  margin: 0 auto 20px;
  max-width: 680px;
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1.55;
  color: #706a78;
}
.sanity-slide-copy .sanity-cta {
  display: inline-flex;
  padding: 12px 20px;
  border-radius: 999px;
  color: #fff;
  background: #9b78c3;
  font-weight: 700;
  font-size: 14px;
}
.popup-copy {
  padding: 20px 24px 24px;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  align-items: center;
}
.popup-copy-text { min-width: 0; }
.popup-copy h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #4c3f55;
}
.popup-copy p {
  margin: 0;
  color: #706a78;
  line-height: 1.55;
}
.popup-copy .popup-cta {
  flex: 0 0 auto;
}
@media(max-width:640px){
  .sanity-slide-copy { padding: 42px 26px; }
  .sanity-slide-copy h2 { font-size: 38px; }
  .popup-copy {
    flex-direction: column;
    align-items: stretch;
  }
  .popup-copy .popup-cta { width: 100%; text-align: center; }
}
