/* Ornamentos: círculos e arcos tirados do quadro da sala. Carregado depois de style.css. */

body { overflow-x: clip; position: relative; }
/* textura de papel, quase imperceptível */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .14 0 0 0 0 .19 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* três pontos acima dos títulos de seção */
main section:not(.hero) h2::before {
  content: ""; display: block; width: 3.6rem; height: 1rem; margin-bottom: 1.1rem;
  background:
    radial-gradient(circle at .5rem .5rem, var(--carvalho) 0 .48rem, transparent .5rem),
    radial-gradient(circle at 1.8rem .5rem, var(--salvia) 0 .48rem, transparent .5rem),
    radial-gradient(circle at 3.1rem .5rem, var(--musgo) 0 .48rem, transparent .5rem);
}
.banda-musgo h2::before, .banda-ardosia h2::before {
  background:
    radial-gradient(circle at .5rem .5rem, var(--carvalho) 0 .48rem, transparent .5rem),
    radial-gradient(circle at 1.8rem .5rem, var(--salvia) 0 .48rem, transparent .5rem),
    radial-gradient(circle at 3.1rem .5rem, #eef2ec 0 .48rem, transparent .5rem);
}

/* bordas curvas entre as faixas coloridas */
.banda-salvia, .banda-musgo, .banda-ardosia { position: relative; margin-top: clamp(2.5rem, 6vw, 5rem); }
.banda-salvia::before, .banda-musgo::before, .banda-ardosia::before {
  content: ""; position: absolute; left: 0; right: 0; top: 1px; height: clamp(2.5rem, 6vw, 5rem);
  transform: translateY(-100%); background: inherit; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* hero: anéis concêntricos atrás do retrato */
.hero { position: relative; overflow: clip; }
.hero::before {
  content: ""; position: absolute; z-index: 0; right: -14rem; top: -9rem; width: 46rem; aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='%23a9bdae' stroke-width='1.2'%3E%3Ccircle cx='200' cy='200' r='60'/%3E%3Ccircle cx='200' cy='200' r='95'/%3E%3Ccircle cx='200' cy='200' r='130'/%3E%3Ccircle cx='200' cy='200' r='165'/%3E%3Ccircle cx='200' cy='200' r='199'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero .wrap { position: relative; z-index: 1; }

/* moldura deslocada em arco atrás do retrato */
.moldura-arco {
  position: absolute; z-index: 0; inset: -1rem 1.4rem 1.2rem -1.4rem;
  border: 1.5px solid var(--carvalho); border-radius: 999px 999px 0 0; pointer-events: none;
}

/* selo de texto circular */
.selo { position: absolute; z-index: 3; left: -2.6rem; top: 42%; width: 7.6rem; height: 7.6rem; }
.selo svg { width: 100%; height: 100%; display: block; overflow: visible; }
.selo-fundo { fill: var(--nevoa); }
.selo text { font-family: var(--sans); font-size: 10.4px; font-weight: 600; letter-spacing: .12em; fill: var(--musgo); }
.selo .miolo { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 0; fill: var(--ardosia); }
@media (max-width: 40rem) { .selo { left: -.4rem; top: 38%; width: 5.8rem; height: 5.8rem; } }

/* cartão flutuante com a nota */
.nota-flutuante {
  position: absolute; z-index: 3; right: -1.2rem; bottom: 2.8rem; display: flex; align-items: center; gap: .75rem;
  background: #fff; padding: .8rem 1.1rem .8rem .9rem; border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(31,36,48,.18); font-size: .85rem; line-height: 1.3; color: var(--texto-suave);
}
.nota-flutuante b { display: block; font-family: var(--serif); font-size: 1.45rem; line-height: 1; color: var(--ardosia); font-weight: 500; }
.estrelas { color: var(--carvalho); letter-spacing: .08em; font-size: .9rem; display: block; }
@media (max-width: 40rem) { .nota-flutuante { right: -.2rem; bottom: 1rem; } }

/* sintomas: anéis ao fundo e marcador em círculo */
#sintomas { position: relative; overflow: clip; }
#sintomas::after {
  content: ""; position: absolute; right: -11rem; bottom: -9rem; width: 28rem; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid var(--salvia); box-shadow: 0 0 0 2.2rem var(--nevoa), 0 0 0 calc(2.2rem + 1.5px) var(--salvia); pointer-events: none;
}
#sintomas .wrap { position: relative; z-index: 1; }
.lista-frases li { position: relative; padding-left: 2.4rem; }
.lista-frases li::before {
  content: ""; position: absolute; left: 0; top: 1.75rem; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  border: 2px solid var(--carvalho);
}
.lista-frases li:nth-child(even)::before { background: var(--salvia); border-color: var(--salvia); }

/* sobre: foto em arco com moldura deslocada */
.foto-simples { position: relative; isolation: isolate; border-radius: 0; overflow: visible; background: none; }
.foto-simples img { border-radius: 999px 999px 8px 8px; background: #3e5a3e; }
.foto-simples::after {
  content: ""; position: absolute; z-index: -1; inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1.5px solid var(--carvalho); border-radius: 999px 999px 8px 8px;
}

/* princípios: formas do quadro como marcadores */
.principios > div::before { content: ""; display: block; width: 2.6rem; height: 2.6rem; margin-bottom: 1.1rem; }
.principios > div:nth-child(1)::before { border-radius: 50%; background: var(--carvalho); }
.principios > div:nth-child(2)::before { border-radius: 50%; box-shadow: inset 0 0 0 2px var(--salvia); background: radial-gradient(circle, var(--salvia) 0 .55rem, transparent .6rem); }
.principios > div:nth-child(3)::before { border-radius: 999px 999px 0 0; height: 1.3rem; background: var(--salvia); margin-top: 1.3rem; }
.principios > div:nth-child(4)::before { border-radius: 50%; background: linear-gradient(90deg, var(--carvalho) 50%, transparent 50%); box-shadow: inset 0 0 0 2px var(--carvalho); }
.trio > div::before { content: ""; display: block; width: 1.6rem; height: 1.6rem; margin-bottom: .8rem; border-radius: 50%; background: var(--carvalho); }
.trio > div:nth-child(2)::before { background: none; box-shadow: inset 0 0 0 2px var(--salvia); }
.trio > div:nth-child(3)::before { border-radius: 999px 999px 0 0; height: .8rem; margin-top: .8rem; background: var(--salvia); }

/* depoimentos: aspas e estrelas */
.depoimento-principal { position: relative; padding-top: 3.4rem; }
.depoimento-principal::before {
  content: "\201C"; position: absolute; left: -.05em; top: -.1em; font-family: var(--serif); font-size: 7rem; line-height: 1; color: var(--carvalho);
}
.depoimentos blockquote::before { content: "\2605\2605\2605\2605\2605"; display: block; color: var(--carvalho); font-size: .85rem; letter-spacing: .15em; margin-bottom: .75rem; }

/* passos: numeral dentro de círculo */
.passos li::before {
  width: 4.2rem; height: 4.2rem; display: grid; place-items: center; font-size: 2.1rem; border-radius: 50%;
  background: var(--nevoa); color: var(--musgo); box-shadow: inset 0 0 0 1.5px var(--carvalho);
}

/* locais: fotos em arco */
.local img { border-radius: 999px 999px 8px 8px; aspect-ratio: 4 / 4.8; }

/* fechamento: anéis */
.fechamento { overflow-x: clip; }
.fechamento::after {
  content: ""; position: absolute; right: -8rem; top: 50%; width: 30rem; aspect-ratio: 1; transform: translateY(-50%); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='%23a9bdae' stroke-opacity='.35' stroke-width='1.2'%3E%3Ccircle cx='200' cy='200' r='60'/%3E%3Ccircle cx='200' cy='200' r='100'/%3E%3Ccircle cx='200' cy='200' r='140'/%3E%3Ccircle cx='200' cy='200' r='180'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fechamento .wrap { position: relative; z-index: 1; }

/* faixa de confiança: pontos separadores */
.faixa li { border-left: 0; position: relative; }
.faixa li + li::before { content: ""; position: absolute; left: -.2rem; top: 50%; width: .4rem; height: .4rem; margin-top: -.2rem; border-radius: 50%; background: var(--carvalho); }
@media (max-width: 40rem) { .faixa li + li::before { content: none; } }

/* versão B */
.curta .lede { font-size: 1.2rem; max-width: 46ch; }
.curta section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.trio { display: grid; gap: 2rem; margin-top: 2.25rem; }
@media (min-width: 52rem) { .trio { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.trio > div { border-top: 1px solid rgba(238,242,236,.28); padding-top: 1.1rem; }
.trio h3 { margin-bottom: .4rem; }
.trio p { margin: 0; color: #d3ddd2; }
.curta .faq summary { font-size: 1.2rem; }

@media (prefers-reduced-motion: no-preference) {
  .selo, .nota-flutuante { animation: aparece .9s ease 1s backwards; }
  @keyframes aparece { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
}

/* depoimentos em prints do Doctoralia */
.prints { margin-top: 2.5rem; columns: 1; column-gap: 1.75rem; }
@media (min-width: 52rem) { .prints { columns: 2; } }
.prints figure { margin: 0 0 1.75rem; break-inside: avoid; }
.prints img {
  width: 100%; height: auto; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px rgba(31,36,48,.1), 0 14px 34px rgba(31,36,48,.1);
}
#depoimentos .acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.25rem; }
.link-externo { font-weight: 600; color: var(--musgo); text-underline-offset: 4px; }
.link-externo:hover { color: var(--musgo-escuro); }

/* celular: sem círculos no topo nem anéis decorativos */
@media (max-width: 55.99rem) {
  .hero::before, .retrato::before, .retrato::after, .moldura-arco, .selo,
  #sintomas::after, .fechamento::after { display: none; }
}
.prints figure a { display: block; }
@media (max-width: 51.99rem) { .prints figure:nth-child(n+4) { display: none; } }
