*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brown-dark: #2C1A0E;
  --brown-mid: #4A2C17;
  --brown-light: #C49A6C;
  --brown-pale: #E8D5B7;
  --cream: #F5EDD8;
  --text-muted: #A88B6E;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--brown-dark);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.ocorte-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  padding: 60px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--brown-light);
  opacity: 0.6;
  margin: 28px auto;
}

.logo-wrap img,
.logo-wrap .custom-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: invert(1) sepia(1) saturate(0.4) brightness(0.85);
}

.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brown-light);
  border: 1px solid var(--brown-light);
  padding: 6px 18px;
  border-radius: 2px;
}

.headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 7vw, 52px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
}

.headline span { color: var(--brown-light); }

.subtext {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-pale);
  opacity: 0.8;
}

.location::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--brown-light);
  border-radius: 50%;
}

.form-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

.form-row {
  display: flex;
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(196,154,108,0.35);
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s;
}

.form-row:focus-within { border-color: var(--brown-light); }

.form-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--cream);
}

.form-row input::placeholder { color: var(--text-muted); opacity: 0.7; }

.form-row button {
  background: var(--brown-light);
  border: none;
  padding: 14px 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-dark);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.25s;
  white-space: nowrap;
}

.form-row button:hover { background: var(--brown-pale); }

.form-note {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: 10px;
}

.success-msg {
  display: none;
  font-size: 13px;
  color: var(--brown-light);
  letter-spacing: 0.05em;
  padding: 14px 20px;
  border: 1px solid rgba(196,154,108,0.3);
  border-radius: 3px;
  width: 100%;
  max-width: 420px;
  background: rgba(196,154,108,0.07);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color 0.25s;
  padding: 10px 16px;
  border: 1px solid rgba(196,154,108,0.2);
  border-radius: 3px;
}

.instagram-link:hover {
  color: var(--brown-light);
  border-color: rgba(196,154,108,0.5);
}

.ocorte-footer {
  position: relative;
  z-index: 1;
  padding: 24px;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.45;
  letter-spacing: 0.08em;
  text-align: center;
}

@media (max-width: 480px) {
  .ocorte-container { padding: 48px 24px; }
  .form-row { flex-direction: column; }
  .form-row button { padding: 14px; border-top: 1px solid rgba(196,154,108,0.2); }
  .logo-wrap img, .logo-wrap .custom-logo { width: 160px; height: 160px; }
}
