:root {
    --color-blue: #57646D;
    --color-blue-dark: #3E4850;
  --color-orange: #DB9838;
    --color-orange-dark: #B9701F;
    --color-yellow: #FBEFD8;
    --color-gray: rgba(51, 41, 31, 0.60);
  --color-light: #FBF6EC;

  --color-rose: #C08A72;
    --color-cream: #F7F0E3;
  --color-cream-soft: #EFE3D0;
  --color-ink: #33291F;

    --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-md: rgba(255, 255, 255, 0.80);
  --glass-border: rgba(51, 41, 31, 0.09);
  --glass-border-warm: rgba(219, 152, 56, 0.35);
  --glow-orange: rgba(219, 152, 56, 0.28);
  --text-primary: #33291F;
  --text-muted: rgba(51, 41, 31, 0.60);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

::selection {
  background: var(--color-orange);
  color: #fff;
}

::-moz-selection {
  background: var(--color-orange);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-cream-soft);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-orange), var(--color-orange-dark));
  border-radius: 99px;
  border: 2px solid var(--color-cream-soft);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e8ab55, var(--color-orange));
}

::-webkit-scrollbar-corner {
  background: var(--color-cream-soft);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-orange) var(--color-cream-soft);
}

body {
  font-family: 'Instrument Sans', 'Segoe UI', sans-serif;
  background: var(--color-cream);
  color: var(--text-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4,
.section-title,
.hero-badge,
.btn-orange,
.btn-secondary,
.btn-submit,
.learn-number,
.step-pill,
.form-card .form-header h1 {
  font-family: 'Bricolage Grotesque', 'Instrument Sans', sans-serif;
}

.text-script {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--color-orange);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 8% 12%, rgba(192, 138, 114, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 94% 82%, rgba(87, 100, 109, 0.10) 0%, transparent 58%),
    radial-gradient(ellipse 90% 55% at 50% 105%, rgba(219, 152, 56, 0.10) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

section,
nav,
footer {
  position: relative;
  z-index: 1;
}

.text-muted {
  color: var(--color-gray) !important;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: linear-gradient(120deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  border-bottom: 1px solid rgba(51, 41, 31, 0.12);
  box-shadow: 0 4px 22px rgba(51, 41, 31, 0.18);
  animation: headerSlideDown .5s ease both;
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

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

.sticky-header img {
  height: 44px;
}

.hero-section {
  background:
    radial-gradient(ellipse 60% 55% at 12% 15%, rgba(192, 138, 114, 0.24) 0%, transparent 62%),
    radial-gradient(ellipse 55% 50% at 90% 20%, rgba(87, 100, 109, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(219, 152, 56, 0.16) 0%, transparent 65%),
    var(--color-cream);
  position: relative;
  min-height: 90vh;
  z-index: 10;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.ember {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatUp var(--dur, 7s) var(--delay, 0s) infinite ease-in;
  filter: blur(0.5px);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }

  8% {
    opacity: var(--op, 0.45);
  }

  85% {
    opacity: var(--op, 0.25);
  }

  100% {
    transform: translateY(-115vh) translateX(var(--drift, 40px)) scale(0.15);
    opacity: 0;
  }
}

.hero-cover {
  max-width: 380px;
  border-radius: 12px;
  box-shadow:
    0 26px 60px rgba(51, 41, 31, 0.22),
    0 0 50px rgba(219, 152, 56, 0.16);
  transition: transform .45s ease, box-shadow .45s ease;
  animation: coverFloat 6s ease-in-out infinite;
}

@keyframes coverFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.hero-cover:hover {
  transform: scale(1.02) rotate(-0.5deg) translateY(-4px);
  box-shadow:
    0 32px 65px rgba(51, 41, 31, 0.24),
    0 0 45px rgba(219, 152, 56, 0.20);
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-orange), #e8ab55);
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(219, 152, 56, 0.32);
  animation: badgePulse 5s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(219, 152, 56, 0.28);
  }

  50% {
    box-shadow: 0 4px 24px rgba(219, 152, 56, 0.44);
  }
}

.form-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 20px;
  border: 1px solid var(--glass-border-warm);
  box-shadow:
    0 28px 70px rgba(51, 41, 31, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  animation: cardReveal .75s ease both;
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.form-card .form-header {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  padding: 2rem;
  text-align: center;
  border-radius: 19px 19px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.form-card .form-header::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(circle at 50% 110%, rgba(255, 255, 255, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.form-card .form-body {
  padding: 2rem;
}

.form-card .form-control,
.form-card .form-select {
  border-radius: 10px;
  padding: .72rem 1rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px solid rgba(51, 41, 31, 0.14);
  color: var(--text-primary);
  font-size: .92rem;
  transition: all .25s ease;
}

.form-card .form-control::placeholder {
  color: rgba(51, 41, 31, 0.38);
}

.form-card .form-control:focus,
.form-card .form-select:focus {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--color-orange);
  box-shadow: 0 0 0 .2rem rgba(219, 152, 56, 0.22);
  color: var(--text-primary);
  outline: none;
}

.form-card label {
  font-weight: 600;
  font-size: .85rem;
  color: rgba(51, 41, 31, 0.82);
  margin-bottom: .4rem;
}

/* Selector de país del teléfono */
.phone-input-wrap {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px solid rgba(51, 41, 31, 0.14);
  border-radius: 10px;
  transition: all .25s ease;
  overflow: visible;
  position: relative;
}

.phone-input-wrap:focus-within {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--color-orange);
  box-shadow: 0 0 0 .2rem rgba(219, 152, 56, 0.22);
}

.phone-input-wrap:has(.phone-number-input:invalid:not(:placeholder-shown)) { border-color: #dc3545; }

.phone-country { flex-shrink: 0; }

.phone-country-btn {
  display: flex;
  align-items: center;
  gap: .3rem;
  height: 100%;
  padding: 0 .7rem;
  min-height: 2.9rem;
  border: none;
  border-right: 1.5px solid rgba(51, 41, 31, 0.14);
  border-radius: 8.5px 0 0 8.5px;
  background: transparent;
  cursor: pointer;
  transition: background .18s;
  white-space: nowrap;
}

.phone-country-btn:hover { background: rgba(51, 41, 31, 0.06); }

.phone-flag { width: 1.33em; height: 1em; font-size: 1.1rem; flex-shrink: 0; border-radius: 2px; }

.phone-ddi { font-size: .88rem; font-weight: 700; color: var(--text-primary); letter-spacing: .01em; }

.phone-caret { opacity: .5; color: var(--text-muted); transition: transform .2s ease; flex-shrink: 0; }

.phone-country-btn[aria-expanded="true"] .phone-caret { transform: rotate(180deg); }

.phone-fixed-prefix {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  min-height: 2.9rem;
  font-size: .92rem;
  font-weight: 700;
  color: var(--color-orange-dark);
  flex-shrink: 0;
  cursor: help;
  user-select: none;
}

.phone-fixed-prefix[hidden] { display: none; }

.phone-fixed-prefix:not([hidden]) + .phone-number-input { padding-left: .35rem; }

.phone-country-list {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 300px;
  max-width: calc(100vw - 2rem);
  max-height: 280px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(51, 41, 31, 0.14);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(51, 41, 31, 0.18);
  z-index: 200;
}

.phone-country-list.is-open { display: block; }

.pcl-search-item {
  position: sticky;
  top: 0;
  padding: .45rem .6rem;
  background: #fff;
  border-bottom: 1px solid rgba(51, 41, 31, 0.1);
  border-radius: 10px 10px 0 0;
  z-index: 1;
}

.phone-country-search {
  width: 100%;
  border: 1.5px solid rgba(51, 41, 31, 0.14);
  border-radius: .4rem;
  padding: .28rem .5rem;
  font: inherit;
  font-size: .83rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, .65);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.phone-country-search:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 .15rem rgba(219, 152, 56, 0.18);
}

.phone-country-list--empty::after {
  content: "Sin resultados";
  display: block;
  padding: .6rem .85rem;
  font-size: .83rem;
  color: var(--text-muted);
}

.phone-country-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .85rem;
  cursor: pointer;
  transition: background .14s;
}

.phone-country-list li:hover,
.phone-country-list li.is-active,
.phone-country-list li[aria-selected="true"] { background: var(--color-yellow); }

.pcl-flag { width: 1.33em; height: 1em; font-size: 1rem; flex-shrink: 0; border-radius: 2px; }
.pcl-name { flex: 1; font-size: .87rem; color: var(--text-primary); }
.pcl-ddi { font-size: .82rem; color: var(--text-muted); font-weight: 700; }

.phone-number-input {
  border: none !important;
  border-radius: 0 8.5px 8.5px 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
}

.phone-number-input:focus {
  box-shadow: none !important;
  border-color: transparent !important;
  background: transparent !important;
}

.btn-orange {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 14px 36px;
  font-size: 1.05rem;
  border-radius: 10px;
  transition: all .3s ease;
  text-transform: uppercase;
  letter-spacing: .5px;
  position: relative;
  overflow: hidden;
}

.btn-orange::before {
  content: '';
  position: absolute;
  top: 0;
  left: -110%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.30), transparent);
  transition: left .5s ease;
}

.btn-orange:hover::before {
  left: 150%;
}

.btn-orange:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--glow-orange), 0 0 0 1px var(--glass-border-warm);
}

.btn-secondary {
  background: rgba(51, 41, 31, 0.05) !important;
  border: 1px solid rgba(51, 41, 31, 0.16) !important;
  color: rgba(51, 41, 31, 0.78) !important;
  border-radius: 10px;
  transition: all .25s ease;
}

.btn-secondary:hover {
  background: rgba(51, 41, 31, 0.10) !important;
  color: var(--text-primary) !important;
}

.btn-submit {
  padding: 16px;
  border-radius: 12px;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.btn-submit:not(:disabled):hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--glow-orange);
}

.btn-submit:disabled {
  opacity: .42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.section-title {
  font-weight: 800;
  color: var(--text-primary);
}

.text-orange {
  color: var(--color-orange-dark) !important;
}

.text-blue {
  color: var(--color-blue) !important;
}

.text-yellow {
  color: var(--color-yellow) !important;
}

.bg-blue {
  background-color: var(--color-ink) !important;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-pill {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(51, 41, 31, 0.06);
  border: 2px solid rgba(51, 41, 31, 0.14);
  color: rgba(51, 41, 31, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  transition: all .35s ease;
}

.step-pill.active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(219, 152, 56, 0.32);
  transform: scale(1.08);
}

.step-pill.done {
  background: rgba(219, 152, 56, 0.18);
  border-color: var(--color-orange);
  color: var(--color-orange-dark);
}

.step-line {
  flex: 1;
  height: 2px;
  background: rgba(51, 41, 31, 0.12);
  transition: background .35s ease;
  max-width: 60px;
}

.step-line.done {
  background: var(--color-orange);
}

.description-section {
  background: var(--color-cream-soft);
  position: relative;
  overflow: hidden;
}

.learn-section {
  background: var(--color-cream);
  position: relative;
  overflow: hidden;
}

/* Bônus / Regalo section */
.bonus-section {
  background: linear-gradient(135deg, var(--color-cream-soft) 0%, var(--color-cream) 50%, #F3E2D8 100%);
  position: relative;
  overflow: hidden;
}

.bonus-section .container {
  position: relative;
  z-index: 1;
}

.bonus-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(219, 152, 56, 0.20) 0%, transparent 65%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: bonusGlowPulse 6s ease-in-out infinite;
}

@keyframes bonusGlowPulse {

  0%,
  100% {
    opacity: .55;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.bonus-badge {
  animation: badgePulse 5s ease-in-out infinite;
}

.bonus-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bonus-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(51, 41, 31, 0.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

.bonus-card:hover {
  transform: translateY(-5px) scale(1.015);
  background: var(--glass-bg-md);
  border-color: rgba(219, 152, 56, 0.28);
  box-shadow: 0 18px 40px rgba(51, 41, 31, 0.10), 0 0 20px rgba(219, 152, 56, 0.10);
}

.bonus-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  animation: bonusIconFloat 5s ease-in-out infinite;
}

.bonus-card:nth-child(even) .bonus-icon {
  animation-delay: -2.5s;
}

@keyframes bonusIconFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-5px) rotate(-4deg);
  }
}

.bonus-text h5 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: .3rem;
}

.bonus-text p {
  font-size: .85rem;
  color: var(--color-gray);
  margin-bottom: 0;
  line-height: 1.45;
}

.bonus-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.bonus-orb {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.45), transparent 60%),
    linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  z-index: 2;
  animation: bonusOrbFloat 6s ease-in-out infinite, bonusOrbPulse 3.5s ease-in-out infinite;
}

.bonus-orb::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px dashed rgba(219, 152, 56, 0.40);
  animation: bonusRingSpin 18s linear infinite;
}

.bonus-orb::after {
  content: '';
  position: absolute;
  inset: -38px;
  border-radius: 50%;
  border: 1px dashed rgba(87, 100, 109, 0.18);
  animation: bonusRingSpin 26s linear infinite reverse;
}

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

@keyframes bonusOrbFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes bonusOrbPulse {

  0%,
  100% {
    box-shadow:
      0 20px 50px rgba(219, 152, 56, 0.32),
      0 0 0 10px rgba(219, 152, 56, 0.10),
      0 0 0 22px rgba(219, 152, 56, 0.05);
  }

  50% {
    box-shadow:
      0 22px 60px rgba(219, 152, 56, 0.48),
      0 0 0 14px rgba(219, 152, 56, 0.16),
      0 0 0 30px rgba(219, 152, 56, 0.08);
  }
}

.bonus-cta {
  animation: bonusCtaPulse 3.4s ease-in-out infinite;
}

@keyframes bonusCtaPulse {

  0%,
  100% {
    box-shadow: 0 10px 24px rgba(219, 152, 56, 0.20);
  }

  50% {
    box-shadow: 0 14px 32px rgba(219, 152, 56, 0.40);
  }
}

@media (max-width: 991.98px) {
  .bonus-orb {
    width: 110px;
    height: 110px;
    font-size: 2.3rem;
  }

  .bonus-center {
    min-height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .bonus-glow,
  .bonus-icon,
  .bonus-orb,
  .bonus-orb::before,
  .bonus-orb::after,
  .bonus-cta,
  .bonus-badge {
    animation: none !important;
  }
}

.learn-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(51, 41, 31, 0.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
  position: relative;
  isolation: isolate;
}

.learn-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-orange), transparent);
  opacity: 0;
  transition: opacity .35s ease;
}

.learn-card:hover {
  transform: translateY(-5px);
  background: var(--glass-bg-md);
  border-color: rgba(219, 152, 56, 0.28);
  box-shadow: 0 18px 40px rgba(51, 41, 31, 0.10), 0 0 20px rgba(219, 152, 56, 0.10);
}

.learn-card:hover::before {
  opacity: 1;
}

.learn-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 16px rgba(219, 152, 56, 0.26);
}

.learn-card h5 {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.05rem;
}

.learn-card p {
  color: var(--color-gray);
  font-size: .92rem;
  margin-bottom: 0;
}

.testimonial-section {
  background: var(--color-cream-soft);
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(51, 41, 31, 0.06);
  position: relative;
  isolation: isolate;
  transition: transform .30s ease, box-shadow .30s ease, border-color .30s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--color-orange);
  opacity: .30;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: 'Instrument Serif', Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: rgba(219, 152, 56, 0.28);
  box-shadow: 0 16px 38px rgba(51, 41, 31, 0.10), 0 0 22px rgba(219, 152, 56, 0.10);
  transform: translateY(-4px);
}

.testimonial-card p {
  font-size: .95rem;
  color: var(--color-gray);
  flex: 1;
}

.testimonial-card .author {
  color: var(--color-orange-dark);
  font-weight: 600;
  font-size: .9rem;
}

.for-whom-section {
  background: linear-gradient(120deg, #F3E2D8 0%, var(--color-cream) 45%, #E9EEF0 100%);
  position: relative;
  overflow: hidden;
}

.for-whom-section .lens-flare {
  position: absolute;
  top: 10%;
  right: 14%;
  width: 4px;
  height: 280px;
  background: linear-gradient(180deg, transparent, rgba(219, 152, 56, 0.10), rgba(251, 239, 216, 0.35), rgba(219, 152, 56, 0.10), transparent);
  transform: rotate(-24deg);
  filter: blur(2px);
  pointer-events: none;
  animation: flareStreak 10s ease-in-out infinite;
}

@keyframes flareStreak {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }
}

.notification-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.notif-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(51, 41, 31, 0.08);
  border-radius: 18px;
  box-shadow:
    0 4px 24px rgba(51, 41, 31, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  opacity: 0;
}

.notif-card.notif-entering {
  animation: notifSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes notifSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.notif-icon-wrap {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.notif-content {
  flex: 1;
}

.notif-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.98rem;
  line-height: 1.4;
}

.notif-text {
  color: var(--color-gray);
  font-size: 0.8rem;
  line-height: 1.45;
}

.notif-check {
  color: var(--color-orange);
  font-size: 1rem;
  margin-top: 2px;
  opacity: 0.9;
}

.author-free-bg {
  background: var(--color-cream);
  overflow: hidden;
  position: relative;
}

.author-section {
  background: transparent;
  position: relative;
}

.author-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(219, 152, 56, 0.55);
  box-shadow:
    0 0 0 6px rgba(219, 152, 56, 0.10),
    0 16px 40px rgba(51, 41, 31, 0.14);
  transition: all .4s ease;
}

.author-photo:hover {
  box-shadow:
    0 0 0 8px rgba(219, 152, 56, 0.16),
    0 20px 48px rgba(51, 41, 31, 0.18);
  transform: scale(1.02);
}

.free-section {
  background: var(--color-cream-soft);
  position: relative;
}

.free-magazine-mockup {
  border-radius: 12px 12px 0 0;
  border: none;
  position: relative;
  z-index: 1;
  max-height: 40vh;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom,
      black 0%,
      black 35%,
      rgba(0, 0, 0, 0.7) 55%,
      rgba(0, 0, 0, 0.2) 75%,
      transparent 100%);
  mask-image: linear-gradient(to bottom,
      black 0%,
      black 35%,
      rgba(0, 0, 0, 0.7) 55%,
      rgba(0, 0, 0, 0.2) 75%,
      transparent 100%);
}

.free-magazine-img {
  width: 100%;
  display: block;
}

.cta-section {
  background: transparent;
  position: relative;
}

.cta-section .container,
.for-whom-section .container,
.description-section .container,
.learn-section .container,
.testimonial-section .container,
.author-section .container,
.free-section .container {
  position: relative;
  z-index: 1;
}

.footer {
  background: var(--color-cream-soft);
  border-top: 1px solid rgba(51, 41, 31, 0.08);
}

.footer-text {
  color: rgba(51, 41, 31, 0.68);
}

.footer-link {
  color: rgba(51, 41, 31, 0.55);
  transition: color .2s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--color-orange-dark);
}

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.custom-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  color: rgba(51, 41, 31, 0.75);
}

.custom-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-orange);
}

.selectric-wrapper {
  position: relative;
  cursor: pointer;
  width: 100%;
}

.selectric-wrapper.form-select {
  appearance: none !important;
  background-image: none !important;
  padding: 0 !important;
  border: none !important;
  height: auto !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.selectric-hide-select {
  position: absolute !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  width: 1px !important;
  height: 1px !important;
  z-index: -100 !important;
}

.selectric-hide-select select {
  opacity: 0 !important;
  display: none !important;
  position: absolute !important;
}

.selectric-input {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: none !important;
  outline: none !important;
  background: none !important;
  z-index: -100 !important;
}

.selectric {
  border-radius: 10px !important;
  border: 1.5px solid rgba(51, 41, 31, 0.14) !important;
  background: rgba(255, 255, 255, 0.65) !important;
  background-image: none !important;
  position: relative;
  transition: all .25s ease;
}

.selectric .label {
  padding: .72rem 1rem !important;
  font-size: .92rem !important;
  color: var(--text-primary) !important;
  height: auto !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  display: block;
  text-align: left;
}

.selectric-placeholder .selectric .label {
  color: rgba(51, 41, 31, 0.38) !important;
}

.selectric .button {
  height: 100% !important;
  width: 40px !important;
  background: transparent !important;
  color: transparent !important;
  font-size: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
}

.selectric .button::after {
  content: none !important;
}

.selectric .button::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(51, 41, 31, 0.45);
}

.selectric-focus .selectric,
.selectric-open .selectric {
  border-color: var(--color-orange) !important;
  box-shadow: 0 0 0 .2rem rgba(219, 152, 56, 0.22) !important;
  background: rgba(255, 255, 255, 0.85) !important;
}

.selectric-open .selectric .button::before {
  border-top: none;
  border-bottom: 5px solid rgba(51, 41, 31, 0.45);
}

.selectric-items {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border-radius: 10px !important;
  border: 1.5px solid rgba(219, 152, 56, 0.25) !important;
  box-shadow: 0 18px 40px rgba(51, 41, 31, 0.16) !important;
  background: rgba(255, 252, 246, 0.97) !important;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  margin-top: 4px !important;
  overflow: hidden;
  z-index: 999999 !important;
  isolation: auto;
}

.selectric-open .selectric-items {
  display: block !important;
}

.selectric-items .selectric-scroll {
  max-height: 250px;
  overflow-y: auto;
}

.selectric-items ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.selectric-items li {
  padding: .72rem 1rem !important;
  font-size: .92rem !important;
  color: rgba(51, 41, 31, 0.80) !important;
  border-bottom: 1px solid rgba(51, 41, 31, 0.06) !important;
  transition: background .2s ease, color .2s ease;
  text-align: left;
  cursor: pointer;
  display: block;
}

.selectric-items li:last-child {
  border-bottom: none !important;
}

.selectric-items li:hover,
.selectric-items li.highlighted {
  background: rgba(219, 152, 56, 0.14) !important;
  color: var(--color-orange-dark) !important;
}

.selectric-items li.selected {
  background: rgba(219, 152, 56, 0.24) !important;
  color: var(--color-orange-dark) !important;
}

.selectric-search-wrap {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(51, 41, 31, 0.08);
  position: sticky;
  top: 0;
  background: rgba(255, 252, 246, 0.98);
  z-index: 1;
}

.selectric-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(51, 41, 31, 0.14);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: .85rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color .2s ease;
}

.selectric-search-input::placeholder {
  color: rgba(51, 41, 31, 0.38);
}

.selectric-search-input:focus {
  border-color: var(--color-orange);
}

.learn-card::after,
.testimonial-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(280px circle at var(--glow-x, -500px) var(--glow-y, -500px),
      rgba(219, 152, 56, 1.00) 0%,
      rgba(192, 138, 114, 0.55) 32%,
      rgba(87, 100, 109, 0.22) 58%,
      transparent 72%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: var(--glow-opacity, 0);
  transition: opacity 0.55s ease;
  z-index: 0;
}

.modal-content {
  background: rgba(255, 252, 246, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(51, 41, 31, 0.10);
  color: var(--text-primary);
}

.modal-header {
  border-bottom: 1px solid rgba(51, 41, 31, 0.08);
}

.modal-body p {
  color: var(--color-gray);
}

.modal-body h6 {
  color: var(--color-orange-dark);
}

.terms-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 15px;
  margin-top: 0;
  background: rgba(51, 41, 31, 0.04);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.85em;
  transition: max-height 0.4s ease, opacity 0.35s ease, padding 0.4s ease, margin-top 0.35s ease, border-color 0.35s ease;
}

.terms-content.terms-open {
  max-height: 180px;
  overflow-y: auto;
  opacity: 1;
  padding: 15px;
  margin-top: 10px;
  border-color: var(--glass-border);
}

.terms-content h6 {
  color: var(--text-primary) !important;
}

.description-img {
  max-width: 500px;
}

#etapa-2 #street,
#etapa-2 #street-label {
  display: block !important;
}

#carregandoCEP {
  font-size: .8rem;
  color: var(--color-gray) !important;
}

.description-section,
.learn-section,
.testimonial-section,
.for-whom-section,
.author-section,
.free-section,
.cta-section {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

footer.footer {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

@media (max-width: 991.98px) {
  .hero-cover {
    max-width: 280px;
  }

  .hero-section {
    min-height: auto;
  }

  .description-section,
  .learn-section,
  .testimonial-section,
  .for-whom-section,
  .author-section,
  .free-section,
  .cta-section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
}

@media (max-width: 767.98px) {

    .description-section,
  .learn-section,
  .testimonial-section,
  .for-whom-section,
  .author-section,
  .free-section,
  .cta-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  footer.footer {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

    .hero-section {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .hero-section .row {
    --bs-gutter-y: 1.75rem;
  }

  .hero-cover {
    max-width: 200px;
  }

    .form-card .form-header {
    padding: 1.5rem 1.25rem;
  }

  .form-card .form-body {
    padding: 1.5rem 1.25rem;
  }

    .section-title {
    font-size: 1.6rem;
  }

  .for-whom-section h2,
  .testimonial-section h2 {
    font-size: 1.6rem;
  }

    .learn-card,
  .testimonial-card {
    padding: 1.5rem;
  }

    .description-img {
    max-width: 100%;
  }

    .author-photo {
    width: 150px;
    height: 150px;
  }

    .free-magazine-mockup {
    max-height: 55vh;
  }

    .selectric-items li {
    padding: .9rem 1rem !important;
  }

  .selectric-items .selectric-scroll {
    max-height: 200px;
  }

    .notif-card {
    padding: 12px 14px;
    gap: 10px;
  }
}

@media (max-width: 575.98px) {
  .hero-cover {
    max-width: 180px;
  }

  .btn-orange {
    padding: 12px 28px;
    font-size: .95rem;
  }

  .form-card .form-header,
  .form-card .form-body {
    padding: 1.25rem 1rem;
  }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.logo-sm {
  max-height: 2rem;
}

.px-1 {
  padding-right: 0.625rem !important;
  padding-left: 0.625rem !important;
}

.pointer {
  cursor: pointer;
}

.btn-terms-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline;
  font: inherit;
  color: var(--color-orange-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-terms-toggle:focus-visible,
[role="button"].btn-terms-toggle:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
  border-radius: 2px;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 center;
  transform: scaleX(0);
  z-index: 2000;
  pointer-events: none;
    background: linear-gradient(90deg,
      var(--color-rose) 0%,
      var(--color-orange) 40%,
      var(--color-orange-dark) 72%,
      var(--color-yellow) 100%);
  box-shadow:
    0 0 10px rgba(219, 152, 56, 0.45),
    0 0 20px rgba(219, 152, 56, 0.16);
  opacity: 0;
}

@supports (animation-timeline: scroll()) {

    .scroll-progress {
    animation: sd-progress-fill linear both;
    animation-timeline: scroll(root);
  }

  @keyframes sd-progress-fill {
    from {
      transform: scaleX(0);
      opacity: 0;
    }

    1% {
      opacity: 1;
    }

    to {
      transform: scaleX(1);
      opacity: 1;
    }
  }

      .hero-cover {
    animation-name: coverFloat, sd-cover-lift;
    animation-duration: 6s, auto;
    animation-timing-function: ease-in-out, linear;
    animation-iteration-count: infinite, 1;
    animation-fill-mode: none, both;
    animation-timeline: auto, scroll(root);
    animation-range: auto, 0% 55%;
  }

  @keyframes sd-cover-lift {
    from {
      translate: 0 0;
      rotate: 0deg;
    }

    to {
      translate: 0 -22px;
      rotate: 1.2deg;
    }
  }

      .learn-card,
  .testimonial-card {
    animation: sd-card-enter linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 52%;
  }

  @keyframes sd-card-enter {
    from {
      translate: 0 18px;
    }

    to {
      translate: 0 0;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .scroll-progress {
      display: none;
    }

    .hero-cover {
      animation: none;
    }

    .learn-card,
    .testimonial-card {
      animation: none;
    }
  }
}

.revista-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.revista-option {
  flex: 1;
  min-width: 180px;
  cursor: pointer;
  display: flex;
}

.revista-card {
  flex: 1;
}

.revista-option input[type="radio"] {
  display: none;
}

.revista-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid rgba(51, 41, 31, 0.14);
  background: rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s, background 0.2s;
}

.revista-card svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.7;
  color: var(--color-blue);
  transition: opacity 0.2s, color 0.2s;
}

.revista-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.revista-titulo {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(51, 41, 31, 0.85);
  transition: color 0.2s;
}

.revista-texto {
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--color-gray);
  transition: color 0.2s;
}

.revista-option input[type="radio"]:checked+.revista-card {
  border-color: var(--color-orange);
  background: rgba(219, 152, 56, 0.12);
}

.revista-option input[type="radio"]:checked+.revista-card svg {
  opacity: 1;
  color: var(--color-orange-dark);
}

.revista-option input[type="radio"]:checked+.revista-card .revista-titulo {
  color: var(--color-orange-dark);
}

.revista-option input[type="radio"]:checked+.revista-card .revista-texto {
  color: rgba(51, 41, 31, 0.70);
}

.revista-option:hover .revista-card {
  border-color: rgba(219, 152, 56, 0.45);
  background: rgba(255, 255, 255, 0.75);
}
