/* =========================================================
   TK BARBERSHOP: prévia
   Para mudar as cores do site inteiro, edite as variáveis abaixo.
   ========================================================= */
:root {
  --bg: #0d0b09;
  --bg-2: #15110d;
  --brown: #241b14;
  --brown-2: #2f241b;
  --gold: #c9a35b;
  --gold-2: #e2c483;
  --text: #f3ece2;
  --muted: #a89a88;
  --line: rgba(201, 163, 91, .22);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius: 6px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 12vw, 140px) 0; }

/* Grão sutil por cima de tudo, dá textura "premium" */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .05;
  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='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.12; letter-spacing: -.01em;
  margin-bottom: 22px;
}
.section__head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section__head .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--gold); }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: var(--radius);
  font-family: var(--sans); font-size: .92rem; font-weight: 500; letter-spacing: .02em;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--gold { background: var(--gold); color: #1a130c; }
.btn--gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(201,163,91,.6); }
.btn--gold:hover::before { transform: translateX(120%); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); background: rgba(13,11,9,.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn--sm { padding: 11px 22px; font-size: .85rem; }
.btn--lg { padding: 20px 40px; font-size: 1rem; }

/* ---------- Barra de progresso ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: height .4s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  height: 68px; background: rgba(13,11,9,.82); backdrop-filter: blur(14px);
  border-color: var(--line);
}
.header__inner { display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em;
}
.logo__text { font-family: var(--serif); font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { position: relative; font-size: .9rem; color: var(--muted); transition: color .3s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: -12% 0 -12%; will-change: transform; }
.hero__bg .ph, .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.ph--hero {
  background:
    radial-gradient(ellipse 60% 55% at 78% 40%, rgba(201,163,91,.22), transparent 65%),
    radial-gradient(ellipse 40% 40% at 15% 85%, rgba(120,70,30,.35), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.015) 0 2px, transparent 2px 9px),
    linear-gradient(160deg, #1f1610 0%, #0d0b09 60%);
}
.ph--hero::before, .ph--hero::after { display: none; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,11,9,.94) 0%, rgba(13,11,9,.7) 45%, rgba(13,11,9,.25) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero__monogram {
  position: absolute; right: -2vw; top: 50%; translate: 0 -50%;
  font-family: var(--serif); font-weight: 700; font-size: clamp(14rem, 34vw, 32rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(201,163,91,.18);
  pointer-events: none; user-select: none;
}
.hero__content { position: relative; padding-top: var(--header-h); max-width: 1180px; }
.rating-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; margin-bottom: 30px;
  border: 1px solid var(--line); border-radius: 100px; background: rgba(13,11,9,.5); backdrop-filter: blur(8px);
  font-size: .85rem; color: var(--muted); transition: border-color .3s;
}
.rating-pill strong { color: var(--text); font-weight: 600; }
.rating-pill:hover { border-color: var(--gold); }
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: 1.04; letter-spacing: -.02em;
  margin-bottom: 28px; max-width: 13ch;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold-2); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(110%); transition: transform 1.1s var(--ease); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .15s; }
.loaded .hero__title .line > span { transform: none; }
.hero__text { max-width: 520px; font-size: 1.08rem; color: #cfc3b3; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 34px; translate: -50% 0;
  width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 20px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--gold); border-radius: 2px; animation: wheel 2s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Faixa animada ---------- */
.marquee {
  border-block: 1px solid var(--line); background: var(--bg-2);
  overflow: hidden; padding: 22px 0; white-space: nowrap;
}
.marquee__track { display: inline-flex; align-items: center; gap: 36px; animation: marquee 32s linear infinite; }
.marquee span {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-style: italic;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
}
.marquee span:nth-of-type(even) { color: var(--gold); -webkit-text-stroke: 0; }
.marquee i { color: var(--gold); font-style: normal; font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Números ---------- */
.stats { padding: 70px 0; background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { text-align: center; padding: 10px 20px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong {
  display: block; font-family: var(--serif); font-weight: 600; color: var(--gold-2);
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1;
}
.stat strong small { font-size: .5em; margin-left: 4px; vertical-align: .6em; }
.stat > span { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Espaços para foto (placeholder) ----------
   Quando a foto existe, ela cobre o placeholder.
   Quando não existe, aparece este fundo elegante.     */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201,163,91,.18), transparent 60%),
    repeating-linear-gradient(135deg, rgba(201,163,91,.05) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, var(--brown-2), var(--brown));
}
.ph::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; translate: -50% -70%;
  background: var(--gold); opacity: .5;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 7.5a3.5 3.5 0 1 0-1.2 1.6L11 12l-2.6 2.9a3.5 3.5 0 1 0 1.2 1.6L12 13.6l7.3 8.1H22L13.3 12 22 2.3h-2.7L12 10.4ZM6.5 8a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0 11a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 7.5a3.5 3.5 0 1 0-1.2 1.6L11 12l-2.6 2.9a3.5 3.5 0 1 0 1.2 1.6L12 13.6l7.3 8.1H22L13.3 12 22 2.3h-2.7L12 10.4ZM6.5 8a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0 11a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ph::after {
  content: attr(data-label); position: absolute; left: 0; right: 0; top: 50%; margin-top: 22px; text-align: center;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(226,196,131,.6);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 1.2s var(--ease); }
.ph--tall { aspect-ratio: 4 / 5; }
.ph--card { aspect-ratio: 4 / 3; border-radius: 0; }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; }
.about__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--line); border-radius: var(--radius); z-index: -1;
}
.about__badge {
  position: absolute; right: -28px; bottom: 48px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; padding: 22px 28px;
  background: var(--gold); color: #1a130c; border-radius: var(--radius);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.8);
}
.about__badge strong { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.about__badge span { letter-spacing: 2px; font-size: .85rem; }
.about__badge small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.about__text p { color: #cfc3b3; margin-bottom: 18px; font-size: 1.04rem; }
.checks { margin-top: 30px; display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 14px; }
.checks li::before {
  content: "✓"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); font-size: .75rem;
}

/* ---------- Experiência ---------- */
.experience { background: linear-gradient(180deg, var(--bg) 0%, var(--brown) 100%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px -25px rgba(0,0,0,.9); border-color: var(--gold); }
.card:hover .ph img { transform: scale(1.07); }
.card__body { padding: 30px 30px 34px; }
.card__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: .95rem; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 6px 0 10px; }
.card p { color: var(--muted); font-size: .95rem; }
.card--gold .card__body { background: var(--gold); color: #1a130c; }
.card--gold .card__num { color: #5a3f16; }
.card--gold p { color: #3d2c14; }

/* ---------- Serviços ---------- */
.services { background: var(--brown); }
.services__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.services__intro { position: sticky; top: 120px; }
.services__intro p { color: var(--muted); margin-bottom: 32px; }
.menu { display: grid; }
.menu__item {
  display: flex; align-items: flex-end; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease);
}
.menu__item:first-child { border-top: 1px solid var(--line); }
.menu__item:hover { padding-left: 14px; }
.menu__item h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.3; }
.menu__item p { color: var(--muted); font-size: .9rem; }
.menu__dots { flex: 1; border-bottom: 1px dotted rgba(201,163,91,.4); margin-bottom: 8px; min-width: 20px; }
.price { color: var(--gold-2); font-family: var(--serif); font-weight: 600; font-size: 1.35rem; white-space: nowrap; transition: color .3s; }
.price small { font-family: var(--sans); font-weight: 400; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
a.price { font-family: var(--sans); font-size: .92rem; font-weight: 500; color: var(--gold); }
a.price:hover { color: var(--gold-2); }

/* Logo oficial, convertido para dourado com fundo transparente (fotos/logo.png) */
.logo__img { height: 54px; width: auto; }
.logo__img--lg { height: 80px; }
.logo__img ~ .logo__mark, .logo__img ~ .logo__text { display: none; }
.header.scrolled .logo__img { height: 44px; }
.footer .logo__img { height: 80px; }
.logo__img { transition: height .4s var(--ease); }
/* Foto do topo espelhada para o barbeiro ficar do lado direito, longe do texto */
.hero__bg img { object-position: 50% 30%; transform: scaleX(-1); }
@media (max-width: 600px) {
  .hero__bg img { object-position: 30% 30%; }
  /* no celular o texto fica por cima da foto inteira: escurece mais para ler bem */
  .hero__overlay { background: linear-gradient(180deg, rgba(13,11,9,.55) 0%, rgba(13,11,9,.78) 45%, var(--bg) 100%); }
}
.price:hover { color: var(--gold-2); }
.tag {
  display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 10px; border-radius: 100px;
  background: var(--gold); color: #1a130c; font-family: var(--sans); font-size: .65rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- Equipe ---------- */
.team__grid { display: flex; justify-content: center; gap: clamp(40px, 8vw, 110px); flex-wrap: wrap; }
.barber { text-align: center; }
.ph--round {
  width: 190px; height: 190px; border-radius: 50%; margin: 0 auto 22px;
  outline: 1px solid var(--line); outline-offset: 10px; transition: outline-offset .5s var(--ease), outline-color .4s;
}
.ph--round::before { display: none; }
.ph--round::after {
  top: 0; bottom: 0; margin: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 4.2rem; letter-spacing: 0; text-transform: none; color: var(--gold);
}
.barber:hover .ph--round { outline-offset: 4px; outline-color: var(--gold); }
.barber h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.barber p { color: var(--muted); font-size: .9rem; font-style: italic; }

/* ---------- Avaliações ---------- */
.reviews { background: var(--bg-2); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 60px; flex-wrap: wrap; }
.reviews__head .title { margin: 0; max-width: 14ch; }
.reviews__score { display: flex; align-items: center; gap: 18px; }
.reviews__score strong { font-family: var(--serif); font-size: 4.4rem; line-height: 1; color: var(--gold-2); }
.reviews__score .stars { display: block; font-size: 1.2rem; }
.reviews__score small { color: var(--muted); font-size: .85rem; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote {
  position: relative; padding: 38px 32px 32px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(47,36,27,.5), transparent);
  transition: transform .5s var(--ease), border-color .4s;
}
.quote:hover { transform: translateY(-6px); border-color: var(--gold); }
.quote::before {
  content: "“"; position: absolute; right: 24px; top: -8px;
  font-family: var(--serif); font-size: 6rem; line-height: 1; color: rgba(201,163,91,.2);
}
.quote p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.6; margin: 14px 0 20px; }
.quote cite { font-style: normal; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* ---------- Galeria ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery__grid figure { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__grid figure:hover img { transform: scale(1.08); }

/* ---------- Chamada final ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(90px, 14vw, 160px) 0; text-align: center; background: var(--bg); }
.cta__glow {
  position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -50%;
  background: radial-gradient(circle, rgba(201,163,91,.2), transparent 60%);
}
.cta__inner { position: relative; }
.cta h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.08; margin-bottom: 18px; }
.cta p { color: var(--muted); font-size: 1.1rem; margin-bottom: 40px; }

/* ---------- Contato ---------- */
.contact { background: var(--brown); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.info { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info svg { flex: none; width: 22px; height: 22px; fill: var(--gold); margin-top: 3px; }
.info strong { display: block; font-weight: 500; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.info span { color: #d6cabb; }
.info a:hover { color: var(--gold-2); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--line); background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) sepia(.35) hue-rotate(-12deg) contrast(.9); }

/* ---------- Rodapé ---------- */
.footer { padding: 40px 0 110px; border-top: 1px solid var(--line); background: var(--bg); }
@media (min-width: 601px) { .footer { padding-bottom: 40px; } .footer__inner { padding-right: 80px; } }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: .85rem; }
.to-top {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--gold); transition: background .3s, color .3s, transform .4s var(--ease);
}
.to-top:hover { background: var(--gold); color: #1a130c; transform: translateY(-4px); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; box-shadow: 0 12px 30px -8px rgba(37,211,102,.55);
  transform: scale(0); transition: transform .5s var(--ease);
}
.wa-float.show { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* =========================================================
   ANIMAÇÕES DE ROLAGEM
   Elementos com data-reveal aparecem quando entram na tela.
   --d controla o atraso (efeito cascata).
   ========================================================= */
.js [data-reveal] {
  opacity: 0; transform: translateY(46px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(.88); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Revelação "cortina" das fotos */
.js .about__media .ph, .js .card .ph {
  clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease) calc(var(--d, 0s) + .1s);
}
.js .in .ph, .js .in.ph, .js [data-reveal].in .ph { clip-path: inset(0 0 0 0); }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    background: rgba(13,11,9,.97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav a { font-family: var(--serif); font-size: 2rem; color: var(--text); }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .header__cta { margin-left: auto; }
  .burger {
    display: grid; gap: 7px; width: 44px; height: 44px; place-content: center;
    background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  }
  .burger span { display: block; width: 18px; height: 1.5px; background: var(--gold); transition: transform .4s var(--ease); }
  .menu-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .menu-open { overflow: hidden; }
  .menu-open .header { backdrop-filter: none; background: transparent; border-color: transparent; }

  .about__grid, .services__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .about__badge { right: -8px; }
  .services__intro { position: static; }
  .cards, .quotes { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .header__inner { gap: 12px; }
  .container { width: min(1180px, 100% - 36px); }
  .logo__text { display: none; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats__grid { grid-template-columns: 1fr; gap: 26px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .menu__item { flex-wrap: wrap; }
  .menu__item:hover { padding-left: 0; }
  .menu__dots { display: none; }
  .menu__item > div { flex: 1 1 100%; }
  .footer__inner { justify-content: center; text-align: center; }
  .scroll-hint { display: none; }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero__title .line > span { opacity: 1; transform: none; }
  .js .about__media .ph, .js .card .ph { clip-path: none; }
  html { scroll-behavior: auto; }
}
