/* ============================================================
   Grafiss Gráfica & Presentes
   Paleta: 60% branco, 30% roxo, 10% amarelo (+ preto da logo)
   ============================================================ */
:root {
  --roxo: #4B12B3;
  --roxo-esc: #2E0A73;
  --roxo-hover: #3B0C92;
  --lilas: #EEE8FB;
  --lilas-2: #DCD0F7;
  --amarelo: #FFC107;
  --amarelo-hover: #FFD24D;
  --tinta: #16111F;
  --texto: #3F3950;
  --branco: #FFFFFF;
  --papel: #FBFAFE;
  --linha: #E6E0F2;

  --f-titulo: "Archivo", system-ui, sans-serif;
  --f-texto: "Manrope", system-ui, sans-serif;

  --r: 22px;
  --r-sm: 14px;
  --hh: 76px;
  --sombra: 0 18px 40px -18px rgba(46, 10, 115, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: calc(var(--hh) + 12px); }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--branco);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titulo); color: var(--tinta); margin: 0; line-height: 1.1; text-wrap: balance; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(75, 18, 179, .15); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
svg { width: 1em; height: 1em; flex-shrink: 0; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--tinta); color: var(--branco); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botões (pílula) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-titulo); font-weight: 700; font-size: .98rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn:active { transform: scale(.98); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--roxo { background: var(--roxo); color: var(--branco); }
.btn--roxo:hover { background: var(--roxo-esc); transform: translateY(-2px); box-shadow: var(--sombra); }
.btn--amarelo { background: var(--amarelo); color: var(--tinta); }
.btn--amarelo:hover { background: var(--branco); color: var(--roxo-esc); transform: translateY(-2px); }
.btn--linha { background: rgba(75, 18, 179, .08); color: var(--roxo); border-color: rgba(75, 18, 179, .6); }
.btn--linha:hover { background: var(--roxo); color: var(--branco); border-color: var(--roxo); }

/* ---------- Títulos ---------- */
.titulo {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.08;
  max-width: 18ch;
}
.titulo em { font-style: italic; font-weight: 900; color: var(--roxo); padding-right: .08em; }
.titulo--claro { color: var(--branco); }
.titulo--claro em { color: var(--amarelo); }
.lead { font-size: 1.125rem; max-width: 56ch; margin-top: 1rem; }
.sec { padding: clamp(4.5rem, 3rem + 5vw, 7.5rem) 0; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--hh);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--linha); box-shadow: 0 8px 24px -16px rgba(46, 10, 115, .25); }
.header__in { height: 100%; display: flex; align-items: center; gap: 2rem; }
.header__logo img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .3rem; }
.nav a:not(.btn) {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--tinta); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav a:not(.btn):hover { background: var(--lilas); color: var(--roxo); }
.nav a.is-active { color: var(--roxo); background: var(--lilas); }
.nav li { flex-shrink: 0; }
.nav a:not(.btn) { white-space: nowrap; }
.nav a.nav__vitrine {
  display: inline-flex; align-items: center; gap: .4rem; margin-left: .3rem;
  border: 2px solid rgba(75, 18, 179, .6); background: rgba(75, 18, 179, .08); color: var(--roxo); padding: .4rem .9rem;
}
.nav a.nav__vitrine svg { width: 1.1em; height: 1.1em; }
.nav a.nav__vitrine:hover, .nav a.nav__vitrine[aria-current="page"] { background: var(--roxo); color: var(--branco); border-color: var(--roxo); }
.nav__cta-mobile { display: none; }
.header__cta { padding: .7rem 1.15rem; font-size: .92rem; }

.burger {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid rgba(75, 18, 179, .6); background: rgba(75, 18, 179, .08);
  cursor: pointer; padding: 0; position: relative;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--roxo); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

main { padding-top: var(--hh); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--hh));
  display: flex; align-items: center;
  padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0;
  background: url("../img/bg-hero.webp") left bottom / cover no-repeat var(--branco);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 88% 18%, rgba(238, 232, 251, .9) 0 24%, transparent 24.2%),
    linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .84) 50%, rgba(255, 255, 255, .78) 100%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__slogan {
  display: inline-block;
  font-family: var(--f-titulo); font-style: italic; font-weight: 800;
  font-size: 1.05rem; color: var(--tinta);
  background: linear-gradient(transparent 55%, var(--amarelo) 55%);
  padding: 0 .3rem;
  margin-bottom: 1.1rem;
}
.hero__h1 {
  font-size: clamp(2.7rem, 1.4rem + 4.6vw, 5rem);
  font-weight: 900; font-style: italic; letter-spacing: -.035em; line-height: 1.02;
  color: var(--roxo);
  padding-bottom: .05em;
}
.hero__h1 span:not(.marca) {
  display: block; font-style: normal; font-weight: 800;
  font-size: .5em; letter-spacing: -.01em; color: var(--tinta); margin-top: .25em;
}
.hero__h2 {
  font-family: var(--f-texto); font-weight: 500;
  font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6;
  color: var(--texto); max-width: 44ch; margin-top: 1.4rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero__collage {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px;
  height: min(560px, 68vh); min-height: 400px;
}
.ph { overflow: hidden; border-radius: var(--r); box-shadow: var(--sombra); background: var(--lilas); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--a { grid-row: 1 / 3; }
.ph--b { transform: translateY(18px); }
.ph--c { transform: translateY(18px); border: 6px solid var(--amarelo); }
.hero__seta {
  position: absolute; width: 58%; height: auto; left: -14%; bottom: 14%;
  color: var(--amarelo); filter: drop-shadow(0 6px 10px rgba(46, 10, 115, .25));
  pointer-events: none;
}
.hero__bola {
  position: absolute; width: 54px; height: 54px; border-radius: 50%;
  background: var(--amarelo); top: -14px; right: 32%;
  box-shadow: 0 6px 16px -6px rgba(46, 10, 115, .4);
}

/* ============================================================
   FAIXA (marquee)
   ============================================================ */
.faixa { background: var(--roxo); color: var(--branco); overflow: hidden; padding: 1.05rem 0; }
.faixa__track { display: flex; width: max-content; animation: faixa 38s linear infinite; }
.faixa ul { display: flex; flex-shrink: 0; }
.faixa li {
  font-family: var(--f-titulo); font-weight: 800; font-style: italic;
  font-size: 1.2rem; white-space: nowrap; padding-right: 1.6rem;
  display: flex; align-items: center; gap: 1.6rem;
}
.faixa li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amarelo); }
.faixa:hover .faixa__track { animation-play-state: paused; }
@keyframes faixa { to { transform: translateX(-50%); } }

/* ============================================================
   O QUE FAZEMOS (bento)
   ============================================================ */
.fazemos__head { margin-bottom: 3rem; }
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 16px;
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--r);
  padding: 1.6rem; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.tile h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.tile p { margin-top: .4rem; font-size: .98rem; line-height: 1.5; }
.tile__ico { width: 44px; height: 44px; margin-bottom: auto; }

.tile--roxo { background: var(--roxo); color: rgba(255, 255, 255, .9); }
.tile--roxo h3 { color: var(--branco); }
.tile--roxo .tile__ico { color: var(--amarelo); }
.tile--amarelo { background: var(--amarelo); color: var(--tinta); }
.tile--amarelo .tile__ico { color: var(--roxo); }
.tile--lilas { background: var(--lilas); color: var(--texto); }
.tile--lilas .tile__ico { color: var(--roxo); }

.tile--foto { color: rgba(255, 255, 255, .92); padding: 0; }
.tile--foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile--foto:hover img { transform: scale(1.05); }
.tile--foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 17, 31, 0) 35%, rgba(30, 8, 76, .88) 100%);
}
.tile__txt { position: relative; z-index: 1; padding: 1.6rem; }
.tile--foto h3 { color: var(--branco); }

.t-imp  { grid-column: 1; grid-row: 1 / 3; }
.t-mat  { grid-column: 2 / 4; grid-row: 1; }
.t-pers { grid-column: 4; grid-row: 1; }
.t-lemb { grid-column: 2; grid-row: 2; }
.t-pap  { grid-column: 3; grid-row: 2; }
.t-brin { grid-column: 4; grid-row: 2; }
.t-fest { grid-column: 1 / 3; grid-row: 3; }
.t-pres { grid-column: 3 / 5; grid-row: 3; }
.t-mat h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.t-mat p { font-size: 1.05rem; max-width: 34ch; }

/* ============================================================
   HISTÓRIA (trilha com a seta da logo)
   ============================================================ */
.historia { background: var(--papel); position: relative; }
.trilha {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem;
  margin-top: 3.5rem; padding-top: 4.5rem;
}
.trilha::before {
  content: ""; position: absolute; top: 1.75rem; left: 1.75rem; right: 2.2rem; height: 8px;
  border-radius: 8px; background: var(--amarelo);
}
.trilha::after {
  content: ""; position: absolute; top: calc(1.75rem - 11px); right: .4rem;
  border-left: 28px solid var(--amarelo); border-top: 15px solid transparent; border-bottom: 15px solid transparent;
}
.trilha__item { position: relative; }
.trilha__ano {
  position: absolute; top: -4.5rem; left: 0;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--branco); border: 3px solid var(--roxo); color: var(--roxo);
  font-family: var(--f-titulo); font-weight: 800; font-size: .92rem;
  z-index: 1;
}
.trilha__ano svg { width: 1.5rem; height: 1.5rem; }
.trilha__item h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.trilha__item p { font-size: 1rem; max-width: 30ch; }
.trilha__item--destaque .trilha__ano { background: var(--roxo); color: var(--branco); }
.trilha__item--destaque h3 { color: var(--roxo); }

.citacao {
  margin-top: 4.5rem; padding: clamp(1.8rem, 1rem + 3vw, 3rem);
  background: var(--branco); border-radius: var(--r); border: 1px solid var(--linha);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center;
}
.citacao blockquote p {
  font-family: var(--f-titulo); font-weight: 700; font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.35; color: var(--tinta);
  max-width: 44ch;
}
.citacao figcaption { font-size: .95rem; border-left: 4px solid var(--amarelo); padding-left: 1rem; }
.citacao figcaption strong { display: block; font-family: var(--f-titulo); color: var(--roxo); font-size: 1.1rem; }

/* ============================================================
   MISSÃO E VISÃO
   ============================================================ */
.proposito { background: var(--roxo); color: rgba(255, 255, 255, .9); padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0; position: relative; overflow: hidden; }
.proposito::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .06); right: -140px; top: -160px;
}
.proposito__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.proposito__bloco h3 {
  display: inline-block; font-size: 1rem; font-weight: 800; color: var(--tinta);
  background: var(--amarelo); border-radius: 999px; padding: .45rem 1rem; margin-bottom: 1.4rem;
}
.proposito__bloco p { font-family: var(--f-titulo); font-weight: 500; font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem); line-height: 1.5; color: var(--branco); }

/* ============================================================
   VALORES (notas coladas)
   ============================================================ */
.notas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; margin-top: 3rem; }
.nota {
  padding: 1.6rem 1.5rem 1.8rem; border-radius: var(--r-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.nota:nth-child(odd) { --rot: -1.2deg; }
.nota:nth-child(even) { --rot: 1.2deg; }
.nota.is-visible { transform: rotate(var(--rot)); }
.nota:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--sombra); }
.nota svg { width: 34px; height: 34px; color: var(--roxo); margin-bottom: 1rem; }
.nota h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .4rem; }
.nota p { font-size: .97rem; line-height: 1.55; }
.nota--a { background: var(--lilas); }
.nota--b { background: var(--amarelo); color: var(--tinta); }
.nota--c { background: var(--branco); border: 2px solid var(--lilas-2); }

/* ============================================================
   CONTATO
   ============================================================ */
.contato { padding-top: 0; }
.contato__card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: calc(var(--r) + 8px); overflow: hidden; background: var(--roxo-esc);
  box-shadow: var(--sombra);
}
.contato__chamada { position: relative; padding: clamp(2rem, 1rem + 4vw, 4rem); color: rgba(255, 255, 255, .88); overflow: hidden; }
.contato__chamada p { margin: 1.2rem 0 2rem; max-width: 40ch; font-size: 1.08rem; }
.contato__seta { position: absolute; width: 70%; height: auto; right: -12%; bottom: -10%; color: var(--amarelo); opacity: .9; pointer-events: none; }
.contato__lista { background: var(--branco); padding: clamp(2rem, 1rem + 3vw, 3.5rem); display: grid; gap: 1.5rem; align-content: center; }
.contato__lista li { display: flex; gap: 1rem; align-items: flex-start; }
.contato__ico {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--lilas); color: var(--roxo);
}
.contato__ico svg { width: 22px; height: 22px; }
.contato__lista h3 { font-size: 1rem; font-weight: 800; margin-bottom: .2rem; }
.contato__lista p { font-size: 1rem; line-height: 1.55; }
.contato__lista a { color: var(--roxo); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contato__lista a:hover { color: var(--roxo-esc); }
.redes { display: flex; gap: .6rem; margin-top: .4rem; }
.redes a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(75, 18, 179, .6); background: rgba(75, 18, 179, .08); color: var(--roxo);
  transition: background-color .2s, color .2s, border-color .2s;
}
.redes a:hover { background: var(--roxo); color: var(--branco); border-color: var(--roxo); }
.redes svg { width: 20px; height: 20px; }

/* ============================================================
   RODAPÉ
   ============================================================ */
.rodape { background: var(--lilas); padding: 4rem 0 0; color: var(--texto); }
.rodape__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.rodape__marca img { width: 220px; height: auto; }
.rodape__marca p { margin-top: 1rem; font-family: var(--f-titulo); font-style: italic; font-weight: 800; color: var(--roxo); font-size: 1.1rem; }
.rodape h2 { font-size: 1rem; font-weight: 800; margin-bottom: 1rem; }
.rodape li { margin-bottom: .45rem; font-size: .97rem; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--roxo); text-decoration: underline; }
.rodape__base {
  border-top: 1px solid var(--lilas-2); padding: 1.4rem 0 1.6rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; font-size: .88rem;
}

/* ---------- Fotos de fundo das seções (imagem + overlay) ---------- */
.fazemos, .historia, .valores, .proposito { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.fazemos::before, .historia::before, .valores::before, .proposito::before, .contato__chamada::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
}
.fazemos > .wrap, .historia > .wrap, .valores > .wrap, .proposito > .wrap { position: relative; z-index: 1; }

.fazemos { background-image: url("../img/bg-fazemos.webp"); background-color: var(--branco); }
.fazemos::before { background: rgba(255, 255, 255, .8); }

.historia { background-image: url("../img/bg-historia.webp"); background-color: var(--papel); }
.historia::before { background: rgba(251, 250, 254, .86); }

.proposito { background-image: url("../img/bg-proposito.webp"); background-color: var(--roxo); }
.proposito::before { background: rgba(75, 18, 179, .86); }

.valores { background-image: url("../img/bg-valores.webp"); background-color: var(--branco); }
.valores::before { background: rgba(255, 255, 255, .88); }

.contato__chamada { background: url("../img/bg-contato.webp") center / cover var(--roxo-esc); }
.contato__chamada::before { background: rgba(46, 10, 115, .84); }
.contato__chamada > :not(.contato__seta) { position: relative; z-index: 1; }

/* ============================================================
   SEÇÃO VITRINE (home)
   ============================================================ */
.vitrine-sec { background: var(--amarelo); padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0; overflow: hidden; }
.vitrine-sec__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.vitrine-sec .titulo em { color: var(--roxo); }
.vitrine-sec .titulo.is-visible em, .vitrine-sec .is-visible .titulo em { background-image: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)); }
.vitrine-sec__txt p { color: var(--tinta); font-size: 1.125rem; max-width: 44ch; margin: 1.1rem 0 2rem; }
.leque { position: relative; display: block; height: 340px; }
.leque img {
  position: absolute; top: 50%; left: 50%; width: 58%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r); border: 6px solid var(--branco); box-shadow: var(--sombra);
  transition: transform .6s var(--ease);
}
.leque img:nth-child(1) { transform: translate(-95%, -50%) rotate(-10deg); }
.leque img:nth-child(2) { transform: translate(-5%, -50%) rotate(9deg); }
.leque img:nth-child(3) { transform: translate(-50%, -46%) rotate(-1deg); width: 50%; aspect-ratio: 1; }
.leque:hover img:nth-child(1) { transform: translate(-112%, -52%) rotate(-15deg); }
.leque:hover img:nth-child(2) { transform: translate(12%, -52%) rotate(14deg); }
.leque:hover img:nth-child(3) { transform: translate(-50%, -54%) rotate(0deg) scale(1.04); }

/* ============================================================
   PÁGINA VITRINE (header 80px + iframe, sem rolagem)
   ============================================================ */
html.page-vitrine { --hh: 80px; overflow: hidden; height: 100%; scrollbar-width: none; }
html.page-vitrine::-webkit-scrollbar, .page-vitrine body::-webkit-scrollbar { display: none; }
.page-vitrine body { overflow: hidden; height: 100%; margin: 0; overscroll-behavior: none; }
.page-vitrine .header { height: 80px; border-color: var(--linha); }
.page-vitrine main { padding-top: 80px; }
.vitrine-frame { width: 100%; height: calc(100dvh - 80px); overflow: hidden; }
.vitrine-frame iframe { display: block; width: 100%; }

/* ---------- WhatsApp flutuante (fixo, sem animação) ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1F8F4E; color: var(--branco);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #17733E; }

/* ---------- Revelação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.nota.reveal.is-visible { transform: rotate(var(--rot)); }
.nota.reveal.is-visible:hover { transform: rotate(0) translateY(-4px); }
.tile.reveal.is-visible:hover { transform: translateY(-4px); }

/* ============================================================
   EFEITOS
   ============================================================ */
/* Barra de progresso de leitura (CSS scroll-driven, sem JS) */
.progresso { display: none; }
@supports (animation-timeline: scroll()) {
  .progresso {
    display: block; position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 110;
    background: var(--amarelo); transform-origin: 0 50%; transform: scaleX(0);
    animation: progresso linear both; animation-timeline: scroll(root);
  }
  @keyframes progresso { to { transform: scaleX(1); } }
}

/* Entrada da hero */
.ph { animation: ph-entra 1s var(--ease) both; }
.ph--a { animation-delay: .15s; }
.ph--b { animation-delay: .3s; }
.ph--c { animation-delay: .45s; }
@keyframes ph-entra { from { opacity: 0; transform: translateY(40px) scale(.92) rotate(-3deg); } }
.ph { transition: translate .6s var(--ease); }

.hero__bola { animation: bola-entra .9s 1.2s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes bola-entra { from { opacity: 0; transform: translateY(-50px) scale(0); } }

/* Seta da logo se desenhando */
.seta__linha { stroke-dasharray: 1; stroke-dashoffset: 1; }
.seta__ponta { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); }
.hero__seta .seta__linha { animation: seta-linha 1.1s .7s var(--ease) forwards; }
.hero__seta .seta__ponta { animation: seta-ponta .5s 1.6s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.contato__card.is-visible .seta__linha { animation: seta-linha 1.2s .4s var(--ease) forwards; }
.contato__card.is-visible .seta__ponta { animation: seta-ponta .5s 1.4s cubic-bezier(.34, 1.56, .64, 1) forwards; }
@keyframes seta-linha { to { stroke-dashoffset: 0; } }
@keyframes seta-ponta { to { opacity: 1; transform: none; } }

/* Marca-texto amarelo nos destaques dos títulos */
.titulo em, .hero__slogan {
  background-image: linear-gradient(var(--amarelo), var(--amarelo));
  background-repeat: no-repeat; background-position: 0 88%; background-size: 0% .3em;
  transition: background-size 1s .35s var(--ease);
}
.hero__slogan { background-position: 0 100%; background-size: 0% 45%; }
.hero__slogan.is-visible { background-size: 100% 45%; }
.titulo.is-visible em, .is-visible .titulo em { background-size: 100% .3em; }
.titulo--claro em { background-image: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)); }

/* Trilha da história: a seta cresce e os marcos aparecem em sequência */
.trilha::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s .2s var(--ease); }
.trilha::after { opacity: 0; transition: opacity .4s 1.6s; }
.trilha.is-visible::before { transform: none; }
.trilha.is-visible::after { opacity: 1; }
.trilha__ano { transform: scale(0); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.trilha__item.is-visible .trilha__ano { transform: none; transition-delay: .35s; }

/* Notas de valores caem girando até o lugar */
.nota.reveal { transform: translateY(40px) rotate(calc(var(--rot, 0deg) * 5)); }

/* Cards do bento: luz que acompanha o cursor */
.tile--roxo, .tile--amarelo, .tile--lilas {
  background-image: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 50%);
  background-size: 100% 100%; background-repeat: no-repeat;
}
.tile { transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .8s var(--ease); }
.tile.is-tilt { transition: transform .12s linear, box-shadow .4s var(--ease); }

/* Ícones das notas e do contato reagem ao hover */
.nota svg, .contato__ico { transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.nota:hover svg { transform: rotate(-10deg) scale(1.15); }
.contato__lista li:hover .contato__ico { transform: scale(1.12) rotate(-6deg); }

/* Brilho atravessando os botões */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .progresso { display: none; }
  .ph, .hero__bola, .hero__seta .seta__linha, .hero__seta .seta__ponta,
  .contato__card.is-visible .seta__linha, .contato__card.is-visible .seta__ponta { animation: none; }
  .seta__linha { stroke-dashoffset: 0; }
  .seta__ponta { opacity: 1; transform: none; }
  .titulo em, .hero__slogan { background-size: 100% .3em; transition: none; }
  .hero__slogan { background-size: 100% 45%; }
  .trilha::before, .trilha__ano { transform: none; transition: none; }
  .trilha::after { opacity: 1; transition: none; }
  .nota.reveal { transform: rotate(var(--rot, 0deg)); }
  .btn::after { display: none; }
  .leque img { transition: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1260px) {
  .header__cta { display: none; }
}

@media (max-width: 960px) {
  :root { --hh: 66px; }
  .header__logo img { height: 40px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--hh); left: 0; right: 0;
    background: var(--branco); border-bottom: 1px solid var(--linha);
    padding: 1rem 20px 1.5rem;
    box-shadow: 0 20px 30px -20px rgba(46, 10, 115, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav a:not(.btn) { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav__cta-mobile { display: flex; margin-top: 1rem; width: 100%; }

  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__collage { height: 420px; min-height: 0; max-width: 620px; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; }
  .t-imp  { grid-column: 1; grid-row: 1 / 3; }
  .t-mat  { grid-column: 2; grid-row: 1; }
  .t-pers { grid-column: 2; grid-row: 2; }
  .t-lemb { grid-column: 1; grid-row: 3; }
  .t-pap  { grid-column: 2; grid-row: 3; }
  .t-fest { grid-column: 1 / 3; grid-row: 4; }
  .t-brin { grid-column: 1; grid-row: 5; }
  .t-pres { grid-column: 2; grid-row: 5; }

  .trilha { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 5.5rem; }
  .trilha::before, .trilha::after { display: none; }
  .trilha__ano::after { content: none; }
  .citacao { grid-template-columns: minmax(0, 1fr); }
  .vitrine-sec__grid { grid-template-columns: minmax(0, 1fr); }
  .leque { height: 300px; max-width: 560px; width: 100%; margin-inline: auto; }

  .notas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contato__card { grid-template-columns: minmax(0, 1fr); }
  .rodape__grid { grid-template-columns: 1fr 1fr; }
  .rodape__marca { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 2rem; }
  .hero__ctas .btn { width: 100%; }
  .hero__collage { height: 340px; gap: 10px; }
  .hero__bola { width: 40px; height: 40px; }

  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 220px; }
  .bento .tile { grid-column: 1; grid-row: auto; }
  .t-imp { min-height: 320px; }

  .trilha {
    grid-template-columns: minmax(0, 1fr); row-gap: 2.2rem;
    padding-top: 0; padding-left: 4.5rem;
  }
  .trilha::before { display: block; top: .5rem; bottom: 1rem; left: 1.5rem; right: auto; width: 6px; height: auto; transform: scaleY(0); transform-origin: 50% 0; }
  .trilha__ano { top: -.2rem; left: -4.5rem; width: 3.1rem; height: 3.1rem; font-size: .82rem; }

  .leque { height: 230px; }
  .vitrine-sec .btn { width: 100%; }
  .notas { grid-template-columns: minmax(0, 1fr); }
  .nota:nth-child(odd), .nota:nth-child(even) { --rot: 0deg; }
  .rodape__grid { grid-template-columns: minmax(0, 1fr); }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

/* ---------- Ajustes finos de responsividade ---------- */
@media (max-width: 768px) {
  .proposito__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
}
@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; line-height: 1.2; }
  .contato__chamada { padding: 2rem 1.25rem 2.5rem; }
  .contato__lista { padding: 2rem 1.25rem; }
  .contato__chamada .btn { width: 100%; padding: 1rem 1rem; }
}
@media (max-width: 360px) {
  .hero__ctas .btn { width: auto; }
  .wa-float { width: 48px; height: 48px; right: 10px; bottom: 10px; }
  .wa-float svg { width: 26px; height: 26px; }
}
/* Celular deitado: hero mais compacta */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 960px) {
  .hero { padding: 1.5rem 0 2.5rem; }
  .hero__h1 { font-size: 2.6rem; }
  .hero__h2 { margin-top: .9rem; font-size: 1.02rem; }
  .hero__ctas { margin-top: 1.3rem; }
  .hero__ctas .btn { width: auto; }
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem; }
  .hero__collage { height: 280px; }
}
/* Telas grandes: container mais largo e tipografia um pouco maior */
@media (min-width: 1600px) {
  html { font-size: 17.5px; }
  .wrap { width: min(1400px, 100% - 96px); }
  .hero__collage { height: min(680px, 70vh); }
  .bento { grid-auto-rows: 290px; }
  .leque { height: 400px; }
}
@media (min-width: 2200px) {
  html { font-size: 19.5px; }
  .wrap { width: min(1640px, 100% - 160px); }
  .hero__collage { height: min(820px, 70vh); }
  .bento { grid-auto-rows: 340px; }
  .leque { height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .faixa__track { animation: none; }
  .tile, .tile--foto img, .nota, .btn { transition: none; }
}
