/* ==========================================================================
   Cooperita — design system
   ========================================================================== */

:root {
  --blue-950: #061f3d;
  --blue-900: #08264b;
  --blue-800: #0a3568;
  --blue-700: #0b4c9c;
  --blue-600: #1360b8;
  --blue-100: #e8f0fa;
  --sage-700: #56736b;
  --sage-600: #6a857d;
  --sage-500: #7e958f;
  --sage-300: #b9cbc5;
  --sage-200: #d7e2de;
  --sage-100: #eaf1ee;
  --sand: #f7f4ee;
  --sand-2: #f0ebe1;
  --white: #ffffff;
  --ink: #11253f;
  --muted: #57697e;
  --line: #dde5ed;
  --gold: #c99a4b;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 8px 24px -14px rgba(8, 38, 75, 0.35);
  --shadow: 0 24px 60px -30px rgba(8, 38, 75, 0.4);
  --container: 1180px;
  --header-h: 78px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-900); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }

::selection { background: var(--blue-100); color: var(--blue-900); }

:focus-visible {
  outline: 3px solid rgba(19, 96, 184, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--blue-900);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.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;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.container--narrow { width: min(100% - 48px, 860px); }

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--blue-950);
  color: #c9d6e4;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: #e7eef6; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-group { display: flex; align-items: center; gap: 18px; }
.topbar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sage-300); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(221, 229, 237, 0.8);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
/* O desfoque fica num pseudo-elemento: backdrop-filter no proprio header
   tornaria o header o bloco contentor do menu fixo do mobile. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  pointer-events: none;
  z-index: -1;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px -24px rgba(8, 38, 75, 0.6);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 42px; width: auto; }
.brand:hover img { opacity: 0.9; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; margin: 0; }
.nav-link,
.nav-caret {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-link:hover,
.nav-caret:hover,
.nav-item:focus-within > .nav-link,
.nav-item:focus-within > .nav-caret {
  background: var(--sand);
  color: var(--blue-800);
}
.nav-link.is-active { color: var(--blue-700); background: var(--blue-100); }
.nav-caret { padding: 10px 8px 10px 2px; margin-left: -7px; }
.nav-caret svg { width: 12px; height: 12px; transition: transform 0.25s ease; }
.nav-item.open > .nav-caret svg,
.nav-item:focus-within > .nav-caret svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 290px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 95;
}
.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}
.dropdown a:hover,
.dropdown a:focus-visible { background: var(--sand); color: var(--blue-800); }
.dropdown a .ext { color: var(--sage-600); font-size: 0.72rem; }

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-cta { flex: 0 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--blue-700);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--blue-800); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px -18px rgba(8, 38, 75, 0.8); }
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn--ghost {
  background: transparent;
  color: var(--blue-800);
  border-color: var(--line);
}
.btn--ghost:hover { background: #fff; color: var(--blue-900); border-color: var(--sage-300); }
.btn--light { background: #fff; color: var(--blue-900); }
.btn--light:hover { background: var(--sand); color: var(--blue-950); }
.btn--sage { background: var(--sage-600); }
.btn--sage:hover { background: var(--sage-700); }
.btn--sm { padding: 10px 16px; font-size: 0.82rem; }
.btn--block { width: 100%; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.nav-toggle span {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: background 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--sand);
  padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 6vw, 70px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 88% 12%, rgba(126, 149, 143, 0.18), transparent 65%),
    radial-gradient(760px 560px at 4% 100%, rgba(11, 76, 156, 0.09), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -160px;
  border: 1px solid rgba(11, 76, 156, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(86, 115, 107, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--sage-700);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage-500);
  box-shadow: 0 0 0 4px rgba(126, 149, 143, 0.16);
}
.hero h1 {
  font-size: clamp(2.65rem, 5.3vw, 4.5rem);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--sage-700);
  font-weight: 500;
}
.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  color: #43566d;
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  color: #4d6178;
  font-size: 0.82rem;
  font-weight: 500;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--sage-600); flex: 0 0 auto; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  isolation: isolate;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: var(--radius-lg);
  background: var(--sage-300);
  z-index: -1;
  opacity: 0.55;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 5 / 4.1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  max-width: 300px;
}
.hero-badge strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--blue-800);
}
.hero-badge span { font-size: 0.76rem; line-height: 1.35; color: #44586e; }
.hero-pill {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(8, 38, 75, 0.82);
  color: #fff;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.hero-stats {
  position: relative;
  margin-top: clamp(42px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1;
  color: var(--blue-800);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.stat span { font-size: 0.78rem; line-height: 1.4; color: var(--muted); display: block; }

/* --------------------------------------------------------------------------
   Generic sections
   -------------------------------------------------------------------------- */

.section { padding: clamp(64px, 8vw, 100px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--sand { background: var(--sand); }
.section--sage { background: var(--sage-100); }
.section--dark {
  background:
    radial-gradient(800px 500px at 90% 0%, rgba(19, 96, 184, 0.5), transparent 65%),
    var(--blue-950);
  color: #dce6f2;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #b9c9dc; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 28px 56px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head--center { display: block; text-align: center; max-width: 760px; margin-inline: auto; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--sage-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--sage-500); }
.section-head--center .kicker::after { content: ""; width: 22px; height: 2px; background: var(--sage-500); }
.title {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  margin-bottom: 0;
  letter-spacing: -0.03em;
}
.lead {
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  color: var(--muted);
  max-width: 58ch;
  margin: 0;
}
.section-head .lead { padding-bottom: 4px; }
.section--dark .kicker { color: var(--sage-300); }
.section--dark .kicker::before { background: var(--sage-300); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage-200); }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card--flat:hover { transform: none; box-shadow: none; }
.card--dark {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
  color: #c6d4e4;
}
.card--dark h3 { color: #fff; }
.card--dark p { color: #b3c4d8; }

.icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--blue-100);
  color: var(--blue-700);
  margin-bottom: 18px;
}
.icon svg { width: 22px; height: 22px; }
.icon--sage { background: var(--sage-100); color: var(--sage-700); }
.icon--dark { background: rgba(255, 255, 255, 0.1); color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue-700);
  text-decoration: none;
  margin-top: 14px;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.split-media--tall img { aspect-ratio: 4 / 4.5; }
.split-media--wide img { aspect-ratio: 4 / 3; }
.media-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(8, 38, 75, 0.82);
  color: #fff;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}
.media-caption strong { display: block; font-size: 0.9rem; }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #3f5369;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sage-100);
  border: 1px solid var(--sage-300);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.68em;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--sage-700);
  border-bottom: 2px solid var(--sage-700);
  transform: rotate(-45deg);
}
.checklist--dark li { color: #c6d4e4; }
.checklist--dark li::before { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.checklist--dark li::after { border-color: var(--sage-300); }

/* credit cards */
.credit-card { display: flex; flex-direction: column; min-height: 100%; }
.credit-card .rate {
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1;
  color: var(--blue-800);
  letter-spacing: -0.03em;
  margin: 6px 0 4px;
}
.credit-card .rate small { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.credit-card .tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-700);
  background: var(--sage-100);
  padding: 5px 9px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.credit-card p { flex: 1; }
.credit-card .link-arrow { margin-top: 18px; }

/* rate table on dark */
.rate-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.rate-table th, .rate-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.rate-table th { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-300); font-weight: 700; }
.rate-table td { color: #d5e0ec; }
.rate-table td:last-child { font-family: var(--font-display); font-size: 1.25rem; color: #fff; white-space: nowrap; }
.rate-table tr:last-child td { border-bottom: 0; }

/* steps */
.step { position: relative; padding-top: 34px; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--sage-300);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; }
.step p { font-size: 0.92rem; color: var(--muted); }
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--sage-400, #a8bdb7);
}

/* timeline */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--sage-200);
}
.timeline li { position: relative; padding: 0 0 32px 42px; margin: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--sage-500);
  box-shadow: 0 0 0 4px var(--sage-100);
}
.timeline .year {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--sage-700);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.timeline h3 { font-size: 1.18rem; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 0.94rem; }

/* values */
.value-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.value-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(126, 149, 143, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0;
  font-size: 0.92rem;
  color: #33485f;
}
.value-list .n {
  font-family: var(--font-display);
  color: var(--sage-600);
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 0 0 20px;
}

/* team */
.team-card { padding: 0; overflow: hidden; }
.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.92);
}
.team-body { padding: 18px 20px 22px; }
/* Reserva duas linhas no nome para os cargos ficarem na mesma altura. */
.team-body h3 { font-size: 1.02rem; margin-bottom: 3px; min-height: 2.2em; }
.team-body p { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* news */
.news-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-700); margin-bottom: 8px; }
.news-card h3 { font-size: 1.12rem; }
.news-card p { font-size: 0.9rem; color: var(--muted); flex: 1; }
.news-card .link-arrow { margin-top: 14px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] { border-color: var(--sage-300); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.4;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2308264b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--sage-100); }
.faq-item .faq-answer { padding: 0 0 20px; color: #45596f; font-size: 0.94rem; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* prose */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose p, .prose li { color: #3f5369; }
.prose ul { padding-left: 1.1em; }
.prose strong { color: var(--ink); }
.prose .note {
  background: var(--sand);
  border-left: 4px solid var(--sage-500);
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  font-size: 0.92rem;
  color: #44586e;
}
.prose .note p { margin: 0; }

/* tables */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin: 22px 0 14px;
}
table.data {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.86rem;
}
table.data th {
  background: var(--blue-900);
  color: #fff;
  text-align: left;
  padding: 13px 15px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}
table.data td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  color: #3e5268;
  vertical-align: top;
}
table.data tbody tr:nth-child(even) { background: #f8fafc; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-weight: 600; color: var(--ink); }
.table-note { font-size: 0.8rem; color: var(--muted); max-width: 78ch; }

/* page hero */
.page-hero {
  position: relative;
  background:
    radial-gradient(700px 420px at 85% 0%, rgba(19, 96, 184, 0.55), transparent 65%),
    linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 55%, #0a3568 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 78px) 0 clamp(46px, 6vw, 68px);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.035), 0 0 0 140px rgba(255, 255, 255, 0.02);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 0.74rem;
  color: #9fb4cb;
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 7px; }
.breadcrumbs li + li::before { content: "/"; color: #5d7a9b; }
.breadcrumbs a { color: #cfe0f1; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  margin-bottom: 16px;
  max-width: 900px;
}
.page-hero .lead { color: #bfd0e2; max-width: 66ch; }
.page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #d6e5dF;
}
.page-hero .eyebrow::before { background: var(--sage-300); }

/* doc / policy layout */
.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.pdf-frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #eef2f6;
  box-shadow: var(--shadow-sm);
}
.pdf-frame iframe { width: 100%; height: min(76vh, 820px); border: 0; display: block; }
.doc-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.doc-side .card { padding: 22px; }
.doc-side h3 { font-size: 1.02rem; }
.doc-meta { list-style: none; padding: 0; margin: 0; font-size: 0.82rem; color: var(--muted); }
.doc-meta li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.doc-meta li:last-child { border-bottom: 0; }
.doc-meta strong { color: var(--ink); font-weight: 600; text-align: right; }
.doc-actions { display: grid; gap: 8px; margin-top: 16px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.contact-card:hover { border-color: var(--sage-300); transform: translateY(-2px); }
.contact-card .icon { width: 40px; height: 40px; margin: 0; flex: 0 0 40px; }
.contact-card strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.contact-card span { display: block; font-size: 0.84rem; color: var(--muted); line-height: 1.45; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 700; color: #33485f; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfd;
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(19, 96, 184, 0.1);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.76rem; color: var(--muted); margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-alert { border-radius: 10px; padding: 12px 14px; font-size: 0.86rem; margin-bottom: 16px; }
.form-alert--ok { background: #e9f6ee; border: 1px solid #b9dfc6; color: #1e5b35; }
.form-alert--err { background: #fdeeee; border: 1px solid #f0c2c2; color: #7d2222; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 320px at 90% 10%, rgba(126, 149, 143, 0.35), transparent 60%),
    linear-gradient(120deg, var(--blue-900), #0a3568);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 10px; }
.cta-band p { color: #c3d3e5; max-width: 52ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* footer */
.site-footer { background: var(--blue-950); color: #a9bdd3; padding: 64px 0 0; font-size: 0.88rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1.15fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
}
.footer-brand .logo-plate {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
}
.footer-brand img { height: 34px; width: auto; }
.footer-brand p { max-width: 34ch; color: #9fb4cb; font-size: 0.84rem; }
.footer-col h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col li { margin: 0; }
.footer-col a { color: #b7c8da; text-decoration: none; font-size: 0.84rem; line-height: 1.45; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #b7c8da; font-size: 0.84rem; line-height: 1.45; }
.footer-contact svg { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 3px; color: var(--sage-300); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #8098b1;
}
.footer-bottom a { color: #b7c8da; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }

/* utilities */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sage-100);
  color: var(--sage-700);
}
.badge--blue { background: var(--blue-100); color: var(--blue-700); }
.external-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--sand);
  border: 1px solid var(--sand-2);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.84rem;
  color: #4b5f75;
  margin-top: 18px;
}
.external-note svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; color: var(--sage-700); }

/* O offset já vem do scroll-padding-top do html; repetir aqui dobrava o vão. */
.anchor-target { scroll-margin-top: 0; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .nav-link { padding: 10px 9px; font-size: 0.82rem; }
  .nav-caret { padding-right: 6px; }
  .header-cta .btn { padding: 11px 16px; font-size: 0.82rem; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1319px) {
  :root { --header-h: 70px; }
  .topbar { display: none; }
  .brand img { height: 38px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: #fff;
    padding: 20px 24px 40px;
    overflow-y: auto;
    display: block;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s;
    z-index: 89;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .nav-list { display: block; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { display: inline-block; padding: 15px 0; font-size: 1.02rem; border-radius: 0; }
  .nav-link:hover, .nav-item:focus-within > .nav-link { background: none; }
  .nav-link.is-active { background: none; color: var(--blue-700); }
  .nav-caret { float: right; padding: 15px 4px; margin: 0; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0 0 14px 12px;
    background: transparent;
  }
  .nav-item.open > .dropdown { display: grid; }
  .nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { display: none; }
  .nav-item.open:hover > .dropdown, .nav-item.open:focus-within > .dropdown { display: grid; }
  .dropdown a { padding: 8px 10px; font-size: 0.9rem; color: #45596f; }
  .header-cta { margin-left: auto; }
  .header-cta .btn { display: none; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 620px; }
  .hero-badge { left: 14px; }
  .section-head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split-media { max-width: 620px; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-side { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .container, .container--narrow { width: min(100% - 32px, var(--container)); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin: 14px 0 0; max-width: none; }
  .hero-media::before { display: none; }
  .hero-pill { top: 12px; right: 12px; }
  .media-caption { position: static; margin-top: 10px; }
  .page-hero { padding-top: 42px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.35rem; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 6px 14px; font-size: 0.78rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { border-radius: 20px; }
  .faq-item { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .cta-band, .hero-actions, .pdf-frame { display: none !important; }
  body { color: #000; }
  .page-hero { background: none; color: #000; padding: 0 0 20px; }
  .page-hero h1, .page-hero .lead { color: #000; }
  .doc-layout { display: block; }
}
/* ==========================================================================
   Complementos — informativo, documentos, contato, simulador e posts
   ========================================================================== */

/* dropdown rolável em telas baixas */
.dropdown { max-height: min(70vh, 620px); overflow-y: auto; }

/* placeholders de notícias sem imagem */
.news-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 210px;
  background: linear-gradient(135deg, var(--sand), #eef2f6);
  color: var(--sage-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.news-placeholder--lg { min-height: 320px; border: 0; }
.featured-media .news-placeholder { height: 100%; min-height: 340px; }

/* cards de documento */
.doc-card { display: flex; flex-direction: column; min-height: 100%; }
.doc-card .badge { align-self: flex-start; margin-bottom: 10px; }
.doc-card h3 { font-size: 1.08rem; }
.doc-card p { flex: 1; }
.doc-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.doc-card-foot .link-arrow { margin: 0; }
.doc-size { font-size: 0.74rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.doc-actions--row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }

/* listas de nomes e textos auxiliares */
.name-list { list-style: none; padding: 0; margin: 12px 0 0; }
.name-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  font-size: 0.9rem;
  color: #3f5369;
}
.name-list li:last-child { border-bottom: 0; }
.name-list li strong { color: var(--ink); font-weight: 600; }
.name-list li span { color: var(--muted); font-size: 0.82rem; text-align: right; }
.name-list--plain li { display: block; text-align: left; }

.mini-title,
h4.mini-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sage-700);
  margin: 14px 0 2px;
}
.card > .mini-title:first-child { margin-top: 0; }
.strong-line { font-weight: 700; color: var(--ink); margin: 0; }
.small-muted { font-size: 0.78rem; color: var(--muted); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

.stat-line {
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-line strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--blue-800);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-line span { font-size: 0.78rem; line-height: 1.4; color: var(--muted); display: block; }

/* caixa de observação */
.note-box {
  background: var(--sand);
  border: 1px solid var(--sand-2);
  border-left: 4px solid var(--sage-500);
  border-radius: 0 16px 16px 0;
  padding: 20px 24px;
}
.note-box strong { display: block; margin-bottom: 6px; color: var(--ink); }
.note-box p { margin: 0; color: #45596f; font-size: 0.92rem; }

/* navegação por âncoras */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.anchor-nav a {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.anchor-nav a:hover { background: var(--blue-100); border-color: var(--sage-300); color: var(--blue-700); }

/* formulário de contato */
.form-status:empty { display: none; }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 36px;
  align-items: start;
}
.contact-side { display: grid; gap: 16px; }
.contact-side .card { padding: 24px; }
.contact-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 0.87rem;
  color: #3f5369;
}
.contact-list svg { flex: 0 0 17px; color: var(--sage-700); margin-top: 3px; }
.contact-list a { color: var(--blue-700); }
.contact-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}
.contact-tile h3 { font-size: 1.08rem; }
.contact-tile p { font-size: 0.88rem; margin: 0 0 6px; }
.contact-tile .icon { margin-bottom: 14px; }
.contact-tile .link-arrow { margin-top: auto; padding-top: 12px; }
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 16px 0;
  line-height: 1.55;
}
.check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  accent-color: var(--blue-700);
}
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.form-foot .form-note { margin: 0; max-width: 46ch; }

/* Ouvidoria */
.ouvidoria-card { padding: clamp(24px, 3vw, 34px); }
.ouvidoria-phone {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  margin: 4px 0 10px;
  color: var(--blue-800);
}
.ouvidoria-phone a { color: inherit; text-decoration: none; }
.ouvidoria-card .link-arrow { display: flex; margin-top: 10px; }

/* informativo — destaque e post */
.featured-post {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.featured-media { min-height: 320px; background: var(--sand); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.featured-body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.featured-body .badge { margin-top: 10px; }

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.post-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.post-side .card { padding: 22px; }
.post-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.post-meta time { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.post-figure { margin: 0 0 28px; }
.post-figure img { width: 100%; border-radius: 16px; object-fit: cover; }
.post-figure figcaption { font-size: 0.76rem; color: var(--muted); margin-top: 10px; }
.post-body { font-size: 1.01rem; }
.post-body p:first-child { font-size: 1.08rem; color: #33485f; }
.post-doc { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.post-doc h2 { font-size: 1.45rem; margin-bottom: 8px; }
.post-doc .pdf-frame { margin-top: 16px; }
.post-actions { margin-top: 30px; }
.post-cover { width: 100%; height: 100%; object-fit: cover; }

/* simulador */
.simulator { padding: clamp(22px, 3vw, 30px); scroll-margin-top: calc(var(--header-h) + 24px); }
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.sim-result {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.sim-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.86rem; color: var(--muted); }
.sim-row strong { color: var(--ink); text-align: right; }
.sim-row:first-child strong { color: var(--blue-700); }

@media (max-width: 1024px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-media { min-height: 260px; }
  .featured-media img { aspect-ratio: 16 / 9; }
  .post-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .post-side { position: static; grid-template-columns: 1fr 1fr; }
  .contact-side { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .post-side,
  .contact-side { grid-template-columns: 1fr; }
  .form-grid,
  .sim-grid { grid-template-columns: 1fr; }
  .name-list li { flex-direction: column; gap: 2px; }
  .name-list li span { text-align: left; }
  .doc-card-foot { flex-wrap: wrap; }
  .featured-media .news-placeholder { min-height: 220px; }
  .form-foot { align-items: flex-start; flex-direction: column; }
  .post-doc .pdf-frame iframe { height: 70vh; }
}


/* faixa de contato da home */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.contact-strip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 24px 26px;
  background: #fff;
}
.contact-strip-item svg { flex: 0 0 20px; color: var(--sage-700); margin-top: 2px; }
.contact-strip-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-700);
  margin-bottom: 5px;
}
.contact-strip-item span { font-size: 0.88rem; line-height: 1.55; color: #3f5369; }
.contact-strip-item a { color: var(--blue-700); }

/* mapa */
.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--sand-2);
}
.map-wrap iframe { display: block; width: 100%; height: clamp(300px, 42vw, 430px); border: 0; }

/* artigo do informativo */
.post { min-width: 0; }
.post > p, .post-body p { margin-bottom: 1.15em; }

/* item atual dentro do dropdown */
.dropdown a.is-current { color: var(--blue-700); background: var(--blue-100); font-weight: 700; }

@media (max-width: 860px) {
  .contact-strip { grid-template-columns: 1fr; }
}


/* cabecalho mais largo para acomodar o menu completo em telas grandes */
@media (min-width: 1121px) {
  .header-inner { width: min(100% - 40px, 1360px); margin-inline: auto; }
  .main-nav { gap: 2px; }
  .nav-link, .nav-caret { padding: 10px 10px; font-size: 0.845rem; }
  .nav-caret { padding: 10px 7px 10px 0; margin-left: -8px; }
}

/* cards clicáveis sem sublinhado */
a.card,
a.card:hover,
a.card h3,
a.card p { text-decoration: none; }
a.card { color: inherit; }
a.card:hover h3 { color: var(--blue-700); }
a.card .link-arrow { text-decoration: none; }
.contact-tile .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
  font-weight: 600;
}
.contact-tile p a { word-break: break-word; }


/* ajustes finais de tipografia em cartões */
.card p.ouvidoria-phone,
.ouvidoria-phone {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  margin: 4px 0 10px;
  color: var(--blue-800);
  font-weight: 600;
}
.card .link-arrow { display: flex; }
.card .link-arrow + .link-arrow { margin-top: 6px; }


/* faixa de contato da home: quatro itens */
.contact-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .contact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .contact-strip { grid-template-columns: 1fr; }
}

/* números das etapas com contraste adequado */
.step-num {
  color: var(--sage-600);
  font-weight: 600;
}

/* placeholders de notícias sem imagem */
.news-placeholder {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(11, 76, 156, 0.09) 1px, transparent 1.7px) 0 0 / 15px 15px,
    linear-gradient(140deg, #f5f8fb, #e6edf4);
  color: var(--sage-700);
  border-bottom: 1px solid var(--line);
}
.news-placeholder::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% 30%;
  height: 160px;
  background: radial-gradient(circle at 50% 50%, rgba(126, 149, 143, 0.22), transparent 70%);
  pointer-events: none;
}
.news-placeholder > svg {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  padding: 13px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 10px 24px -14px rgba(8, 38, 75, 0.5);
  box-sizing: content-box;
}
.news-placeholder > span {
  position: relative;
  z-index: 1;
  color: var(--sage-700);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}
.news-placeholder--lg > svg { width: 74px; height: 74px; padding: 17px; }

/* mantém links curtos da faixa de contato em uma única linha */
.contact-strip-item span a { white-space: nowrap; }

/* acesso ao portal do cooperado no menu mobile */
.nav-portal { display: none; }
@media (max-width: 1319px) {
  .nav-portal {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }
}
