:root {
  /* papel & superfícies */
  --paper: #fdf8ef;
  --paper-deep: #f6eedd;
  --surface: #fffdf8;
  --surface-tint: #f8edda;
  --accent-tint: #fae3cf;
  /* tinta */
  --ink: #32261a;
  --ink-heading: #3d2a18;
  --ink-soft: #5d4b39;
  --ink-faint: #826a50;
  /* acentos */
  --accent: #c74e16;
  --accent-deep: #a23f0e;
  --gold: #a87b2f;
  /* linhas */
  --border: #ecdfc6;
  --border-strong: #ddcba6;
  /* tipografia */
  --font-display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", Tahoma, sans-serif;
  --text-body: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  --text-small: 0.8125rem;
  --text-eyebrow: 0.75rem;
  /* sombras (tonalizadas no espresso) */
  --shadow-card: 0 1px 2px rgb(77 51 26 / 0.05), 0 3px 10px -2px rgb(77 51 26 / 0.07);
  --shadow-offer: 0 4px 10px -2px rgb(94 38 10 / 0.25), 0 28px 56px -20px rgb(94 38 10 / 0.45);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: var(--text-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a {
  color: inherit;
}

a,
summary {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: #efdcbe;
  color: var(--ink-heading);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] {
  scroll-margin-top: 88px;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  vertical-align: -0.22em;
}

.page {
  min-height: 100vh;
  background: radial-gradient(90% 420px at 50% 0%, #fcecd7 0%, rgb(252 236 215 / 0) 100%);
}

/* ============================================================
   Cabeçalho
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(248 243 232 / 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgb(61 42 24 / 0.12);
}

.header-inner,
.article,
.footer-inner {
  width: min(100%, 768px);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-deep);
  color: #faf3e7;
  box-shadow: 0 1px 2px rgb(90 48 18 / 0.25);
  font-size: 0;
}

.brand-mark .icon {
  width: 18px;
  height: 18px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-heading);
}

.brand-name em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
}

.brand-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================================
   Abertura do artigo
   ============================================================ */
.article {
  padding: 40px 20px 64px;
}

.eyebrow-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #f3d4ba;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  padding: 6px 16px;
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow .icon {
  width: 14px;
  height: 14px;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  color: var(--ink-heading);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 2.9vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-align: center;
}

h1 span {
  color: var(--accent);
}

.article-meta {
  margin-bottom: 40px;
  color: var(--ink-faint);
  font-size: 0.875rem;
  text-align: center;
}

.intro-copy {
  display: grid;
  gap: 16px;
  margin-bottom: 8px;
}

.intro-copy p {
  margin-bottom: 0;
  max-width: 62ch;
}

.content-block {
  margin-top: 48px;
}

.content-block h2 {
  margin-bottom: 20px;
  color: var(--ink-heading);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.content-block h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, #eb9a5e 100%);
}

.lead {
  margin-bottom: 20px;
  max-width: 62ch;
}

/* ============================================================
   Cards de faixa etária
   ============================================================ */
.age-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.age-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.age-card,
.strategy-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

@media (hover: hover) {
  .age-card:hover,
  .strategy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgb(77 51 26 / 0.06), 0 10px 24px -8px rgb(77 51 26 / 0.14);
  }
}

.age-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(160deg, #fae3cf, #f3d2ae);
  color: var(--accent-deep);
  font-size: 0;
}

.age-icon .icon {
  width: 19px;
  height: 19px;
}

.age-range {
  margin-bottom: 4px;
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.age-title {
  margin-bottom: 12px;
  color: var(--ink-heading);
  font-family: var(--font-display);
  font-weight: 700;
}

.age-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.55;
  list-style: none;
}

.age-card li {
  position: relative;
  padding-left: 14px;
}

.age-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================================
   Lista de sinais
   ============================================================ */
.check-list {
  display: grid;
  gap: 12px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 14px 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.check-chip {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-deep);
}

.check-chip .icon {
  width: 12px;
  height: 12px;
}

/* ============================================================
   CTA suave (meio do artigo)
   ============================================================ */
.soft-cta {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 16px;
  margin: 48px 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-tint);
  box-shadow: inset 0 1px 0 rgb(255 252 244 / 0.7);
  padding: 20px 24px;
}

.soft-cta-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(160deg, #fae3cf, #f3d2ae);
  color: var(--accent-deep);
  font-size: 0;
}

.soft-cta-icon .icon {
  width: 22px;
  height: 22px;
}

.soft-cta-copy p {
  margin-bottom: 4px;
  color: var(--ink-heading);
  font-size: 0.9375rem;
  font-weight: 700;
}

.soft-cta-copy span {
  display: block;
  color: var(--ink-soft);
  font-size: var(--text-small);
  line-height: 1.6;
}

.soft-cta a {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-deep);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 250ms cubic-bezier(0.22, 1, 0.36, 1), color 150ms ease;
  padding-bottom: 2px;
}

.soft-cta a:hover,
.soft-cta a:active {
  color: var(--accent);
  background-size: 100% 2px;
}

.soft-cta a .link-arrow {
  width: 14px;
  height: 14px;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.soft-cta a:hover .link-arrow,
.soft-cta a:active .link-arrow {
  transform: translateX(4px);
}

/* ============================================================
   Estratégias
   ============================================================ */
.strategy-list {
  display: grid;
  gap: 16px;
}

.strategy-card {
  display: flex;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.strategy-number {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(160deg, #fae3cf, #f3d2ae);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-weight: 800;
}

.strategy-card h3 {
  margin-bottom: 4px;
  color: var(--ink-heading);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

.strategy-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ============================================================
   Callout profissional
   ============================================================ */
.professional-card {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

.professional-card p {
  margin-bottom: 16px;
  color: var(--ink);
}

.professional-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
  list-style: none;
}

.professional-card li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.professional-card .li-arrow {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  color: var(--accent);
}

/* ============================================================
   Oferta — painel terracota
   ============================================================ */
.hero-cta {
  position: relative;
  overflow: hidden;
  margin: 56px 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% -8%, rgb(255 213 165 / 0.14) 0 130px, transparent 131px),
    radial-gradient(circle at -4% 104%, rgb(255 213 165 / 0.1) 0 110px, transparent 111px),
    radial-gradient(120% 90% at 12% 0%, rgb(255 195 130 / 0.2) 0%, transparent 55%),
    linear-gradient(170deg, #ab4a10 0%, #8c3509 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 226 192 / 0.25),
    inset 0 -24px 48px rgb(46 16 4 / 0.22),
    0 0 0 1px #7c3008,
    var(--shadow-offer);
  padding: 36px 28px;
  color: #fdf6ea;
}

.hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.9 0 0 0 0 0.78 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-cta > * {
  position: relative;
}

.exclusive-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid rgb(255 219 184 / 0.3);
  border-radius: 999px;
  background: rgb(255 226 192 / 0.14);
  color: #ffe9d2;
  padding: 4px 12px;
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-cta h2 {
  margin-bottom: 12px;
  color: #fdf6ea;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1.5vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.hero-cta > p {
  margin-bottom: 24px;
  color: #f8e3cd;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 52ch;
}

.offer-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.offer-includes li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.offer-includes .icon {
  width: 18px;
  height: 18px;
  color: #f5cfa6;
}

.primary-button {
  position: relative;
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  background: #fdf6ea;
  color: var(--accent-deep);
  box-shadow: 0 1px 2px rgb(46 16 4 / 0.3), 0 12px 24px -10px rgb(46 16 4 / 0.5);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  background: #fffcf4;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgb(46 16 4 / 0.3), 0 18px 36px -12px rgb(46 16 4 / 0.55);
}

.primary-button:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 1px 2px rgb(46 16 4 / 0.3), 0 8px 14px -8px rgb(46 16 4 / 0.45);
  transition-duration: 60ms;
}

.primary-button:focus-visible {
  outline: 3px solid rgb(253 246 234 / 0.95);
  outline-offset: 3px;
}

.primary-button .cta-arrow {
  width: 20px;
  height: 20px;
  transition: transform 180ms ease;
}

.primary-button:hover .cta-arrow {
  transform: translateX(3px);
}

/* pulso compositável: opacidade de pseudo-elemento, não box-shadow animado */
.primary-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 20px 40px rgb(46 16 4 / 0.4);
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .primary-button::after {
    animation: cta-glow 2.6s ease-in-out infinite;
  }

  .primary-button {
    animation: cta-shake 4.5s ease-in-out 2s infinite;
  }

  .primary-button:hover,
  .primary-button:active {
    animation: none;
  }
}

@keyframes cta-glow {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@keyframes cta-shake {
  0%,
  12%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  2% {
    transform: translateX(-5px) rotate(-0.8deg);
  }
  4% {
    transform: translateX(5px) rotate(0.8deg);
  }
  6% {
    transform: translateX(-4px) rotate(-0.5deg);
  }
  8% {
    transform: translateX(4px) rotate(0.5deg);
  }
  10% {
    transform: translateX(-2px) rotate(-0.3deg);
  }
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 18px;
  color: #f3d6b6;
  font-size: var(--text-eyebrow);
  font-weight: 700;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-row .icon {
  width: 15px;
  height: 15px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: border-color 200ms ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  color: var(--ink-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color 150ms ease;
}

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

.faq-item[open] summary {
  color: var(--accent-deep);
}

.faq-item summary:focus-visible {
  outline-offset: -2px;
  border-radius: 12px;
}

.faq-mark {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-mark::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* abertura animada — melhoria progressiva, sem JS */
@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item::details-content {
    opacity: 0;
    block-size: 0;
    overflow: clip;
    transition: block-size 300ms ease, opacity 300ms ease, content-visibility 300ms allow-discrete;
  }

  .faq-item[open]::details-content {
    opacity: 1;
    block-size: auto;
  }
}

/* ============================================================
   Aviso + rodapé
   ============================================================ */
.notice {
  margin: 48px 0 0;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: var(--surface-tint);
  padding: 16px 18px;
}

.notice p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--text-eyebrow);
  line-height: 1.6;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  background: var(--paper-deep);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 20px;
  text-align: center;
}

.footer-brand .brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.footer-brand .brand-mark .icon {
  width: 15px;
  height: 15px;
}

.footer-legal {
  margin: 0;
  color: var(--ink-faint);
  font-size: var(--text-eyebrow);
}

/* ============================================================
   Ajustes responsivos
   ============================================================ */
@media (max-width: 680px) {
  .article {
    padding: 36px 20px 56px;
  }

  .age-grid {
    grid-template-columns: 1fr;
  }

  .offer-includes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .header-inner,
  .article,
  .footer-inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .strategy-card {
    gap: 12px;
    padding: 16px;
  }

  .hero-cta {
    border-radius: 16px;
    padding: 28px 18px;
  }

  .primary-button {
    padding: 0 14px;
    gap: 8px;
    font-size: 0.9375rem;
    letter-spacing: 0;
  }

  .primary-button .cta-arrow {
    width: 17px;
    height: 17px;
  }
}
