/* ==========================================================
   Amor'a by Morada — site institucional
   Cores e tipografia do Manual da IDV
   ========================================================== */

:root {
  /* Paleta oficial */
  --bordo: #280E17;
  --vinho: #492E35;
  --rose:  #A0837B;
  --nude:  #CFBCB5;
  --aveia: #C3BC9F;
  /* Apoio (fundo usado no próprio manual) */
  --creme: #F2E9DF;
  --creme-2: #EADFD3;
  --white: #FBF8F4;

  --text: var(--vinho);
  --text-soft: #6E5558;

  /* Tipografia */
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-script: "Cormorant Garamond", Georgia, serif; /* títulos, sempre em itálico (.script) */

  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.15vw, 1.05rem);
  --step-1:  clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
  --h2: clamp(2.6rem, 1.8rem + 3.4vw, 4.8rem);
  --h1: clamp(3.6rem, 2rem + 7vw, 8.6rem);

  /* Espaços */
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(5rem, 3.5rem + 7vw, 10rem);
  --container: 1320px;

  /* Formas */
  --r-sm: 14px;
  --r-md: 24px;
  --r-lg: clamp(24px, 2.5vw, 40px);
  --pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 60px -30px rgba(40, 14, 23, 0.25);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--nude); color: var(--bordo); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--vinho); color: var(--creme); padding: 8px 16px; border-radius: var(--pill); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.center { text-align: center; }
.rounded { border-radius: var(--r-lg); overflow: hidden; }

/* ---------- Tipografia ---------- */
.script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
/* máscara das linhas animadas (SplitText): folga para o itálico e as descendentes não serem cortados */
.line-mask { padding: 0 .12em .14em; margin: 0 -.12em -.14em; }
.h2 { font-size: var(--h2); color: var(--vinho); margin-bottom: 0.35em; }
.h2--light { color: var(--creme); }

.eyebrow {
  font-size: var(--step--1);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--rose);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--nude); }

.lead { font-size: var(--step-1); font-weight: 300; line-height: 1.65; color: var(--text-soft); max-width: 34em; }
.lead--light { color: var(--nude); }
.lead--center { margin-inline: auto; text-align: center; }

/* ---------- Botões ---------- */
.btn {
  --bg: transparent; --fg: var(--vinho); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 52px; padding: 0 1.8em;
  border-radius: var(--pill);
  border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), translate .5s var(--ease);
}
/* hover usa "translate" (e não "transform") para não brigar com as animações do GSAP */
.btn:hover { translate: 0 -2px; }
.btn--sm { min-height: 42px; padding: 0 1.3em; font-size: 0.7rem; }
.btn--solid { --bg: var(--vinho); --fg: var(--creme); }
.btn--solid:hover { --bg: var(--bordo); }
.btn--ghost { --bd: rgba(73, 46, 53, .35); }
.btn--ghost:hover { --bg: var(--vinho); --fg: var(--creme); --bd: var(--vinho); }
.btn--light { --bg: var(--creme); --fg: var(--vinho); }
.btn--light:hover { --bg: var(--white); }
.btn--outline-light { --bd: rgba(242, 233, 223, .55); --fg: var(--creme); }
.btn--outline-light:hover { --bg: var(--creme); --fg: var(--vinho); --bd: var(--creme); }
.btn--nude { --bg: var(--nude); --fg: var(--bordo); }
.btn--nude:hover { --bg: var(--creme); }

.arr { position: relative; width: 18px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arr { width: 26px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }
.btn-row--center { justify-content: center; }


/* ---------- Fotos ---------- */
.about__media img, .gallery__col > img, .card__media > img, .feature__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}

/* ==========================================================
   MENU
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 22px 0 0;
  transition: padding .6s var(--ease);
}
/* mesma largura do conteúdo do site; no topo o logo alinha com o texto, ao rolar vira "pílula" */
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  padding: 10px 0;
  border-radius: var(--pill);
  border: 1px solid transparent;
  color: var(--creme);
  transition: background .6s var(--ease), border-color .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease), backdrop-filter .6s, padding .6s var(--ease);
}
.nav__logo { position: relative; width: 118px; height: 44px; flex: none; }
.nav__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .5s var(--ease); }
.logo-dark { opacity: 0; }

.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a {
  position: relative; font-size: 0.72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav .btn--solid { --bg: var(--creme); --fg: var(--vinho); }

/* estado após rolar: menu fixo, fundo vinho e logo branco */
.nav.is-scrolled { padding-top: 12px; }
.nav.is-scrolled .nav__inner {
  padding: 10px 10px 10px 24px;
  background: rgba(73, 46, 53, .94);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-color: rgba(242, 233, 223, .08);
  box-shadow: 0 14px 40px -18px rgba(40, 14, 23, .45);
  color: var(--creme);
}
/* menu mobile aberto: a pílula some e o logo/ícone ficam escuros sobre o fundo creme */
.menu-open .nav.is-scrolled .nav__inner { background: transparent; box-shadow: none; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; background: none; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--creme);
  display: flex; flex-direction: column; justify-content: center; gap: 3rem;
  padding: 120px var(--gutter) 40px;
  visibility: hidden; clip-path: inset(0 0 100% 0);
}
.mmenu nav { display: flex; flex-direction: column; gap: .2rem; }
.mmenu nav a { font-family: var(--font-script); font-style: italic; font-size: 3rem; line-height: 1.3; color: var(--vinho); }
.mmenu__cta { display: flex; flex-direction: column; gap: 10px; }
.menu-open .nav__inner { color: var(--vinho); }
.menu-open .logo-light { opacity: 0; }
.menu-open .logo-dark { opacity: 1; }

/* ==========================================================
   01 · HERO
   ========================================================== */
/* Tela cheia: foto de fundo + sobreposição escura para o texto ficar legível */
.hero {
  position: relative; display: flex; align-items: center;
  height: 100svh; min-height: 640px;
  background: var(--bordo); color: var(--creme); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__bg { position: absolute; inset: -8% 0; }
.hero__bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(40,14,23,.86) 0%, rgba(40,14,23,.62) 34%, rgba(40,14,23,.18) 62%, rgba(40,14,23,0) 80%),
    linear-gradient(180deg, rgba(40,14,23,.5) 0%, rgba(40,14,23,0) 22%, rgba(40,14,23,0) 75%, rgba(40,14,23,.45) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  padding-top: 80px;
}
.hero__content > * { max-width: 620px; }
.hero__title { font-size: clamp(3.1rem, 1.4rem + 4vw, 6.4rem); color: var(--creme); margin-bottom: .3em; text-shadow: 0 2px 30px rgba(40,14,23,.35); }
.hero__lead { font-size: var(--step-1); font-weight: 300; color: rgba(242,233,223,.9); max-width: 30em; }

/* ==========================================================
   Seções
   ========================================================== */
.section { position: relative; padding-block: var(--section); }

/* 02 · SOBRE */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__media { position: relative; aspect-ratio: 4/5; margin: 0; }
.about__media img { position: absolute; inset: -10% 0; height: 120%; }
.values { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; gap: 0; }
.values li { padding: 1.2rem 0; border-top: 1px solid rgba(73,46,53,.14); }
.values li:last-child { border-bottom: 1px solid rgba(73,46,53,.14); }
.values strong { display: block; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; margin-bottom: .2rem; }
.values p { font-size: .92rem; font-weight: 300; color: var(--text-soft); }

/* FRASE (manifesto): tela cheia, fixa durante a rolagem */
.manifesto {
  position: relative; display: grid; place-items: center;
  height: 100svh; min-height: 560px; padding: 88px var(--gutter) 24px; /* 88px = espaço do menu fixo */
  background: radial-gradient(60% 55% at 50% 50%, rgba(207,188,181,.38), transparent 70%), var(--creme);
  text-align: center; overflow: hidden;
}
/* textura de papel bem leve (ruído em SVG, sem imagem extra) */
.manifesto::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .29 0 0 0 0 .18 0 0 0 0 .21 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.manifesto__inner { position: relative; max-width: 1200px; }
/* topo: símbolo 'a + subtítulo entre dois fios finos */
.manifesto__top { display: flex; flex-direction: column; align-items: center; gap: clamp(1rem, 2.4vh, 1.6rem); margin-bottom: clamp(2.2rem, 6vh, 4.5rem); }
.manifesto__symbol { width: clamp(38px, 3.6vw, 52px); height: auto; opacity: .55; }
.manifesto__eyebrow { display: flex; align-items: center; gap: 18px; margin: 0; }
.manifesto__eyebrow::before, .manifesto__eyebrow::after { content: ""; width: clamp(32px, 5vw, 72px); height: 1px; background: currentColor; opacity: .5; }
.manifesto__text {
  font-size: min(clamp(2.2rem, 1.1rem + 4vw, 5.6rem), 9.4vh); line-height: 1.2; /* limita pela altura em telas baixas */
  color: var(--vinho); text-wrap: balance;
}
.manifesto__text em { color: var(--rose); }
/* base: fio vertical descendo até o link */
.manifesto__next { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: clamp(2.4rem, 6vh, 4.5rem); }
.manifesto__line { width: 1px; height: clamp(40px, 7vh, 72px); background: linear-gradient(var(--rose), transparent); }
.manifesto__next a {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--vinho);
}
.manifesto__next .arr { rotate: 90deg; width: 14px; }

/* Fundo de rosas (ilustração enviada pelo cliente) atrás dos blocos brancos de Produtos e Inspiração.
   Duas cópias menores, nos cantos superior esquerdo e inferior direito, com um véu branco no centro.
   Tudo bem apagado (opacidade baixa sobre o branco) e sumindo suavemente no topo e na base. */
.products::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  --rosas-w: clamp(640px, 72vw, 1080px);
  --veu: 251,248,244; /* = var(--white) */
  background:
    /* véu no topo-centro: nada "surge do nada" no meio; no alto as rosas só aparecem vindo dos cantos */
    radial-gradient(ellipse 32% 26% at 55% 0%, rgba(var(--veu),1) 0%, rgba(var(--veu),.95) 55%, rgba(var(--veu),0) 100%),
    /* véu no centro do bloco */
    radial-gradient(ellipse 58% 52% at 50% 50%, rgba(var(--veu),.85) 0%, rgba(var(--veu),.55) 45%, rgba(var(--veu),0) 78%),
    url("../img/fundo-rosas.webp") left -6% top 0 / var(--rosas-w) auto no-repeat,
    url("../img/fundo-rosas.webp") right -6% top 0 / var(--rosas-w) auto no-repeat,
    url("../img/fundo-rosas.webp") right -6% bottom 0 / var(--rosas-w) auto no-repeat;
  opacity: .27;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
}
.products > .container { position: relative; }

/* 03 · PRODUTOS */
.products { background: var(--white); border-radius: var(--r-lg) var(--r-lg) 0 0; z-index: 2; } /* cards animados ficam acima da seção seguinte */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .h2 { margin-bottom: 0; }
.filters { display: flex; gap: 8px; padding: 6px; border-radius: var(--pill); background: var(--creme); }
.chip { border: 0; background: transparent; padding: 10px 20px; border-radius: var(--pill); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: background .4s var(--ease), color .4s var(--ease); }
.chip.is-active { background: var(--vinho); color: var(--creme); }

.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.card { display: flex; flex-direction: column; border-radius: 18px; background: var(--creme); overflow: hidden; transition: translate .7s var(--ease), box-shadow .7s var(--ease); }
.card:hover { translate: 0 -6px; box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 5/6; margin: 8px; border-radius: 12px; background: var(--nude); overflow: hidden; }
.card__media img { transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 12px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card__line { font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); }
.card__title { font-size: .92rem; font-weight: 500; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; margin: .35rem 0 0; }
.card__sub { margin-top: .3rem; font-family: var(--font-script); font-style: italic; font-size: 1.12rem; line-height: 1.3; color: var(--text-soft); }
.card__tags {
  list-style: none; margin: .9rem 0 0; padding: .8rem 0 0;
  display: flex; flex-direction: column; gap: .45rem;
  border-top: 1px solid rgba(73,46,53,.1);
}
.card__tags li { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 400; color: var(--text-soft); }
.ico { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--rose); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.card__actions { margin-top: auto; padding-top: 1.1rem; }
.card__actions .btn { width: 100%; }

/* setas do carrossel: só no celular */
.carousel-nav { display: none; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.carousel-nav__hint { display: inline-flex; align-items: center; gap: 10px; font-size: .64rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.carousel-nav__hint .arr { animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 6px 0; } }
.carousel-nav__btns { display: flex; gap: 8px; }
.carousel-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(73,46,53,.25); background: var(--white); color: var(--vinho);
  transition: background .4s var(--ease), color .4s var(--ease), opacity .4s;
}
.carousel-btn .arr { width: 16px; }
.carousel-btn--prev .arr { rotate: 180deg; }
.carousel-btn:not(:disabled):active { background: var(--vinho); color: var(--creme); }
.carousel-btn:disabled { opacity: .35; cursor: default; }

/* 04 · DESTAQUE */
.feature { background: var(--white); padding-top: 0; padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 7rem); }
.feature__box { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 6vw, 110px); }
.feature__media { position: relative; aspect-ratio: 5/5.6; border-radius: var(--r-lg); overflow: hidden; background: var(--nude); }
.feature__media img { position: absolute; inset: -8% 0; height: 116%; }
.feature__text { padding-block: 24px; }
.benefits { list-style: none; padding: 0; margin: 2rem 0 0; }
.benefits li { position: relative; padding: .9rem 0 .9rem 28px; border-top: 1px solid rgba(73,46,53,.14); font-weight: 300; color: var(--text-soft); }
.benefits li:last-child { border-bottom: 1px solid rgba(73,46,53,.14); }
.benefits li::before { content: ""; position: absolute; left: 0; top: 1.62em; width: 14px; height: 1px; background: var(--rose); }

/* 04 · UMA MARCA MORADA DOS CANYONS */
.morada { background: var(--white); padding-top: 0; padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 7rem); }
.morada__box {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  display: flex; align-items: center;
  min-height: clamp(560px, 78vh, 780px); padding: clamp(32px, 6vw, 96px);
  background: var(--bordo);
}
.morada__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 70% center; }
/* degradê da esquerda (onde fica o texto) para a direita (foto limpa) */
.morada__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(40,14,23,.92) 0%, rgba(40,14,23,.78) 30%, rgba(40,14,23,.3) 58%, rgba(40,14,23,0) 78%),
    linear-gradient(0deg, rgba(40,14,23,.35) 0%, rgba(40,14,23,0) 40%);
}
.morada__card { position: relative; z-index: 1; max-width: 680px; color: var(--creme); }
.morada__card .lead { max-width: 30em; }
/* título em uma linha só a partir do tablet */
@media (min-width: 761px) {
  .morada__title { font-size: clamp(2.4rem, 1rem + 2.8vw, 4rem); white-space: nowrap; }
}
.morada__logo { width: clamp(84px, 8vw, 112px); height: auto; margin: 0 0 1.8rem; }

/* 05 · GALERIA */
.gallery { background: var(--white); overflow: hidden; padding-top: 0; }
.gallery__head { text-align: center; margin-bottom: clamp(40px, 5vw, 72px); }
.gallery__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); padding-inline: var(--gutter); margin-bottom: clamp(72px, 7vw, 112px); }
.gallery__col { display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 20px); }
.gallery__col:nth-child(even) { margin-top: 8%; }
.gallery .center { position: relative; z-index: 2; }
.gallery__col > img { aspect-ratio: 1; height: auto; border-radius: var(--r-lg); }
.gallery__col > img.tall { aspect-ratio: 5/7; }

/* 06 · HEAD SPA */
.spa {
  background: var(--vinho); color: var(--creme);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding-bottom: calc(var(--section) + var(--r-lg));
  overflow: hidden;
}
/* a foto estica até a altura do texto, nunca fica mais baixa que ele */
.spa__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 5vw, 96px); align-items: stretch; }
.spa__media { position: relative; }
.spa__main { position: relative; margin: 0; height: 100%; min-height: 520px; }
.spa__text { align-self: center; }
/* título da experiência em uma linha só no desktop */
@media (min-width: 1081px) {
  .spa__title { font-size: clamp(2.2rem, 0.9rem + 2.1vw, 3.1rem); white-space: nowrap; }
}
.spa .lead { font-size: var(--step-0); }
.spa__main img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.spa__tag {
  position: absolute; top: 18px; left: 18px; padding: 8px 14px; border-radius: var(--pill);
  background: rgba(242, 233, 223, .9); color: var(--vinho);
  font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.spa__steps { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.spa__steps li {
  display: flex; gap: 18px; padding: .8rem 0; border-top: 1px solid rgba(242, 233, 223, .15);
  font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.spa__steps li:last-child { border-bottom: 1px solid rgba(242, 233, 223, .15); }
.spa__steps span { color: var(--rose); font-weight: 400; }

/* ---------- Rodapé ---------- */
.footer { background: var(--bordo); color: var(--nude); padding: clamp(56px, 7vw, 96px) 0 28px; margin-top: calc(var(--r-lg) * -1); border-radius: var(--r-lg) var(--r-lg) 0 0; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { width: 170px; height: auto; }
.footer__by { margin-top: .4rem; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rose); }
.footer__title { font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--rose); margin-bottom: 1rem; }
.footer nav a, .footer__grid > div > a:not(.btn) { display: block; font-weight: 300; padding: .2rem 0; transition: color .3s; }
.footer a:not(.btn):hover { color: var(--creme); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid rgba(207,188,181,.15); font-size: .74rem; font-weight: 300; color: var(--rose); }
.footer__credit a { color: var(--nude); transition: color .3s; }
.footer__credit a:hover { color: var(--creme); }
.footer__credit strong { font-weight: 600; }

/* ---------- Estados iniciais (evita flash antes do GSAP) ---------- */
.js [data-reveal], .js [data-hero-fade], .js [data-split], .js [data-reveal-group] > * { visibility: hidden; }

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1280px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(40,14,23,.88) 0%, rgba(40,14,23,.7) 45%, rgba(40,14,23,.2) 80%),
      linear-gradient(180deg, rgba(40,14,23,.5) 0%, rgba(40,14,23,0) 22%);
  }
  .hero__content > * { max-width: 50%; }
}

/* Telas em pé (celular, tablet vertical): frasco no alto, texto embaixo sobre degradê mais forte */
@media (max-aspect-ratio: 1/1) {
  .hero { align-items: flex-end; }
  .hero__bg img { object-position: 74% center; }
  .hero__overlay {
    background: linear-gradient(0deg, rgba(40,14,23,.94) 0%, rgba(40,14,23,.82) 38%, rgba(40,14,23,.25) 62%, rgba(40,14,23,.15) 80%, rgba(40,14,23,.45) 100%);
  }
  .hero__content { padding: 0 0 clamp(40px, 6vh, 80px); }
  .hero__content > * { max-width: 620px; }
}

@media (max-width: 760px) {
  .nav { padding-top: 14px; }
  .nav.is-scrolled .nav__inner { padding: 6px 6px 6px 18px; }
  .nav__actions .btn { display: none; }
  .nav__logo { width: 96px; height: 38px; }
  .btn-row .btn { flex: 1 1 100%; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4/4.4; }

  /* vitrine vira carrossel com scroll-snap no celular */
  .product-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px;
    scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 72%; scroll-snap-align: center; }
  .filters { width: 100%; }
  .section-head { margin-bottom: 20px; }
  .carousel-nav { display: flex; }
  .chip { flex: 1; padding-inline: 8px; }

  .feature__box { grid-template-columns: 1fr; gap: 24px; }
  .feature__text { padding: 0; }
  /* Morada no celular: foto em cima, conteúdo embaixo no bordô */
  .morada__box { display: block; min-height: 0; padding: 300px 0 0; }
  .morada__bg { top: -24px; bottom: auto; height: 360px; }
  .morada__overlay { background: linear-gradient(180deg, rgba(40,14,23,0) 0, rgba(40,14,23,0) 150px, var(--bordo) 300px); }
  .morada__card { max-width: none; margin-top: -48px; padding: 0 22px 40px; }
  .morada__logo { width: 84px; margin-bottom: 1.4rem; }

  .spa__grid { grid-template-columns: 1fr; }
  .spa__main { height: auto; min-height: 0; aspect-ratio: 900 / 820; }

  .gallery__cols { grid-template-columns: repeat(2, 1fr); }
  .gallery__col:nth-child(n+3) { display: none; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
