/* ============================================================
   Óticas Miriam Calçadão — identidade visual
   ============================================================ */
:root {
  --cream:        #F4F0E6;
  --cream-soft:   #F8F5EE;
  --card:         #FBFAF5;
  --green:        #2C3A2E;
  --green-deep:   #212B22;
  --green-line:   #3A4A3B;
  --gold:         #B08E52;
  --gold-soft:    #C4A56A;
  --ink:          #29281F;
  --muted:        #6E6C60;
  --muted-light:  #9A978A;
  --line:         #E6E0D2;
  --wa:           #1F9D57;
  --wa-dark:      #2C3A2E;
  --star:         #D9A93A;

  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- tipografia utilitária ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 1.1rem;
}
.serif { font-family: var(--serif); }
.accent { color: var(--gold); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.12; }

.section-title {
  font-size: 2.4rem;
  margin: 0 0 0.6rem;
}

.lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 46ch;
}

.link-gold {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
}
.link-gold:hover { gap: 0.85rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa      { background: var(--wa); color: #fff; }
.btn-wa:hover{ background: #1a8a4b; }
.btn-dark    { background: var(--green); color: #fff; }
.btn-dark:hover { background: var(--green-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: #fff; border-color: var(--gold); }
.btn-light   { background: var(--cream); color: var(--green); }
.btn-light:hover { background: #fff; }

.wa-icon { width: 18px; height: 18px; display: inline-block; fill: currentColor; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,240,230,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand { text-align: center; line-height: 1; }
.brand .b-top    { font-size: 0.6rem; letter-spacing: 0.35em; color: var(--muted); text-transform: uppercase; }
.brand .b-main   { font-family: var(--serif); font-size: 1.55rem; letter-spacing: 0.12em; color: var(--ink); font-weight: 500; }
.brand .b-sub    { font-size: 0.52rem; letter-spacing: 0.4em; color: var(--gold); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: 0.86rem; color: var(--ink); font-weight: 500;
  position: relative; padding: 0.2rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 0;
  background: var(--gold); transition: width 0.2s ease;
}
.nav a:hover::after { width: 100%; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,36,28,0.86) 0%, rgba(28,36,28,0.55) 42%, rgba(28,36,28,0.12) 78%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 4rem 32px; width: 100%; }
.hero-content { max-width: 520px; color: #fff; }
.hero h1 {
  color: #fff; font-size: 3.5rem; line-height: 1.08; font-weight: 500; margin-bottom: 1.4rem;
}
.hero h1 .accent { color: var(--gold-soft); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.02rem; max-width: 34ch; margin: 0 0 2rem; }

/* ============================================================
   VENDA CONSULTIVA (split)
   ============================================================ */
.section { padding: 5.5rem 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split h2 { font-size: 2.3rem; margin-bottom: 1.3rem; }
.split .lead { margin-bottom: 1.8rem; }
.media-frame { border-radius: var(--radius); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   COLEÇÕES
   ============================================================ */
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.collections {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; margin: 2.8rem 0 2.4rem;
}
.col-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.col-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(40,40,30,0.10); }
.col-card .thumb { aspect-ratio: 1 / 1.05; overflow: hidden; }
.col-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.col-card .foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.85rem 0.9rem; font-size: 0.82rem; font-weight: 600; color: var(--ink);
}
.col-card .foot .arrow { color: var(--gold); }

/* ============================================================
   AMBIENTE
   ============================================================ */
.ambiente { background: var(--cream-soft); position: relative; }
.leaf {
  position: absolute; right: 2%; top: 10%; width: 180px; opacity: 0.25; pointer-events: none;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
.review-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.9rem;
}
.stars { color: var(--star); letter-spacing: 2px; font-size: 0.9rem; }
.review-card p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.55; flex: 1; }
.review-meta { display: flex; align-items: center; justify-content: space-between; }
.review-meta .who { font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.g-icon { width: 18px; height: 18px; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 2rem; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots span.on { background: var(--gold); width: 22px; border-radius: 4px; }

/* ============================================================
   ONDE ESTAMOS
   ============================================================ */
.local { display: grid; grid-template-columns: 1fr 1.15fr; }
.local-info { background: var(--green); color: #fff; padding: 4rem 3.5rem; }
.local-info .eyebrow { color: var(--gold-soft); }
.local-info h2 { color: #fff; font-size: 2rem; margin-bottom: 1.4rem; }
.local-info .addr { color: rgba(255,255,255,0.8); line-height: 1.9; font-size: 0.96rem; margin-bottom: 1.8rem; }
.local-info .addr .phone { display: inline-flex; align-items: center; gap: 0.5rem; }
.local-map { min-height: 380px; }
.local-map img { width: 100%; height: 100%; object-fit: cover; }
.pin { color: var(--gold-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,0.75); padding: 4rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--green-line);
}
.footer-brand .b-main { color: #fff; }
.footer-brand .b-top { color: rgba(255,255,255,0.6); }
.footer-brand .b-sub { color: var(--gold-soft); }
.footer-col h4 {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin: 0 0 1.1rem; font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--gold-soft); }
.socials { display: flex; gap: 0.8rem; margin-top: 0.3rem; }
.socials a {
  width: 38px; height: 38px; border: 1px solid var(--green-line); border-radius: 50%;
  display: grid; place-items: center; transition: 0.2s;
}
.socials a:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-note { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.9rem; line-height: 1.6; }
.footer-note .heart { color: var(--gold-soft); flex-shrink: 0; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 0; font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.footer-bottom .dev { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ============================================================
   RESPONSIVO (versão web degrada em telas menores)
   ============================================================ */
@media (max-width: 960px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .split.reverse .media-frame { order: -1; }
  .collections { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .local { grid-template-columns: 1fr; }
  .local-map { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero h1 { font-size: 2.6rem; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .collections { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}
