/* ============ Reset & Variáveis ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper: #FFF9F5;
  --paper-deep: #FBEFE7;
  --blush: #FBE0E8;
  --pink: #F3A9C4;
  --pink-vivid: #E1548B;
  --pink-deep: #9C3763;
  --pink-darker: #6E2548;
  --ink: #2B2024;
  --ink-soft: #5A484E;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-script: 'Caveat', cursive;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --shadow-card: 0 10px 26px -10px rgba(156, 55, 99, 0.35);
  --shadow-soft: 0 18px 44px -18px rgba(43, 32, 36, 0.3);

  --container: 1180px;
  --header-h: 82px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(43,32,36,0.07) 1px, transparent 1.3px);
  background-size: 24px 24px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
main section[id] { scroll-margin-top: 96px; }
.section { padding: 120px 0; position: relative; }

.section-head { max-width: 620px; margin: 0 auto 60px; text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.7rem);
  color: var(--ink);
  line-height: 1.15;
}
.section-head p { margin-top: 16px; font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pink-deep); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--pink-deep); border-radius: 2px; }
.eyebrow-light { color: var(--blush); }
.eyebrow-light::before { background: var(--blush); }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); }
.script-accent { font-family: var(--font-script); color: var(--pink-vivid); font-weight: 700; }

/* ============ Botões ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--pink-deep); color: var(--white); box-shadow: var(--shadow-card); }
.btn-primary:hover { background: var(--pink-darker); transform: translateY(-3px); }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--pink-deep); outline-offset: 3px;
}

.icon { width: 24px; height: 24px; color: var(--pink-deep); }
.icon-inline { width: 16px; height: 16px; display: inline; vertical-align: -2px; }

/* ============ Fita washi (elemento assinatura) ============ */
.washi {
  position: absolute; top: -15px; left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 92px; height: 32px; opacity: 0.92;
  box-shadow: 0 3px 6px rgba(43,32,36,0.2);
  clip-path: polygon(
    0% 22%, 12.5% 0%, 25% 22%, 37.5% 0%, 50% 22%, 62.5% 0%, 75% 22%, 87.5% 0%, 100% 22%,
    100% 78%, 87.5% 100%, 75% 78%, 62.5% 100%, 50% 78%, 37.5% 100%, 25% 78%, 12.5% 100%, 0% 78%
  );
  pointer-events: none;
}
.washi-r1 { transform: translateX(-50%) rotate(5deg); }
.washi-r2 { transform: translateX(-50%) rotate(-7deg); }
.washi-r3 { transform: translateX(-50%) rotate(6deg); }
.washi-stripe { background: repeating-linear-gradient(45deg, var(--pink-vivid) 0 8px, var(--pink) 8px 16px); }
.washi-dot { background-color: var(--blush); background-image: radial-gradient(var(--pink-deep) 2px, transparent 2.4px); background-size: 13px 13px; }
.washi-solid { background: var(--pink); }
.washi-ink { background: var(--ink); }

/* ============ Header ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 249, 245, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43,32,36,0.08);
  transition: box-shadow .3s ease;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 58px; width: 58px; object-fit: contain; }
.logo-img-lg { height: 88px; width: 88px; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 0.94rem; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content:''; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--pink-vivid); transition: width .25s ease; }
.nav a:hover::after { width: 100%; }
.header-cta { flex-shrink: 0; padding: 12px 24px; font-size: 0.88rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 34px; height: 26px; justify-content: center; }
.nav-toggle span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; background: var(--blush); padding: calc(var(--header-h) + 64px) 0 90px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.hero-copy > * { opacity: 0; animation: fadeUp .8s ease forwards; }
.hero-copy .eyebrow { animation-delay: .1s; }
.hero-title { animation-delay: .25s; font-size: clamp(2.3rem, 1.3rem + 3.6vw, 3.9rem); font-weight: 600; line-height: 1.08; margin-bottom: 22px; }
.hero-sub { animation-delay: .4s; font-size: 1.12rem; max-width: 480px; margin-bottom: 34px; }
.hero-actions { animation-delay: .55s; display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-tags { animation-delay: .7s; display: flex; gap: 12px 22px; flex-wrap: wrap; font-size: 0.86rem; font-weight: 500; color: var(--pink-darker); }
.hero-tags li { display: flex; align-items: center; gap: 8px; }
.hero-tags li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--pink-vivid); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero-board { position: relative; height: 440px; max-width: 460px; margin-left: auto; }
.board-card {
  position: absolute; width: 180px; height: 180px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; animation: fadeIn .7s ease forwards;
  transition: transform .35s ease, box-shadow .35s ease;
}
.board-card .icon { width: 56px; height: 56px; }
.board-card:hover { transform: rotate(0deg) scale(1.05); box-shadow: var(--shadow-soft); z-index: 5; }
.card-1 { top: 0; left: 0; background: var(--paper-deep); transform: rotate(-6deg); animation-delay: .3s; }
.card-2 { top: 25px; left: 235px; background: var(--pink); transform: rotate(5deg); animation-delay: .45s; }
.card-3 { top: 215px; left: 15px; background: var(--white); transform: rotate(4deg); animation-delay: .6s; }
.card-4 { top: 235px; left: 250px; background: var(--blush); transform: rotate(-5deg); animation-delay: .75s; }
@keyframes fadeIn { to { opacity: 1; } }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--pink-deep); animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ============ Sobre ============ */
.sobre { background: var(--paper); }
.sobre-inner { display: grid; grid-template-columns: 0.85fr 1fr; gap: 70px; align-items: center; }
.polaroid { position: relative; background: var(--white); padding: 18px 18px 50px; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); max-width: 340px; margin: 0 auto; transform: rotate(-3deg); }
.polaroid-photo { background: var(--blush); border-radius: 6px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; color: var(--pink-deep); }
.polaroid-photo .icon { width: 80px; height: 80px; }
.polaroid-caption { font-family: var(--font-script); font-size: 1.2rem; text-align: center; margin-top: 14px; color: var(--ink-soft); }
.wax-seal {
  position: absolute; bottom: -20px; right: -18px; width: 66px; height: 66px; border-radius: 50%;
  background: var(--pink-darker); color: var(--white); font-family: var(--font-script); font-size: 1.9rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 16px rgba(43,32,36,0.32); transform: rotate(-8deg);
}
.sobre-copy p { margin-bottom: 18px; max-width: 520px; }
.sobre-badges { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.sobre-badges li { display: flex; align-items: center; gap: 12px; font-size: 0.96rem; font-weight: 500; color: var(--ink); }
.sobre-badges .icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ============ Produtos ============ */
.produtos { background: var(--paper-deep); }
.produtos-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 20px; align-items: start; }
.produto-group {
  position: relative; background: var(--white); border-radius: var(--radius-md);
  padding: 40px 32px 34px; box-shadow: var(--shadow-card);
  transition: transform .35s ease, box-shadow .35s ease;
}
.produto-group:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.group-header { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.group-header .card-icon {
  width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%;
  background: var(--blush); color: var(--pink-deep); display: flex; align-items: center; justify-content: center;
}
.group-header .card-icon .icon { width: 30px; height: 30px; }
.group-header h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.group-header p { font-size: 0.9rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { background: var(--blush); color: var(--pink-darker); font-size: 0.84rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.group-note { margin-top: 16px; font-size: 0.78rem; color: var(--ink-soft); font-style: italic; }

/* ============ Como funciona ============ */
.como-funciona { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; margin-top: 10px; }
.steps::before { content: ''; position: absolute; top: 30px; left: 15%; right: 15%; border-top: 2.5px dashed var(--pink); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--pink-deep); color: var(--white); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  margin-bottom: 20px; box-shadow: var(--shadow-card);
}
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { font-size: 0.94rem; max-width: 270px; margin: 0 auto; }

/* ============ Galeria ============ */
.galeria { background: var(--blush); }
.mural-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; margin-top: 20px; }
.mural-card {
  position: relative; border-radius: var(--radius-sm); padding: 34px 20px; text-align: center;
  box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease;
}
.mural-card:nth-child(1) { transform: rotate(-2deg); }
.mural-card:nth-child(2) { transform: rotate(2deg); }
.mural-card:nth-child(3) { transform: rotate(-1.5deg); }
.mural-card:nth-child(4) { transform: rotate(2.5deg); }
.mural-card:nth-child(5) { transform: rotate(-2.5deg); }
.mural-card:nth-child(6) { transform: rotate(1.5deg); }
.mural-card:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--shadow-soft); }
.mural-card .icon { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--pink-darker); }
.mural-card span { font-weight: 600; font-size: 0.95rem; color: var(--ink); }

/* ============ Depoimentos ============ */
.depoimentos { background: var(--paper-deep); }
.depoimentos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 20px; }
.depoimento-card {
  position: relative; background: var(--white); border-radius: var(--radius-md); padding: 40px 28px 28px;
  box-shadow: var(--shadow-card); border: 2px dashed var(--pink);
}
.depoimento-texto { font-family: var(--font-script); font-size: 1.35rem; line-height: 1.4; color: var(--ink); margin-bottom: 20px; }
.depoimento-card footer { display: flex; justify-content: space-between; align-items: center; }
.stars { color: var(--pink-vivid); letter-spacing: 2px; }
.depoimento-card cite { font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--pink-darker); }

/* ============ Contato ============ */
.contato { background: linear-gradient(135deg, var(--pink-deep), var(--pink-darker)); color: var(--white); }
.contato-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contato h2 { color: var(--white); }
.contato-copy p { color: rgba(255,255,255,0.88); max-width: 460px; }
.contato-direct { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.contato-link { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.12); padding: 14px 18px; border-radius: var(--radius-sm); transition: background .25s ease, transform .25s ease; }
.contato-link:hover { background: rgba(255,255,255,0.22); transform: translateX(4px); }
.contato-icon { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contato-icon .icon { color: var(--white); width: 22px; height: 22px; }
.contato-text { display: flex; flex-direction: column; gap: 2px; }
.contato-text strong { font-size: 0.98rem; }
.contato-sub { font-size: 0.86rem; color: rgba(255,255,255,0.85); }
.contato-horario { margin-top: 26px; font-size: 0.88rem; color: rgba(255,255,255,0.8); line-height: 1.6; }

.contato-form { background: var(--white); border-radius: var(--radius-md); padding: 36px; box-shadow: var(--shadow-soft); }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--pink-darker); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid rgba(43,32,36,0.16);
  background: var(--paper); color: var(--ink); font-size: 0.95rem;
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-note { margin-top: 14px; font-size: 0.8rem; color: var(--ink-soft); text-align: center; }

/* ============ Footer ============ */
.site-footer { background: var(--blush); padding: 60px 0 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(43,32,36,0.12); }
.footer-brand { display: flex; align-items: center; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.9rem; font-weight: 500; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; transition: background .25s ease, color .25s ease; }
.footer-social a:hover { background: var(--ink); }
.footer-social a:hover .icon { color: var(--paper); }
.footer-social .icon { width: 19px; height: 19px; color: var(--ink); }
.footer-bottom { padding: 26px 0; text-align: center; font-size: 0.85rem; color: var(--ink-soft); }

/* ============ Revelar ao rolar ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ Responsivo ============ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-tags { justify-content: center; }
  .hero-board { margin: 50px auto 0; }
  .sobre-inner { grid-template-columns: 1fr; }
  .polaroid { margin-bottom: 20px; }
  .steps { grid-template-columns: 1fr; gap: 50px; }
  .steps::before { display: none; }
  .contato-inner { grid-template-columns: 1fr; }
  .produtos-groups { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 4px; background: var(--paper); padding: 16px 28px 26px; border-bottom: 1px solid rgba(43,32,36,0.1);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 0; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .mural-grid { grid-template-columns: 1fr 1fr; }
  .depoimentos-grid { grid-template-columns: 1fr; }
  .board-card, .card-1, .card-2, .card-3, .card-4 {
    position: static; transform: none; width: 100%; height: 150px; top: auto; left: auto;
  }
  .hero-board { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 100%; height: auto; margin: 40px 0 0; }
  .contato-form { padding: 26px; }
}

@media (max-width: 460px) {
  .mural-grid { grid-template-columns: 1fr; }
  .group-header { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
}
