/* ==========================================================================
   Barba Man Barbearia e Cia — Design System v2
   Preto fosco como base, dourado só como acento, texto em branco.
   Tipografia: Clarendon URW Extra Wide Extra Bold nos títulos, Inter no corpo.
   ========================================================================== */

/* Fonte de destaque — coloque o arquivo em assets/fonts/ com um destes nomes. */
@font-face {
  font-family: "Clarendon URW";
  src: url("../assets/fonts/ClarendonURW-ExtraWideExtraBold.woff2") format("woff2"),
       url("../assets/fonts/ClarendonURW-ExtraWideExtraBold.woff") format("woff"),
       url("../assets/fonts/ClarendonURW-ExtraWideExtraBold.ttf") format("truetype"),
       url("../assets/fonts/ClarendonURW-ExtraWideExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --c-black: #0d0d0e;
  --c-black-soft: #141416;
  --c-panel: #1a1a1d;
  --c-navy: #16171b;
  --c-panel-navy: #1e1f24;

  --c-gold: #EEAB21;
  --c-gold-light: #F6C24A;
  --c-gold-deep: #A2720F;

  --c-white: #f5f4f2;
  /* Texto secundário agora BRANCO (antes era cinza claro #a7a4a0) para leitura. */
  --c-muted: #f5f4f2;

  --font-display: "Clarendon URW", "Rockwell", "Roboto Slab", Georgia, serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --reveal-transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: clip elimina a barra horizontal SEM criar contêiner de rolagem,
   então o .location-map com position:sticky continua funcionando no desktop. */
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body, h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

body {
  background-color: var(--c-black);
  /* Textura escura como fundo majoritário do site (fixa). */
  background-image:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(48, 48, 54, 0.35) 0%, transparent 60%),
    url("../assets/img/bg-texture.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; flex-shrink: 0; color: var(--c-white); }
.icon-lg { width: 32px; height: 32px; color: var(--c-gold); }
.icon-xl { width: 38px; height: 38px; color: var(--c-gold); }
.icon-whatsapp { object-fit: contain; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.01em; color: var(--c-white); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--c-gold);
  margin-bottom: 8px;
}

.section-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.25; margin-bottom: 14px; }
.section-intro { max-width: 620px; color: var(--c-muted); font-size: 1.02rem; }
.section-head { max-width: 720px; margin-bottom: 44px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

.btn-primary {
  color: #17110a;
  background-color: transparent;
  /* Camada branca (onda) por cima do dourado — cresce de baixo pra cima no hover. */
  background-image:
    linear-gradient(#f5f4f2, #f5f4f2),
    linear-gradient(135deg, var(--c-gold-light), var(--c-gold) 60%, var(--c-gold-deep));
  background-repeat: no-repeat;
  background-size: 100% 0%, 100% 100%;
  background-position: left bottom, center;
  box-shadow: 0 8px 22px rgba(238, 171, 33, 0.25);
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition), background-size 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary .icon { color: #17110a; transition: color var(--transition); }
.btn-outline {
  border: 1.5px solid rgba(245, 244, 242, 0.28);
  color: var(--c-white);
}
.btn-outline .icon { transition: color var(--transition); }

/* ==========================================================================
   Preloader — logo girando rapidamente (~0.9s) antes do site aparecer.
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-black);
  perspective: 900px;
  transition: opacity 0.4s ease;
}
.preloader.is-hidden { opacity: 0; pointer-events: none; }
.preloader-logo {
  width: min(150px, 38vw);
  height: auto;
  animation: preloader-spin 0.9s cubic-bezier(0.45, 0, 0.55, 1);
}
@keyframes preloader-spin {
  0% { transform: rotateY(0deg); opacity: 0.5; }
  50% { transform: rotateY(180deg); opacity: 1; }
  100% { transform: rotateY(360deg); opacity: 1; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 24px 0;
}
.site-header.is-scrolled {
  background: rgba(13, 13, 14, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 14px 0;
  border-bottom: 1px solid rgba(238, 171, 33, 0.15);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { height: 64px; width: auto; transition: height var(--transition); }
.site-header.is-scrolled .brand-logo { height: 52px; }

.main-nav ul { display: flex; gap: 30px; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--c-white); position: relative; padding: 4px 0; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--c-gold); transition: width var(--transition); }
.nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--c-gold-light); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; color: var(--c-white); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,14,0.55) 0%, rgba(13,13,14,0.75) 55%, rgba(13,13,14,0.95) 100%),
    linear-gradient(90deg, rgba(13,13,14,0.85) 0%, rgba(13,13,14,0.35) 55%, rgba(13,13,14,0.75) 100%);
}
.hero-inner { position: relative; max-width: 720px; padding-top: 90px; padding-bottom: 60px; }

.hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; margin: 14px 0 20px; }
.hero-title span { color: var(--c-gold); }
.hero-subtitle { max-width: 560px; color: var(--c-muted); font-size: 1.08rem; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   Seções gerais
   ========================================================================== */
.section { padding: 100px 0; position: relative; }
/* Fundo das seções transparente para a textura fixa do body aparecer em todo o site. */
.section-navy { background: transparent; }
.section-black { background: transparent; }

/* ---------- Estrutura / Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-wide { grid-column: span 2; grid-row: span 2; }

.gallery-cta { margin-top: 40px; text-align: center; }

/* ---------- Profissionais ----------
   Grade estática enquanto os 4 cartões couberem confortavelmente (sem scroll,
   sem recalcular padding em %, então não há salto de layout no carregamento).
   Só vira carrossel por toque quando o espaço realmente não é suficiente. */
.team-carousel-wrap { padding: 0 24px; }
.team-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.team-card {
  position: relative;
  text-align: center;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 30px 60px -18px rgba(0, 0, 0, 0.75),
    inset 0 1px 1px rgba(255, 255, 255, 0.14),
    inset 0 -1px 1px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.team-photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--c-panel); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 0.6s ease; }

.team-name { font-size: 1.2rem; margin-top: 20px; color: var(--c-gold); }
.team-role { color: var(--c-muted); font-size: 0.85rem; margin: 6px 0 22px; }

/* ---------- Quem Somos ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.about-text p { color: var(--c-muted); margin-bottom: 18px; font-size: 1.02rem; }
.about-text strong { color: var(--c-gold); }
.about-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 2 / 3; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.amenities { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.amenity {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
  font-size: 0.9rem; color: var(--c-white);
  transition: border-color var(--transition), color var(--transition);
}
.amenity .icon { width: 18px; height: 18px; }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow:
    0 30px 60px -18px rgba(0, 0, 0, 0.75),
    inset 0 1px 1px rgba(255, 255, 255, 0.14),
    inset 0 -1px 1px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
/* Reflexo "liquid glass" no topo dos cards (igual ao .glass-highlight de referência). */
.team-card::before,
.review-card::before,
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
}
/* Conteúdo do card acima do reflexo de vidro (senão o véu branco "apaga" os ícones/textos). */
.service-card > * { position: relative; z-index: 2; }

.service-card h3 { font-size: 1.3rem; margin: 14px 0 8px; }
.service-card p { color: var(--c-muted); font-size: 0.92rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; padding-top: 14px; font-size: 0.85rem; font-weight: 600; color: var(--c-gold-light);
}
.service-link .icon { width: 14px; height: 14px; transition: transform var(--transition); }

/* ---------- Produtos ---------- */
.products-head { margin-bottom: 50px; }
.products-cta-line {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--c-gold-light);
  border-bottom: 1px solid rgba(238, 171, 33, 0.4);
  padding-bottom: 3px;
  transition: color var(--transition), border-color var(--transition);
}

.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.products-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.products-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-list { display: flex; flex-direction: column; gap: 12px; }
.product-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow:
    0 20px 40px -18px rgba(0, 0, 0, 0.7),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
}
.product-name { font-weight: 500; }
.product-buy {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: var(--c-black);
  background: var(--c-gold-light);
  padding: 8px 16px; border-radius: 999px;
  transition: background var(--transition), transform var(--transition);
}
.product-buy .icon { width: 15px; height: 15px; color: var(--c-black); }

/* ---------- Avaliações (Google) ---------- */
.stars { display: inline-flex; align-items: center; gap: 3px; }
.stars .icon { width: 16px; height: 16px; color: var(--c-gold); stroke: none; }

/* Cabeçalho da seção centralizado (só aqui — as demais seções seguem alinhadas à esquerda). */
.reviews-head { margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 34px; }
.reviews-head .section-intro { margin-left: auto; margin-right: auto; }

/* Nota média sem card: só o número, as estrelas e a legenda, centralizados. */
.reviews-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
  text-align: center;
}
.reviews-score-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 7vw, 4.4rem); line-height: 1; color: var(--c-gold); }
.stars-lg .icon { width: 22px; height: 22px; }
.reviews-score-label { font-size: 0.84rem; color: var(--c-muted); }

/* Flex centralizado em vez de grid: quando um card sobra na quebra (tablet),
   ele fica centralizado em vez de encostar na esquerda. */
.reviews-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px; }
.review-card {
  flex: 1 1 300px;
  max-width: 460px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  box-shadow:
    0 30px 60px -18px rgba(0, 0, 0, 0.75),
    inset 0 1px 1px rgba(255, 255, 255, 0.14),
    inset 0 -1px 1px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.review-card > * { position: relative; z-index: 2; }

/* Aspas decorativas centralizadas no topo do card. */
.review-quote {
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  stroke: none;
  color: var(--c-gold);
  opacity: 0.4;
}
.review-text { color: var(--c-muted); font-size: 0.95rem; margin: 16px 0 26px; }

.review-author { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: auto; }
.review-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #17110a;
  background-image: linear-gradient(135deg, var(--c-gold-light), var(--c-gold) 60%, var(--c-gold-deep));
}
.review-author-meta { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.review-name { font-weight: 600; font-size: 0.94rem; }
.review-source { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--c-muted); opacity: 0.75; }
.review-source .icon { width: 13px; height: 13px; stroke: none; }

.reviews-cta { margin-top: 40px; text-align: center; }

/* ---------- Localização ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.location-list { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 18px; }
.location-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--c-muted); }
.location-list .icon { color: var(--c-gold); margin-top: 3px; }
.location-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(238, 171, 33, 0.25);
  position: sticky;
  top: 100px;
  background: var(--c-panel);
}
.location-map iframe {
  width: 100%;
  height: 480px;
  border: 0;
  /* Mapa no tema claro padrão do Google Maps (sem filtro de inversão). */
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer { background: var(--c-black-soft); border-top: 1px solid rgba(238, 171, 33, 0.15); padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-logo { height: 44px; width: auto; }
.footer-social { display: flex; align-items: center; gap: 20px; }
.footer-social .icon { width: 22px; height: 22px; color: var(--c-white); transition: color var(--transition), transform var(--transition); }

.icon-swap { position: relative; display: inline-block; width: 22px; height: 22px; transition: transform var(--transition); }
.icon-swap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity var(--transition); }
.icon-swap .icon-hover { opacity: 0; }
.footer-copy { color: var(--c-muted); font-size: 0.8rem; }

/* ---------- Barra institucional (crédito da agência) ---------- */
.credit-bar { background: var(--c-black); border-top: 1px solid rgba(245, 244, 242, 0.06); padding: 16px 0; }
.credit-inner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.credit-text { color: var(--c-muted); font-size: 0.78rem; }
.credit-link { display: inline-flex; align-items: center; transition: opacity var(--transition), transform var(--transition); opacity: 0.85; }
.credit-logo { height: 16px; width: auto; }

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 22px rgba(37, 211, 102, 0.35);
  opacity: 0;
  transform: translateY(18px) scale(0.88);
  pointer-events: none;
  transition: opacity var(--reveal-transition), transform var(--reveal-transition), box-shadow var(--transition);
}
.whatsapp-float .icon { width: 28px; height: 28px; color: #17110a; }
.whatsapp-float.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* ==========================================================================
   Scroll reveal — fade + deslocamento sutil por direção, sem biblioteca externa.
   Anima só opacity/transform (propriedades de composição, leves para o navegador).
   ========================================================================== */
[data-reveal] { opacity: 0; transition: opacity var(--reveal-transition), transform var(--reveal-transition); }
[data-reveal="up"] { transform: translateY(26px); }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-visible { opacity: 1; transform: translate(0, 0); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 16 / 9; }
  .products-grid { grid-template-columns: 1fr; }
  .products-photo { aspect-ratio: 16 / 9; }
  .location-grid { grid-template-columns: 1fr; }
  .location-map { position: static; }
  .gallery-grid { grid-auto-rows: 180px; }
  .team-carousel { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(320px, 82vw); height: 100vh;
    background: var(--c-navy);
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 24px; }
  .nav-link { font-size: 1.1rem; }
  .nav-toggle { display: block; z-index: 110; }
  .header-cta { display: none; }
  .nav-cta-mobile {
    display: block;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(238, 171, 33, 0.2);
  }
  .nav-cta-mobile .btn { width: 100%; justify-content: center; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-wide { grid-column: span 2; grid-row: span 1; }
  /* Hero no mobile: seção inteira centralizada, texto compacto e botões menores. */
  .hero { min-height: 90vh; }
  .hero-bg { object-position: center; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(13,13,14,0.55) 0%, rgba(13,13,14,0.72) 55%, rgba(13,13,14,0.96) 100%);
  }
  .hero-inner { padding-top: 80px; padding-bottom: 40px; max-width: 440px; margin: 0 auto; text-align: center; }
  .hero-title { font-size: clamp(2rem, 8.5vw, 2.7rem); line-height: 1.12; }
  .hero-subtitle { font-size: 0.96rem; max-width: 300px; margin: 0 auto 26px; }
  .hero-actions { flex-direction: column; align-items: center; width: auto; gap: 12px; }
  .hero-actions .btn { width: auto; justify-content: center; padding: 10px 20px; font-size: 0.84rem; }
  .location-actions { flex-direction: column; }
  .location-actions .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .review-card { flex-basis: 100%; }
  .reviews-score { margin-bottom: 34px; }
  .reviews-cta .btn { width: 100%; justify-content: center; }
  .amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .amenity { padding: 12px 10px; font-size: 0.82rem; justify-content: center; }
  .amenity:last-child { grid-column: 1 / -1; }
  .team-carousel-wrap { padding: 0; }
  .team-carousel {
    display: flex;
    grid-template-columns: unset;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    padding: 6px 24px 10px;
    scrollbar-width: none;
  }
  .team-carousel::-webkit-scrollbar { display: none; }
  .team-card { flex: 0 0 78%; scroll-snap-align: start; }
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .product-list li { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ==========================================================================
   Página de Galeria (galeria.html)
   ========================================================================== */
.gallery-page { padding-top: 130px; }
.gallery-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-gold); font-weight: 600; font-size: 0.9rem;
  margin-bottom: 22px;
  transition: gap var(--transition), color var(--transition);
}

.photos-masonry {
  columns: 3 300px;
  column-gap: 18px;
  margin-top: 10px;
}
.photo-tile {
  break-inside: avoid;
  margin: 0 0 18px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.8);
}
.photo-tile img { width: 100%; display: block; transition: transform 0.6s ease; }
.photo-tile::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}

/* Lightbox (visualização em tela cheia) */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(8, 8, 9, 0.93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.lightbox-btn {
  position: absolute;
  width: 52px; height: 52px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; line-height: 1;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .photos-masonry { columns: 2 150px; column-gap: 12px; }
  .photo-tile { margin-bottom: 12px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-btn { width: 46px; height: 46px; }
}

/* ==========================================================================
   Loja — prévia na home
   ========================================================================== */
.products-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.product-mini {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.8);
  transition: transform var(--transition), border-color var(--transition);
}
.product-mini-img { aspect-ratio: 1 / 1; overflow: hidden; }
.product-mini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-mini-name { display: block; text-align: center; padding: 12px 8px 16px; font-weight: 500; font-size: 0.9rem; color: var(--c-white); }
.products-cta-wrap { text-align: center; }
.btn-store .icon { width: 18px; height: 18px; }

/* ==========================================================================
   Página da Loja (loja.html)
   ========================================================================== */
.store-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.store-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.store-banner-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,14,0.7) 0%, rgba(13,13,14,0.55) 45%, rgba(13,13,14,0.96) 100%);
}
.store-banner-inner { position: relative; padding: 130px 24px 60px; max-width: 720px; }
.store-banner .eyebrow { justify-content: center; }
.store-banner h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; margin: 12px 0 14px; }
.store-banner p { color: var(--c-white); font-size: 1.05rem; }

.store-section { padding: 70px 0 100px; }
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.store-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 56px -22px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  transition: transform var(--transition), border-color var(--transition);
}
.store-card-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--c-panel); }
.store-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.store-card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.store-card-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--c-white); }
.store-card-desc { color: var(--c-white); font-size: 0.86rem; line-height: 1.5; }
.store-card-price { color: var(--c-gold); font-weight: 600; font-size: 0.95rem; margin-top: 2px; }
.store-card-actions { display: flex; flex-direction: row; align-items: center; gap: 10px; margin-top: 14px; }
.btn-buy-white {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 700; color: #14140f;
  background: #f5f4f2;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-cart-round {
  flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-gold);
  background-color: rgba(238, 171, 33, 0.10);
  background-image: linear-gradient(#f5f4f2, #f5f4f2);
  background-repeat: no-repeat;
  background-size: 100% 0%;
  background-position: left bottom;
  border: 1px solid rgba(238, 171, 33, 0.55);
  transition: background-size 0.4s cubic-bezier(0.4, 0, 0.2, 1), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-cart-round .icon { width: 20px; height: 20px; color: currentColor; }
.btn-cart-round.is-added { background: var(--c-gold); background-image: none; color: var(--c-black); transform: scale(1.12); }

/* ---------- Botão do carrinho no cabeçalho ---------- */
.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), color var(--transition);
}
.cart-btn .icon { width: 20px; height: 20px; }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px;
  background: var(--c-gold); color: var(--c-black);
  font-size: 0.72rem; font-weight: 700;
  display: none; align-items: center; justify-content: center;
}
.cart-badge.is-visible { display: flex; }

/* ---------- Drawer do carrinho ---------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(8, 8, 9, 0.6);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 1600;
  width: min(400px, 90vw); height: 100vh;
  display: flex; flex-direction: column;
  background: rgba(20, 20, 22, 0.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform var(--transition);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 22px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cart-head h2 { font-size: 1.3rem; }
.cart-close {
  width: 40px; height: 40px; border-radius: 999px; font-size: 1.5rem; color: var(--c-white);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background var(--transition), color var(--transition);
}
.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { color: var(--c-white); text-align: center; margin-top: 40px; font-size: 0.95rem; }
.cart-item { display: flex; gap: 12px; align-items: center; }
.cart-item-img { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--c-panel); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 500; font-size: 0.9rem; }
.cart-qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-qty button {
  width: 24px; height: 24px; border-radius: 6px; color: var(--c-white); font-size: 1rem; line-height: 1;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background var(--transition);
}
.cart-qty span { min-width: 20px; text-align: center; font-size: 0.9rem; }
.cart-item-remove { color: var(--c-muted); font-size: 0.78rem; text-decoration: underline; background: none; }
.cart-foot { padding: 18px 22px 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.cart-checkout {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px; border-radius: 999px;
  font-weight: 700; color: #fff;
  background: #25d366;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cart-checkout[disabled] { opacity: 0.5; pointer-events: none; }
.cart-checkout .icon-whatsapp { width: 18px; height: 18px; object-fit: contain; }

@media (max-width: 720px) {
  /* Mobile: mostra só 2 produtos na prévia e afasta o botão "Ver loja" para baixo. */
  .products-preview { grid-template-columns: repeat(2, 1fr); margin-bottom: 34px; }
  .products-preview .product-mini:nth-child(n+3) { display: none; }
  .products-cta-wrap { margin-top: 14px; }
}

/* Catálogo (loja.html) no mobile: 2 produtos por linha.
   Colocado no fim do arquivo para vencer a regra base .store-grid (auto-fill). */
@media (max-width: 640px) {
  .store-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .store-card-body { padding: 14px 12px 16px; gap: 5px; }
  .store-card-name { font-size: 1rem; }
  .store-card-desc { font-size: 0.8rem; }
  .store-card-actions { gap: 8px; }
  .btn-buy-white { padding: 10px 10px; font-size: 0.8rem; }
  .btn-cart-round { width: 40px; height: 40px; }
}

/* ==========================================================================
   Quem Somos — fotos nos cantos, inclinadas, sobrepondo o texto (só a foto).
   Superior-direito e inferior-esquerdo, no desktop e no mobile.
   ========================================================================== */
.about-section { position: relative; }
.about-section .about-grid { grid-template-columns: 1fr; }
.about-section .about-text { max-width: 680px; margin: 0 auto; }
/* Contém o float da foto do dono atual dentro do texto. */
.about-section .about-text::after { content: ""; display: block; clear: both; }

/* Ambas as fotos usam o MESMO frame (mesma largura, altura e proporção). */
.about-float {
  width: 150px;                 /* mobile */
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.85);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-float img { width: 100%; height: 180px; object-fit: cover; display: block; }
/* Fundador: enquadra pelo topo para não cortar o cabelo. */
.about-float-top img { object-position: center 12%; }

/* Fundador — flutua à direita; o texto contorna pela esquerda. */
.about-float-top {
  float: right;
  margin: 4px 0 10px 18px;
  transform: rotate(4deg);
}

/* Dono atual — logo abaixo, à esquerda; o parágrafo de baixo contorna pela direita. */
.about-float-bottom {
  float: left;
  clear: both;
  margin: 8px 18px 8px 0;
  transform: rotate(-3deg);
}

@media (min-width: 1024px) {
  .about-float { width: 220px; }
  .about-float img { height: 250px; }
  .about-float-top { margin: 6px 0 14px 30px; }
  .about-float-bottom { margin: 14px 30px 14px 0; }
  @media (hover: hover) and (pointer: fine) {
    .about-float:hover { transform: translateY(-4px) rotate(0deg); }
  }
}

/* ==========================================================================
   Estados de :hover — SOMENTE em dispositivos com mouse real.

   Em telas de toque o navegador nao tem cursor, entao ele simula o :hover no
   primeiro toque e so ativa o link/botao no segundo. Resultado: o usuario
   precisava tocar duas vezes nos botoes no celular.

   @media (hover: hover) and (pointer: fine) faz estas regras existirem
   apenas onde ha mouse. No celular elas simplesmente nao entram, e o
   primeiro toque ja aciona o botao.
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(238, 171, 33, 0.38);
    color: #111;
    background-size: 100% 100%, 100% 100%;
  }
  .btn-primary:hover .icon { color: #111; }
  .btn-outline:hover { border-color: var(--c-gold); color: var(--c-gold-light); transform: translateY(-2px); }
  .btn-outline:hover .icon { color: var(--c-gold); }
  .nav-link:hover::after { width: 100%; }
  .nav-link:hover { color: var(--c-gold-light); }
  .gallery-item:hover img { transform: scale(1.06); }
  .team-card:hover { transform: translateY(-6px); border-color: rgba(238, 171, 33, 0.5); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4); }
  .team-card:hover .team-photo img { transform: scale(1.05); }
  .amenity:hover { border-color: var(--c-gold); color: var(--c-gold-light); }
  .service-card:hover { transform: translateY(-6px); border-color: rgba(238, 171, 33, 0.45); box-shadow: 0 16px 32px rgba(0,0,0,0.4); }
  .service-link:hover .icon { transform: translateX(3px); }
  .products-cta-line:hover { color: var(--c-gold); border-color: var(--c-gold); }
  .product-buy:hover { background: var(--c-gold); transform: translateY(-1px); }
  .review-card:hover { transform: translateY(-6px); border-color: rgba(238, 171, 33, 0.45); box-shadow: 0 16px 32px rgba(0,0,0,0.4); }
  .location-list a:hover { color: var(--c-gold-light); }
  .footer-social a:hover .icon { color: var(--c-gold); transform: translateY(-2px); }
  .footer-social a:hover .icon-swap { transform: translateY(-2px); }
  .footer-social a:hover .icon-swap .icon-base { opacity: 0; }
  .footer-social a:hover .icon-swap .icon-hover { opacity: 1; }
  .credit-link:hover { opacity: 1; transform: scale(1.04); }
  .gallery-back:hover { gap: 12px; color: var(--c-gold-light); }
  .photo-tile:hover img { transform: scale(1.05); }
  .lightbox-btn:hover { background: var(--c-gold); color: var(--c-black); border-color: var(--c-gold); }
  .product-mini:hover { transform: translateY(-6px); border-color: rgba(238, 171, 33, 0.5); }
  .product-mini:hover .product-mini-img img { transform: scale(1.06); }
  .store-card:hover { transform: translateY(-6px); border-color: rgba(238, 171, 33, 0.5); }
  .store-card:hover .store-card-img img { transform: scale(1.06); }
  .btn-buy-white:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35); }
  .btn-cart-round:hover { color: #111; border-color: #f5f4f2; background-size: 100% 100%; transform: translateY(-2px); }
  .cart-btn:hover { border-color: var(--c-gold); color: var(--c-gold); }
  .cart-close:hover { background: var(--c-gold); color: var(--c-black); }
  .cart-qty button:hover { background: var(--c-gold); color: var(--c-black); }
  .cart-item-remove:hover { color: var(--c-gold); }
  .cart-checkout:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 211, 102, 0.32); }
  .whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 255, 255, 0.22);
  }
}

