/* ==========================================================================
   jpmarcal.pt — Contabilista 3.0
   Folha de estilos principal (sem frameworks)
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Azuis suaves */
  --navy: #13243a;
  --navy-2: #1d3352;
  --blue-700: #2c5a8c;
  --blue-600: #3a6ea5;
  --blue-500: #5a8cc2;
  --blue-400: #86acd6;
  --blue-200: #c9dcf0;
  --blue-100: #e3edf8;
  --blue-50: #f2f7fc;
  /* Cinzas */
  --ink: #1b2533;
  --grey-700: #475467;
  --grey-600: #5f6b7c;
  --grey-500: #808b9b;
  --grey-300: #d3d9e1;
  --grey-200: #e5e9ef;
  --grey-100: #f3f5f8;
  --white: #ffffff;
  /* Apontamento (verde-água muito suave, da identidade) */
  --teal: #4f9fa8;
  --teal-50: #eaf5f6;

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(19, 36, 58, .06), 0 1px 3px rgba(19, 36, 58, .05);
  --shadow: 0 10px 30px -12px rgba(19, 36, 58, .18), 0 2px 6px rgba(19, 36, 58, .05);
  --shadow-lg: 0 30px 60px -20px rgba(19, 36, 58, .28);
  --container: 1200px;
  --header-h: 78px;
  --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) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--grey-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 750; letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 650; }
ul { padding-left: 1.2em; }
::selection { background: var(--blue-200); color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tint { background: var(--blue-50); }
.section--grey { background: var(--grey-100); }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--grey-600); line-height: 1.7; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--grey-600); font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
  --bg: var(--blue-600); --fg: #fff; --bd: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: 600 .98rem/1.2 var(--font); letter-spacing: -.005em; white-space: nowrap;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(58, 110, 165, .6); background: var(--blue-700); border-color: var(--blue-700); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--navy); --bd: var(--grey-300); }
.btn--ghost:hover { --fg: var(--blue-700); background: var(--white); border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.btn--light { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--light:hover { --fg: var(--navy); background: var(--blue-50); border-color: var(--blue-50); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { --fg: var(--navy); background: #fff; border-color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--grey-200); box-shadow: 0 4px 20px -12px rgba(19, 36, 58, .15); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 22px; max-width: 1400px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand__logo { display: block; width: min(224px, 62vw); max-width: 100%; height: auto; border-radius: 4px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 11px; border-radius: 999px;
  color: var(--grey-700); font-weight: 550; font-size: .92rem; white-space: nowrap;
}
.main-nav a:hover { color: var(--navy); background: var(--grey-100); }
.main-nav a[aria-current="page"] { color: var(--blue-700); background: var(--blue-100); }
.header-cta { display: flex; gap: 10px; flex: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--grey-200); background: #fff; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1440px) {
  .header-cta .btn--ghost .btn-label-long { display: none; }
  .main-nav a { padding: 8px 9px; font-size: .9rem; }
  .header-inner { gap: 16px; }
}
@media (max-width: 1320px) {
  .nav-toggle { display: inline-flex; }
  .main-nav, .header-cta { display: none; }
  .mobile-panel { display: block; }
}

.mobile-panel {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: rgba(255, 255, 255, .98); backdrop-filter: blur(10px);
  padding: 24px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav-open .mobile-panel { opacity: 1; visibility: visible; transform: none; }
.mobile-panel ul { list-style: none; margin: 0 0 24px; padding: 0; }
.mobile-panel li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--grey-200);
  font-size: 1.2rem; font-weight: 600; color: var(--navy);
}
.mobile-panel li a[aria-current="page"] { color: var(--blue-600); }
.mobile-panel .btn { width: 100%; margin-bottom: 12px; }
body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Hero (homepage)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(134, 172, 214, .28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(201, 220, 240, .5), transparent 60%),
    linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(58, 110, 165, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 110, 165, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-200);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero__tag b { background: var(--blue-600); color: #fff; padding: 4px 10px; border-radius: 999px; font-weight: 700; letter-spacing: .06em; }
.hero__tag i { font-style: normal; color: var(--blue-300, var(--blue-400)); }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.1rem, 3.5vw, 3.15rem); }
.hero h1 em { font-style: normal; color: var(--blue-600); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .22em; z-index: -1;
  background: linear-gradient(90deg, var(--blue-200), rgba(201, 220, 240, .3)); border-radius: 4px;
}
.hero .lead { max-width: 580px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 38px; font-size: .92rem; color: var(--grey-600); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--teal); }

/* Última notícia na página inicial */
.hero__side { min-width: 0; }
[data-news-spotlight]:not(:empty) { margin-bottom: 54px; }
.hero-news {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 4px 14px; padding: 14px 16px; border: 1px solid var(--blue-200);
  border-radius: 12px; background: #fff; color: var(--navy);
}
.hero-news:hover { border-color: var(--blue-400); background: var(--blue-100); }
.hero-news__label { color: var(--blue-700); font-size: .82rem; font-weight: 700; }
.hero-news__date { font-size: .8rem; color: var(--grey-600); }
.hero-news__title { line-height: 1.35; overflow-wrap: anywhere; }
.hero-news__arrow { display: inline-flex; justify-self: end; color: var(--blue-700); }
.hero-news__arrow svg { width: 20px; height: 20px; }

/* Painel "dashboard" ilustrativo */
.hero__visual { position: relative; }
.dash {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--grey-200);
}
.dash__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dash__title { font-weight: 700; color: var(--navy); font-size: .98rem; }
.dash__title small { display: block; font-weight: 500; color: var(--grey-500); font-size: .78rem; margin-top: 2px; }
.dash__live { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; color: var(--teal); background: var(--teal-50); padding: 6px 10px; border-radius: 999px; }
.dash__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 159, 168, .5); } 70% { box-shadow: 0 0 0 8px rgba(79, 159, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 159, 168, 0); } }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--blue-50); border-radius: 12px; padding: 12px 14px; }
.kpi span { display: block; font-size: .72rem; color: var(--grey-500); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.kpi strong { display: block; font-size: 1.15rem; color: var(--navy); margin-top: 2px; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: .74rem; font-weight: 700; color: var(--teal); }
.dash__chart { border: 1px solid var(--grey-200); border-radius: 14px; padding: 14px 14px 8px; }
.dash__chart-head { display: flex; justify-content: space-between; font-size: .78rem; color: var(--grey-500); font-weight: 600; margin-bottom: 6px; }
.dash__chart svg { width: 100%; height: auto; }
.dash__float {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--grey-200);
  padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--grey-600);
}
.dash__float strong { display: block; color: var(--navy); font-size: .9rem; }
.dash__float .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.dash__float .ico svg { width: 20px; height: 20px; }
.dash__float--a { left: -36px; bottom: 42px; animation: float 6s ease-in-out infinite; }
.dash__float--b { right: -22px; top: -44px; animation: float 7s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Faixa de números */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--grey-200); border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; margin-top: clamp(48px, 6vw, 72px); position: relative; }
.stat { background: #fff; padding: 24px 26px; }
.stat strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.15rem); color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: .92rem; color: var(--grey-600); }

/* --------------------------------------------------------------------------
   Cabeçalho de página interna
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(134, 172, 214, .25), transparent 60%),
    linear-gradient(180deg, var(--blue-50), #fff);
  border-bottom: 1px solid var(--grey-200);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 900px; }
.page-hero .lead { max-width: 720px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .86rem; color: var(--grey-500); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { color: var(--grey-600); }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb span[aria-hidden] { color: var(--grey-300); }

/* --------------------------------------------------------------------------
   Cartões, grelhas
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--grey-600); margin: 0; }
.icon-box {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50)); color: var(--blue-600);
  border: 1px solid var(--blue-200); margin-bottom: 22px;
}
.icon-box svg { width: 26px; height: 26px; }

.pillar { padding: 36px 32px; }
.pillar__num { position: absolute; top: 26px; right: 30px; font-size: .8rem; font-weight: 700; color: var(--blue-400); letter-spacing: .1em; }

/* Método em 3 passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-200) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step__num {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--blue-200); color: var(--blue-600);
  font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; position: relative; box-shadow: 0 0 0 8px var(--blue-50);
}
.section--tint .step__num { box-shadow: 0 0 0 8px var(--blue-50); }
.step:hover .step__num { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transition: .3s; }
.step p { color: var(--grey-600); max-width: 320px; margin: 0 auto; }

/* Serviços (cartões resumo) */
.service-card { display: flex; flex-direction: column; padding: 30px; color: inherit; }
.service-card:hover { color: inherit; }
.service-card .tag-new { position: absolute; top: 24px; right: 24px; }
.service-card p { flex: 1; margin-bottom: 20px; }
.service-card .link-arrow { color: var(--blue-600); font-size: .95rem; }
.tag-new {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-50); border: 1px solid rgba(79, 159, 168, .3); padding: 4px 10px; border-radius: 999px;
}

/* Serviços (página detalhada) */
.service-row {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--grey-200);
}
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.service-row__num { font-size: .85rem; font-weight: 700; color: var(--blue-500); letter-spacing: .12em; display: block; margin-bottom: 14px; }
.service-row h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.service-row__body .lead { margin-bottom: 26px; color: var(--grey-700); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start; background: var(--grey-100); border-radius: 12px; padding: 16px 18px; color: var(--grey-700);
}
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.service-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.service-nav a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--grey-200); font-size: .88rem; font-weight: 600; color: var(--grey-700); }
.service-nav a:hover { border-color: var(--blue-400); color: var(--blue-700); }

/* Modelos de acompanhamento */
.models { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.model { grid-column: span 2; display: flex; flex-direction: column; padding: 32px 28px; }
.model:nth-child(4) { grid-column: 2 / span 2; }
.model:nth-child(5) { grid-column: 4 / span 2; }
.model__level { display: flex; gap: 4px; margin-bottom: 22px; }
.model__level i { width: 22px; height: 6px; border-radius: 4px; background: var(--grey-200); }
.model__level i.on { background: var(--blue-500); }
.model__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 6px; }
.model h3 { font-size: 1.4rem; }
.model p { flex: 1; }
.model__for { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--grey-300); font-size: .9rem; color: var(--grey-600); }
.model__for strong { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 4px; }
.model .btn { margin-top: 22px; align-self: flex-start; }
.model--featured { background: linear-gradient(160deg, var(--navy-2), var(--navy)); border-color: var(--navy); color: rgba(255, 255, 255, .78); }
.model--featured h3, .model--featured strong { color: #fff; }
.model--featured p { color: rgba(255, 255, 255, .78); }
.model--featured .model__kicker { color: var(--blue-400); }
.model--featured .model__level i { background: rgba(255, 255, 255, .18); }
.model--featured .model__level i.on { background: var(--blue-400); }
.model--featured .model__for { border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .78); }
.model--featured .model__for strong { color: var(--blue-400); }
.model--featured:hover { border-color: var(--navy); }

.models-mini { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.models-mini a {
  display: block; padding: 22px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--grey-200);
  color: var(--grey-600); font-size: .9rem; transition: .3s var(--ease);
}
.models-mini a:hover { border-color: var(--blue-400); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--grey-600); }
.models-mini strong { display: block; color: var(--navy); font-size: 1.02rem; margin: 10px 0 6px; }

/* Comparação de modelos */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--grey-200); }
.compare thead th { background: var(--blue-50); color: var(--navy); font-size: .86rem; font-weight: 700; }
.compare tbody th { text-align: left; font-weight: 550; color: var(--grey-700); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .yes { color: var(--blue-600); font-weight: 800; }
.compare .no { color: var(--grey-300); }
.compare .part { color: var(--blue-400); font-weight: 700; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.table-wrap .compare { min-width: 760px; }
.note { font-size: .88rem; color: var(--grey-500); margin-top: 14px; }

/* Faixa TOConline */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.feature-list .ico svg { width: 20px; height: 20px; }
.feature-list strong { display: block; color: var(--navy); }
.feature-list span { color: var(--grey-600); font-size: .96rem; }

.flow { position: relative; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.flow__item { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; background: var(--grey-100); }
.flow__item + .flow__arrow + .flow__item { margin-top: 0; }
.flow__item .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); flex: none; }
.flow__item .ico svg { width: 22px; height: 22px; }
.flow__item strong { display: block; color: var(--navy); font-size: .98rem; }
.flow__item span { font-size: .86rem; color: var(--grey-500); }
.flow__item--hl { background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); }
.flow__item--hl strong { color: #fff; }
.flow__item--hl span { color: rgba(255, 255, 255, .75); }
.flow__arrow { display: grid; place-items: center; height: 30px; color: var(--blue-400); }
.flow__arrow svg { width: 18px; height: 18px; }

/* Quem somos */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-text p { font-size: 1.1rem; color: var(--grey-700); }
.about-text p:first-child::first-letter { font-size: 3.4em; float: left; line-height: .9; margin: 6px 12px 0 0; font-weight: 800; color: var(--blue-600); }
.profile {
  background: linear-gradient(165deg, var(--navy-2), var(--navy)); color: rgba(255, 255, 255, .8); border-radius: var(--radius-lg); padding: 36px;
  position: sticky; top: calc(var(--header-h) + 32px); overflow: hidden;
}
.profile::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(134, 172, 214, .35), transparent 70%); }
.profile__mono { width: 72px; height: 72px; margin-bottom: 22px; }
.profile h3 { color: #fff; font-size: 1.45rem; margin-bottom: 4px; }
.profile__role { color: var(--blue-400); font-weight: 600; font-size: .95rem; margin-bottom: 24px; }
.profile ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.profile li { display: flex; gap: 12px; font-size: .96rem; }
.profile li svg { width: 20px; height: 20px; color: var(--blue-400); flex: none; margin-top: 2px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 28px 24px; }
.value h3 { font-size: 1.1rem; }
.audience { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.audience span { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--grey-200); font-weight: 600; color: var(--navy); font-size: .94rem; }

/* Quote */
.quote-band { text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; color: var(--navy); font-weight: 650; letter-spacing: -.02em; }
.quote-band blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--blue-400); margin-bottom: 18px; }
.quote-band cite { display: block; margin-top: 22px; font-style: normal; font-size: .95rem; color: var(--grey-500); font-weight: 600; }

/* --------------------------------------------------------------------------
   Notícias
   -------------------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 28px; color: inherit; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; min-height: 100%;
}
.news-card:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.news-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--grey-500); margin-bottom: 14px; }
.news-card h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: 10px; }
.news-card p { font-size: .95rem; color: var(--grey-600); flex: 1; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .link-arrow { font-size: .92rem; color: var(--blue-600); }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700); }
.chip[data-cat="Recursos Humanos"] { background: var(--teal-50); color: #2f7a83; }
.chip[data-cat="Gestão & Economia"] { background: var(--grey-100); color: var(--grey-700); }
.chip[data-cat="Gabinete"] { background: #eef0fb; color: #4b5a9c; }

.news-featured {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--grey-200); background: #fff; color: inherit; margin-bottom: 40px; transition: box-shadow .3s, transform .3s var(--ease);
}
.news-featured:hover { color: inherit; box-shadow: var(--shadow); transform: translateY(-3px); }
.news-featured__body { padding: clamp(28px, 4vw, 48px); }
.news-featured__body h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 14px 0; }
.news-featured__body p { color: var(--grey-600); }
.news-featured__art {
  background: radial-gradient(circle at 30% 30%, var(--blue-400), var(--blue-700) 70%); position: relative; min-height: 240px; overflow: hidden;
}
.news-featured__art::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 32px 32px;
}
.news-featured__art span {
  position: absolute; left: 32px; bottom: 28px; color: #fff; font-weight: 800; font-size: 4.5rem; line-height: 1; letter-spacing: -.04em; opacity: .9;
}
.news-featured__art small { display: block; font-size: .95rem; font-weight: 600; letter-spacing: .06em; opacity: .8; }

.news-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font: 600 .9rem var(--font); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--grey-200); background: #fff; color: var(--grey-700); cursor: pointer; transition: .2s;
}
.filters button:hover { border-color: var(--blue-400); color: var(--blue-700); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.search { position: relative; min-width: 280px; }
.search input {
  width: 100%; font: 500 .95rem var(--font); padding: 12px 16px 12px 44px; border-radius: 999px; border: 1px solid var(--grey-200); background: #fff; color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px var(--blue-100); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--grey-500); }
.news-count { font-size: .9rem; color: var(--grey-500); margin-bottom: 18px; }
.news-more { text-align: center; margin-top: 44px; }
.empty { text-align: center; padding: 48px 0; color: var(--grey-500); }

/* Artigo */
.article-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--grey-500); font-size: .95rem; margin-top: 18px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); }
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--grey-700); }
.prose > .prose-lead { font-size: 1.22rem; line-height: 1.65; color: var(--navy); font-weight: 500; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--grey-200); }
.prose > .prose-lead p:last-child { margin-bottom: 0; }
.prose p { margin-bottom: 1.15em; }
.prose h3, .prose h4 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--blue-500); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--blue-200); }
.prose a:hover { text-decoration-color: currentColor; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--grey-200); padding: 10px 12px; vertical-align: top; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--blue-400); color: var(--navy); }
.article-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 20px; }
.aside-box { border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 24px; background: #fff; }
.aside-box h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 14px; }
.aside-box--cta { background: linear-gradient(160deg, var(--blue-50), var(--blue-100)); border-color: var(--blue-200); }
.aside-box--cta h3 { font-size: 1.15rem; }
.aside-box--cta p { font-size: .95rem; color: var(--grey-600); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--grey-200); background: #fff; color: var(--grey-700); cursor: pointer; transition: .2s; padding: 0;
}
.share a:hover, .share button:hover { border-color: var(--blue-400); color: var(--blue-600); }
.share svg { width: 18px; height: 18px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--grey-200); }
.article-nav a { display: block; padding: 20px 22px; border: 1px solid var(--grey-200); border-radius: var(--radius); color: var(--navy); font-weight: 600; line-height: 1.4; }
.article-nav a:hover { border-color: var(--blue-400); }
.article-nav small { display: block; color: var(--grey-500); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.article-nav .next { text-align: right; grid-column: 2; }
.skeleton { background: linear-gradient(90deg, var(--grey-100), var(--grey-200), var(--grey-100)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 8px; height: 1em; margin-bottom: .8em; }
@keyframes sk { to { background-position: -200% 0; } }

/* --------------------------------------------------------------------------
   Contactos / FAQ / Formulário
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--grey-200); color: inherit; transition: .25s var(--ease); }
a.contact-card:hover { border-color: var(--blue-400); box-shadow: var(--shadow); color: inherit; transform: translateY(-2px); }
.contact-card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); flex: none; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card .ico--wa { background: #e7f6ee; color: #1f9d55; }
.contact-card small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 2px; }
.contact-card strong { display: block; color: var(--navy); font-size: 1.02rem; overflow-wrap: anywhere; }
.contact-card > div { min-width: 0; }
.contact-card span { font-size: .92rem; color: var(--grey-600); }

.form-card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.form-card > p { color: var(--grey-600); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 650; color: var(--navy); }
.field label .opt { font-weight: 500; color: var(--grey-500); }
.field input, .field select, .field textarea {
  font: 500 1rem var(--font); color: var(--ink); background: var(--grey-100); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; width: 100%; transition: .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475467' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; border-color: var(--blue-400); box-shadow: 0 0 0 4px var(--blue-100); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #d77a7a; background-color: #fff7f7; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--grey-600); grid-column: 1 / -1; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-600); flex: none; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 6px; }
.form-actions small { color: var(--grey-500); font-size: .84rem; }
.hp { position: absolute; left: -9999px; }
.form-status { grid-column: 1 / -1; display: none; padding: 16px 18px; border-radius: 12px; font-weight: 550; }
.form-status.is-ok { display: block; background: var(--teal-50); color: #24666d; border: 1px solid rgba(79, 159, 168, .35); }
.form-status.is-error { display: block; background: #fdf1f1; color: #9b3434; border: 1px solid #f1caca; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; position: relative; font-weight: 650; color: var(--navy); font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a6ea5' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 24px 22px; color: var(--grey-600); }
.faq .faq__a p:last-child { margin: 0; }

.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--grey-200); background: var(--grey-100); position: relative; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: saturate(.75); }
.map__card { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); max-width: 320px; font-size: .92rem; }
.map__card strong { color: var(--navy); display: block; }

/* --------------------------------------------------------------------------
   Faixa CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(130deg, var(--navy-2) 0%, var(--blue-700) 100%);
  padding: clamp(40px, 6vw, 72px); color: rgba(255, 255, 255, .82);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 20%, rgba(134, 172, 214, .4), transparent 40%), radial-gradient(circle at 10% 120%, rgba(79, 159, 168, .35), transparent 40%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.08rem; max-width: 620px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .66); padding: 80px 0 0; font-size: .95rem; margin-top: 0; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-about p { max-width: 340px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); transition: .2s; }
.social a:hover { background: var(--blue-600); }
.social svg { width: 18px; height: 18px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--blue-400); }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 0 30px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: .84rem; color: rgba(255, 255, 255, .5);
}
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal p { margin: 0; }
.complaints { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; margin-top: 18px; font-size: .86rem; font-weight: 600; }
.complaints svg { width: 18px; height: 18px; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6); transition: transform .25s var(--ease);
}
.wa-float:hover { color: #fff; transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: attr(data-label); position: absolute; right: 70px; white-space: nowrap; background: var(--navy); color: #fff; font-size: .84rem; font-weight: 600;
  padding: 8px 12px; border-radius: 10px; opacity: 0; transform: translateX(6px); transition: .25s; pointer-events: none;
}
.wa-float:hover::after { opacity: 1; transform: none; }

/* Legal */
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal p, .legal li { color: var(--grey-700); }

/* --------------------------------------------------------------------------
   Animações de entrada
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid, .split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero__side { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero__visual { margin: 40px auto 0; }
  .grid-4, .values { grid-template-columns: repeat(2, 1fr); }
  .models-mini { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .profile { position: static; }
  .service-row { grid-template-columns: 1fr; gap: 20px; }
  .service-row__aside { position: static; }
}
@media (max-width: 860px) {
  .grid-3, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .models { grid-template-columns: 1fr 1fr; }
  .model, .model:nth-child(4), .model:nth-child(5) { grid-column: auto; }
  .model:nth-child(5) { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured__art { min-height: 160px; order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4, .news-grid, .values, .models, .form-grid { grid-template-columns: 1fr; }
  .model:nth-child(5) { grid-column: auto; }
  .models-mini { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .dash { padding: 18px; }
  .dash__kpis { gap: 8px; }
  .kpi { padding: 10px; }
  .kpi strong { font-size: 1rem; }
  .dash__float--a { left: -6px; bottom: -26px; }
  .dash__float--b { right: -6px; top: -30px; }
  .hero__actions .btn { width: 100%; }
  .search { min-width: 0; width: 100%; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { grid-column: auto; }
  .map__card { position: static; max-width: none; border-radius: 0; box-shadow: none; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .hero h1 em { white-space: normal; }
  .hero__tag { font-size: .66rem; letter-spacing: .08em; padding-right: 12px; }
  .stat { padding: 18px 16px; }
}
@media print {
  .site-header, .site-footer, .wa-float, .article-aside, .article-nav, .cta-band { display: none !important; }
}
