/* ==========================================================================
   PÁGINA DE OBRIGADO - ESTILOS (style.css)
   Fidelidade visual total ao design de alta conversão
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

html, body {
  min-height: 100%;
  width: 100%;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Wrapper centralizado na tela inteira */
.page-wrapper {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  position: relative;
  overflow: hidden;
}

/* Brilho atmosférico sutil no fundo */
.ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(219, 234, 254, 0.45) 0%, rgba(220, 252, 231, 0.35) 45%, rgba(248, 250, 252, 0) 70%);
  border-radius: 9999px;
  filter: blur(50px);
  pointer-events-none;
  z-index: 0;
}

/* Cartão Principal */
.thank-you-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  background-color: #ffffff;
  border-radius: 32px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.08), 0 0 1px 1px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
  text-align: center;
  animation: cardFadeUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (min-width: 640px) {
  .thank-you-card {
    padding: 3.5rem 3rem;
  }
}

/* Ícone Checkmark Verde de Sucesso */
.success-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.success-icon-outer {
  width: 84px;
  height: 84px;
  border-radius: 9999px;
  background-color: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.success-icon-outer:hover {
  transform: scale(1.06);
}

.success-icon-outer:active {
  transform: scale(0.95);
}

.success-icon-inner {
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  background-color: #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15803d;
}

.success-icon-svg {
  width: 32px;
  height: 32px;
  stroke: #15803d;
  stroke-width: 3.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Título */
.thank-you-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.875rem;
  transition: opacity 0.2s ease;
}

@media (min-width: 640px) {
  .thank-you-title {
    font-size: 2.25rem;
  }
}

/* Subtítulo */
.thank-you-subtitle {
  font-size: 1rem;
  color: #475569;
  line-height: 1.625;
  max-width: 440px;
  margin: 0 auto;
  transition: opacity 0.2s ease;
}

@media (min-width: 640px) {
  .thank-you-subtitle {
    font-size: 1.125rem;
  }
}

/* Caixa de Notificação Azul de E-mail */
.email-alert-box {
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .email-alert-box {
    align-items: center;
    padding: 1.25rem 1.35rem;
  }
}

.email-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background-color: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.email-icon-svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.email-text-group {
  flex: 1;
  min-width: 0;
}

.email-alert-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e40af;
  letter-spacing: -0.015em;
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .email-alert-title {
    font-size: 1.125rem;
  }
}

.email-alert-desc {
  font-size: 0.875rem;
  color: #2563eb;
  line-height: 1.5;
}

/* Suporte para layout da direita para a esquerda (Árabe, etc.) */
[dir="rtl"] .thank-you-card {
  text-align: center;
}

[dir="rtl"] .email-alert-box {
  text-align: right;
  direction: rtl;
}

/* Animações de entrada suaves */
@keyframes cardFadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.6) rotate(-15deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
