/* ER Makeup · Emmily Ráira */
:root {
  --bg: #0E0C0B;
  --bg-2: #1A1715;
  --bg-3: #221E1B;
  --gold: #C9A24D;
  --gold-hi: #E2C06E;
  --gold-line: rgba(201, 162, 77, .32);
  --gold-faint: rgba(201, 162, 77, .14);
  --cream: #F3EBE2;
  --cream-2: rgba(243, 235, 226, .62);
  --cream-3: rgba(243, 235, 226, .38);
  --wine: #6E1E2B;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --max: 1320px;
  --section: clamp(5.5rem, 13vw, 11rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--wine); color: var(--cream); }

img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
em { font-style: italic; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--gold); color: var(--bg); padding: .7rem 1rem;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.skip:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }

/* type */
.label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .6875rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .9rem;
}
.label::before {
  content: "";
  width: 2.25rem; height: 1px;
  background: var(--gold-line);
  flex: none;
}
.title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 8.6vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.01em;
  margin-top: 1.4rem;
}
.title em, .hero__title em, .cta__title em, .closes__cap em { color: var(--gold); font-weight: 300; }
.mask { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.mask > span { display: inline-block; }
.body-text { color: var(--cream-2); font-size: clamp(1rem, 1.1vw, 1.0625rem); max-width: 34rem; }
.caption {
  font-family: var(--serif); font-style: italic; font-size: 1rem;
  color: var(--cream-3); margin-top: .9rem;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.7rem;
  font-family: var(--sans); font-weight: 400; font-size: .75rem;
  letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--bg); }
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn--sm { min-height: 44px; padding: .6rem 1.15rem; font-size: .6875rem; letter-spacing: .2em; }
.btn--lg { min-height: 56px; padding: 1rem 2.4rem; }

.link-line {
  display: inline-flex; align-items: center; gap: .8rem;
  min-height: 44px;
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cream);
  position: relative;
}
.link-line::after {
  content: ""; width: 2.4rem; height: 1px; background: var(--gold);
  transition: width .5s var(--ease);
}
.link-line:hover::after { width: 3.6rem; }
.link-line--lg { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-style: italic; letter-spacing: 0; text-transform: none; color: var(--gold); }

/* frames */
.frame { position: relative; background: var(--bg-2); overflow: hidden; }
.frame::after {
  content: ""; position: absolute; inset: 10px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(201, 162, 77, .0);
  transition: border-color .6s var(--ease), inset .6s var(--ease);
}
.frame--offset { overflow: visible; }
.frame--offset::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--gold-line);
}
.frame--offset::after { display: none; }
.px { position: relative; overflow: hidden; height: 100%; z-index: 1; }

/* logo */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; min-height: 44px; justify-content: center; }
.logo__mono {
  font-family: var(--serif); font-weight: 400; font-size: 1.85rem; letter-spacing: -.06em;
  color: var(--gold);
}
.logo__mono span { font-style: italic; margin-left: -.02em; }
.logo__word {
  font-family: var(--sans); font-weight: 400; font-size: .5rem; letter-spacing: .5em;
  margin-right: -.5em; color: var(--cream-2); margin-top: .3rem;
  padding-top: .3rem; border-top: 1px solid var(--gold-line);
}
.logo--lg .logo__mono { font-size: 3.4rem; }
.logo--lg .logo__word { font-size: .625rem; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__links { display: none; gap: 2.6rem; margin-left: auto; margin-right: 1rem; }
.nav__links a {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-2);
  min-height: 44px; display: inline-flex; align-items: center; position: relative;
  transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav.is-scrolled {
  background: rgba(14, 12, 11, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--gold-faint);
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(5.5rem, 12vh, 8rem);
  padding-top: calc(var(--nav-h) + 2rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--bg) url("assets/video/hero-loop-poster.jpg") center/cover no-repeat; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,12,11,.72) 0%, rgba(14,12,11,.18) 26%, rgba(14,12,11,.35) 52%, rgba(14,12,11,.94) 82%, var(--bg) 100%);
}
.hero__content { position: relative; }
.hero__label { margin-bottom: 1.6rem; }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.1rem, 13.4vw, 8.75rem);
  line-height: .95; letter-spacing: -.015em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; }
.hero__sub {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.65;
  color: var(--cream-2); max-width: 30rem; margin-top: 1.8rem;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.4rem; }
.hero__scroll {
  position: absolute; right: var(--pad); bottom: 2rem; z-index: 2;
  display: none; flex-direction: column; align-items: center; gap: .8rem;
  font-size: .625rem; letter-spacing: .34em; text-transform: uppercase; color: var(--cream-3);
  min-width: 44px; min-height: 44px;
}
.hero__scroll i { width: 1px; height: 56px; background: var(--gold-faint); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--gold);
  animation: scrollHint 2.4s var(--ease) infinite;
}
@keyframes scrollHint { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

.hero__title .line > span,
.hero__label, .hero__sub, .hero__actions {
  animation: rise 1.1s var(--ease) both;
}
.hero__title .line > span { animation-name: lineUp; animation-duration: .9s; animation-delay: calc(.35s + var(--i) * .08s); }
.hero__label { animation-delay: .2s; }
.hero__sub { animation-delay: .7s; }
.hero__actions { animation-delay: .85s; }
@keyframes lineUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* quem é */
.quem__grid { display: grid; gap: 3.5rem; }
.quem__photo { aspect-ratio: 3 / 4; }
.quem__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; filter: contrast(1.06) saturate(1.04); }
.quem__track { position: relative; margin-top: 2.6rem; padding-left: 2rem; }
.quem__rail { position: absolute; left: 0; top: .6rem; bottom: .6rem; width: 1px; background: var(--gold-faint); }
.quem__rail span { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(1); }
.steps { display: grid; gap: 3.4rem; }
.step { position: relative; transition: opacity .6s var(--ease); }
.step::before {
  content: ""; position: absolute; left: calc(-2rem - 3px); top: .85rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold);
  transition: background-color .5s var(--ease);
}
.step__n { font-family: var(--serif); font-weight: 300; font-size: 1.15rem; letter-spacing: .1em; color: var(--gold); }
.step__t { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 6.4vw, 3.4rem); line-height: 1.05; margin: .5rem 0 1rem; }
.step p { color: var(--cream-2); max-width: 28rem; }
.has-st .step { opacity: .28; }
.has-st .step.is-active { opacity: 1; }
.has-st .step.is-active::before { background: var(--gold); }

/* works */
.works { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.works__head { display: grid; gap: 1.6rem; align-items: end; }
.works__lead { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; color: var(--cream-2); max-width: 26rem; }

.filters {
  display: flex; flex-wrap: wrap; gap: .1rem 1.6rem;
  margin: 2.8rem 0 2.2rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--gold-faint);
}
.filter {
  min-height: 44px; position: relative;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream-3); transition: color .3s;
}
.filter::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.filter:hover { color: var(--cream); }
.filter.is-active { color: var(--gold); }
.filter.is-active::after { transform: scaleX(1); }

.gallery-wrap { container-type: inline-size; }
.gallery {
  --cols: 2; --g: 10px;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: var(--g);
  grid-auto-rows: calc((100vw - 2 * var(--pad) - (var(--cols) - 1) * var(--g)) / var(--cols) / 2);
  grid-auto-rows: calc((100cqi - (var(--cols) - 1) * var(--g)) / var(--cols) / 2);
}
.g-item { position: relative; min-width: 0; transition: opacity .38s var(--ease), transform .38s var(--ease); }
.g-item.is-out { opacity: 0; transform: scale(.975); }
.g-item[hidden] { display: none; }
.g-frame { position: absolute; inset: 0; }
.g-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%;
  transition: transform 1.6s var(--ease);
}
.g-item:hover .g-frame img { transform: scale(1.04); }
.g-item:hover .frame::after { border-color: var(--gold-line); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 2.2rem .9rem .8rem;
  background: linear-gradient(180deg, rgba(14,12,11,0), rgba(14,12,11,.82));
  font-family: var(--serif); font-style: italic; font-size: .98rem; line-height: 1.25; color: var(--cream);
}
.g-item figcaption span {
  display: block; font-family: var(--sans); font-style: normal; font-size: .58rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .35rem;
}
.g-item[data-size="xl"] { grid-column: span 2; grid-row: span 5; }
.g-item[data-size="t"], .g-item[data-size="h"] { grid-column: span 1; grid-row: span 3; }
.g-item[data-size="s"] { grid-column: span 1; grid-row: span 2; }
.g-item[data-size="sw"] { grid-column: span 2; grid-row: span 4; }
.g-item[data-size="solo"] { grid-column: 1 / -1; grid-row: span 5; }
.g-item[data-size="s"] figcaption { font-size: .9rem; padding: 1.8rem .7rem .7rem; }

.works__foot { margin-top: 2.6rem; display: flex; justify-content: flex-end; }

/* reels */
.reels__grid { display: grid; gap: 3rem; align-items: center; }
.reels__text .body-text { margin-top: 1.6rem; }
.reels__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: 64%;
  gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad);
  scroll-padding-inline: var(--pad);
}
.reels__list::-webkit-scrollbar { display: none; }
.reel { aspect-ratio: 9 / 16; scroll-snap-align: start; }
.reel video { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.reel::after { border-color: var(--gold-faint); }

/* closes */
.closes { padding-block: clamp(1rem, 3vw, 2rem) var(--section); overflow: hidden; }
.marquee { overflow: hidden; }
.marquee__track {
  display: flex; width: max-content; gap: 12px;
  animation: marquee 70s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  flex: none; width: clamp(220px, 30vw, 420px); aspect-ratio: 1;
  background: var(--bg-2); overflow: hidden; padding-right: 0;
}
.marquee__track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.marquee__track li:hover img { transform: scale(1.04); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
.closes__cap {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 4vw, 2.8rem);
  margin-top: 2rem; text-align: right;
}

/* about */
.about__grid { display: grid; gap: 3.8rem; align-items: center; }
.about__photo { aspect-ratio: 4 / 5; margin-right: 1.1rem; }
.about__photo .px { background: var(--bg-2); }
.about__photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.about__text .body-text { margin-top: 1.6rem; }
.about__text .title { margin-bottom: .6rem; }
.facts { margin-top: 2.6rem; border-top: 1px solid var(--gold-faint); }
.facts li {
  padding: 1.05rem 0; border-bottom: 1px solid var(--gold-faint);
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream);
  display: flex; gap: 1rem; align-items: baseline;
}
.facts li::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg) translateY(-2px); background: var(--gold); flex: none; }

/* how */
.how { background: var(--bg-2); }
.how__head { display: grid; gap: .4rem; }
.how__list { display: grid; gap: 2.6rem; margin-top: 3.6rem; counter-reset: none; }
.how__item { border-top: 1px solid var(--gold-line); padding-top: 1.6rem; display: grid; grid-template-columns: 4.2rem 1fr; column-gap: 1rem; }
.how__n {
  grid-row: span 2;
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 4.2rem; line-height: .8; color: var(--gold);
}
.how__item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; }
.how__item p { color: var(--cream-2); margin-top: .5rem; }

/* place */
.place__grid { display: grid; gap: 3rem; align-items: center; }
.place__text .body-text { margin: 1.6rem 0 2.2rem; }
.place__map { aspect-ratio: 1 / 1; }
.place__map::after { border-color: var(--gold-line); }
.place__map iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(.92) contrast(.9);
}

/* faq */
.faq__grid { display: grid; gap: 2.8rem; }
.faq__list { border-top: 1px solid var(--gold-faint); }
.qa { border-bottom: 1px solid var(--gold-faint); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 64px; padding: 1.2rem 0;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.2;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold-hi); }
.qa summary i { position: relative; width: 14px; height: 14px; flex: none; }
.qa summary i::before, .qa summary i::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: var(--gold);
  transition: transform .45s var(--ease);
}
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { color: var(--cream-2); padding: 0 2.4rem 1.6rem 0; max-width: 40rem; }

/* cta */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(7rem, 18vw, 13rem);
  text-align: left;
}
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg .px { height: 100%; }
.cta__bg img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; object-position: 50% 25%; opacity: .32; filter: grayscale(.25); }
.cta__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(14,12,11,.55) 40%, rgba(14,12,11,.7) 70%, var(--bg) 100%);
}
.cta__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 12vw, 8.4rem); line-height: .98; letter-spacing: -.015em;
  margin: 1.6rem 0 2.8rem;
}

/* footer */
.footer { border-top: 1px solid var(--gold-faint); padding: 4.5rem 0 calc(2rem + env(safe-area-inset-bottom)); }
.footer__grid { display: grid; gap: 1.8rem; justify-items: start; }
.footer__who { color: var(--cream-2); }
.footer__links { display: grid; gap: .2rem; }
.footer__links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream);
  transition: color .3s;
}
.footer__links a:hover { color: var(--gold); }
.footer__base {
  width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem;
  padding-top: 1.6rem; margin-top: 1rem; border-top: 1px solid var(--gold-faint);
  font-size: .72rem; letter-spacing: .12em; color: var(--cream-3);
}
.footer__base a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
.footer__base a:hover { color: var(--gold); }

/* whatsapp float */
.wa-float {
  position: fixed; z-index: 95;
  right: calc(1rem + env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--bg);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .3s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--gold); animation: pulse 2.8s var(--ease) infinite;
}
.wa-float:hover { background: var(--gold-hi); }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.55); opacity: 0; } }

@media (max-width: 420px) {
  .label { letter-spacing: .26em; font-size: .625rem; gap: .7rem; }
  .label::before { width: 1.5rem; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- >= 640 ---------- */
@media (min-width: 640px) {
  .gallery { --g: 14px; }
  .reels__list { grid-auto-columns: 40%; }
  .how__list { gap: 3rem; }
  .footer__grid { grid-template-columns: auto 1fr; align-items: center; column-gap: 3rem; }
  .footer__links { grid-column: 2; }
  .footer__who { grid-column: 2; grid-row: 1; }
  .footer__links { grid-row: 2; }
  .footer__grid .logo { grid-row: span 2; }
  .footer__base { grid-column: 1 / -1; }
}

/* ---------- >= 960 ---------- */
@media (min-width: 960px) {
  :root { --nav-h: 92px; }
  .nav__links { display: flex; }
  .logo__mono { font-size: 2.1rem; }

  .hero { align-items: center; padding-bottom: 6rem; }
  .hero__media { left: auto; width: 46%; background-position: 50% 30%; }
  .hero__media::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; z-index: 2;
    background: linear-gradient(180deg, transparent, var(--gold-line) 30%, var(--gold-line) 70%, transparent);
  }
  .hero__veil {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(14,12,11,.55) 18%, rgba(14,12,11,.05) 55%, rgba(14,12,11,.2) 100%),
      linear-gradient(180deg, rgba(14,12,11,.55) 0%, rgba(14,12,11,0) 22%, rgba(14,12,11,0) 70%, rgba(14,12,11,.85) 100%);
  }
  .hero__content { z-index: 1; }
  .hero__title { font-size: clamp(5rem, 8.6vw, 9rem); max-width: 11ch; }
  .hero__scroll { display: flex; left: var(--pad); right: auto; }

  .quem__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 8rem); align-items: start; }
  .quem__media { position: sticky; top: calc(var(--nav-h) + 3vh); }
  .quem__photo { aspect-ratio: auto; height: calc(100vh - var(--nav-h) - 9vh); max-height: 820px; }
  .quem__body { padding-top: 10vh; }
  .quem__track { padding-left: 3rem; }
  .step::before { left: calc(-3rem - 3px); top: 1rem; }
  .steps { gap: 0; }
  .step { min-height: 55vh; display: flex; flex-direction: column; justify-content: center; }
  .step:last-child { min-height: 50vh; }

  .works__head { grid-template-columns: 1fr auto; }
  .gallery { --cols: 6; --g: 16px; }
  .g-item[data-size="xl"] { grid-column: span 4; grid-row: span 10; }
  .g-item[data-size="t"] { grid-column: span 2; grid-row: span 5; }
  .g-item[data-size="s"], .g-item[data-size="sw"] { grid-column: span 2; grid-row: span 4; }
  .g-item[data-size="h"] { grid-column: span 3; grid-row: span 7; }
  .g-item[data-size="solo"] { grid-column: 2 / span 4; grid-row: span 10; }
  .g-item figcaption { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); padding: 3rem 1.3rem 1.2rem; font-size: 1.15rem; }
  .g-item[data-size="s"] figcaption, .g-item[data-size="sw"] figcaption { font-size: 1.05rem; padding: 2.6rem 1.1rem 1rem; }
  .g-item:hover figcaption, .g-item:focus-within figcaption { opacity: 1; transform: none; }

  .reels__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(3rem, 6vw, 6rem); }
  .reels__list {
    grid-auto-flow: initial; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: initial;
    overflow: visible; margin: 0; padding: 0; gap: clamp(12px, 1.6vw, 24px);
  }
  .reel:nth-child(2) { transform: translateY(14%); }
  .reels { padding-bottom: calc(var(--section) + 4rem); }

  .closes__cap { margin-top: 2.6rem; }

  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 8vw, 9rem); }
  .about__text { padding-right: 2rem; }

  .how__head { grid-template-columns: 1fr; }
  .how__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); margin-top: 4.5rem; }
  .how__item { grid-template-columns: 1fr; }
  .how__item:nth-child(2) { margin-top: 3rem; }
  .how__item:nth-child(3) { margin-top: 6rem; }
  .how__n { grid-row: auto; font-size: 5.6rem; margin-bottom: 1.6rem; }

  .place__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 7rem); }
  .place__map { aspect-ratio: 4 / 3; }

  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--nav-h) + 2rem); }

  .cta__inner { padding-left: 8.333%; }
  .wa-float { right: 2rem; bottom: 2rem; width: 60px; height: 60px; }
}

@media (hover: none) {
  .g-item:hover .g-frame img { transform: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
  }
  .hero__title .line > span, .hero__label, .hero__sub, .hero__actions { animation: none !important; opacity: 1; transform: none; }
  .marquee { overflow-x: auto; scrollbar-width: none; }
  .marquee__track { animation: none !important; }
  .marquee__track li[aria-hidden="true"] { display: none; }
  .wa-float::before { display: none; }
  .hero__scroll i::after { display: none; }
}
/* mesmo comportamento via ?noanim=1 (navegadores embutidos que congelam animação) */
html.no-anim { scroll-behavior: auto; }
html.no-anim *, html.no-anim *::before, html.no-anim *::after {
  animation: none !important;
  transition: none !important;
}
html.no-anim .hero__title .line > span, html.no-anim .hero__label, html.no-anim .hero__sub, html.no-anim .hero__actions { animation: none !important; opacity: 1; transform: none; }
html.no-anim .marquee { overflow-x: auto; scrollbar-width: none; }
html.no-anim .marquee__track { animation: none !important; }
html.no-anim .marquee__track li[aria-hidden="true"] { display: none; }
html.no-anim .wa-float::before { display: none; }
html.no-anim .hero__scroll i::after { display: none; }

/* rótulo do hero em telas estreitas: não quebrar "BA" sozinho */
@media (max-width: 520px) {
  .hero__label { font-size: .58rem; letter-spacing: .16em; text-wrap: balance; }
  .hero__label::before { width: 22px; }
}
