:root {
  --cream: #f5f0eb;
  --cream-deep: #e8d8b8;
  --brown-deep: #1a1817;
  --brown: #2c1e12;
  --brown-soft: #6b573c;
  --ink-on-cream: #2c1e12;
  --ink-on-dark: #f5f0eb;
  --muted-on-dark: #cbb99d;
  --terracotta: #b1502a;
  --accent: #e89a3c;
  --accent-dark: #d9822b;
  --border-dark: #4a3a26;
  --border-light: #d9c7a3;
  --input-bg: #262422;
  --danger: #ff8066;
  --success: #9bd6a0;

  --font-display: "Permanent Marker", "Kalam", cursive;
  --font-body: "Montserrat", "Inter", sans-serif;
  --font-hand: "Caveat", cursive;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--brown-deep);
  color: var(--ink-on-dark);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; }

.faixa { max-width: 560px; margin: 0 auto; padding: 44px 22px; position: relative; }
.faixa-estreita { max-width: 480px; }
.faixa-larga { max-width: 960px; }
.banda { position: relative; }
.banda-escura { background: var(--brown-deep); color: var(--ink-on-dark); }
.banda-clara { background: var(--cream); color: var(--ink-on-cream); }

.topo { text-align: center; padding-bottom: 8px; }
.logo { display: block; max-width: 220px; width: 58%; height: auto; margin: 0 auto 8px; }

.banda-hero { position: relative; }
.hero-imagem-completa { display: block; width: 100%; height: auto; }
.hero-logo-overlay {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1;
  text-align: center; padding-top: 4%;
}
.hero-logo-overlay .logo { margin: 0 auto; width: 16%; min-width: 70px; max-width: 190px; height: auto; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.6)); }

h2 {
  font-family: var(--font-hand); font-weight: 700; font-style: italic; font-size: clamp(1.9rem, 7vw, 2.5rem);
  text-align: left; margin: 0 0 12px; text-wrap: balance; position: relative; line-height: 1.1;
}
.banda-clara h2 { color: #1a1817; }
.banda-escura h2 { color: var(--cream); }
.sucesso h2 { text-align: center; }
.sucesso h2::after { margin-left: auto; margin-right: auto; }

h2::after {
  content: ""; display: block; width: 100px; height: 10px; margin: 10px 0 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='12' viewBox='0 0 220 12' fill='none'%3E%3Cpath d='M3 7C60 3 160 3 217 8' stroke='%23D9822B' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
}
.escreva-texto-col p, .escreva-texto-col .manuscrito { text-align: left; }
.escreva-texto-col p:not(.manuscrito) { color: #1a1817; }

.titulo-icone { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 0; }
.titulo-icone h2 { display: inline-block; margin: 0; line-height: 1; }
.titulo-icone h2::after { width: 100%; }
.icone-titulo {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--accent);
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.icone-titulo svg { width: 22px; height: 22px; }

p.como-funciona-intro { color: #1a1817 !important; text-align: left; margin: -14px 0 30px; font-size: 1.05rem; line-height: 1.6; }

.mockup-col { display: flex; justify-content: center; margin-bottom: 30px; }
.mockup-col img { display: block; width: 100%; max-width: 320px; height: auto; }

.passos { display: flex; flex-direction: column; gap: 22px; }
.passo {
  display: flex; gap: 14px; align-items: flex-start; text-align: left;
  transition: transform 0.25s ease;
}
.passo:hover { transform: translateX(4px); }
.passo-icone {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(177, 80, 42, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
  margin-top: 2px;
}
.passo:hover .passo-icone { transform: rotate(-8deg) scale(1.08); background: var(--terracotta); }
.passo-icone svg { width: 20px; height: 20px; }
.passo-texto { text-align: left; flex: 1; }
.passo-texto h3 {
  font-family: var(--font-body); font-weight: 700; margin: 0 0 4px; font-size: 0.92rem;
  line-height: 1.3; color: var(--brown); text-align: left; text-transform: uppercase; letter-spacing: 0.03em;
}
.passo-texto p { margin: 0; color: #1a1817 !important; line-height: 1.45; font-size: 0.95rem; text-align: left; }

.banda-foto { display: flex; flex-direction: column; background: var(--brown); }
.print { margin: 0; overflow: hidden; }
.print img { display: block; width: 100%; height: 220px; object-fit: cover; }
.foto-texto { text-align: left; max-width: 40ch; }
.foto-texto p { color: #fff; line-height: 1.65; margin: 0 0 14px; font-size: 1.05rem; text-align: left; }
.instagram a { color: var(--accent); font-weight: bold; text-decoration: underline; }

.escreva-visual-col { display: flex; justify-content: center; margin-top: 30px; }
.escreva-composicao { width: 100%; max-width: 420px; height: auto; display: block; }

.banda-clara p { color: var(--brown-soft); line-height: 1.65; text-align: left; font-size: 1.05rem; }
.manuscrito {
  font-family: var(--font-hand); color: var(--terracotta) !important; font-size: 1.8rem !important;
  margin: 18px 0 0 !important; position: relative; display: inline-block;
}
.faixa-estreita { text-align: left; }

.form-intro { color: #fff !important; margin: -14px 0 26px; font-size: 1.05rem; }
form {
  text-align: left; background: var(--brown); border: 1px solid var(--border-dark);
  border-radius: 14px; padding: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.campo { margin-bottom: 20px; }
label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink-on-dark); font-size: 1.02rem; }
.dica { margin: 0 0 8px; font-size: 0.92rem; color: var(--muted-on-dark) !important; text-align: left !important; }
.campo-checkbox { background: var(--input-bg); border: 1px solid var(--border-dark); border-radius: 8px; padding: 12px 14px; }
label.checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: normal; margin-bottom: 0; cursor: pointer; }
label.checkbox input[type="checkbox"] { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); }
label.checkbox span { font-size: 0.9rem; line-height: 1.4; color: var(--ink-on-dark); }

input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border-dark); border-radius: 8px;
  font-size: 1rem; font-family: var(--font-body); background: var(--input-bg); color: var(--ink-on-dark);
}
input[type="text"]::placeholder, input[type="tel"]::placeholder, input[type="email"]::placeholder, textarea::placeholder { color: var(--muted-on-dark); }
input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, textarea:focus, input[type="file"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
input[type="file"] { width: 100%; padding: 10px 0; color: var(--ink-on-dark); font-size: 0.95rem; }
input[type="file"]::file-selector-button {
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  color: #1a1408; background: var(--accent); border: none; border-radius: 8px;
  padding: 12px 20px; margin-right: 12px; cursor: pointer;
  transition: background 0.15s ease;
}
input[type="file"]::file-selector-button:hover { background: var(--accent-dark); }
textarea { resize: vertical; }

.preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-dark); }

button[type="submit"] {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 50px; padding: 14px; font-size: 1.05rem; font-family: var(--font-body);
  font-weight: 700; color: #1a1408; background: var(--accent); border: none; border-radius: 8px;
  cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
button[type="submit"]:hover { background: var(--accent-dark); }
button[type="submit"]:active { transform: scale(0.97); }
button[type="submit"]:disabled { background: #6b5c3e; color: #d8d0c2; cursor: not-allowed; transform: none; }

.mensagem { min-height: 1.2em; text-align: center; margin: 12px 0 0; font-size: 0.9rem; }
.mensagem.erro { color: var(--danger); }
.mensagem.sucesso { color: var(--success); }

.sucesso { text-align: center; background: var(--brown); border: 1px solid var(--border-dark); border-radius: 16px; padding: 32px 24px; margin-top: 20px; }
.sucesso h2 { margin: 8px 0; }
.sucesso p { color: var(--muted-on-dark) !important; line-height: 1.5; }
.hero-emoji { font-size: 2.5rem; }
.escondido { display: none; }

.banda-rodape { padding: 0; }
.rodape-banner {
  position: relative; width: 100%; aspect-ratio: 4750 / 896; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.logo-rodape {
  display: block; width: 30%; min-width: 90px; max-width: 220px; height: auto;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.6));
}

.aviso-preview {
  background: var(--accent); color: #1a1408; text-align: center; font-size: 0.82rem;
  padding: 8px 14px; font-weight: 700;
}

[data-anim] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  [data-anim] { opacity: 0; }
}

button { min-height: 44px; }
input[type="checkbox"] { min-height: 22px; }

@media (min-width: 640px) {
  .banda-foto { flex-direction: row; align-items: stretch; }
  .banda-foto .print { flex: 1 1 40%; }
  .banda-foto .print img { height: 100%; min-height: 320px; }
  .banda-foto .foto-texto { flex: 1 1 60%; max-width: none; display: flex; flex-direction: column; justify-content: center; }
}

@media (min-width: 680px) {
  .como-funciona-grid { display: flex; flex-direction: row-reverse; gap: 40px; align-items: center; }
  .como-funciona-grid .passos-col { flex: 1; }
  .como-funciona-grid .mockup-col { flex: 1; }

  .escreva-grid { display: flex; flex-direction: row; gap: 40px; align-items: center; }
  .escreva-grid .escreva-texto-col { flex: 1; text-align: left; }
  .escreva-grid .escreva-visual-col { flex: 1; }
  .escreva-grid .manuscrito { display: block; }
}
