:root {
  --g: #2C7A5D; --g2: #1f5c44;
  --o: #F26A2E; --o2: #d45520;
  --bg: #F6F6F4; --white: #FFFFFF;
  --dark: #0D0D0D; --txt: #3a3a3a; --muted: #6B6B6B;
  --border: #EAEAEA; 
  --error: #d32f2f; --error-bg: #fff5f5;
  --shadow-lg: 0 12px 40px rgba(0,0,0,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--txt); line-height: 1.6; }

/* Header */
.header { padding: 20px 40px; background: rgba(246,246,244,.92); border-bottom: 1px solid rgba(0,0,0,.06); }
.logo { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--dark); display: flex; align-items: center; gap: 10px; }
.logo-badge { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--g), var(--g2)); display: flex; align-items: center; justify-content: center; color: #fff; }

/* Layout */
.main-container { min-height: calc(100vh - 70px); display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.content-wrapper { max-width: 1140px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Textos (Copy) */
.eyebrow { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--g); background: #e8f4ef; padding: 6px 14px; border-radius: 100px; margin-bottom: 20px; border: 1px solid #d0ebe0; }
.headline { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; color: var(--dark); line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.02em; }
.sub-headline { font-size: 1.05rem; color: var(--muted); line-height: 1.7; }
.sub-headline strong { color: var(--dark); font-weight: 600; }

/* Cartão do Formulário */
.form-card { background: var(--white); border-radius: 24px; padding: 48px 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.input-group { margin-bottom: 20px; position: relative; }
.input-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.input-group input { width: 100%; padding: 15px 16px; border: 1px solid #ccc; border-radius: 12px; font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--dark); transition: all 0.3s ease; outline: none; background: #fafafa; }
.input-group input::placeholder { color: #aaa; }
.input-group input:focus { border-color: var(--g); background: #fff; box-shadow: 0 0 0 4px rgba(44,122,93,.15); }

/* Estados de Validação e Erro */
.input-group.invalid input { border-color: var(--error); background: var(--error-bg); box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.15); }
.error-msg { display: none; font-size: 0.78rem; color: var(--error); margin-top: 8px; font-weight: 600; }
.input-group.invalid .error-msg { display: block; animation: fadeIn 0.3s ease; }

/* Botão */
.btn-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, var(--o), #d45520); color: #fff; font-size: 1.05rem; font-weight: 700; padding: 18px; border-radius: 14px; border: none; cursor: pointer; transition: all 0.25s ease; box-shadow: 0 4px 0 rgba(0,0,0,.3), 0 8px 32px rgba(242,106,46,.4); margin-top: 10px; }
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 6px 0 rgba(0,0,0,.25), 0 16px 40px rgba(242,106,46,.5); }
.btn-submit:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(0,0,0,.3); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }

/* Mensagem de Retorno Webhook */
.feedback-msg { margin-top: 20px; text-align: center; font-size: 0.9rem; font-weight: 600; display: none; padding: 14px; border-radius: 10px; }
.feedback-msg.success { display: block; background: #e8f4ef; color: var(--g); border: 1px solid var(--g); }
.feedback-msg.error { display: block; background: var(--error-bg); color: var(--error); border: 1px solid var(--error); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* Responsivo */
@media (max-width: 900px) {
  .content-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .headline { font-size: 2.2rem; }
  .form-card { padding: 32px 24px; }
}