/* Ótimo Negócio — website institucional */

@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --roxo: #3d0758;
  --roxo-escuro: #2a0440;
  --violeta: #7915a1;
  --violeta-claro: #b84bd2;
  --lilas: #efd5fb;
  --lilas-fundo: #f8effc;
  --branco: #fff;
  --tinta: #2a1b33;
  --suave: #6b5f73;
  --linha: #e7dcec;

  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --texto: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --raio-grande: 20px;
  --raio: 12px;
  --sombra: 0 24px 60px -20px rgba(61, 7, 88, .35);

  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

body {
  margin: 0;
  background: var(--branco);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; color: var(--roxo); text-wrap: balance; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--violeta-claro); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(720px, 100% - 40px); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--roxo); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Botões */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1.2 var(--texto); text-decoration: none; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s;
  cursor: pointer;
}
.button.primary { background: var(--violeta); color: #fff; }
.button.primary:hover { background: var(--roxo); }
.button.ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.button.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.button.light { background: #fff; color: var(--roxo); }
.button.light:hover { background: var(--lilas); }
.button.outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.button.outline-light:hover { border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--linha);
  backdrop-filter: saturate(1.4) blur(10px);
}
.header-inner { position: relative; display: flex; align-items: center; gap: 40px; min-height: 76px; }
.brand { display: inline-flex; flex-shrink: 0; text-decoration: none; }
.brand-logo { display: block; width: 170px; height: 40px; }
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a, .text-button { color: var(--tinta); font-weight: 600; text-decoration: none; }
.main-nav a:hover, .text-button:hover { color: var(--violeta); }
.main-nav .nav-login { display: none; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions .button { min-height: 44px; padding: 10px 20px; }
.menu-button {
  display: none; align-items: center; gap: 8px;
  margin-left: auto; padding: 9px 14px;
  border: 1px solid var(--linha); border-radius: 999px;
  background: #fff; color: var(--roxo); font: 600 .95rem var(--texto);
}
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 104px;
  background:
    radial-gradient(circle at 78% 42%, rgba(184, 75, 210, .35), transparent 42%),
    var(--roxo);
  color: #fff;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.hero-kicker { margin-bottom: 18px; color: var(--lilas); font-weight: 600; }
.hero h1 {
  max-width: 11ch;
  color: #fff;
  font-size: clamp(2.75rem, 5.6vw, 4.75rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.01em;
}
.hero-copy { max-width: 34em; margin: 26px 0 34px; color: #eadcf2; font-size: 1.2rem; line-height: 1.6; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 540px; }
.power-ring { position: absolute; inset: 50% auto auto 50%; width: min(520px, 100%); transform: translate(-50%, -50%); overflow: visible; }
.power-ring .ring-track { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 34; }
.power-ring .ring-arc, .power-ring .ring-bar { fill: none; stroke: var(--lilas); stroke-width: 34; stroke-linecap: round; }
.power-ring .ring-bar { stroke: #fff; }

.store-window {
  position: relative; z-index: 1;
  width: min(330px, 78%); margin: 0;
  translate: -24% 30%;
  overflow: hidden;
  border-radius: var(--raio-grande);
  background: #fff; color: var(--tinta);
  box-shadow: 0 40px 80px -30px rgba(10, 0, 20, .7);
  transform: rotate(-2deg);
}
.store-top { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid #efe7f3; color: #85788c; font-size: .72rem; }
.store-top > span { width: 8px; height: 8px; border-radius: 50%; background: #e2d3e8; }
.store-top strong { margin-inline: auto; font-weight: 600; }
.store-banner {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 24px 22px 24px;
  background: linear-gradient(115deg, #f7e6ef, #efd5fb 70%, #dfbdf0);
  color: var(--roxo);
}
.store-banner small { font-size: .75rem; font-weight: 700; }
.store-banner b { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.05; }
.store-cta { margin-top: 4px; padding: 7px 14px; border-radius: 999px; background: var(--roxo); color: #fff; font-size: .75rem; font-weight: 700; }
.store-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.store-products div { display: flex; flex-direction: column; gap: 3px; font-size: .7rem; line-height: 1.3; }
.store-products small { color: var(--violeta); font-weight: 700; }
.product-art { display: block; height: 70px; margin-bottom: 6px; border-radius: 10px; background: linear-gradient(150deg, #ecd3de, #b36cb7); }
.art-two { background: linear-gradient(150deg, #f0dfc2, #a3845f); }
.art-three { background: linear-gradient(150deg, #dcd8f2, #7d6fa8); }
.store-window figcaption { padding: 0 18px 14px; color: #9a8fa1; font-size: .72rem; }

/* Seções */
.section { padding: 104px 0; }
.section-heading { max-width: 720px; margin-bottom: 52px; }
.section-heading h2, .split-head h2, .consequence h2, .pricing h2, .cta h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.section-heading p, .split-head p { margin-top: 18px; color: var(--suave); font-size: 1.125rem; }

/* Problema */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.split-head { position: sticky; top: 120px; }
.pain-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 36px; margin: 0; padding: 0; list-style: none; }
.pain-list li { padding-left: 20px; border-left: 3px solid var(--lilas); }
.pain-list h3 { margin-bottom: 8px; font-size: 1.3rem; }
.pain-list p { color: var(--suave); }

/* Consequência */
.consequence { background: var(--lilas-fundo); }
.consequence h2 { max-width: 18ch; margin-bottom: 48px; }
.consequence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.consequence-grid p { padding-top: 22px; border-top: 2px solid var(--roxo); color: var(--suave); }
.consequence-grid b { display: block; margin-bottom: 6px; color: var(--roxo); font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.15; }

/* Solução */
.feature-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-group { padding: 28px 24px 30px; border-radius: var(--raio-grande); background: var(--lilas-fundo); }
.feature-group:nth-child(2) { background: var(--lilas); }
.feature-group:nth-child(3) { background: var(--violeta); color: #fff; }
.feature-group:nth-child(4) { background: var(--roxo); color: #fff; }
.feature-group h3 { font-size: 1.6rem; }
.feature-group:nth-child(n+3) h3 { color: #fff; }
.group-lead { margin-top: 6px; font-weight: 600; opacity: .85; }
.feature-group ul { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; font-size: .95rem; line-height: 1.45; }
.feature-group li { color: inherit; opacity: .92; }
.feature-group li b { display: block; opacity: 1; }

/* Exemplos */
.showcase { background: var(--lilas-fundo); }
.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.example {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  min-height: 300px; padding: 28px;
  border-radius: var(--raio-grande); color: #fff;
  box-shadow: inset 0 -140px 120px -70px rgba(36, 7, 48, .75);
}
.example span { font-size: .85rem; font-weight: 700; }
.example b { max-width: 13ch; font-family: var(--display); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.example small { color: rgba(255, 255, 255, .85); }
.example-fashion { background: radial-gradient(ellipse at 66% 32%, #efb7bf 0 20%, transparent 21%), linear-gradient(135deg, #915273, #eabac9); }
.example-home { background: radial-gradient(circle at 70% 30%, #ecc987 0 18%, transparent 19%), linear-gradient(135deg, #57695b, #bd9c6a); }
.example-beauty { background: radial-gradient(ellipse at 70% 32%, #e9a5c5 0 18%, transparent 19%), linear-gradient(135deg, #543463, #bb72ba); }
.disclaimer { margin-top: 16px; color: var(--suave); font-size: .85rem; }
.examples-more { margin-top: 24px; }
.store-examples-note { margin: 0 0 28px; color: var(--suave); }
.store-example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.store-example { position: relative; isolation: isolate; display: flex; min-height: 350px; overflow: hidden; align-items: flex-end; border-radius: var(--raio-grande); background: var(--roxo); color: #fff; box-shadow: var(--sombra); }
.store-example::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(29, 7, 40, .02) 22%, rgba(29, 7, 40, .88) 100%); content: ""; }
.store-example-photo { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.store-example:hover .store-example-photo { transform: scale(1.035); }
.store-example-content { position: relative; z-index: 2; padding: 25px; }
.store-example-content span { color: #f1d5fa; font-size: .78rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.store-example-content h2 { margin: 8px 0; color: #fff; font-family: var(--display); font-size: 1.65rem; }
.store-example-content p { max-width: 40ch; margin: 0; color: rgba(255,255,255,.9); line-height: 1.5; }
.store-examples-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding: 30px; border-radius: var(--raio-grande); background: var(--lilas-fundo); }
.store-examples-cta h2 { margin: 0; color: var(--roxo); font-family: var(--display); font-size: 1.6rem; }
@media (max-width: 980px) { .store-example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .store-example-grid { grid-template-columns: 1fr; } .store-example { min-height: 320px; } .store-examples-cta { align-items: flex-start; flex-direction: column; } }

/* Preços */
.pricing-inner { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; }
.pricing-inner > div:first-child > p { max-width: 36em; margin-top: 18px; color: var(--suave); font-size: 1.125rem; }
.terms-list { display: grid; gap: 0; margin: 36px 0 0; }
.terms-list div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--linha); }
.terms-list div:last-child { border-bottom: 1px solid var(--linha); }
.terms-list dt { color: var(--roxo); font-weight: 700; }
.terms-list dd { margin: 0; color: var(--suave); }
.price-card { padding: 40px 36px; border-radius: var(--raio-grande); background: var(--roxo); color: #fff; box-shadow: var(--sombra); }
.price-card b { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 600; line-height: 1.1; }
.price-card p { margin: 14px 0 28px; color: #e2d3e9; }
.price-card .button.primary { background: #fff; color: var(--roxo); }
.price-card .button.primary:hover { background: var(--lilas); }

/* Artigos */
.read-more { display: inline-block; margin-top: 10px; color: var(--violeta); font-size: .92rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* CTA */
.cta { padding: 88px 0; background: var(--violeta); color: #fff; }
.cta h2 { color: #fff; }
.cta p { margin-top: 12px; color: #f1e2f8; font-size: 1.125rem; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta .actions { flex-shrink: 0; }

/* Rodapé */
.site-footer { padding: 64px 0 24px; background: var(--roxo-escuro); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-about p { max-width: 30em; margin-top: 18px; color: #d3c0da; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col strong { margin-bottom: 4px; font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.footer-col a { color: #d3c0da; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); color: #b9a5c2; font-size: .875rem; }

/* Página de artigo */
.article-head { padding: 72px 0 56px; background: var(--lilas-fundo); }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--violeta); font-weight: 700; text-decoration: none; }
.back-link::before { content: "‹"; margin-right: 8px; }
.back-link:hover { text-decoration: underline; }
.article-category { color: var(--violeta); font-weight: 700; }
.article-head h1 { margin-top: 8px; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.article-lead { margin-top: 18px; color: var(--suave); font-size: 1.25rem; }
.article-next {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-bottom: 96px; padding: 32px;
  border-radius: var(--raio-grande); background: var(--roxo); color: #fff;
}
.article-next h2 { color: #fff; font-size: 1.6rem; }
.article-next p { margin-top: 6px; color: #e2d3e9; }
.article-next .button.primary { flex-shrink: 0; background: #fff; color: var(--roxo); }

/* Animação do hero: o anel do logo "liga" ao carregar */
@media (prefers-reduced-motion: no-preference) {
  .power-ring .ring-arc { stroke-dasharray: 100; stroke-dashoffset: 100; animation: ligar 1.3s .2s cubic-bezier(.6, 0, .2, 1) forwards; }
  .power-ring .ring-bar { stroke-dasharray: 100; stroke-dashoffset: 100; animation: ligar .5s .05s ease-out forwards; }
  .store-window { opacity: 0; animation: acender .7s 1.1s ease-out forwards; }
  @keyframes ligar { to { stroke-dashoffset: 0; } }
  @keyframes acender { from { opacity: 0; transform: rotate(-2deg) translateY(16px); } to { opacity: 1; transform: rotate(-2deg) translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}

/* Responsivo */
@media (max-width: 1080px) {
  .header-inner { gap: 24px; }
  .main-nav { gap: 20px; }
  .feature-groups { grid-template-columns: repeat(2, 1fr); }
  .consequence-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
}

@media (max-width: 860px) {
  .menu-button { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: calc(100% + 8px); right: 0; left: 0;
    flex-direction: column; gap: 0; padding: 8px;
    border: 1px solid var(--linha); border-radius: var(--raio); background: #fff; box-shadow: var(--sombra);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; border-radius: 8px; }
  .main-nav a:hover { background: var(--lilas-fundo); }
  .main-nav .nav-login { display: block; }
  .header-actions .text-button { display: none; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: 13ch; }
  .hero-visual { min-height: 460px; }
  .split, .pricing-inner { grid-template-columns: 1fr; gap: 40px; }
  .split-head { position: static; }
  .example-grid { grid-template-columns: 1fr; }
  .example { min-height: 230px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .container.narrow { width: calc(100% - 32px); }
  .header-inner { min-height: 66px; gap: 12px; }
  .brand-logo { width: 136px; height: 32px; }
  .header-actions .button { min-height: 40px; padding: 8px 14px; font-size: .88rem; }
  .menu-button { padding: 8px 11px; font-size: 0; gap: 0; }
  .section { padding: 72px 0; }
  .hero h1 { font-size: 2.6rem; }
  .hero-copy { font-size: 1.06rem; }
  .hero-visual { min-height: 440px; }
  .power-ring { top: 36%; }
  .store-window { translate: -10% 18%; }
  .store-banner { padding: 18px; }
  .store-banner b { font-size: 1.25rem; }
  .store-products { gap: 8px; padding: 12px; }
  .product-art { height: 52px; }
  .pain-list, .consequence-grid, .feature-groups { grid-template-columns: 1fr; }
  .terms-list div { grid-template-columns: 1fr; gap: 4px; }
  .price-card { padding: 30px 24px; }
  .cta .actions, .hero .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .article-head { padding: 48px 0 40px; }
  .article-next { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
}

/* ---------- Fotos ---------- */
.section-photo, .wide-photo, .article-photo { margin: 0; }
.section-photo img, .wide-photo img, .article-photo img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--raio-grande); }
.section-photo { margin-top: 32px; }
.section-photo img { aspect-ratio: 4 / 3; }
.wide-photo { margin: -12px 0 48px; }
.wide-photo img { aspect-ratio: 16 / 7; }
.example { position: relative; overflow: hidden; isolation: isolate; }
.example-photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.example:has(.example-photo) { background: #2a0440; }
.example:has(.example-photo)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(36, 7, 48, .85)); }

/* ---------- Cards de artigos ---------- */
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.page-articles .post-grid { grid-template-columns: repeat(3, 1fr); }
.post-card { position: relative; display: flex; flex-direction: column; gap: 6px; }
.post-photo { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; margin-bottom: 10px; border-radius: var(--raio); }
.post-photo-empty {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  padding: 14px 16px; background: var(--lilas-fundo); color: var(--roxo);
  font-family: var(--display); font-weight: 600; font-size: 1.15rem;
}
.post-photo-empty::after {
  content: ""; position: absolute; right: -28px; top: -28px;
  width: 110px; height: 110px; border: 18px solid var(--lilas); border-radius: 50%;
}
.post-card:nth-child(4n+2) .post-photo-empty { background: var(--lilas); }
.post-card:nth-child(4n+2) .post-photo-empty::after { border-color: #e2b8f5; }
.post-card:nth-child(4n+3) .post-photo-empty { background: var(--violeta); color: #fff; }
.post-card:nth-child(4n+3) .post-photo-empty::after { border-color: rgba(255,255,255,.22); }
.post-card:nth-child(4n+4) .post-photo-empty { background: var(--roxo); color: #fff; }
.post-card:nth-child(4n+4) .post-photo-empty::after { border-color: rgba(255,255,255,.16); }
.post-card small { color: var(--violeta); font-size: .85rem; font-weight: 700; }
.post-card h3, .post-card .post-title { font-size: 1.25rem; line-height: 1.2; }
.post-card h3 a, .post-card .post-title a { text-decoration: none; }
.post-card h3 a::after, .post-card .post-title a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover h3 a, .post-card:hover .post-title a { color: var(--violeta); }
.post-card p { color: var(--suave); font-size: .97rem; }
.post-card .read-more { margin-top: auto; padding-top: 6px; }
.related-all { margin-top: 40px; }
.related-all a:not(.button) { color: var(--violeta); font-weight: 700; }

/* ---------- Página de artigo ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; font-size: .92rem; color: var(--suave); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b9a9c2; }
.breadcrumb a { color: var(--violeta); font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; color: var(--suave); font-size: .92rem; }
.article-photo { margin: -28px auto 0; max-width: 1040px; }
.article-photo img { aspect-ratio: 16 / 9; box-shadow: var(--sombra); }

.article-head-inner { max-width: 1040px; padding-left: 304px; }
.article-head-inner h1, .article-head-inner .article-lead { max-width: 68ch; }
.post-photo-empty + small { display: none; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; max-width: 1040px; padding: 56px 0 0; }
.article-toc { position: sticky; top: 104px; align-self: start; }
.article-toc h2 { margin-bottom: 12px; font-size: 1.05rem; }
.article-toc ol { display: grid; gap: 10px; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--lilas); list-style: none; font-size: .93rem; line-height: 1.35; }
.article-toc a { color: var(--suave); text-decoration: none; }
.article-toc a:hover { color: var(--violeta); }

.article-body { padding: 0; max-width: 68ch; }
.article-body section { margin-bottom: 40px; scroll-margin-top: 100px; }
.article-body h2 { margin-bottom: 14px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.article-body p { max-width: none; margin-bottom: 1.1em; font-size: 1.12rem; line-height: 1.75; }
.article-body ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.article-body li { margin-bottom: .55em; font-size: 1.08rem; line-height: 1.65; }
.article-body li::marker { color: var(--violeta); }
.faq details { border-top: 1px solid var(--linha); }
.faq details:last-of-type { border-bottom: 1px solid var(--linha); }
.faq summary { padding: 18px 32px 18px 0; position: relative; cursor: pointer; list-style: none; color: var(--roxo); font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--violeta); font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--suave); }
.article-next { margin: 48px 0 0; }
.related { margin-top: 88px; padding: 88px 0 104px; background: var(--lilas-fundo); }
.related h2 { margin-bottom: 36px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.related .post-grid { grid-template-columns: repeat(3, 1fr); }
.related .post-card:nth-child(n) .post-photo-empty { background: #fff; color: var(--roxo); }
.related .post-card:nth-child(n) .post-photo-empty::after { border-color: var(--lilas); }

.index-head { padding-bottom: 64px; }
.index-head .article-lead { max-width: 40em; }
.index-list { padding-top: 64px; }

@media (max-width: 1080px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .article-head-inner { padding-left: 0; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .article-toc { position: static; padding: 20px; border-radius: var(--raio); background: var(--lilas-fundo); }
  .article-toc ol { border-left: 0; padding-left: 0; }
  .related .post-grid, .page-articles .post-grid { grid-template-columns: repeat(2, 1fr); }
  .article-photo { margin-top: 0; padding-top: 24px; }
}
@media (max-width: 600px) {
  .post-grid, .related .post-grid, .page-articles .post-grid { grid-template-columns: 1fr; }
  .wide-photo img { aspect-ratio: 4 / 3; }
  .article-body p { font-size: 1.06rem; }
}
