/* =========================================================
   Atipiê — Landing "Em breve"
   Identidade visual conforme Manual da Marca (v1, jul/2026)
   ========================================================= */

:root {
  /* Paleta principal */
  --navy: #001A4B;      /* Azul-Marinho — texto, títulos, estrutura */
  --sun: #F8B500;       /* Amarelo Sol — CTA, energia */
  --turquoise: #00A0A0; /* Turquesa Vínculo — cuidado */
  --violet: #5A40A8;    /* Violeta Singular — a criança no centro */

  /* Neutros */
  --white: #FFFFFF;
  --sand: #F6F4EF;      /* Areia */
  --gray: #5B6472;      /* Cinza Texto */

  /* Derivados */
  --sun-soft: rgba(248, 181, 0, 0.14);
  --turquoise-soft: rgba(0, 160, 160, 0.14);
  --violet-soft: rgba(90, 64, 168, 0.14);

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px rgba(0, 26, 75, 0.07);
  --shadow-md: 0 22px 60px rgba(0, 26, 75, 0.12);
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Poppins", "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* contém elementos decorativos que sangram (aurora/blobs) */
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  /* Fundo quente e vivo — nada de branco vazio */
  background-color: #FBF9F4;
  background-image:
    radial-gradient(62% 48% at 50% -6%, rgba(0, 160, 160, 0.16), transparent 70%),
    radial-gradient(48% 42% at 100% 8%, rgba(248, 181, 0, 0.16), transparent 72%),
    radial-gradient(50% 46% at -4% 26%, rgba(90, 64, 168, 0.13), transparent 72%),
    linear-gradient(180deg, #FBF9F4 0%, #F4F0E8 100%);
  background-attachment: fixed;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
strong { color: var(--navy); font-weight: 600; }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Fundo decorativo — blobs orgânicos animados
   ========================================================= */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  will-change: transform;
}
.blob--turquoise {
  width: 460px; height: 460px;
  background: var(--turquoise-soft);
  top: -140px; left: -120px;
  animation: float-a 22s var(--ease) infinite;
}
.blob--yellow {
  width: 520px; height: 520px;
  background: var(--sun-soft);
  top: 42%; right: -180px;
  animation: float-b 26s var(--ease) infinite;
}
.blob--violet {
  width: 400px; height: 400px;
  background: var(--violet-soft);
  bottom: -160px; left: 28%;
  animation: float-c 28s var(--ease) infinite;
}

@keyframes float-a { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(60px,40px) scale(1.08)} }
@keyframes float-b { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-50px,30px) scale(1.1)} }
@keyframes float-c { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(40px,-50px) scale(1.06)} }

/* =========================================================
   Cabeçalho
   ========================================================= */
.site-header {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand__logo {
  height: 42px;
  width: auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag--soft {
  color: var(--turquoise);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 160, 160, 0.28);
  backdrop-filter: blur(6px);
}
.tag__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--turquoise);
  animation: pulse-t 2.2s ease-out infinite;
}
@keyframes pulse-t {
  0% { box-shadow: 0 0 0 0 rgba(0, 160, 160, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(0, 160, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 160, 160, 0); }
}

/* =========================================================
   Hero — logo em evidência
   ========================================================= */
.hero {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 24px 90px;
  text-align: center;
}

/* Aurora suave atrás do hero */
.hero__aurora {
  position: absolute;
  top: -40px; left: 50%;
  width: 760px; height: 620px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(0,160,160,0.18), transparent 70%) -120px 40px / 55% 55% no-repeat,
    radial-gradient(closest-side, rgba(248,181,0,0.20), transparent 70%) 160px 10px / 55% 55% no-repeat,
    radial-gradient(closest-side, rgba(90,64,168,0.16), transparent 70%) 20px 180px / 55% 55% no-repeat;
  filter: blur(24px);
  z-index: -1;
  pointer-events: none;
  animation: aurora 16s ease-in-out infinite;
}
@keyframes aurora {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.9; }
  50% { transform: translateX(-50%) scale(1.08); opacity: 1; }
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo (asset oficial) grande, com halo e leve flutuação */
.hero__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.hero__halo {
  position: absolute;
  width: 106%; height: 168%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,160,160,0.16) 0%, rgba(248,181,0,0.14) 42%, rgba(90,64,168,0.10) 60%, transparent 74%);
  filter: blur(26px);
  animation: heartglow 3.2s ease-in-out infinite; /* pulso "batimento" */
  z-index: 0;
}
@keyframes heartglow {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  20% { transform: scale(1.06); opacity: 1; }
  40% { transform: scale(1.01); opacity: 0.92; }
  60% { transform: scale(1.045); opacity: 1; }
}
.hero__logo-img {
  position: relative;
  z-index: 1;
  width: min(560px, 92vw);
  height: auto;
  animation: logo-in 1s var(--ease) both, float-logo 6s ease-in-out 1s infinite;
}
@keyframes logo-in {
  from { opacity: 0; transform: translateY(16px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes float-logo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 26, 75, 0.09);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.pill__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sun);
  animation: pulse-y 2.2s ease-out infinite;
}
@keyframes pulse-y {
  0% { box-shadow: 0 0 0 0 rgba(248, 181, 0, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(248, 181, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(248, 181, 0, 0); }
}

.hero__title {
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  font-weight: 700;
  margin-bottom: 18px;
  max-width: 15ch;
}
.grad-text {
  background: linear-gradient(100deg, var(--turquoise), var(--violet) 55%, var(--sun));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.hero__lead {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 52ch;
  margin-bottom: 24px;
}

/* Ações do hero */
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray);
}

/* Botões */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  border-radius: 999px;
  padding: 13px 26px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
  text-decoration: none;
  display: inline-block;
}
.btn--primary {
  background: var(--sun);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(248, 181, 0, 0.4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(248, 181, 0, 0.5);
  filter: saturate(1.05);
}
.btn--primary:active { transform: translateY(0); }
.btn--primary:disabled {
  opacity: 0.65;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.btn--lg { padding: 16px 36px; font-size: 1.08rem; }

/* =========================================================
   Seções genéricas
   ========================================================= */
.section { padding: 84px 24px; }

.section__head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
}
.section__head p { color: var(--gray); font-size: 1.08rem; margin: 0; }

/* Cards de categoria */
.cards {
  max-width: var(--maxw);
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  border: 1px solid rgba(0, 26, 75, 0.05);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Ícone monocromático (traço azul-marinho) sobre leve tom da categoria */
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  color: var(--navy);
  background: color-mix(in srgb, var(--accent) 13%, white);
  margin-bottom: 18px;
}
.card__icon svg { width: 27px; height: 27px; }

.card h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 0.98rem; margin: 0; }

/* Passos */
.steps {
  max-width: var(--maxw);
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step { text-align: center; padding: 12px; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--turquoise), var(--violet));
  margin-bottom: 18px;
  box-shadow: 0 12px 26px rgba(90, 64, 168, 0.3);
}
.step:nth-child(2) .step__num { background: linear-gradient(135deg, var(--violet), var(--sun)); }
.step:nth-child(3) .step__num { background: linear-gradient(135deg, var(--sun), var(--turquoise)); }
.step h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--gray); margin: 0; font-size: 0.98rem; }

/* Chamada final */
.cta__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(150deg, #002a6e 0%, var(--navy) 60%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cta__inner::before,
.cta__inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.45;
}
.cta__inner::before { width: 280px; height: 280px; background: var(--turquoise); top: -110px; left: -70px; }
.cta__inner::after { width: 260px; height: 260px; background: var(--sun); bottom: -120px; right: -60px; }

.cta__heart {
  position: relative;
  display: inline-block;
  width: 68px;
  margin-bottom: 16px;
}
.cta__heart img {
  width: 100%; height: auto;
  transform-origin: center 60%;
  animation: heartbeat 3.2s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.08); }
  30% { transform: scale(1); }
  45% { transform: scale(1.05); }
  60% { transform: scale(1); }
}
.cta__inner h2 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.2rem); position: relative; }
.cta__inner p { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; margin: 0; position: relative; }

/* Formulário de cadastro (sobre o card azul-marinho) */
.signup {
  position: relative;
  text-align: left;
  max-width: 520px;
  margin: 28px auto 0;
}
.hp { /* honeypot — escondido de humanos */
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.signup__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}
.signup input[type="text"],
.signup input[type="email"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border-radius: 12px;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.signup input::placeholder { color: rgba(255, 255, 255, 0.45); }
.signup input:focus {
  border-color: var(--sun);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(248, 181, 0, 0.25);
}
.signup input.is-invalid {
  border-color: #ff9d8a;
  box-shadow: 0 0 0 3px rgba(255, 90, 70, 0.22);
}

/* Grupo "Sou" — opções em pílulas */
.choice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.choice__legend {
  width: 100%;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2px;
}
.choice__opt { position: relative; cursor: pointer; }
.choice__opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.choice__opt span {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.choice__opt input:checked + span {
  background: var(--sun);
  color: var(--navy);
  border-color: var(--sun);
}
.choice__opt input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(248, 181, 0, 0.4);
}

.signup .btn--lg { width: 100%; }

.signup__msg {
  margin: 14px 0 0;
  font-size: 0.92rem;
  min-height: 1.2em;
  color: rgba(255, 255, 255, 0.85);
}
.signup__msg.is-success { color: #86efd4; font-weight: 500; }
.signup__msg.is-error { color: #ffb3a3; }

/* =========================================================
   Rodapé
   ========================================================= */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(0, 26, 75, 0.08);
}
.site-footer__logo {
  height: 52px;
  width: auto;
}
/* Slogan sempre nas cores fiéis da logo */
.slogan-colored {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}
.slg-1 { color: var(--turquoise); }
.slg-2 { color: var(--violet); }
.slg-3 { color: var(--navy); }
.slg-4 { color: var(--sun); }

.site-footer__meta { color: var(--gray); font-size: 0.88rem; margin: 0; }

/* =========================================================
   Animação de entrada (scroll reveal)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Escalonamento da hero e dos grupos */
.hero__inner .pill.reveal { transition-delay: 0.15s; }
.hero__inner .hero__title.reveal { transition-delay: 0.25s; }
.hero__inner .hero__lead.reveal { transition-delay: 0.35s; }
.hero__inner .hero__actions.reveal { transition-delay: 0.45s; }

.cards .card:nth-child(2) { transition-delay: 0.06s; }
.cards .card:nth-child(3) { transition-delay: 0.12s; }
.cards .card:nth-child(4) { transition-delay: 0.18s; }
.cards .card:nth-child(5) { transition-delay: 0.24s; }
.cards .card:nth-child(6) { transition-delay: 0.30s; }
.steps .step:nth-child(2) { transition-delay: 0.1s; }
.steps .step:nth-child(3) { transition-delay: 0.2s; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 56px 16px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .brand__logo { height: 36px; }
  .site-footer { flex-direction: column; text-align: center; }

  /* Cadastro: mais respiro e melhor aproveitamento da largura */
  .cta__inner { padding: 34px 20px; }
  .cta__heart { margin-bottom: 10px; }
  .signup { margin-top: 22px; }
  .signup__grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 18px; }

  /* "Sou" em 3 colunas iguais (segmented), sem quebra desigual */
  .choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
  .choice__legend { grid-column: 1 / -1; margin-bottom: 4px; }
  .choice__opt span {
    display: block;
    width: 100%;
    text-align: center;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 0.9rem;
  }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
