/* ==========================================================================
   SEJA UM AGREGADO - Hero com foto recortada (fundo transparente real)
   ========================================================================== */
.agregado-hero{
  position:relative; overflow:hidden; color:#fff;
  background: var(--ikehu-gradient-dark);
  padding: 100px 0 80px;
}
.agregado-hero::before{
  content:''; position:absolute; inset:0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,106,0,.2), transparent 42%), radial-gradient(circle at 80% 75%, rgba(108,60,233,.32), transparent 45%);
  pointer-events:none;
}
.agregado-hero .container{ position:relative; display:grid; grid-template-columns: 1.05fr .95fr; gap:50px; align-items:center; }
.agregado-hero h1{ font-size:clamp(30px,4vw,48px); margin-bottom:18px; }
.agregado-hero p.lead{ font-size:17.5px; color:rgba(255,255,255,.82); max-width:520px; margin-bottom:30px; }
.agregado-visual{ position:relative; display:flex; align-items:center; justify-content:center; }
.agregado-visual img{
  width:100%; max-width:560px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5));
}

/* ==========================================================================
   TIMELINE - Como funciona (Seja um Agregado)
   ========================================================================== */
.timeline{ max-width:640px; margin:0 auto; position:relative; }
.timeline::before{
  content:''; position:absolute; left:23px; top:8px; bottom:8px; width:2px;
  background: repeating-linear-gradient(180deg, rgba(20,71,230,.3) 0 8px, transparent 8px 16px);
}
.timeline-item{ display:flex; gap:22px; padding-bottom:38px; position:relative; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-num{
  flex-shrink:0; width:48px; height:48px; border-radius:50%; background: var(--ikehu-gradient-primary);
  color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--ikehu-font-display);
  font-weight:800; font-size:18px; box-shadow: 0 8px 20px rgba(20,71,230,.3); position:relative; z-index:1;
}
.timeline-body h3{ font-size:17px; margin-bottom:4px; }
.timeline-body p{ color: var(--ikehu-gray); font-size:14.5px; margin:0; }

/* ==========================================================================
   FORMULARIO EM 3 ETAPAS
   ========================================================================== */
.form-card{
  background:#fff; border-radius: var(--ikehu-radius-lg); padding:44px; box-shadow: var(--ikehu-shadow-strong);
  border:1px solid rgba(11,18,32,.06); max-width:760px; margin:0 auto;
}
.form-steps{ display:flex; justify-content:space-between; margin-bottom:36px; gap:8px; }
.form-step-indicator{
  flex:1; text-align:center; font-size:12.5px; font-weight:700; color: var(--ikehu-gray);
  padding-bottom:12px; border-bottom:3px solid rgba(11,18,32,.08); text-transform:uppercase; letter-spacing:.03em;
}
.form-step-indicator.is-active{ color: var(--ikehu-blue); border-color: var(--ikehu-orange); }
.form-step-indicator.is-done{ color: var(--ikehu-blue); border-color: var(--ikehu-blue); }

.form-fieldset{ display:none; }
.form-fieldset.is-active{ display:block; animation: fadeIn .35s ease; }
@keyframes fadeIn{ from{ opacity:0; transform:translateY(8px);} to{ opacity:1; transform:none; } }

.form-group{ margin-bottom:20px; }
.form-group label{ display:block; font-weight:700; font-size:14px; margin-bottom:8px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select{
  width:100%; padding:14px 16px; border-radius:10px; border:1.5px solid rgba(11,18,32,.15);
  font-family:inherit; font-size:14.5px; transition:border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus, .form-group select:focus{
  outline:none; border-color: var(--ikehu-blue); box-shadow: 0 0 0 3px rgba(20,71,230,.12);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }

.option-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap:10px; }
.option-pill{ position:relative; }
.option-pill input{ position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.option-pill span{
  display:flex; align-items:center; justify-content:center; text-align:center; padding:12px 10px;
  border-radius:10px; border:1.5px solid rgba(11,18,32,.15); font-size:13.5px; font-weight:600;
  transition: all .2s ease; min-height:44px;
}
.option-pill input:checked + span{ border-color: var(--ikehu-orange); background: rgba(255,106,0,.08); color: var(--ikehu-orange-hover); }
.option-pill input:focus-visible + span{ outline:3px solid var(--ikehu-orange); outline-offset:2px; }

.checkbox-days{ display:flex; flex-wrap:wrap; gap:10px; }
.checkbox-days .option-pill span{ min-width:64px; }

.form-actions{ display:flex; justify-content:space-between; gap:12px; margin-top:32px; }
.form-actions .btn{ min-width:120px; }
.form-actions .btn-back{ background:transparent; border-color: rgba(11,18,32,.2); color: var(--ikehu-ink); }
.form-actions .btn-back:hover{ background: var(--ikehu-gray-light); }

/* Confirmacao / boas-vindas apos envio */
.welcome-card{
  background:#fff; border-radius: var(--ikehu-radius-lg); padding:44px; box-shadow: var(--ikehu-shadow-strong);
  border:1px solid rgba(11,18,32,.06); max-width:680px; margin:0 auto; line-height:1.7;
}
.welcome-card h2{ font-size:24px; margin-bottom:18px; }
.welcome-card h3{ font-size:16.5px; margin-top:24px; margin-bottom:10px; }
.welcome-card ul{ list-style:disc; padding-left:22px; margin-bottom:16px; }
.welcome-card ul li{ margin-bottom:6px; }
.welcome-card .signature{ margin-top:28px; color: var(--ikehu-gray); font-size:14.5px; }

@media (max-width:900px){
  .agregado-hero .container{ grid-template-columns:1fr; }
  .agregado-visual{ order:-1; }
  .form-card, .welcome-card{ padding:28px 22px; }
  .form-steps{ gap:4px; }
  .form-step-indicator{ font-size:10.5px; }
}
