:root{
  --bg: #0B0908;
  --surface: #161311;
  --surface-2: #1F1A17;
  --text: #F5EFE6;
  --text-muted: #9C9388;
  --amber: #FF7A33;
  --rose: #FF3D6E;
  --border: rgba(245,239,230,0.09);
  --gradient: linear-gradient(135deg, var(--amber), var(--rose));
}

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

html{ scroll-behavior: smooth; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

h1, h2{
  font-family: 'Bricolage Grotesque', sans-serif;
}

/* Textura de grão sutil, dá profundidade ao preto chapado */
.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ===== Header ===== */
.header{
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  padding: 1.3rem clamp(1.25rem, 5vw, 3.5rem);
  background: rgba(11,9,8,0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo{
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-wordmark{
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.logo-wordmark .melt{
  font-weight: 700;
  font-size: 1.3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-wordmark .digital{
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== Hero ===== */
.hero{
  position: relative;
  padding: clamp(4.5rem, 12vw, 8rem) clamp(1.25rem, 5vw, 3.5rem) clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: 0;
  will-change: transform;
}

.blob-1{
  top: -15%;
  right: -10%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle at 30% 30%, var(--amber), transparent 70%);
  animation: drift 19s ease-in-out infinite;
}

.blob-2{
  bottom: -25%;
  left: -12%;
  width: 36vw;
  height: 36vw;
  max-width: 480px;
  max-height: 480px;
  background: radial-gradient(circle at 70% 70%, var(--rose), transparent 70%);
  animation: drift 24s ease-in-out infinite reverse;
}

@keyframes drift{
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(-24px, 28px) scale(1.08); }
  100% { transform: translate(0,0) scale(1); }
}

.hero-inner{
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.4rem;
}

.eyebrow::before{
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
  display: inline-block;
}

.hero-title{
  font-weight: 700;
  font-size: clamp(2.3rem, 5.6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.gradient-text{
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub{
  color: var(--text-muted);
  font-size: clamp(1rem, 1.2vw + 0.7rem, 1.2rem);
  max-width: 540px;
  line-height: 1.65;
}

/* ===== Benefícios ===== */
.benefits{
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3.5rem) clamp(4rem, 8vw, 6rem);
  position: relative;
  z-index: 1;
}

.section-title{
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw + 1rem, 2.3rem);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.8rem;
  letter-spacing: -0.01em;
}

.benefits-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.benefit-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  opacity: 0;
  transform: translateY(22px);
  transition: transform 0.6s cubic-bezier(.16,.8,.3,1), opacity 0.6s ease, border-color 0.3s ease;
}

.benefit-card.in-view{
  opacity: 1;
  transform: translateY(0);
}

.benefit-card:hover{
  border-color: rgba(255,122,51,0.35);
}

.icon-wrap{
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,122,51,0.16), rgba(255,61,110,0.16));
  margin-bottom: 1.3rem;
}

.icon-wrap svg{
  width: 22px;
  height: 22px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3{
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.benefit-card p{
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ===== Formulário de captação ===== */
.lead{
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3.5rem) clamp(5rem, 10vw, 7rem);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.lead-card{
  width: 100%;
  max-width: 540px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: clamp(2rem, 4vw, 2.75rem);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  transition: transform 0.6s cubic-bezier(.16,.8,.3,1), opacity 0.6s ease;
}

.lead-card.in-view{
  opacity: 1;
  transform: translateY(0);
}

.lead-card::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}

.lead-card h2{
  font-size: clamp(1.4rem, 2vw + 0.9rem, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.lead-card > p{
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  line-height: 1.55;
}

.field{
  margin-bottom: 1.1rem;
}

.field label{
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.field input,
.field select{
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder{
  color: rgba(156,147,136,0.6);
}

/* Select customizado: remove a seta nativa e desenha uma própria, no mesmo tom dos demais campos */
.field select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'><path d='M1 1l6 6 6-6' stroke='%239C9388' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.field select option{
  background: var(--surface-2);
  color: var(--text);
}

.field input:focus-visible,
.field input:focus,
.field select:focus-visible,
.field select:focus{
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255,122,51,0.16);
}

.cta-btn{
  width: 100%;
  margin-top: 0.4rem;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 14px;
  background: var(--gradient);
  color: #0B0908;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
  box-shadow: 0 10px 28px rgba(255,61,110,0.28);
}

.cta-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255,61,110,0.38);
}

.cta-btn:active{
  transform: translateY(0);
}

.cta-btn:focus-visible{
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.cta-btn:disabled{
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-note{
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.9rem;
  min-height: 1.1rem;
}

/* ===== Responsivo ===== */
@media (max-width: 640px){
  .blob-1, .blob-2{ opacity: 0.35; }
  .benefits-grid{ grid-template-columns: 1fr; }
}

/* Respeita preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce){
  *{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .benefit-card, .lead-card{
    opacity: 1 !important;
    transform: none !important;
  }
}
