/* ============================================
   Landing — Seu filho tem Autismo ou TDAH?
   ============================================ */

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

:root {
  --navy: #0c2b5e;
  --navy-escuro: #081f46;
  --azul: #1e63d0;
  --azul-claro: #2a6ee0;
  --rosa: #e5195f;
  --amarelo: #ffc10a;
  --verde: #00a86b;
  --verde-zap: #25d366;
  --verde-zap-escuro: #128c42;
  --fundo: #f2f3f7;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at 50% 0%, #ffffff 0%, var(--fundo) 70%);
  color: var(--navy);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}

/* ---------- Peças decorativas ---------- */

.deco {
  position: absolute;
  z-index: 0;
  filter: drop-shadow(4px 6px 6px rgba(12, 43, 94, 0.25));
  pointer-events: none;
}

.deco-1 {
  top: -30px;
  left: -35px;
  width: 130px;
  height: 130px;
  fill: var(--azul);
  transform: rotate(-20deg);
}
.deco-2 {
  top: 16%;
  right: -45px;
  width: 120px;
  height: 120px;
  fill: var(--amarelo);
  transform: rotate(25deg);
}
.deco-3 {
  top: 45%;
  left: -55px;
  width: 110px;
  height: 110px;
  fill: var(--verde);
  transform: rotate(40deg);
}
.deco-4 {
  bottom: 12%;
  left: -30px;
  width: 100px;
  height: 100px;
  fill: var(--azul);
  transform: rotate(-15deg);
}
.deco-5 {
  bottom: 8%;
  right: -40px;
  width: 125px;
  height: 125px;
  fill: var(--amarelo);
  transform: rotate(15deg);
}

/* Peça verde no topo direito: só no mobile/tablet */
.deco-11 {
  top: -24px;
  right: -30px;
  width: 92px;
  height: 92px;
  fill: var(--verde);
  transform: rotate(-14deg);
}

@media (min-width: 900px) {
  .deco-11 {
    display: none;
  }
}

/* Peças extras: só em telas grandes */
.deco-6,
.deco-7,
.deco-8,
.deco-9,
.deco-10 {
  display: none;
}

@media (min-width: 900px) {
  .deco-6 {
    display: block;
    top: 9%;
    left: 13%;
    width: 90px;
    height: 90px;
    fill: var(--verde);
    transform: rotate(18deg);
  }
  .deco-7 {
    display: block;
    top: 38%;
    right: 11%;
    width: 100px;
    height: 100px;
    fill: var(--verde);
    transform: rotate(-22deg);
  }
  .deco-8 {
    display: block;
    top: 66%;
    right: 19%;
    width: 70px;
    height: 70px;
    fill: var(--azul);
    transform: rotate(32deg);
  }
  .deco-9 {
    display: block;
    top: 27%;
    left: 6%;
    width: 78px;
    height: 78px;
    fill: var(--amarelo);
    transform: rotate(-30deg);
  }
  .deco-10 {
    display: block;
    bottom: 20%;
    left: 16%;
    width: 82px;
    height: 82px;
    fill: var(--verde);
    transform: rotate(42deg);
  }
}

/* ---------- Estrutura ---------- */

.flyer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  padding: 20px 16px 24px;
  padding: clamp(10px, 2.5svh, 40px) clamp(16px, 5vw, 32px)
    clamp(12px, 3svh, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
}

/* ---------- Título ---------- */

.pre {
  display: block;
  font-size: 1.4rem;
  font-size: clamp(1rem, min(6vw, 3.2svh), 2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.titulo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  gap: clamp(6px, 2vw, 14px);
  margin-top: 2px;
}

.autismo {
  font-size: 3rem;
  font-size: clamp(2rem, min(13vw, 7.5svh), 4.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--azul);
  text-shadow:
    2px 2px 0 rgba(12, 43, 94, 0.18),
    4px 5px 10px rgba(12, 43, 94, 0.18);
}

.coracao {
  width: 64px;
  width: clamp(44px, min(14vw, 8svh), 86px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(2px 4px 5px rgba(12, 43, 94, 0.3));
  transform: rotate(6deg);
}

.tdah {
  display: block;
  font-size: 2.6rem;
  font-size: clamp(1.8rem, min(12vw, 6.8svh), 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-top: 2px;
}

.tdah .ou {
  color: var(--navy);
}

.tdah .destaque {
  color: var(--rosa);
  text-shadow:
    2px 2px 0 rgba(12, 43, 94, 0.15),
    4px 5px 10px rgba(229, 25, 95, 0.25);
}

/* ---------- Alerta: 1 salário mínimo ---------- */

.alerta {
  margin-top: 24px;
  margin-top: clamp(12px, 3svh, 40px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alerta-icone {
  flex-shrink: 0;
  width: 64px;
  width: clamp(50px, min(15vw, 9svh), 88px);
  margin-right: -28px;
  margin-right: clamp(-32px, -7vw, -24px);
  margin-top: 10px;
  transform: rotate(-8deg);
  position: relative;
  z-index: 2;
}

.alerta-icone svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(2px 4px 5px rgba(12, 43, 94, 0.35));
}

.alerta-pills {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.pill-topo {
  background: #101010;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  font-size: clamp(0.66rem, min(3.2vw, 1.9svh), 1.05rem);
  letter-spacing: 0.08em;
  padding: 0.5em 1.6em;
  border-radius: 999px;
  position: relative;
  z-index: 1;
  margin-bottom: -0.7em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.pill-principal {
  background: linear-gradient(
    180deg,
    #123a7c 0%,
    var(--navy) 55%,
    var(--navy-escuro) 100%
  );
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
  font-size: clamp(0.85rem, min(4.2vw, 2.5svh), 1.4rem);
  letter-spacing: 0.02em;
  padding: 0.85em 18px 0.7em 44px;
  padding: 0.85em clamp(14px, 3.5vw, 22px) 0.7em clamp(38px, 9vw, 52px);
  border-radius: 18px;
  width: 100%;
  box-shadow: 0 10px 24px rgba(12, 43, 94, 0.35);
  white-space: nowrap;
}

/* ---------- Frase do benefício ---------- */

.beneficio {
  margin-top: 18px;
  margin-top: clamp(10px, 2.2svh, 30px);
  font-size: 1.1rem;
  font-size: clamp(0.9rem, min(4.4vw, 2.4svh), 1.35rem);
  font-weight: 600;
  color: #33383f;
  line-height: 1.45;
}

.beneficio strong {
  font-weight: 800;
  color: var(--navy);
}

/* ---------- Botão WhatsApp ---------- */

.cta-area {
  position: relative;
  margin-top: 20px;
  margin-top: 20px;
  margin-top: clamp(12px, 2.8svh, 36px);
  width: 100%;
  display: flex;
  justify-content: center;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  gap: clamp(6px, 1.2svh, 10px);
  text-decoration: none;
  background: linear-gradient(
    180deg,
    #2fe673 0%,
    var(--verde-zap) 45%,
    var(--verde-zap-escuro) 100%
  );
  border-radius: 24px;
  padding: 16px 24px 12px;
  padding: clamp(10px, 2svh, 24px) clamp(18px, 5vw, 34px)
    clamp(8px, 1.8svh, 20px);
  width: min(100%, 430px);
  box-shadow:
    0 12px 26px rgba(18, 140, 66, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  animation: pulsar 2.2s ease-in-out infinite;
}

.cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 18px 34px rgba(18, 140, 66, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.cta:active {
  transform: translateY(0) scale(0.99);
}

.cta:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}

.cta-topo {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 16px);
}

.wa-badge {
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  width: 48px;
  width: clamp(38px, min(12vw, 6.5svh), 62px);
  height: 48px;
  height: clamp(38px, min(12vw, 6.5svh), 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-badge svg {
  width: 62%;
  height: 62%;
}

.cta-texto {
  color: #ffffff;
  font-weight: 900;
  font-size: 1.05rem;
  font-size: clamp(0.85rem, min(4.6vw, 2.3svh), 1.3rem);
  line-height: 1.2;
  text-align: left;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-sub {
  background: var(--navy-escuro);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  font-size: clamp(0.6rem, min(2.9vw, 1.6svh), 0.9rem);
  letter-spacing: 0.05em;
  padding: 0.55em 1.4em;
  border-radius: 999px;
  white-space: nowrap;
}

.cta-sub b {
  color: var(--verde-zap);
  font-weight: 900;
}

.seta {
  position: absolute;
  right: 0;
  right: clamp(-6px, 0vw, 6px);
  bottom: -14px;
  width: 48px;
  width: clamp(40px, 10vw, 56px);
  height: auto;
  transform: rotate(10deg);
}

@keyframes pulsar {
  0%,
  100% {
    box-shadow:
      0 12px 26px rgba(18, 140, 66, 0.4),
      0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow:
      0 12px 26px rgba(18, 140, 66, 0.4),
      0 0 0 16px rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    animation: none;
  }
}

/* ---------- Rodapé ---------- */

.rodape {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(180deg, #0e3168 0%, var(--navy-escuro) 100%);
  padding: 14px 16px;
  padding: 14px 16px;
  padding: clamp(8px, 1.8svh, 22px) 16px;
  display: flex;
  justify-content: center;
}

.marca {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
}

.logo-rodape {
  display: block;
  width: 220px;
  width: clamp(150px, min(64vw, 24svh), 250px);
  height: auto;
}

/* ---------- Telas pequenas: peças menores ---------- */

@media (max-width: 480px) {
  .deco-1 {
    width: 90px;
    height: 90px;
    top: -25px;
    left: -30px;
  }
  .deco-2 {
    width: 82px;
    height: 82px;
    right: -34px;
  }
  .deco-3 {
    width: 72px;
    height: 72px;
    left: -42px;
  }
  .deco-4 {
    width: 68px;
    height: 68px;
    left: -28px;
  }
  .deco-5 {
    width: 88px;
    height: 88px;
    right: -34px;
  }
}

/* ---------- Telas maiores ---------- */

@media (min-width: 768px) {
  .deco-1 {
    width: 190px;
    height: 190px;
    top: -45px;
    left: -45px;
  }
  .deco-2 {
    width: 170px;
    height: 170px;
  }
  .deco-5 {
    width: 180px;
    height: 180px;
  }
}

/* ---------- Botão do WhatsApp em telas estreitas ---------- */

@media (max-width: 400px) {
  .cta {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cta-topo {
    gap: 8px;
  }

  .wa-badge {
    width: 38px;
    height: 38px;
  }

  .cta-texto {
    font-size: 0.9rem;
    font-size: clamp(0.8rem, 4.3vw, 1rem);
  }
}

/* ---------- Telas bem pequenas ---------- */

@media (max-width: 340px) {
  .alerta-icone {
    display: none;
  }

  .pill-principal {
    padding-left: 16px;
    padding-left: clamp(14px, 3.5vw, 22px);
    white-space: normal;
  }

  .cta-sub {
    white-space: normal;
  }
}
