/* ══════════════════════════════════════════════════════════════
   SANDREANE DIAS — Arteterapeuta & Autora
   Design system baseado no portfólio visual (PDF)
   Paleta: tons terrosos, aquarela, botânico, artesanal
   ══════════════════════════════════════════════════════════════ */

:root {
  /* ══ Backgrounds — claros, menos bege ══ */
  --paper: #FEFCF8;
  --cream: #FDFCF6;
  --cream-warm: #FBF8EC;

  /* ══ Acentos primários — extraídos das páginas do livro ══ */
  --rose: #E87898;          /* rosa vibrante (era #d88b91) */
  --rose-light: rgba(232, 120, 152, 0.22);
  --rose-soft: rgba(232, 120, 152, 0.12);
  --coral: #C86448;         /* coral quente com contraste 3.8:1 */
  --coral-light: rgba(200, 100, 72, 0.24);
  --lavender: #9858B0;      /* lavanda/púrpura (nova) */
  --lavender-light: rgba(152, 88, 176, 0.18);
  --teal: #3890A0;          /* teal/azul-esverdeado (era --sage #9fa88a) */
  --teal-light: rgba(56, 144, 160, 0.16);
  --gold: #D8B840;          /* dourado quente (novo) */
  --gold-light: rgba(216, 184, 64, 0.2);

  /* ══ Tom âncora — vinho/rose profundo para textos e detalhes ══ */
  --wine: #B84868;          /* rose profundo (era #9b4a5a) */
  --wine-soft: rgba(184, 72, 104, 0.14);

  /* ══ Azul suave decorativo ══ */
  --blue: #A8D8E0;          /* azul claro (era #bfd9e8) */

  /* ══ Texto ══ */
  --text: #3A2820;
  --text-richer: #2A1A14;
  --ink-soft: rgba(58, 40, 32, 0.68);
  --ink-light: rgba(58, 40, 32, 0.48);

  /* ══ Sombras & bordas ══ */
  --shadow: 0 24px 70px rgba(58, 40, 32, 0.11);
  --shadow-sm: 0 12px 32px rgba(58, 40, 32, 0.06);
  --radius: 8px;
  --radius-lg: 14px;

  /* ══ Tipografia ══ */
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --body: "Lora", "Segoe UI", Georgia, serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --typewriter: "Special Elite", "Courier New", Courier, monospace;
}

/* ══════════════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════════════ */

* { box-sizing: border-box; }
/* Sem scroll-behavior no html: no iOS Safari ele quebra o position:sticky
   do header. O smooth scroll de âncoras já é feito via JS (main.js). */

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(240, 136, 104, 0.12), transparent 30rem),
    radial-gradient(ellipse at 86% 18%, rgba(168, 216, 224, 0.10), transparent 26rem),
    var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.72;
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════════════════════════
   SECTION BACKGROUNDS — imagens das páginas do livro
   Cada seção recebe uma textura única extraída de bgPausasQueAcolhem
   ══════════════════════════════════════════════════════════════ */

/* .section-shell base — full-width background, content stays constrained */
.section-shell::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Hero — parchment claro (3.png) — full-width bg */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background-image: url('../images/bgPausasQueAcolhem/3.avif');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Eu Sou — tom rose-terroso (13.png) */
#sobre::before {
  background-image: url('../images/bgPausasQueAcolhem/13.avif');
  opacity: 0.06;
  mix-blend-mode: multiply;
}

/* Arteterapia — verde profundo (1.png) */
#arteterapia::before {
  background-image: url('../images/bgPausasQueAcolhem/1.avif');
  opacity: 0.06;
  mix-blend-mode: multiply;
}

/* Publicações — neutro escuro (2.png) */
#publicacoes::before {
  background-image: url('../images/bgPausasQueAcolhem/2.avif');
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* Livro — dourado escuro + muito escuro (14.png + 6.png) */
#livro::before {
  background-image: url('../images/bgPausasQueAcolhem/14.avif');
  opacity: 0.07;
  mix-blend-mode: multiply;
}

/* A Tecelã — terroso quente (12.png, via .tecela::before abaixo) */

/* Voluntariado — marrom quente (5.png) */
#voluntariado::before {
  background-image: url('../images/bgPausasQueAcolhem/5.avif');
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* Materiais Expressivos — madeira/tablado (10.png) */
.materials::before {
  background-image: url('../images/bgPausasQueAcolhem/10.avif');
  opacity: 0.06;
  mix-blend-mode: multiply;
}

/* Pessoa Idosa — púrpura escuro (7.png) */
.elderly::before {
  background-image: url('../images/bgPausasQueAcolhem/7.avif');
  opacity: 0.06;
  mix-blend-mode: multiply;
}

/* Galeria Sensorial — tom rosado escuro (11.png) */
#galeria::before {
  background-image: url('../images/bgPausasQueAcolhem/11.avif');
  opacity: 0.06;
  mix-blend-mode: multiply;
}

/* Instagram — dourado escuro (8.png) */
#instagram::before {
  background-image: url('../images/bgPausasQueAcolhem/8.avif');
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* CTA Final — dourado intenso (9.png) */
#contato::before {
  background-image: url('../images/bgPausasQueAcolhem/9.avif');
  opacity: 0.06;
  mix-blend-mode: multiply;
}

/* Tecela section (usa id=vivencias mas também classe tecela) */
.tecela::before {
  background-image: url('../images/bgPausasQueAcolhem/12.avif');
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* Textura sutil de papel artesanal — intencional para a estética do portfólio */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    radial-gradient(rgba(58, 40, 32, 0.04) 0.5px, transparent 0.5px);
  background-size: 38px 38px;
  mix-blend-mode: multiply;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid rgba(200, 100, 72, 0.72);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 30;
  transform: translateY(-140%);
  background: var(--text);
  color: var(--cream);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
}
.skip-link:focus { transform: translateY(0); }

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  background: rgba(254, 252, 248, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 350ms ease, opacity 350ms ease;
  transform: translateY(0);
  opacity: 1;
  /* sem will-change: combinado com backdrop-filter causa bug de
     compositing no Chrome Android que deixa o header invisível */
}

/* When header is hidden (scrolled down) */
.site-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}


.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1.15;
}

/* Logo header + espiral lado a lado */
.brand .flex {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

#espiralHeader {
  flex-shrink: 0;
}

/* ─── Pulsar lento — imagem Arteterapia ─── */
#imagemArteterapia {
  animation: pulsoLento 4s ease-in-out infinite;
}

@keyframes pulsoLento {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}
.brand span {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  color: var(--wine);
}
.brand small {
  font-family: var(--typewriter);
  font-size: 0.68rem;
  color: var(--ink-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.main-nav a {
  text-decoration: none;
  padding: 0.45rem 0.2rem;
  transition: color 200ms ease;
}
.main-nav a:hover { color: var(--wine); }

/* Ícone social no menu (Instagram) */
.nav-social {
  display: inline-flex;
  align-items: center;
  margin-left: 0.3rem;
  padding: 0.35rem;
  opacity: 0.65;
  transition: opacity 200ms ease, color 200ms ease;
}
.nav-social:hover { opacity: 1; color: var(--wine); }

/* ─── Hamburger button (mobile only) ─── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 999;
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
  transform-origin: center;
}
/* X state when open */
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════════════════
   FIO LATERAL (scroll thread)
   ══════════════════════════════════════════════════════════════ */

/* ══ Assinatura visual: o fio que percorre a página ══ */
.thread-scroll {
  position: fixed;
  top: 0;
  left: clamp(0.5rem, 2.5vw, 1.8rem);
  width: 4.8rem;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
  opacity: 0.72;
  filter: drop-shadow(0 0 6px rgba(184, 72, 104, 0.25));
}

.thread-scroll path,
.hand-thread path {
  fill: none;
  stroke: var(--wine);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ══════════════════════════════════════════════════════════════
   WATERCOLOR — uma única mancha decorativa sutil no hero
   ══════════════════════════════════════════════════════════════ */

.watercolor {
  position: absolute;
  border-radius: 48% 52% 61% 39%;
  filter: blur(14px);
  opacity: 0.32;
  pointer-events: none;
}
.wc-1 { width: 22rem; height: 18rem; left: -8rem; top: 8rem; background: rgba(240, 136, 104, 0.3); }

/* ══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════════════════════════════════ */

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(3rem, 5.3vw, 5.1rem); max-width: 14ch; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--wine);
  font-family: var(--typewriter);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-text,
.section-heading p,
.book-copy p,
.identity-copy p,
.therapy-text p,
.tecela-text p,
.voluntariado-copy p,
.materials-text p,
.elderly-copy p,
.instagram-copy p,
.final-inner p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.15rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: var(--coral);
  color: #FDFCF6;
  box-shadow: 0 16px 34px rgba(200, 100, 72, 0.24);
}
.button.primary:hover { box-shadow: 0 20px 40px rgba(200, 100, 72, 0.32); }
.button.ghost {
  background: rgba(253, 252, 246, 0.72);
  color: var(--wine);
  border-color: rgba(184, 72, 104, 0.2);
}
.button.ghost:hover { background: rgba(253, 252, 246, 0.92); }

/* ══════════════════════════════════════════════════════════════
   LAYOUT UTILITIES
   ══════════════════════════════════════════════════════════════ */

.section-shell {
  position: relative;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: clamp(1.8rem, 4.5vw, 3.5rem);
}
.section-heading.narrow {
  max-width: 62rem;
  margin-inline: auto;
  text-align: center;
}
.section-heading.narrow h2 { margin-inline: auto; }

/* ══════════════════════════════════════════════════════════════
   1. HERO
   ══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: calc(100vh - 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-media { position: relative; z-index: 2; }
.hero-copy { position: relative; z-index: 3; min-width: 0; }

.portrait-frame {
  position: relative;
  max-width: 28rem;
  margin-inline: auto;
}

.portrait-wreath {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
}
.portrait-wreath svg {
  width: 100%;
  height: 100%;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 8% -5% -4% 6%;
  border: 1px solid rgba(184, 72, 104, 0.18);
  border-radius: 54% 46% 42% 58% / 47% 42% 58% 53%;
  transform: rotate(-3deg);
  z-index: -1;
}

.portrait-frame img {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  object-position: 52% 45%;
  border-radius: 50% 50% 8px 8px;
  box-shadow: var(--shadow);
}

.hand-thread {
  position: absolute;
  right: -8%;
  bottom: 14%;
  width: min(76%, 26rem);
  filter: drop-shadow(0 8px 12px rgba(58, 40, 32, 0.06));
}

/* Hero quote */
.hero-quote {
  margin: 1.5rem 0;
  padding: 0;
  border: none;
  font-style: italic;
  color: var(--ink-soft);
}
.hero-quote p {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.5;
  font-style: italic;
}
.hero-quote cite {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--typewriter);
  font-size: 0.8rem;
  font-style: normal;
  color: var(--ink-light);
}

.hero-text {
  max-width: 34rem;
  margin: 1.1rem 0 0;
}

/* ══════════════════════════════════════════════════════════════
   2. EU SOU (identity)
   ══════════════════════════════════════════════════════════════ */

.identity-board {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.identity-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

.identity-copy { position: relative; }

.identity-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem) !important;
  color: var(--text-richer) !important;
  font-style: italic;
  line-height: 1.5;
}

.identity-signature {
  font-family: var(--hand);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem) !important;
  color: var(--wine) !important;
  margin-top: 1.2rem;
}

.word-map {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.word-map span {
  position: relative;
  border: 1px solid rgba(184, 72, 104, 0.14);
  border-radius: 999px;
  background: rgba(253, 252, 246, 0.55);
  padding: 0.5rem 0.78rem;
  color: var(--text);
  font-family: var(--body);
  font-style: italic;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  transition: background 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}
.word-map span:hover {
  background: rgba(240, 136, 104, 0.08);
  transform: scale(1.03) rotate(-1deg);
}

/* ══════════════════════════════════════════════════════════════
   3. ARTETERAPIA
   ══════════════════════════════════════════════════════════════ */

.therapy-section {
  isolation: isolate;
}

.therapy-bg { position: absolute; inset: 0; pointer-events: none; }
.therapy-watercolor {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 26rem;
  height: 22rem;
  border-radius: 45% 55% 52% 48%;
  background: rgba(232, 120, 152, 0.1);
  filter: blur(14px);
}

.therapy-content {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.therapy-visual img {
  border-radius: var(--radius-lg);
  /*box-shadow: var(--shadow);*/
  /*aspect-ratio: 3 / 4;*/
  object-fit: cover;
  width: 100%;
}

.therapy-text {
  position: relative;
  z-index: 1;
}

.therapy-quote {
  margin: 1.8rem 0 0;
  padding: 1rem 0 0;
  border: none;
  border-top: 1px solid rgba(184, 72, 104, 0.15);
  font-family: var(--hand);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  color: var(--wine);
  font-style: normal;
}
.therapy-quote cite {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--typewriter);
  font-size: 0.72rem;
  color: var(--ink-light);
  font-style: normal;
}

/* ─── Symbol grid (dentro de Arteterapia) ─── */

.symbol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
}
.symbol-grid::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 72, 104, 0.25), transparent);
}

.symbol-card {
  position: relative;
  min-height: 14rem;
  padding: 1.3rem;
  border: 1px solid rgba(184, 72, 104, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 22% 12%, rgba(240, 136, 104, 0.14), transparent 8rem),
    rgba(253, 252, 246, 0.78);
  box-shadow: var(--shadow-sm);
  transition: transform 350ms ease, box-shadow 350ms ease;
}
.symbol-card:nth-child(even) { transform: translateY(1.5rem) rotate(0.8deg); }
.symbol-card:nth-child(odd) { transform: rotate(-0.5deg); }
.symbol-card:hover,
.symbol-card.is-hovered {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow);
}
.symbol-mark {
  display: inline-flex;
  color: var(--wine);
}
.symbol-card h3 { margin-top: 1.4rem; }
.symbol-card p { color: var(--ink-soft); }

/* ══════════════════════════════════════════════════════════════
   4. PUBLICAÇÕES
   ══════════════════════════════════════════════════════════════ */

.pub-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.pub-text p { color: var(--ink-soft); }

.pub-books {
  display: grid;
  gap: 1.2rem;
}

.pub-book-card {
  display: grid;
  gap: 0.2rem;
  padding: 1.5rem;
  border: 1px solid rgba(184, 72, 104, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(253, 252, 246, 0.72);
  box-shadow: var(--shadow-sm);
  transition: transform 350ms ease, box-shadow 350ms ease;
}
.pub-book-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.pub-book-icon {
  display: inline-flex;
  color: var(--wine);
}
.pub-book-card strong {
  color: var(--text-richer);
  font-family: var(--serif);
  font-size: 1.1rem;
}
.pub-book-card small {
  color: var(--ink-light);
  font-family: var(--typewriter);
  font-size: 0.72rem;
}

/* ══════════════════════════════════════════════════════════════
   5. LIVRO
   ══════════════════════════════════════════════════════════════ */

.book-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 7vw, 5rem);
  align-items: center;
  position: relative;
}

.book-watercolor {
  position: absolute;
  bottom: -4rem;
  left: -8rem;
  width: 22rem;
  height: 20rem;
  border-radius: 48% 52% 55% 45%;
  background: rgba(56, 144, 160, 0.12);
  filter: blur(14px);
  pointer-events: none;
}

.book-subtitle {
  color: var(--wine);
  font-family: var(--hand);
  font-size: clamp(1.2rem, 2vw, 1.8rem) !important;
  margin-top: 0.3rem !important;
}

.book-closing {
  font-style: italic;
  margin-top: 1.5rem !important;
}
.book-closing span {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--hand);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--wine);
  font-style: normal;
}
.heart-icon { color: var(--rose); }

.book-showcase {
  position: relative;
  min-height: 34rem;
}
.book-cover, .book-page {
  position: absolute;
  width: min(58%, 20rem);
  border-radius: var(--radius-lg);
  /*box-shadow: var(--shadow);*/
}
.book-cover {
  left: 8%;
  top: 0;
  transform: rotate(-4deg);
  z-index: 2;
}
.book-page {
  right: 6%;
  top: 8rem;
  transform: rotate(6deg);
}

/* Para quem é este livro */
.reader-block {
  width: min(58rem, 100%);
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(184, 72, 104, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 8%, rgba(240, 136, 104, 0.14), transparent 8rem),
    rgba(253, 252, 246, 0.78);
  box-shadow: var(--shadow-sm);
}
.reader-block::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-bottom: 1rem;
  background: rgba(184, 72, 104, 0.18);
  border-radius: 1px;
}
.reader-block h3 {
  color: var(--wine);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}
.reader-block ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.2rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.reader-block li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}
.reader-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--rose);
}

/* Page gallery */
.page-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 2vw, 1.3rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.page-gallery img {
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(58, 40, 32, 0.08);
  transition: transform 400ms ease, box-shadow 400ms ease;
  /* centraliza quando a célula é mais larga que a imagem (200px do HTML) */
  margin-inline: auto;
}
.page-gallery img:nth-child(2),
.page-gallery img:nth-child(4) { transform: translateY(1.8rem); }
.page-gallery img:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 22px 52px rgba(58, 40, 32, 0.12);
}

/* ══════════════════════════════════════════════════════════════
   GALERIA GRID — Grid com animação 3D no scroll
   ══════════════════════════════════════════════════════════════ */

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  perspective: 1200px;
  transform-style: preserve-3d;
}

.galeria-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  box-shadow: var(--shadow-sm);
}

.galeria-item:hover {
  box-shadow: var(--shadow);
}

.galeria-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 640px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   6. A TECELÃ
   ══════════════════════════════════════════════════════════════ */

.tecela {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(56, 144, 160, 0.1), transparent 24rem),
    radial-gradient(ellipse at 20% 70%, rgba(240, 136, 104, 0.08), transparent 20rem);
}

.tecela-subtitle {
  font-family: var(--body) !important;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.6rem) !important;
  color: var(--wine) !important;
  margin-top: 0.8rem !important;
  line-height: 1.25 !important;
}

.tecela-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.tecela-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  transition: transform 350ms ease, box-shadow 350ms ease;
  border-radius: var(--radius);
}

/*.vol-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 350ms ease, box-shadow 350ms ease;
}*/

.tecela-text p { color: var(--ink-soft); }

.tecela-visual img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

.congresso-badge {
  display: grid;
  gap: 0.3rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 2px solid rgba(184, 72, 104, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(253, 252, 246, 0.8);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.congresso-number {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 5rem);
  color: var(--wine);
  line-height: 1;
}
.congresso-title {
  font-family: var(--typewriter);
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.congresso-local {
  font-family: var(--typewriter);
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  color: var(--ink-soft);
}

/* ══════════════════════════════════════════════════════════════
   7. VOLUNTARIADO
   ══════════════════════════════════════════════════════════════ */

.voluntariado-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.voluntariado-header {
  text-align: left;
}

.voluntariado-visual { position: relative; }

.vol-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.8rem, 2vw, 1.2rem);
}

.vol-photos img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 350ms ease, box-shadow 350ms ease;
}

.vol-photos img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

.voluntariado-bottom {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.voluntariado-copy p { color: var(--ink-soft); }

.voluntariado-cards {
  display: grid;
  gap: 1rem;
}

.vol-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid rgba(184, 72, 104, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(253, 252, 246, 0.7);
  box-shadow: var(--shadow-sm);
  transition: transform 350ms ease, box-shadow 350ms ease;
}
.vol-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.vol-card strong {
  color: var(--text-richer);
  font-family: var(--serif);
  font-size: 1.1rem;
}
.vol-card-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--wine);
}

/* ══════════════════════════════════════════════════════════════
   8. MATERIAIS EXPRESSIVOS
   ══════════════════════════════════════════════════════════════ */

.materials {
  background:
    radial-gradient(ellipse at 15% 60%, rgba(240, 136, 104, 0.08), transparent 22rem),
    radial-gradient(ellipse at 85% 20%, rgba(168, 216, 224, 0.08), transparent 18rem);
}

.materials-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: 3rem;
}

.materials-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.materials-text {
  max-width: 58rem;
}
.materials-text p { color: var(--ink-soft); }

/* ─── Techniques grid ─── */

.techniques-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
}

.technique-card {
  border: 1px solid rgba(184, 72, 104, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(253, 252, 246, 0.74);
  box-shadow: var(--shadow-sm);
  transition: transform 400ms ease, box-shadow 400ms ease;
}
.technique-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.technique-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: rgba(56, 144, 160, 0.06);
}
.technique-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.technique-card:hover .technique-img img { transform: scale(1.04); }
/* Subtle inner shadow on technique images for depth */
.technique-img::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -1px 0 rgba(75,55,48,0.05);
  pointer-events: none;
}

.technique-info {
  padding: 1.2rem 1.3rem;
}
.technique-info h3 {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-richer);
  margin: 0 0 0.4rem;
}
.technique-info p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.45;
}

/* ══════════════════════════════════════════════════════════════
   9. ARTETERAPIA E PESSOA IDOSA
   ══════════════════════════════════════════════════════════════ */

.elderly-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.elderly-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  width: 100%;
}

/* Mobile: esconde desktop, mostra mobile */
.elderly-visual-mobile { display: none; }

.elderly-copy p { color: var(--ink-soft); }

.highlight-card {
  padding: clamp(1.8rem, 3vw, 2.5rem);
  border: 1px solid rgba(184, 72, 104, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 25% 15%, rgba(240, 136, 104, 0.16), transparent 10rem),
    rgba(253, 252, 246, 0.8);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.highlight-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.8rem;
  color: var(--wine);
}
.highlight-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2rem) !important;
  color: var(--wine) !important;
  margin-bottom: 0.6rem !important;
}

/* ══════════════════════════════════════════════════════════════
   10. INSTAGRAM
   ══════════════════════════════════════════════════════════════ */

.instagram {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.post-card {
  min-height: 15rem;
  padding: 1.2rem;
  border: 1px solid rgba(184, 72, 104, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 8%, rgba(240, 136, 104, 0.14), transparent 8rem),
    rgba(253, 252, 246, 0.78);
  box-shadow: var(--shadow-sm);
  transition: transform 350ms ease, box-shadow 350ms ease;
}
.post-card:hover {
  transform: translateY(-3px) rotate(-0.5deg);
  box-shadow: var(--shadow);
}
.post-card .post-card-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--wine);
  font-family: var(--typewriter);
  font-size: 0.74rem;
  text-transform: uppercase;
}
.post-card .post-card-label svg {
  flex-shrink: 0;
  color: var(--wine);
}

.symbol-mark svg,
.pub-book-icon svg,
.vol-card-icon svg,
.highlight-icon svg {
  display: block;
  color: var(--wine);
}
.post-card p {
  margin-top: 3rem;
  color: var(--ink-soft);
  font-size: 0.95rem !important;
}

/* ══════════════════════════════════════════════════════════════
   11. CTA FINAL
   ══════════════════════════════════════════════════════════════ */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) 1rem;
  background:
    radial-gradient(circle at 16% 25%, rgba(240, 136, 104, 0.22), transparent 24rem),
    radial-gradient(circle at 78% 35%, rgba(168, 216, 224, 0.22), transparent 22rem),
    radial-gradient(circle at 50% 60%, rgba(232, 120, 152, 0.08), transparent 18rem),
    rgba(253, 252, 246, 0.5);
}

.final-inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}
.final-inner h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem) !important;
  font-weight: 400 !important;
  color: var(--ink-soft) !important;
  line-height: 1.4 !important;
  font-style: italic;
}
.final-signature {
  font-family: var(--hand);
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  color: var(--wine) !important;
  margin: 1.5rem 0 0.2rem !important;
}
.final-credential {
  font-family: var(--typewriter);
  font-size: 0.72rem !important;
  color: var(--ink-light) !important;
  margin: 0 0 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.final-inner .actions { justify-content: center; }

#logoAssinatura {
  display: block;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.site-footer div { display: grid; }
.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.site-footer strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.15rem;
}
.site-footer nav { display: flex; gap: 1rem; }
.site-footer nav a { text-decoration: none; }
.site-footer p { margin: 0; text-align: right; }

/* ══════════════════════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════════════════════ */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 1.5rem;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(184, 72, 104, 0.2);
  border-radius: 50%;
  background: rgba(253, 252, 246, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--wine);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(58, 40, 32, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 350ms ease, visibility 350ms ease, transform 350ms ease, box-shadow 200ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 12px 32px rgba(58, 40, 32, 0.16);
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: 1.2rem;
    left: 1rem;
    width: 2.6rem;
    height: 2.6rem;
  }
  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Hero elements always visible */
.hero-copy.reveal,
.hero-media.reveal {
  opacity: 1;
  transform: none;
}
.hero-copy { animation: heroIn 1.1s ease-out; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(0.8rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */

/* Static decorative elements — no infinite animations (UX: Continuous Animation guideline) */
.thread-scroll { opacity: 0.45; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (pointer: coarse) {
  .button { padding: 0.9rem 1.3rem; }
  .main-nav a { padding: 0.6rem 0.4rem; }
}

@media (max-width: 1000px) {
  .techniques-grid { grid-template-columns: repeat(2, 1fr); }
  .therapy-content { grid-template-columns: 1fr; }
  .therapy-visual { max-width: 20rem; }
  .tecela-content { grid-template-columns: 1fr; }
  .tecela-visual { max-width: 24rem; }
  .voluntariado-bottom { grid-template-columns: 1fr; }
  .vol-photos { grid-template-columns: 1fr; }
  .materials-intro { grid-template-columns: 1fr; }
  .materials-visual { max-width: 20rem; justify-self: center; }
  .elderly-layout { grid-template-columns: 1fr; }
  .elderly-visual-desktop { display: none; }
  .elderly-visual-mobile { display: block; }
  .symbol-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .site-header { align-items: flex-start; }
  .main-nav { max-width: 18rem; flex-wrap: wrap; justify-content: flex-end; }

  .identity-board,
  .pub-layout,
  .book-layout,
  .tecela-content,
  .elderly-layout,
  .instagram {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 1.5rem; grid-template-areas: "header" "copy" "media"; grid-template-columns: 1fr; }
  #headerContent { display: flex; align-items: center; gap: 0.3rem; grid-area: header; }
  .hero-media { grid-area: media; }
  .hero-copy { grid-area: copy; }

  .symbol-grid,
  .post-grid,
  .page-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .symbol-grid::before { display: none; }
  .symbol-card:nth-child(n) { transform: none; }

  .book-showcase { min-height: 28rem; }

  .techniques-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 0.96rem; overflow-x: clip; }
  .logo-spiral-wrap { display: none !important; }

  .site-header {
    position: sticky;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    /* Mobile: sem backdrop-filter — transform + blur têm bug de
       compositing no Chrome Android que deixa o header invisível.
       Fundo quase opaco mantém o visual sobre o conteúdo claro. */
    background: rgba(254, 252, 248, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Menu sempre visível no mobile — anula o estado .is-hidden do JS */
  .site-header.is-hidden {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Arteterapia — imagem a 50% e centralizada no mobile */
  #imagemArteterapia {
    width: 50%;
    margin-inline: auto;
  }
  .site-header > .brand { flex: 1; }
  .site-header > .brand small { display: none; }

  /* Show hamburger */
  .menu-toggle { display: flex !important; }

  /* ─── Mobile nav — simple dropdown below header ─── */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    width: 100%;
    padding: 0.5rem 1rem 1rem;
    background: var(--cream);
    border-top: 1px solid rgba(184, 72, 104, 0.1);
    box-shadow: 0 8px 24px rgba(58, 40, 32, 0.1);
    z-index: 24;
  }
  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 72, 104, 0.08);
    font-family: var(--body);
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a:hover { color: var(--wine); }

  .thread-scroll { display: none; }

  #espiralHero { width: 150px; }

  .hero { grid-template-areas: "header" "media" "copy"; grid-template-columns: 1fr; }
  .hero-media { grid-area: media; width: 70%; margin-inline: auto; }
  .hero-copy { grid-area: copy; }

  #headerContent {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    grid-area: header;
  }

  h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }

  .button { width: 100%; }
  .actions { width: 100%; }

  .symbol-grid,
  .post-grid,
  .page-gallery,
  .reader-block ul,
  .techniques-grid {
    grid-template-columns: 1fr;
  }

  .page-gallery img:nth-child(n) { transform: none; }

  /* Livro — capa e página centralizadas no mobile, mantendo a sobreposição */
  .book-showcase {
    min-height: 22rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  .book-cover, .book-page {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 48%;
    flex-shrink: 0;
  }
  .book-cover { margin-right: -12%; z-index: 2; }
  .book-page { margin-left: -12%; margin-top: 2.5rem; }

  /* Publicações — imagens centralizadas no mobile */
  .pub-book-card { text-align: center; }
  .pub-book-card img { margin-inline: auto; }

  .site-footer { grid-template-columns: 1fr; }
  .site-footer p { text-align: left; }

  .portrait-wreath { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── headerContent — escondido no desktop, visível no mobile ─── */
#headerContent {
  display: none;
}

/* ══════════════════════════════════════════════════════════════
   SLIDER — Um Olhar Atento (Arteterapia e Pessoa Idosa)
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   FIOS & TRAMAS — scroll 3D reveal grid
   ══════════════════════════════════════════════════════════════ */

.tramas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.tramas-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 350ms ease;
}

.tramas-item:hover {
  box-shadow: var(--shadow);
}

.tramas-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 640px) {
  .tramas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}

.slider-container {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.slider-track {
  display: flex;
  animation: slide8 16s steps(1) infinite;
}

.slider-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes slide8 {
  0%, 100% { transform: translateX(0); }
  12.5% { transform: translateX(-100%); }
  25% { transform: translateX(-200%); }
  37.5% { transform: translateX(-300%); }
  50% { transform: translateX(-400%); }
  62.5% { transform: translateX(-500%); }
  75% { transform: translateX(-600%); }
  87.5% { transform: translateX(-700%); }
}



/* ══════════════════════════════════════════════════════════════
   ANIMACAO ESPIRAL
   ══════════════════════════════════════════════════════════════ */

.logo-spiral-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

#espiralHero {
  position: absolute;
  right: -6%;
  bottom: -8%;
  z-index: 2;
}


.espiralHeader{
    --duracao: 7s;
    --centro-x: 50%;
    --centro-y: 52%;
    --raio-final: 66%;
    /*width: min(88vmin, 960px);*/
    clip-path: circle(0% at var(--centro-x) var(--centro-y));
    animation:
      desenhar    var(--duracao) cubic-bezier(0.45, 0, 0.25, 1) infinite,
      desaparecer var(--duracao) linear infinite;
  }

.espiral{
    --duracao: 7s;
    --centro-x: 50%;
    --centro-y: 52%;
    --raio-final: 66%;
    /*width: min(88vmin, 960px);*/
    
    clip-path: circle(0% at var(--centro-x) var(--centro-y));
    animation:
      desenhar    var(--duracao) cubic-bezier(0.45, 0, 0.25, 1) infinite,
      desaparecer var(--duracao) linear infinite;
  }
  /* círculo cresce do centro para fora, com leve giro de "desenrolar" */
  @keyframes desenhar{
    0%   { clip-path: circle(0% at var(--centro-x) var(--centro-y));
           transform: rotate(-90deg) scale(0.92); }
    70%  { clip-path: circle(var(--raio-final) at var(--centro-x) var(--centro-y));
           transform: rotate(0deg) scale(1); }
    100% { clip-path: circle(var(--raio-final) at var(--centro-x) var(--centro-y));
           transform: rotate(0deg) scale(1); }
  }
  /* segura, esmaece e recomeça */
  @keyframes desaparecer{
    0%, 82%   { opacity: 1; }
    96%, 100% { opacity: 0; }
  }