/* ========== Base & Variáveis ========== */
:root{
  --bg: #ffffff;
  --text: #1f2937;        /* cinza-escuro */
  --muted:#6b7280;        /* cinza-médio */
  --brand:#750B53;        /* Roxo vibrante Sicartaz */
  --accent:#00CED1;       /* Azul-turquesa */
  --surface:#f7f7fb;      /* fundo suave */
  --border:#e5e7eb;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* ========== Header & Navegação ========== */
header{
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(140%) blur(2px);
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid var(--border);
}

header nav{
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
}

nav h1{
  font-size: 1.125rem;
  margin: 0;
  color: var(--brand);
  letter-spacing: .2px;
}

nav ul{
  list-style: none;
  display: flex;
  gap: .25rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap; /* evita quebrar layout no mobile */
}

nav a{
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  padding: .5rem .9rem;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}

nav a:hover,
nav a.active{
  background: rgba(117, 11, 83, .09);
  color: var(--brand);
}

/* ========== Seções ========== */
main > section{
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 3rem 0;
}

/* Hero */
.hero{
  background: radial-gradient(1200px 400px at 20% -10%, rgba(117,11,83,.12), transparent 55%),
              radial-gradient(1200px 400px at 100% 0%, rgba(0,206,209,.10), transparent 55%);
  text-align: center;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.hero h2{
  font-size: clamp(1.8rem, 1.3rem + 2.2vw, 3rem);
  line-height: 1.1;
  margin: 0 0 .75rem 0;
  letter-spacing: .3px;
}

.hero p{
  font-size: clamp(1rem, .9rem + .5vw, 1.125rem);
  color: var(--muted);
  margin: 0;
}

/* Títulos */
h3{
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem);
  margin: 0 0 .75rem 0;
}

h4{
  font-size: 1.05rem;
  margin: 1.75rem 0 .5rem;
}

/* Listas & texto */
ul{ padding-left: 1.1rem; }
li{ margin: .35rem 0; }
p{ margin: .6rem 0; }

a{
  color: var(--brand);
}
a:hover{ opacity: .95; }

/* Contato */
#contato{
  text-align: center;
}

.whatsapp-icon{
  width: 64px;
  height: auto;
  display: inline-block;
  image-rendering: -webkit-optimize-contrast;
  transition: transform .15s ease;
}
.whatsapp-icon:hover{
  transform: scale(1.04);
}

/* Rodapé */
footer{
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  margin-top: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}

/* ========== Responsividade ========== */
@media (max-width: 640px){
  nav h1{ font-size: 1rem; }
  nav a{ padding: .45rem .7rem; }
  .hero{ padding: 4rem 0 3rem; }
}

/* ========== Galeria ========== */
.gallery{
  width: min(1100px, 92%);
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.gallery-item{
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.gallery-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}
.gallery img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(17,17,20,.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}
.lightbox.open{ display: flex; }
.lightbox img{
  max-width: 96vw;
  max-height: 88vh;
  border-radius: 16px;
  background: #fff;
}
.lightbox-close{
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: rgba(255,255,255,.9);
  color: #111;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.lightbox-close:hover{ background: #fff; }

/* ========== Menu hambúrguer (mobile) ========== */
.menu-toggle{
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  cursor: pointer;
}
.menu-toggle .bar{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
/* animação "X" quando aberto */
nav.open .menu-toggle .bar:nth-child(1){ transform: translateY(6px) rotate(45deg); }
nav.open .menu-toggle .bar:nth-child(2){ opacity: 0; }
nav.open .menu-toggle .bar:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 768px){
  .menu-toggle{ display: inline-flex; }
  nav ul{
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 16px 50px rgba(0,0,0,.12);
    padding: .35rem;
    width: min(320px, 92vw);
  }
  nav.open ul{ display: flex; }
  nav a{
    padding: .9rem 1rem;
    border-radius: 10px;
  }
}

/* ========== Botões e CTAs ========== */
.btn{
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: .72rem 1.1rem;
  border-radius: 12px;
  font-weight: 600;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.btn-primary{ background: var(--brand); color: #fff; }
.btn-primary:hover{ background: color-mix(in oklab, var(--brand) 92%, white); }
.btn-ghost{ background: #fff; color: var(--brand); }
.btn-sm{ padding: .45rem .8rem; border-radius: 10px; font-weight: 600; }

.hero-ctas{ margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.hero-ksp{
  margin: 1rem auto 0;
  display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0;
  justify-content: center;
}
.hero-ksp li{
  font-size: .95rem; color: #fff; background: rgba(255,255,255,.12);
  padding: .35rem .6rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
}

/* ========== Features ========== */
#destaques .features{
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: .75rem;
}
#destaques .card{
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.0rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
#destaques .card .icn{ color: var(--brand); margin-bottom: .4rem; }
#destaques .card h4{ margin: .2rem 0 .35rem; font-size: 1.05rem; }

/* ========== Pricing ========== */
#preco .pricing{ display: grid; place-items: center; }
.price-card{
  width: min(680px, 95%);
  border: 1px solid var(--border); border-radius: 20px; padding: 1.2rem;
  background: #fff; box-shadow: 0 4px 32px rgba(0,0,0,.06);
}
.price-top{ font-size: 2.2rem; display: flex; align-items: baseline; gap: .4rem; }
.price-top strong{ color: var(--brand); line-height: 1; }
.price-top span{ font-size: 1rem; color: var(--muted); }
.price-list{ margin: .6rem 0 .8rem; padding-left: 1rem; }
.price-cta{ display: flex; gap: .6rem; flex-wrap: wrap; }

/* ========== FAQ ========== */
.faq{ width: min(900px, 92%); margin: .5rem auto 0; }
.faq details{ border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: .8rem 1rem; margin: .5rem 0; }
.faq summary{ cursor: pointer; font-weight: 600; outline: none; }
.faq p{ margin: .4rem 0 0; color: var(--text); }

/* ========== Slider de Telas ========== */
.prints .slider{
  position: relative;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 28px rgba(0,0,0,.06);
}
.prints .slides{
  position: relative;
}
.prints .slide{
  margin: 0;
  display: none;
}
.prints .slide.is-active{ display: block; }
.prints .slide img{
  display: block;
  width: 100%;
  height: auto;
}
.prints figcaption{
  font-size: .95rem;
  color: var(--muted);
  padding: .5rem .9rem .9rem;
}

.slide-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: var(--text);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  cursor: pointer;
}
.slide-btn:hover{ background: #fff; }
.slide-btn.prev{ left: 12px; }
.slide-btn.next{ right: 12px; }

.dots{
  display: flex; gap: 6px; justify-content: center; margin-top: .6rem;
}
.dots .dot{
  width: 8px; height: 8px; border-radius: 999px;
  border: 1px solid var(--brand);
  background: transparent;
  cursor: pointer;
}
.dots .dot.active, .dots .dot:hover{ background: var(--brand); }

/* ========== Logo no header ========== */
nav h1.brand{
  display: flex;
  align-items: center;
  gap: .55rem;
}
nav h1.brand img{
  height: 28px;
  width: 28px;
  border-radius: 6px;
  display: inline-block;
}
@media (max-width: 640px){
  nav h1.brand img{ height: 24px; width: 24px; }
  nav h1.brand span{ font-size: .97rem; }
}

/* Clique na logo/título volta ao topo */
nav h1.brand{ cursor: pointer; user-select: none; }

/* Listas alinhadas e legíveis */
.clean-list{ margin:.6rem 0 .8rem; padding-left: 1.15rem; }
.clean-list li{ margin:.22rem 0; }

/* Separação sutil entre seções */
section + section{ margin-top: 1.5rem; }
