/* ==========================================================================
   Óptica Conceito Bauru — style.css
   Paleta baseada na logo: dourado sobre marrom/preto
   ========================================================================== */

:root {
  --gold-1: #f3d78a;
  --gold-2: #d4af37;
  --gold-3: #a9781f;
  --bg-dark: #120d0a;
  --bg-dark-2: #1c1410;
  --bg-card: #211812;
  --text-light: #f5ecd9;
  --text-muted: #c9bba3;
  --whatsapp: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Poppins", "Segoe UI", sans-serif;
  --script: "Dancing Script", cursive;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  background: linear-gradient(120deg, var(--gold-1), var(--gold-2) 45%, var(--gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

section { padding: 90px 0; position: relative; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 14px;
  font-weight: 600;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 48px;
  font-size: 1.02rem;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Botões ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(120deg, var(--gold-1), var(--gold-2));
  color: #1a1208;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}
.btn-gold:hover { box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5); }

.btn-outline {
  border-color: rgba(245, 236, 217, 0.35);
  color: var(--text-light);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold-2); color: var(--gold-1); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5); }

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* Header / Navbar --------------------------------------------------------- */
header#topo {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(18, 13, 10, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  transition: background 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { width: 42px; height: 42px; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
}
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; }
.status-open { background: rgba(37, 211, 102, 0.12); color: #6be79a; }
.status-open .dot { background: #6be79a; box-shadow: 0 0 8px #6be79a; }
.status-closed { background: rgba(220, 90, 90, 0.12); color: #ef9a9a; }
.status-closed .dot { background: #ef9a9a; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--gold-1); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--gold-1);
  border-radius: 2px;
}

/* Hero -------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 110px;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(212,175,55,0.14), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(212,175,55,0.08), transparent 50%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  overflow: hidden;
}

.hero-glasses-bg {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  max-width: 70vw;
  opacity: 0.12;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.badge-anos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 22px;
  color: var(--gold-1);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero .tagline {
  font-family: var(--script);
  font-size: 1.7rem;
  color: var(--gold-1);
  margin-bottom: 22px;
}

.hero p.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-1);
}
.hero-stats div span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual .frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(160deg, #2a1f16, #16100b);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-visual .frame svg { width: 55%; opacity: 0.9; }
.hero-visual .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(212,175,55,0.18), transparent 60%);
}

/* Sobre --------------------------------------------------------------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.diferenciais {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
}
.diferencial-item {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius);
  padding: 22px;
}
.diferencial-item .icon {
  width: 40px; height: 40px;
  margin-bottom: 12px;
  color: var(--gold-2);
}
.diferencial-item h4 {
  font-family: var(--serif);
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.diferencial-item p { font-size: 0.86rem; color: var(--text-muted); }

.sobre-photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  background: url('../imagens/loja-interna.jpg') center/cover no-repeat, linear-gradient(150deg, #2a1f16, #150f0a);
  border: 1px solid rgba(212,175,55,0.2);
  box-shadow: var(--shadow);
}

/* Produtos -------------------------------------------------------------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}
.tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(245, 236, 217, 0.2);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-btn:hover { border-color: var(--gold-2); color: var(--gold-1); }
.tab-btn.active {
  background: linear-gradient(120deg, var(--gold-1), var(--gold-2));
  color: #1a1208;
  border-color: transparent;
  font-weight: 600;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: none;
  flex-direction: column;
}
.product-card.show { display: flex; }
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(212, 175, 55, 0.4);
}

.product-photo {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: #241a12;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-photo svg { width: 46%; opacity: 0.55; }
.product-photo .tag-cat {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(18,13,10,0.75);
  color: var(--gold-1);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.3);
}

.product-info { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-info h3 { font-family: var(--serif); font-size: 1.05rem; }
.product-info p.desc { font-size: 0.84rem; color: var(--text-muted); flex: 1; }
.product-info .price { color: var(--gold-1); font-weight: 600; font-size: 0.92rem; }
.product-info .price small { color: var(--text-muted); font-weight: 400; display: block; font-size: 0.72rem; }

.catalog-note {
  margin-top: 40px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-left: 2px solid var(--gold-2);
  padding-left: 14px;
}

/* Diferenciais em faixa --------------------------------------------------- */
.faixa-diferenciais {
  background: var(--bg-dark-2);
  border-top: 1px solid rgba(212,175,55,0.1);
  border-bottom: 1px solid rgba(212,175,55,0.1);
}
.faixa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.faixa-grid .icon {
  width: 38px; height: 38px;
  margin: 0 auto 14px;
  color: var(--gold-2);
}
.faixa-grid h4 { font-family: var(--serif); font-size: 1rem; margin-bottom: 6px; }
.faixa-grid p { font-size: 0.82rem; color: var(--text-muted); }

/* Horário + Localização --------------------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}

.horario-card {
  background: var(--bg-card);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius);
  padding: 30px;
}
.horario-card h3 { font-family: var(--serif); margin-bottom: 18px; font-size: 1.2rem; }
.horario-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(245,236,217,0.08);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.horario-list li.today { color: var(--gold-1); font-weight: 600; }
.horario-list li:last-child { border-bottom: none; }
.horario-list li .closed { color: #ef9a9a; }

.alerta-feriado {
  margin-top: 18px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.8rem;
  color: var(--gold-1);
  display: none;
}
.alerta-feriado.show { display: block; }

.mapa-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.15);
  box-shadow: var(--shadow);
  min-height: 340px;
}
.mapa-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(0.25) contrast(1.05); }

.endereco-box {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Redes sociais ------------------------------------------------------------ */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.social-card {
  background: var(--bg-card);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.social-card:hover { transform: translateY(-4px); border-color: var(--gold-2); }
.social-card .icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, var(--gold-1), var(--gold-2));
  color: #1a1208;
}
.social-card .icon svg { width: 24px; height: 24px; }
.social-card h4 { font-family: var(--serif); font-size: 1rem; margin-bottom: 4px; }
.social-card p { font-size: 0.82rem; color: var(--text-muted); }

/* CTA final ----------------------------------------------------------------- */
.cta-final {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.16), transparent 60%),
    var(--bg-dark-2);
  border-top: 1px solid rgba(212,175,55,0.15);
}
.cta-final h2 { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 16px; }
.cta-final p { color: var(--text-muted); max-width: 520px; margin: 0 auto 32px; }

/* Footer ---------------------------------------------------------------- */
footer {
  background: #0c0908;
  padding: 50px 0 24px;
  border-top: 1px solid rgba(212,175,55,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.86rem; margin-top: 14px; max-width: 280px; }
.footer-col h5 {
  font-family: var(--serif);
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--gold-1);
}
.footer-col li { margin-bottom: 10px; font-size: 0.86rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--gold-1); }
.footer-bottom {
  border-top: 1px solid rgba(245,236,217,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* WhatsApp flutuante ------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  animation: pulse 2.4s infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 10px 26px rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 26px rgba(37,211,102,0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 26px rgba(37,211,102,0.45); }
}

/* Responsivo ------------------------------------------------------------ */
@media (max-width: 980px) {
  .hero-inner, .sobre-grid, .info-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto 20px; }
  .faixa-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--bg-dark-2);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid rgba(212,175,55,0.15);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(245,236,217,0.06); }
  .menu-toggle { display: flex; }
  .nav-cta .btn span.txt-full { display: none; }
  section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .diferenciais { grid-template-columns: 1fr; }
}
