/* =========================================================
   JS Contabilidade — estilos
   ========================================================= */

:root {
  --bg:          #05080F;
  --bg-2:        #0A101C;
  --surface:     #0F1728;
  --surface-2:   #141E33;
  --border:      rgba(212, 175, 55, .18);
  --border-soft: rgba(255, 255, 255, .07);
  --gold:        #D4AF37;
  --gold-light:  #F1D27A;
  --gold-dark:   #A8832A;
  --gold-grad:   linear-gradient(135deg, #F1D27A 0%, #D4AF37 45%, #A8832A 100%);
  --text:        #E8EAF0;
  --text-muted:  #9AA3B5;
  --whatsapp:    #25D366;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius:    18px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter:    clamp(16px, 4vw, 32px);
  --header-h:  112px;
  --shadow:    0 24px 60px -24px rgba(0, 0, 0, .7);
  --ease:      cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: normal; }

::selection { background: var(--gold); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: .7rem 1rem; background: var(--gold); color: var(--bg); font-weight: 700;
  border-radius: 10px; text-decoration: none; transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.35rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn-lg { min-height: 54px; padding: .9rem 1.7rem; font-size: 1rem; }
.btn-gold {
  background: var(--gold-grad); color: #1a1406;
  box-shadow: 0 10px 30px -12px rgba(212, 175, 55, .65), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(212, 175, 55, .8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { border-color: var(--border); color: var(--gold-light); background: rgba(212,175,55,.04); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(212,175,55,.1); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 8, 15, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  height: var(--header-h); padding-block: 16px;
  transition: height .35s var(--ease);
}
.site-header.is-scrolled .nav-wrap { height: 84px; padding-block: 10px; }
.brand { display: block; flex: none; }
.brand img {
  width: clamp(120px, 14vw, 150px); height: auto; filter: drop-shadow(0 4px 18px rgba(212,175,55,.25));
  transition: width .35s var(--ease);
}
.site-header.is-scrolled .brand img { width: clamp(110px, 11vw, 120px); }

.main-nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.main-nav a:not(.btn) {
  position: relative; display: inline-block; padding: .5rem 0;
  font-weight: 600; font-size: .95rem; color: var(--text); text-decoration: none;
  transition: color .25s;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:not(.btn):hover, .main-nav a.is-current { color: var(--gold-light); }
.main-nav a:not(.btn):hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.nav-mobile-cta { display: none; }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.btn-nav { min-height: 44px; padding: .6rem 1.1rem; font-size: .9rem; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(255,255,255,.03);
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--gold-light);
  border-radius: 2px; transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  :root { --header-h: 88px; }
  .nav-wrap { padding-block: 12px; }
  .brand img { width: 118px; }
  .site-header.is-scrolled .nav-wrap { height: 74px; padding-block: 8px; }
  .site-header.is-scrolled .brand img { width: 104px; }
  .menu-toggle { display: block; }
  /* backdrop-filter cria um containing block e quebraria o menu fixo em tela cheia */
  .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5, 8, 15, .96); }
  .main-nav {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.2rem;
    padding: var(--header-h) var(--gutter) 2rem;
    background:
      radial-gradient(60% 40% at 50% 20%, rgba(212,175,55,.14), transparent 70%),
      var(--bg);
    visibility: hidden; opacity: 0;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
  .main-nav ul { flex-direction: column; align-items: center; gap: 1.1rem; }
  .main-nav a:not(.btn) { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; }
  .nav-mobile-cta { display: inline-flex; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .btn-nav span:not(.sr-only) { display: none; }
  .btn-nav { width: 44px; padding: 0; }
  .btn-nav .ico { width: 1.35em; height: 1.35em; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; isolation: isolate; }
.hero-slider { position: relative; flex: 1; display: flex; align-items: flex-end; overflow: hidden; }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s linear 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease); }
.hero-media, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 70% center; transform-origin: 70% 50%; }

.hero-shade {
  z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,8,15,.96) 0%, rgba(5,8,15,.82) 38%, rgba(5,8,15,.25) 72%, rgba(5,8,15,.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5,8,15,0) 32%),
    linear-gradient(180deg, rgba(5,8,15,.75) 0%, rgba(5,8,15,0) 22%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 8vh, 5.5rem);
}
.hero-h1 {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(.78rem, 1.4vw, .95rem); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light);
}
.hero-h1::before { content: ""; width: 42px; height: 1px; background: var(--gold); flex: none; }

.hero-copy-stage { display: grid; margin-top: 1.4rem; max-width: 820px; }
.hero-copy { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.hero-copy.is-active { opacity: 1; visibility: visible; }
.hero-eyebrow {
  font-size: .85rem; font-weight: 600; color: var(--text-muted); letter-spacing: .04em; margin-bottom: .6rem;
}
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em;
  color: #fff; text-wrap: balance;
}
.hero-title em, .section-title em, .post h3 em {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title em { font-style: italic; }
.hero-sub { margin-top: 1.4rem; max-width: 560px; font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--text-muted); }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero-controls { display: flex; align-items: center; gap: .6rem; margin-top: clamp(2rem, 6vh, 3.5rem); }
.hero-arrow, .hero-pause {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(5,8,15,.45); color: var(--gold-light);
  transition: background-color .25s, border-color .25s;
}
.hero-arrow:hover, .hero-pause:hover { border-color: var(--gold); background: rgba(212,175,55,.12); }
.hero-dots { display: flex; gap: .2rem; }
.hero-dot { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; padding: 0; }
.hero-dot::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22);
  transition: background-color .3s, width .3s var(--ease);
}
.hero-dot[aria-selected="true"]::before { background: var(--gold); width: 38px; }
.pause-ico { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.hero-pause[aria-pressed="true"] .pause-ico {
  width: 0; height: 0; border-inline: 0;
  border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 2px; background: rgba(255,255,255,.06); }
.hero-progress span { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }

@media (max-width: 700px) {
  .hero-shade {
    background:
      linear-gradient(0deg, var(--bg) 4%, rgba(5,8,15,.88) 45%, rgba(5,8,15,.45) 100%),
      linear-gradient(180deg, rgba(5,8,15,.8) 0%, rgba(5,8,15,0) 25%);
  }
  .hero-ctas .btn { width: 100%; }
  .hero-controls { justify-content: center; }
}

/* ---------- Seções ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 10vw, 7.5rem); overflow: hidden; }
.section:nth-of-type(even) { background: var(--bg-2); }
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before, .section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; letter-spacing: -.005em; color: #fff;
  text-wrap: balance;
}
.section-title em { font-style: italic; }
.section-intro { margin-top: 1.1rem; color: var(--text-muted); font-size: 1.05rem; }
.lead { font-size: 1.12rem; color: var(--text); }

.glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; pointer-events: none; filter: blur(10px); opacity: .55; z-index: 0; }
.glow-left  { left: -320px; top: 10%; background: radial-gradient(circle, rgba(212,175,55,.16), transparent 65%); }
.glow-right { right: -320px; top: 0; background: radial-gradient(circle, rgba(212,175,55,.13), transparent 65%); }
.section > .container { position: relative; z-index: 1; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about-media { position: relative; }
.parallax { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.parallax img { width: 100%; height: 115%; object-fit: cover; }
.about-badge {
  position: absolute; right: -18px; bottom: 28px;
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  background: rgba(10,16,28,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  font-weight: 700; color: #fff; line-height: 1.3;
}
.about-badge .ico { color: var(--gold); width: 1.5rem; height: 1.5rem; }
.about-badge small { display: block; font-weight: 500; color: var(--text-muted); font-size: .82rem; }
.about-text .section-title { margin-bottom: 1.5rem; }
.about-text p + p { margin-top: 1.1rem; }
.about-text p:not(.eyebrow):not(.lead) { color: var(--text-muted); }

.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(3rem, 7vw, 5rem); }
.mvv-card {
  position: relative; padding: 2rem 1.75rem; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(15,23,40,.6) 100%);
  border: 1px solid var(--border-soft);
  transition: border-color .3s, transform .3s var(--ease);
}
.mvv-card:hover { border-color: var(--border); transform: translateY(-4px); }
.mvv-ico { width: 40px; height: 40px; color: var(--gold); margin-bottom: 1.1rem; }
.mvv-card h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: #fff; margin-bottom: .6rem; }
.mvv-card p { color: var(--text-muted); }
.mvv-card p + p { margin-top: .8rem; }
.check-list li { position: relative; padding-left: 1.5rem; color: var(--text-muted); }
.check-list li + li { margin-top: .45rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px;
  border-radius: 2px; background: var(--gold-grad); transform: rotate(45deg);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .about-badge { right: 12px; }
  .mvv { grid-template-columns: 1fr; }
}

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border-soft);
  transition: border-color .35s, box-shadow .35s;
  transform-style: preserve-3d; will-change: transform;
}
.service-card:hover { border-color: var(--border); box-shadow: 0 30px 70px -30px rgba(212,175,55,.35); }
.service-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface) 0%, transparent 55%); }
.service-ico {
  position: absolute; left: 1.5rem; top: 0; z-index: 1; transform: translateY(-50%);
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--border); color: var(--gold);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.8);
}
.service-ico svg { width: 28px; height: 28px; }
.service-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 2.4rem 1.5rem 1.6rem; }
.service-body h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.15; color: #fff; margin-bottom: .75rem; }
.service-body p { color: var(--text-muted); font-size: .96rem; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.3rem; align-self: flex-start;
  min-height: 44px; font-weight: 700; font-size: .92rem; color: var(--gold-light); text-decoration: none;
}
.service-link .ico { transition: transform .3s var(--ease); }
.service-link:hover .ico { transform: translateX(4px); }

@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Atendimento ---------- */
.reach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.reach-card {
  padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(212,175,55,.09), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
}
.reach-ico { width: 46px; height: 46px; color: var(--gold); margin-bottom: 1.2rem; }
.reach-card h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 600; line-height: 1.15; color: #fff; margin-bottom: .8rem; }
.reach-card p { color: var(--text-muted); }
.reach-meta { display: flex; align-items: center; gap: .55rem; margin-top: 1.2rem; color: var(--gold-light) !important; font-weight: 600; }
.reach-card .btn { margin-top: 1.5rem; }
@media (max-width: 800px) { .reach-grid { grid-template-columns: 1fr; } .reach-card .btn { width: 100%; white-space: normal; } }

/* ---------- Notícias (estilo Instagram) ---------- */
.news .container { max-width: 1440px; }
.news-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.news-track:focus-visible { outline-offset: 8px; }
.post {
  display: flex; flex-direction: column;
  background: #000; border: 1px solid var(--border-soft); border-radius: 14px; overflow: hidden;
  transition: border-color .3s, transform .35s var(--ease);
}
.post:hover { border-color: var(--border); transform: translateY(-4px); }
.post-head { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; }
.post-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
  padding: 2px; background: var(--gold-grad);
}
.post-user { font-size: .85rem; font-weight: 700; color: #fff; }
.post-media { position: relative; aspect-ratio: 1; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post-media img { transform: scale(1.05); }
.post-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.15rem;
  background: linear-gradient(0deg, rgba(3,5,10,.95) 0%, rgba(3,5,10,.75) 42%, rgba(3,5,10,.05) 75%);
}
.post-tag {
  align-self: flex-start; margin-bottom: .6rem; padding: .28rem .6rem; border-radius: 6px;
  background: var(--gold-grad); color: #1a1406;
  font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3;
}
.post h3 { font-family: var(--font-body); font-weight: 800; font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.22; color: #fff; letter-spacing: -.01em; }
.post-overlay--table { justify-content: flex-end; padding-bottom: .9rem; }
.post-overlay--table .post-tag { margin-bottom: .45rem; }
.hours { margin-top: .6rem; display: grid; gap: .3rem; }
.hours li {
  display: flex; align-items: baseline; gap: .2rem; padding: .25rem .65rem;
  border: 1px solid var(--border); border-radius: 8px; background: rgba(5,8,15,.6);
  font-size: .72rem; color: var(--text);
}
.hours span { flex: 1; }
.hours b { font-family: var(--font-display); font-size: 1.45rem; line-height: 1; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.hours i { font-style: normal; font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-light); }
.post-actions { display: flex; gap: .9rem; padding: .75rem .85rem .2rem; color: #fff; }
.post-actions svg { width: 22px; height: 22px; }
.post-actions .push { margin-left: auto; }
.post-caption { padding: .35rem .85rem 1rem; font-size: .84rem; line-height: 1.5; color: var(--text-muted); }
.post-caption strong { color: #fff; margin-right: .3rem; }

.news-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding: 1.5rem 1.75rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: radial-gradient(120% 140% at 100% 0%, rgba(212,175,55,.12), transparent 55%), var(--surface);
}
.news-cta p { font-size: 1.08rem; color: var(--text-muted); max-width: 560px; }
.news-cta p strong { color: var(--gold-light); }
.news-cta-btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Abaixo de 1200px vira carrossel com scroll-snap (10 cards não fecham grade) */
@media (max-width: 1199px) {
  .news-track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 1rem;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin; scrollbar-color: var(--gold-dark) transparent;
  }
  .post { flex: 0 0 300px; scroll-snap-align: start; }
}
@media (max-width: 700px) {
  .post { flex-basis: 82%; scroll-snap-align: center; }
  .post h3 { font-size: 1.1rem; }
  .news-cta-btns, .news-cta-btns .btn { width: 100%; }
}

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-card {
  display: flex; flex-direction: column; gap: .2rem; padding: 1.35rem 1.4rem;
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border-soft);
  text-decoration: none; transition: border-color .3s, transform .3s var(--ease), background-color .3s;
}
a.contact-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact-card--main { grid-column: 1 / -1; background: radial-gradient(120% 140% at 0% 0%, rgba(37,211,102,.12), transparent 55%), var(--surface); border-color: rgba(37,211,102,.3); }
.contact-card--main .contact-ico { color: var(--whatsapp); }
.contact-card--main .contact-value { font-size: clamp(1.6rem, 3vw, 2rem); }
.contact-card--wide { grid-column: 1 / -1; }
.contact-ico { width: 26px; height: 26px; color: var(--gold); margin-bottom: .5rem; }
.contact-label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.contact-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; line-height: 1.25; }
.contact-value--sm { font-family: var(--font-body); font-size: 1rem; font-weight: 600; word-break: break-word; }
.contact-hours { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; color: var(--gold-light); font-weight: 600; font-size: .95rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 380px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.4) invert(.92) hue-rotate(180deg) contrast(.9); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.site-footer { background: #03050A; border-top: 1px solid var(--border); padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1.5fr 1.2fr; gap: clamp(2rem, 4vw, 3rem); }
.footer-brand img { width: 170px; margin-bottom: 1.1rem; }
.footer-brand p { color: var(--text-muted); font-size: .92rem; max-width: 300px; }
.social {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: 1.2rem;
  border-radius: 12px; border: 1px solid var(--border); color: var(--gold-light);
  transition: background-color .25s, border-color .25s;
}
.social:hover { background: rgba(212,175,55,.12); border-color: var(--gold); }
.social svg { width: 22px; height: 22px; }
.footer-title { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col li + li { margin-top: .15rem; }
.footer-col li a { display: inline-block; padding-block: .3rem; }
.footer-links ul { columns: 2; column-gap: 1.5rem; }
.footer-links li { break-inside: avoid; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; color: var(--text-muted); font-size: .92rem; padding-block: .3rem; }
.footer-contact li a { padding: 0; }
.footer-contact .ico { color: var(--gold); margin-top: .3em; }
.footer-bottom { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--border-soft); padding-block: 1.4rem 6.5rem; }
.footer-bottom p { font-size: .84rem; color: var(--text-muted); text-align: center; }
.footer-credit { margin-top: .35rem; }
.footer-credit a { color: var(--gold-light); text-decoration: none; font-weight: 600; transition: color .2s; }
.footer-credit a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; } .footer-links ul { columns: 1; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 90;
  display: flex; align-items: center; gap: .6rem;
  height: 60px; padding: 0 18px; border-radius: 999px;
  background: var(--whatsapp); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.6), 0 4px 12px rgba(0,0,0,.4);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--whatsapp);
  opacity: 0; pointer-events: none;
}
.wa-float.pulse::before { animation: wa-pulse 2.4s var(--ease) infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
@media (max-width: 600px) { .wa-float { width: 60px; padding: 0; justify-content: center; } .wa-float-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float.pulse::before { animation: none; } }
