/*
  PALETA PROVISÓRIA — confira o feed @tiago.ferrarezi antes de finalizar o design
  e ajuste as variáveis abaixo para as cores reais da marca (logo, still de fotos).
*/
:root {
  --color-black: #1a1512;
  --color-black-soft: #2a231d;
  --color-gold: #c8a24a;
  --color-gold-light: #e8d5a0;
  --color-wine: #6e2430;
  --color-wine-dark: #521a23;
  --color-cream: #faf6ee;
  --color-cream-dark: #f0e9d8;
  --color-text: #2b241c;
  --color-text-muted: #6b6152;
  --color-white: #ffffff;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Jost', 'Segoe UI', sans-serif;

  --container-width: 1140px;
  --radius: 4px;
  --shadow-soft: 0 10px 30px rgba(26, 21, 18, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.center { text-align: center; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-black);
  margin: 0 0 0.6em;
  line-height: 1.15;
}

h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--color-wine);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.section-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-muted);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }

.btn-primary {
  background: var(--color-wine);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--color-wine-dark); }

.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
}
.btn-whatsapp:hover { background: #1ebc5a; }

.btn-whatsapp-outline {
  border-color: #25D366;
  color: #1a7a3d;
  background: transparent;
  font-size: 0.9rem;
  padding: 0.7rem 1.3rem;
}
.btn-whatsapp-outline:hover { background: #25D366; color: var(--color-white); }

.btn-outline {
  border-color: var(--color-gold);
  color: var(--color-black);
  background: transparent;
}
.btn-outline:hover { background: var(--color-gold); color: var(--color-black); }

.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex-shrink: 0; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-cream-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-black);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-black);
  transition: transform 0.2s ease, opacity 0.2s 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); }

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: min(78vw, 320px);
  background: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 6rem 2rem 2rem;
  transition: right 0.3s ease;
  z-index: 105;
}
.nav-menu.open { right: 0; }
.nav-menu a {
  color: var(--color-cream);
  font-size: 1.05rem;
}
.nav-menu a:hover { color: var(--color-gold); }
.nav-menu .nav-cta {
  margin-top: 1rem;
  width: 100%;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--color-black) 0%, var(--color-black-soft) 55%, var(--color-wine-dark) 100%);
  color: var(--color-cream);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(200, 162, 74, 0.25), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(110, 36, 48, 0.35), transparent 50%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding-top: 3rem; padding-bottom: 3rem; }

.hero .eyebrow { color: var(--color-gold-light); }

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  max-width: 16ch;
  margin-bottom: 0.5em;
}
.hero .ampersand { color: var(--color-gold); font-style: italic; }

.hero-sub {
  font-size: 1.05rem;
  max-width: 46ch;
  color: rgba(250, 246, 238, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0;
}

.hero-proof {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-gold-light);
  margin-top: 1.5rem;
}
.hero-proof em { color: rgba(250, 246, 238, 0.6); font-style: normal; }

/* ===== SECTIONS ===== */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--color-cream-dark); }

/* ===== ESPECIALIDADES ===== */
.specialty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.specialty-card {
  background: var(--color-white);
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.specialty-card.featured {
  background: linear-gradient(165deg, var(--color-black) 0%, var(--color-wine-dark) 100%);
  color: var(--color-cream);
  border-color: transparent;
}
.specialty-card.featured h3 { color: var(--color-gold-light); }
.specialty-card.featured .btn-whatsapp-outline { border-color: var(--color-gold); color: var(--color-gold-light); }
.specialty-card.featured .btn-whatsapp-outline:hover { background: var(--color-gold); color: var(--color-black); }

.specialty-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }

.specialty-card p { color: var(--color-text-muted); flex-grow: 1; }
.specialty-card.featured p { color: rgba(250, 246, 238, 0.8); }

/* ===== SERVIÇOS ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
.service-category {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.service-category h3 {
  color: var(--color-wine);
  border-bottom: 2px solid var(--color-gold-light);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.service-category ul { list-style: none; margin: 0; padding: 0; }
.service-category li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--color-cream-dark);
}
.service-category li:last-child { border-bottom: none; }

/* ===== GALERIA ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 3/4;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item[data-placeholder="true"] {
  background: repeating-linear-gradient(45deg, var(--color-cream-dark), var(--color-cream-dark) 10px, var(--color-cream) 10px, var(--color-cream) 20px);
  border: 2px dashed var(--color-gold);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-placeholder-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-wine);
  text-align: center;
  padding: 0.5rem;
  background: rgba(250, 246, 238, 0.85);
  border-radius: var(--radius);
}
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 21, 18, 0.75);
  color: var(--color-cream);
  font-size: 0.85rem;
  padding: 0.5rem;
  text-align: center;
}

/* ===== DEPOIMENTOS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial {
  background: var(--color-white);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 0;
  box-shadow: var(--shadow-soft);
}
.testimonial p {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  text-align: center;
}
.proof-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-wine);
}
.proof-item span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===== HISTÓRIA ===== */
.history-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.history-stat {
  background: linear-gradient(160deg, var(--color-black), var(--color-wine-dark));
  color: var(--color-cream);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  color: var(--color-gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--color-gold-light);
}

/* ===== LOCALIZAÇÃO ===== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
.location-info h3 {
  color: var(--color-wine);
  margin-top: 1.25rem;
}
.location-info h3:first-child { margin-top: 0; }
.location-info a:hover { color: var(--color-wine); }

.hours-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-cream-dark);
  font-size: 0.95rem;
}
.hours-table tr.closed td { color: var(--color-text-muted); font-style: italic; }

.location-map {
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.location-map iframe { width: 100%; height: 100%; min-height: 320px; }

/* ===== RODAPÉ ===== */
.site-footer {
  background: var(--color-black);
  color: var(--color-cream);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-brand .logo { color: var(--color-gold-light); }
.footer-brand p { margin: 0; color: rgba(250, 246, 238, 0.7); font-size: 0.9rem; }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.footer-social a {
  color: var(--color-cream);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}
.footer-social a:hover { color: var(--color-gold); border-color: var(--color-gold); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(250, 246, 238, 0.5);
  margin: 0;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 200;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--color-white); }

/* ===== RESPONSIVE (tablet & desktop) ===== */
@media (min-width: 640px) {
  .specialty-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    height: auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    background: none;
    padding: 0;
    gap: 2rem;
  }
  .nav-menu a { color: var(--color-black); font-size: 0.95rem; }
  .nav-menu a:hover { color: var(--color-wine); }
  .nav-menu .nav-cta { width: auto; margin-top: 0; color: var(--color-white) !important; }

  .specialty-grid { grid-template-columns: repeat(3, 1fr); }
  .specialty-card.featured { transform: scale(1.05); }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .history-grid { grid-template-columns: 3fr 2fr; }

  .location-grid { grid-template-columns: 1fr 1fr; }
  .location-map { min-height: 420px; }
  .location-map iframe { min-height: 420px; }
}
