/* =========================================================
   Indique e Ganhe â€” CentrusPrev+
   ========================================================= */

:root {
  --color-blue-deep: #003A77;
  --color-blue-mid: #0046C3;
  --color-blue-pale: #9ABEFF;
  --color-cyan: #11B6E0;
  --color-blue-light: #54B9FF;

  --color-gold-dark: #947F3C;
  --color-gold-mid: #A49051;
  --color-gold-light: #BFAD74;
  --color-gold-pale: #E1C879;
  --color-gold-pale-2: #FEF0C7;
  --color-gold-accent: #FFCB2A;
  --color-cyan-accent: #00B5EE;

  --color-text-navy: #1B4788;
  --color-text-body: #374759;
  --color-text-dark: #2B4470;
  --color-text-darker: #394B60;
  --color-placeholder: #9CB0D8;
  --color-border-input: #6B8AA1;
  --color-border-light: #E1E1E1;

  --font-primary: 'Raleway', sans-serif;
  --font-faq: 'Figtree', sans-serif;

  --container-max: 1360px;
  --content-max: 1360px;

  --btn-gradient: linear-gradient(90deg, #FFCB2A 0%, #00B5EE 100%);
  --btn-gradient-blue: linear-gradient(90deg, #1B4788 0%, #54B9FF 100%);
  --gold-text-gradient: linear-gradient(90deg, #947F3C 0%, #BFAD74 100%);

  --radius-pill: 999px;
  --transition-base: 0.25s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--color-text-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

input,
select,
textarea {
  font-family: inherit;
}

.ig-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.5vw, 48px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--color-blue-deep);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--color-cyan-accent);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-gradient);
  color: #fff;
  border: 1.1px solid #fff;
  border-radius: var(--radius-pill);
  padding: clamp(12px, 1.1vw, 20px) clamp(22px, 2.2vw, 40px);
  font-weight: 600;
  font-size: clamp(14px, 1vw, 19px);
  white-space: nowrap;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 181, 238, 0.35);
}

.btn-outline-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 217, 217, 0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1.1px solid #fff;
  border-radius: var(--radius-pill);
  padding: clamp(12px, 1.1vw, 20px) clamp(22px, 2.2vw, 40px);
  font-weight: 600;
  font-size: clamp(14px, 1vw, 19px);
  white-space: nowrap;
  transition: background var(--transition-base);
}

.btn-outline-glass:hover {
  background: rgba(217, 217, 217, 0.2);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(139.3deg, #00286F 53.16%, #0046C3 73.53%, #9ABEFF 84.39%);
  padding: clamp(16px, 2vw, 40px) 0 clamp(40px, 4.5vw, 72px);
}

.hero-inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  min-height: clamp(500px, 42vw, 820px);
  display: flex;
  align-items: center;
}

.hero-visual {
  position: absolute;
  /* inset: 0; */
  pointer-events: none;
  bottom: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 4vw, 80px) clamp(24px, 4vw, 90px);
  max-width: 62%;
}

.hero-title {
  font-weight: 400;
  font-size: clamp(34px, 3.906vw, 75px);
  line-height: 1.04;
  color: #fff;
}

.hero-title-gold {
  font-weight: 600;
  background: linear-gradient(90deg, #E1C879, #FEF0C7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: clamp(18px, 2vw, 36px);
  font-weight: 500;
  font-size: clamp(16px, 1.46vw, 28px);
  line-height: 1.6;
  color: #fff;
  max-width: 58ch;
}

.hero-subtitle strong {
  font-weight: 700;
}

.hero-actions {
  margin-top: clamp(22px, 2.6vw, 50px);
  display: flex;
  gap: clamp(10px, 0.9vw, 17px);
  flex-wrap: wrap;
}

.hero-banner {
  max-width: var(--content-max);
  margin: clamp(10px, 1.2vw, 20px) auto 0;
  padding: 0 clamp(16px, 2.5vw, 48px);
  text-align: center;
  color: #fff;
  font-weight: 500;
  font-size: clamp(16px, 1.15vw, 22px);
}

/* ================= PRIZES (TRÃŠS SORTEIOS) ================= */
.prizes-section {
  position: relative;
  background: linear-gradient(119.7deg, #947F3C 20.3%, #F9E6AB 122.7%);
  padding: clamp(48px, 6vw, 112px) 0;
  margin-top: clamp(-20px, -1.2vw, -14px);
  overflow: hidden;
}

.prizes-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.prizes-bg-graphic {
  position: absolute;
  opacity: 0.9;
}

.prizes-bg-graphic--right {
  right: -5%;
  top: 10%;
  width: 46%;
}

.prizes-bg-graphic--left {
  left: -8%;
  bottom: -5%;
  width: 24%;
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto clamp(32px, 4vw, 72px);
  text-align: center;
}

.heading-bar {
  display: block;
  width: 112px;
  height: 2px;
  margin: 0 auto 16px;
  background: linear-gradient(90deg, rgba(217, 217, 217, 0), var(--color-gold-dark));
}

.heading-bar--white {
  background: linear-gradient(90deg, rgba(217, 217, 217, 0), #fff);
}

.section-heading-title {
  font-weight: 600;
  font-size: clamp(26px, 2.76vw, 53px);
  line-height: 1.2;
}

.section-heading-title--white {
  color: #fff;
}

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

.section-heading-subtitle {
  margin-top: 14px;
  font-weight: 500;
  font-size: clamp(15px, 1.26vw, 24px);
  line-height: 1.5;
  color: var(--color-text-body);
}

.prizes-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 38px);
  max-width: var(--content-max);
  margin: 0 auto;
}

.prize-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 249, 233, 0.2));
  border-radius: 40px 88px 16px 16px;
  padding: clamp(32px, 2.8vw, 52px) clamp(20px, 2vw, 32px) clamp(24px, 2.3vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.prize-card-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: var(--color-gold-dark);
  font-weight: 700;
  font-size: clamp(12px, 0.8vw, 15px);
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.prize-card-img {
  width: clamp(130px, 13vw, 245px);
  height: auto;
  object-fit: contain;
}

.prize-card--featured .prize-card-img {
  width: clamp(150px, 17vw, 300px);
}

.prize-card-body {
  width: 100%;
}

.prize-card-label {
  color: #fff;
  font-weight: 700;
  font-size: clamp(15px, 1.06vw, 20px);
  margin-bottom: 4px;
}

.prize-card-prize {
  color: #fff;
  font-weight: 400;
  font-size: clamp(26px, 2.28vw, 43.75px);
  margin-bottom: 10px;
}

.prize-card-text {
  color: #fff;
  font-weight: 500;
  font-size: clamp(14px, 1.26vw, 24px);
  line-height: 1.5;
}

.prize-card-text strong {
  font-weight: 800;
}

.prizes-disclaimer {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: clamp(20px, 2vw, 36px) auto 0;
  color: #fff;
  font-weight: 500;
  font-size: clamp(13px, 0.94vw, 18px);
}

/* ================= STEPS (INDICAR Ã‰ SIMPLES) ================= */
.steps-section {
  padding: clamp(48px, 6vw, 112px) 0;
}

.steps-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(8px, 1vw, 20px);
}

.step-card {
  flex: 1 1 0;
  text-align: center;
  position: relative;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon {
  width: clamp(72px, 6vw, 110px);
  height: auto;
  margin-bottom: 18px;
}

.step-title {
  font-weight: 700;
  font-size: clamp(19px, 1.72vw, 33px);
  margin-bottom: 14px;
}

.step-title--a {
  color: var(--color-gold-dark);
}

.step-title--b {
  color: var(--color-gold-mid);
}

.step-text {
  font-weight: 500;
  font-size: clamp(14px, 1.26vw, 24px);
  line-height: 1.47;
  color: var(--color-text-body);
  max-width: 34ch;
}

.step-underline {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 320px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0076AC, #B9EBFF 51%, #003046);
}

.step-connector {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: clamp(60px, 7vw, 130px);
}

.step-connector-circle {
  width: clamp(44px, 4.3vw, 83px);
  height: clamp(44px, 4.3vw, 83px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(209deg, #11B6E0 0.4%, #003A77 82%, #09637A 159%);
}

.step-connector-circle img {
  width: 44%;
  height: 44%;
}

/* ================= FORM ================= */
.form-section {
  padding: clamp(40px, 5vw, 96px) 0 clamp(56px, 6vw, 112px);
  background: #fff;
}

.form-container {
  max-width: 1024px;
}

.form-card {
  background: linear-gradient(177.6deg, #FAFCFF 23.16%, #fff 101.27%);
  border: 0.4px solid rgba(0, 69, 97, 0.32);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(203, 216, 228, 0.25);
  padding: clamp(24px, 3.2vw, 62px);
}

.step-indicator {
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 28px;
}

.step-panel {
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-weight: 600;
  font-size: clamp(13px, 0.8vw, 16px);
  color: var(--color-text-navy);
  margin-bottom: 8px;
}

.form-field input,
.form-field select {
  border: 1.4px solid var(--color-border-input);
  background: rgba(217, 217, 217, 0.06);
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  font-size: clamp(14px, 0.9vw, 17px);
  color: var(--color-text-darker);
  width: 100%;
}

.form-field input::placeholder {
  color: var(--color-placeholder);
}

.form-field select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 18.5"><path d="M2.5 2.5l10.3 12.4c1.1 1.4 3.2 1.4 4.4.1L29.5 2.5" fill="none" stroke="%232961A4" stroke-width="5" stroke-linecap="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 15px auto;
  padding-right: 48px;
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: #D64545;
}

.field-error {
  display: block;
  min-height: 18px;
  color: #D64545;
  font-size: 12.5px;
  margin-top: 6px;
  font-weight: 600;
}

.indicador-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(107, 138, 161, 0.08);
  border: 1px solid rgba(107, 138, 161, 0.3);
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--color-text-dark);
}

.link-btn {
  background: none;
  border: none;
  color: var(--color-text-navy);
  font-weight: 700;
  text-decoration: underline;
  font-size: 14px;
  padding: 4px;
}

.indicado-block {
  border: 1px solid var(--color-border-light);
  border-radius: 18px;
  padding: 22px clamp(16px, 2vw, 26px);
  margin-bottom: 20px;
  position: relative;
}

.indicado-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.indicado-block-header h3 {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-gold-dark);
}

.btn-remove {
  background: none;
  border: none;
  color: #D64545;
  font-weight: 700;
  font-size: 13px;
  text-decoration: underline;
}

.btn-dashed {
  display: block;
  width: 100%;
  text-align: center;
  background: #DEE8EF;
  border: 1.4px dashed var(--color-border-input);
  border-radius: var(--radius-pill);
  padding: 15px;
  color: #66779B;
  font-weight: 600;
  font-size: clamp(14px, 0.9vw, 17px);
  margin-bottom: 24px;
  transition: background var(--transition-base);
}

.btn-dashed:hover {
  background: #cfe0ec;
}

.form-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  margin-bottom: 26px;
  align-items: start;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--color-blue-deep);
  border: 1.1px solid #DEDEDE;
  border-radius: 5px;
}

.form-checkbox label {
  font-size: clamp(13px, 0.72vw, 16px);
  line-height: 1.45;
  color: var(--color-text-dark);
}

.form-checkbox .field-error {
  grid-column: 2;
}

.btn-step-gradient,
.btn-submit-gradient {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  background: var(--btn-gradient-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: clamp(14px, 1.1vw, 20px);
  font-weight: 600;
  font-size: clamp(16px, 1.1vw, 21px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.btn-step-gradient:hover:not(:disabled),
.btn-submit-gradient:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn-step-gradient:disabled,
.btn-submit-gradient:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-step-gradient.is-loading .btn-label,
.btn-submit-gradient.is-loading .btn-label {
  visibility: hidden;
}

.btn-step-gradient.is-loading::after,
.btn-submit-gradient.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.rules-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: var(--color-text-dark);
  font-weight: 600;
  font-size: clamp(13px, 0.75vw, 16px);
  text-decoration: underline;
}

.success-panel {
  text-align: center;
  padding: clamp(12px, 2vw, 30px) 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  line-height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--btn-gradient-blue);
  color: #fff;
  font-size: 28px;
}

.success-panel h3 {
  font-weight: 700;
  font-size: clamp(22px, 1.8vw, 32px);
  color: var(--color-text-navy);
  margin-bottom: 10px;
}

.success-panel p {
  color: var(--color-text-body);
  font-size: clamp(14px, 0.95vw, 18px);
  margin-bottom: 8px;
}

.success-note {
  max-width: 46ch;
  margin: 16px auto 28px !important;
}

/* ================= FAQ ================= */
.faq-section {
  padding: 0 0 clamp(40px, 5vw, 80px);
}

.faq-card {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  background: linear-gradient(-60.5deg, #374759 3.87%, #3C536C 19.7%, #477099 50.16%, #BCCFDD 84.95%, #F3F4F8 118.37%);
  border-radius: 46px;
  padding: clamp(32px, 4.5vw, 86px) clamp(24px, 4vw, 90px);
  overflow: hidden;
}

.faq-icon {
  position: absolute;
  top: clamp(24px, 3vw, 54px);
  left: clamp(24px, 3vw, 54px);
  width: clamp(80px, 8vw, 150px);
}

.faq-heading {
  position: relative;
  color: #fff;
  font-weight: 600;
  font-size: clamp(30px, 3.39vw, 65px);
  line-height: 1.15;
  max-width: 420px;
  margin-bottom: clamp(24px, 3vw, 20px);
}

.faq-heading strong {
  font-weight: 700;
}

.faq-list {
  position: relative;
  max-width: 100%;
  margin-top: clamp(24px, 3vw, 40px);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item-heading {
  margin: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  color: #fff;
  font-family: var(--font-faq);
  font-weight: 500;
  font-size: clamp(16px, 1.34vw, 25.76px);
  padding: clamp(16px, 1.6vw, 28px) 0;
}

.faq-toggle-icon {
  position: relative;
  flex: 0 0 auto;
  width: clamp(32px, 2.8vw, 54px);
  height: clamp(32px, 2.8vw, 54px);
  border-radius: 50%;
  background: #fff;
  border: 1.3px solid #506DB4;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #394B60;
  transition: transform var(--transition-base);
}

.faq-toggle-icon::before {
  width: 46%;
  height: 2.5px;
  transform: translate(-50%, -50%);
}

.faq-toggle-icon::after {
  width: 2.5px;
  height: 46%;
  transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-toggle-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
  padding: 0 0 clamp(16px, 1.8vw, 30px);
  max-width: 85%;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-faq);
  font-size: clamp(14px, 0.95vw, 18px);
  line-height: 1.6;
}

/* ================= REGULAMENTO CTA ================= */
.regulamento-cta {
  display: flex;
  justify-content: center;
  padding: clamp(28px, 3.5vw, 56px) 0;
}

/* ================= RESPONSIVE: TABLET ================= */
@media (max-width: 1100px) {
  .hero-content {
    max-width: 100%;
  }

  .prizes-bg-graphic--right {
    width: 60%;
  }

  .steps-grid {
    flex-wrap: wrap;
  }

  .step-card {
    flex: 1 1 260px;
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 860px) {
  .prizes-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .prize-card--featured .prize-card-img {
    width: clamp(150px, 40vw, 245px);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .faq-icon {
    position: static;
    margin-bottom: 20px;
  }

  .faq-answer {
    max-width: 100%;
  }
}

/* ================= RESPONSIVE: MOBILE ================= */
@media (max-width: 599px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 43px;
  }

  .hero-inner {
    min-height: auto;
    padding-bottom: 150px;
  }

  .hero-content {
    padding: 28px 20px;
    max-width: 100%;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-gradient,
  .hero-actions .btn-outline-glass {
    width: 100%;
  }

  .hero-banner {
    font-size: 15px;
  }

  .prizes-section {
    margin-top: -30px;
    border-radius: 0;
  }

  .prizes-bg-graphic {
    opacity: 0.5;
  }

  .prize-card {
    border-radius: 24px 50px 12px 12px;
    padding: 32px 18px 24px;
  }

  .prize-card-badge {
    font-size: 11px;
    padding: 6px 16px;
  }

  .steps-grid {
    flex-direction: column;
    gap: 36px;
  }

  .step-card {
    width: 100%;
  }

  .form-section {
    padding: 32px 0 48px;
  }

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

  .indicador-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-card {
    border-radius: 26px;
    padding: 28px 18px;
  }

  .faq-heading {
    font-size: 32px;
    max-width: 100%;
  }

  .faq-question {
    font-size: 16px;
    padding: 14px 0;
    gap: 10px;
  }

  .faq-toggle-icon {
    width: 32px;
    height: 32px;
  }
}

@media(min-width: 1024px) {
  .hero-visual {
    bottom: auto !important;
  }
}