/* ARQUIVO GERADO — não edite.
   Origem: fontes.css + base.css + layout.css + components.css + sections.css
   Regerar: python3 ferramentas/gerar.py */

/* ===== fontes.css ===== */
/* =========================================================================
   FONTES — servidas do próprio domínio.
   Só latin e latin-ext (o site é em português), e o Schibsted Grotesk é
   variável: um arquivo cobre os pesos 400 a 700. Assim somem duas origens
   externas do caminho crítico.
   ========================================================================= */

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400i-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400i-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== base.css ===== */
/* =========================================================================
   BASE — reset, tokens, tipografia e utilitários
   Marilene dos Santos
   ========================================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--rose); color: var(--plum); }

/* ------------------------------- tokens ------------------------------- */
:root {
  /* Paleta oficial da marca — os três primeiros vieram do material dela:
     Hortensia, Tea e Wispy Clouds. Os demais são apoios: o dourado sai do
     símbolo do logo, e bege, rosa e marfim dão os meios-tons que fotografia
     e tipografia precisam. */
  --hortensia: #553B50;   /* oficial */
  --tea:       #999B85;   /* oficial */
  --nuvem:     #E8E6E3;   /* oficial */

  --plum:     var(--hortensia);
  --sage:     var(--tea);
  --wine:     #6A4C64;    /* Hortensia clareada, para os destaques em itálico */
  --ivory:    #F7F2EA;
  --offwhite: #FCFAF6;
  --brown:    #2D2224;
  --gold:     #B69558;
  --beige:    #DCCBB8;
  --rose:     #D8BFC1;

  /* papéis */
  --page:      var(--nuvem);
  --panel:     var(--offwhite);
  --panel-alt: var(--ivory);
  --ink:       var(--brown);
  /* Os dois cinzas de texto foram calibrados contra o Wispy Clouds e contra o
     branco dos painéis: o de leitura passa de 4,5:1 e o de rótulo passa de
     4,5:1 também, porque numeração e legenda carregam informação. A hierarquia
     vem do tamanho e do espacejamento, não de apagar o texto. */
  --ink-soft:  rgba(45, 34, 36, 0.70);
  --ink-mute:  rgba(45, 34, 36, 0.67);
  --ink-ghost: rgba(45, 34, 36, 0.20);
  --rule:      rgba(45, 34, 36, 0.10);
  --accent:    var(--gold);
  --accent-ink: var(--wine);

  /* tipografia */
  --sans:  "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --fs-base:  clamp(0.95rem, 0.91rem + 0.18vw, 1.02rem);
  --fs-sm:    clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --fs-xs:    0.72rem;
  --fs-lead:  clamp(1rem, 0.94rem + 0.32vw, 1.16rem);

  --d-xl: clamp(1.75rem, 1rem + 2.6vw, 3.6rem);      /* hero */
  --d-lg: clamp(1.75rem, 1.05rem + 2.5vw, 3.05rem);  /* manifesto */
  --d-md: clamp(1.7rem, 1.15rem + 2.1vw, 2.85rem);   /* seções */
  --d-sm: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);  /* subtítulos */

  /* geometria */
  --r-xl:   clamp(20px, 1rem + 1.4vw, 36px);
  --r-lg:   clamp(16px, 0.8rem + 1vw, 26px);
  --r-md:   14px;
  --r-pill: 999px;

  --shadow-soft: 0 18px 50px -34px rgba(45, 34, 36, 0.45);
  --shadow-chip: 0 8px 22px -12px rgba(45, 34, 36, 0.4);

  /* ritmo */
  --wrap:   min(100% - 1.75rem, 84rem);
  --sec-y:  clamp(4rem, 3rem + 5vw, 8rem);
  --pad:    clamp(1.75rem, 1.1rem + 2.5vw, 4rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* superfícies escuras (ameixa profunda) */
[data-theme-dark] {
  --ink:       var(--ivory);
  --ink-soft:  rgba(247, 242, 234, 0.74);
  --ink-mute:  rgba(247, 242, 234, 0.68);
  --ink-ghost: rgba(247, 242, 234, 0.22);
  --rule:      rgba(247, 242, 234, 0.16);
  --accent-ink: var(--beige);
  background: var(--plum);
  color: var(--ink);
}

/* ---------------------------- tipografia ------------------------------ */
h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent-ink);
  position: relative;
  display: inline-block;
}

.section-title { font-size: var(--d-md); max-width: 19ch; }
.section-intro {
  margin-top: clamp(1rem, 0.85rem + 0.8vw, 1.6rem);
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.marker {
  display: inline-flex;
  align-self: flex-start;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4em 0.55em;
  padding: 0.5em 0.95em 0.5em 0.8em;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1;
  box-shadow: var(--shadow-chip);
}
.marker::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.marker .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ink-mute);
  flex: none;
}
/* eyebrow em fita: no celular o texto não cabe na pastilha, então corre
   dentro dela em vez de quebrar em duas linhas */
.marker--marquee { flex-wrap: nowrap; }
.marker__viewport { display: block; min-width: 0; }
.marker__track { display: flex; align-items: center; }
.marker--marquee .marker__set {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  white-space: nowrap;
}
.marker--marquee .marker__set + .marker__set { display: none; }
.marker__gap { display: none; }

@media (max-width: 700px) {
  .marker--marquee { width: 100%; max-width: 100%; padding-inline: 0.95em; }
  .marker--marquee::before { display: none; }
  .marker--marquee .marker__viewport {
    overflow: hidden;
    width: 100%;
    /* as pontas desbotam, para o texto não bater na borda da pastilha */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  }
  /* na fita todos os separadores são iguais: a mesma bolinha dourada e o mesmo
     respiro entre as três palavras, inclusive na emenda entre as repetições.
     O respiro da emenda é margem no último ponto, e não gap na trilha, senão o
     translateX(-50%) deixa de cair exatamente em cima de uma repetição. */
  .marker--marquee .marker__set { gap: 0.62em; }
  .marker--marquee .dot { width: 4px; height: 4px; background: var(--accent); }
  .marker--marquee .marker__track {
    width: max-content;
    animation: marker-scroll 18s linear infinite;
  }
  .marker--marquee .marker__set + .marker__set { display: inline-flex; }
  .marker--marquee .marker__gap { display: inline-block; margin-inline: 0 0.62em; }
}
@keyframes marker-scroll { to { transform: translateX(-50%); } }

/* sem movimento, o texto volta a quebrar em duas linhas — nada fica cortado */
@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .marker--marquee { flex-wrap: wrap; }
  .marker--marquee .marker__viewport { overflow: visible; }
  .marker--marquee .marker__track { animation: none; flex-wrap: wrap; }
  .marker--marquee .marker__set + .marker__set { display: none; }
  /* sem a segunda repetição não existe emenda, e o ponto sobraria solto no fim */
  .marker--marquee .marker__gap { display: none; }
}

.marker--light {
  background: rgba(247, 242, 234, 0.08);
  border-color: rgba(247, 242, 234, 0.2);
  color: rgba(247, 242, 234, 0.8);
  box-shadow: none;
}

/* --------------------------- acessibilidade --------------------------- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
  border-radius: 4px;
}
[data-theme-dark] :where(a, button, input, select, textarea):focus-visible {
  outline-color: var(--beige);
}

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--plum);
  color: var(--ivory);
  font-size: var(--fs-sm);
  border-radius: var(--r-pill);
  transform: translateY(-180%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* -------------------- estados iniciais de animação -------------------- */
/* Só existem quando há JS + GSAP + movimento permitido.
   Se algo falhar, a classe .js-anim é removida e tudo volta a ser visível. */
.js-anim [data-reveal],
.js-anim [data-hero="marker"],
.js-anim [data-hero="lead"],
.js-anim [data-hero="actions"],
.js-anim [data-hero="note"],
.js-anim [data-hero="glass"],
.js-anim [data-hero="chip"],
.js-anim .line__in { opacity: 0; }
.js-anim .hero__photo { opacity: 0; }
.js-anim [data-squiggle] path { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* ------------------------- movimento reduzido ------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== layout.css ===== */
/* =========================================================================
   LAYOUT — contêineres, header, menu mobile e rodapé
   ========================================================================= */

.wrap { width: var(--wrap); margin-inline: auto; }

.panel {
  background: var(--panel);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
}
/* painéis em ameixa profunda precisam vencer o fundo claro de .panel */
.panel[data-theme-dark] { background: var(--plum); }

.section-head { max-width: 44rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-intro { margin-inline: auto; }
.section-head--center .section-title { margin-inline: auto; }
.section-head .section-title { margin-top: clamp(0.9rem, 0.75rem + 0.8vw, 1.5rem); }

/* =============================== HEADER =============================== */
/* uma barra única: marca, navegação e chamada dividem a mesma superfície */
.header {
  position: fixed;
  inset: 0.85rem 0 auto 0;
  z-index: 90;
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
}
.header.is-hidden {
  transform: translateY(calc(-100% - 1.5rem));
  opacity: 0;
  pointer-events: none;
}
.header__bar {
  width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.45rem 0.45rem 1.15rem;
  background: rgba(252, 250, 246, 0.84);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-chip);
  transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease);
}

/* assinatura */
.brand { display: flex; align-items: center; }
.brand__logo {
  display: block;
  height: clamp(17px, 1.9vw, 25px);
  width: auto;
}

/* navegação */
.nav__list { display: flex; align-items: center; gap: 0.1rem; }
.nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--panel); background: var(--plum); }

.header__actions { display: flex; align-items: center; gap: 0.4rem; }

.burger {
  display: none;
  width: 42px; height: 42px;
  place-content: center;
  justify-items: center;
  gap: 5px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.burger__line {
  display: block;
  width: 18px; height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.burger[aria-expanded="true"] .burger__line:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header .header__cta { display: none; }
  .header__bar { padding-right: 0.35rem; padding-left: 0.85rem; gap: 0.6rem; }
  /* a assinatura é uma faixa de dez por um: no celular ela só fica legível se
     for medida pela largura que sobra, e não pela altura */
  .brand__logo { height: auto; width: min(64vw, 246px); }
}

/* ============================ MENU MOBILE ============================ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--plum);
  color: var(--ivory);
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__inner {
  width: var(--wrap);
  margin-inline: auto;
  padding-block: 6.5rem 3rem;
  display: grid;
  gap: clamp(2rem, 1rem + 5vw, 3rem);
}
.menu__marker { justify-self: start; }
.menu__list { display: grid; gap: 0.15rem; }
.menu__item a {
  display: block;
  font-size: clamp(2rem, 1.1rem + 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--ivory);
  padding-block: 0.1em;
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}
.menu__item a:hover { color: var(--beige); transform: translateX(0.4rem); }
.menu__foot {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  padding-top: clamp(1rem, 0.5rem + 2vw, 2rem);
  border-top: 1px solid rgba(247, 242, 234, 0.16);
}
.menu__ig { font-size: var(--fs-sm); color: rgba(247, 242, 234, 0.65); }
.menu__ig:hover { color: var(--ivory); }

body.is-locked { overflow: hidden; }

/* =============================== FOOTER =============================== */
.footer { padding-block: 0 clamp(0.75rem, 0.5rem + 1vw, 1.25rem); }
.footer__panel {
  position: relative;
  padding: clamp(2.75rem, 2.25rem + 3vw, 5rem) var(--pad) 0;
  overflow: hidden;
}
.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  isolation: isolate;
}
/* véu suave sobre a copa da árvore, para o texto não competir com as partículas */
.footer__inner::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 34%,
              rgba(85, 59, 80, 0.78) 0%,
              rgba(85, 59, 80, 0.4) 40%,
              rgba(85, 59, 80, 0) 68%);
  pointer-events: none;
}

.footer__logo {
  width: min(100%, 26rem);
  height: auto;
}
.footer__role {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--beige);
  margin-top: 0.9rem;
}
.footer__desc {
  margin-top: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.footer__cta { margin-top: clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem); }

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: clamp(1.5rem, 1.25rem + 1.5vw, 2.25rem);
}
.socials a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.socials a:hover {
  color: var(--plum);
  background: var(--ivory);
  border-color: var(--ivory);
  transform: translateY(-2px);
}
.socials svg { width: 20px; height: 20px; }

.footer__bottom {
  width: 100%;
  margin-top: clamp(2.25rem, 2rem + 2vw, 3.25rem);
  padding-top: 1.5rem;
  /* respiro para o botão flutuante de WhatsApp não cobrir a última linha */
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  color: var(--ink-mute);
}
.footer__bottom a {
  color: var(--beige);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.footer__bottom a:hover { color: var(--ivory); border-bottom-color: currentColor; }

/* =============================== ABERTURA ============================== */
/* Cortina de entrada. Fica fora do fluxo por padrão: só existe quando o
   <html> recebe .com-abertura, o que já embute JS + movimento permitido +
   primeira visita da sessão. O sinalizador do <html> tem nome próprio de
   propósito: se fosse .abertura, o seletor .abertura { display: none }
   esconderia o documento inteiro. */
.abertura { display: none; }

.abertura__cortinas {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  pointer-events: none;
}
.abertura__cortinas i {
  flex: 1;
  /* meio pixel de sobreposição: sem isso o arredondamento deixa uma costura
     clara aparecendo entre as faixas */
  margin-inline: -0.5px;
  background: var(--plum);
  will-change: transform;
}
.abertura__marca {
  position: fixed;
  inset: 0;
  z-index: 101;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 1.5rem;
  pointer-events: none;
}
.abertura__nome {
  font-size: clamp(1.35rem, 0.9rem + 2.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--ivory);
}
.abertura__nome span { display: inline-block; }
.abertura__risco {
  display: block;
  width: clamp(56px, 8vw, 96px);
  height: 1px;
  margin: clamp(1rem, 0.8rem + 0.8vw, 1.6rem) 0;
  background: var(--gold);
  transform: scaleX(0);
}
.abertura__funcao {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--beige);
}

html.com-abertura .abertura { display: block; }
/* enquanto a cortina está no ar, a página não rola por baixo */
html.com-abertura body { overflow: hidden; }

/* ===== components.css ===== */
/* =========================================================================
   COMPONENTES
   ========================================================================= */

/* =============================== BOTÕES =============================== */
.btn {
  --btn-fg: var(--offwhite);
  --btn-bg: var(--plum);
  --btn-fill: var(--wine);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.05em 1.75em;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:active { transform: scale(0.98); }

.btn--outline {
  --btn-fg: var(--ink);
  --btn-bg: transparent;
  --btn-fill: var(--plum);
  border-color: var(--ink-ghost);
}
.btn--outline:hover, .btn--outline:focus-visible { --btn-fg: var(--offwhite); border-color: var(--plum); }

.btn--light {
  --btn-fg: var(--plum);
  --btn-bg: var(--ivory);
  --btn-fill: var(--beige);
}

.btn--text {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  padding: 1.05em 0.25em;
  gap: 0.85em;
}
.btn--text::before { display: none; }
.btn__arrow {
  display: block;
  width: 28px;
  color: var(--ink-mute);
  transition: transform 0.45s var(--ease), color 0.3s var(--ease);
}
.btn__arrow svg { width: 100%; height: auto; }
.btn--text:hover .btn__arrow { transform: translateX(5px); color: var(--accent-ink); }

.btn--sm { padding: 0.85em 1.35em; }

/* no celular todo botão ocupa a linha inteira — alvo de toque generoso e
   coluna alinhada */
@media (max-width: 640px) {
  .btn { width: 100%; }
  .btn--wide { max-width: none; }
}
.btn__ico { width: 1.15em; height: 1.15em; flex: none; }
.btn--wide { width: 100%; max-width: 22rem; }

[data-theme-dark] .btn--outline { --btn-fg: var(--ivory); --btn-fill: var(--ivory); border-color: rgba(247,242,234,.3); }
[data-theme-dark] .btn--outline:hover { --btn-fg: var(--plum); }

/* ========================== ÍCONE NO TEXTO ============================= */
/* É a mesma caixa que antes trazia uma fotografia miúda: mesma largura, mesma
   altura, mesma inclinação, mesmo encaixe na linha e o mesmo anel branco.
   Só o interior mudou — verde Tea em degradê com o ícone em branco por cima.
   Mexer nessas medidas quebra a entrelinha do título, então elas ficam. */
.chip-icone {
  /* inline-block, e não inline-grid: com grid a linha base sai do primeiro
     item e a linha do título engorda uns cinco pixels. O ícone é centrado por
     posicionamento, que não mexe na caixa. */
  display: inline-block;
  position: relative;
  vertical-align: -0.18em;
  width: 1.15em;
  height: 1.15em;
  margin-inline: 0.18em 0.24em;
  border-radius: 0.32em;
  overflow: hidden;
  background: linear-gradient(148deg, #B7B9A2 0%, var(--tea) 48%, #82846C 100%);
  box-shadow: 0 0 0 3px var(--panel), var(--shadow-chip);
  transform: rotate(-4deg);
  color: #fff;
}
.chip-icone--largo {
  width: 2em;
  border-radius: 0.28em;
  transform: rotate(3deg);
  vertical-align: -0.22em;
}
.chip-icone svg {
  position: absolute;
  inset: 0;
  margin: auto;
  height: 62%;
  width: auto;
}

/* traço manuscrito sob a palavra em destaque */
.squiggle {
  position: absolute;
  left: 0; right: -0.1em;
  bottom: -0.22em;
  width: 100%;
  height: 0.34em;
  color: var(--accent);
  overflow: visible;
  pointer-events: none;
}

/* ================================ PILLS =============================== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 1em 0.55em 0.75em;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-chip);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.pill svg { width: 16px; height: 16px; flex: none; }

/* ============================ CARD DE VIDRO =========================== */
.glass {
  position: absolute;
  left: clamp(1rem, 2vw, 1.75rem);
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 2;
  padding: clamp(1rem, 0.8rem + 0.7vw, 1.4rem);
  background: rgba(252, 250, 246, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(252, 250, 246, 0.55);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 45px -30px rgba(45, 34, 36, 0.5);
}
.glass__name {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--plum);
}
.glass__rule {
  display: block;
  width: 28px;
  height: 1px;
  margin: 0.75rem 0 0.6rem;
  background: var(--accent);
}
.glass__role {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.glass__role span { margin-inline: 0.3em; opacity: 0.5; }

/* ============================== CITAÇÃO ============================== */
.quote {
  margin-block: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--panel-alt);
  border-radius: var(--r-lg);
  border-left: 2px solid var(--accent);
}
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 0.95rem + 0.8vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--plum);
}
.quote cite {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============================== MARQUEE ============================== */
.marquee {
  position: relative;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
  display: grid;
  gap: clamp(0.6rem, 0.4rem + 0.8vw, 1.1rem);
}
.marquee__row { overflow: hidden; }
.marquee__track {
  display: flex;
  align-items: stretch;
  gap: clamp(0.6rem, 0.4rem + 0.8vw, 1.1rem);
  width: max-content;
  will-change: transform;
  touch-action: pan-y;
  cursor: grab;
}
.marquee__track.is-dragging { cursor: grabbing; }

/* fallback sem JS/GSAP: movimento em CSS puro */
.marquee__row[data-dir="-1"] .marquee__track { animation: marquee-left 46s linear infinite; }
.marquee__row[data-dir="1"]  .marquee__track { animation: marquee-right 64s linear infinite; }
.marquee.is-js .marquee__track { animation: none; }
@keyframes marquee-left  { to { transform: translate3d(-50%, 0, 0); } }
@keyframes marquee-right { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none !important; }
  .marquee__row { overflow-x: auto; }
}

.shot {
  position: relative;
  flex: none;
  overflow: hidden;
  background: var(--beige);
  border-radius: var(--r-lg);
  transition: transform 0.6s var(--ease);
}
.shot img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.shot--tall   { width: clamp(200px, 22vw, 330px); aspect-ratio: 3 / 4; }
.shot--wide   { width: clamp(290px, 33vw, 520px); aspect-ratio: 3 / 2; }
.shot--square { width: clamp(220px, 25vw, 380px); aspect-ratio: 1; }
@media (hover: hover) and (pointer: fine) {
  .shot:hover { transform: scale(1.02); }
}

/* ============================ DEPOIMENTOS ============================ */
.slider {
  position: relative;
  margin-top: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--pad) clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem);
}
.slider__quote {
  position: absolute;
  top: clamp(0.5rem, 1vw, 1.25rem); left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(4.5rem, 3rem + 7vw, 8rem);
  line-height: 0.8;
  color: var(--beige);
  pointer-events: none;
  user-select: none;
}
.slider__viewport { position: relative; min-height: clamp(13rem, 10rem + 12vw, 17rem); display: grid; }
.slider__slide { margin: 0; text-align: center; align-self: center; }
.slider__text {
  font-size: clamp(1.2rem, 0.95rem + 1.5vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.22;
  color: var(--plum);
  max-width: 26ch;
  margin-inline: auto;
  text-wrap: balance;
}
.slider__meta { margin-top: clamp(1.25rem, 1rem + 1.2vw, 2rem); display: grid; gap: 0.25rem; }
.slider__name { font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.slider__role, .slider__company {
  color: var(--ink-mute);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.slider__controls {
  margin-top: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.slider__arrow {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--ink-ghost);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.slider__arrow:hover { color: var(--offwhite); background: var(--plum); border-color: var(--plum); }
.slider__arrow:active { transform: scale(0.94); }
.slider__count {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.slider__count-sep { margin-inline: 0.45em; }
.slider__progress {
  position: relative;
  margin: clamp(1.25rem, 1rem + 1.2vw, 1.75rem) auto 0;
  width: min(100%, 20rem);
  height: 2px;
  border-radius: 2px;
  background: var(--rule);
  overflow: hidden;
}
.slider__progress span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ===================== BOTÃO FLUTUANTE DE WHATSAPP ==================== */
.wa {
  position: fixed;
  right: clamp(0.9rem, 0.5rem + 1.2vw, 1.75rem);
  bottom: clamp(0.9rem, 0.5rem + 1.2vw, 1.75rem);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem;
  background: var(--plum);
  color: var(--ivory);
  border-radius: var(--r-pill);
  box-shadow: 0 16px 36px -18px rgba(45, 34, 36, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
              visibility 0.5s, background-color 0.35s var(--ease);
}
.wa.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.wa:hover { background: var(--wine); }
.wa__label { font-size: var(--fs-sm); font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 560px) {
  .wa { padding: 0.9rem; }
  .wa__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ========================== CURSOR (desktop) ========================== */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .cursor {
    position: fixed;
    top: 0; left: 0;
    z-index: 120;
    width: 24px; height: 24px;
    margin: -12px 0 0 -12px;
    border: 1.5px solid var(--wine);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s var(--ease), width 0.35s var(--ease),
                height 0.35s var(--ease), margin 0.35s var(--ease),
                background-color 0.35s var(--ease), border-color 0.35s var(--ease);
  }
  .cursor.is-active { display: block; opacity: 1; }
  .cursor.is-hover {
    width: 48px; height: 48px; margin: -24px 0 0 -24px;
    background: rgba(104, 66, 83, 0.1);
    border-color: var(--accent);
  }
  .cursor__dot {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 3px; height: 3px;
    margin: -1.5px 0 0 -1.5px;
    border-radius: 50%;
    background: var(--wine);
    transition: opacity 0.3s var(--ease);
  }
  .cursor.is-hover .cursor__dot { opacity: 0; }
}

/* ========================= BONSAI DE PARTÍCULAS ======================== */
/* A caixa posiciona a árvore no painel; a câmera só cuida do tamanho. */
.particles {
  position: absolute;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.particles canvas { display: block; }

/* bloco "Formatos": canto superior direito, atrás dos quatro blocos */
.particles--corner {
  top: 0;
  right: 0;
  width: min(68%, 45rem);
  height: min(100%, 42rem);
  right: -10%;
}

/* rodapé: centralizada e colada embaixo */
.particles--bottom {
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
}

/* no mobile a coluna é estreita: a árvore recua para o canto e clareia,
   virando textura de fundo em vez de disputar espaço com o texto */
@media (max-width: 900px) {
  .particles--corner {
    width: 64%;
    height: min(100%, 17rem);
    right: -10%;
    opacity: 0.5;
  }
  .particles--bottom { opacity: 0.72; }
}

/* ===== sections.css ===== */
/* =========================================================================
   SEÇÕES
   ========================================================================= */

/* ================================ HERO ================================ */
.hero { padding-top: clamp(5.25rem, 4.25rem + 3.5vw, 7rem); }

.hero__panel {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: stretch;
  min-height: min(82svh, 44rem);
  overflow: hidden;
}

.hero__left {
  position: relative;
  min-width: 0;
  padding: clamp(1.6rem, 1.1rem + 2.4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.1rem, 0.9rem + 1.2vw, 1.9rem);
}

.hero__title {
  font-size: var(--d-xl);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.042em;
  text-wrap: initial;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line__in { display: block; padding-bottom: 0.14em; margin-bottom: -0.14em; }

.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 42ch;
}

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }

.hero__foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(0.5rem, 0.3rem + 1vw, 1.25rem);
  padding-top: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  border-top: 1px solid var(--rule);
}
.hero__foot p { font-size: var(--fs-sm); color: var(--ink-soft); max-width: 42ch; }
.hero__foot-line { width: 28px; height: 1px; background: var(--accent); flex: none; }

.hero__right {
  position: relative;
  overflow: hidden;
  background: var(--beige);
  min-height: 20rem;
}
.hero__photo {
  /* 118% de altura com -9% de topo: o parallax desliza dentro dessa folga e
     nunca descobre a borda da moldura */
  position: absolute;
  top: -9%; left: 0;
  width: 100%; height: 118%;
  object-fit: cover;
  will-change: transform;
}
.hero__mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--panel);
  transform-origin: bottom center;
}
:where(.hero__mask) { transform: scaleY(0); }
.js-anim .hero__mask { transform: scaleY(1); }

.scroll-hint {
  width: var(--wrap);
  margin: clamp(1.25rem, 1rem + 1vw, 2rem) auto 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  width: fit-content;
  margin-left: max(0.875rem, (100% - var(--wrap)) / 2);
  transition: color 0.3s var(--ease);
}
.scroll-hint:hover { color: var(--ink); }
.scroll-hint__icon { width: 12px; animation: nudge 2.6s var(--ease) infinite; }
.scroll-hint__icon svg { width: 100%; height: auto; }
@keyframes nudge {
  0%, 100% { transform: translateY(-2px); opacity: 0.55; }
  50%      { transform: translateY(2px);  opacity: 1; }
}

@media (max-width: 940px) {
  .hero__panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__right { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .hero__left { padding-block: clamp(1.75rem, 1.4rem + 2vw, 2.5rem); }
}
@media (max-width: 940px) and (min-width: 561px) {
  .hero__right { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .hero__right { aspect-ratio: 1 / 1; }
}

/* ============================= MANIFESTO ============================== */
.manifesto { padding-block: var(--sec-y); }
.manifesto__inner .flourish { margin-top: clamp(2rem, 1.6rem + 2vw, 3rem); }
.manifesto__inner {
  position: relative;
  max-width: 64rem;
  margin-inline: auto;
  padding-block: clamp(4rem, 3.25rem + 2.4vw, 5.75rem);
  text-align: center;
}
.manifesto__text {
  max-width: 54rem;
  margin-inline: auto;
  font-size: var(--d-lg);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.038em;
  color: var(--ink);
  text-wrap: initial;
}
.manifesto__text .word { color: var(--ink-ghost); transition: color 0.25s linear; }
.manifesto__text .word.is-on { color: var(--ink); }
.manifesto__text .accent { color: var(--accent-ink); }
.manifesto__text .word .accent { color: inherit; }

.manifesto__sign {
  margin-top: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-size: var(--fs-lead);
  color: var(--ink-soft);
}
.manifesto__sign strong { color: var(--accent-ink); font-weight: 500; }

/* as pastilhas ocupam o respiro acima e abaixo do texto, nunca sobre ele */
.pill--float { position: absolute; z-index: 2; }
.pill--a { top: 0.25rem;    left: 4%;  transform: rotate(-4deg); }
.pill--b { top: 1rem;       right: 5%; transform: rotate(3deg); }
.pill--c { bottom: 0.5rem;  left: 9%;  transform: rotate(2deg); }
.pill--d { bottom: 1.75rem; right: 4%; transform: rotate(-3deg); }

@media (max-width: 900px) {
  .pill--b, .pill--d { display: none; }
  .pill--a { left: 0; }
  .pill--c { right: 0; left: auto; }
}

/* =============================== SOBRE ================================ */
.about { padding-block: var(--sec-y); }
.about__panel {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
}
.about__media { position: relative; background: var(--beige); min-height: 22rem; }
.about__media img {
  position: absolute;
  top: -9%; left: 0;
  width: 100%; height: 118%;
  object-fit: cover;
  will-change: transform;
}
.about__content { padding: var(--pad); }
.about__title {
  font-size: var(--d-md);
  margin-block: clamp(0.9rem, 0.75rem + 0.8vw, 1.4rem) clamp(1.1rem, 0.9rem + 1vw, 1.6rem);
  max-width: 18ch;
}
.about__body { color: var(--ink-soft); max-width: 58ch; }
.about__body p + p { margin-top: 1em; }

@media (max-width: 940px) {
  .about__panel { grid-template-columns: minmax(0, 1fr); }
  .about__media { aspect-ratio: 4 / 3; min-height: 0; }
  /* empilhado, o texto começa mais abaixo para não encostar na fotografia */
  .about__content { padding-top: calc(var(--pad) + 0.75rem); }
}

/* =============================== TEMAS ================================ */
.themes { padding-block: var(--sec-y); }
.themes__list {
  margin-top: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  border-top: 1px solid var(--rule);
}
.theme {
  border-bottom: 1px solid var(--rule);
  border-radius: var(--r-lg);
  transition: background-color 0.4s var(--ease);
}
.theme.is-open { background: var(--panel); border-bottom-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .theme:hover { background: var(--panel); }
}

.theme__heading { margin: 0; font-weight: inherit; font-size: inherit; letter-spacing: 0; }
.theme__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(0.9rem, 0.5rem + 1.6vw, 2rem);
  padding: clamp(1.1rem, 0.9rem + 1vw, 1.7rem) clamp(0.5rem, 0.3rem + 1vw, 1.25rem);
  text-align: left;
  color: var(--ink);
}
.theme__num {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
  transition: color 0.35s var(--ease);
}
.theme__body { display: grid; gap: 0.35rem; min-width: 0; }
.theme__name {
  font-size: clamp(1.15rem, 0.95rem + 1.1vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.theme__lead {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 56ch;
}
.theme__thumb {
  /* mesma pastilha das que aparecem no meio das frases: verde Tea em degradê
     com o ícone branco por cima. A caixa não muda — a largura continua abrindo
     de zero a 82px, que é o gesto de sempre. */
  position: relative;
  flex: none;
  width: 0;
  height: 62px;
  border-radius: var(--r-md);
  overflow: hidden;
  opacity: 0;
  background: linear-gradient(148deg, #B7B9A2 0%, var(--tea) 48%, #82846C 100%);
  color: #fff;
  transition: width 0.5s var(--ease), opacity 0.4s var(--ease);
}
.theme__thumb svg { position: absolute; inset: 0; margin: auto; height: 55%; width: auto; }
.theme__sign {
  position: relative;
  width: 34px; height: 34px;
  border: 1px solid var(--ink-ghost);
  border-radius: 50%;
  flex: none;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.theme__sign::before, .theme__sign::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  margin: -0.75px 0 0 -6px;
  border-radius: 2px;
  background: var(--ink-soft);
  transition: transform 0.45s var(--ease), background-color 0.4s var(--ease);
}
.theme__sign::after { transform: rotate(90deg); }

.theme.is-open .theme__num { color: var(--accent-ink); }
.theme.is-open .theme__thumb { width: 82px; opacity: 1; }
.theme.is-open .theme__sign { background: var(--plum); border-color: var(--plum); }
.theme.is-open .theme__sign::before,
.theme.is-open .theme__sign::after { background: var(--offwhite); }
.theme.is-open .theme__sign::after { transform: rotate(0deg); }

@media (hover: hover) and (pointer: fine) {
  .theme:hover .theme__thumb { width: 82px; opacity: 1; }
}

.theme__panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease), opacity 0.4s var(--ease);
}
.theme.is-open .theme__panel { max-height: 20rem; opacity: 1; }
.theme__panel p {
  max-width: 62ch;
  color: var(--ink-soft);
  padding: 0 clamp(1rem, 0.6rem + 1.6vw, 2rem) clamp(1.25rem, 1rem + 1vw, 1.75rem)
             clamp(2.5rem, 1.4rem + 3.4vw, 4.5rem);
}

@media (max-width: 700px) {
  .theme__trigger { grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.85rem; }
  .theme__thumb { display: none; }
}

.themes__custom {
  margin-top: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  padding: var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.themes__custom-title {
  font-size: var(--d-sm);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 20ch;
}
.themes__custom-text { margin-top: 0.75rem; color: var(--ink-soft); max-width: 52ch; font-size: var(--fs-sm); }
@media (max-width: 780px) {
  .themes__custom { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}

/* ============================== GALERIA =============================== */
.gallery { padding-block: var(--sec-y); overflow: hidden; }
.gallery .section-title { max-width: 24ch; }

/* ========================= PARA SUA EMPRESA ========================== */
.company { padding-block: var(--sec-y); }
.company__panel {
  width: var(--wrap);
  margin-inline: auto;
  position: relative;
  padding: var(--pad);
  overflow: hidden;
}
.company__inner { position: relative; z-index: 1; }
/* a copa ocupa a direita do painel: o texto se recolhe para não passar por baixo */
.company .section-intro { max-width: 46ch; }
.company .section-title { max-width: 17ch; }

.formats {
  margin-top: clamp(2.25rem, 1.75rem + 2.5vw, 3.75rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
}
.format {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding: clamp(1.35rem, 1.1rem + 1.1vw, 2rem);
  background: rgba(64, 44, 60, 0.42);
  border: 1px solid rgba(247, 242, 234, 0.14);
  border-radius: var(--r-lg);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.format:hover { background: rgba(64, 44, 60, 0.3); border-color: rgba(247, 242, 234, 0.28); }
.format__num {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--beige);
  opacity: 0.7;
  margin-bottom: clamp(0.75rem, 0.6rem + 0.7vw, 1.25rem);
}
.format__title {
  font-size: var(--d-sm);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 15ch;
}
.format__text { margin-top: 0.3rem; max-width: 42ch; color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.6; }

@media (max-width: 720px) { .formats { grid-template-columns: minmax(0, 1fr); } }

/* ============================ COMO FUNCIONA =========================== */
.process { padding-block: var(--sec-y); }
.steps {
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
}
.step {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: clamp(1.35rem, 1.1rem + 1.1vw, 2rem);
  background: var(--panel);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
.step__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  margin-bottom: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  background: var(--panel-alt);
  border-radius: 15px;
  color: var(--accent-ink);
}
.step__icon svg { width: 24px; height: 24px; }
.step__num {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}
.step__title { font-size: var(--d-sm); font-weight: 500; letter-spacing: -0.035em; }
.step__text { margin-top: 0.15rem; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-soft); }
.process__cta { margin-top: clamp(2.5rem, 2rem + 2.5vw, 3.75rem); display: flex; justify-content: center; }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ============================ DEPOIMENTOS ============================= */
.testimonials { padding-block: var(--sec-y); }
.testimonials[hidden] { display: none; }

/* ========================== CTA FINAL / CONTATO ======================= */
.contact { padding-block: var(--sec-y); }
.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
}
.cta__media { position: relative; background: var(--beige); min-height: 22rem; }
.cta__media img {
  position: absolute;
  top: -9%; left: 0;
  width: 100%; height: 118%;
  object-fit: cover;
  will-change: transform;
}
.cta__content { padding: var(--pad); }
.cta__title {
  font-size: var(--d-md);
  margin-block: clamp(0.9rem, 0.75rem + 0.8vw, 1.4rem) clamp(0.9rem, 0.8rem + 0.8vw, 1.3rem);
  max-width: 16ch;
}
.cta__text { color: var(--ink-soft); max-width: 52ch; }
.cta__actions { margin-top: clamp(1.4rem, 1.2rem + 1.2vw, 2rem); display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cta__note { margin-top: 1rem; font-size: var(--fs-sm); color: var(--ink-soft); max-width: 42ch; }

.cta__links {
  margin-top: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid var(--rule);
  padding-top: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
}
.cta__links a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 1rem;
  padding-block: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.cta__links a:hover { color: var(--plum); }
.cta__label {
  min-width: 5.75rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 940px) {
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta__media { aspect-ratio: 4 / 3; min-height: 0; }
  .cta__content { padding-top: calc(var(--pad) + 0.75rem); }
}

/* âncoras com respiro sob o header fixo */
:where(section[id], [id^="tema-"]) { scroll-margin-top: clamp(4.5rem, 3.5rem + 3vw, 6.5rem); }
