/* =========================================================
   Funerária Pax Jardim — Design System
   HTML/CSS/JS puro · Paleta preto + prata + azul petróleo
   ========================================================= */

:root {
  /* Cores primárias — preto, branco e prata */
  --preto:         #0A0A0A;
  --preto-suave:   #1A1A1A;
  --branco:        #FFFFFF;
  --branco-off:    #F4F5F6;
  --prata:         #C0C0C0;
  --prata-clara:   #E0E0E0;
  --prata-escura:  #8A8A8A;
  --grafite:       #2A2A2A;
  --ink:           #262626;

  /* Prata metálica (para gradientes e brilho) */
  --metal-1:       #FFFFFF;
  --metal-2:       #E8E8EA;
  --metal-3:       #C4C6C9;
  --metal-4:       #9A9CA0;
  --metal-5:       #6E7074;
  --metal-grad:    linear-gradient(150deg, #FDFDFD 0%, #E4E5E7 20%, #BFC1C5 50%, #E9EAEC 80%, #FCFCFD 100%);
  --metal-grad-hover: linear-gradient(150deg, #FFFFFF 0%, #EFF0F1 20%, #CDCFD3 50%, #F3F4F5 80%, #FFFFFF 100%);
  --metal-glow:    0 0 26px rgba(226,228,232,.55);
  --dark-metal:    linear-gradient(160deg, #232323 0%, #141414 55%, #0A0A0A 100%);

  /* Semânticas */
  --bg-hero:        var(--preto);
  --bg-section-1:   var(--branco);
  --bg-section-2:   var(--branco-off);
  --bg-section-dark: var(--preto-suave);
  --bg-footer:      var(--preto);
  --text-light:     var(--branco);
  --text-dark:      var(--preto);
  --text-muted:     #6C6E72;
  --accent:         #9A9CA0;      /* prata funcional — barras, bordas, marcas */
  --accent-hover:   #6E7074;
  --accent-light:   #D6D8DB;      /* prata clara — realce sobre fundos escuros */
  --border-subtle:  #E2E3E5;

  /* Tipografia */
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'DM Sans', 'Segoe UI', sans-serif;
  --font-size-hero: clamp(2.2rem, 5vw, 3.8rem);
  --font-size-h2:   clamp(1.6rem, 3.5vw, 2.4rem);
  --font-size-h3:   clamp(1.1rem, 2vw, 1.4rem);
  --font-size-body:  1rem;
  --font-size-small: 0.875rem;
  --line-height-body: 1.7;
  --line-height-heading: 1.2;

  /* Espaçamento */
  --section-padding: clamp(60px, 8vw, 120px) 0;
  --container-max:   1200px;
  --container-padding: 0 clamp(20px, 4vw, 40px);
  --gap-cards:       clamp(20px, 3vw, 40px);

  /* Efeitos */
  --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius-card:    12px;
  --radius-button:  8px;
  --transition:     all 0.3s ease;

  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--text-dark);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: var(--transition); }
a:hover { color: #000; }
/* Links dentro de texto corrido recebem sublinhado para se distinguir */
.content-block a, .split-text a, .centered-copy a, .s-tldr a, .s-author-bio a, .faq-item > p a {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--metal-4); text-decoration-thickness: 1px;
}
.content-block a:hover, .split-text a:hover, .centered-copy a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: var(--line-height-heading); font-weight: 600; margin: 0 0 .5em; }
p { margin: 0 0 1.15em; }
ul { margin: 0 0 1.15em; padding-left: 1.2em; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
  border-radius: 3px;
}

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

/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1200;
  background: var(--accent); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
  font-weight: 700; font-size: var(--font-size-small);
}
.skip-link:focus { left: 0; color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--preto); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #9A9CA0, #6E7074); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #C4C6C9, #8A8A8A); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
  background: linear-gradient(to bottom, rgba(10,10,10,.55), rgba(10,10,10,0));
}
.site-header.scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.header-inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 46px; width: auto; display: block; }
.footer-logo { height: 56px; width: auto; display: block; margin-bottom: 18px; }
.brand .brand-name {
  font-family: var(--font-display); color: #fff; font-weight: 600;
  font-size: 1.5rem; line-height: 1; letter-spacing: .5px;
}
.brand .brand-name small { display: block; font-family: var(--font-body); font-size: .58rem; letter-spacing: 3px; color: var(--prata); text-transform: uppercase; margin-top: 3px; font-weight: 500; }

/* Nav */
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  color: #fff; font-weight: 500; font-size: .95rem; padding: 8px 0; position: relative; display: inline-flex; align-items: center; gap: 5px;
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px;
  background: var(--accent-light); transition: width .3s ease, left .3s ease;
}
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--accent-light); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { width: 100%; left: 0; }
.has-dropdown > a .caret { width: 9px; height: 9px; transition: transform .3s ease; }
.has-dropdown:hover > a .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 260px; background: var(--preto-suave);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 8px; box-shadow: 0 12px 40px rgba(0,0,0,.45);
  padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px);
}
.dropdown li a {
  display: block; color: var(--prata-clara); padding: 9px 14px; border-radius: 6px; font-size: .9rem; font-weight: 500;
}
.dropdown li a:hover { background: rgba(255,255,255,.10); color: #fff; }

/* Header phone */
.header-cta { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-phone { text-align: right; line-height: 1.25; }
.header-phone .hp-label { display: block; font-size: .62rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--prata); font-weight: 500; }
.header-phone .hp-number { display: block; color: #fff; font-weight: 700; font-size: 1.05rem; }
.header-phone .hp-number:hover { color: var(--accent-light); }

/* Hamburger */
.nav-mobile-phone { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; width: 26px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop { display: none; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 16px 32px; border-radius: var(--radius-button); border: 2px solid transparent;
  transition: var(--transition); text-align: center; line-height: 1.2;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Botão prata metálico (CTA principal) */
.btn-silver, .btn-whatsapp, .btn-on-accent, .btn-primary {
  background: var(--metal-grad); color: #141414;
  border: 1px solid rgba(255,255,255,.75);
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 -2px 3px rgba(0,0,0,.10) inset,
    0 8px 22px rgba(0,0,0,.30);
}
.btn-silver svg, .btn-whatsapp svg, .btn-on-accent svg, .btn-primary svg { color: #141414; }
.btn-silver:hover, .btn-whatsapp:hover, .btn-on-accent:hover, .btn-primary:hover {
  color: #000; background: var(--metal-grad-hover); transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 -2px 3px rgba(0,0,0,.10) inset,
    0 12px 30px rgba(0,0,0,.42), var(--metal-glow);
}

/* Outline claro (sobre fundos escuros) */
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.10); color: #fff; border-color: #fff; transform: translateY(-2px); box-shadow: 0 0 22px rgba(255,255,255,.18); }

/* Outline prata (sobre fundos claros — ex.: rodapé) */
.btn-outline-accent { background: transparent; color: var(--grafite); border-color: var(--metal-4); }
.btn-outline-accent:hover { background: var(--metal-grad); color: #141414; border-color: rgba(255,255,255,.75); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.22); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: calc(var(--header-h) + 40px) 20px 80px;
  overflow: hidden;
}
.hero--inner { min-height: 72vh; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: #0a0a0a url('/assets/img/hero-funeraria.svg') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(130% 100% at 50% 42%, rgba(10,10,10,.42), rgba(10,10,10,.72) 78%),
    linear-gradient(to bottom, rgba(10,10,10,.45), rgba(10,10,10,.80));
}
/* Vídeo de fundo — bem translúcido para não atrapalhar a leitura; os lírios (hero-bg) permanecem visíveis atrás */
.hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.40; }
/* Brilho prateado leve sobre o hero */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(62% 46% at 50% 6%, rgba(220,222,226,.16), transparent 70%),
    radial-gradient(40% 30% at 84% 82%, rgba(200,202,206,.08), transparent 70%);
  mix-blend-mode: screen;
  animation: heroGlow 8s ease-in-out infinite;
}
@keyframes heroGlow { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero::after { animation: none; } }
.hero-content { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.hero .hero-sub { text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.hero .eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: .72rem;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 22px;
  padding: 7px 18px; border: 1px solid rgba(214,216,219,.35); border-radius: 100px;
  color: transparent; background: linear-gradient(180deg, #ffffff, #b9bbbf);
  -webkit-background-clip: text; background-clip: text;
}
.hero h1 { font-size: var(--font-size-hero); font-weight: 600; color: #fff; max-width: 800px; margin: 0 auto; }
.hero .hero-sub { font-size: 1.15rem; color: var(--prata-clara); max-width: 680px; margin: 20px auto 0; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 38px; }
.hero-note { margin-top: 16px; color: var(--prata); font-size: var(--font-size-small); }

/* =========================================================
   SECTIONS / RHYTHM
   ========================================================= */
.section { padding: var(--section-padding); }
.section--light { background: var(--bg-section-1); }
.section--off {
  position: relative;
  background: linear-gradient(180deg, #F7F8F9 0%, #ECEEF0 100%);
  border-top: 1px solid rgba(255,255,255,.7);
}
.section--off::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(196,198,201,.8), transparent); }
.section--dark {
  position: relative;
  background:
    radial-gradient(800px 380px at 78% 0%, rgba(210,212,216,.10), transparent 60%),
    linear-gradient(160deg, #1C1C1C, #121212);
  color: var(--prata-clara);
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: var(--font-size-h2); color: var(--text-dark); }
.section--dark .section-head h2 { color: #fff; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* Breadcrumb */
.breadcrumb { padding: 18px 0; background: var(--branco-off); border-bottom: 1px solid var(--border-subtle); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .82rem; color: var(--text-muted); }
.breadcrumb li::after { content: "›"; margin-left: 8px; color: var(--prata-escura); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li[aria-current] { color: var(--text-dark); font-weight: 600; }

/* =========================================================
   TLDR — "Em resumo"
   ========================================================= */
.s-tldr {
  position: relative; overflow: hidden;
  max-width: 900px; margin: 0 auto;
  background: linear-gradient(180deg, #ffffff, #f6f7f8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card); padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}
.s-tldr::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, #F2F2F3, #9A9CA0 50%, #6E7074);
}
.s-tldr-label { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 3px; font-size: .72rem; font-weight: 700; color: var(--metal-5); margin: 0 0 8px; }
.s-tldr-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--text-dark); margin-bottom: 20px; }
.s-tldr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.s-tldr-list li { position: relative; padding-left: 34px; color: var(--text-muted); line-height: 1.6; }
.s-tldr-list li strong { color: var(--text-dark); }
.s-tldr-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  background: linear-gradient(145deg, #f4f4f5, #c9cbce); box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.7) inset;
  border-radius: 50%;
}
.s-tldr-list li::after {
  content: ""; position: absolute; left: 6px; top: 9px; width: 7px; height: 4px;
  border-left: 2px solid var(--metal-5); border-bottom: 2px solid var(--metal-5);
  transform: rotate(-45deg);
}

/* =========================================================
   CONTENT BLOCKS (prose)
   ========================================================= */
.content-blocks .container { max-width: 900px; }
.content-block { margin-bottom: clamp(40px, 6vw, 64px); }
.content-block:last-child { margin-bottom: 0; }
.content-block > h2 {
  position: relative; font-size: var(--font-size-h2); color: var(--text-dark);
  padding-left: 20px; margin-bottom: 18px;
}
.content-block > h2::before {
  content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px;
  background: linear-gradient(180deg, #E8E8EA, #9A9CA0 55%, #6E7074); border-radius: 4px;
}
.content-block p { color: var(--text-muted); font-size: 1.06rem; }
.content-block p strong { color: var(--text-dark); }
.section--dark .content-block p { color: var(--prata-clara); }
.section--dark .content-block p strong { color: #fff; }

/* checklist-style bullet lists inside prose */
.content-block ul.check { list-style: none; padding: 0; display: grid; gap: 12px; margin: 6px 0 1.15em; }
.content-block ul.check li { position: relative; padding-left: 30px; color: var(--text-muted); }
.content-block ul.check li strong { color: var(--text-dark); }
.content-block ul.check li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 9px;
  background: linear-gradient(145deg, #EDEDEE, #8A8C90); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
  border-radius: 50%;
}
.section--dark .content-block ul.check li::before { background: linear-gradient(145deg, #DCDDDF, #7A7C80); }

/* Text + image side by side (design 2.3 / 2.5) */
.split { display: grid; grid-template-columns: 1fr 1.18fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--reverse { grid-template-columns: 1.18fr 1fr; }
.split--reverse .split-media { order: -1; }
.split-text h2 { position: relative; padding-left: 20px; font-size: var(--font-size-h2); color: var(--text-dark); }
.split-text h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px; background: linear-gradient(180deg, #E8E8EA, #9A9CA0 55%, #6E7074); border-radius: 4px; }
.split-text p { color: var(--text-muted); font-size: 1.06rem; }

/* Galeria de fotos da unidade */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.gallery-item { margin: 0; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.gallery-item::after { content: ""; position: absolute; inset: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset; border-radius: var(--radius-card); pointer-events: none; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery { grid-template-columns: 1fr; } }

/* Media placeholder frame */
.media-frame { position: relative; }
.media-frame .media-ph, .media-frame img {
  width: 100%; aspect-ratio: 4/3.7; object-fit: cover; border-radius: var(--radius-card);
  box-shadow: var(--shadow-elevated); transition: transform .4s ease;
}
.media-frame:hover .media-ph, .media-frame:hover img { transform: scale(1.02); }
/* Fotos de contexto em tom prata (casam com a paleta preto/branco/prata) */
.ctx-img { filter: grayscale(1) contrast(1.05) brightness(1.02); }
.media-frame:hover .ctx-img { filter: grayscale(.72) contrast(1.05) brightness(1.03); }
.media-ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(520px 320px at 30% 18%, rgba(220,222,226,.20), transparent 60%),
    linear-gradient(150deg, #1b1b1b, #2c2c2c);
  color: var(--prata);
  border: 1px solid rgba(220,222,226,.12);
}
.media-ph .mono { font-family: var(--font-display); font-size: 2.4rem; letter-spacing: 1px; color: transparent; background: linear-gradient(180deg, #ffffff, #b7b9bd); -webkit-background-clip: text; background-clip: text; }
.media-ph small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--prata-escura); margin-top: 8px; }
.split--reverse .media-frame::before {
  content: ""; position: absolute; left: -12px; bottom: -12px; width: 100%; height: 100%;
  border: 3px solid transparent; border-radius: var(--radius-card); z-index: -1;
  background: linear-gradient(145deg, #E8E8EA, #9A9CA0) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* =========================================================
   CARDS (3-col) — serviços / diferenciais
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-cards); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--branco); padding: clamp(28px, 3vw, 40px) clamp(22px, 2.5vw, 32px);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card); text-align: center;
  border-top: 3px solid transparent; transition: var(--transition);
  display: flex; flex-direction: column;
}
.card { background: linear-gradient(180deg, #ffffff, #f7f8f9); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); border-top-color: var(--metal-4); }
.card-icon {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  background: linear-gradient(145deg, #f4f4f5, #d8dadd);
  box-shadow: 0 2px 6px rgba(0,0,0,.10), 0 1px 0 rgba(255,255,255,.8) inset;
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 34px; height: 34px; color: var(--grafite); }
.card h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--font-size-h3); color: var(--text-dark); margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: .98rem; margin-bottom: 16px; }
.card .card-link { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--grafite); display: inline-flex; align-items: center; gap: 6px; }
.card .card-link:hover { gap: 10px; color: #000; }
a.card { text-decoration: none; }
a.card h3, a.card p { color: inherit; }
a.card p { color: var(--text-muted); }

.section-closer { text-align: center; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.2rem; color: var(--prata-escura); max-width: 720px; margin: 44px auto 0; }
.section--dark .section-closer { color: var(--prata); }

/* Divider decorativo */
.rule-accent { width: 90px; height: 2px; background: linear-gradient(90deg, transparent, #C4C6C9 20%, #E8E8EA 50%, #C4C6C9 80%, transparent); margin: 24px auto; border: 0; }

/* Lírios de fundo discretos em TODAS as seções escuras */
.section--dark { overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('/assets/img/lirios.svg') center bottom / 100% auto no-repeat;
  opacity: .24;
}
.section--dark > .container { position: relative; z-index: 1; }

/* Lírios escuros de fundo (para seções claras) */
.has-lilies-dark { overflow: hidden; }
.has-lilies-dark::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('/assets/img/lirios-dark.svg') center bottom / cover no-repeat;
  opacity: .09;
}
.has-lilies-dark > .container { position: relative; z-index: 1; }

/* Seção "região": texto à esquerda, lista à direita */
.region-section .split-text h2 { color: #fff; }
.region-section .split-text p { color: var(--prata-clara); }
.region-list { margin: 0; }
.region-list ul.check { gap: 4px; }
.region-list ul.check li {
  color: var(--prata-clara);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 14px 16px 14px 34px;
}
.region-list ul.check li::before { left: 14px; top: 1.05em; }

/* Destaques em prata nas seções escuras (o preto some no fundo escuro) */
.section--dark strong,
.section--dark .content-block ul.check li strong,
.section--dark .content-block p strong,
.section--dark .split-text p strong,
.section--dark .centered-copy strong {
  color: transparent;
  background: linear-gradient(180deg, #ffffff, #b8babe);
  -webkit-background-clip: text; background-clip: text;
}
.section--dark .content-block ul.check li { color: var(--prata-clara); }

/* Centered dark block (credibilidade) */
.centered-copy { max-width: 720px; margin: 0 auto; text-align: center; }
.centered-copy p { color: var(--prata-clara); font-size: 1.08rem; }

/* =========================================================
   PARA APROFUNDAR
   ========================================================= */
.post-related { max-width: 900px; margin: 0 auto; }

/* Seção "Para aprofundar" — discreta, abaixo do FAQ */
.related-section { padding: clamp(28px, 4vw, 44px) 0; background: var(--branco); border-top: 1px solid var(--border-subtle); }
.related-section .post-related > h2 {
  font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted); text-align: left; margin-bottom: 14px;
}
.related-section .post-related ul { gap: 6px; }
.related-section .post-related li {
  background: transparent; border: 0; border-left: 2px solid var(--metal-4);
  border-radius: 0; padding: 5px 0 5px 14px; font-size: .9rem; color: var(--text-muted);
  box-shadow: none;
}
.related-section .post-related li::before { display: none; }
.related-section .post-related li:hover { transform: none; box-shadow: none; border-left-color: var(--grafite); }
.related-section .post-related li a { font-weight: 600; }
.post-related > h2 { font-size: var(--font-size-h2); text-align: center; margin-bottom: 28px; color: var(--text-dark); }
.post-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.post-related li {
  position: relative; background: linear-gradient(180deg, #ffffff, #f7f8f9); border: 1px solid var(--border-subtle);
  border-radius: 8px; padding: 18px 22px 18px 25px; color: var(--text-muted); transition: var(--transition); overflow: hidden;
}
.post-related li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #E8E8EA, #9A9CA0 55%, #6E7074); }
.post-related li:hover { box-shadow: var(--shadow-card); transform: translateX(4px); }
.post-related li a { font-weight: 700; color: var(--text-dark); text-decoration: none; }
.post-related li a:hover { color: #000; }

/* =========================================================
   FAQ
   ========================================================= */
.s-faq { max-width: 860px; margin: 0 auto; }
.s-faq > h2 { text-align: center; font-size: var(--font-size-h2); margin-bottom: 32px; color: var(--text-dark); }
.faq-item {
  background: var(--branco); border: 1px solid var(--border-subtle); border-radius: 10px;
  margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s ease;
}
.faq-item[open] { box-shadow: var(--shadow-card); border-color: var(--metal-4); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  display: block;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q-title { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--text-dark); margin: 0; display: inline; }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 26px; width: 12px; height: 12px;
  border-right: 2px solid var(--metal-5); border-bottom: 2px solid var(--metal-5);
  transform: rotate(45deg); transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover .faq-q-title { color: var(--metal-5); }
.faq-item > p { margin: 0; padding: 0 24px 22px; color: var(--text-muted); }

/* =========================================================
   BYLINE (E-E-A-T)
   ========================================================= */
.s-author { max-width: 860px; margin: clamp(30px, 4vw, 46px) auto 0; }
.s-author-inner {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #F1F2F3, #E4E6E8);
  color: var(--text-muted); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: clamp(16px, 2.4vw, 24px) clamp(20px, 3vw, 30px);
}
/* barra lateral em gradiente preto */
.s-author-inner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #4A4A4A, #1A1A1A 55%, #000000); }
.s-author-role { font-family: var(--font-body); font-weight: 700; font-size: .68rem; letter-spacing: 1px; text-transform: uppercase; color: var(--metal-5); margin-bottom: 7px; }
.s-author-name { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: 1.02rem; color: var(--grafite); margin-bottom: 9px; line-height: 1.3; }
.s-author-bio { color: var(--text-muted); font-size: .88rem; line-height: 1.55; margin-bottom: 7px; }
.s-author-bio strong { color: var(--text-dark); }
.s-author-bio a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--metal-4); }
.s-author-meta { font-size: .76rem; color: var(--prata-escura); margin: 0; }

/* =========================================================
   CTA BAND (final)
   ========================================================= */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 320px at 50% -12%, rgba(226,228,232,.14), transparent 62%),
    linear-gradient(160deg, rgba(12,12,12,.90), rgba(6,6,6,.94)),
    url('/assets/img/cta-final.jpg') center center / cover no-repeat;
  color: #fff; text-align: center; padding: var(--section-padding);
  border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);
}
.cta-band h2 { text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.cta-band .cta-final { text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.cta-band .container { max-width: 820px; }
.cta-band h2 { color: #fff; font-size: var(--font-size-h2); margin-bottom: 16px; }
.cta-band .cta-final { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 28px; }
.cta-band .cta-final a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* =========================================================
   CONTATO — endereços / mapa
   ========================================================= */
.units-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-cards); }
.unit-card {
  background: linear-gradient(180deg, #ffffff, #f7f8f9); border: 1px solid var(--border-subtle); border-radius: var(--radius-card);
  padding: 0; overflow: hidden; box-shadow: var(--shadow-card); border-top: 3px solid var(--metal-4);
}
.unit-map iframe { width: 100%; height: 200px; border: 0; display: block; }
.unit-info { padding: 20px 24px 24px; }

/* Contato: duas colunas (texto resumido + cards de contato) */
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: center; }
.contact-cols .content-block { margin: 0; }
.contact-cols .contact-lines { max-width: none; margin: 0; }
@media (max-width: 820px) { .contact-cols { grid-template-columns: 1fr; } }
.unit-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; color: var(--text-dark); margin-bottom: 10px; }
.unit-card address { font-style: normal; color: var(--text-muted); font-size: .96rem; margin-bottom: 16px; }
.unit-card a.map-link { font-weight: 600; font-size: .9rem; }
.map-embed { margin-top: 40px; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

.contact-lines { max-width: 760px; margin: 0 auto 8px; display: grid; gap: 12px; }
.contact-line { display: flex; align-items: center; gap: 14px; background: var(--branco); border: 1px solid var(--border-subtle); border-radius: 10px; padding: 16px 20px; }
.contact-line { background: linear-gradient(180deg, #ffffff, #f7f8f9); }
.contact-line svg { width: 22px; height: 22px; color: var(--grafite); flex-shrink: 0; }
.contact-line .cl-label { font-size: .72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); }
.contact-line .cl-value { font-weight: 700; color: var(--text-dark); font-size: 1.05rem; }
.contact-line .cl-value a { color: var(--text-dark); }
.contact-line .cl-value a:hover { color: var(--accent); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--bg-footer); color: var(--prata); padding: clamp(50px, 7vw, 80px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand-name { font-family: var(--font-display); color: #fff; font-size: 1.6rem; font-weight: 600; }
.footer-brand .brand-name small { display: block; font-family: var(--font-body); font-size: .58rem; letter-spacing: 3px; text-transform: uppercase; color: var(--prata-escura); margin-top: 3px; }
.footer-tagline { margin: 16px 0 20px; font-size: .95rem; color: var(--prata); max-width: 320px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--prata); }
.footer-social a:hover { color: #141414; border-color: rgba(255,255,255,.6); background: var(--metal-grad); box-shadow: var(--metal-glow); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col ul a { color: var(--prata); font-size: .92rem; }
.footer-col ul a:hover { color: #fff; }
.footer-contact p { margin: 0 0 10px; font-size: .92rem; }
.footer-contact strong { color: #fff; display: block; font-size: 1.05rem; }
.footer-contact a { color: var(--prata); }
.footer-contact a:hover { color: #fff; }
.footer-contact .btn { margin-top: 10px; padding: 12px 22px; font-size: .92rem; }
.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.footer-bottom, .footer-bottom a { color: var(--prata-escura); font-size: var(--font-size-small); }
.footer-bottom a:hover { color: var(--prata); }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 20px 9px 9px; border-radius: 100px;
  background: linear-gradient(150deg, #25D366, #128C7E);
  color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  text-decoration: none; box-shadow: 0 6px 20px rgba(18,140,126,.45);
}
.wa-float .wa-ico {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
}
.wa-float .wa-ico svg { width: 26px; height: 26px; color: #fff; }
.wa-float .wa-label { white-space: nowrap; line-height: 1; }
.wa-float:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 9px 28px rgba(18,140,126,.6); }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 6px 20px rgba(18,140,126,.45); } 8% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 16% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
.wa-float { animation: wa-pulse 5s ease-in-out infinite; }
@media (max-width: 480px) {
  .wa-float { padding: 8px 16px 8px 8px; font-size: .85rem; gap: 8px; bottom: 16px; right: 16px; }
  .wa-float .wa-ico { width: 36px; height: 36px; }
  .wa-float .wa-ico svg { width: 23px; height: 23px; }
}

/* =========================================================
   ANIMATIONS (reveal)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .cards, .units-grid { grid-template-columns: repeat(2, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; z-index: 1101; }
  .brand-logo { height: 40px; }
  .header-phone .hp-label { display: none; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
    background: var(--preto); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: calc(var(--header-h) + 20px) 26px 40px; z-index: 1100;
    transform: translateX(100%); transition: transform .35s ease; overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,.5);
  }
  body.menu-open .main-nav { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .nav-list > li > a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-list > li > a::after { display: none; }
  .has-dropdown > a .caret { margin-left: auto; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; min-width: 0;
    background: transparent; box-shadow: none; border-left: 2px solid rgba(220,222,226,.35);
    border-radius: 0; margin: 2px 0 8px 8px; padding: 0 0 0 8px;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .has-dropdown.open .dropdown { max-height: 500px; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
  .dropdown li a { padding: 10px 8px; }
  .nav-mobile-phone { display: block; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav-mobile-phone .hp-label { display: block; font-size: .62rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--prata); }
  .nav-mobile-phone .hp-number { color: #fff; font-weight: 700; font-size: 1.15rem; }
  body.menu-open .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1050; }
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split--reverse .media-frame::before { display: none; }
  .cards, .cards--4, .units-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .hero { min-height: 92vh; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .brand-logo { height: 36px; }
}
@media (max-width: 440px) {
  .brand-logo { height: 32px; }
  .header-cta { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
