/* =========================================================
   Alane Costa · Psicóloga — estilos
   ========================================================= */

/* ---------------------------------------------------------
   FONTE DOS TÍTULOS: Dreaming Outloud
   Coloque o arquivo em assets/fontes/ com um destes nomes:
     DreamingOutloud.woff2  ·  DreamingOutloud.woff  ·  DreamingOutloud.ttf
   Enquanto o arquivo não existir, o site usa "Caveat Brush"
   como fonte provisória (sem o tracking -70).
   --------------------------------------------------------- */
@font-face {
  font-family: "Dreaming Outloud";
  src: url("../fontes/DreamingOutloud.woff2") format("woff2"),
       url("../fontes/DreamingOutloud.woff") format("woff"),
       url("../fontes/DreamingOutloud.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta (inspirada nas artes do @psialanecosta) */
  --creme: #FBF6EE;
  --branco: #FFFFFF;
  --lilas: #B9A6F2;
  --lilas-claro: #EEE8FD;
  --roxo: #5B3BA6;
  --roxo-escuro: #3A2472;
  --roxo-noite: #2A1A55;
  --amarelo: #F6CF4A;
  --amarelo-claro: #FFF3C9;
  --vermelho: #D32F27;
  --texto: #2D2833;
  --texto-suave: #554E5E;
  --linha: #E6DCCD;

  /* Texturas */
  --listras: repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 2px, transparent 2px 8px);
  --estrelas-claras: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M30 14l4.6 9.8 10.7 1.3-7.9 7.3 2.2 10.6L30 37.6 20.4 43l2.2-10.6-7.9-7.3 10.7-1.3z' fill='%23ffffff' fill-opacity='.07'/%3E%3Cpath d='M90 70l3 6.4 7 .8-5.2 4.8 1.4 6.9L90 85.5l-6.2 3.4 1.4-6.9-5.2-4.8 7-.8z' fill='%23ffffff' fill-opacity='.07'/%3E%3C/svg%3E");
  --estrelas-amarelas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cpath d='M30 14l4.6 9.8 10.7 1.3-7.9 7.3 2.2 10.6L30 37.6 20.4 43l2.2-10.6-7.9-7.3 10.7-1.3z' fill='%23F6CF4A' fill-opacity='.35'/%3E%3Cpath d='M105 80l3 6.4 7 .8-5.2 4.8 1.4 6.9-6.2-3.4-6.2 3.4 1.4-6.9-5.2-4.8 7-.8z' fill='%23F6CF4A' fill-opacity='.35'/%3E%3C/svg%3E");

  /* Tipografia */
  --fonte-texto: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fonte-titulo: "Dreaming Outloud", "Caveat Brush", "Segoe Print", cursive;
  --fonte-simbolo: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", "Poppins", sans-serif;
  --tracking-titulo: -0.07em;   /* tracking -70 */

  /* Medidas */
  --raio: 24px;
  --raio-g: 40px;
  --raio-p: 16px;
  --sombra: 0 16px 36px -16px rgba(42, 26, 85, .35);
  --largura: 1180px;
  --altura-topo: 72px;
  --espaco-secao: clamp(4.5rem, 10vw, 8rem);
  --suave: cubic-bezier(.2, .7, .2, 1);
  --mola: cubic-bezier(.34, 1.4, .64, 1);
}

/* Fonte provisória: sem tracking negativo para manter a leitura */
.fonte-provisoria { --tracking-titulo: 0; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--altura-topo) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--fonte-texto);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--texto);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--roxo); text-underline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
figure { margin: 0; }
main { overflow-x: clip; }   /* evita rolagem lateral por elementos decorativos */
h1, h2, h3 { margin: 0; color: var(--roxo); }

.titulo-destaque,
.frase-destaque {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  letter-spacing: var(--tracking-titulo);
  line-height: 1.08;
}
.simbolo { font-family: var(--fonte-simbolo); font-size: .7em; color: var(--amarelo); vertical-align: .15em; letter-spacing: 0; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.pular {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  background: var(--roxo);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
}
.pular:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--roxo);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  position: relative;
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.container--estreito { max-width: 860px; }

.icone { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* =========================================================
   Etiquetas (caixas de texto no estilo das artes)
   ========================================================= */
.etiqueta {
  display: inline-block;
  padding: .32em .7em;
  border-radius: 8px;
  font: 700 .9rem/1.25 var(--fonte-texto);
  letter-spacing: 0;
  rotate: var(--giro, -2deg);
  box-shadow: 3px 3px 0 rgba(42, 26, 85, .2);
}
.etiqueta--amarelo { background: var(--amarelo); color: var(--roxo-escuro); }
.etiqueta--vermelho { background: var(--vermelho); color: #fff; }
.etiqueta--roxo { background: var(--roxo); color: #fff; }
.etiqueta--lilas { background: var(--lilas); color: var(--roxo-noite); }
.etiqueta--branco { background: var(--branco); color: var(--roxo); }

/* Palavra destacada dentro de um título */
.destaque-caixa {
  display: inline-block;
  padding: 0 .18em .04em;
  border-radius: 10px;
  background: var(--lilas);
  color: var(--roxo-noite);
  rotate: -1.5deg;
}
.destaque-caixa--amarelo { background: var(--amarelo); }

/* =========================================================
   Estrelas
   ========================================================= */
.estrela-grande {
  width: 52px; height: 52px;
  color: var(--amarelo);
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linejoin: round;
  paint-order: stroke fill;
  filter: drop-shadow(2px 3px 0 rgba(42, 26, 85, .22));
  overflow: visible;
}
.estrela-grande--lilas { color: var(--lilas); }
.brilho-mini { width: 18px; height: 18px; color: var(--vermelho); }

/* =========================================================
   Botões
   ========================================================= */
.botoes { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1.3 var(--fonte-texto);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .3s var(--mola), box-shadow .3s var(--suave), background-color .2s ease, color .2s ease, border-color .2s ease;
}
.botao:hover { transform: translate(-2px, -3px); }
.botao:active { transform: translate(0, 0) scale(.96); box-shadow: none; }
.botao .icone--estrela { color: var(--amarelo); transition: transform .5s var(--mola); }
.botao:hover .icone--estrela { transform: rotate(144deg) scale(1.2); }
.botao .icone--seta { transition: transform .3s var(--mola); }
.botao:hover .icone--seta { transform: translateX(5px); }

.botao--primario { background: var(--roxo); color: #fff; }
.botao--primario:hover { box-shadow: 4px 5px 0 var(--amarelo); }

.botao--secundario { background: var(--branco); color: var(--roxo); border-color: var(--roxo); }
.botao--secundario:hover { background: var(--lilas-claro); box-shadow: 4px 5px 0 var(--lilas); }

.botao--claro { background: var(--creme); color: var(--roxo-escuro); }
.botao--claro:hover { box-shadow: 4px 5px 0 var(--amarelo); }
.botao--claro:focus-visible { outline-color: #fff; }

.botao--pequeno { min-height: 44px; padding: .55rem 1.2rem; font-size: .92rem; }
.botao--grande { min-height: 60px; padding: 1rem 2.1rem; font-size: 1.05rem; }
@media (max-width: 479px) { .botao--grande { padding: .95rem 1.3rem; white-space: nowrap; } }

/* =========================================================
   Topo / menu
   ========================================================= */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.topo.com-sombra { border-bottom-color: var(--linha); box-shadow: 0 6px 20px -16px rgba(42, 26, 85, .5); }

.topo__conteudo {
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  height: var(--altura-topo);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.marca { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.marca__nome {
  font-family: var(--fonte-titulo);
  letter-spacing: var(--tracking-titulo);
  font-size: 1.8rem;
  color: var(--roxo);
}
.marca__crp { font-size: .75rem; color: var(--texto-suave); font-weight: 500; }

.menu-botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--lilas-claro);
  cursor: pointer;
}
.menu-botao__linhas,
.menu-botao__linhas::before,
.menu-botao__linhas::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--roxo);
  border-radius: 2px;
  position: relative;
  transition: transform .25s var(--suave), background-color .2s ease;
}
.menu-botao__linhas::before,
.menu-botao__linhas::after { content: ""; position: absolute; left: 0; }
.menu-botao__linhas::before { top: -6px; }
.menu-botao__linhas::after { top: 6px; }
.menu-botao[aria-expanded="true"] .menu-botao__linhas { background: transparent; }
.menu-botao[aria-expanded="true"] .menu-botao__linhas::before { transform: translateY(6px) rotate(45deg); }
.menu-botao[aria-expanded="true"] .menu-botao__linhas::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu no celular */
.menu {
  position: absolute;
  top: var(--altura-topo);
  left: 0; right: 0;
  background: var(--creme);
  border-bottom: 1px solid var(--linha);
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
  box-shadow: var(--sombra);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s var(--suave), visibility 0s linear .25s;
}
.menu.aberto { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu ul { display: flex; flex-direction: column; margin-bottom: 1rem; }
.menu li a {
  display: block;
  padding: .85rem .25rem;
  font-weight: 500;
  color: var(--texto);
  text-decoration: none;
  border-bottom: 1px solid var(--linha);
}
.menu li a[aria-current="true"] { color: var(--roxo); font-weight: 600; }
.menu .botao { width: 100%; }

.sem-js .menu-botao { display: none; }
.sem-js .menu { visibility: visible; opacity: 1; transform: none; position: static; box-shadow: none; }

@media (min-width: 960px) {
  .menu-botao { display: none; }
  .menu {
    display: flex;
    visibility: visible;
    opacity: 1;
    transform: none;
    position: static;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .menu ul { flex-direction: row; gap: 1.6rem; margin: 0; }
  .menu li a { padding: .35rem 0; border: 0; font-size: .95rem; position: relative; }
  .menu li a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--amarelo);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--suave);
  }
  .menu li a:hover::after,
  .menu li a[aria-current="true"]::after { transform: scaleX(1); }
  .menu .botao { width: auto; }
}

/* =========================================================
   Molduras de foto e espaços reservados
   ========================================================= */
.moldura {
  position: relative;
  overflow: hidden;
  background: var(--lilas-claro);
}
.moldura img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* preenche sem distorcer */
  object-position: var(--foco, 50% 30%);
  /* "zoom" no config.js aproxima a foto a partir do ponto de foco */
  transform: scale(var(--zoom, 1));
  transform-origin: var(--foco, 50% 30%);
}
@media (max-width: 719px) {
  .moldura img {
    object-position: var(--foco-celular, var(--foco, 50% 30%));
    transform-origin: var(--foco-celular, var(--foco, 50% 30%));
  }
}

.reservado {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: 1.25rem;
  text-align: center;
  color: var(--roxo);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(91, 59, 166, .06) 14px 28px),
    var(--lilas-claro);
  border: 2px dashed var(--lilas);
  border-radius: inherit;
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.35;
}
.reservado svg { width: 32px; height: 32px; opacity: .7; }
.reservado small { font-weight: 400; font-size: .74rem; color: var(--texto-suave); }

/* Na publicação, espaços sem foto somem */
.sem-foto { display: none !important; }

/* =========================================================
   1. Início
   ========================================================= */
.inicio {
  position: relative;
  padding: clamp(1.75rem, 5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 92% 8%, rgba(185, 166, 242, .35), transparent 32%),
    radial-gradient(circle at 4% 92%, rgba(246, 207, 74, .18), transparent 28%),
    var(--creme);
}

.inicio__grade {
  display: grid;
  grid-template-areas: "topo" "foto" "corpo";
  gap: 1.5rem;
  align-items: center;
}
.inicio__topo { grid-area: topo; }
.inicio__foto { grid-area: foto; }
.inicio__corpo { grid-area: corpo; }

@media (min-width: 880px) {
  .inicio__grade {
    grid-template-columns: 1.08fr .92fr;
    grid-template-areas: "topo foto" "corpo foto";
    grid-template-rows: auto 1fr;
    column-gap: 4rem;
    row-gap: 1.25rem;
  }
  .inicio__topo { align-self: end; }
  .inicio__corpo { align-self: start; }
  .inicio__grade:has(.inicio__foto.sem-foto) { grid-template-columns: 1fr; grid-template-areas: "topo" "corpo"; }
}

.inicio__topo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .9rem;
  margin: 0;
}
.inicio__nome {
  font-family: var(--fonte-titulo);
  letter-spacing: var(--tracking-titulo);
  font-size: clamp(1.9rem, 4vw, 2.3rem);
  line-height: 1;
  color: var(--roxo);
}

.inicio h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  color: var(--roxo-escuro);
  margin-bottom: 1.4rem;
  max-width: 16ch;
}
.sublinhado {
  white-space: nowrap;
  padding-bottom: .12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9c30-8 55 4 85-1s60-7 111-2' fill='none' stroke='%23D32F27' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% .32em no-repeat;
}
.inicio__subtitulo { font-size: clamp(1.05rem, 2.2vw, 1.22rem); max-width: 32rem; }
.inicio__local {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  color: var(--texto-suave);
  font-size: .95rem;
  max-width: 34rem;
}
.inicio__local .icone { color: var(--vermelho); margin-top: .2rem; }

/* Composição da foto */
.inicio__foto {
  position: relative;
  justify-self: center;
  width: min(68vw, 300px);
  margin: .75rem 0 1rem;
}
@media (min-width: 880px) { .inicio__foto { width: min(100%, 430px); margin: 0; } }

.inicio__circulo {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  right: -14%;
  top: -7%;
  border-radius: 50%;
  background: var(--listras), var(--roxo);
}
.inicio__anel {
  position: absolute;
  width: 44%;
  aspect-ratio: 1;
  left: -14%;
  bottom: 2%;
  border-radius: 50%;
  border: clamp(8px, 1.6vw, 14px) solid var(--amarelo);
}
.moldura--heroi {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 300px 300px 36px 300px;
  border: 7px solid var(--branco);
  box-shadow: 12px 14px 0 var(--lilas), var(--sombra);
}
.inicio__foto .etiqueta { position: absolute; z-index: 3; white-space: nowrap; }
.inicio__adesivo-a { top: 10%; left: -10%; --giro: -8deg; }
.inicio__adesivo-b { bottom: 12%; right: -12%; --giro: 5deg; }
.inicio__estrela-a { position: absolute; z-index: 3; top: -5%; right: 2%; width: clamp(48px, 7vw, 70px); height: clamp(48px, 7vw, 70px); }
.inicio__estrela-b { position: absolute; z-index: 3; bottom: -4%; left: 8%; width: clamp(36px, 5vw, 50px); height: clamp(36px, 5vw, 50px); }
.inicio__brilho { position: absolute; z-index: 3; top: 36%; left: -10%; }

@media (max-width: 879px) {
  .inicio__adesivo-a { left: -12%; font-size: .78rem; }
  .inicio__adesivo-b { right: -12%; font-size: .78rem; }
}
@media (max-width: 559px) { .botoes .botao { flex: 1 1 100%; } }

/* Faixa de palavras */
.faixa {
  background: var(--listras), var(--roxo);
  color: #fff;
  rotate: -1.4deg;
  margin: -.5rem -2% 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 0 var(--amarelo);
}
.faixa__janela { overflow: hidden; padding: 1rem 0; }
.faixa__trilho {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: max-content;
  padding-right: 1.4rem;               /* mantém o espaço igual na emenda */
  animation: rolar 80s linear infinite; /* lento e contínuo */
  font: 500 1.05rem/1.4 var(--fonte-texto);
  letter-spacing: .01em;
  white-space: nowrap;
}
.faixa:hover .faixa__trilho,
.faixa.pausada .faixa__trilho { animation-play-state: paused; }
.estrela-faixa { width: 18px; height: 18px; color: var(--amarelo); flex-shrink: 0; }

.faixa__pausa {
  position: absolute;
  top: 50%;
  right: max(2.5%, 1rem);
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--roxo-escuro);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 0 6px var(--roxo);   /* separa o botão das palavras */
  transition: background-color .2s ease, transform .3s var(--mola);
}
.faixa__pausa:hover { background: var(--roxo-noite); transform: scale(1.08); }
.faixa__pausa:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; }
.faixa__pausa svg { width: 18px; height: 18px; }
.faixa__icone-tocar { display: none; }
.faixa.pausada .faixa__icone-pausar { display: none; }
.faixa.pausada .faixa__icone-tocar { display: block; }

@media (max-width: 559px) {
  .faixa__trilho { font-size: 1rem; gap: 1.1rem; padding-right: 1.1rem; }
  .faixa__pausa { width: 36px; height: 36px; }
}

/* =========================================================
   Seções (base)
   ========================================================= */
.secao { padding: var(--espaco-secao) 0; position: relative; }
.secao__cabecalho { text-align: center; margin: 0 auto 3rem; max-width: 42rem; }
.secao__cabecalho h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); }

/* =========================================================
   2. Talvez você se reconheça (bilhetes com fita)
   ========================================================= */
.reconheca {
  background: var(--estrelas-amarelas), var(--amarelo-claro);
  padding-top: calc(var(--espaco-secao) + 1rem);
}
.reconheca__cabecalho {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 3.5rem;
  max-width: 40rem;
}
.reconheca__cabecalho h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--roxo-escuro); }
.reconheca__estrela { flex-shrink: 0; width: 54px; height: 54px; margin-top: -.5rem; }

.bilhetes {
  display: grid;
  gap: 2rem 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .bilhetes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .bilhetes { grid-template-columns: repeat(3, 1fr); gap: 2.4rem 1.6rem; } }

.bilhete {
  position: relative;
  border-radius: 18px;
  padding: 1.9rem 1.5rem 1.6rem;
  background: var(--branco);
  box-shadow: 0 12px 24px -16px rgba(42, 26, 85, .45);
  transition: rotate .4s var(--mola), translate .4s var(--mola), box-shadow .3s ease;
}
.bilhete p { margin: 0; font-size: 1.02rem; line-height: 1.6; font-weight: 500; }
/* fita adesiva */
.bilhete::before {
  content: "";
  position: absolute;
  top: -12px; left: 50%;
  width: 84px; height: 24px;
  margin-left: -42px;
  background: rgba(185, 166, 242, .8);
  rotate: -4deg;
  border-radius: 3px;
}
.bilhete:nth-child(6n+2) { background: var(--lilas-claro); }
.bilhete:nth-child(6n+3) { background: var(--roxo); color: #fff; }
.bilhete:nth-child(6n+5) { background: var(--vermelho); color: #fff; }
.bilhete:nth-child(6n+2)::before { background: rgba(246, 207, 74, .9); rotate: 3deg; }
.bilhete:nth-child(6n+3)::before { background: rgba(255, 255, 255, .55); }
.bilhete:nth-child(6n+4)::before { background: rgba(211, 47, 39, .55); rotate: 2deg; }
.bilhete:nth-child(6n+5)::before { background: rgba(246, 207, 74, .9); rotate: -2deg; }

@media (min-width: 640px) {
  .bilhete:nth-child(1) { rotate: -2deg; }
  .bilhete:nth-child(2) { rotate: 1.5deg; translate: 0 10px; }
  .bilhete:nth-child(3) { rotate: -1deg; }
  .bilhete:nth-child(4) { rotate: 1.8deg; }
  .bilhete:nth-child(5) { rotate: -1.5deg; translate: 0 10px; }
  .bilhete:nth-child(6) { rotate: 1deg; }
  .bilhete:hover { rotate: 0deg; translate: 0 -6px; box-shadow: 0 20px 30px -18px rgba(42, 26, 85, .55); }
}

.frase-grande {
  text-align: center;
  font-size: clamp(1.9rem, 4.8vw, 2.9rem);
  color: var(--roxo-escuro);
  max-width: 26ch;
  margin: 4.5rem auto 0;
}

/* =========================================================
   3. Sobre mim (fundo roxo, foto em selo + etiquetas)
   ========================================================= */
.sobre {
  background: var(--listras), var(--roxo);
  color: #F4EFFF;
}
.sobre h2 { color: #fff; }
.sobre :focus-visible { outline-color: var(--amarelo); }

.sobre__grade { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .sobre__grade { grid-template-columns: .95fr 1.05fr; gap: 4.5rem; } }

.sobre__visual {
  position: relative;
  width: min(100%, 470px);
  justify-self: center;
}
.sobre__foto {
  position: relative;
  width: min(80%, 340px);
  margin: 0 auto;
  rotate: -3deg;
  transition: rotate .5s var(--mola);
}
.sobre__foto:hover { rotate: 0deg; }

/* Moldura de selo postal: os "furos" têm a cor do fundo da seção */
.selo-postal {
  position: relative;
  background: var(--branco);
  padding: 14px;
}
.selo-postal::before {
  content: "";
  position: absolute;
  inset: -7px;
  pointer-events: none;
  z-index: 2;
  --furo: radial-gradient(circle, var(--roxo) 6px, transparent 6.5px);
  background:
    var(--furo) 0 0 / 18px 14px repeat-x,
    var(--furo) 0 100% / 18px 14px repeat-x,
    var(--furo) 0 0 / 14px 18px repeat-y,
    var(--furo) 100% 0 / 14px 18px repeat-y;
}
.moldura--selo { aspect-ratio: 5 / 6; }
.sobre__crp {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -16px;
  translate: -50% 0;
  white-space: nowrap;
  --giro: -3deg;
}
.sobre__estrela { position: absolute; z-index: 3; top: -24px; right: -20px; width: 60px; height: 60px; }

.interesses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: 2.6rem;
  justify-items: center;
}
.sobre__foto.sem-foto + .interesses { margin-top: 0; }
.interesse {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .95rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow: 3px 4px 0 rgba(20, 10, 45, .3);
  transition: rotate .35s var(--mola), translate .35s var(--mola);
}
.interesse__icone { width: 20px; height: 20px; flex-shrink: 0; }
.interesse:hover { rotate: 0deg; translate: 0 -4px; }
.interesse--1 { background: var(--amarelo); color: var(--roxo-noite); rotate: -6deg; }
.interesse--2 { background: var(--branco); color: var(--roxo); rotate: 4deg; }
.interesse--3 { background: var(--vermelho); color: #fff; rotate: 3deg; }
.interesse--4 { background: var(--lilas); color: var(--roxo-noite); rotate: -4deg; }

/* Telas médias e grandes: etiquetas ao redor da foto, nos cantos (longe do rosto) */
@media (min-width: 600px) {
  .sobre__visual { padding: 2.5rem 0 3rem; }
  .sobre__visual:has(.sobre__foto.sem-foto) { padding: 0; }
  .sobre__foto:not(.sem-foto) + .interesses { display: block; margin: 0; }
  .sobre__foto:not(.sem-foto) + .interesses .interesse { position: absolute; z-index: 4; animation: flutuar 5s ease-in-out infinite alternate; }
  .interesse--1 { top: 1.25rem; left: -1%; }
  .interesse--2 { top: 30%; right: -4%; animation-delay: -1.5s; }
  .interesse--3 { bottom: 32%; left: -5%; animation-delay: -3s; }
  .interesse--4 { bottom: 1.5rem; right: 1%; animation-delay: -2s; }
}

.sobre__texto h2 { font-size: clamp(2.5rem, 6vw, 3.6rem); margin-bottom: 1.5rem; }
.sobre__texto p { font-size: 1.04rem; max-width: 36rem; }
.sobre__abertura {
  font-size: 1.15rem !important;
  font-weight: 500;
  color: #fff;
  padding-left: 1rem;
  border-left: 4px solid var(--amarelo);
}
.sobre__crp-alt { display: none; margin-bottom: 1.25rem; }
.sobre__grade:has(.sobre__foto.sem-foto) .sobre__crp-alt { display: inline-block; }

/* =========================================================
   4. Como trabalho (foto adesivo à esquerda, texto à direita)
   ========================================================= */
.trabalho { background: var(--creme); }
.trabalho__grade { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 900px) { .trabalho__grade { grid-template-columns: .85fr 1.15fr; gap: 5rem; } }
.trabalho__grade:has(.trabalho__foto.sem-foto) { grid-template-columns: 1fr; max-width: 46rem; }

.trabalho__foto {
  position: relative;
  width: min(80%, 400px);
  justify-self: center;
  rotate: 2.5deg;
  transition: rotate .5s var(--mola);
}
.trabalho__foto:hover { rotate: 0deg; }
.moldura--adesivo {
  aspect-ratio: 4 / 5;
  border-radius: 36px;
  border: 10px solid var(--branco);
  box-shadow: 14px 14px 0 var(--amarelo), var(--sombra);
}
.trabalho__tcc {
  position: absolute;
  z-index: 3;
  top: 9%;
  left: -9%;
  font-size: 1.35rem;
  padding: .3em .7em;
  --giro: -9deg;
}
.trabalho__estrela { position: absolute; z-index: 3; bottom: -22px; right: -24px; width: 64px; height: 64px; }

.trabalho__texto h2 { font-size: clamp(2.5rem, 6vw, 3.6rem); margin-bottom: 1.5rem; color: var(--roxo-escuro); }
.trabalho__texto p { max-width: 38rem; }

.destaques {
  display: grid;
  gap: 1rem;
  margin-top: 4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 520px) { .destaques { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .destaques { grid-template-columns: repeat(4, 1fr); } }
.destaque {
  display: flex;
  align-items: center;
  gap: .9rem;
  border-radius: 20px;
  padding: 1.1rem 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  transition: translate .35s var(--mola), rotate .35s var(--mola);
}
.destaque:hover { translate: 0 -4px; rotate: 0deg; }
.destaque:nth-child(1) { background: var(--lilas-claro); color: var(--roxo-escuro); }
.destaque:nth-child(2) { background: var(--amarelo-claro); color: var(--roxo-noite); }
.destaque:nth-child(3) { background: var(--roxo); color: #fff; }
.destaque:nth-child(4) { background: var(--branco); color: var(--roxo-escuro); border: 2px solid var(--lilas); }
@media (min-width: 720px) {
  .destaque:nth-child(odd) { rotate: -1.2deg; }
  .destaque:nth-child(even) { rotate: 1.2deg; }
}
.destaque__icone {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--amarelo);
  color: var(--roxo-noite);
}
.destaque:nth-child(2) .destaque__icone { background: var(--branco); }
.destaque__icone svg { width: 24px; height: 24px; }

/* =========================================================
   5. Atendimentos
   ========================================================= */
.atendimentos { background: var(--lilas-claro); }
.atendimentos .secao__cabecalho h2 { color: var(--roxo-escuro); }

.modalidades { display: grid; gap: 2rem; }
@media (min-width: 880px) { .modalidades { grid-template-columns: 1fr 1fr; align-items: stretch; } }

.cartao {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--branco);
  border-radius: 28px;
  overflow: hidden;
  transition: translate .35s var(--mola), box-shadow .35s var(--suave);
}
.cartao--online { box-shadow: 10px 10px 0 var(--roxo); }
.cartao--presencial { box-shadow: 10px 10px 0 var(--vermelho); }
.cartao:hover { translate: -2px -4px; }
.cartao--online:hover { box-shadow: 14px 14px 0 var(--roxo); }
.cartao--presencial:hover { box-shadow: 14px 14px 0 var(--vermelho); }

.cartao__topo {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 2.25rem);
  color: #fff;
}
.cartao--online .cartao__topo { background: var(--listras), var(--roxo); }
.cartao--presencial .cartao__topo { background: var(--estrelas-claras), var(--vermelho); }
.cartao__icone {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--amarelo);
  color: var(--roxo-noite);
  transition: rotate .45s var(--mola);
}
.cartao:hover .cartao__icone { rotate: -14deg; }
.cartao__icone svg { width: 26px; height: 26px; }
.cartao__titulo {
  font-family: var(--fonte-titulo);
  letter-spacing: var(--tracking-titulo);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 2.4rem);
  line-height: 1.1;
  color: #fff;
}
.cartao__corpo {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.cartao .botoes { margin-top: auto; padding-top: 1.75rem; }

.info-lista { margin: .5rem 0 1rem; display: grid; gap: .8rem; }
.info-lista div { background: var(--creme); border-radius: var(--raio-p); padding: 1rem 1.2rem; }
.info-lista dt {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin-bottom: .2rem;
}
.info-lista dd { margin: 0; line-height: 1.6; }
.info-lista strong { color: var(--roxo); font-weight: 600; }
.aviso {
  font-size: .9rem;
  color: var(--texto-suave);
  padding-left: .9rem;
  border-left: 3px solid var(--amarelo);
}
@media (max-width: 559px) { .cartao .botoes .botao { flex: 1 1 100%; } }

/* Galeria em polaroides */
.galeria { margin-top: clamp(4.5rem, 9vw, 6.5rem); }
.galeria__titulo {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .4rem .6rem;
  margin-bottom: 2.5rem;
}
.galeria__titulo .etiqueta { font-size: clamp(1.1rem, 2.6vw, 1.45rem); }
.galeria__titulo .etiqueta--lilas { --giro: 2deg; }

.galeria__trilho {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding: .5rem .25rem 1.25rem;
}
.galeria__trilho::-webkit-scrollbar { display: none; }
.galeria__lista { display: flex; gap: 1rem; }
.galeria__item {
  flex: 0 0 100%;
  scroll-snap-align: center;
}
.polaroide {
  background: var(--branco);
  padding: 12px 12px 0;
  border-radius: 6px;
  box-shadow: 0 16px 30px -18px rgba(42, 26, 85, .5);
  transition: rotate .45s var(--mola), scale .45s var(--mola);
}
.polaroide .moldura { aspect-ratio: 3 / 4; border-radius: 3px; }   /* polaroides em pé */
.polaroide figcaption {
  font-family: var(--fonte-titulo);
  letter-spacing: var(--tracking-titulo);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--roxo);
  text-align: center;
  padding: .7rem 0 .9rem;
}

.galeria__controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: .5rem;
}
.galeria__botao {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--roxo);
  background: var(--branco);
  color: var(--roxo);
  cursor: pointer;
  transition: background-color .2s ease, transform .3s var(--mola);
}
.galeria__botao:hover:not(:disabled) { background: var(--amarelo); transform: scale(1.08); }
.galeria__botao:disabled { opacity: .35; cursor: default; }
.galeria__contador { margin: 0; min-width: 4.5rem; text-align: center; font-weight: 600; font-size: .95rem; }

@media (min-width: 720px) {
  .galeria__trilho { overflow: visible; padding: 1rem 0 0; }
  .galeria__controles { display: none; }
  .galeria__lista { justify-content: center; gap: 0; }
  .galeria__item { flex: 0 1 30%; position: relative; }
  .galeria__item:nth-child(1) .polaroide { rotate: -5deg; }
  .galeria__item:nth-child(2) { margin: 2rem -1.5rem 0; z-index: 1; }
  .galeria__item:nth-child(2) .polaroide { rotate: 3deg; }
  .galeria__item:nth-child(3) .polaroide { rotate: -2deg; }
  .galeria__item:hover { z-index: 3; }
  .galeria__item:hover .polaroide { rotate: 0deg; scale: 1.04; }
}
.galeria--qtd-1 .galeria__controles { display: none; }

/* =========================================================
   6. Solicitação de horário
   ========================================================= */
.solicitar-secao { background: var(--estrelas-claras), var(--roxo-escuro); overflow: hidden; }
.solicitar-secao .secao__cabecalho h2 { color: #fff; }
.solicitar-secao > .estrela-grande { position: absolute; }
.solicitar__estrela-a { width: 64px; height: 64px; top: 9%; left: 6%; }
.solicitar__estrela-b { width: 40px; height: 40px; top: 20%; right: 8%; }
@media (max-width: 699px) {
  .solicitar__estrela-a { width: 40px; height: 40px; top: 1.25rem; left: 1.25rem; }
  .solicitar__estrela-b { width: 28px; height: 28px; top: 1.75rem; right: 1.5rem; }
}

.solicitar {
  background: var(--branco);
  border-radius: 32px;
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: 12px 12px 0 var(--amarelo);
}
.escolha { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
.escolha__legenda {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  color: var(--roxo);
  margin-bottom: 1rem;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}
.passo {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--amarelo);
  color: var(--roxo-noite);
  font-size: .85rem;
  font-weight: 700;
}

.modalidade-opcoes { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .modalidade-opcoes { grid-template-columns: 1fr; } }

.modalidade-opcao, .horario { position: relative; display: block; cursor: pointer; }
.modalidade-opcao input, .horario input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.modalidade-opcao__caixa {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  height: 100%;
  padding: 1.2rem 1.2rem 1.25rem;
  border: 2px solid var(--linha);
  border-radius: var(--raio);
  background: var(--creme);
  transition: background-color .3s ease, border-color .3s ease, transform .35s var(--mola), box-shadow .35s var(--suave);
}
.modalidade-opcao__caixa::after {
  content: "";
  position: absolute;
  top: .9rem; right: .9rem;
  width: 26px; height: 26px;
  background: var(--amarelo);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.05 6.5 7.15.85-5.3 4.85 1.45 7.05L12 17.5l-6.35 3.55 1.45-7.05-5.3-4.85 7.15-.85z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.05 6.5 7.15.85-5.3 4.85 1.45 7.05L12 17.5l-6.35 3.55 1.45-7.05-5.3-4.85 7.15-.85z'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: scale(0) rotate(-120deg);
  transition: transform .5s var(--mola);
}
.modalidade-opcao__icone {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--lilas-claro);
  color: var(--roxo);
  margin-bottom: .6rem;
  transition: background-color .3s ease, color .3s ease, transform .45s var(--mola);
}
.modalidade-opcao__icone svg { width: 24px; height: 24px; }
.modalidade-opcao__titulo { font-weight: 600; line-height: 1.3; color: var(--texto); transition: color .3s ease; }
.modalidade-opcao__detalhe { font-size: .85rem; color: var(--texto-suave); transition: color .3s ease; }

.modalidade-opcao:hover .modalidade-opcao__caixa { border-color: var(--lilas); transform: translateY(-3px); }
.modalidade-opcao input:checked + .modalidade-opcao__caixa {
  background: var(--listras), var(--roxo);
  border-color: var(--roxo);
  box-shadow: 5px 6px 0 var(--amarelo);
}
.modalidade-opcao input:checked + .modalidade-opcao__caixa::after { transform: scale(1) rotate(0); }
.modalidade-opcao input:checked + .modalidade-opcao__caixa .modalidade-opcao__icone { background: var(--amarelo); color: var(--roxo-noite); transform: rotate(-10deg) scale(1.08); }
.modalidade-opcao input:checked + .modalidade-opcao__caixa .modalidade-opcao__titulo { color: #fff; }
.modalidade-opcao input:checked + .modalidade-opcao__caixa .modalidade-opcao__detalhe { color: #E8DFFB; }
.modalidade-opcao input:focus-visible + .modalidade-opcao__caixa { outline: 3px solid var(--roxo); outline-offset: 4px; }

.painel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .45s var(--suave), opacity .35s ease;
}
.painel.aberto { grid-template-rows: 1fr; opacity: 1; }
.painel__interno { min-height: 0; overflow: hidden; }
.painel.aberto .painel__interno { padding: .25rem .25rem .5rem; margin: -.25rem; }

.painel__nota {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--lilas-claro);
  border-radius: var(--raio-p);
  padding: 1rem 1.2rem;
  color: var(--roxo);
  font-weight: 500;
  margin: 0 0 1.75rem;
}

.horarios { display: grid; gap: .7rem; grid-template-columns: repeat(3, 1fr); }
.horario--largo { grid-column: 1 / -1; }
.horario__caixa {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: .7rem 1rem;
  border: 2px solid var(--linha);
  border-radius: 999px;
  background: var(--creme);
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
  color: var(--texto);
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .3s var(--mola);
}
.horario:not(.horario--largo) .horario__caixa { font-size: 1.15rem; }
.horario--largo .horario__caixa { font-size: .95rem; font-weight: 500; }
.horario:hover .horario__caixa { border-color: var(--lilas); }
.horario input:checked + .horario__caixa {
  background: var(--lilas-claro);
  border-color: var(--roxo);
  color: var(--roxo);
  box-shadow: 3px 4px 0 var(--amarelo);
}
.horario input:checked + .horario__caixa::before { content: "✓"; margin-right: .45rem; font-size: .9em; }
.horario input:focus-visible + .horario__caixa { outline: 3px solid var(--roxo); outline-offset: 3px; }

.solicitar__acao { display: flex; flex-direction: column; gap: .85rem; margin-top: .5rem; }
.solicitar__acao .botao { width: 100%; flex-shrink: 0; white-space: nowrap; }
@media (min-width: 640px) {
  .solicitar__acao { flex-direction: row; align-items: center; gap: 1.25rem; }
  .solicitar__acao .botao { width: auto; }
}
.nota-envio { font-size: .92rem; color: var(--texto-suave); margin: 0; }

/* =========================================================
   7. Dúvidas
   ========================================================= */
.duvidas { background: var(--creme); }
.duvidas__grade { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .duvidas__grade { grid-template-columns: .75fr 1.25fr; gap: 4rem; align-items: start; }
  .duvidas__cabecalho { position: sticky; top: calc(var(--altura-topo) + 2rem); }
}
.duvidas__cabecalho h2 { font-size: clamp(2.5rem, 6vw, 3.6rem); margin-bottom: 1.25rem; color: var(--roxo-escuro); }
.duvidas__estrelas { display: flex; align-items: flex-end; gap: .5rem; margin-bottom: 1.5rem; }
.duvidas__estrelas .estrela-grande:first-child { width: 46px; height: 46px; }
.duvidas__estrelas .estrela-grande:nth-child(2) { width: 32px; height: 32px; }

.faq { display: grid; gap: .85rem; }
.faq details {
  background: var(--branco);
  border: 2px solid var(--linha);
  border-radius: var(--raio);
  transition: border-color .25s ease, box-shadow .3s var(--suave);
}
.faq details[open] { border-color: var(--roxo); box-shadow: 6px 6px 0 var(--lilas); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-weight: 600;
  color: var(--texto);
  border-radius: var(--raio);
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(var(--roxo), var(--roxo)) center / 12px 2px no-repeat,
    linear-gradient(var(--roxo), var(--roxo)) center / 2px 12px no-repeat,
    var(--lilas-claro);
  transition: transform .4s var(--mola), background-color .25s ease;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--amarelo); }
.faq details p { padding: 0 1.4rem 1.4rem; margin: 0; color: var(--texto-suave); }
.faq details[open] p { animation: abrir .4s var(--suave); }

/* =========================================================
   8. Fechamento (bloco vermelho com estrelas)
   ========================================================= */
.fechamento { padding-top: 0; background: var(--creme); }
.fechamento__caixa {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  justify-items: center;
  text-align: center;
  background: var(--estrelas-claras), var(--vermelho);
  color: #fff;
  border-radius: var(--raio-g) var(--raio-g) 140px var(--raio-g);
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  box-shadow: 12px 12px 0 var(--roxo);
}
.fechamento__caixa :focus-visible { outline-color: #fff; }
@media (min-width: 800px) {
  .fechamento__caixa { grid-template-columns: auto 1fr; text-align: left; justify-items: start; gap: 3.5rem; }
  .fechamento__caixa:has(.fechamento__foto.sem-foto) { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
.fechamento__texto h2 { color: #fff; font-size: clamp(2.4rem, 6.5vw, 3.6rem); margin-bottom: 1.1rem; }
.fechamento__texto p { max-width: 32rem; margin-bottom: 2rem; }
.fechamento__caixa:has(.fechamento__foto.sem-foto) .fechamento__texto p { margin-left: auto; margin-right: auto; }

.fechamento__foto { position: relative; width: clamp(170px, 24vw, 250px); }
.moldura--circulo {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 7px solid var(--branco);
  box-shadow: 10px 10px 0 var(--amarelo);
}
.fechamento__estrela-foto { position: absolute; top: -4%; right: -4%; width: 54px; height: 54px; }

/* =========================================================
   9. Rodapé
   ========================================================= */
.rodape {
  background: var(--listras), var(--roxo-noite);
  color: #E9E1F7;
  padding: 4rem 0 6rem;
  font-size: .95rem;
}
.rodape p { margin: 0 0 .35rem; }
.rodape a { color: #fff; }
.rodape a:focus-visible { outline-color: var(--amarelo); }
.rodape__grade { display: grid; gap: 2.25rem; }
@media (min-width: 760px) { .rodape__grade { grid-template-columns: 1.2fr 1fr 1fr; } }
.rodape__nome {
  font-family: var(--fonte-titulo);
  letter-spacing: var(--tracking-titulo);
  font-size: 2.3rem;
  line-height: 1.1;
  color: #fff;
  margin-bottom: .5rem !important;
}
.rodape__titulo {
  font-family: var(--fonte-texto);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amarelo);
  margin-bottom: .75rem;
}
.rodape__base {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  font-size: .85rem;
}
.rodape__topo { text-decoration: none; }

/* =========================================================
   WhatsApp flutuante
   ========================================================= */
.whatsapp-flutuante {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  width: 60px; height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--roxo);
  color: #fff;
  border: 3px solid var(--branco);
  box-shadow: 4px 5px 0 var(--amarelo);
  transition: transform .35s var(--mola), box-shadow .3s var(--suave);
}
.whatsapp-flutuante .icone { width: 30px; height: 30px; }
.whatsapp-flutuante:hover { transform: scale(1.1) rotate(-8deg); box-shadow: 6px 7px 0 var(--amarelo); }

/* =========================================================
   Animações
   ========================================================= */
/* Aparecer ao rolar — só quando o JavaScript liga a classe .animar */
.animar .revelar {
  opacity: 0;
  transform: var(--de, translateY(28px));
  transition: opacity .8s var(--suave), transform .9s var(--mola);
  transition-delay: var(--atraso, 0s);
}
.animar .revelar[data-anim="esquerda"] { --de: translateX(-40px); }
.animar .revelar[data-anim="direita"] { --de: translateX(40px); }
.animar .revelar[data-anim="pop"] { --de: scale(.86) rotate(-4deg); }
.animar .revelar.visivel { opacity: 1; transform: none; }

.brilhar { animation: brilhar 5s ease-in-out infinite; animation-delay: var(--d, 0s); transform-box: fill-box; transform-origin: center; }

@keyframes brilhar {
  0%, 100% { transform: scale(1) rotate(0); }
  50% { transform: scale(.86) rotate(18deg); }
}
@keyframes flutuar {
  from { transform: translateY(0); }
  to { transform: translateY(-7px); }
}
@keyframes rolar { to { transform: translateX(-50%); } }
@keyframes abrir { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  /* Faixa parada: mostra a sequência uma vez, centralizada */
  .faixa__trilho { width: auto; flex-wrap: wrap; justify-content: center; padding: 0 1rem; row-gap: .25rem; }
  .faixa__trilho > :nth-child(n+8) { display: none; }
  .faixa__pausa { display: none; }
  .botao:hover, .whatsapp-flutuante:hover, .modalidade-opcao:hover .modalidade-opcao__caixa { transform: none; }
}
