.pe7-briefing,
.pe7-briefing * {
  box-sizing: border-box;
}

.pe7-briefing {
  --pe7-bg: #0B1220;
  --pe7-bg-dark: #07101C;
  --pe7-surface: #111827;
  --pe7-surface-2: #151F2F;
  --pe7-line: #293448;
  --pe7-green: #37E66A;
  --pe7-green-soft: rgba(55, 230, 106, 0.14);
  --pe7-text: #F8FAFC;
  --pe7-muted: #94A3B8;
  --pe7-muted-2: #718096;
  --pe7-check-dark: #06110B;
  --pe7-font-title: "Sora", "Inter", system-ui, sans-serif;
  --pe7-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  padding: clamp(28px, 4vw, 64px) 18px;
  overflow: hidden;
  font-family: var(--pe7-font-body);
  color: var(--pe7-text);
  background:
    radial-gradient(circle at 88% 8%, rgba(55,230,106,.14), transparent 28%),
    radial-gradient(circle at 6% 44%, rgba(55,230,106,.08), transparent 20%),
    linear-gradient(180deg, #050B14 0%, var(--pe7-bg-dark) 48%, #060A11 100%);
}

.pe7-bg-seven {
  position: absolute;
  right: max(-42px, -3vw);
  top: 40px;
  font-family: var(--pe7-font-title);
  font-size: clamp(260px, 32vw, 520px);
  line-height: .75;
  font-weight: 900;
  letter-spacing: -0.1em;
  color: rgba(55,230,106,.045);
  pointer-events: none;
  z-index: -1;
}

.pe7-briefing-shell {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.pe7-form-header {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.pe7-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.pe7-logo-mark {
  width: 58px;
  height: 58px;
  border-radius: 28%;
  background: var(--pe7-green);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 20px 52px rgba(55,230,106,.20);
}

.pe7-logo-mark svg {
  width: 58%;
  height: 58%;
}

.pe7-logo-text {
  font-family: var(--pe7-font-title);
  font-weight: 900;
  letter-spacing: -0.095em;
  line-height: .9;
  color: var(--pe7-text);
  font-size: clamp(30px, 3vw, 46px);
}

.pe7-logo-text strong {
  color: var(--pe7-green);
}

.pe7-header-copy {
  max-width: 650px;
}

.pe7-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #8DFFAD;
  background: rgba(55,230,106,.11);
  border: 1px solid rgba(55,230,106,.22);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
}

.pe7-header-copy h1 {
  margin: 0;
  font-family: var(--pe7-font-title);
  font-size: clamp(34px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -0.065em;
  font-weight: 900;
  color: var(--pe7-text);
}

.pe7-header-copy p {
  margin: 16px 0 0;
  color: var(--pe7-muted);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.6;
}

.pe7-alert {
  display: grid;
  gap: 4px;
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(17,24,39,.76);
}

.pe7-alert strong {
  font-family: var(--pe7-font-title);
  letter-spacing: -.04em;
}

.pe7-alert span {
  color: var(--pe7-muted);
}

.pe7-alert-success {
  border-color: rgba(55,230,106,.30);
  background: rgba(55,230,106,.10);
}

.pe7-alert-error {
  border-color: rgba(255,255,255,.16);
}

.pe7-briefing-form {
  display: grid;
  gap: 18px;
}

.pe7-hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.pe7-progress-wrap,
.pe7-form-card,
.pe7-steps-nav {
  background: linear-gradient(180deg, rgba(17,24,39,.86), rgba(12,19,33,.86));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 26px 70px rgba(0,0,0,.24);
}

.pe7-progress-wrap {
  border-radius: 22px;
  padding: 16px;
}

.pe7-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--pe7-muted);
  font-size: 13px;
  font-weight: 700;
}

.pe7-progress-top strong,
.pe7-current-title {
  color: var(--pe7-text);
}

.pe7-progress-track {
  height: 9px;
  margin-top: 12px;
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  overflow: hidden;
}

.pe7-progress-bar {
  width: 10%;
  height: 100%;
  border-radius: 999px;
  background: var(--pe7-green);
  box-shadow: 0 0 28px rgba(55,230,106,.40);
  transition: width .25s ease;
}

.pe7-steps-nav {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  border-radius: 26px;
  padding: 12px;
}

.pe7-step-dot {
  appearance: none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  color: var(--pe7-muted);
  border-radius: 18px;
  padding: 10px 8px;
  cursor: pointer;
  min-height: 62px;
  display: grid;
  align-content: center;
  gap: 5px;
  font-family: var(--pe7-font-body);
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.pe7-step-dot:hover {
  border-color: rgba(55,230,106,.26);
  transform: translateY(-1px);
}

.pe7-step-dot span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-inline: auto;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--pe7-text);
  font-size: 12px;
  font-weight: 900;
}

.pe7-step-dot em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.pe7-step-dot.is-active {
  border-color: rgba(55,230,106,.46);
  background: rgba(55,230,106,.10);
  color: #8DFFAD;
}

.pe7-step-dot.is-active span {
  background: var(--pe7-green);
  color: var(--pe7-check-dark);
}

.pe7-form-card {
  border-radius: 34px;
  padding: clamp(22px, 4vw, 42px);
  position: relative;
  overflow: hidden;
}

.pe7-form-card::after {
  content: "7";
  position: absolute;
  right: -14px;
  bottom: -80px;
  font-family: var(--pe7-font-title);
  font-size: 260px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.1em;
  color: rgba(55,230,106,.045);
  pointer-events: none;
}

.pe7-step {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.pe7-step.is-active {
  display: block;
}

.pe7-step legend {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  font-family: var(--pe7-font-title);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
  color: var(--pe7-text);
}

.pe7-step legend span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--pe7-green);
  color: var(--pe7-check-dark);
  font-size: 17px;
  letter-spacing: -.04em;
  flex: none;
}

.pe7-step-description {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--pe7-muted);
  font-size: 16px;
  line-height: 1.6;
}

.pe7-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  z-index: 2;
}

.pe7-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.pe7-field.is-wide {
  grid-column: 1 / -1;
}

.pe7-field label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--pe7-text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.pe7-field label span {
  color: var(--pe7-green);
}

.pe7-field small {
  display: block;
  color: var(--pe7-muted-2);
  font-size: 12px;
  line-height: 1.4;
}

.pe7-field input,
.pe7-field textarea,
.pe7-field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 17px;
  background: rgba(5,11,20,.56);
  color: var(--pe7-text);
  padding: 14px 15px;
  font-family: var(--pe7-font-body);
  font-size: 15px;
  line-height: 1.45;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.pe7-field textarea {
  min-height: 118px;
  resize: vertical;
}

.pe7-field input::placeholder,
.pe7-field textarea::placeholder {
  color: rgba(148,163,184,.62);
}

.pe7-field input:focus,
.pe7-field textarea:focus,
.pe7-field select:focus {
  border-color: rgba(55,230,106,.55);
  box-shadow: 0 0 0 4px rgba(55,230,106,.10);
  background: rgba(5,11,20,.72);
}

.pe7-field.is-invalid input,
.pe7-field.is-invalid textarea,
.pe7-field.is-invalid select,
.pe7-field.is-invalid .pe7-choice-group {
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 0 0 4px rgba(255,255,255,.05);
}

.pe7-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(5,11,20,.34);
}

.pe7-choice {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--pe7-muted) !important;
  font-weight: 800 !important;
  cursor: pointer;
  user-select: none;
}

.pe7-choice input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  accent-color: var(--pe7-green);
}

.pe7-choice span {
  color: inherit !important;
}

.pe7-materials-box {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0 0 24px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(55,230,106,.10);
  border: 1px solid rgba(55,230,106,.24);
}

.pe7-materials-box div {
  display: grid;
  gap: 5px;
}

.pe7-materials-box strong {
  font-family: var(--pe7-font-title);
  letter-spacing: -.04em;
  color: var(--pe7-text);
}

.pe7-materials-box span {
  color: var(--pe7-muted);
  line-height: 1.45;
}

.pe7-materials-box a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--pe7-green);
  color: var(--pe7-check-dark) !important;
  text-decoration: none !important;
  font-weight: 900;
  white-space: nowrap;
}

.pe7-validation-message {
  min-height: 24px;
  margin-top: 16px;
  color: var(--pe7-muted);
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.pe7-validation-message.has-error {
  color: #F8FAFC;
}

.pe7-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.pe7-btn {
  appearance: none;
  border: 0;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--pe7-font-body);
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.pe7-btn:hover {
  transform: translateY(-1px);
}

.pe7-btn:disabled {
  opacity: .42;
  cursor: not-allowed;
  transform: none;
}

.pe7-btn-primary {
  background: var(--pe7-green);
  color: var(--pe7-check-dark);
  box-shadow: 0 20px 38px rgba(55,230,106,.16);
}

.pe7-btn-secondary {
  background: rgba(255,255,255,.06);
  color: var(--pe7-text);
  border: 1px solid rgba(255,255,255,.11);
}

.pe7-submit {
  display: none;
}

.pe7-briefing-form.is-last-step .pe7-next {
  display: none;
}

.pe7-briefing-form.is-last-step .pe7-submit {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 980px) {
  .pe7-form-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pe7-steps-nav {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 720px) {
  .pe7-briefing {
    padding: 22px 12px;
  }

  .pe7-logo-lockup {
    gap: 12px;
  }

  .pe7-logo-mark {
    width: 48px;
    height: 48px;
  }

  .pe7-logo-text {
    font-size: clamp(26px, 9vw, 34px);
  }

  .pe7-header-copy h1 {
    font-size: clamp(32px, 12vw, 48px);
  }

  .pe7-progress-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .pe7-steps-nav {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 22px;
  }

  .pe7-step-dot {
    min-height: 54px;
  }

  .pe7-step-dot em {
    font-size: 10px;
  }

  .pe7-form-card {
    border-radius: 26px;
    padding: 22px 16px;
  }

  .pe7-step legend {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .pe7-fields-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pe7-materials-box {
    align-items: stretch;
    flex-direction: column;
  }

  .pe7-materials-box a {
    width: 100%;
  }

  .pe7-choice-group {
    display: grid;
    gap: 8px;
  }

  .pe7-choice {
    width: 100%;
    border-radius: 16px;
  }

  .pe7-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pe7-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Correção anti-tema: impede hover rosa/cores do tema nos botões do briefing */
.pe7-briefing .pe7-btn,
.pe7-briefing .pe7-btn:hover,
.pe7-briefing .pe7-btn:focus,
.pe7-briefing .pe7-btn:active,
.pe7-briefing .pe7-materials-box a,
.pe7-briefing .pe7-materials-box a:hover,
.pe7-briefing .pe7-materials-box a:focus,
.pe7-briefing .pe7-materials-box a:active,
.pe7-thankyou .pe7-thankyou-link,
.pe7-thankyou .pe7-thankyou-link:hover,
.pe7-thankyou .pe7-thankyou-link:focus,
.pe7-thankyou .pe7-thankyou-link:active {
  text-decoration: none !important;
}

.pe7-briefing .pe7-btn-primary,
.pe7-briefing .pe7-btn-primary:hover,
.pe7-briefing .pe7-btn-primary:focus,
.pe7-briefing .pe7-btn-primary:active,
.pe7-briefing .pe7-materials-box a,
.pe7-briefing .pe7-materials-box a:hover,
.pe7-briefing .pe7-materials-box a:focus,
.pe7-briefing .pe7-materials-box a:active,
.pe7-thankyou .pe7-thankyou-link,
.pe7-thankyou .pe7-thankyou-link:hover,
.pe7-thankyou .pe7-thankyou-link:focus,
.pe7-thankyou .pe7-thankyou-link:active {
  background: var(--pe7-green) !important;
  background-color: var(--pe7-green) !important;
  color: var(--pe7-check-dark) !important;
  border-color: var(--pe7-green) !important;
  box-shadow: 0 20px 38px rgba(55,230,106,.16) !important;
}

.pe7-briefing .pe7-btn-secondary,
.pe7-briefing .pe7-btn-secondary:hover,
.pe7-briefing .pe7-btn-secondary:focus,
.pe7-briefing .pe7-btn-secondary:active {
  background: rgba(255,255,255,.06) !important;
  background-color: rgba(255,255,255,.06) !important;
  color: var(--pe7-text) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  box-shadow: none !important;
}

.pe7-briefing .pe7-step-dot:hover,
.pe7-briefing .pe7-step-dot:focus {
  border-color: rgba(55,230,106,.46) !important;
  background: rgba(55,230,106,.10) !important;
  color: #8DFFAD !important;
}

/* Página de obrigado */
.pe7-thankyou {
  --pe7-bg: #0B1220;
  --pe7-bg-dark: #07101C;
  --pe7-surface: #111827;
  --pe7-surface-2: #151F2F;
  --pe7-line: #293448;
  --pe7-green: #37E66A;
  --pe7-green-soft: rgba(55, 230, 106, 0.14);
  --pe7-text: #F8FAFC;
  --pe7-muted: #94A3B8;
  --pe7-muted-2: #718096;
  --pe7-check-dark: #06110B;
  --pe7-font-title: "Sora", "Inter", system-ui, sans-serif;
  --pe7-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  position: relative;
  overflow: hidden;
  min-height: 72vh;
  padding: clamp(38px, 7vw, 86px) 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 82% 10%, rgba(55,230,106,.15), transparent 28%),
    linear-gradient(180deg, #050B14 0%, var(--pe7-bg-dark) 48%, #060A11 100%);
  color: var(--pe7-text);
  font-family: var(--pe7-font-body);
}

.pe7-thankyou-card {
  width: min(760px, 100%);
  position: relative;
  z-index: 2;
  padding: clamp(26px, 5vw, 48px);
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(17,24,39,.86), rgba(7,16,28,.86));
  box-shadow: 0 28px 80px rgba(0,0,0,.30);
  text-align: center;
}

.pe7-thankyou .pe7-logo-lockup {
  justify-content: center;
  margin: 0 auto 28px;
}

.pe7-thankyou-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: var(--pe7-green);
  color: var(--pe7-check-dark);
  font-family: var(--pe7-font-title);
  font-size: 38px;
  font-weight: 900;
  box-shadow: 0 24px 50px rgba(55,230,106,.20);
}

.pe7-thankyou h1 {
  margin: 12px 0 0;
  font-family: var(--pe7-font-title);
  font-size: clamp(38px, 6vw, 68px);
  line-height: .95;
  letter-spacing: -.07em;
  color: var(--pe7-text);
}

.pe7-thankyou p {
  max-width: 610px;
  margin: 18px auto 0;
  color: var(--pe7-muted);
  font-size: 17px;
  line-height: 1.65;
}

.pe7-thankyou-ref {
  width: fit-content;
  margin: 22px auto 0;
  padding: 9px 14px;
  border-radius: 999px;
  color: #8DFFAD;
  background: rgba(55,230,106,.10);
  border: 1px solid rgba(55,230,106,.22);
  font-weight: 900;
}

.pe7-thankyou-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  margin-top: 28px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
}
