/* Elefante — efeitos bespoke (nao expressaveis em Tailwind utility) */

:root {
  --primary: #e8308c;
  --primary-text: hsl(330 75% 40%);
  --primary-tint: hsl(330 80% 96%);
  --primary-soft: hsl(330 85% 90%);
  --ink: #37474f;
  --line: hsl(200 20% 90%);
  --cream: hsl(38 64% 96%);
  --soft: hsl(200 35% 97%);
  --sun: hsl(43 95% 64%);
  --hl: hsl(330 90% 86%);
  --shadow-card: 0 2px 10px rgba(55, 71, 79, 0.08);
  --hand: "Caveat", cursive;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Hanken Grotesque", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  overflow-x: hidden;
}

.font-hand {
  font-family: var(--hand);
}

.font-serif {
  font-family: var(--serif);
}

/* ===== Bands ===== */
.band-hero {
  background:
    radial-gradient(circle at 88% 0%, hsl(330 80% 97%) 0, transparent 42%),
    #fff;
}

.band-cream {
  background: var(--cream);
}

.band-tint {
  background: var(--primary-tint);
}

.band-ink {
  --band-bg: var(--ink);
  background: var(--ink);
  color: #fff;
}

.band-pink {
  --band-bg: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* curved divider bulging into the previous section */
.curve-top::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: -42px;
  height: 86px;
  background: var(--band-bg);
  border-radius: 50%;
  z-index: 0;
}

/* ===== Highlighter ===== */
.hl {
  position: relative;
  white-space: nowrap;
}

.hl::before {
  content: "";
  position: absolute;
  left: -0.12em;
  right: -0.12em;
  bottom: 0.05em;
  height: 0.4em;
  z-index: -1;
  background: var(--hl);
  border-radius: 0.3em;
  transform: rotate(-1.6deg);
}

.hl-light {
  background: linear-gradient(transparent 62%, rgba(255, 255, 255, 0.28) 62%);
}

/* ===== Organic blobs ===== */
.blob {
  position: absolute;
  z-index: 0;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  pointer-events: none;
}

.blob-pink-xl {
  top: -120px;
  right: -110px;
  width: 460px;
  height: 460px;
  background: var(--primary-tint);
}

.blob-tint-lg {
  bottom: -160px;
  left: -140px;
  width: 380px;
  height: 380px;
  background: hsl(330 80% 94%);
}

.blob-tint-md {
  top: -90px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: hsl(330 80% 93%);
  opacity: 0.7;
}

.blob-white-lg {
  bottom: -150px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, 0.6);
}

.blob-deep {
  top: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.08);
}

/* ===== Animations ===== */
@keyframes wiggle {
  0%, 92%, 100% { transform: rotate(0deg); }
  95% { transform: rotate(7deg); }
  98% { transform: rotate(-5deg); }
}

.ic-host:hover .ic {
  animation: wiggle 0.6s ease;
}

/* ===== Doodle ===== */
.doodle {
  position: absolute;
  left: 100%;
  top: 50%;
  margin-left: 14px;
  color: var(--primary);
  font-family: var(--hand);
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
  transform: translateY(-50%) rotate(-7deg);
}

.doodle::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 60%;
  width: 14px;
  height: 16px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  border-radius: 0 0 0 8px;
}

/* ===== Heritage badge star ===== */
.heritage-badge::before {
  content: "★";
  color: var(--sun);
  font-size: 13px;
}

/* ===== Mascot speech bubble ===== */
.bubble {
  position: relative;
  padding: 8px 16px 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 20px;
  font-weight: 700;
}

.bubble::before {
  content: "";
  position: absolute;
  left: -7px;
  bottom: 13px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.mascot-say--hero {
  position: absolute;
  right: -10px;
  bottom: -42px;
  z-index: 2;
}

/* ===== FAQ marker ===== */
.faq-item summary {
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  float: right;
  margin-left: 16px;
  color: var(--primary);
  font-weight: 800;
  content: "+";
}

.faq-item[open] summary::after {
  content: "–";
}

/* ===== Steps dashed connector ===== */
.steps::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 16%;
  right: 16%;
  border-top: 3px dashed var(--primary-soft);
  z-index: 0;
}

/* ===== Bullet lists ===== */
.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
}

.bullet-list--lg li {
  padding-left: 20px;
}

.bullet-list--lg li::before {
  width: 8px;
  height: 8px;
}

/* ===== Quote mark ===== */
.quote-mark::before {
  content: "“";
  position: absolute;
  top: -18px;
  left: 24px;
  color: var(--primary-soft);
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 1;
}

/* ===== Decorative arrow ===== */
.ba-arrow path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Footer social icons ===== */
.footer-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ===== Reveal animation ===== */
.reveal,
.reveal-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-in,
.reveal-group > *.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
  }
  * {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== Mobile tweaks for bespoke pieces ===== */
@media (max-width: 980px) {
  .mascot-say--hero {
    right: 0;
    bottom: -36px;
  }
}

@media (max-width: 680px) {
  .doodle {
    position: static;
    display: block;
    margin: 12px 0 0;
    transform: rotate(-5deg);
  }
  .doodle::before {
    display: none;
  }
  .steps::before {
    display: none;
  }
}

/* ===== Blog / Post / Teste ===== */
.nav-active {
  color: var(--primary-text);
}

/* read-link arrow */
.read-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.read-link:hover::after {
  transform: translateX(4px);
}

/* input focus */
.input:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
}

/* quiz options */
.quiz-option:hover {
  border-color: var(--primary-soft);
}

.quiz-option:has(input:checked) {
  background: var(--primary-tint);
  border-color: var(--primary);
}

.quiz-option input {
  flex: none;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.is-hidden {
  display: none;
}

/* artigo — markdown estilizado por .article-body */
.article-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.article-body > p {
  margin: 0 0 22px;
}

.article-body h2 {
  margin: 40px 0 14px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}

.article-body ul {
  margin: 0 0 22px;
  padding-left: 0;
  list-style: none;
}

.article-body li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 22px;
}

.article-body li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  content: "";
}

.article-body blockquote {
  margin: 28px 0;
  padding: 6px 0 6px 24px;
  border-left: 4px solid var(--primary);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 680px) {
  .article-body {
    font-size: 17px;
  }
}
