/* ===== Tokens ===== */
:root {
  --preto: #0d0d0f;
  --grafite: #16161a;
  --grafite-2: #1f1f25;
  --carvao: #25252c;
  --vermelho: #d62828;
  --vermelho-vivo: #e63946;
  --bordo: #7a1620;
  --couro: #c0894e;
  --couro-claro: #dcae73;
  --creme: #e9dfca;
  --creme-2: #f4ecdc;
  --tinta: #221a13;
  --tinta-mut: #6a5b49;
  --off-white: #faf6ee;
  --texto: #ece6da;
  --texto-mut: #a9a39a;
  --linha: rgba(245, 239, 228, 0.10);
  --wa: #25d366;
  --wa-dark: #1eb455;

  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-disp: "Fraunces", Georgia, "Times New Roman", serif;
  --font-script: "Dancing Script", cursive;

  /* Costura / ponto-sela — assinatura visual */
  --stitch: repeating-linear-gradient(90deg, var(--couro) 0 12px, transparent 12px 22px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  background: var(--preto);
  color: var(--texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-whatsapp { background: var(--wa); color: #06301a; }
.btn-whatsapp:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.6); }

.btn-ghost { background: transparent; color: var(--texto); border: 1.5px solid var(--linha); }
.btn-ghost:hover { border-color: var(--vermelho-vivo); color: #fff; transform: translateY(-2px); }

.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn.full { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(13, 13, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
  transition: background 0.3s ease;
}
.site-header.scrolled { background: rgba(13, 13, 15, 0.92); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 70px;
}

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--vermelho), var(--bordo));
  color: #fff;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-script); font-size: 1.5rem; font-weight: 700; color: var(--vermelho-vivo); }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texto-mut); white-space: nowrap; }

.nav { display: flex; gap: 26px; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--texto-mut);
  position: relative;
  transition: color 0.18s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--vermelho-vivo);
  transition: width 0.22s ease;
}
.nav a:hover { color: var(--off-white); }
.nav a:hover::after { width: 100%; }

.header-cta { padding: 10px 18px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--linha);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--off-white); margin: 0 auto; transition: 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 64px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,15,0.5) 0%, rgba(13,13,15,0.55) 38%, rgba(13,13,15,0.9) 80%, var(--preto) 100%),
    linear-gradient(90deg, rgba(13,13,15,0.92) 0%, rgba(13,13,15,0.7) 38%, rgba(13,13,15,0.25) 70%, rgba(13,13,15,0.05) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--vermelho-vivo);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  flex: none;
  background-image: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 11px);
}

.hero h1 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}
.hero h1 em {
  color: var(--vermelho-vivo);
  font-style: normal;
  background-image: repeating-linear-gradient(90deg, var(--couro) 0 9px, transparent 9px 17px);
  background-size: 100% 3px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 8px;
}

.hero-lead {
  margin: 20px 0 30px;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  color: var(--texto);
  max-width: 560px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

.rating-badge {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--linha);
  padding: 10px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.stars { color: #f5b301; letter-spacing: 2px; font-size: 0.95rem; }
.stars.big { font-size: 1.4rem; }
.rating-text { font-size: 0.9rem; color: var(--texto); }
.rating-text strong { color: #fff; }

.open-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--linha);
  background: rgba(255,255,255,0.04);
}
.open-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--texto-mut); }
.open-badge.is-open .dot { background: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,0.18); }
.open-badge.is-open { color: #b8f3cf; }
.open-badge.is-closed .dot { background: var(--vermelho-vivo); }
.open-badge.is-closed { color: #f3b8b8; }

/* ===== Sections ===== */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-dark { background: var(--grafite); }
.section-reviews {
  background:
    radial-gradient(900px 360px at 50% -10%, rgba(214,40,40,0.13), transparent 70%),
    radial-gradient(700px 320px at 50% 120%, rgba(192,137,78,0.10), transparent 70%),
    var(--preto);
}

.section-head { max-width: 660px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: #fff;
  margin-top: 4px;
}
.section-head p { margin-top: 14px; color: var(--texto-mut); font-size: 1.05rem; }

/* ===== Serviços ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: linear-gradient(165deg, var(--grafite-2), var(--grafite));
  border: 1px solid var(--linha);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(192,137,78,0.5);
  box-shadow: var(--shadow);
}
.service-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 13px;
  background: rgba(192,137,78,0.14);
  color: var(--couro-claro);
  margin-bottom: 18px;
  transition: background 0.2s ease, color 0.2s ease;
}
.service-card:hover .service-icon { background: rgba(230,57,70,0.16); color: var(--vermelho-vivo); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.12rem; color: #fff; margin-bottom: 8px; }
.service-card p { color: var(--texto-mut); font-size: 0.95rem; }

.services-extra { text-align: center; margin-top: 36px; color: var(--texto-mut); }
.services-extra a { color: var(--couro-claro); font-weight: 600; border-bottom: 1px solid rgba(192,137,78,0.45); }
.services-extra a:hover { color: #fff; }

/* ===== Como funciona (faixa creme) ===== */
.section-cream { background: var(--creme); color: var(--tinta); }
.section-cream .section-head h2 { color: var(--tinta); }
.section-cream .section-head p { color: var(--tinta-mut); }
.section-cream .eyebrow { color: var(--bordo); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
/* linha encerada que costura os passos */
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 16%;
  right: 16%;
  height: 2px;
  z-index: 0;
  background-image: var(--stitch);
}
.step { position: relative; z-index: 1; }
.step-num {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--preto);
  color: var(--creme-2);
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--creme);
}
.step h3 {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: var(--tinta);
  margin-bottom: 8px;
}
.step p { color: var(--tinta-mut); font-size: 0.98rem; }

.steps-cta { text-align: center; margin-top: 46px; }

/* ===== Galeria Antes/Depois ===== */
.gallery {
  columns: 3;
  column-gap: 16px;
}
.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--linha);
  cursor: zoom-in;
  background: var(--preto);
}
.gallery-item img { width: 100%; height: auto; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::before {
  content: attr(data-tag);
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1;
  color: var(--bordo);
  background: var(--creme-2);
  padding: 7px 14px 5px;
  border-radius: 4px;
  transform: rotate(-3deg);
  box-shadow: 0 5px 14px rgba(0,0,0,0.4);
}
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 34px 16px 14px;
  font-size: 0.9rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

.gallery-cta { text-align: center; margin-top: 40px; }

/* ===== Reviews ===== */
.reviews-top { text-align: center; margin-bottom: 44px; }
.reviews-score { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.big-score { font-family: var(--font-disp); font-weight: 700; font-size: 3.4rem; color: #fff; line-height: 1; }
.reviews-count { color: var(--texto-mut); font-size: 0.92rem; }
.reviews-lead { margin-top: 16px; font-size: 1.15rem; color: var(--texto); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--linha);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.review-card .stars { font-size: 0.95rem; margin-bottom: 12px; }
.review-card p { color: var(--texto); font-size: 0.98rem; }
.review-card cite {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; font-style: normal;
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0;
  color: var(--couro-claro);
}
.review-card cite::before {
  content: ""; width: 22px; height: 2px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 11px);
}

.reviews-note { text-align: center; margin-top: 34px; }
.link-google { color: var(--vermelho-vivo); font-weight: 600; }
.link-google:hover { color: #fff; }

/* ===== Localização ===== */
.local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.local-photo { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--linha); margin-bottom: 26px; }

.info-list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-bottom: 26px; }
.info-list li { display: flex; gap: 14px; }
.info-ic {
  display: grid; place-items: center; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(230,57,70,0.12); color: var(--vermelho-vivo);
}
.info-ic svg { width: 21px; height: 21px; }
.info-list strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 3px; }
.info-list a { color: var(--vermelho-vivo); font-weight: 600; }
.info-list a:hover { color: #fff; }

.hours { border-collapse: collapse; width: 100%; max-width: 320px; margin-top: 4px; }
.hours th, .hours td { text-align: left; padding: 5px 0; font-weight: 400; font-size: 0.94rem; }
.hours th { color: var(--texto-mut); width: 52%; }
.hours td { color: var(--texto); text-align: right; }
.hours tr.today th, .hours tr.today td { color: #fff; font-weight: 600; }
.hours tr.today th::after { content: " · hoje"; color: var(--vermelho-vivo); font-size: 0.78rem; }

.local-map { display: flex; flex-direction: column; gap: 12px; }
.local-map iframe {
  width: 100%; flex: 1; min-height: 420px;
  border: 1px solid var(--linha); border-radius: var(--radius);
  filter: grayscale(0.25) contrast(1.05);
}
.map-link { color: var(--vermelho-vivo); font-weight: 600; font-size: 0.92rem; text-align: center; }
.map-link:hover { color: #fff; }

/* ===== Footer ===== */
.site-footer { background: var(--grafite); border-top: 1px solid var(--linha); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 30px;
  padding: 54px 22px 34px;
}
.footer-brand .brand-name { font-size: 1.7rem; }
.footer-brand p { color: var(--texto-mut); font-size: 0.92rem; margin-top: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--texto-mut); font-size: 0.95rem; }
.footer-links a:hover { color: var(--off-white); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { color: var(--vermelho-vivo); font-weight: 600; }
.footer-contact span { color: var(--texto-mut); font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid var(--linha);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  color: var(--texto-mut);
  font-size: 0.82rem;
}
.footer-credit {
  font-size: 0.76rem;
  opacity: 0.75;
}
.footer-credit a {
  color: var(--texto-mut);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-credit a:hover {
  color: var(--vermelho-vivo);
  border-bottom-color: var(--vermelho-vivo);
}

/* ===== FAB WhatsApp ===== */
.fab-whatsapp {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 45;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--wa); color: #06301a;
  border-radius: 50%;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,0.6);
  animation: fabPulse 2.6s infinite;
  transition: transform 0.2s ease;
}
.fab-whatsapp:hover { transform: scale(1.08); }
@keyframes fabPulse {
  0% { box-shadow: 0 10px 30px -6px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 10px 30px -6px rgba(37,211,102,0.6), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px -6px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,10,0.94);
  backdrop-filter: blur(6px);
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-fig { max-width: min(92vw, 900px); max-height: 88vh; display: flex; flex-direction: column; gap: 12px; }
.lightbox-fig img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 12px; margin: 0 auto; }
.lightbox-fig figcaption { text-align: center; color: var(--texto); font-size: 0.98rem; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  background: transparent; border: none; color: #fff;
  font-size: 2.4rem; line-height: 1; cursor: pointer; opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid var(--linha);
  color: #fff; width: 50px; height: 50px; border-radius: 50%;
  font-size: 1.8rem; cursor: pointer; display: grid; place-items: center;
  transition: background 0.2s ease;
}
.lightbox-nav:hover { background: var(--vermelho); }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .services-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .local-grid { grid-template-columns: 1fr; }
  .local-map iframe { min-height: 320px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; max-width: 460px; margin: 0 auto; }
  .steps::before { display: none; }
  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
  }
  .step-num { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin-bottom: 0; box-shadow: none; }
  .step h3 { grid-column: 2; grid-row: 1; align-self: center; }
  .step p { grid-column: 2; grid-row: 2; }
}

@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(13,13,15,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--linha);
    padding: 18px 22px 24px;
    gap: 4px;
  }
  .nav.open a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--linha); }
  .nav.open a:last-child { border-bottom: none; }

  /* Altura definida pelo conteúdo (px), não por svh/vh:
     evita a imagem "respirar"/dar zoom quando a barra do navegador some no iOS. */
  .hero { min-height: auto; padding: 104px 0 54px; align-items: center; }
  .hero-lead { margin: 18px 0 26px; }
  .hero-actions { gap: 12px; margin-bottom: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 540px) {
  .services-grid, .reviews-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .rating-badge { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
