/* ===================================================================
   Cemitério da Lapa — Grupo Maya
   Identidade: serifada editorial · verde · dourado · creme
   =================================================================== */

:root {
  --cream:      #fbfbf9;
  --cream-2:    #f4f3ee;
  --white:      #ffffff;
  --ink:        #0a0a0a;
  --muted:      #575757;
  --muted-2:    #6b6b6b;
  --line:       #e0e0dc;
  --green:      #22402b;
  --green-dark: #1a3322;
  --gold:       #e4b562;
  --gold-soft:  #d8a94f;

  --serif: "Sorts Mill Goudy", Georgia, serif;
  --sans:  "Inter", system-ui, sans-serif;

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(10,10,10,.04), 0 18px 40px -28px rgba(10,10,10,.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* labels / eyebrows */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow.on-dark { color: rgba(255,255,255,.7); }
.eyebrow.gold { color: var(--gold-soft); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -1px; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--ink);
}
.section-title.on-dark { color: var(--white); }

/* ===== reveal on load / scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(251,251,249,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.nav.scrolled { box-shadow: 0 10px 30px -20px rgba(10,10,10,.4); }
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -.5px;
  color: var(--ink);
}
.brand-sub {
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 34px;
  margin-left: auto;
  margin-right: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-soft);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .2px;
  padding: 13px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.btn i { font-size: 16px; }
.btn-wa {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 26px -14px rgba(34,64,43,.9);
}
.btn-wa:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 600;
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,15,12,.35) 0%, rgba(10,15,12,.15) 35%, rgba(10,15,12,.82) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; padding-bottom: 88px; padding-top: 120px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--gold);
}
.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -2px;
  max-width: 14ch;
  margin-bottom: 22px;
}
.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,.82);
  max-width: 52ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.hero-actions .btn-ghost:hover { background: var(--white); color: var(--ink); }

/* =====================================================================
   FAIXA / PARCEIROS
   ===================================================================== */
.strip {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip .container {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.strip-label {
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.strip img { height: 34px; width: auto; opacity: .85; }

/* =====================================================================
   SOBRE
   ===================================================================== */
.about { padding: clamp(72px, 12vw, 130px) 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.about-copy .eyebrow { display: block; margin-bottom: 18px; }
.about-copy h2 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.about-copy p { color: var(--muted); font-size: 16.5px; margin-bottom: 18px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  margin-top: 38px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.stat .num {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  color: var(--green);
  letter-spacing: -1px;
}
.stat .num span { color: var(--gold-soft); }
.stat .lbl { font-size: 13px; color: var(--muted-2); margin-top: 8px; }

.about-media { position: relative; }
.about-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 4px;
}
.about-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}

/* =====================================================================
   SOLUÇÕES / SERVIÇOS
   ===================================================================== */
.services { padding: clamp(72px, 12vw, 130px) 0; background: var(--cream); border-top: 1px solid rgba(229,229,229,.6); }
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.services-head .eyebrow { display: block; margin-bottom: 16px; }
.services-head p { color: var(--muted); max-width: 42ch; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.svc-ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--green);
  font-size: 21px;
  margin-bottom: 22px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.svc-card:hover .svc-ico { background: var(--green); color: var(--gold); }
.svc-card h3 { font-size: 21px; letter-spacing: -.4px; margin-bottom: 10px; }
.svc-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.svc-card.more {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-card.more .svc-ico { background: rgba(255,255,255,.1); color: var(--gold); }
.svc-card.more h3 { color: var(--white); }
.svc-card.more p { color: rgba(255,255,255,.7); }
.svc-card.more .more-link {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold);
}
.svc-card.more .more-link i { transition: transform .25s var(--ease); }
.svc-card.more:hover .more-link i { transform: translateX(5px); }

/* =====================================================================
   DIFERENCIAIS (verde + dourado)
   ===================================================================== */
.diff {
  position: relative;
  padding: clamp(72px, 12vw, 130px) 0;
  background: var(--green);
  color: var(--white);
  border-top: 1px solid var(--gold);
  overflow: hidden;
}
.diff-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .14;
  z-index: 0;
}
.diff::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--green) 30%, rgba(34,64,43,.78) 100%);
  z-index: 1;
}
.diff .container { position: relative; z-index: 2; }
.diff-head { max-width: 640px; margin-bottom: 56px; }
.diff-head .eyebrow { display: block; margin-bottom: 16px; }
.diff-head h2 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.15; color: var(--white); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  overflow: hidden;
}
.diff-item {
  background: var(--green);
  padding: 36px 30px;
  transition: background .35s var(--ease);
}
.diff-item:hover { background: var(--green-dark); }
.diff-item .d-ico { color: var(--gold); font-size: 24px; margin-bottom: 20px; }
.diff-item h3 { font-size: 20px; color: var(--white); margin-bottom: 10px; letter-spacing: -.4px; }
.diff-item p { font-size: 14.5px; color: rgba(255,255,255,.72); line-height: 1.55; }

/* =====================================================================
   CONTATO
   ===================================================================== */
.contact { padding: clamp(72px, 12vw, 130px) 0; background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.contact-copy .eyebrow { display: block; margin-bottom: 16px; }
.contact-copy h2 { font-size: clamp(30px, 4.5vw, 48px); line-height: 1.12; letter-spacing: -1.5px; margin-bottom: 20px; }
.contact-copy > p { color: var(--muted); font-size: 16.5px; max-width: 46ch; margin-bottom: 34px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.contact-list { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ci-ico {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--green);
  font-size: 18px;
}
.contact-item .ci-lbl { font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
.contact-item .ci-val { font-family: var(--serif); font-size: 19px; color: var(--ink); letter-spacing: -.3px; }
.contact-item .ci-val a:hover { color: var(--green); }
.contact-item small { display: block; font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-top: 2px; }

.contact-media { position: relative; align-self: stretch; }
.contact-media img {
  width: 100%; height: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 4px;
}
.contact-media .badge {
  position: absolute;
  left: 28px; bottom: 28px;
  background: rgba(251,251,249,.95);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
}
.contact-media .badge .b-t { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-soft); }
.contact-media .badge .b-v { font-family: var(--serif); font-size: 20px; color: var(--ink); margin-top: 4px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-name { color: var(--white); font-size: 24px; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-top: 14px; max-width: 38ch; }
.footer-brand img { height: 30px; width: auto; margin-top: 22px; opacity: .8; }
.footer h4 {
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-links { display: grid; gap: 12px; }
.footer-links a { font-size: 14px; transition: color .25s var(--ease); }
.footer-links a:hover { color: var(--gold); }
.footer-contact { display: grid; gap: 12px; font-size: 14px; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.5); }

/* =====================================================================
   WHATSAPP FLOAT
   ===================================================================== */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  font-size: 28px;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  animation: wa-pulse 2.6s infinite;
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .about-media img { min-height: 300px; }
  .services-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .strip .container { flex-direction: column; height: auto; padding-top: 22px; padding-bottom: 22px; gap: 16px; }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hero .container { padding-bottom: 64px; }
  .btn { padding: 12px 20px; }
  .nav .container { height: 66px; }
}
