/*
Theme Name: Zen Terapy - Aura
Description: Tema para as landing pages da Aura (público autismo e público geral), replicando o design do protótipo Lovable/TanStack Start, com formulário de captura processado no servidor.
Author: Alpha
 Version: 3.1.3
Requires PHP: 7.4
Text Domain: zen-terapy-aura
*/

body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
}

/* Textura de pontinhos do hero, igual ao Figma (node 146:416). */
.zen-dot-pattern {
  background-image: radial-gradient(circle, #e2e8f0 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Hero de campanha: mesma energia visual dos criativos V5, com conteúdo em HTML. */
.zen-campaign-hero {
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.64), transparent 25%),
    linear-gradient(135deg, #ffca45 0%, #ffd767 42%, #fff0bb 100%);
}

.zen-campaign-title {
  font-size: clamp(2.4rem, 3.6vw, 4rem);
  line-height: 1.02;
  max-width: 16ch;
}

.zen-campaign-copy {
  min-width: 0;
}

.zen-campaign-shape {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.zen-campaign-shape-coral {
  width: 38rem;
  height: 9rem;
  right: -10rem;
  top: 4rem;
  background: #ff525c;
  transform: rotate(-12deg);
}

.zen-campaign-shape-teal {
  width: 30rem;
  height: 7rem;
  right: 6rem;
  bottom: 1rem;
  background: #08a7a3;
  transform: rotate(14deg);
}

.zen-campaign-btn-primary {
  background: linear-gradient(135deg, #087f7b, #04a9a5);
}

.zen-campaign-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(0.96);
}

.zen-campaign-photo-wrap {
  position: relative;
  min-height: 31rem;
  isolation: isolate;
}

.zen-campaign-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 2rem -1rem -1rem 3rem;
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 34% 16% 34% 18%;
  transform: rotate(3deg);
  z-index: -1;
}

.zen-campaign-photo {
  width: 100%;
  height: 31rem;
  object-fit: cover;
  object-position: center;
  border-radius: 34% 16% 34% 18%;
  box-shadow: 0 24px 70px rgba(16, 35, 63, 0.2);
}

.zen-campaign-photo-note {
  position: absolute;
  left: -1.25rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 17rem;
  padding: 0.9rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  color: #10233f;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(16, 35, 63, 0.18);
  backdrop-filter: blur(10px);
}

.zen-campaign-photo-note svg {
  color: #087f7b;
  flex: 0 0 auto;
}

.zen-pain-image {
  aspect-ratio: 25 / 16;
  background: #fff6dc;
}

@media (max-width: 1023px) {
  .zen-campaign-title {
    max-width: 17ch;
  }

  .zen-campaign-photo-wrap {
    min-height: 24rem;
  }

  .zen-campaign-photo {
    height: 24rem;
    border-radius: 2rem;
  }

  .zen-campaign-photo-wrap::before {
    border-radius: 2rem;
  }
}

@media (min-width: 1024px) and (max-width: 1365px) {
  .zen-campaign-title {
    font-size: clamp(2.75rem, 3.65vw, 3.35rem);
    max-width: 17ch;
  }

  .zen-campaign-photo-wrap {
    min-height: 27rem;
  }

  .zen-campaign-photo {
    height: 27rem;
  }
}

@media (max-width: 639px) {
  /* A faixa coral faz parte da composição desktop, mas atravessa a copy em telas estreitas. */
  .zen-campaign-shape-coral {
    display: none;
  }

  .zen-campaign-title {
    font-size: clamp(2.15rem, 9.4vw, 2.75rem);
    line-height: 1.03;
    max-width: 16ch;
  }

  .zen-campaign-photo-wrap {
    min-height: 19rem;
  }

  .zen-campaign-photo {
    height: 19rem;
    object-position: 62% center;
    border-radius: 1.6rem;
  }

  .zen-campaign-photo-wrap::before {
    inset: 1rem -0.4rem -0.5rem 1.25rem;
    border-width: 3px;
    border-radius: 1.6rem;
  }

  .zen-campaign-photo-note {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    max-width: none;
  }
}

.zen-aura-honeypot {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

details.zen-faq-item summary {
  list-style: none;
}
details.zen-faq-item summary::-webkit-details-marker {
  display: none;
}
details.zen-faq-item .zen-chevron {
  transition: transform 0.2s ease;
}
details.zen-faq-item[open] .zen-chevron {
  transform: rotate(180deg);
}

.zen-privacy-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: oklch(0.22 0.11 245);
  font-size: 1.45rem;
  font-weight: 800;
}

.zen-privacy-content p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.zen-privacy-content a:not(.rounded-full) {
  color: oklch(0.42 0.17 235);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
