@font-face {
  font-family: "Roy Make";
  src: url("Roy Make/Baqoos - Roy Make Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --cream: #fff9e8;
  --cream-deep: #f8edcf;
  --pink: #ff006e;
  --pink-dark: #d8005d;
  --yellow: #ffbe0c;
  --orange: #f95607;
  --ink: #1f1f1f;
  --muted: #675d54;
  --white: #fffef9;
  --container: 1220px;
  --shadow-soft: 0 18px 45px rgba(77, 39, 14, 0.13), 0 4px 12px rgba(77, 39, 14, 0.08);
  --shadow-button: 0 10px 22px rgba(255, 0, 110, 0.2), 0 2px 5px rgba(31, 31, 31, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
  overflow-x: clip;
  scrollbar-color: var(--pink) var(--cream-deep);
  scrollbar-width: thin;
}

html.custom-scrollbar-ready { scroll-behavior: auto; scrollbar-width: none; }
html.custom-scrollbar-ready::-webkit-scrollbar { width: 0; height: 0; }

.custom-scrollbar {
  --scrollbar-thumb-height: 48px;
  --scrollbar-thumb-offset: 0px;
  position: fixed;
  z-index: 990;
  top: 0;
  right: 0;
  bottom: 0;
  width: 10px;
  pointer-events: none;
  background: rgba(248, 237, 207, 0.78);
  box-shadow: inset 1px 0 rgba(31, 31, 31, 0.06);
  opacity: 0;
  transition-property: opacity;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.custom-scrollbar.is-scrollable { opacity: 1; }
.boot-active .custom-scrollbar,
.menu-open .custom-scrollbar { opacity: 0; }

.custom-scrollbar__thumb {
  position: absolute;
  top: 3px;
  right: 2px;
  width: 6px;
  height: var(--scrollbar-thumb-height);
  min-height: 48px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 2px 8px rgba(216, 0, 93, 0.28);
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  transform: translate3d(0, var(--scrollbar-thumb-offset), 0);
  transition-property: background-color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.custom-scrollbar__thumb:hover { background: var(--pink-dark); }
.custom-scrollbar__thumb:active { cursor: grabbing; background: var(--pink-dark); }

body {
  margin: 0;
  padding-top: 98px;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", "Trebuchet MS", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.boot-active,
body.menu-open { overflow: hidden; }

.boot-screen {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  opacity: 1;
  visibility: visible;
  transition-property: opacity, visibility;
  transition-duration: 420ms, 0s;
  transition-delay: 0s, 420ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1), linear;
}

.boot-screen.is-leaving {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.boot-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}


img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
  transition-property: transform;
  transition-duration: 160ms;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(255, 249, 232, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition-property: box-shadow, border-color, background-color;
  transition-duration: 180ms;
}

.site-header.is-scrolled {
  background: rgba(255, 249, 232, 0.96);
  border-bottom-color: rgba(31, 31, 31, 0.06);
  box-shadow: 0 8px 30px rgba(77, 39, 14, 0.07);
}

.header-inner { min-height: 98px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }

.brand-lockup { display: flex; align-items: center; justify-self: start; gap: 12px; min-height: 48px; }
.brand-logo { object-fit: contain; }
.brand-logo--pantaneiro { width: 90px; height: 54px; }
.brand-logo--caominhada { width: 132px; height: 56px; }
.brand-divider { width: 1px; height: 32px; background: rgba(31, 31, 31, 0.14); }

.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); font-size: 0.91rem; font-weight: 700; }
.desktop-nav a { position: relative; padding-block: 14px; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition-property: transform;
  transition-duration: 180ms;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition-property: scale, transform, background-color, color, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}
.button svg { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
.button:hover { transform: translateY(-2px); }
.button:active { scale: 0.96; transform: translateY(0); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(255, 190, 12, 0.85); outline-offset: 3px; }
.button--primary { background: var(--pink); color: white; box-shadow: var(--shadow-button); }
.button--primary:hover { background: var(--pink-dark); box-shadow: 0 13px 26px rgba(255, 0, 110, 0.25); }
.button--outline { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--pink); background: rgba(255, 255, 255, 0.15); }
.button--outline:hover { color: var(--pink); background: rgba(255, 255, 255, 0.7); }
.button--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 25px rgba(91, 42, 0, 0.18); }
.button--yellow:hover { background: #ffd04a; box-shadow: 0 15px 30px rgba(91, 42, 0, 0.22); }
.button--wide { width: min(100%, 430px); }
.header-cta { justify-self: end; min-height: 46px; padding-inline: 20px 18px; white-space: nowrap; }

.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; padding: 38px 0 56px; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  left: -340px;
  top: -120px;
  border-radius: 50%;
  background: rgba(255, 190, 12, 0.08);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(30px, 4vw, 62px); }
.hero-copy { max-width: 560px; padding-block: 26px; }

.eyebrow { width: fit-content; margin: 0 0 17px; text-transform: uppercase; letter-spacing: 0.025em; font-size: 0.77rem; font-weight: 800; line-height: 1.2; }
.eyebrow--orange { padding: 8px 13px; border-radius: 999px; background: var(--orange); color: white; box-shadow: 0 5px 12px rgba(249, 86, 7, 0.17); }
.eyebrow--pink { color: var(--pink); letter-spacing: 0.05em; }
.eyebrow--pink span { padding-inline: 10px; color: var(--orange); }

.display-title, .section-heading h2, .final-cta h2 {
  margin: 0;
  font-family: "Roy Make", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.display-title { max-width: 620px; font-size: clamp(2.2rem, 2.65vw, 2.65rem); }
.desktop-title-line { display: block; white-space: nowrap; }
.display-title em { color: var(--pink); font-style: normal; }
.hero-text { max-width: 510px; margin-top: 20px; color: #403a35; font-size: 0.93rem; }
.hero-text p { margin: 0 0 13px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 30px; }
.hero-actions small { width: min(100%, 430px); color: var(--muted); font-size: 0.72rem; text-align: center; }
.arrow-down { fill: none !important; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

.hero-visual {
  --hero-bleed: max(0px, calc((100vw - var(--container)) / 2));
  position: relative;
  min-width: 0;
  width: calc(100% + var(--hero-bleed));
  margin-right: calc(0px - var(--hero-bleed));
}
.hero-clip-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero-photo-frame {
  position: relative;
  min-height: clamp(500px, 54vw, 660px);
  overflow: hidden;
  border-radius: 26% 0 11% 24% / 12% 0 8% 18%;
  clip-path: url("#hero-wave-clip");
  filter: drop-shadow(0 18px 28px rgba(77, 39, 14, 0.17));
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.01); }
.photo-slot { display: grid; place-items: center; position: relative; overflow: hidden; color: rgba(31, 31, 31, 0.54); text-align: center; }
.photo-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 17% 18%, rgba(255, 190, 12, 0.35) 0 7%, transparent 7.5%),
    radial-gradient(circle at 76% 24%, rgba(255, 0, 110, 0.18) 0 10%, transparent 10.5%),
    linear-gradient(145deg, #f5dca6, #fff2d4 52%, #f5c8d9);
}
.photo-slot::after { content: ""; position: absolute; inset: 0; outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }
.photo-slot > span { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; padding: 18px; font-size: 0.82rem; }
.photo-slot > span strong { color: var(--ink); font-size: 1rem; }
.hero-visual::after { content: ""; position: absolute; z-index: -1; right: -35px; bottom: -22px; width: 76%; height: 56%; border-radius: 50%; background: rgba(255, 190, 12, 0.13); filter: blur(22px); }

.decor { position: absolute; z-index: 2; object-fit: contain; pointer-events: none; }
.decor--hero-paw { width: 90px; right: -22px; bottom: -27px; transform: rotate(9deg); }
.decor--hero-leaf { width: 66px; left: -42px; bottom: 8%; transform: rotate(-25deg); }
.decor--hero-flower { width: 46px; left: -29px; top: 5%; transform: rotate(18deg); }

.graphic-divider { position: relative; z-index: 5; width: 100%; overflow: hidden; padding: 7px 0 28px; }
.graphic-divider__track { width: min(1280px, 112vw); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: clamp(13px, 2.4vw, 35px); }
.graphic-divider img { width: clamp(27px, 3vw, 42px); height: 38px; object-fit: contain; }
.graphic-divider img:nth-child(3n + 1) { transform: rotate(-12deg); }
.graphic-divider img:nth-child(3n + 2) { transform: rotate(8deg); }

.history { position: relative; padding: 52px 0 115px; overflow: hidden; }
.history::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(249, 86, 7, 0.09) 0.8px, transparent 0.8px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}
.section-heading { max-width: 790px; margin: 0 auto 68px; text-align: center; }
.section-heading .eyebrow { margin-inline: auto; }
.section-heading h2 { font-size: clamp(1.95rem, 2.7vw, 2.65rem); }
.section-heading > p:not(.eyebrow) { max-width: 700px; margin: 16px auto 0; color: #504740; font-size: 0.94rem; }
.section-heading > p + p { margin-top: 8px !important; }
.section-heading strong { display: block; margin-top: 19px; color: var(--pink); font-size: 1.05rem; }
.section-heading strong::after { content: ""; display: block; width: 62px; height: 3px; margin: 13px auto 0; border-radius: 999px; background: var(--yellow); }

.timeline { --timeline-progress: 0; position: relative; max-width: 1120px; margin-inline: auto; }
.timeline::before,
.timeline::after { content: ""; position: absolute; z-index: 0; top: 10px; bottom: 20px; left: 50%; pointer-events: none; transform-origin: top; }
.timeline::before { width: 2px; transform: translateX(-50%); background: repeating-linear-gradient(to bottom, rgba(249, 86, 7, 0.28) 0 7px, transparent 7px 12px); }
.timeline::after { width: 3px; transform: translateX(-50%) scaleY(var(--timeline-progress)); background: linear-gradient(to bottom, var(--pink), var(--orange) 58%, var(--yellow)); -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0 8px, transparent 8px 12px); mask-image: repeating-linear-gradient(to bottom, #000 0 8px, transparent 8px 12px); transition-property: transform; transition-duration: 80ms; transition-timing-function: linear; }
.timeline-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: center; min-height: 340px; padding-block: 28px; }
.timeline-item::after { content: ""; position: absolute; right: 4%; bottom: 0; left: 4%; border-bottom: 1px dashed rgba(249, 86, 7, 0.54); }
.timeline-item:last-child::after { display: none; }
.timeline-marker { z-index: 3; grid-column: 2; grid-row: 1; width: 48px; height: 48px; display: grid; place-items: center; justify-self: center; border: 6px solid var(--cream); border-radius: 50%; background: var(--pink); color: white; box-shadow: 0 6px 15px rgba(255, 0, 110, 0.19); opacity: 0; scale: 0.25; filter: blur(4px); transition-property: opacity, scale, filter; transition-duration: 320ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.timeline-item.is-visible > .timeline-marker { opacity: 1; scale: 1; filter: blur(0); transition-delay: 60ms; }
.timeline-marker--orange { background: var(--orange); box-shadow: 0 6px 15px rgba(249, 86, 7, 0.2); }
.timeline-marker--yellow { background: var(--yellow); box-shadow: 0 6px 15px rgba(255, 190, 12, 0.25); }
.paw-icon { position: relative; width: 24px; height: 24px; color: transparent; }
.paw-icon::before { content: ""; position: absolute; left: 7px; bottom: 1px; width: 12px; height: 10px; border-radius: 58% 58% 48% 48%; background: white; transform: rotate(-6deg); }
.paw-icon::after { content: ""; position: absolute; top: 5px; left: 2px; width: 5px; height: 6px; border-radius: 50%; background: white; box-shadow: 6px -3px 0 -0.3px white, 12px -2px 0 -0.3px white, 17px 2px 0 -0.3px white; transform: rotate(-14deg); }

.timeline-photo { grid-row: 1; margin: 0; }
.timeline-item--photo-left > .timeline-photo,
.timeline-item--photo-left > .timeline-gallery { grid-column: 1; justify-self: start; }
.timeline-item--photo-left > .timeline-copy { grid-column: 3; text-align: left; }
.timeline-item--photo-right > .timeline-copy { grid-column: 1; text-align: right; }
.timeline-item--photo-right > .timeline-photo,
.timeline-item--photo-right > .timeline-gallery { grid-column: 3; justify-self: end; }
.timeline-gallery { grid-row: 1; width: min(100%, 460px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 14px; }
.timeline-gallery .timeline-photo { width: 100%; min-width: 0; padding: 9px 9px 22px; }
.polaroid { position: relative; width: min(90%, 380px); padding: 12px 12px 28px; background: white; box-shadow: var(--shadow-soft); }
.polaroid::before { content: ""; position: absolute; z-index: 4; width: 78px; height: 23px; top: -11px; left: 50%; opacity: 0.85; transform: translateX(-50%) rotate(-2deg); background: #ff5b9e; box-shadow: 0 2px 2px rgba(31, 31, 31, 0.08); }
.polaroid--left { transform: rotate(-3deg); }
.polaroid--right { transform: rotate(3deg); }
.tape--yellow::before { background: #ffc526; transform: translateX(-50%) rotate(5deg); }
.tape--blue::before { background: #43bddd; transform: translateX(-50%) rotate(-4deg); }
.timeline-photo > img { display: block; width: 100%; height: clamp(210px, 20vw, 270px); object-fit: cover; object-position: center; background: #f4ecdf; }
.timeline-gallery .timeline-photo > img { height: clamp(150px, 17vw, 190px); }
.photo-slot--timeline { aspect-ratio: 1.55; min-height: 180px; }
.photo-slot--timeline > span { font-weight: 800; }
.timeline-copy { max-width: 390px; }
.timeline-item--photo-right .timeline-copy { justify-self: end; }
.timeline-copy h3 { margin: 13px 0 7px; font-size: clamp(1.18rem, 1.5vw, 1.42rem); line-height: 1.2; }
.timeline-copy > p:last-child { margin: 0; color: #49413b; font-size: 0.88rem; line-height: 1.55; }
.edition-meta { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--pink); font-size: 0.82rem; font-weight: 800; }
.timeline-item--photo-right .edition-meta { justify-content: flex-end; }
.year { padding: 5px 13px; border-radius: 9px; color: white; font-size: 0.9rem; line-height: 1.2; box-shadow: 0 4px 10px rgba(31, 31, 31, 0.1); }
.year--pink { background: var(--pink); }
.year--orange { background: var(--orange); }
.year--yellow { background: var(--yellow); color: var(--ink); }

.edge-decor { position: absolute; z-index: -1; max-width: none; pointer-events: none; }
.edge-decor--left-top { width: 210px; left: -105px; top: 31%; transform: rotate(28deg); }
.edge-decor--right-mid { width: 230px; right: -120px; top: 57%; transform: rotate(-22deg); }
.edge-decor--left-bottom { width: 170px; left: -80px; bottom: 6%; transform: rotate(18deg); }

.final-cta { position: relative; overflow: hidden; min-height: 340px; background: var(--pink); color: white; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 20%, rgba(255,255,255,0.11), transparent 28%), linear-gradient(100deg, rgba(177, 0, 75, 0.16), transparent 55%); }
.final-cta__grid { position: relative; z-index: 2; min-height: 340px; display: grid; grid-template-columns: 0.82fr 1.28fr 0.9fr; align-items: center; gap: 48px; }
.dog-slot { position: relative; align-self: end; height: 340px; }
.dog-slot img { position: absolute; left: 50%; bottom: 0; width: min(340px, 135%); max-width: none; transform: translateX(-50%); filter: drop-shadow(0 18px 24px rgba(74, 0, 28, 0.24)); }
.final-cta h2 { max-width: 590px; font-size: clamp(1.75rem, 2vw, 2.05rem); }
.final-cta__copy p { margin: 16px 0 0; font-size: 1.05rem; }
.final-cta__copy strong { color: var(--yellow); font-size: 1.1rem; }
.final-cta__button { max-width: 280px; min-height: 66px; padding-inline: 25px 23px; justify-self: end; }
.cta-decor { position: absolute; z-index: 1; object-fit: contain; opacity: 0.23; pointer-events: none; }
.cta-decor--paw { width: 190px; right: -55px; bottom: 28px; filter: saturate(0) brightness(4); transform: rotate(-17deg); }
.cta-decor--flower { width: 150px; left: -56px; top: 30px; filter: saturate(0) brightness(4); transform: rotate(20deg); }

.site-footer { background: #23160f; color: #fff9e8; padding: 62px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.18fr 1.2fr 0.9fr 1.45fr 1fr; gap: 28px; align-items: start; }
.footer-logos { display: flex; align-items: center; gap: 12px; }
.footer-logo { object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.22)); }
.footer-logo--pantaneiro { width: 86px; height: 58px; }
.footer-logo--caominhada { width: 112px; height: 52px; }
.footer-brand p { max-width: 210px; margin: 17px 0 0; color: rgba(255, 249, 232, 0.75); font-size: 0.82rem; }
.footer-contact { display: flex; gap: 13px; align-items: flex-start; }
.contact-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--pink); box-shadow: 0 5px 15px rgba(0,0,0,0.22); }
.contact-icon svg { width: 21px; height: 21px; fill: currentColor; }
.footer-contact h3 { margin: 2px 0 9px; font-size: 0.96rem; }
.footer-contact p { margin: 0; color: rgba(255, 249, 232, 0.74); font-size: 0.75rem; line-height: 1.65; }
.footer-link { display: block; color: rgba(255, 249, 232, 0.74); font-size: 0.75rem; line-height: 1.65; text-decoration-color: transparent; text-underline-offset: 3px; transition-property: color, text-decoration-color; transition-duration: 160ms; }
.footer-link:hover, .footer-link:focus-visible { color: white; text-decoration: underline; text-decoration-color: var(--yellow); }
.footer-link--strong { margin-bottom: 3px; color: white; font-weight: 700; }
.hours-list { min-width: 172px; margin: 11px 0 0; color: rgba(255, 249, 232, 0.74); font-size: 0.7rem; line-height: 1.48; }
.hours-list div { display: flex; justify-content: space-between; gap: 12px; }
.hours-list dt, .hours-list dd { margin: 0; }
.hours-list dd { color: white; font-variant-numeric: tabular-nums; white-space: nowrap; }
.footer-bottom { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 42px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255, 249, 232, 0.64); font-size: 0.73rem; }
.footer-bottom p { margin: 0; }
.footer-bottom img { width: 25px; height: 25px; object-fit: contain; }

.reveal { opacity: 0; transform: translateY(12px); filter: blur(4px); animation: reveal-up 520ms cubic-bezier(0.2, 0, 0, 1) forwards; }
.reveal--delay-1 { animation-delay: 90ms; }
.reveal--delay-2 { animation-delay: 180ms; }
.reveal--delay-3 { animation-delay: 270ms; }
@keyframes reveal-up { to { opacity: 1; transform: translateY(0); filter: blur(0); } }

.reveal-on-scroll { opacity: 0; transform: translateY(18px); filter: blur(4px); transition-property: opacity, transform, filter; transition-duration: 580ms; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

.timeline-item.reveal-on-scroll { opacity: 1; transform: none; filter: none; transition: none; }
.timeline-item.reveal-on-scroll > .timeline-photo,
.timeline-item.reveal-on-scroll > .timeline-gallery,
.timeline-item.reveal-on-scroll > .timeline-copy {
  opacity: 0;
  filter: blur(4px);
  transition-property: opacity, translate, filter;
  transition-duration: 620ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.timeline-item--photo-left.reveal-on-scroll > .timeline-photo,
.timeline-item--photo-left.reveal-on-scroll > .timeline-gallery { translate: -24px 0; }
.timeline-item--photo-left.reveal-on-scroll > .timeline-copy { translate: 18px 0; transition-delay: 110ms; }
.timeline-item--photo-right.reveal-on-scroll > .timeline-photo,
.timeline-item--photo-right.reveal-on-scroll > .timeline-gallery { translate: 24px 0; }
.timeline-item--photo-right.reveal-on-scroll > .timeline-copy { translate: -18px 0; transition-delay: 110ms; }
.timeline-item.reveal-on-scroll.is-visible > .timeline-photo,
.timeline-item.reveal-on-scroll.is-visible > .timeline-gallery,
.timeline-item.reveal-on-scroll.is-visible > .timeline-copy { opacity: 1; translate: 0 0; filter: blur(0); }

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .brand-logo--pantaneiro { width: 76px; }
  .brand-logo--caominhada { width: 114px; height: 50px; }
  .desktop-nav { gap: 22px; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 0.95fr 1.05fr; gap: 38px; }
  .hero-photo-frame { min-height: 540px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 380px; }
}

@media (min-width: 821px) {
  .final-cta { overflow: visible; }
  .dog-slot { clip-path: inset(-180px -90px 0 -90px); }
  .dog-slot img { bottom: -38px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }
  body { padding-top: 76px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .header-inner { min-height: 76px; grid-template-columns: 1fr auto; }
  .brand-logo--pantaneiro { width: 70px; height: 46px; }
  .brand-logo--caominhada { width: 96px; height: 52px; }
  .brand-divider { height: 27px; }
  .desktop-nav { display: none; }
  .menu-toggle { width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 50%; background: var(--pink); box-shadow: var(--shadow-button); cursor: pointer; }
  .menu-toggle span { width: 20px; height: 2px; border-radius: 999px; background: white; transition-property: transform, opacity; transition-duration: 180ms; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav { position: fixed; inset: 76px 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 5px; max-height: calc(100vh - 76px); padding: 18px 20px 24px; overflow-y: auto; background: rgba(255, 249, 232, 0.98); border-top: 1px solid rgba(31,31,31,0.06); box-shadow: 0 20px 35px rgba(77, 39, 14, 0.12); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav > a:not(.button) { min-height: 48px; display: flex; align-items: center; padding-inline: 12px; border-radius: 12px; font-weight: 700; }
  .mobile-nav > a:not(.button):hover { background: rgba(255, 0, 110, 0.06); }

  .hero { padding-top: 22px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 690px; padding-bottom: 0; }
  .desktop-title-line { display: inline; white-space: normal; }
  .display-title { font-size: clamp(2.25rem, 7vw, 3.1rem); }
  .hero-visual { width: 100%; margin-top: 10px; margin-right: 0; }
  .hero-photo-frame { min-height: 560px; }
  .decor--hero-paw { right: -8px; }
  .graphic-divider__track { width: 135%; transform: translateX(-13%); }
  .graphic-divider img:nth-child(n+10) { display: none; }

  .timeline::before, .timeline::after { left: 24px; }
  .timeline-item { grid-template-columns: 48px minmax(0, 1fr); min-height: 0; gap: 18px; padding: 34px 0 42px; }
  .timeline-marker, .timeline-item--photo-left .timeline-marker, .timeline-item--photo-right .timeline-marker { grid-column: 1; grid-row: 1 / span 2; align-self: start; width: 42px; height: 42px; margin-top: 9px; border-width: 5px; }
  .timeline-item > .timeline-photo,
  .timeline-item > .timeline-gallery,
  .timeline-item > .timeline-copy { grid-column: 2; justify-self: stretch; text-align: left; }
  .timeline-copy { grid-row: 1; max-width: none; }
  .timeline-item > .timeline-photo, .timeline-gallery { grid-row: 2; width: min(100%, 560px); margin-top: 26px; }
  .timeline-gallery .timeline-photo { margin-top: 0; }
  .timeline-item.reveal-on-scroll > .timeline-photo,
  .timeline-item.reveal-on-scroll > .timeline-gallery,
  .timeline-item.reveal-on-scroll > .timeline-copy { translate: 0 16px; }
  .timeline-item.reveal-on-scroll.is-visible > .timeline-photo,
  .timeline-item.reveal-on-scroll.is-visible > .timeline-gallery,
  .timeline-item.reveal-on-scroll.is-visible > .timeline-copy { translate: 0 0; }
  .timeline-item--photo-right .edition-meta { justify-content: flex-start; }
  .timeline-item::after { left: 70px; }
  .polaroid--left, .polaroid--right { transform: rotate(-1.5deg); }
  .timeline-item:nth-child(even) .polaroid { transform: rotate(1.5deg); }
  .photo-slot--timeline { min-height: 220px; }
  .edge-decor { opacity: 0.55; }

  .final-cta__grid { min-height: auto; grid-template-columns: 0.8fr 1.2fr; gap: 30px; padding-top: 54px; }
  .dog-slot { grid-column: 1; grid-row: 1 / span 2; height: 350px; }
  .final-cta__copy { grid-column: 2; }
  .final-cta__button { grid-column: 2; justify-self: start; margin-bottom: 54px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-lockup { gap: 7px; }
  .brand-logo--pantaneiro { width: 59px; height: 42px; }
  .brand-logo--caominhada { width: 88px; height: 42px; }
  .brand-divider { height: 23px; }
  .hero { padding-bottom: 35px; }
  .hero-copy { padding-top: 18px; }
  .display-title { font-size: clamp(2.25rem, 9vw, 2.75rem); }
  .hero-text { font-size: 0.9rem; }
  .button--wide { width: 100%; }
  .hero-photo-frame { min-height: 430px; }
  .decor--hero-leaf { left: -15px; width: 50px; }
  .decor--hero-flower { left: -10px; }
  .decor--hero-paw { width: 70px; }
  .graphic-divider { padding-bottom: 12px; }
  .graphic-divider__track { width: 165%; transform: translateX(-20%); }
  .graphic-divider img:nth-child(n+8) { display: none; }
  .history { padding-top: 42px; padding-bottom: 78px; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2 { font-size: 1.9rem; }
  .section-heading > p:not(.eyebrow) { font-size: 0.91rem; }
  .timeline { margin-top: 10px; }
  .timeline::before, .timeline::after { left: 19px; }
  .timeline-item { grid-template-columns: 38px minmax(0, 1fr); gap: 13px; }
  .timeline-marker, .timeline-item--photo-left .timeline-marker, .timeline-item--photo-right .timeline-marker { width: 38px; height: 38px; }
  .timeline-item::after { left: 52px; right: 0; }
  .edition-meta { flex-wrap: wrap; gap: 7px; }
  .photo-slot--timeline { min-height: 160px; }
  .polaroid { padding: 9px 9px 22px; }
  .timeline-gallery { gap: 8px; }
  .timeline-gallery .timeline-photo { padding: 7px 7px 18px; }
  .final-cta__grid { grid-template-columns: 1fr; padding-top: 58px; text-align: center; }
  .final-cta__copy, .final-cta__button, .dog-slot { grid-column: 1; }
  .final-cta__copy { grid-row: 1; }
  .final-cta__button { grid-row: 2; justify-self: center; margin-bottom: 0; }
  .dog-slot { grid-row: 3; width: min(100%, 320px); height: 310px; margin-top: 104px; justify-self: center; }
  .dog-slot img { bottom: -74px; width: min(390px, 135%); }
  .final-cta h2 { font-size: 1.95rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-contact { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.09); }
  .footer-contact:last-child { border-bottom: 0; }
  .footer-bottom { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.boot-active { overflow: auto; }
  .boot-screen { display: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .timeline-marker { opacity: 1; scale: 1; filter: none; }
  .reveal, .reveal-on-scroll { opacity: 1; transform: none; filter: none; }
  .timeline-item.reveal-on-scroll > .timeline-photo,
  .timeline-item.reveal-on-scroll > .timeline-gallery,
  .timeline-item.reveal-on-scroll > .timeline-copy { opacity: 1; translate: none; filter: none; }
}
