/* =========================================================================
   AZORSOUL · FOLHA DE ESTILO DA PÁGINA
   Layout, componentes e secções. Depende de brand.css (tokens).
   ========================================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip (não hidden) para não criar um contentor de scroll — senão o
     position:sticky do título dos sentidos deixaria de funcionar. */
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }
p { margin: 0; }
a { color: inherit; }

::selection { background: var(--c-secondary); color: var(--c-primary-900); }

/* ---- Layout helpers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-3xl); position: relative; }
.section--tight { padding-block: var(--space-2xl); }
.section--alt { background: var(--bg-alt); }
.section--deep {
  background:
    radial-gradient(120% 80% at 50% -10%, var(--c-primary-700) 0%, transparent 60%),
    var(--c-primary-900);
  color: var(--c-secondary-200);
}
.section--deep .display { color: var(--c-paper); }
.section--deep .kicker  { color: var(--c-secondary); }
.section--deep .lede,
.section--deep p        { color: rgba(242,239,221,.82); }

.section-head { max-width: 46rem; margin-bottom: var(--space-xl); }
.section-head .kicker { display: block; margin-bottom: var(--space-s); }
.section-head h2 { font-size: var(--step-4); }
.section-head .lede { margin-top: var(--space-m); }
/* variante centrada */
.section-head--center { margin-inline: auto; text-align: center; }

.measure { max-width: var(--measure); }
.stack > * + * { margin-top: var(--space-m); }

/* Filete decorativo */
.rule {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line) 15%, var(--c-line) 85%, transparent);
  border: 0;
}

/* =========================================================================
   NAV
   ========================================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding: clamp(.9rem, 2vw, 1.4rem) clamp(1.25rem, 5vw, 4rem);
  transition: transform .48s var(--ease-inout);
}
/* navbar sem fundo (sempre transparente) */

/* logótipo num crachá amarelo, cantos suaves e padding generoso */
.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #f4e8a5;
  border-radius: 10px;
  padding: 2px clamp(.55rem, 1.3vw, .95rem);   /* vertical mínimo */
}
.brand-mark img { height: clamp(30px, 3.6vw, 42px); width: auto; }

/* Botão MENU (ícone à frente) — crachá igual ao do logo, sempre por cima */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #f4e8a5;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  padding: clamp(.5rem, 1.2vw, .75rem) clamp(.75rem, 1.6vw, 1.1rem);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-primary);
  transition: opacity var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.menu-toggle:hover { opacity: .85; }
.menu-toggle__icon { display: block; }

/* =========================================================================
   MENU LATERAL (off-canvas) — desliza da direita, empurra o site
   ========================================================================= */
:root { --menu-w: min(84vw, 340px); }

/* wrapper do site + cabeçalho deslizam para a esquerda em paralelo */
.page { transition: transform .48s var(--ease-inout); will-change: transform; }
body.menu-open .page,
body.menu-open .site-header { transform: translateX(calc(-1 * var(--menu-w))); }
body.menu-open { overflow: hidden; }

.side-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: var(--menu-w);
  z-index: 200;
  background: var(--c-primary-900);
  color: var(--c-secondary-200);
  transform: translateX(100%);
  transition: transform .48s var(--ease-inout);
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: -24px 0 60px rgba(20,26,8,.30);
}
body.menu-open .side-menu { transform: translateX(0); }

.side-menu__close {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: none; border: 0; cursor: pointer;
  color: inherit;
  font-family: var(--font-body);
  font-weight: 600; font-size: var(--step--1);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  transition: color var(--dur-fast) var(--ease-out);
}
.side-menu__close:hover { color: var(--c-secondary); }

.side-menu__nav {
  display: flex;
  flex-direction: column;
  gap: clamp(.4rem, 1.6vw, .9rem);
  margin: auto 0;
}
.side-menu__nav a {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.12;
  color: var(--c-paper);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.side-menu__nav a:hover { color: var(--c-secondary); transform: translateX(8px); }

/* overlay — fecha ao clicar no conteúdo */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(20,26,8,.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .48s var(--ease-inout);
}
body.menu-open .menu-overlay { opacity: 1; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  .page, .site-header, .side-menu, .menu-overlay { transition: none; }
}

/* =========================================================================
   1 · HERO — parábola de camadas + folhas que se desintegram
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;             /* conteúdo centrado vertical e horizontalmente */
  background: var(--c-paper);      /* creme/papel — o que se vê à volta da lagoa ao recuar */
  /* Sem stacking context próprio (sem z-index/isolation): assim o chão, que
     vem a seguir em fluxo, pode ficar ATRÁS do conteúdo pelo z-index. */
}

/* Recorta só o que precisa (lagoa + ramo). O chão fica de fora e pode descer. */
.hero__clip {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* camadas de paisagem (parallax) — cada uma a uma velocidade (data-parallax) */
.hero__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 118%;            /* margem extra p/ o deslocamento parallax não mostrar bordas */
  top: -9%;
  will-change: transform, opacity;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
.hero__layer svg { width: 100%; height: 100%; }
.hero__layer img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* PONTE de chão — começa sobreposta ao fim do hero e desce para ligar à
   secção seguinte, esbatendo-se em baixo para não terminar de forma abrupta.
   Afina a sobreposição em --ground-rise. */
/* CHÃO — em fluxo a seguir ao hero. Sobrepõe-se ao fim do hero (--ground-rise)
   e mostra-se na sua altura natural, por isso CONTINUA para baixo (a
   composição deixa de estar presa à altura do ecrã). Fica em z-index 2:
   acima da lagoa (1), ATRÁS do conteúdo do hero (5) e da folhagem (6). */
:root { --ground-rise: 22vh; }              /* quanto o chão sobe para dentro do hero (menor = começa mais abaixo) */
@media (max-width: 760px) { :root { --ground-rise: 12vh; } }

.hero-ground {
  position: relative;
  z-index: 3;               /* acima da lagoa (1) e do scrim (2), atrás do conteúdo (5) */
  margin-top: calc(-1 * var(--ground-rise));
  margin-bottom: -7vh;      /* a secção seguinte encosta ao chão */
  pointer-events: none;
  line-height: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0, #000 88%, transparent 100%);
}
.hero-ground img { width: 100%; height: auto; display: block; }
.manifesto--bridged { padding-top: calc(var(--space-2xl) + 4vh); }

/* Ramo de canto (superior direito) — peça mais pequena, não ocupa a tela.
   Ajusta o tamanho em --branch-w. */
.hero__branch {
  --branch-w: 42%;
  inset: auto;
  top: -2%;
  right: 0;
  left: auto;
  width: var(--branch-w);
  height: auto;
  transform-origin: top right;
}
.hero__branch img {
  width: 100%;
  height: auto;         /* mantém a proporção natural (sem cover) */
  object-fit: fill;
  transform-origin: top center;
  /* brisa muito suave, em loop (usa a propriedade `rotate`, independente do
     `transform`, para não colidir com o espelho scaleX(-1) da árvore da esquerda) */
  animation: branch-breeze 7.5s ease-in-out infinite;
}
/* a árvore da esquerda respira noutro ritmo E com outro movimento (keyframes
   próprios), para o vento não parecer sincronizado nem espelhado */
.hero__branch--left img {
  animation-name: branch-breeze-left;
  animation-duration: 9.4s;
  animation-delay: -3s;
}

@keyframes branch-breeze {
  0%, 100% { rotate: -0.55deg; }
  50%      { rotate: 0.75deg; }
}
@keyframes branch-breeze-left {
  0%, 100% { rotate: 0.65deg; }
  40%      { rotate: -0.7deg; }
  75%      { rotate: 0.3deg; }
}
/* Espelho no canto superior esquerdo — mesma árvore, invertida. */
.hero__branch--left {
  right: auto;
  left: 0;
  transform-origin: top left;
}
.hero__branch--left img { transform: scaleX(-1); }

/* Reflexos de galhos — peça de canto inferior direito, sobre a composição. */
.hero__reflections {
  --refl-w: 36%;
  inset: auto;
  right: 0;
  bottom: 0;
  top: auto;
  width: var(--refl-w);
  height: auto;
  transform-origin: right bottom;
}
.hero__reflections img { width: 100%; height: auto; object-fit: fill; }
@media (max-width: 760px) { .hero__reflections { --refl-w: 52%; } }

@media (max-width: 760px) { .hero__branch { --branch-w: 58%; } }

/* Scrim — sem gradiente escuro (removido a pedido) */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* névoa suave sobre as colinas */
.hero__mist {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 50% at 50% 78%, rgba(247,245,236,.55), transparent 70%),
    linear-gradient(180deg, rgba(247,245,236,.35), transparent 30%);
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform, opacity;
}

/* A folhagem pode descer para lá do hero (sobre o chão), sem ser recortada */
.hero__foliage { overflow: visible; }

/* Folhas / folhagem que desaparecem (desintegram) com o scroll */
.leaf {
  position: absolute;
  will-change: transform, opacity;
  pointer-events: none;
  transform-origin: center;
}
.leaf svg { width: 100%; height: auto; }

/* Folhagem em primeiro plano a partir de imagens (fetos pintados, etc.) */
.leaf--img img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(20,26,8,.30));
}

/* Conteúdo do hero */
.hero__content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
  max-width: 54rem;
  color: var(--c-primary);
  will-change: transform, opacity;
}
/* logótipo vertical (verde-escuro) como foco do hero */
.hero__logo {
  width: clamp(200px, 32vw, 360px);
  height: auto;
  margin: var(--space-m) auto 0;
  filter: drop-shadow(0 3px 20px rgba(33,39,6,.5));   /* halo escuro p/ legibilidade */
}
.hero__kicker {
  color: #fff;
  text-shadow: 0 1px 14px rgba(33,39,6,.5);        /* halo escuro para legibilidade */
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-5);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-top: var(--space-m);
  color: #fdfdf6;
  text-shadow: 0 2px 30px rgba(33,39,6,.35);
}
.hero h1 em { font-style: italic; font-weight: 300; color: var(--c-secondary-200); }
.hero__sub {
  margin: var(--space-l) auto 0;
  max-width: 40rem;
  font-size: var(--step-1);
  line-height: var(--lh-snug);
  color: rgba(253,253,246,.92);
  text-shadow: 0 1px 16px rgba(33,39,6,.4);
}
.hero__cta {
  margin-top: var(--space-xl);
  display: flex;
  gap: var(--space-s);
  justify-content: center;
  flex-wrap: wrap;
}

/* Arco desenhado a linha fina — portal para a página */
.hero__arch {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: min(92vw, 900px);
  pointer-events: none;
}
.hero__arch svg { width: 100%; height: auto; }
.hero__arch path, .hero__arch line { stroke: var(--c-paper); }

/* indicador de scroll */
.scroll-cue {
  position: absolute;
  z-index: 6;
  left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  display: grid; place-items: center; gap: .5rem;
  color: var(--c-primary);                          /* escura */
  text-shadow: 0 1px 10px rgba(247,245,236,.6);     /* halo claro p/ legibilidade */
  font-size: var(--step--1);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.scroll-cue .dot {
  width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px;
  position: relative;
}
.scroll-cue .dot::after {
  content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px;
  background: currentColor; border-radius: 2px; transform: translateX(-50%);
  animation: cue 1.8s var(--ease-inout) infinite;
}
@keyframes cue { 0%{opacity:0; transform:translate(-50%,0)} 30%{opacity:1} 100%{opacity:0; transform:translate(-50%,12px)} }

/* =========================================================================
   2 · MANIFESTO
   ========================================================================= */
.manifesto { text-align: center; }
.manifesto .container { max-width: 74rem; }
.manifesto h2 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: var(--lh-snug);
  color: var(--c-primary);
}
.manifesto p { font-size: var(--step-1); line-height: 1.5; color: var(--text-soft); }
.manifesto p + p { margin-top: var(--space-m); }
.manifesto .last { color: var(--c-primary); font-family: var(--font-display); font-style: italic; }

/* =========================================================================
   3 · CINCO SENTIDOS
   ========================================================================= */
/* Secção mais larga do que as restantes */
#sentidos > .container { max-width: 96rem; }

/* Cards em papel rasgado, espalhados: 3 em cima, 2 em baixo (centradas). */
/* =========================================================================
   EXPLORA — grelha de categorias de produto
   ========================================================================= */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem);
  margin-top: var(--space-xl);
}
@media (max-width: 860px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .explore-grid { grid-template-columns: 1fr; } }

.explore-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  min-height: 100%;
  padding: clamp(1.7rem, 3vw, 2.4rem);
  background: var(--c-white);
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(38,41,15,.08), 0 2px 6px rgba(38,41,15,.05);
  text-decoration: none;
  color: inherit;
  /* rotação via propriedade independente `rotate` (não colide com o
     `transform: none` do .reveal.is-in, ao contrário de transform:rotate) */
  rotate: var(--rot, 0deg);
  transform-origin: center;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
/* borda interior verde-escuro, afastada da margem da div */
.explore-cat::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px solid var(--c-primary-900);
  border-radius: 2px;
  pointer-events: none;
}
.explore-cat > * { position: relative; }
/* placeholder 2:3 (retrato) para a fotografia da categoria */
.explore-cat__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: var(--space-xs);
  border-radius: 2px;
  background:
    repeating-linear-gradient(45deg, rgba(65,76,10,.05) 0 10px, rgba(65,76,10,.02) 10px 20px),
    var(--c-secondary-100);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
/* quando houver <img> lá dentro, ocupa o espaço do placeholder */
.explore-cat__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.explore-cat h3 { font-family: var(--font-display); font-size: var(--step-1); color: var(--c-primary); text-transform: uppercase; letter-spacing: .02em; }
.explore-cat p { color: var(--text-soft); font-size: var(--step--1); }
.explore-cat .link-arrow {
  margin-top: auto;
  padding-top: var(--space-xs);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}
.explore-cat:hover {
  transform: translateY(-4px);   /* a rotação mantém-se via `rotate` */
  box-shadow: 0 14px 30px rgba(38,41,15,.12), 0 4px 10px rgba(38,41,15,.07);
}

.explore-cta { margin-top: var(--space-xl); text-align: center; }

/* Palco: título gigante fixo a meio, cards a passar por cima. */
.senses-stage { position: relative; padding-bottom: 10vh; }

/* Título "Os 5 Guardiões" a 100% da largura (textLength força o preenchimento),
   fixo (sticky) e centrado verticalmente no ecrã enquanto os cards passam. */
.senses-bigtitle {
  position: sticky;
  top: 50vh;
  transform: translateY(-50%);
  z-index: 0;
  display: block;
  width: 100%;
  margin: 0;
  pointer-events: none;
}
.senses-bigtitle text {
  font-family: var(--font-display);
  font-weight: 400;
  fill: var(--c-primary);
}

.senses-scatter {
  position: relative;
  z-index: 2;                 /* passa POR CIMA do título fixo */
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: clamp(1.75rem, 4vw, 4.5rem);
  row-gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  margin-top: 30vh;           /* começa abaixo do centro e sobe por cima do título */
}
.sense:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
.sense:nth-child(2) { grid-area: 1 / 3 / 2 / 5; }
.sense:nth-child(3) { grid-area: 1 / 5 / 2 / 7; }
.sense:nth-child(4) { grid-area: 2 / 2 / 3 / 4; }
.sense:nth-child(5) { grid-area: 2 / 4 / 3 / 6; }

.sense {
  position: relative;
  display: block;
  margin-top: var(--shift, 0);
  padding: 0;
  text-decoration: none;
  color: inherit;
  background: var(--c-white);
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(38,41,15,.08), 0 2px 6px rgba(38,41,15,.05);
  transform: rotate(var(--rot, 0deg));        /* fallback sem JS / reduced-motion */
  transform-origin: center;
  will-change: transform;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
/* borda interior verde-escuro, afastada da margem da própria div */
.sense::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1.5px solid var(--c-primary-900);
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
}
.sense:hover {
  transform: rotate(var(--rot, 0deg)) translateY(-4px);
  box-shadow: 0 14px 30px rgba(38,41,15,.12), 0 4px 10px rgba(38,41,15,.07);
}

/* conteúdo, dentro da borda interior (padding > inset da borda) */
.sense__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  padding: clamp(2.2rem, 4vw, 3.2rem) clamp(2rem, 4vw, 3rem);
}
.sense__icon { width: 42px; height: 42px; color: var(--c-primary); margin-bottom: var(--space-3xs); }
.sense__icon svg { width: 100%; height: 100%; }
/* ícone como ilustração (SVG a cores) — um pouco maior para ler bem */
.sense__icon--art { width: 60px; height: 60px; }
.sense__icon--art img { width: 100%; height: 100%; object-fit: contain; }
.sense h3 { font-family: var(--font-display); font-size: var(--step-2); color: var(--c-primary); }
.sense p { color: var(--text-soft); font-size: var(--step-0); }
.sense .link-arrow { margin-top: var(--space-2xs); font-size: var(--step--1); text-transform: uppercase; letter-spacing: var(--tracking-wide); }

/* Telemóvel: empilha os cards, mantendo as rotações subtis */
@media (max-width: 760px) {
  .senses-scatter { grid-template-columns: 1fr; }
  .sense:nth-child(1), .sense:nth-child(2), .sense:nth-child(3),
  .sense:nth-child(4), .sense:nth-child(5) { grid-area: auto; }
  .sense { margin-top: 0; max-width: 24rem; margin-inline: auto; }
}

/* =========================================================================
   4 · E-BOOKS  (âncora)
   ========================================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-l);
  margin-top: var(--space-xl);
}
.card {
  background: var(--bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.card__art {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.card__art svg { width: 100%; height: 100%; }
.card__body { padding: var(--space-l); display: flex; flex-direction: column; gap: var(--space-2xs); flex: 1; }
.card__body h3 { font-family: var(--font-display); font-size: var(--step-2); color: var(--c-primary); }
.card__body p { color: var(--text-soft); font-size: var(--step-0); }

/* =========================================================================
   5 · TEEMILL / VESTUÁRIO   —   6 · PRINTS  (blocos alternados)
   ========================================================================= */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.feature--reverse .feature__media { order: 2; }
.feature__media {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-l);
}
.feature__media svg { width: 100%; height: 100%; }
.feature__body h2 { font-family: var(--font-display); font-size: var(--step-3); color: var(--c-primary); }
.feature__meta {
  display: inline-flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--space-s);
}
.chip {
  font-size: var(--step--1); font-weight: 700; letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-primary-900);
  background: var(--c-secondary-200);
  border-radius: var(--radius-control);
  padding: .4em .9em;
}
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
}

/* =========================================================================
   7 · PROPÓSITO (deep)
   ========================================================================= */
.purpose .container { max-width: 52rem; text-align: center; }
.purpose h2 { font-family: var(--font-display); font-size: var(--step-4); }
.purpose p { font-size: var(--step-1); line-height: 1.5; }

/* =========================================================================
   8 · HISTÓRIA (mãe & filha)
   ========================================================================= */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.story__portrait { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-l); }
.story__portrait svg { width: 100%; height: 100%; }
.story h2 { font-family: var(--font-display); font-size: var(--step-3); color: var(--c-primary); }
@media (max-width: 760px){ .story { grid-template-columns: 1fr; } }

/* =========================================================================
   10 · NEWSLETTER
   ========================================================================= */
.newsletter { text-align: center; }
.newsletter .container { max-width: 46rem; }
.newsletter h2 { font-family: var(--font-display); font-size: var(--step-4); color: var(--c-paper); }
.news-form {
  display: flex; gap: .6rem; margin: var(--space-l) auto 0; max-width: 30rem; flex-wrap: wrap;
}
.news-form input {
  flex: 1 1 14rem;
  padding: .9em 1.2em;
  border-radius: var(--radius-control);
  border: 1px solid rgba(242,239,221,.4);
  background: rgba(247,245,236,.08);
  color: var(--c-paper);
  font-family: var(--font-body);
  font-size: var(--step-0);
}
.news-form input::placeholder { color: rgba(242,239,221,.6); }
.news-form input:focus { outline: 2px solid var(--c-secondary); outline-offset: 2px; }
.news-consent { margin-top: var(--space-m); font-size: var(--step--1); color: rgba(242,239,221,.6); }

/* =========================================================================
   11 · RODAPÉ
   ========================================================================= */
.site-footer {
  background: var(--c-primary-900);
  color: rgba(242,239,221,.75);
  padding-block: var(--space-2xl) var(--space-l);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-xl);
}
.footer-logo { width: clamp(92px, 12vw, 132px); height: auto; margin-bottom: var(--space-m); }
.footer-brand p { max-width: 24ch; color: rgba(242,239,221,.6); }
.footer-livro { display: inline-block; margin-top: var(--space-l); }
.footer-livro img { width: 150px; height: auto; opacity: .85; transition: opacity var(--dur-fast); }
.footer-livro:hover img { opacity: 1; }
.footer-col h4 {
  font-size: var(--step--1); text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--c-secondary); font-weight: 700; margin-bottom: var(--space-s);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a { text-decoration: none; color: rgba(242,239,221,.75); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--c-secondary); }
.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-l);
  border-top: 1px solid rgba(242,239,221,.14);
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-m) var(--space-l); flex-wrap: wrap;
  font-size: var(--step--1); color: rgba(242,239,221,.5);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: clamp(.8rem, 2vw, 1.6rem); }
.footer-legal a { color: rgba(242,239,221,.6); text-decoration: none; transition: color var(--dur-fast); }
.footer-legal a:hover { color: var(--c-secondary); }
@media (max-width: 760px){ .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* =========================================================================
   ENTRADA (subtil, ao carregar)
   ========================================================================= */
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.site-header { animation: fadeDown 1s var(--ease-out) .1s both; }
.hero__content > * { animation: riseIn 1.15s var(--ease-out) both; }
.hero__kicker { animation-delay: .25s; }
.hero__logo   { animation-delay: .42s; }
.hero h1      { animation-delay: .42s; }
.hero__sub    { animation-delay: .66s; }
.hero__cta    { animation-delay: .9s; }

/* =========================================================================
   REVELAÇÃO AO SCROLL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* Inclinação por velocidade de scroll (skewY controlado por JS).
   O transform é aplicado inline; aqui só o eixo e a pista de composição. */
.scroll-skew { transform-origin: center center; backface-visibility: hidden; }

/* Texto que se revela palavra a palavra com o scroll (gradiente de opacidade).
   As palavras começam esbatidas e escurecem à medida que o scroll passa por elas.
   A opacidade de cada .rw-word é definida inline pelo JS. */
.rw-text .rw-word { opacity: .12; transition: opacity .12s linear; will-change: opacity; }
.rw-text .rw-word.is-space { opacity: 1; }

/* Bloco de texto de corpo a seguir ao fio vertical. */
.manifesto-more {
  position: relative;
  max-width: 44rem;
  margin: var(--space-l) auto 0;
  text-align: center;
}
/* folha ilustrada a flutuar ao lado do texto */
.manifesto-more__leaf {
  position: absolute;
  left: -12%;
  top: 50%;
  width: clamp(70px, 9vw, 128px);
  height: auto;
  transform-origin: bottom center;
  opacity: .9;
  pointer-events: none;
  animation: leaf-float 8s ease-in-out infinite;
}
@keyframes leaf-float {
  0%, 100% { transform: translateY(calc(-50% - 8px)) rotate(-4deg); }
  50%      { transform: translateY(calc(-50% + 8px)) rotate(4deg); }
}
/* em ecrãs estreitos não há margem lateral — recolhe para o canto, mais discreta */
@media (max-width: 900px) {
  .manifesto-more__leaf { left: auto; right: -2%; top: -6%; width: 64px; opacity: .7; }
}
@media (max-width: 560px) { .manifesto-more__leaf { display: none; } }
.manifesto-more p {
  font-family: var(--font-body);
  font-size: var(--step-1);
  line-height: var(--lh-normal);
  color: var(--text-soft);
}
.manifesto-more p + p { margin-top: var(--space-m); }

/* Fio vertical — ligação do manifesto à secção seguinte. */
.thread-line {
  display: block;
  width: 1px;
  height: 25svh;
  margin: var(--space-l) auto 0;
  background: linear-gradient(180deg,
              var(--c-primary) 0%,
              var(--c-secondary-700) 55%,
              transparent 100%);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .leaf, .hero__layer, .hero__mist, .hero__content { transform: none !important; }
  .scroll-cue .dot::after { animation: none; }
  .site-header, .hero__content > * { animation: none; }
  .scroll-skew { transform: none !important; }
  .rw-text .rw-word { opacity: 1 !important; transition: none; }
  .hero__branch img { animation: none; rotate: 0deg; }
  .manifesto-more__leaf { animation: none; transform: translateY(-50%); }
}
