/* ═══════════════════════════════════════════════════════════
   MILLANEA — Instituto de Depilação
   Design system: Editorial luxuoso · paleta rosé elegante
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Cores */
  --cream:      #FAF5F2;
  --rose-50:    #F6EAE6;
  --rose-100:   #F3E4E0;
  --rose-300:   #DDB4B4;
  --rose-500:   #B76E79;   /* primária — rosa antigo */
  --rose-600:   #9E5560;
  --wine-700:   #5C2E35;   /* contraste — vinho profundo */
  --wine-900:   #3B1B20;
  --gold:       #D9A86C;
  --gold-soft:  #E9CBA3;
  --ink:        #2B1B1E;
  --ink-soft:   #6E5A5D;

  /* Tipografia */
  --font-display: "Playfair Display", Georgia, serif;
  --font-script:  "Great Vibes", cursive;
  --font-body:    "Geist", -apple-system, sans-serif;

  /* Espaçamento (spacious) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 8rem;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: 1100ms;

  --radius: 1.25rem;
  --container: 72rem;
  --container-gutter: clamp(2.5rem, 8vw, 6rem);
}

/* ─── Reset básico ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
/* overflow-x fica no html (não no body): no iOS Safari, overflow no body
   quebra o position:fixed dos filhos e cria um vão acima da navbar */
/* background aqui também (não só no body): no bounce do overscroll do iOS
   Safari a área exposta acima do topo mostra o background do html, não do
   body — sem isso aparece um flash branco atrás da navbar fixa */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  overflow-x: hidden;
  background: var(--cream);
  overscroll-behavior-y: none;
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* links de texto: sem sublinhado, seta dourada e transição no hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 500;
  min-height: 44px;
  transition: color 200ms;
}
.link-arrow::after {
  content: "↗";
  font-size: .9em;
  color: var(--gold);
  transition: transform 250ms var(--ease-out);
}
.link-arrow:hover { color: var(--gold-soft); }
.link-arrow:hover::after { transform: translate(3px, -3px); }
.link-soft { transition: color 200ms; min-height: 44px; display: inline-flex; align-items: center; }
.link-soft:hover { color: var(--gold-soft); }

/* textura de grão sutil sobre todo o site */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.27 0 0 0 0 0.29 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--wine-700); color: #fff;
  padding: .75rem 1.25rem; z-index: 10000;
  border-radius: 0 0 .5rem 0;
}
.skip-link:focus { left: 0; }

/* ─── Tipografia ─── */
.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  color: var(--rose-500);
  line-height: 1;
}
.script--gold { color: var(--gold-soft); }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rose-600);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::before {
  content: "";
  width: 2.5rem; height: 1px;
  background: currentColor;
  opacity: .6;
}
.eyebrow--light { color: var(--gold-soft); }

.title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--wine-900);
  margin-bottom: var(--space-3);
}
.title .script { font-size: 1.25em; }
.title--light { color: var(--cream); }

.section {
  position: relative;
  padding-block: var(--space-7);
  overflow: hidden;
}
.section > .container { position: relative; z-index: 1; }

/* palavra em script gigante como marca d'água (toque editorial) */
.section[data-watermark]::before {
  content: attr(data-watermark);
  position: absolute;
  z-index: 0;
  top: 1.5rem;
  right: clamp(1.25rem, 5vw, 5rem);
  font-family: var(--font-script);
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 1;
  color: rgba(183, 110, 121, .07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.section--wine[data-watermark]::before { color: rgba(250, 245, 242, .045); }
.section--rose[data-watermark]::before { color: rgba(158, 85, 96, .075); }

/* flor em traço único, eco do mural do novo espaço */
.sobre::after, .faq::after, .metodo::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(16rem, 26vw, 24rem);
  aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23B76E79' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M100 96C90 70 90 42 100 20C110 42 110 70 100 96Z'/%3E%3Cpath d='M104 98C122 76 148 66 172 68C158 88 132 100 104 98Z'/%3E%3Cpath d='M104 102C132 100 158 112 172 132C148 134 122 124 104 102Z'/%3E%3Cpath d='M100 104C110 130 110 158 100 180C90 158 90 130 100 104Z'/%3E%3Cpath d='M96 102C68 104 42 92 28 72C52 70 78 80 96 102Z'/%3E%3Cpath d='M96 98C78 76 52 66 28 68C42 88 68 100 96 98Z'/%3E%3Ccircle cx='100' cy='100' r='6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .16;
  pointer-events: none;
}
.sobre::after { top: -4rem; right: -5rem; transform: rotate(12deg); }
.faq::after { bottom: -6rem; left: -6rem; transform: rotate(-8deg); }
.metodo::after {
  bottom: -5rem; right: -4rem;
  transform: rotate(20deg);
  opacity: .1;
  filter: sepia(1) hue-rotate(-15deg) saturate(2) brightness(1.6);
}

.section--rose { background: var(--rose-100); }
.section--wine {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(183,110,121,.35), transparent 60%),
    radial-gradient(40rem 24rem at 0% 110%, rgba(217,168,108,.15), transparent 60%),
    var(--wine-900);
  color: var(--cream);
}
.section__lead { color: var(--ink-soft); max-width: 38rem; }

/* ─── Botões ─── */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 44px;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background-color 200ms;
  touch-action: manipulation;
}
/* brilho que atravessa o botão no hover */
.btn--primary::before, .btn--gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.35) 50%, transparent 68%);
  transform: translateX(-130%);
}
.btn--primary:hover::before, .btn--gold:hover::before {
  transform: translateX(130%);
  transition: transform 650ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--lg { padding: 1rem 2.2rem; font-size: 1rem; }
.btn--primary {
  background: var(--rose-500);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(183,110,121,.55);
}
.btn--primary:hover { background: var(--rose-600); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(183,110,121,.65); }
.btn--ghost {
  background: transparent;
  color: var(--wine-700);
  border: 1px solid var(--rose-300);
}
.btn--ghost:hover { border-color: var(--rose-500); background: rgba(183,110,121,.06); transform: translateY(-2px); }
.btn--gold {
  background: var(--gold);
  color: var(--wine-900);
  box-shadow: 0 8px 24px -8px rgba(217,168,108,.5);
}
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250,245,242,.4);
}
.btn--ghost-light:hover { border-color: var(--gold-soft); color: var(--gold-soft); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--rose-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ─── Navegação ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color 300ms, box-shadow 300ms, padding 300ms;
  padding-block: 1rem;
}
.nav.is-scrolled {
  background: rgba(250,245,242,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(92,46,53,.08);
  padding-block: .5rem;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  position: relative;
  z-index: 2;                 /* logo + X ficam acima do overlay do menu */
}
.nav__brand { flex: none; }
.nav__brand img { height: 44px; width: auto; }
.nav__links {
  display: none;
  margin-left: auto;
  gap: 1.15rem;
}
.nav__links a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  padding: .5rem .15rem;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: .2rem;
  width: 100%; height: 1px;
  background: var(--rose-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: none; margin-left: var(--space-1); }
.nav__insta {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  color: var(--rose-500);
  margin-left: var(--space-2);
  border-radius: 50%;
  transition: color 200ms, transform 200ms var(--ease-out);
}
.nav__insta:hover { color: var(--wine-700); transform: translateY(-2px); }
.nav__insta .icon { width: 22px; height: 22px; }

.nav__toggle {
  margin-left: auto;
  width: 48px; height: 48px;
  display: grid;
  place-content: center;
  gap: 7px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--wine-700);
  transition: transform 300ms var(--ease-out);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* overlay de tela cheia: cobre a página para os CTAs não vazarem por baixo */
.nav__mobile {
  position: fixed;
  /* altura de viewport explícita (não `inset:0`): quando o nav está
     .is-scrolled, o backdrop-filter faz o .nav virar bloco de contenção
     dos filhos fixed — com inset:0 o menu encolheria para a barra. */
  top: 0; left: 0; right: 0;
  height: 100dvh;
  z-index: 1;                 /* abaixo do .nav__inner (logo + X), acima da página */
  display: flex;
  flex-direction: column;
  justify-content: center;    /* itens centralizados verticalmente */
  align-items: center;
  text-align: center;
  padding: 5.75rem 1.5rem 5rem;
  background: var(--cream);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.25rem);
  transition: opacity 300ms var(--ease-out), transform 350ms var(--ease-out), visibility 0s linear 350ms;
}
.nav__mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 300ms var(--ease-out), transform 350ms var(--ease-out);
}
/* menu minimalista: itens centralizados, sem réguas nem números */
.menu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.menu__list a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: .01em;
  color: var(--ink);
  transition: color 220ms var(--ease-out);
}
.menu__list a:hover,
.menu__list a:focus-visible { color: var(--rose-500); }
/* linha discreta de contato/social no rodapé */
.menu__meta {
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 3.25rem);
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
.menu__meta a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .6rem;
  margin: -.6rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 200ms;
}
.menu__meta a:hover { color: var(--rose-500); }
.menu__meta .icon { width: 22px; height: 22px; }
/* entrada escalonada suave dos itens ao abrir */
.menu__list li, .menu__meta {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.nav__mobile.is-open .menu__list li,
.nav__mobile.is-open .menu__meta { opacity: 1; transform: none; }
.nav__mobile.is-open .menu__list li:nth-child(1) { transition-delay: .08s; }
.nav__mobile.is-open .menu__list li:nth-child(2) { transition-delay: .13s; }
.nav__mobile.is-open .menu__list li:nth-child(3) { transition-delay: .18s; }
.nav__mobile.is-open .menu__list li:nth-child(4) { transition-delay: .23s; }
.nav__mobile.is-open .menu__list li:nth-child(5) { transition-delay: .28s; }
.nav__mobile.is-open .menu__meta { transition-delay: .34s; }

/* tablet (>=56rem): mesmo ponto em que o resto do site vira desktop —
   nav__links/cta cabem com folga (insta some até 64rem p/ dar espaço) */
@media (min-width: 56rem) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle, .nav__mobile { display: none; }
}

@media (min-width: 64rem) {
  .nav__insta { display: grid; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-block: 8rem var(--space-6);
  background: var(--cream);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: url("../assets/img/hero-poster.webp") center / cover no-repeat var(--cream);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* alguns navegadores mobile (Chrome/WebView) desenham um ícone de play
   por cima do vídeo enquanto o autoplay ainda não "pegou" — escondemos,
   já que o poster já cobre visualmente essa espera */
.hero__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.hero__video::-webkit-media-controls {
  display: none !important;
}
/* o hack acima não pega em todo navegador — cobrimos o vídeo com o
   próprio poster até o evento "playing" confirmar que já está tocando,
   assim nenhum ícone nativo (de qualquer navegador) fica visível */
.hero__poster-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("../assets/img/hero-poster.webp") center / cover no-repeat;
  transition: opacity .4s ease;
}
.hero__poster-cover.is-hidden {
  opacity: 0;
  pointer-events: none;
}
/* véu de legibilidade sobre o vídeo — precisa ficar acima do
   .hero__poster-cover (z-index:1), senão a foto aparece sem o fade */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(250,245,242,.95) 0%, rgba(250,245,242,.85) 55%, rgba(250,245,242,.6) 100%);
}
@media (min-width: 56rem) {
  .hero__bg::after {
    background: linear-gradient(100deg, rgba(250,245,242,.98) 0%, rgba(250,245,242,.92) 38%, rgba(250,245,242,.45) 68%, rgba(250,245,242,.1) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}
/* o texto espera o primeiro passo do vídeo antes de entrar */
.hero .reveal, .hero .reveal-line {
  transition-delay: calc(var(--delay, 0ms) + 450ms);
}
.hero > .container, .hero__scroll { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
.hero__copy { max-width: 44rem; }

/* título revelado linha a linha, saindo de trás de uma máscara */
.mask {
  display: block;
  overflow: hidden;
  padding: .08em .15em .32em;
  margin: -.08em -.15em -.32em;
}
.reveal-line {
  display: inline-block;
  transform: translateY(112%) rotate(1.5deg);
  transform-origin: left top;
  transition: transform 1250ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: transform;
}
.reveal-line.is-visible { transform: none; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--wine-900);
  margin-bottom: var(--space-3);
}
.hero__title > span { display: block; }
.hero__title .script { font-size: 1.18em; margin-left: .1em; }
.hero__sub {
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  font-size: .85rem;
  color: var(--ink-soft);
}
.hero__badges li {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero__badges li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  display: block;
  width: 1px; height: 3.5rem;
  background: linear-gradient(var(--rose-500), transparent);
  animation: scrollHint 2.2s var(--ease-out) infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Marquee ─── */
.marquee {
  background: var(--wine-900);
  color: var(--rose-100);
  overflow: hidden;
  padding-block: 1.1rem;
}
.marquee__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 84s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .06em;
}
.marquee__track .script { color: var(--gold-soft); font-size: 1.3em; padding-inline: .35em; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ─── Sobre ─── */
.sobre__grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
/* ─── Colagem (Instituto) ─── */
.collage {
  position: relative;
  width: min(100%, 26rem);
  justify-self: center;
  aspect-ratio: 5 / 6;
}
.collage__blob {
  position: absolute;
  top: -8%; left: -12%;
  width: 78%; aspect-ratio: 1;
  background: radial-gradient(circle at 40% 35%, var(--rose-100), var(--rose-300));
  border-radius: 42% 58% 62% 38% / 45% 42% 58% 55%;
  opacity: .55;
  z-index: 0;
}
.collage__dots {
  position: absolute;
  top: 4%; right: 2%;
  width: 5.5rem; height: 5.5rem;
  z-index: 3;
  background-image: radial-gradient(var(--rose-500) 1.4px, transparent 1.6px);
  background-size: 13px 13px;
  opacity: .35;
}
.collage__img {
  position: absolute;
  border-radius: .35rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(92,46,53,.45);
}
.collage__img img { width: 100%; height: 100%; object-fit: cover; }
.collage__img--main {
  top: 0; left: 8%;
  width: 74%; aspect-ratio: 3 / 4;
  z-index: 1;
}
.collage__img--sub {
  bottom: -2%; right: 0;
  width: 46%; aspect-ratio: 4 / 5;
  border: 5px solid var(--cream);
  z-index: 2;
}
.sobre__copy p { color: var(--ink-soft); margin-bottom: var(--space-2); max-width: 36rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: var(--space-3);
  margin-top: var(--space-4);
  justify-content: start;
}
@media (min-width: 56rem) {
  .stats { gap: var(--space-4); }
}
.stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--rose-500);
  line-height: 1;
}
.stats dt::after { content: attr(data-suffix); color: var(--gold); }
.stats dd { font-size: .82rem; color: var(--ink-soft); margin-top: .35rem; max-width: 8rem; }

@media (min-width: 56rem) {
  .sobre__grid { grid-template-columns: .9fr 1.1fr; }
}

/* ─── Técnicas (colagem sobreposta) ─── */
.metodo .title { max-width: 40rem; }
.tecnicas {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: var(--space-6);
  padding-block: var(--space-3);
}
.tec-card {
  position: relative;
  flex: 0 0 26%;
  margin-inline: -2.2%;
  text-decoration: none;
  transition: transform 400ms var(--ease-out), z-index 0s;
}
.tec-card:nth-child(1) { margin-top: 0.5rem; z-index: 1; }
.tec-card:nth-child(2) { margin-top: 4.5rem; z-index: 2; }
.tec-card:nth-child(3) { margin-top: 1.2rem; z-index: 3; }
.tec-card:nth-child(4) { margin-top: 5.2rem; z-index: 2; }
.tec-card:hover { transform: translateY(-10px); z-index: 5; }
.tec-card__frame {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: .3rem;
  overflow: hidden;
  border: 5px solid var(--wine-900);
  box-shadow: 0 28px 55px -28px rgba(0,0,0,.6);
}
.tec-card__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out), filter 500ms;
  filter: saturate(.92);
}
.tec-card:hover .tec-card__frame img { transform: scale(1.06); filter: saturate(1.05); }
.tec-card__label {
  display: block;
  margin-top: .9rem;
  padding-top: .5rem;
  border-top: 1px solid rgba(217,168,108,.45);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--cream);
  text-align: center;
  transition: color 300ms;
}
.tec-card:hover .tec-card__label { color: var(--gold-soft); }
.metodo__cta { margin-top: var(--space-5); text-align: center; }
/* mobile: sem sobreposição, grade 2×2 confortável para o toque */
@media (max-width: 47.98rem) {
  .tecnicas {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-3);
    margin-top: var(--space-4);
    padding: 0 0 var(--space-2);
    scrollbar-width: none;
    touch-action: pan-x;
  }
  .tecnicas::-webkit-scrollbar { display: none; }
  .tec-card {
    margin: 0 !important;
    flex: 0 0 62%;
    max-width: 15rem;
    scroll-snap-align: start;
  }
  .tec-card:nth-child(n) { margin-top: 0 !important; }
}

/* CTAs centralizados no mobile (grupos e botões autônomos) */
@media (max-width: 55.98rem) {
  .hero__actions,
  .contato__actions { justify-content: center; }
  .servicos__cta,
  .metodo__cta { text-align: center; }
}

/* ─── Serviços / Preços ─── */
.precos {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.precos__cat {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--wine-900);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--rose-300);
  display: flex;
  align-items: baseline;
  gap: .6rem;
}
.precos__cat::after {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.lista-precos li {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding-block: .65rem;
  transition: transform 250ms var(--ease-out);
}
.lista-precos li:hover { transform: translateX(6px); }
.lista-precos li:hover b { color: var(--wine-700); }
.lista-precos li:hover i { border-color: var(--gold); }
.lista-precos span { font-size: .95rem; }
.lista-precos i {
  flex: 1;
  border-bottom: 1px dotted var(--rose-300);
  transform: translateY(-4px);
}
.lista-precos b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--rose-600);
  font-variant-numeric: tabular-nums;
  transition: color 250ms;
}
.precos__nota {
  margin-top: var(--space-3);
  font-size: .82rem;
  color: var(--ink-soft);
}
.servicos__cta { margin-top: var(--space-4); text-align: center; }

/* Mobile: a lista de valores fica comprida com 3 categorias empilhadas,
   então mostra só a metade e revela o resto sob demanda */
@media (max-width: 55.98rem) {
  .lista-precos { position: relative; overflow: hidden; }
  @media (prefers-reduced-motion: no-preference) {
    .lista-precos { transition: max-height 450ms var(--ease-out); }
  }
  .lista-precos.is-collapsed::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3.5rem;
    background: linear-gradient(to bottom, rgba(250, 245, 242, 0), var(--cream));
    pointer-events: none;
  }
  .precos__toggle {
    display: flex;
    margin: var(--space-2) auto 0;
    padding: .55rem 1.1rem;
    border: 1px solid var(--rose-300);
    border-radius: 999px;
    background: none;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--rose-600);
    cursor: pointer;
    transition: border-color 200ms, color 200ms;
  }
  .precos__toggle:hover { border-color: var(--gold); color: var(--wine-700); }
}
@media (min-width: 56rem) {
  .precos { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
}

/* ─── Dicas ─── */
.dicas__head {
  display: grid;
  gap: var(--space-2);
  align-items: end;
  margin-bottom: var(--space-5);
}
.dicas__lead { color: var(--ink-soft); max-width: 26rem; }
.dicas__grid {
  display: grid;
  gap: var(--space-3);
}
.card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 40px -32px rgba(92,46,53,.35);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 32px 56px -32px rgba(92,46,53,.45); }
.card__media {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-img) center / cover no-repeat, radial-gradient(120% 100% at 20% 0%, var(--rose-50), var(--rose-300));
  transition: transform 800ms var(--ease-out);
  will-change: transform;
}
.card:hover .card__media::before { transform: scale(1.06); }
.card__media--1 { --card-img: url("../assets/img/card-sala.webp"); }
.card__media--2 { --card-img: url("../assets/img/card-cabines.webp"); }
.card__media--3 { --card-img: url("../assets/img/card-recepcao.webp"); }
.tag {
  position: absolute;
  z-index: 1;
  top: 1rem; left: 1rem;
  background: rgba(250,245,242,.92);
  color: var(--wine-700);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--wine-900);
  padding: var(--space-3) var(--space-3) .5rem;
}
.card p {
  font-size: .92rem;
  color: var(--ink-soft);
  padding-inline: var(--space-3);
  flex: 1;
}
.card__link {
  display: inline-block;
  margin: var(--space-2) var(--space-3) var(--space-3);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-600);
}
/* mobile: cards viram carrossel com snap, pensado para o polegar */
@media (max-width: 55.98rem) {
  .dicas__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-2);
    padding-bottom: var(--space-2);
    scrollbar-width: none;
    touch-action: pan-x;
  }
  .dicas__grid::-webkit-scrollbar { display: none; }
  .dicas__grid .card {
    flex: 0 0 min(74%, 18rem);
    scroll-snap-align: start;
  }
}
@media (min-width: 56rem) {
  .dicas__head { grid-template-columns: 1fr auto; }
  .dicas__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── FAQ ─── */
.faq__grid {
  display: grid;
  gap: var(--space-5);
}
.faq__grid > div:first-child p { color: var(--ink-soft); max-width: 26rem; }
.faq__list details {
  border-bottom: 1px solid var(--rose-300);
}
.faq__list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--wine-900);
  padding-block: 1.15rem;
  min-height: 44px;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__icon {
  flex: none;
  width: 2rem; height: 2rem;
  border: 1px solid var(--rose-300);
  border-radius: 50%;
  position: relative;
  transition: transform 300ms var(--ease-out), background-color 300ms;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--rose-600);
  transition: transform 300ms var(--ease-out);
}
.faq__icon::before { width: 10px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 10px; }
.faq__list details[open] .faq__icon { background: var(--rose-500); border-color: var(--rose-500); }
.faq__list details[open] .faq__icon::before,
.faq__list details[open] .faq__icon::after { background: #fff; }
.faq__list details[open] .faq__icon::after { transform: rotate(90deg); }
.faq__list details p {
  padding-bottom: var(--space-3);
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 34rem;
}
.faq__list details[open] p { animation: faqIn 400ms var(--ease-out); }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-8px); }
}
@media (min-width: 56rem) {
  .faq__grid { grid-template-columns: .8fr 1.2fr; }
}

/* ─── Contato ─── */
.contato__grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
.contato__lead {
  color: rgba(250,245,242,.75);
  max-width: 28rem;
  margin-bottom: var(--space-4);
}
.contato__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.contato__info {
  font-style: normal;
  display: grid;
  gap: var(--space-4);
  border-left: 1px solid rgba(217,168,108,.4);
  padding-left: var(--space-4);
}
.contato__info h3 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}
.contato__info p { color: rgba(250,245,242,.9); font-size: 1rem; }
.contato__destaque {
  font-family: var(--font-display);
  font-size: 1.35rem !important;
  line-height: 1.4;
  color: var(--cream) !important;
}
.horarios { max-width: 20rem; }
.horarios li {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding-block: .45rem;
  font-size: 1.05rem;
  color: rgba(250,245,242,.9);
}
.horarios li:not(:last-child) { border-bottom: 1px solid rgba(250,245,242,.08); }
.horarios i {
  flex: 1;
  border-bottom: 1px dotted rgba(217,168,108,.45);
  transform: translateY(-4px);
}
.horarios b {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-soft);
}
.contato__info a { color: var(--cream); }
.contato__social a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
}
.contato__social .icon { width: 22px; height: 22px; color: var(--gold-soft); }
@media (min-width: 56rem) {
  .contato__grid { grid-template-columns: 1fr 1fr; }
}

/* ─── Footer ─── */
.footer {
  background: var(--wine-900);
  color: rgba(250,245,242,.7);
  border-top: 1px solid rgba(250,245,242,.1);
  padding-block: var(--space-5);
  text-align: center;
}
.footer__inner { display: grid; gap: 1rem; justify-items: center; }
.footer__logo { width: 200px; height: auto; opacity: .92; }
.footer small { font-size: .78rem; opacity: .7; }
.footer__social a {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(250,245,242,.25);
  border-radius: 50%;
  color: var(--gold-soft);
  transition: border-color 200ms, transform 200ms var(--ease-out);
}
.footer__social a:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.footer__social .icon { width: 22px; height: 22px; }

/* ─── WhatsApp flutuante ─── */
.whats-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.6);
  transition: transform 250ms var(--ease-out), box-shadow 250ms;
}
.whats-float:hover { transform: translateY(-4px) scale(1.05); }
.whats-float svg { width: 30px; height: 30px; }

/* ═══ Animações de entrada (scroll reveal) ═══ */
.reveal, .reveal-scale {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal-scale { transform: translateY(20px) scale(.96); }
.reveal-blur {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(10px);
  transition:
    opacity 1200ms var(--ease-out),
    transform 1200ms var(--ease-out),
    filter 1200ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform, filter;
}
.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* encaixe suave: peças entram de direções distintas e assentam no lugar */
.settle {
  opacity: 0;
  transform: translateY(52px) scale(.94);
  transition: opacity 1s var(--ease-out), transform 1.15s var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.collage__img--main.settle { transform: translate(-40px, 44px) scale(.95); }
.collage__img--sub.settle  { transform: translate(44px, 52px) scale(.93); }
.settle.is-visible { opacity: 1; transform: none; }
.d1 { --delay: 140ms; }
.d2 { --delay: 280ms; }
.d3 { --delay: 420ms; }
.d4 { --delay: 560ms; }
.d5 { --delay: 700ms; }
.d6 { --delay: 840ms; }

/* parallax sutil */
[data-parallax] { will-change: transform; }

/* ═══ Acessibilidade: reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-scale, .reveal-blur, .reveal-line, .settle {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .marquee__track { animation: none; }
  .hero__scroll { display: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ═══ Artigo do blog (técnicas) ═══ */
.article-hero {
  padding: 9rem 0 var(--space-2);
  background:
    radial-gradient(50rem 30rem at 90% -10%, rgba(221,180,180,.5), transparent 60%),
    var(--cream);
  text-align: center;
}
.article-hero .title { max-width: 22ch; margin-inline: auto; }
.article-hero__lead { max-width: 46ch; margin: var(--space-2) auto 0; color: var(--ink-soft); }
.article { padding-block: var(--space-2) var(--space-6); }
.article__tecnica {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  padding-block: var(--space-5);
  scroll-margin-top: 6rem;
}
.article__tecnica + .article__tecnica { border-top: 1px solid var(--rose-100); }
.article__foto {
  aspect-ratio: 4 / 5;
  border-radius: .4rem;
  overflow: hidden;
  box-shadow: 0 32px 64px -32px rgba(92,46,53,.4);
}
.article__foto img { width: 100%; height: 100%; object-fit: cover; }
/* no mobile (coluna única) a foto não ocupa a largura toda */
@media (max-width: 55.98rem) {
  .article__foto { max-width: 15rem; margin: 0 auto var(--space-3); }
}
.article__num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 8vw, 4.75rem);
  line-height: .9;
  color: var(--rose-300);
  margin-bottom: .25rem;
}
.article__tecnica h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--wine-900);
  margin: 0 0 var(--space-2);
  line-height: 1.15;
}
.article__tecnica p { color: var(--ink-soft); max-width: 52ch; }
.article__back {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: var(--space-2); font-weight: 500;
  color: var(--gold-soft);
  text-decoration: none;
  transition: gap 250ms, color 250ms;
}
.article__back:hover { gap: .85rem; color: var(--gold); }
@media (min-width: 56rem) {
  .article__tecnica { grid-template-columns: 18rem 1fr; gap: var(--space-6); }
  /* blocos pares: imagem à direita — as colunas também invertem, senão a
     foto cairia na coluna larga (1fr) e ficaria grande */
  .article__tecnica:nth-child(even) { grid-template-columns: 1fr 18rem; }
  .article__tecnica:nth-child(even) .article__foto { order: 2; }
}

/* Artigo de passos (sem fotos): número à esquerda, texto à direita */
.article--passos .container { max-width: 52rem; }
.article__passo {
  padding-block: var(--space-4);
  scroll-margin-top: 6rem;
}
.article__passo + .article__passo { border-top: 1px solid var(--rose-100); }
.article__passo h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: var(--wine-900);
  margin: 0 0 var(--space-1);
  line-height: 1.15;
}
.article__passo p { color: var(--ink-soft); max-width: 56ch; }
@media (min-width: 56rem) {
  .article__passo {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: var(--space-4);
    align-items: start;
  }
  .article__passo .article__num { text-align: right; }
}

/* colagem do Instituto: conter no mobile para não vazar */
@media (max-width: 55.98rem) {
  .sobre__grid { justify-items: center; }
  .collage {
    width: 15rem;
    max-width: 82%;
    justify-self: center;
  }
  .collage__blob { left: -8%; width: 70%; }
  .collage__dots { width: 3.5rem; height: 3.5rem; right: 2%; }
}

/* tablet em coluna única (40rem–55.98rem): o cap de 15rem do mobile
   sobra pequeno demais na coluna larga e isola a colagem com um vão
   enorme dos dois lados — cresce até ficar perto do tamanho que ela
   já tem no grid de 2 colunas do desktop (>=56rem) */
@media (min-width: 40rem) and (max-width: 55.98rem) {
  .collage { width: min(48%, 24rem); max-width: none; }
}

/* tablet (40rem–55.98rem): margem lateral maior em todas as seções —
   no layout de coluna única do .sobre, o texto (limitado a 36rem) fica
   centralizado no container e sobra bem mais respiro nas laterais do
   que nas outras seções, que só usam a margem base do .container;
   dobrar o gutter aqui aproxima o restante do site desse respiro */
@media (min-width: 40rem) and (max-width: 55.98rem) {
  :root { --container-gutter: clamp(5rem, 16vw, 12rem); }
}

/* card de dica que já leva ao blog */
.card__link--active { color: var(--rose-600); transition: gap 250ms, color 250ms; }
a.card:hover .card__link--active { color: var(--wine-700); }

/* ─── Bolinhas indicadoras de carrossel (aparecem só no mobile, via JS) ─── */
.carousel-dots {
  display: none;
  justify-content: center;
  gap: .5rem;
  margin-top: var(--space-4);
}
.carousel-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--rose-300);
  cursor: pointer;
  transition: width 300ms var(--ease-out), background-color 300ms;
}
.carousel-dots button.is-active { width: 22px; background: var(--rose-500); }
/* sobre fundo vinho (Técnicas) */
.section--wine .carousel-dots button { background: rgba(233, 203, 163, .4); }
.section--wine .carousel-dots button.is-active { background: var(--gold-soft); }
