/* ── Reset & Tokens ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Paleta Filhos e Telas */
  --teal:        #1E3D3B;
  --teal-mid:    #2A524F;
  --teal-light:  #356563;
  --sage:        #9CB89A;
  --sage-light:  #C5D8C3;
  --sage-glow:   rgba(156, 184, 154, .15);
  --white:       #FFFFFF;
  --gray-dark:   #2C2C2C;
  --gray-soft:   #6B7B6A;

  /* Tipografia */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  /* Espacamento */
  --space-xs:  .5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Radii */
  --radius-sm: .5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: var(--space-lg) var(--space-md);
  background: var(--white);
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 600px at 15% 20%, rgba(156, 184, 154, .06), transparent),
    radial-gradient(ellipse 400px 500px at 85% 75%, rgba(156, 184, 154, .04), transparent),
    radial-gradient(ellipse 300px 300px at 50% 50%, rgba(197, 216, 195, .12), transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

/* ── Brand side ── */
.hero__brand {
  animation: fadeUp .8s ease-out both;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero__logo {
  display: block;
  width: clamp(180px, 50vw, 260px);
  height: auto;
  margin-bottom: var(--space-md);
  object-fit: contain;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: var(--teal);
  margin-bottom: var(--space-xs);
}

.hero__title em {
  font-style: italic;
  color: var(--sage);
}

.hero__subtitle {
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  color: var(--gray-soft);
  max-width: 420px;
  line-height: 1.6;
  margin-top: var(--space-sm);
}

/* ── Form side ── */
.hero__form-wrapper {
  animation: fadeUp .8s .15s ease-out both;
}

.hero__form-card {
  background: var(--teal);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 8px 32px rgba(30, 61, 59, .15);
}

.form__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--sage-light);
  margin-bottom: var(--space-md);
}

.form__field {
  margin-bottom: var(--space-sm);
}

.form__field label {
  display: block;
  font-size: .85rem;
  font-weight: 400;
  color: var(--sage-light);
  margin-bottom: var(--space-xs);
}

.form__field input {
  width: 100%;
  padding: .85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(156, 184, 154, .25);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .25s, background .25s;
}

.form__field input::placeholder {
  color: rgba(197, 216, 195, .5);
}

.form__field input:focus {
  border-color: var(--sage);
  background: rgba(255, 255, 255, .12);
}

.form__field input.error {
  border-color: #E57373;
}

/* intl-tel-input overrides */
.iti {
  width: 100%;
}

.iti__selected-dial-code {
  color: var(--sage-light);
  font-family: var(--font-body);
  font-size: .95rem;
}

.iti__arrow {
  border-top-color: var(--sage-light);
}

.iti__selected-country {
  background: transparent !important;
}

.iti__selected-country:hover {
  background: rgba(255, 255, 255, .06) !important;
}

.form__btn {
  width: 100%;
  margin-top: var(--space-sm);
  padding: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--teal);
  background: var(--sage);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .25s, transform .15s;
}

.form__btn:hover {
  background: var(--sage-light);
}

.form__btn:active {
  transform: scale(.98);
}

.form__btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.form__error {
  margin-top: var(--space-sm);
  font-size: .85rem;
  color: #E57373;
  text-align: center;
  line-height: 1.5;
}

.form__note {
  margin-top: var(--space-sm);
  font-size: .8rem;
  color: var(--gray-soft);
  text-align: center;
  line-height: 1.5;
}

/* ── STEPS section ── */
.steps {
  background: #F7FAF7;
  color: var(--gray-dark);
  padding: var(--space-2xl) var(--space-sm);
}

.steps__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--teal);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.steps__list {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.steps__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

.steps__item.visible {
  opacity: 1;
  transform: translateY(0);
}

.steps__item:nth-child(2) { transition-delay: .15s; }
.steps__item:nth-child(3) { transition-delay: .3s; }

.steps__number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--teal);
  background: var(--sage-glow);
  border: 2px solid var(--sage);
  border-radius: 50%;
}

.steps__text strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--teal);
  margin-bottom: .25rem;
}

.steps__text p {
  font-size: .95rem;
  color: var(--gray-soft);
  line-height: 1.55;
}

/* ── FOOTER ── */
.footer {
  background: var(--teal);
  padding: 3rem 1rem;
  text-align: center;
}

.footer__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .85rem;
  color: var(--sage-light);
  margin-bottom: .25rem;
}

.footer__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .75rem;
  color: var(--gray-soft);
}

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Desktop: Split Assimétrico ── */
@media (min-width: 768px) {
  .hero__content {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
  }

  .hero__logo {
    width: clamp(220px, 25vw, 300px);
  }

  .hero__form-card {
    padding: var(--space-xl) var(--space-lg);
  }

  .steps__list {
    max-width: 640px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: var(--space-xl);
  }

  .hero__content {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-2xl);
  }
}
