/* ============================================================
   Mix Studio · site institucional
   Paleta baseada na referência visual da Dani (terracota/creme)
   ============================================================ */

:root {
  /* paleta extraída pixel a pixel da referência visual da Dani */
  --terracota: #b97c6a;
  --terracota-dark: #9c6354;
  --terracota-soft: #e7cabd;
  --creme: #f7f1e9;
  --creme-alt: #f1e1d6;
  --sage: #c4c6b8;
  --sage-dark: #a9b294;
  --ink: #3a2e28;
  --ink-soft: #6b5b4f;
  --branco: #ffffff;
  --borda: #e7ddcf;
  --radius: 18px;
  --shadow: 0 12px 30px -18px rgba(58, 46, 40, 0.35);
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--creme);
  color: var(--ink);
  font-family: "Poppins", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  margin: 0 0 .5em;
  line-height: 1.15;
  color: var(--ink);
}

p { line-height: 1.6; margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* container mais largo só pra imagem do topo, pra ela ficar maior/mais comprida
   que o restante do conteúdo — fora dela sobra só o fundo creme como margem */
.wrap-wide {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- top strip ---------- */
.top-strip {
  background: var(--terracota);
  color: var(--creme);
  text-align: center;
  font-size: .82rem;
  letter-spacing: .02em;
  padding: 8px 16px;
}

/* ---------- header ---------- */
header.site-header {
  background: var(--creme);
  border-bottom: 1px solid var(--borda);
  position: sticky;
  top: 0;
  z-index: 50;
}

/* evita que o cabeçalho fixo tape o topo das seções ao clicar em links do menu (#produtos, #como-funciona, #sobre) */
section[id] {
  scroll-margin-top: 90px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo span.tag {
  font-family: "Poppins", sans-serif;
  font-size: .62rem;
  letter-spacing: .18em;
  font-weight: 500;
  color: var(--terracota);
  text-transform: uppercase;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
footer .logo img { height: 46px; }

nav.main-nav {
  display: flex;
  gap: 32px;
}
nav.main-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  transition: color .15s;
}
nav.main-nav a:hover { color: var(--terracota); }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracota);
  color: var(--branco);
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--terracota-dark); }
.btn:active { transform: scale(.98); }

.btn-outline {
  background: transparent;
  color: var(--terracota);
  border: 1.5px solid var(--terracota);
}
.btn-outline:hover { background: var(--terracota-soft); }

.btn-sage {
  background: var(--sage-dark);
}
.btn-sage:hover { background: #8f9a79; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-cta-mobile { display: none; }

/* ---------- hero ---------- */
.hero {
  padding: 24px 0 48px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 1.1rem;
  max-width: 420px;
}
.hero-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* hero: imagem exatamente como enviada, sem nenhuma alteração —
   ocupa o container mais largo (.wrap-wide) e o botão fica por cima dela */
.hero-shell {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 1821 / 864;
  width: 100%;
}
.hero-shell.mini-carousel {
  aspect-ratio: 1086 / 1448;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}
.hero-shell .hero-photo {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--branco);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 10px rgba(58, 46, 40, 0.55);
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 2;
}
.hero-arrow:hover {
  transform: translateY(-50%) scale(1.12);
}
.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot.active {
  background: var(--branco);
  transform: scale(1.2);
}
.hero-cta-overlay {
  position: absolute;
  left: 6.5%;
  top: 87%;
  margin-top: 0;
}
.hero-cta-overlay .btn {
  font-weight: 400;
}

/* ---------- trajetória / stats ---------- */
.stats-band {
  background: var(--terracota-soft);
  border-radius: 26px;
  padding: 44px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  margin-bottom: 46px;
}
.stats-band .stat-number {
  font-family: "Fraunces", Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--terracota-dark);
  line-height: 1;
}
.stats-band .stat-label {
  margin-top: 8px;
  font-size: .92rem;
  letter-spacing: .03em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.logo-wall img { width: 100%; display: block; }

/* ---------- benefits row ---------- */
.benefits {
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
  padding: 18px 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.benefits-grid .item { padding: 0 8px; }
.benefits-grid svg { width: 22px; height: 22px; margin: 0 auto 6px; }
.benefits-grid strong {
  display: block;
  font-weight: 400;
  font-size: .92rem;
  color: var(--ink);
}

/* ---------- section heading ---------- */
.section { padding: 72px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 2rem; margin: 0; }
.section-head .see-all { font-weight: 600; color: var(--terracota); white-space: nowrap; }

/* ---------- product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .icon-circle {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--creme-alt);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.product-card.external .icon-circle { background: var(--sage); }
.product-card h3 { font-size: 1rem; font-family: "Poppins", sans-serif; font-weight: 600; margin-bottom: 4px; }
.product-card p.small { font-size: .82rem; margin: 0; }

/* ---------- criaturinhas band ---------- */
.band {
  background: var(--sage);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: center;
}
.band h2 { font-size: 1.7rem; }
.band .creature-art { display: flex; justify-content: center; }

/* ---------- how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step .num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--terracota);
  color: var(--branco);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- orçamento cards (home CTA) ---------- */
.orcamento-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.orcamento-card {
  background: var(--creme-alt);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--borda);
}
.orcamento-card h3 { font-size: 1.3rem; }

.como-funciona-scroll {
  width: 100%;
}
.como-funciona-img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

/* ---------- sobre nós ---------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.sobre-grid img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: block;
}
.sobre-caption {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  color: var(--terracota-dark);
  text-align: center;
  margin: 12px 0 0;
}
.sobre-text {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sobre-text p { margin: 0; }
@media (max-width: 760px) {
  .sobre-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 14px;
  padding: 16px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.3rem;
  color: var(--terracota);
  transition: transform .15s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- depoimentos ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.testimonial-card {
  background: var(--terracota-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.testimonial-card p {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.4;
}
.testimonial-card span {
  font-size: .85rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- instagram ---------- */
.insta-band {
  background: var(--creme-alt);
  border-radius: 28px;
  padding: 48px;
  text-align: center;
}
.insta-band h2 { margin-bottom: 8px; }
.insta-band p { max-width: 460px; margin: 0 auto 22px; }
.insta-band .btn { gap: 10px; }

/* ---------- footer ---------- */
footer {
  background: var(--terracota);
  color: var(--creme);
  padding: 48px 0 24px;
  margin-top: 40px;
}
footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
footer h4 {
  color: var(--creme);
  font-family: "Poppins", sans-serif;
  font-size: .95rem;
  margin-bottom: 14px;
}
footer a, footer p { color: var(--terracota-soft); font-size: .9rem; }
footer a:hover { color: var(--branco); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 18px;
  text-align: center;
  font-size: .8rem;
  color: var(--terracota-soft);
}

/* ============================================================
   Formulários de orçamento
   ============================================================ */
.form-hero {
  padding: 48px 0 20px;
  text-align: center;
}
.form-hero p { max-width: 560px; margin: 0 auto; }

.form-shell {
  max-width: 760px;
  margin: 0 auto 80px;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 24px;
  padding: 42px;
  box-shadow: var(--shadow);
}

fieldset {
  border: none;
  padding: 0;
  margin: 0 0 34px;
}
fieldset legend {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  color: var(--terracota-dark);
  padding: 0 0 6px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--creme-alt);
  width: 100%;
}
fieldset .hint { margin-top: -10px; font-size: .84rem; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field .req { color: var(--terracota); }
.field small.tip {
  display: block;
  color: var(--ink-soft);
  font-size: .8rem;
  margin-top: 4px;
}

input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=date], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--borda);
  border-radius: 12px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--creme);
  color: var(--ink);
}
input[type=file] {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px dashed var(--borda);
  border-radius: 12px;
  font-family: inherit;
  font-size: .88rem;
  background: var(--creme);
  color: var(--ink-soft);
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--terracota);
  background: var(--branco);
}

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.radio-group, .check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-option, .check-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--borda);
  border-radius: 12px;
  cursor: pointer;
  font-size: .93rem;
  background: var(--creme);
}
.radio-option:has(input:checked), .check-option:has(input:checked) {
  border-color: var(--terracota);
  background: var(--terracota-soft);
}
.radio-option input, .check-option input { margin-top: 3px; }

.product-line {
  border: 1.5px solid var(--borda);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
  background: var(--creme);
}
.product-line h4 {
  font-family: "Poppins", sans-serif;
  font-size: .98rem;
  margin-bottom: 2px;
}
.product-line-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}
.product-line-head img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.product-line-head h4 { margin-bottom: 0; }
.product-line .prod-desc { font-size: .82rem; color: var(--ink-soft); margin-bottom: 12px; }
.product-line .qty-row { display: flex; align-items: center; gap: 12px; }
.product-line .qty-row input { max-width: 120px; }
.product-line .qty-row label.inline { font-weight: 500; font-size: .88rem; margin: 0; }

/* item repeatable block (formulário individual) */
.item-block {
  border: 1.5px solid var(--borda);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 18px;
  background: var(--creme-alt);
  position: relative;
}
.item-block .item-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--terracota-dark);
  margin-bottom: 14px;
}
.item-block .remove-item {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: .82rem;
  cursor: pointer;
  text-decoration: underline;
}
.add-item-btn {
  width: 100%;
  padding: 14px;
  border: 2px dashed var(--terracota-soft);
  border-radius: 14px;
  background: transparent;
  color: var(--terracota-dark);
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 30px;
}
.add-item-btn:hover { background: var(--creme-alt); }

.form-submit-note {
  font-size: .82rem;
  color: var(--ink-soft);
  margin-top: 14px;
  text-align: center;
}

.wa-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}
.wa-btn:disabled { opacity: .6; cursor: default; }

.form-error {
  background: #fdecea;
  color: #b3261e;
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 14px;
  font-size: .85rem;
  text-align: center;
}
.form-error a { color: #b3261e; text-decoration: underline; }

.form-success {
  background: var(--sage);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
}
.form-success h3 { color: #fff; margin-bottom: 10px; }
.form-success p { margin: 0; max-width: 480px; margin-inline: auto; }

/* ============================================================
   Página de produto
   ============================================================ */
.produto-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 20px;
}
.produto-hero img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; }
.produto-hero .kicker {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: var(--terracota-dark);
}
.produto-specs {
  background: var(--creme-alt);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 24px 0;
}
.produto-specs h4 {
  font-family: "Poppins", sans-serif;
  font-size: .95rem;
  margin-bottom: 12px;
}
.produto-specs ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.produto-specs li { margin-bottom: 6px; }
.produto-note {
  font-size: .88rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--terracota-soft);
  padding-left: 14px;
  margin: 20px 0;
}
.produto-block { margin: 60px 0; }
.produto-block h2 { font-size: 1.6rem; margin-bottom: 14px; }
.produto-gallery img {
  width: 100%;
  max-width: 680px;
  display: block;
  margin: 0 auto;
}
.livro-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.livro-gallery-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .contato-grid { grid-template-columns: 1fr !important; }
  .banners-grid { grid-template-columns: 1fr !important; }
  .livro-gallery-grid { grid-template-columns: 1fr !important; }
  .hero h1 { font-size: 2.2rem; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  /* imagem "como funciona" tem texto pequeno demais pra encolher no celular —
     em vez de espremer, deixa em tamanho legível e passa o dedo pros lados */
  .como-funciona-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; }
  .como-funciona-img { width: auto; height: 260px; max-width: none; }
  .band { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .band .creature-art { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .orcamento-cards { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .insta-band { padding: 34px 22px; border-radius: 22px; }
  footer .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  .form-shell { padding: 26px; }
  .row2 { grid-template-columns: 1fr; }
  .nav-actions .btn { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 6px; align-self: flex-start; }
  .logo { font-size: 1.05rem; }
  .stats-band { grid-template-columns: 1fr; gap: 26px; padding: 34px 20px; }
  .produto-hero { grid-template-columns: 1fr; }
}

.promo-banner {
  display: block;
  width: 100%;
  aspect-ratio: 1998 / 1312;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(58, 46, 40, 0.18);
}

@media (max-width: 640px) {
  .hero-shell { border-radius: 16px; }
  .hero-arrow { width: 32px; height: 32px; font-size: 1.5rem; }
  .hero-arrow-prev { left: 8px; }
  .hero-arrow-next { right: 8px; }
  .hero-dots { bottom: 10px; }
  .hero-cta-overlay { left: 6%; top: 85.5%; }
  .hero-cta-overlay .btn { font-size: .6rem; padding: 4px 9px; }
  .promo-banner { border-radius: 14px; }
}

@media (max-width: 480px) {
  .hero { padding: 14px 0 28px; }
}

@media (max-width: 900px) {
  header.site-header.open nav.main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--creme);
    padding: 20px 24px;
    border-bottom: 1px solid var(--borda);
    gap: 16px;
  }
}
