/* =========================================================
   VITÓRIA SCHARF LASH DESIGN — Design system
   Paleta: espresso quente, blush empoeirado, dourado fosco, marfim
   Tipografia: Fraunces (display, editorial) + Manrope (corpo, geométrica)
   Motivo de assinatura: curva de cílio desenhada à mão, usada como
   divisor / marca d'água discreta ao longo do site.
   ========================================================= */

:root {
  --ink: #241512;
  --ink-soft: #4a352f;
  --cream: #FBF6F1;
  --cream-2: #F3E9E0;
  --rose: #C98A82;
  --rose-deep: #8C4A46;
  --gold: #B8935A;
  --line: #E4D8CE;
  --white: #FFFFFF;
  --success: #4B7A5B;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 6px;
  --shadow-soft: 0 12px 30px rgba(36, 21, 18, 0.08);
  --shadow-lift: 0 18px 40px rgba(36, 21, 18, 0.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.2vw + 1rem, 1.5rem); }

p { margin: 0 0 1em; max-width: 62ch; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--rose-deep);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--ink); box-shadow: var(--shadow-lift); }

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

.btn-ghost {
  color: var(--ink);
  padding: 8px 4px;
  border-bottom: 1.5px solid var(--gold);
  border-radius: 0;
}

.btn-wa {
  background: var(--ink);
  color: var(--cream);
}
.btn-wa:hover { background: var(--rose-deep); }

.btn-wa svg { width: 18px; height: 18px; fill: currentColor; }

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--rose-deep);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.4em;
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.logo img { height: 42px; width: auto; }
.logo strong { font-weight: 600; }
.logo span { font-style: italic; color: var(--rose-deep); font-size: 1rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink); display: block; border-radius: 2px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 64px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-title { white-space: pre-line; margin-bottom: 0.3em; }

.hero-subtitle { font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; }

.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--rose-deep);
}
.hero-stats div span { font-size: 0.85rem; color: var(--ink-soft); }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--cream-2), var(--rose) 140%);
  box-shadow: var(--shadow-lift);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .lash-motif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
}
.hero-badge svg { width: 20px; height: 20px; fill: var(--rose-deep); flex-shrink: 0; }

/* divider motif */
.lash-divider {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 28px;
  color: var(--gold);
}
.lash-divider.left { margin: 0 0 20px; }

/* ---------- SECTIONS ---------- */
section { padding: 88px 0; }
.section-cream { background: var(--cream); }
.section-tint { background: var(--cream-2); }
.section-ink { background: var(--ink); color: var(--cream); }
.section-ink h2, .section-ink h3 { color: var(--cream); }
.section-ink p { color: #D9C8BE; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

.section-foot { margin-top: 44px; text-align: center; }

/* ---------- SERVICE CARDS ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.service-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.service-card .thumb {
  aspect-ratio: 4/3;
  background: var(--cream-2);
  overflow: hidden;
}
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.service-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}
.service-card .meta .price { color: var(--rose-deep); font-family: var(--font-display); font-size: 1.1rem; }
.service-card .meta .duration { font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- SERVICE CATEGORY BLOCKS (página /servicos) ---------- */
.category-block { margin-bottom: 72px; }
.category-block:last-child { margin-bottom: 0; }
.category-block-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.category-block-head h2 { margin: 0; }
.category-block-head .count { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- GALLERY ---------- */
.gallery-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.gallery-filters button {
  border: 1.5px solid var(--line);
  background: transparent;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.gallery-filters button.active,
.gallery-filters button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--cream-2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(36,21,18,0.75), transparent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover .cap { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(36, 21, 18, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: 4px; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  color: var(--white);
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.testi-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 0.9rem; }
.testi-card p { font-style: italic; color: var(--ink-soft); }
.testi-name { font-weight: 700; font-family: var(--font-display); font-style: normal; margin-top: 12px; }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow-soft);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-facts { display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; }
.about-facts div { flex: 1; min-width: 140px; }
.about-facts strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--rose-deep); }
.about-facts span { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- CONTACT / LOCATION ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-row { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.contact-row:last-child { margin-bottom: 0; }
.contact-row svg { width: 22px; height: 22px; fill: var(--rose-deep); flex-shrink: 0; margin-top: 3px; }
.contact-row h4 { margin: 0 0 4px; font-size: 1rem; font-family: var(--font-body); font-weight: 700; }
.contact-row p { margin: 0; color: var(--ink-soft); white-space: pre-line; font-size: 0.95rem; }

.map-frame {
  width: 100%;
  aspect-ratio: 4/3.4;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--rose-deep);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--ink-soft); }

/* ---------- FINAL CTA ---------- */
.cta-block {
  text-align: center;
  padding: 90px 0;
}
.cta-block h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }

/* ---------- FOOTER ---------- */
footer.site-footer {
  background: var(--ink);
  color: #CBB9AF;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); margin-bottom: 12px; }
.footer-col h5 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--rose); }
.footer-social { display: flex; gap: 14px; margin-top: 6px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid #4a352f;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 16px; height: 16px; fill: var(--cream); }
.footer-bottom {
  border-top: 1px solid #3a2a25;
  padding-top: 24px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WHATSAPP FLOAT BUTTON ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: #2f7d5c;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(36,21,18,0.3);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 10px; }

  body.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--cream);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .hero { padding: 40px 0 60px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .grid-3, .grid-2, .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .wa-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .lightbox-nav { width: 40px; height: 40px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
