/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-950: #0a0a0a;
  --navy-900: #131313;
  --navy-800: #1e1e1e;
  --navy-700: #2b2b2b;
  --gold: #eea726;
  --gold-light: #f6c766;
  --whatsapp: #25d366;
  --whatsapp-dark: #1eb956;
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --bg-soft-2: #f0ede6;
  --text: #17140f;
  --text-muted: #6a655c;
  --border: #ebe7df;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(10, 10, 10, 0.08);
  --shadow-md: 0 12px 30px rgba(10, 10, 10, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 10, 10, 0.2);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 18px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: 8px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn .icon { width: 19px; height: 19px; fill: currentColor; flex-shrink: 0; }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 211, 102, 0.42); }
.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}
.btn-outline:hover { background: var(--navy-900); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-dark {
  background: var(--navy-950);
  color: #fff;
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.brand-name { font-family: var(--font-head); font-size: 1.1rem; color: var(--navy-900); }
.brand-name strong { color: var(--gold); }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--navy-900); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-whatsapp { padding: 10px 20px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--navy-900); border-radius: 2px; transition: 0.25s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 70%, var(--navy-700) 100%);
  color: #fff;
  padding: 76px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(201,162,75,0.25), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/site/pattern-oculos.png');
  background-size: 900px auto;
  background-repeat: repeat;
  opacity: 0.07;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold-light); }
.hero-text { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero .btn-outline:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; }
.hero-trust li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  position: relative;
  padding-left: 18px;
}
.hero-trust li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--gold-light);
  font-weight: 700;
}
.hero-trust strong { color: #fff; }

.hero-media { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hero-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 50% 30%, #f7f4ee 0%, #e6e1d6 100%);
  box-shadow: var(--shadow-lg);
}
.hero-grid img:nth-child(2) { margin-top: 30px; }
.hero-grid img:nth-child(3) { margin-top: -30px; }
.hero-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--gold);
  color: var(--navy-950);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  white-space: nowrap;
}
.hero-badge-price { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }
.hero-badge-label { font-size: 0.75rem; font-weight: 600; opacity: 0.85; }

/* ===== Section head ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--gold); }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy-900); }
.section-sub { color: var(--text-muted); margin-top: 12px; font-size: 1rem; }

section { padding: 88px 0; }

/* ===== Categories ===== */
.categories { background: var(--bg-soft); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 16px 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.category-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle at 50% 30%, #f2efe8 0%, #e6e1d6 100%);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.07);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.category-card.active { border-color: var(--gold); box-shadow: var(--shadow-md); }
.category-card-cta { justify-content: center; }

/* ===== Products ===== */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s ease;
}
.filter-tab:hover { border-color: var(--gold); color: var(--navy-900); }
.filter-tab.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-thumb {
  aspect-ratio: 1/1;
  background: radial-gradient(circle at 50% 30%, #f2efe8 0%, #e6e1d6 100%);
  overflow: hidden;
  position: relative;
}
.product-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.07);
  pointer-events: none;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-info { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-info h3 { font-size: 0.95rem; font-weight: 600; color: var(--navy-900); min-height: 2.5em; }
.product-price { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--text-muted); font-style: italic; }
.product-price small { font-weight: 500; font-size: 0.75rem; color: var(--text-muted); }
.product-buy {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-head);
  transition: background 0.18s;
}
.product-buy:hover { background: var(--whatsapp-dark); }
.product-buy svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.btn-text-short { display: none; }

.products-more { text-align: center; margin-top: 44px; }

/* ===== Vision Care / Orçamento band ===== */
.vision-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.vision-panel {
  padding: 72px 56px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.vision-panel-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: 1 1 55%; }
.vision-panel h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 2px; }
.vision-panel p:not(.eyebrow) { font-size: 0.98rem; max-width: 420px; }
.vision-panel .btn { margin-top: 10px; }
.vision-panel-art { flex: 0 0 auto; width: 34%; max-width: 210px; opacity: 0.95; }
.vision-panel-dark {
  background: var(--navy-950);
  color: #fff;
}
.vision-panel-dark p:not(.eyebrow) { color: rgba(255,255,255,0.78); }
.vision-panel-dark .eyebrow { color: var(--gold-light); }
.vision-panel-dark h2 { color: #fff; }
.vision-panel-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #d68f1e 100%);
  color: var(--navy-950);
}
.vision-panel-gold .eyebrow { color: rgba(10,10,10,0.65); }
.vision-panel-gold p:not(.eyebrow) { color: rgba(10,10,10,0.75); }

/* ===== Benefits ===== */
.benefits { background: var(--navy-900); color: #fff; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.benefit { text-align: center; }
.benefit-icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(201,162,75,0.15);
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 28px; height: 28px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; }
.benefit h3 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.benefit p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ===== About ===== */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-copy h2 { color: var(--navy-900); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 20px; }
.about-copy p { color: var(--text-muted); margin-bottom: 18px; font-size: 1rem; }
.about-copy strong { color: var(--navy-900); }

/* ===== Contact ===== */
.contact { background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.contact-card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon svg { width: 22px; height: 22px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; }
.contact-card-icon.whatsapp { background: var(--whatsapp); }
.contact-card-icon.whatsapp svg { fill: #fff; stroke: none; }
.contact-card h3 { font-size: 0.95rem; color: var(--navy-900); margin-bottom: 2px; }
.contact-card p { font-size: 0.88rem; color: var(--text-muted); }

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

/* ===== Brands ===== */
.brands { padding: 48px 0; background: var(--bg-soft); border-top: 1px solid var(--border); }
.brands-title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.brands-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.brands-row span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy-800);
  opacity: 0.55;
  padding: 0 32px;
  border-right: 1px solid var(--border);
  transition: opacity 0.2s ease;
}
.brands-row span:last-child { border-right: none; }
.brands-row span:hover { opacity: 1; color: var(--gold); }

/* ===== Footer ===== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 0.88rem; margin-top: 8px; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4 { color: #fff; font-size: 0.95rem; margin-bottom: 6px; }
.footer-links a, .footer-links span { font-size: 0.9rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { padding: 24px 0; text-align: center; font-size: 0.82rem; }

/* ===== Floating WhatsApp ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.45);
  z-index: 600;
  animation: pulse 2.4s infinite;
}
.floating-whatsapp 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); }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; margin: 0 auto; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 360px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .vision-band { grid-template-columns: 1fr; }
  .vision-panel { padding: 48px 32px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .header-whatsapp span { display: none; }
  .header-whatsapp { padding: 12px; border-radius: 50%; }
  section { padding: 64px 0; }
}

@media (max-width: 640px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-info { padding: 13px 14px 16px; gap: 8px; }
  .product-info h3 { font-size: 0.86rem; min-height: 2.3em; }
  .product-price { font-size: 0.78rem; }
  .product-buy { font-size: 0.78rem; padding: 10px 6px; gap: 6px; white-space: nowrap; }
  .product-buy svg { width: 14px; height: 14px; flex-shrink: 0; }
  .btn-text-full { display: none; }
  .btn-text-short { display: inline; }
  .benefits-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-trust { flex-direction: column; gap: 8px; }
  .brands-row span { font-size: 1rem; padding: 6px 16px; border-right: none; }
  .vision-panel { flex-direction: column; text-align: center; padding: 44px 28px; }
  .vision-panel-text { align-items: center; }
  .vision-panel p:not(.eyebrow) { max-width: none; }
  .vision-panel-art { width: 55%; max-width: 180px; order: -1; }
}
