/* ============================================================
   OBJETIVA CONTABILIDADE — Design System
   Identidade monocromática premium (preto · grafite · prata · branco)
   ============================================================ */

:root {
  /* Cores — extraídas da logo (preto + prata metálico + branco) */
  --bg-primary:    #0B0B0D;
  --bg-secondary:  #101216;
  --bg-elevated:   #16181D;
  --bg-card:       #14161B;

  --text-primary:  #F4F6F8;
  --text-secondary:#B9C0C8;
  --text-muted:    #7C848E;

  --silver:        #C7CDD4;
  --silver-bright: #E9ECEF;
  --silver-deep:   #8A929B;

  --accent:        #C7CDD4;
  --accent-hover:  #FFFFFF;

  --border-subtle: rgba(199, 205, 212, 0.10);
  --border-strong: rgba(199, 205, 212, 0.22);

  /* Gradiente metálico prata */
  --metal: linear-gradient(135deg, #E9ECEF 0%, #B4BBC3 38%, #8A929B 62%, #D6DBE0 100%);
  --metal-line: linear-gradient(90deg, transparent, rgba(199,205,212,0.5), transparent);

  /* Tipografia */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Escala modular (1.25) */
  --fs-overline: 0.78rem;
  --fs-caption:  0.86rem;
  --fs-body:     1rem;
  --fs-body-l:   1.15rem;
  --fs-h4:       1.35rem;
  --fs-h3:       1.7rem;
  --fs-h2:       2.4rem;
  --fs-h1:       clamp(2.4rem, 5.2vw, 4rem);
  --fs-display:  clamp(2.8rem, 7vw, 5.2rem);

  /* Espaçamento 8pt */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 16px; --sp-4: 24px;
  --sp-5: 32px; --sp-6: 48px; --sp-7: 64px; --sp-8: 96px; --sp-9: 128px;

  --radius-s: 6px;
  --radius:   12px;
  --radius-l: 20px;
  --radius-full: 999px;

  --shadow-1: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-2: 0 12px 30px rgba(0,0,0,0.45);
  --shadow-3: 0 28px 60px rgba(0,0,0,0.55);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-secondary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--text-primary); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Utilitários ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-4); }
.section { padding-block: var(--sp-8); position: relative; }
.section-tight { padding-block: var(--sp-7); }
.bg-alt { background: var(--bg-secondary); }
.center { text-align: center; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--silver); color: #000; padding: 10px 18px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: var(--fs-overline); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--silver-deep);
}
.overline::before { content: ""; width: 28px; height: 1px; background: var(--metal); }
.overline.center-line::before { display: none; }

.section-head { max-width: 720px; margin-bottom: var(--sp-6); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: var(--fs-h2); margin: var(--sp-3) 0 var(--sp-3); }
.section-head p { font-size: var(--fs-body-l); color: var(--text-secondary); }

.text-metal {
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
em { font-style: normal; }
h1 em, h2 em, .cta-title em { color: var(--silver-bright); font-style: italic; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 13px 22px; border-radius: var(--radius-full);
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn .ic { flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-solid { background: var(--metal); color: #0A0A0A; box-shadow: 0 6px 20px rgba(199,205,212,0.18); }
.btn-solid:hover { box-shadow: 0 10px 28px rgba(199,205,212,0.30); }

.btn-ghost { border: 1px solid var(--border-strong); color: var(--text-primary); }
.btn-ghost:hover { border-color: var(--silver); background: rgba(199,205,212,0.06); }

.btn-vip {
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  background: linear-gradient(180deg, rgba(199,205,212,0.10), rgba(199,205,212,0.02));
  position: relative;
}
.btn-vip::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; background: var(--metal);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55; transition: opacity .2s var(--ease);
}
.btn-vip:hover { color: #fff; }
.btn-vip:hover::after { opacity: 1; }

.btn-lg { padding: 16px 30px; font-size: 1rem; }

/* Foco acessível */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--silver); outline-offset: 3px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,13,0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(11,11,13,0.94); border-color: var(--border-strong); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 44px; width: auto; transition: opacity .2s var(--ease); }
.brand:hover .brand-logo { opacity: .85; }

.nav-main { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: var(--sp-2); }
.nav-menu > li > a {
  display: inline-block; padding: 10px 14px; border-radius: var(--radius-s);
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  color: var(--text-secondary); position: relative; transition: color .2s var(--ease);
}
.nav-menu > li > a:hover { color: var(--text-primary); }
.nav-menu > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
  background: var(--metal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-menu > li > a:hover::after,
.nav-menu > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-menu > li > a[aria-current="page"] { color: var(--text-primary); }

.nav-vip-desktop { margin-left: var(--sp-2); }
.nav-vip-mobile { display: none; }
.nav-toggle { display: none; padding: 8px; border-radius: var(--radius-s); color: var(--text-primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-block: clamp(72px, 12vh, 140px) var(--sp-8); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(199,205,212,0.10), transparent 60%),
    radial-gradient(50% 60% at 12% 100%, rgba(199,205,212,0.06), transparent 60%),
    var(--bg-primary);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
  mask: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}
.hero-inner { max-width: 860px; }
.hero h1 { font-size: var(--fs-h1); font-weight: 800; margin: var(--sp-4) 0 var(--sp-4); }
.hero-lead { font-size: var(--fs-body-l); color: var(--text-secondary); max-width: 620px; margin-bottom: var(--sp-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: var(--sp-6);
  margin-top: var(--sp-8); padding-top: var(--sp-5);
  border-top: 1px solid var(--border-subtle);
}
.hero-stat .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.hero-stat .num em { color: var(--silver); }
.hero-stat .lbl { font-size: var(--fs-caption); color: var(--text-muted); margin-top: 6px; }

/* Hero em duas colunas (texto + carrossel de vídeo) */
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: var(--sp-7); align-items: center; }
.hero-grid .hero-inner { max-width: none; }
.hero-media { position: relative; }

/* Carrossel de vídeo (mudo, autoplay) */
.vcar { position: relative; }
.vcar-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--border-subtle); background: #0e0f13; box-shadow: var(--shadow-3);
}
.vcar-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s var(--ease);
}
.vcar-video.active { opacity: 1; }
.vcar-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,10,.4), transparent 22%, transparent 76%, rgba(8,8,10,.55));
}
.vcar-tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(11,11,13,.62); backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong); border-radius: var(--radius-full);
  padding: 7px 13px; font-family: var(--font-display); font-weight: 600; font-size: .8rem; color: #fff;
}
.vcar-tag .ic { color: var(--silver); }
.vcar-dots { display: flex; gap: 8px; justify-content: center; margin-top: var(--sp-3); }
.vcar-dot { width: 22px; height: 4px; border-radius: 4px; background: var(--border-strong); transition: background .3s var(--ease), width .3s var(--ease); cursor: pointer; border: none; padding: 0; }
.vcar-dot.active { background: var(--metal); width: 30px; }

/* ============================================================
   TIRA DE MARCAS / CONFIANÇA
   ============================================================ */
.trust-band { border-block: 1px solid var(--border-subtle); background: var(--bg-secondary); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-block: var(--sp-4); }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--text-secondary); font-size: var(--fs-caption); }
.trust-item .ic { color: var(--silver); }

/* ============================================================
   CARDS — SERVIÇOS
   ============================================================ */
.grid { display: grid; gap: var(--sp-4); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-l);
  padding: var(--sp-5);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--metal-line); opacity: 0; transition: opacity .35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--bg-elevated); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: var(--sp-4);
  color: var(--silver-bright);
  background: linear-gradient(180deg, rgba(199,205,212,0.14), rgba(199,205,212,0.03));
  border: 1px solid var(--border-subtle);
  transition: transform .35s var(--ease);
}
.card:hover .card-icon { transform: scale(1.06); }
.card h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.card p { font-size: 0.98rem; color: var(--text-secondary); }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: var(--sp-3);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--silver);
}
.card-link .ic { transition: transform .2s var(--ease); }
.card:hover .card-link .ic { transform: translateX(4px); }

/* Índice numerado (serviços/etapas) */
.card .card-index {
  position: absolute; top: var(--sp-4); right: var(--sp-5);
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--border-strong);
}

/* ============================================================
   SOBRE / SPLIT
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-7); align-items: center; }
.about-media {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--border-subtle); background: var(--bg-secondary); aspect-ratio: 4 / 3;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.05); }
.about-media--portrait { aspect-ratio: 4 / 5; }
.about-media--portrait img { filter: grayscale(0.15) contrast(1.03); }
.about-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,11,13,0.55)); }
.about-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: rgba(11,11,13,0.72); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: 14px 18px;
}
.about-badge .num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--silver-bright); line-height: 1; }
.about-badge .lbl { font-size: var(--fs-caption); color: var(--text-secondary); }
.feature-list { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .ic { color: #0A0A0A; background: var(--metal); border-radius: 50%; padding: 4px; width: 26px; height: 26px; flex-shrink: 0; }
.feature-list b { color: var(--text-primary); font-weight: 600; font-family: var(--font-display); }

/* ============================================================
   VALORES
   ============================================================ */
.value-card { text-align: left; }
.value-card .vnum { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; color: var(--silver-deep); letter-spacing: .1em; }
.value-card h3 { font-size: var(--fs-h4); margin: var(--sp-2) 0; }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.quote-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-l); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-4); }
.quote-card .stars { display: flex; gap: 3px; color: var(--silver); }
.quote-card .stars .ic { fill: var(--silver); }
.quote-card blockquote { font-size: var(--fs-body-l); color: var(--text-primary); line-height: 1.5; }
.quote-card .author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-card .avatar { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; }
.quote-card span.avatar { background: var(--metal); color: #0A0A0A; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.quote-card img.avatar { object-fit: cover; object-position: center 25%; border: 1px solid var(--border-strong); }
.quote-card .author b { display: block; color: var(--text-primary); font-family: var(--font-display); font-size: 0.95rem; }
.quote-card .author span { font-size: var(--fs-caption); color: var(--text-muted); }

/* ============================================================
   DESTAQUE — REGISTRO DE MARCA
   ============================================================ */
.brand-feature {
  position: relative; overflow: hidden;
  background: var(--bg-secondary);
  border-block: 1px solid var(--border-subtle);
}
.brand-feature::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 70% at 82% 40%, rgba(199,205,212,0.08), transparent 60%);
}
.brand-feature-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-7); align-items: center;
}
.brand-feature-text .overline span { color: var(--silver-bright); font-size: 1.05em; }
.brand-feature-text h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin: var(--sp-3) 0 var(--sp-3); }
.brand-feature-lead { font-size: var(--fs-body-l); color: var(--text-secondary); margin-bottom: var(--sp-4); max-width: 520px; }
.brand-feature-text .hero-actions { margin-top: var(--sp-5); }

.brand-feature-media { position: relative; max-width: 400px; margin-inline: auto; aspect-ratio: 4 / 5; }
.brand-feature-media img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  border-radius: var(--radius-l); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-3);
}
.brand-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(11,11,13,0.74); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong); border-radius: var(--radius-full);
  padding: 10px 16px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--text-primary);
}
.brand-badge .r {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--metal); color: #0A0A0A; font-weight: 800; font-size: 0.85rem;
}

/* ============================================================
   ESPECIALIDADES — CARROSSEL
   ============================================================ */
.spec-carousel { position: relative; }
.spec-track {
  display: flex; gap: var(--sp-4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 4px; margin: -4px;
}
.spec-track::-webkit-scrollbar { display: none; }
.spec-track:focus-visible { outline: 2px solid var(--silver); outline-offset: 2px; border-radius: var(--radius); }
.spec-card { flex: 0 0 calc((100% - 3 * var(--sp-4)) / 4); scroll-snap-align: start; }
.spec-img {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--border-subtle); background: linear-gradient(135deg, #16181D, #0e0f13);
}
.spec-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--border-strong); z-index: 0; }
.spec-img img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.02) brightness(.92);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.spec-card:hover .spec-img img { filter: grayscale(.15) contrast(1.05); transform: scale(1.05); }
.spec-img::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 38%, rgba(8,8,10,.88));
}
.spec-img.no-img::after { background: linear-gradient(180deg, transparent 45%, rgba(8,8,10,.7)); }
.spec-label {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #fff; line-height: 1.25;
}
.spec-label::before { content: ""; display: block; width: 26px; height: 2px; background: var(--metal); border-radius: 2px; margin-bottom: 10px; }

.spec-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(11,11,13,.82); backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong); color: var(--text-primary);
  box-shadow: var(--shadow-2); transition: opacity .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.spec-arrow:hover { border-color: var(--silver); color: #fff; }
.spec-arrow.prev { left: -6px; }
.spec-arrow.next { right: -6px; }
.spec-arrow:disabled { opacity: 0; pointer-events: none; }

.spec-dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--sp-5); }
.spec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); transition: width .25s var(--ease), background .25s var(--ease); }
.spec-dot.active { width: 26px; border-radius: 6px; background: var(--metal); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.post-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-l); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.post-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.post-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-secondary); position: relative; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: transform .5s var(--ease), filter .5s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); filter: grayscale(0); }
.post-thumb.placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #16181D, #0e0f13); }
.post-thumb.placeholder .ic { color: var(--border-strong); }
.post-body { padding: var(--sp-4); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: var(--fs-caption); color: var(--text-muted); }
.post-source { color: var(--silver); font-weight: 600; font-family: var(--font-display); }
.post-source::after { content: "·"; margin-left: 10px; color: var(--text-muted); }
.post-card h3 { font-size: 1.12rem; line-height: 1.3; color: var(--text-primary); }
.post-card h3 a { transition: color .2s var(--ease); }
.post-card:hover h3 a { color: var(--silver-bright); }
.post-card p { font-size: 0.94rem; color: var(--text-secondary); }
.post-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--silver); }
.post-more .ic { transition: transform .2s var(--ease); }
.post-card:hover .post-more .ic { transform: translateX(4px); }

.blog-hero-feature { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.blog-hero-feature .post-thumb { aspect-ratio: auto; height: 100%; min-height: 320px; }
.blog-hero-feature .post-body { padding: var(--sp-6); justify-content: center; }
.blog-hero-feature h3 { font-size: var(--fs-h3); }

.blog-note { display: flex; align-items: center; gap: 10px; font-size: var(--fs-caption); color: var(--text-muted); margin-top: var(--sp-5); justify-content: center; }
.blog-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf6b; box-shadow: 0 0 0 4px rgba(62,207,107,0.15); }

.feed-error { text-align: center; padding: var(--sp-7); border: 1px dashed var(--border-strong); border-radius: var(--radius-l); color: var(--text-secondary); }

/* Paginação */
.pager { display: flex; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-6); }
.pager a, .pager span {
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-s); border: 1px solid var(--border-subtle); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: var(--text-secondary); transition: all .2s var(--ease);
}
.pager a:hover { border-color: var(--silver); color: var(--text-primary); }
.pager .current { background: var(--metal); color: #0A0A0A; border-color: transparent; }
.pager .disabled { opacity: .4; pointer-events: none; }

/* ============================================================
   PÁGINA — CABEÇALHO INTERNO
   ============================================================ */
.page-hero { padding-block: var(--sp-8) var(--sp-6); position: relative; border-bottom: 1px solid var(--border-subtle); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
  background: radial-gradient(50% 80% at 80% 0%, rgba(199,205,212,0.08), transparent 60%), var(--bg-primary);
}
.breadcrumb { display: flex; gap: 8px; font-size: var(--fs-caption); color: var(--text-muted); margin-bottom: var(--sp-3); }
.breadcrumb a:hover { color: var(--silver); }
.page-hero h1 { font-size: var(--fs-h1); font-weight: 800; }
.page-hero p { font-size: var(--fs-body-l); color: var(--text-secondary); max-width: 640px; margin-top: var(--sp-3); }

/* ============================================================
   CONTATO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: start; }
.contact-cards { display: grid; gap: var(--sp-3); }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: var(--sp-4); border: 1px solid var(--border-subtle); border-radius: var(--radius); background: var(--bg-card); transition: border-color .25s var(--ease); }
.contact-line:hover { border-color: var(--border-strong); }
.contact-line .ic-wrap { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: var(--silver-bright); background: linear-gradient(180deg, rgba(199,205,212,0.12), rgba(199,205,212,0.02)); border: 1px solid var(--border-subtle); }
.contact-line b { display: block; color: var(--text-primary); font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 2px; }
.contact-line span, .contact-line a { color: var(--text-secondary); font-size: 0.95rem; }
.contact-line a:hover { color: var(--silver); }

.form { display: grid; gap: var(--sp-3); background: var(--bg-card); border: 1px solid var(--border-subtle); padding: var(--sp-5); border-radius: var(--radius-l); }
.form .field { display: grid; gap: 6px; }
.form label { font-family: var(--font-display); font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-s);
  background: var(--bg-primary); border: 1px solid var(--border-strong); color: var(--text-primary); font: inherit;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--silver); background: var(--bg-secondary); outline: none; }
.form textarea { resize: vertical; min-height: 130px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.form-note { font-size: var(--fs-caption); color: var(--text-muted); }
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 0.95rem; display: flex; gap: 10px; align-items: center; }
.alert-success { background: rgba(62,207,107,0.10); border: 1px solid rgba(62,207,107,0.35); color: #b8f0cc; }
.alert-success .ic { color: #3ecf6b; }

.map-embed { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--border-subtle); margin-top: var(--sp-6); }
.map-embed iframe { display: block; width: 100%; height: 360px; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { border-top: 1px solid var(--border-subtle); background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary)); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5); padding-block: var(--sp-8); }
.cta-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #08080A; border-top: 1px solid var(--border-subtle); padding-top: var(--sp-8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: var(--sp-6); padding-bottom: var(--sp-7); }
.footer-brand img { height: 44px; width: auto; margin-bottom: var(--sp-3); }
.footer-tagline { font-size: 0.95rem; color: var(--text-muted); max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: var(--sp-4); }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-subtle); color: var(--text-secondary); transition: all .2s var(--ease); }
.footer-social a:hover { border-color: var(--silver); color: var(--silver-bright); transform: translateY(-2px); }
.footer-col h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--silver-deep); margin-bottom: var(--sp-3); font-weight: 700; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a:hover { color: var(--silver); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; margin-bottom: 4px; }
.footer-contact .ic { color: var(--silver-deep); flex-shrink: 0; margin-top: 2px; }
.footer-vip { margin-top: var(--sp-4); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2); padding-block: var(--sp-4); border-top: 1px solid var(--border-subtle); font-size: var(--fs-caption); color: var(--text-muted); }

/* ---------- WhatsApp flutuante ---------- */
.wpp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  transition: transform .2s var(--ease); animation: pop-in .4s var(--ease) .5s backwards;
}
.wpp-float:hover { transform: scale(1.08) translateY(-2px); }
@keyframes pop-in { from { transform: scale(0); opacity: 0; } }

/* ============================================================
   REVEAL ON SCROLL (progressive enhancement)
   Sem JS o conteúdo aparece normalmente; só esconde quando há .js
   ============================================================ */
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero-media { max-width: 420px; margin-inline: auto; width: 100%; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-hero-feature { grid-column: span 2; grid-template-columns: 1fr; }
  .blog-hero-feature .post-thumb { min-height: 240px; }
  .split { grid-template-columns: 1fr; gap: var(--sp-5); }
  .about-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .spec-card { flex-basis: calc((100% - var(--sp-4)) / 2); }
  .brand-feature-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .brand-feature-media { max-width: 360px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-vip-desktop { display: none; }
  .nav-vip-mobile { display: block; }
  .nav-menu {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-secondary); border-bottom: 1px solid var(--border-strong);
    padding: var(--sp-4); box-shadow: var(--shadow-3);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .28s var(--ease), opacity .28s var(--ease);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu > li > a { display: block; padding: 14px 12px; font-size: 1.05rem; }
  .nav-menu > li > a::after { display: none; }
  .nav-vip-mobile .btn { width: 100%; justify-content: center; margin-top: var(--sp-2); padding: 15px; }
  .brand-logo { height: 34px; }
}

@media (max-width: 620px) {
  :root { --fs-h2: 2rem; }
  .section { padding-block: var(--sp-7); }
  .grid-3, .grid-2, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .hero-stats { gap: var(--sp-4); }
  .hero-stat .num { font-size: 2rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .wpp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .spec-card { flex-basis: calc(100% - 44px); }
  .spec-arrow { display: none; }
}
