/* =========================================================================
   Pet Sitter Thaís Soares — folha de estilo principal
   Paleta extraída das referências: roxo #502070 · lima #7ED321 · laranja #F7941D
   ========================================================================= */

/* ------------------------------ 1. Tokens ------------------------------ */
:root {
  --purple-950: #1E0730;
  --purple-900: #2E0C42;
  --purple-800: #3A1550;
  --purple-700: #502070;   /* cor da marca */
  --purple-600: #6B3A9E;
  --purple-500: #8B5CC0;
  --purple-300: #C4A6E4;
  --purple-100: #EEE4F7;

  --lime: #7ED321;
  --lime-soft: #A8E85C;
  --lime-deep: #5FA314;

  --orange: #F7941D;
  --orange-soft: #FFB454;

  --cream: #FBF6EC;
  --cream-2: #F3E9D8;
  --white: #FFFFFF;
  --ink: #2A0E3C;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --radius-pill: 999px;

  --shadow-s: 0 4px 14px rgba(30, 7, 48, .10);
  --shadow-m: 0 14px 40px rgba(30, 7, 48, .16);
  --shadow-l: 0 30px 70px rgba(30, 7, 48, .26);
  --glow-lime: 0 0 0 4px rgba(126, 211, 33, .28);

  --font-display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Pacifico", "Segoe Script", cursive;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --container: 1200px;
  --header-h: 84px;
}

/* ------------------------------ 2. Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  /* o overflow fica no html, não no body: com overflow no body o Chrome
     passa a posicionar os fixed descendentes dentro dele (e a barra de
     rolagem sai do lugar) */
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

/* o atributo hidden precisa vencer os display: flex/grid dos componentes */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--purple-800);
}

::selection { background: var(--lime); color: var(--purple-900); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--lime); color: var(--purple-900);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-weight: 800; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ------------------------------ 3. Layout ------------------------------ */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--deep { background: var(--purple-900); color: var(--cream); }
.section--deep h2, .section--deep h3 { color: var(--white); }
.section--cream { background: var(--cream); }

.section__head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 68px); text-align: center; }
.section__title { font-size: clamp(1.95rem, 4.2vw, 3.15rem); margin-bottom: .35em; }
.section__lead { color: rgba(42, 14, 60, .72); font-size: 1.06rem; margin: 0; }
.section--deep .section__lead { color: rgba(251, 246, 236, .74); }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--lime);
  letter-spacing: 0;
  display: inline-block;
  transform: rotate(-1.6deg);
}
.section--cream .script { color: var(--purple-700); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--purple-600);
  background: rgba(126, 211, 33, .16);
  border: 1px solid rgba(126, 211, 33, .4);
  padding: 8px 16px; border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 4px rgba(126, 211, 33, .25);
}
.eyebrow--lime { color: var(--lime-soft); background: rgba(126, 211, 33, .12); border-color: rgba(126, 211, 33, .34); }
.eyebrow--purple { color: var(--purple-700); background: rgba(80, 32, 112, .07); border-color: rgba(80, 32, 112, .16); }
.section--deep .eyebrow { color: var(--lime-soft); }
.hero .eyebrow { color: var(--lime-soft); background: rgba(126, 211, 33, .14); border-color: rgba(126, 211, 33, .45); }

/* ------------------------------ 4. Buttons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  line-height: 1;
  position: relative; overflow: hidden;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), background-color .28s;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .28s var(--ease-out); }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(-1px) scale(.985); }
.btn--lg { padding: 17px 32px; font-size: 1.06rem; }
.btn--block { width: 100%; }

.btn--lime {
  background: linear-gradient(135deg, var(--lime-soft), var(--lime) 55%, var(--lime-deep));
  color: var(--purple-950);
  box-shadow: 0 12px 26px rgba(126, 211, 33, .34);
}
.btn--lime:hover { box-shadow: 0 18px 38px rgba(126, 211, 33, .46); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .34);
}
.btn--ghost:hover { border-color: var(--lime); color: var(--lime-soft); }

.btn--orange { background: var(--orange); color: var(--purple-950); box-shadow: 0 12px 26px rgba(247, 148, 29, .32); }

.btn--outline {
  background: transparent;
  color: var(--purple-700);
  border: 2px solid rgba(80, 32, 112, .2);
}
.btn--outline:hover { border-color: var(--purple-700); background: rgba(80, 32, 112, .05); }

.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

/* ------------------------------ 5. Ornamen tos ------------------------------ */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.orn {
  display: block;
  width: 1em; height: 1em;
  fill: currentColor;
  flex: none;
}
.orn--lime { color: var(--lime); }
.orn--orange { color: var(--orange); }
.orn--cream { color: var(--cream); }
.orn--deep { color: var(--purple-700); }
.orn--soft { color: var(--purple-300); }

/* ------------------------------ 6. Header ------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .35s var(--ease-soft), box-shadow .35s var(--ease-soft), backdrop-filter .35s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 7, 48, .78), rgba(30, 7, 48, 0));
  opacity: 1; transition: opacity .35s; pointer-events: none;
}
.site-header.is-scrolled {
  background: rgba(46, 12, 66, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(30, 7, 48, .3);
}
.site-header.is-scrolled::before { opacity: 0; }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 54px; height: 54px; object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(30, 7, 48, .35));
  transition: transform .4s var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong {
  font-family: var(--font-display); font-size: 1.2rem; color: var(--white); font-weight: 700;
}
.brand__text em {
  font-family: var(--font-script); font-style: normal; font-size: .82rem; color: var(--lime-soft);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 26px; }
.nav__list a {
  position: relative; color: rgba(255, 255, 255, .86);
  font-weight: 700; font-size: .96rem;
  padding: 6px 0;
  transition: color .25s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 3px; border-radius: 3px; background: var(--lime);
  transition: right .32s var(--ease-out);
}
.nav__list a:hover { color: var(--white); }
.nav__list a:hover::after, .nav__list a.is-active::after { right: 0; }
.nav__list a.is-active { color: var(--lime-soft); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--white);
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(30, 7, 48, .6); backdrop-filter: blur(3px);
}

/* ------------------------------ 6. Hero ------------------------------ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(60px, 8vw, 110px);
  background: linear-gradient(165deg, var(--purple-800) 0%, var(--purple-700) 42%, var(--purple-900) 100%);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero__glow--lime {
  width: 620px; height: 620px; background: var(--lime);
  top: -220px; right: -140px; opacity: .22;
}
.hero__glow--orange {
  width: 520px; height: 520px; background: var(--orange);
  bottom: -240px; left: -160px; opacity: .2;
}
.hero__pattern {
  position: absolute; inset: 0;
  background-image: url("../assets/imagens/paw-shape.svg");
  background-size: 120px 120px;
  opacity: .035;
  background-repeat: repeat;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  color: var(--white);
  margin-bottom: .42em;
  text-wrap: balance;
}
.hero__title-line { display: block; color: rgba(255, 255, 255, .8); font-size: .62em; margin-top: .35em; }
.hero__title .script { font-size: 1.12em; color: var(--lime); display: block; }

.hero__lead { font-size: 1.1rem; color: rgba(251, 246, 236, .84); max-width: 54ch; }
.hero__lead strong { color: var(--lime-soft); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 2.4rem; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px);
  padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero__stats li { display: grid; }
.hero__stats strong {
  font-family: var(--font-display); font-size: 2rem; line-height: 1;
  color: var(--lime); font-weight: 800;
}
.hero__stats span { font-size: .84rem; color: rgba(251, 246, 236, .66); letter-spacing: .02em; }

.deco { position: absolute; z-index: 0; pointer-events: none; height: auto; }
.deco--paw-a { width: 82px; top: 13%; left: 2.5%; animation: floaty 7s ease-in-out infinite; }
.deco--paw-b { width: 58px; top: 60%; left: 46%; animation: floaty 9s ease-in-out infinite .8s; }
.deco--paw-c { width: 66px; top: 20%; right: 3.5%; animation: floaty 8s ease-in-out infinite .4s; }
.deco--heart-a { width: 40px; top: 34%; right: 6%; animation: floaty 6.5s ease-in-out infinite 1.2s; }
.deco--bone-a { width: 54px; bottom: 12%; left: 6%; animation: floaty 8.5s ease-in-out infinite .6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-26px) rotate(8deg); }
}

/* ---------------- 7. Interactive Video Compositing (o coração) --------------- */
.hero__stage-wrap { position: relative; display: grid; justify-items: center; gap: 18px; }

.stage {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-l);
  overflow: hidden;                 /* vídeo e letreiro são recortados juntos */
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(126, 211, 33, .22), transparent 62%),
    linear-gradient(170deg, var(--purple-600), var(--purple-900));
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(255, 255, 255, .1), 0 0 0 9px rgba(255, 255, 255, .05);
  isolation: isolate;
}

.stage__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: fill; opacity: 0; pointer-events: none; z-index: 0;
}

.stage__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 2; pointer-events: none;   /* o clique atravessa até o letreiro */
}

/* modo estático: personagem já recortada (usada se o canvas não puder ser lido) */
.stage__fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: fill; z-index: 2; pointer-events: none;
}

/* O letreiro: elemento HTML real, posicionado ABAIXO do canvas.
   Os dedos do personagem (pixels opacos no canvas) ficam À FRENTE dele. */
.sign {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  transform-origin: 50% 50%;
  container-type: inline-size;
  background-image: url("../assets/imagens/plank.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: 6px;
  text-decoration: none;
  display: block;
  filter: drop-shadow(0 10px 16px rgba(30, 7, 48, .45));
  transition: filter .3s var(--ease-out);
  will-change: transform, width, height, left, top;
}
.sign::after {
  content: ""; position: absolute; inset: -6%;
  border-radius: 12px;
  box-shadow: 0 0 0 0 rgba(126, 211, 33, 0);
  transition: box-shadow .35s var(--ease-out);
  pointer-events: none;
}
.sign:hover { filter: drop-shadow(0 16px 26px rgba(30, 7, 48, .55)) brightness(1.06); }
.sign:hover::after { box-shadow: 0 0 0 4px rgba(126, 211, 33, .75), 0 0 26px 6px rgba(126, 211, 33, .38); }
.sign:focus-visible::after { box-shadow: 0 0 0 4px var(--lime); }

.sign__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1%; padding: 5% 6%; text-align: center; overflow: hidden;
}
.sign__tag {
  font-family: var(--font-display); font-weight: 800;
  font-size: 3.8cqw;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--purple-950); background: var(--lime);
  padding: .35em .8em; border-radius: var(--radius-pill);
  transform: rotate(-2deg);
  line-height: 1.1;
}
.sign__title {
  font-family: var(--font-script);
  font-size: 10.2cqw;
  line-height: 1.12; color: var(--white);
  text-shadow: 0 2px 0 rgba(80, 32, 112, .55), 0 4px 14px rgba(30, 7, 48, .5);
  margin: 4% 0 3%;
}
.sign__meta {
  font-family: var(--font-body); font-weight: 800;
  font-size: 3.7cqw;
  color: var(--purple-950);
  background: rgba(255, 255, 255, .93);
  padding: .3em .85em; border-radius: var(--radius-pill);
  max-width: 96%; line-height: 1.2;
}
.sign__cta {
  display: inline-flex; align-items: center; gap: .4em;
  margin-top: 5%;
  font-family: var(--font-display); font-weight: 800;
  font-size: 4.1cqw;
  color: var(--purple-950);
  background: linear-gradient(135deg, var(--orange-soft), var(--orange));
  padding: .45em .95em; border-radius: var(--radius-pill);
  box-shadow: 0 5px 14px rgba(30, 7, 48, .35);
  line-height: 1.1;
}
.sign__cta svg { width: 1.05em; height: 1.05em; }
.sign:hover .sign__cta svg { animation: nudge 1.1s var(--ease-soft) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

.stage__play {
  position: absolute; inset: 0; margin: auto;
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(126, 211, 33, .94); color: var(--purple-950);
  display: grid; place-items: center; z-index: 4;
  box-shadow: 0 14px 34px rgba(30, 7, 48, .45);
  transition: transform .3s var(--ease-out);
}
.stage__play::before {
  content: ""; position: absolute; inset: -34px;
  border-radius: 50%; border: 2px solid rgba(126, 211, 33, .5);
  background: rgba(30, 7, 48, .35);
  backdrop-filter: blur(2px);
  z-index: -1;
}
.stage__play svg { width: 34px; height: 34px; margin-left: 4px; }
.stage__play:hover { transform: scale(1.08); }

.stage__hint {
  position: absolute; right: 12px; top: 12px; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: var(--radius-pill);
  background: rgba(126, 211, 33, .95); color: var(--purple-950);
  font-weight: 800; font-size: .78rem;
  animation: hintbob 1.9s var(--ease-soft) infinite;
  transition: opacity .4s, transform .4s;
}
.stage__hint svg { width: 17px; height: 17px; animation: hintarrow 1.4s var(--ease-soft) infinite; }
@keyframes hintbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes hintarrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ------------------------------ 8. Marquee ------------------------------ */
.marquee {
  background: var(--lime); color: var(--purple-950);
  overflow: hidden; padding: 13px 0;
  border-block: 3px solid var(--purple-900);
}
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee__group span {
  font-family: var(--font-script); font-size: 1.35rem; white-space: nowrap;
}
.marquee__group .orn { width: 30px; height: 30px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------ 9. Serviços ------------------------------ */
.services { background: var(--cream); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white); border-radius: var(--radius-m);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-s);
  border: 1px solid rgba(80, 32, 112, .07);
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.card:hover { translate: 0 -8px; box-shadow: var(--shadow-m); }
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 18px;
  transition: transform .45s var(--ease-out);
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }
.card__icon svg { width: 30px; height: 30px; }
.card__icon--lime { background: rgba(126, 211, 33, .18); color: var(--lime-deep); }
.card__icon--orange { background: rgba(247, 148, 29, .18); color: #C06A05; }

.card h3 { font-size: 1.28rem; margin-bottom: .5em; }
.card p { color: rgba(42, 14, 60, .72); font-size: .98rem; }
.card__list { margin-top: 1.1rem; display: grid; gap: 7px; }
.card__list li {
  font-size: .87rem; font-weight: 700; color: var(--purple-700);
  padding-left: 22px; position: relative;
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 3px rgba(126, 211, 33, .25);
}

/* ------------------------------ 10. Passos ------------------------------ */
.process { position: relative; overflow: hidden; }
.process::before {
  content: ""; position: absolute; top: -140px; right: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 211, 33, .16), transparent 68%);
}
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; position: relative;
}
.step {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-m); padding: 30px 24px 26px;
  position: relative;
  transition: transform .4s var(--ease-out), background-color .4s, border-color .4s;
}
.step:hover { translate: 0 -6px; background: rgba(255, 255, 255, .09); border-color: rgba(126, 211, 33, .4); }
.step__num {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--lime-soft), var(--lime));
  color: var(--purple-950);
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(126, 211, 33, .3);
}
.step h3 { font-size: 1.2rem; margin-bottom: .45em; }
.step p { color: rgba(251, 246, 236, .72); font-size: .96rem; margin: 0; }

/* ------------------------------ 11. Sobre ------------------------------ */
.about { background: var(--cream); }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px); align-items: center;
  max-width: 820px;
}

.about__copy p { color: rgba(42, 14, 60, .76); }

.checks { display: grid; gap: 11px; margin: 1.6rem 0; padding: 0; }
.checks li {
  display: flex; align-items: center; gap: 11px;
  font-weight: 700; color: var(--purple-800); font-size: .98rem;
}
.checks li span {
  flex: none; width: 25px; height: 25px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime); color: var(--purple-950);
  font-size: .82rem; font-weight: 900;
}
.checks--light li { color: var(--cream); }

.quote {
  margin: 2rem 0 0; padding: 28px 30px;
  background: var(--white); border-radius: var(--radius-m);
  border-left: 6px solid var(--lime);
  box-shadow: var(--shadow-s);
}
.quote p {
  font-family: var(--font-script); font-size: 1.16rem; line-height: 1.55;
  color: var(--purple-700); margin-bottom: .7em;
}
.quote footer {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--purple-700); font-size: .9rem;
}
.quote footer .orn { width: 26px; height: 26px; }
.quote--deep { background: var(--purple-800); border-left-color: var(--orange); }
.quote--deep p { color: var(--cream); }
.quote--deep footer { color: var(--lime-soft); }

/* ------------------------------ 12. Criativos ------------------------------ */
.creatives__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.12fr);
  gap: 22px;
  align-items: stretch;
}
.creatives__slogans {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  min-width: 0;
}

/* --- cartaz do criativo do dia --- */
.poster-card {
  position: relative; border-radius: var(--radius-m); overflow: hidden;
  box-shadow: var(--shadow-m);
  aspect-ratio: 3 / 4;
  container-type: inline-size;
  transition: translate .45s var(--ease-out), rotate .45s var(--ease-out);
}
.poster-card:hover { translate: 0 -6px; rotate: -1deg; }
.poster-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

/* headline em brush (topo-esquerdo), no spirit do criativo original.
   O brush vive num pseudo-elemento mascarado: a cor vem do background-color,
   nao do currentColor (assim nao escurece o texto). */
.poster-card__head {
  position: absolute;
  top: 4.5%; left: 3%;
  width: 50%;
  margin: 0;
  padding: 3% 5% 3.5%;
  font-family: var(--font-script);
  font-size: clamp(13px, 3.5cqw, 21px);
  line-height: 1.22;
  color: var(--purple-950);
  text-align: center;
  transform: rotate(-3.5deg);
}
.poster-card__head::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--lime);
  -webkit-mask: url("../assets/imagens/brush-lime.svg") center / 100% 100% no-repeat;
  mask: url("../assets/imagens/brush-lime.svg") center / 100% 100% no-repeat;
}
.poster-card__head > span { position: relative; z-index: 1; display: block; }

/* etiqueta do dia (topo-direita) */
.poster-card__tag {
  position: absolute; top: 3.5%; right: 3.5%;
  background: var(--lime); color: var(--purple-950);
  font-weight: 800; font-size: clamp(10px, 2.1cqw, 13px);
  letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(30, 7, 48, .3);
}

/* placa de madeira: as 3 frases curtas, como no poster original */
.poster-card__sign {
  position: absolute;
  left: var(--sign-x, 78%);
  top: var(--sign-y, 33%);
  width: var(--sign-w, 20%);
  height: var(--sign-h, 28%);
  display: flex; flex-direction: column;
  justify-content: center; align-items: stretch;
  gap: 5%;
}
.sign-label {
  position: relative;
  display: grid; place-items: center;
  padding: 4% 8%;
  font-family: var(--font-script);
  font-size: clamp(10px, 2.9cqw, 17px);
  line-height: 1.14;
  text-align: center;
}
.sign-label::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  -webkit-mask: center / 100% 100% no-repeat;
  mask: center / 100% 100% no-repeat;
}
.sign-label > span { position: relative; z-index: 1; display: block; }
.sign-label--purple { color: var(--cream); text-shadow: 0 1px 3px rgba(30, 7, 48, .55); }
.sign-label--purple::before {
  background-color: var(--purple-700);
  -webkit-mask-image: url("../assets/imagens/brush-purple.svg");
  mask-image: url("../assets/imagens/brush-purple.svg");
}
.sign-label--lime { color: var(--purple-950); }
.sign-label--lime::before {
  background-color: var(--lime);
  -webkit-mask-image: url("../assets/imagens/brush-lime.svg");
  mask-image: url("../assets/imagens/brush-lime.svg");
}
.sign-label--orange { color: var(--purple-950); }
.sign-label--orange::before {
  background-color: var(--orange);
  -webkit-mask-image: url("../assets/imagens/brush-orange.svg");
  mask-image: url("../assets/imagens/brush-orange.svg");
}

/* logo (canto inferior-direito) */
.poster-card__logo {
  position: absolute;
  right: 3.5%; bottom: 3%;
  width: clamp(56px, 21cqw, 118px);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(30, 7, 48, .45));
}

/* troca de texto */
[data-criativo-head], [data-criativo-tag], [data-criativo-balao], [data-placa] {
  transition: opacity .22s var(--ease-soft), transform .22s var(--ease-soft);
}
.is-swapping { opacity: 0 !important; transform: translateY(6px); }

.slogan {
  position: relative; border-radius: var(--radius-m);
  padding: 34px 28px; display: grid; place-items: center;
  overflow: hidden; min-height: 150px;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.slogan:hover { translate: 0 -5px; box-shadow: var(--shadow-m); }
.slogan p {
  position: relative; z-index: 2;
  font-family: var(--font-script); font-size: 1.32rem; line-height: 1.35;
  text-align: center; margin: 0;
}
.slogan__brush {
  position: absolute; inset: 0;
  background-repeat: no-repeat; background-size: 118% 100%; background-position: center;
  transform: rotate(-1.5deg) scale(1.06);
}
.slogan--lime { background: var(--lime); }
.slogan--lime .slogan__brush { background-image: url("../assets/imagens/brush-lime.svg"); opacity: .18; }
.slogan--lime p { color: var(--purple-950); }
.slogan--purple { background: var(--purple-700); }
.slogan--purple .slogan__brush { background-image: url("../assets/imagens/brush-purple.svg"); opacity: .3; }
.slogan--purple p { color: var(--white); }
.slogan--orange { background: var(--orange); }
.slogan--orange .slogan__brush { background-image: url("../assets/imagens/brush-orange.svg"); opacity: .22; }
.slogan--orange p { color: var(--purple-950); }

/* ------------------------------ 13. Depoimentos ------------------------------ */
.tst { position: relative; }
.tst__viewport { overflow: hidden; border-radius: var(--radius-l); }
.tst__track {
  display: flex; gap: 20px;
  transition: transform .55s var(--ease-out);
}
.tst__item { flex: 0 0 100%; }
.tst__card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 46px);
  min-height: 100%;
}
.stars { color: var(--orange); letter-spacing: .16em; font-size: 1.12rem; margin-bottom: 14px; }
.tst__card p {
  font-size: clamp(1.06rem, 2.1vw, 1.34rem);
  line-height: 1.62; color: var(--cream); font-weight: 600;
  max-width: 60ch; margin-bottom: 1.2em;
}
.tst__card footer { display: grid; }
.tst__card footer strong { font-family: var(--font-display); font-size: 1.08rem; color: var(--lime-soft); }
.tst__card footer span { font-size: .88rem; color: rgba(251, 246, 236, .6); }

.tst__nav {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 3;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(126, 211, 33, .92); color: var(--purple-950);
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(30, 7, 48, .4);
  transition: transform .3s var(--ease-out), background-color .25s;
}
.tst__nav svg { width: 24px; height: 24px; }
.tst__nav:hover { transform: scale(1.1); }
.tst__nav--prev { left: -18px; }
.tst__nav--next { right: -18px; }

/* ------------------------------ 14. Contato ------------------------------ */
.contact { background: linear-gradient(170deg, var(--cream), var(--cream-2)); }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(34px, 6vw, 70px); align-items: start;
}
.contact__copy p { color: rgba(42, 14, 60, .74); max-width: 46ch; }
.contact__copy p strong { color: var(--purple-700); }

.contact__list { display: grid; gap: 18px; margin-top: 2rem; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ico {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--white); color: var(--purple-700);
  box-shadow: var(--shadow-s);
}
.contact__ico svg { width: 24px; height: 24px; }
.contact__list div { display: grid; }
.contact__list strong { font-family: var(--font-display); color: var(--purple-800); }
.contact__list span, .contact__list a { font-size: .94rem; color: rgba(42, 14, 60, .72); }
.contact__list a:hover { color: var(--purple-700); text-decoration: underline; }

/* canais de contato direto (WhatsApp + Instagram) */
.contact__channels { display: grid; gap: 18px; align-content: start; }
.channel {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3.2vw, 34px);
  box-shadow: var(--shadow-m);
  border: 1px solid rgba(80, 32, 112, .07);
  display: grid; gap: 10px; justify-items: start;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.channel:hover { transform: translateY(-4px); box-shadow: 0 26px 48px rgba(42, 14, 60, .16); }
.channel__ico {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 2px;
}
.channel__ico svg { width: 26px; height: 26px; }
.channel__ico--lime { background: rgba(126, 211, 33, .17); color: var(--lime-deep); }
.channel__ico--purple { background: rgba(80, 32, 112, .1); color: var(--purple-700); }
.channel__title { font-family: var(--font-display); font-size: 1.32rem; color: var(--purple-800); margin: 0; }
.channel__text { margin: 0; color: rgba(42, 14, 60, .7); font-size: .96rem; max-width: 42ch; }
.channel__num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.75rem);
  color: var(--purple-700);
  text-decoration: none;
  line-height: 1.2;
}
.channel__num:hover { color: var(--lime-deep); }
.channel__actions { display: grid; gap: 10px; width: 100%; margin-top: 4px; }

/* ------------------------------ 15. Footer ------------------------------ */
.site-footer {
  background: var(--purple-950); color: rgba(251, 246, 236, .7);
  padding: clamp(50px, 6vw, 76px) 0 26px;
}
.site-footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer__brand img { width: 92px; height: 92px; margin-bottom: 14px; }
.site-footer__brand p { font-size: .95rem; margin: 0; }
.site-footer h3 {
  color: var(--white); font-size: 1rem; margin-bottom: .9em;
  letter-spacing: .04em;
}
.site-footer ul { display: grid; gap: 9px; }
.site-footer a { color: rgba(251, 246, 236, .72); transition: color .25s; }
.site-footer a:hover { color: var(--lime-soft); }
.site-footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 20px; font-size: .86rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom span[aria-label="amor"] { color: var(--orange); }

.social { display: flex; gap: 10px; }
.social a {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .25s, transform .3s var(--ease-out), color .25s;
}
.social a svg { width: 21px; height: 21px; }
.social a:hover { background: var(--lime); color: var(--purple-950); transform: translateY(-3px); }

/* ------------------------------ 16. Modal ------------------------------ */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(30, 7, 48, .78);
  backdrop-filter: blur(6px);
  animation: fade .3s var(--ease-out);
}
.modal__box {
  position: relative;
  width: min(100%, 520px);
  background: var(--purple-800);
  color: var(--cream);
  border-radius: var(--radius-l);
  padding: clamp(30px, 5vw, 46px);
  box-shadow: var(--shadow-l);
  text-align: center;
  animation: modalin .45s var(--ease-out);
  max-height: 92vh; overflow-y: auto;
}
.modal__paw { width: 66px; height: 66px; margin: 0 auto 10px; animation: floaty 6s ease-in-out infinite; }
.modal__title { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.2rem); }
.modal__title .script { color: var(--lime); }
.modal__text { color: rgba(251, 246, 236, .8); }
.modal__text strong { color: var(--lime-soft); }
.modal .checks { text-align: left; margin: 1.2rem 0 1.6rem; }
.modal__close {
  position: absolute; right: 14px; top: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: var(--white);
  transition: background-color .25s, transform .3s var(--ease-out);
}
.modal__close svg { width: 20px; height: 20px; }
.modal__close:hover { background: var(--orange); transform: rotate(90deg); }
.modal__foot { margin: 1rem 0 0; font-size: .88rem; color: rgba(251, 246, 236, .62); }
.modal__foot a { color: var(--lime-soft); font-weight: 800; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalin { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }

/* ------------------------------ 17. Reveal ------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(26px); }
.no-js [data-reveal], .is-visible[data-reveal] { opacity: 1; transform: none; }

/* ------------------------------ 18. Responsivo ------------------------------ */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: grid; justify-items: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__title { text-wrap: balance; }
  .deco--paw-b { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0 0 auto; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--purple-900);
    padding: 22px 24px 30px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .3s var(--ease-out), visibility .3s;
    box-shadow: var(--shadow-l);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__list a { display: block; padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: 20px; align-self: stretch; }
  .nav-toggle { display: flex; z-index: 2; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tst__nav--prev { left: 6px; }
  .tst__nav--next { right: 6px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .stage { width: 100%; border-radius: var(--radius-m); }
  .stage__play { width: 64px; height: 64px; }
  .hero__stats { gap: 18px; }
  .hero__stats strong { font-size: 1.6rem; }
  .section__title { font-size: 1.75rem; }
  .btn--lg { padding: 15px 24px; font-size: 1rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { justify-content: center; text-align: center; }
  .deco--paw-a, .deco--paw-c, .deco--heart-a { display: none; }
  .creatives__grid { grid-template-columns: 1fr; }
  .creatives__slogans { grid-template-rows: none; grid-auto-rows: minmax(150px, auto); }
  .poster-card { min-height: 0; }
  .poster-card__head { width: 54%; top: 3.5%; }
  .poster-card__logo { width: clamp(52px, 20cqw, 88px); }
  .channel__actions .btn { padding: 13px 18px; font-size: .95rem; }

  /* setas do carrossel passam para baixo do card, sem cobrir o texto */
  .tst { padding-bottom: 62px; }
  .tst__nav { top: auto; bottom: 0; translate: none; }
  .tst__nav--prev { left: calc(50% - 58px); }
  .tst__nav--next { right: calc(50% - 58px); }
}

@media (max-width: 420px) {
  .channel__num { font-size: 1.35rem; }
}

/* ------------------------------ 20. Scrollbar de patinhas ------------------------------ */
/* Barra de rolagem própria, no tema da marca: o "polegar" é um osso e o
   trilho vai se preenchendo de pegadas conforme a página é rolada.
   A barra nativa do navegador é escondida (o scroll continua funcionando
   por wheel, teclado e toque) e substituída por esta — assim funciona
   igual em Chromium, Firefox e Safari, e aceita imagem no polegar. */

html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* reserva a faixa da barra para não invadir o conteúdo */
@media (min-width: 641px) {
  main, .site-footer, .site-header { padding-right: 26px; }
}

.paw-scroll {
  position: fixed; top: 0; bottom: 0;
  right: 0;
  width: 26px;
  z-index: 150;
  pointer-events: none;
}
.paw-scroll__paws { position: absolute; inset: 0; overflow: hidden; }

.paw-scroll__step {
  position: absolute;
  left: 5px;
  width: 15px; height: 15px;
  background: url("../assets/imagens/scroll-paw.svg") center / contain no-repeat;
  opacity: .55;
  transform: rotate(var(--tilt, 0deg));
  transform-origin: 50% 50%;
  transition: opacity .4s var(--ease-soft), transform .4s var(--ease-out);
}
.paw-scroll__step.is-walked { opacity: 1; }
.paw-scroll__step.is-current {
  opacity: 1;
  transform: rotate(var(--tilt, 0deg)) scale(1.4);
}

/* O osso e desenhado em CSS — haste + 4 extremidades — em vez de repetido:
   assim as pontas mantem o tamanho certo em qualquer altura do polegar. */
.paw-scroll__bone {
  position: absolute; left: 2px; width: 22px;
  background: none;
  border: 0;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  filter:
    drop-shadow(1px 0 0 #fff)
    drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff)
    drop-shadow(0 -1px 0 #fff);
}
.paw-scroll__bone:active { cursor: grabbing; }
.paw-scroll__bone::after {
  content: "";
  position: absolute; inset: -6px -4px;
}

/* haste do osso */
.paw-scroll__bone-shape {
  position: absolute;
  left: 50%; top: 9px; bottom: 9px;
  width: 10px; margin-left: -5px;
  background: var(--purple-700);
  border-radius: 5px;
}

/* as 4 extremidades: um par em cada ponta (o box-shadow faz o segundo par) */
.paw-scroll__bone-shape::before,
.paw-scroll__bone-shape::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 8px; height: 8px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--purple-700);
  box-shadow: 8px 0 0 var(--purple-700);
}
.paw-scroll__bone-shape::before { top: -4px; }
.paw-scroll__bone-shape::after { bottom: -4px; }

@media (max-width: 640px) {
  .paw-scroll { display: none; }
}

/* ------------------------------ 21. Reduced motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .deco { animation: none; }
}
