/* =========================================================
   RB PRIME CONSULTORIA — Stylesheet
   Paleta e tipografia conforme guia de identidade visual RB
   ========================================================= */

:root {
  --blue-deep: #1F4788;
  --blue-darker: #15315E;
  --orange: #D97706;
  --orange-light: #F59E0B;
  --green: #27AE60;
  --gray-text: #5A5A5A;
  --chip-orange: #FFF3E0;
  --bg-light-blue: #E8F1F8;
  --bg-gray: #F5F5F5;
  --white: #FFFFFF;

  --font-title: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(21, 49, 94, 0.08);
  --shadow-hover: 0 16px 40px rgba(21, 49, 94, 0.14);
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--blue-deep);
  margin: 0;
  line-height: 1.2;
}

p { margin: 0; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-alt { background: var(--bg-light-blue); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

/* Títulos de seção (Quem é a RB Prime, Modelo de Operação, Portfólio de Serviços,
   Parcerias, Contato) — maiores que o padrão do .eyebrow (usado também nos modais). */
.section-head .eyebrow { font-size: 20px; }

.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 17px;
  color: var(--gray-text);
}

.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}
.btn-primary:hover { background: var(--orange-light); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-blue {
  background: transparent;
  border-color: var(--blue-deep);
  color: var(--blue-deep);
}
.btn-outline-blue:hover { background: var(--blue-deep); color: var(--white); }

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 11px 18px; font-size: 14px; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 16px rgba(21,49,94,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo-badge { height: 96px; width: 96px; display: block; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 30px;
  color: var(--blue-deep);
}
.nav-logo-title em { font-style: normal; color: var(--orange); }
.nav-logo-sub {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.15em;
  color: var(--gray-text);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--blue-deep);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}
.nav-links a:hover { border-color: var(--orange); color: var(--orange); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--blue-deep);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-darker) 100%);
  color: var(--white);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.12);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  margin-bottom: 22px;
}

.hero h1 span { color: var(--orange-light); }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 20px;
}

.hero-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 34px;
}
.hero-name span { color: var(--orange-light); }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  color: var(--orange-light);
}
.hero-stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.hero-photo {
  position: relative;
  justify-self: center;
}
.hero-photo-frame {
  width: 100%;
  max-width: 360px;
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.hero-photo-frame img { width: 100%; }

.hero-photo-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-photo-badge svg { width: 30px; height: 30px; color: var(--orange); flex-shrink: 0; }
.hero-photo-badge strong { display: block; font-family: var(--font-title); color: var(--blue-deep); font-size: 15px; }
.hero-photo-badge span { font-size: 12.5px; color: var(--gray-text); }

/* ---------- Stat cards (Quem é a RB Prime) ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--blue-deep);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  color: var(--white);
}
.stat-card strong {
  display: block;
  font-family: var(--font-title);
  font-size: 34px;
  font-weight: 800;
  color: var(--orange-light);
  margin-bottom: 6px;
}
.stat-card span { font-size: 14px; color: rgba(255,255,255,0.85); }

.founder-note {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--chip-orange);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 52px;
}
.founder-note img { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; }
.founder-note p { font-size: 15px; color: #6b4a12; }
.founder-note strong { color: var(--blue-deep); }

.pillars-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  color: var(--blue-deep);
  margin-bottom: 22px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid #ECEFF4;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.pillar-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--chip-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-circle svg { width: 26px; height: 26px; color: var(--orange); }

.pillar-card h3 { font-size: 18px; margin-bottom: 10px; }
.pillar-card p { font-size: 14.5px; }

/* ---------- Modelo de Operação ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.step-card {
  background: var(--blue-deep);
  border-radius: var(--radius);
  padding: 32px 24px;
  color: var(--white);
  position: relative;
}
.step-number {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 30px;
  color: var(--orange-light);
  margin-bottom: 14px;
}
.step-card h3 { color: var(--white); font-size: 17px; margin-bottom: 10px; }
.step-card p { font-size: 13.5px; color: rgba(255,255,255,0.8); }

/* ---------- Serviços / tabs ---------- */
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab-btn {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 2px solid var(--bg-gray);
  background: var(--white);
  color: var(--blue-deep);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.tab-btn:hover { border-color: var(--orange-light); }
.tab-btn.active {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--white);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .35s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-panel-intro {
  font-size: 15px;
  color: var(--gray-text);
  max-width: 680px;
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--white);
  border: 1px solid #ECEFF4;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.product-banner {
  width: calc(100% + 48px);
  aspect-ratio: 300 / 140;
  margin: -28px -24px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.product-banner img { width: 100%; height: 100%; display: block; }
.product-banner.wide { aspect-ratio: 700 / 140; }

.product-card .icon-circle { margin-bottom: 16px; }

.product-card h3 { font-size: 17px; margin-bottom: 8px; }
.product-card p { font-size: 14px; margin-bottom: 10px; flex-grow: 1; }

.product-meta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-deep);
  background: var(--bg-light-blue);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  margin-top: auto;
  transition: all .15s;
}
.card-cta svg { width: 18px; height: 18px; flex-shrink: 0; }

.cta-whatsapp {
  border: 2px solid var(--green);
  color: var(--blue-deep);
  background: #F3FBF6;
}
.cta-whatsapp svg { color: var(--green); }
.cta-whatsapp:hover { background: var(--green); color: var(--white); }
.cta-whatsapp:hover svg { color: var(--white); }

.cta-simulate {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}
.cta-simulate:hover { background: var(--orange-light); border-color: var(--orange-light); }

.cta-outline {
  border: 2px solid var(--blue-deep);
  color: var(--blue-deep);
  background: var(--white);
}
.cta-outline:hover { background: var(--blue-deep); color: var(--white); }

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.card-actions .card-cta { margin-top: 0; flex: 1 1 auto; justify-content: center; }

/* ---------- Modal "Saiba mais" ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 48, 0.62);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.modal-box-wide { max-width: 820px; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-gray);
  color: var(--blue-deep);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--orange); color: var(--white); }
.modal-box h3 { font-size: 22px; margin-bottom: 6px; padding-right: 30px; }
.modal-lead { font-size: 14.5px; color: var(--gray-text); margin-top: 10px; }
.modal-section { margin-top: 24px; }
.modal-section h4 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.modal-section + .modal-section { border-top: 1px solid #ECEFF4; padding-top: 20px; }
.modal-feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.modal-feature-list li {
  font-size: 14.5px;
  color: var(--gray-text);
  padding-left: 24px;
  position: relative;
}
.modal-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.modal-partners { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-partners span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-deep);
  background: var(--bg-light-blue);
  padding: 5px 12px;
  border-radius: 999px;
}
.modal-note {
  font-size: 13.5px;
  color: var(--gray-text);
  background: var(--bg-gray);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 10px;
}
.modal-subhead {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--blue-deep);
  margin: 16px 0 8px;
}
.modal-subhead:first-child { margin-top: 0; }
.modal-doc-link {
  margin-top: 24px;
}

.note-card {
  grid-column: 1 / -1;
  background: var(--chip-orange);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 14px;
  color: #6b4a12;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.note-card svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.note-card strong { color: var(--blue-deep); }

/* ---------- Estoque de cotas contempladas ---------- */
.cotas-estoque {
  display: none;
  grid-column: 1 / -1;
  min-width: 0;
  background: var(--white);
  border: 1px solid #ECEFF4;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.cotas-estoque.is-open { display: block; }
.cotas-estoque-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.cotas-estoque-head h3 { font-size: 19px; margin-bottom: 6px; }
.cotas-estoque-head p { font-size: 14px; color: var(--gray-text); }
.cotas-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-gray);
  color: var(--blue-deep);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.cotas-close:hover { background: var(--orange); color: var(--white); }

.cotas-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cotas-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cotas-filter {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--bg-gray);
  background: var(--white);
  color: var(--blue-deep);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.cotas-filter:hover { border-color: var(--orange-light); }
.cotas-filter.active { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }

.cotas-search {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--bg-gray);
  min-width: 240px;
  flex: 1 1 240px;
  max-width: 320px;
  color: var(--blue-darker);
}
.cotas-search:focus { outline: none; border-color: var(--orange-light); }

.cotas-loading, .cotas-empty {
  font-size: 14px;
  color: var(--gray-text);
  text-align: center;
  padding: 30px 0;
}

.cotas-scroll { overflow-x: auto; border-radius: 12px; border: 1px solid #ECEFF4; }
.cotas-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 760px; }
.cotas-table thead th {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--blue-deep);
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
}
.cotas-table th.cotas-sortable {
  cursor: pointer;
  user-select: none;
  transition: background .15s;
}
.cotas-table th.cotas-sortable:hover { background: var(--blue-darker); }
.cotas-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #ECEFF4;
  color: var(--gray-text);
  white-space: nowrap;
}
.cotas-table tbody tr:nth-child(even) { background: var(--bg-light-blue); }
.cotas-table tbody tr:hover { background: var(--chip-orange); }
.cotas-table tbody tr:last-child td { border-bottom: none; }
.cotas-table tbody tr.is-selected { background: var(--chip-orange); }
.cotas-table th.cotas-col-check,
.cotas-table td.cotas-col-check { width: 34px; padding-left: 16px; padding-right: 4px; }

/* Coluna do WhatsApp sempre visível, mesmo com a tabela rolando na horizontal */
.cotas-table th:last-child,
.cotas-table td:last-child {
  position: sticky;
  right: 0;
  background: var(--white);
  box-shadow: -6px 0 8px -6px rgba(21, 49, 94, 0.18);
}
.cotas-table thead th:last-child { background: var(--blue-deep); box-shadow: none; }
.cotas-table tbody tr:nth-child(even) td:last-child { background: var(--bg-light-blue); }
.cotas-table tbody tr:hover td:last-child,
.cotas-table tbody tr.is-selected td:last-child { background: var(--chip-orange); }
.cotas-table input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--orange);
  cursor: pointer;
}
.cotas-table input[type="checkbox"]:disabled { opacity: 0.3; cursor: not-allowed; }

.cotas-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 8px;
  border: 2px solid var(--green);
  color: var(--blue-deep);
  background: #F3FBF6;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}
.cotas-cta:hover { background: var(--green); color: var(--white); }

.cotas-row-actions { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.cotas-cta-sum {
  border-color: var(--orange);
  background: var(--chip-orange);
  color: var(--blue-deep);
}
.cotas-cta-sum:hover { background: var(--orange); color: var(--white); }

.cotas-count { font-size: 12.5px; color: var(--gray-text); margin-top: 12px; text-align: right; }

.cotas-summary {
  margin-top: 18px;
  background: var(--bg-light-blue);
  border: 2px solid var(--blue-deep);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cotas-summary-info { display: flex; flex-direction: column; gap: 4px; }
.cotas-summary-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cotas-summary-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}
.cotas-summary-figures div strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 19px;
  color: var(--blue-deep);
}
.cotas-summary-figures div span {
  font-size: 12px;
  color: var(--gray-text);
}
.cotas-summary .cotas-cta {
  font-size: 14px;
  padding: 12px 20px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cotas-estoque { padding: 20px; }
  .cotas-toolbar { flex-direction: column; align-items: stretch; }
  .cotas-search { max-width: none; }
}

/* ---------- Banco/instituições strip ---------- */
.partners-strip {
  background: var(--bg-gray);
  padding: 34px 0;
}
.partners-strip .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.partner-chip {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  color: var(--blue-deep);
  background: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-darker) 100%);
  color: var(--white);
  border-radius: 28px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(217,119,6,0.15);
}
.cta-final h2 { color: var(--white); font-size: clamp(26px,3.2vw,34px); margin-bottom: 14px; position: relative; z-index: 1;}
.cta-final p { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 560px; margin: 0 auto 30px; position: relative; z-index: 1;}
.cta-final .hero-actions { justify-content: center; position: relative; z-index: 1; margin-bottom: 0; }

/* ---------- Contact section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.contact-card {
  background: var(--white);
  border: 1px solid #ECEFF4;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-card .icon-circle { margin: 0 auto 16px; }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card a, .contact-card span.value { font-size: 15px; color: var(--gray-text); word-break: break-word; }
.contact-card a:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-darker);
  color: rgba(255,255,255,0.75);
  padding: 50px 0 26px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
}
.footer-top img { height: 40px; margin-bottom: 14px; }
.footer-top p { font-size: 14px; max-width: 340px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links h4 { color: var(--white); font-size: 14px; margin-bottom: 14px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; }
.footer-links a:hover { color: var(--orange-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom a:hover { color: var(--orange-light); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(39,174,96,0.4);
  z-index: 200;
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: var(--white); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------- Destaques (slideshow de ofertas) ---------- */
.slideshow { position: relative; margin-top: 8px; overflow: hidden; }
.slideshow-track {
  display: flex;
  transition: transform .6s ease;
  will-change: transform;
}
.slide-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 0 0 100%;
  display: flex;
  justify-content: flex-end;   /* conteúdo à direita; o "assunto" da imagem fica à esquerda */
  align-items: center;
  background-color: var(--blue-darker);      /* fallback enquanto a imagem carrega */
  background-size: cover;
  background-position: left center;
  border-radius: var(--radius);
  padding: 44px;
  min-height: 340px;
}

/* Véu de legibilidade: mais escuro do lado do texto (direita) */
.slide-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(21, 49, 94, 0.28) 0%,
    rgba(21, 49, 94, 0.60) 45%,
    rgba(21, 49, 94, 0.90) 100%
  );
  pointer-events: none;
}

/* A caixa branca do ícone sai de cena — a imagem de fundo a substitui */
.slide-visual { display: none; }

.slide-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

/* NOVA ORDEM: título em cima, chip de meta embaixo */
.slide-content h3 {
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;   /* padroniza TODOS os títulos em caixa alta */
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.slide-meta {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-light);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 16px;            /* agora o chip vem DEPOIS do título */
}
.slide-content p {
  font-size: 15.5px;
  color: #DCE6F5;
  margin-bottom: 24px;
  max-width: 460px;
}
.slide-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.slide-link { color: var(--white); }
.slide-link:hover { color: var(--orange-light); }

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: var(--shadow);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
  z-index: 2;
}
.slide-nav:hover { background: var(--orange); color: var(--white); }
.slide-prev { left: -14px; }
.slide-next { right: -14px; }

.slide-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #D7DEEA;
  cursor: pointer;
  padding: 0;
  transition: background .15s ease, transform .15s ease;
}
.slide-dot[aria-current="true"] { background: var(--orange); transform: scale(1.3); }

@media (prefers-reduced-motion: reduce) {
  .slideshow-track { transition: none; }
}
@media (max-width: 980px) {
  .slide-card {
    justify-content: center;
    text-align: center;
    padding: 32px;
    background-position: center;
    min-height: 380px;
  }
  .slide-card::before {
    background: rgba(21, 49, 94, 0.82);
  }
  .slide-content p { margin-left: auto; margin-right: auto; }
  .slide-actions { justify-content: center; }
  .slide-prev { left: 4px; }
  .slide-next { right: 4px; }
}
@media (max-width: 640px) {
  .slide-card { padding: 24px; }
  .slide-nav { width: 36px; height: 36px; font-size: 18px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-photo { order: -1; margin-bottom: 12px; max-width: 300px; }
  .stat-grid, .pillar-grid, .steps-grid, .card-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .cta-final { padding: 44px 26px; }
  .nav-logo-badge { height: 76px; width: 76px; }
  .nav-logo-title { font-size: 25px; }
  .nav-logo-sub { font-size: 14px; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .stat-grid, .pillar-grid, .steps-grid, .card-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 110px 0 50px; }
  .hero-actions .btn { width: 100%; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-cta .btn span.btn-label-full { display: none; }
  .nav-logo-badge { height: 56px; width: 56px; }
  .nav-logo-title { font-size: 20px; }
  .nav-logo-sub { font-size: 12px; letter-spacing: 0.12em; }
}

/* Mobile nav drawer */
.nav-links.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  flex-direction: column;
  padding: 20px 24px 26px;
  gap: 18px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* ---------- Perguntas Frequentes ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.faq-item {
  background: var(--white);
  border: 1px solid #ECEFF4;
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.faq-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.faq-item h3 { font-size: 18px; margin-bottom: 10px; }
.faq-item p { font-size: 14.5px; margin: 0; }

@media (max-width: 980px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ============ FAIXA DA BIBLIOTECA DE GUIAS ============ */
.bib-band{
  background:linear-gradient(160deg,var(--blue-darker) 0%,#0E2244 100%);
  color:#C3D2E4;
}
.bib-band h2{color:#fff}
.bib-band .eyebrow{color:var(--orange-light)}
.bib-grid{display:grid;gap:34px;align-items:center}
@media(min-width:900px){.bib-grid{grid-template-columns:1.15fr .85fr;gap:48px}}
.bib-lead{font-size:17px;margin-top:14px}
.bib-lead em{color:#fff;font-style:italic}
.bib-list{list-style:none;margin:22px 0 26px;padding:0;display:grid;gap:10px}
.bib-list li{position:relative;padding-left:26px;font-size:15px;color:#D5E0EE}
.bib-list li::before{
  content:"";position:absolute;left:0;top:8px;width:10px;height:10px;
  border-radius:50%;background:var(--orange);
}
.bib-actions{display:flex;flex-wrap:wrap;gap:12px}
.bib-band .btn-outline-blue{color:#fff;border-color:rgba(255,255,255,.55)}
.bib-band .btn-outline-blue:hover{background:#fff;color:var(--blue-darker)}
.bib-note{margin-top:16px;font-size:13px;color:#9FB4CE}

.bib-covers{display:flex;justify-content:center;gap:14px;perspective:900px}
.bib-capa{
  position:relative;width:132px;aspect-ratio:1/1.414;border-radius:8px;
  background:linear-gradient(158deg,#22508F 0%,#15315E 55%,#0E2244 100%);
  box-shadow:0 14px 34px rgba(0,0,0,.3);padding:12px 10px 10px 16px;
  display:flex;flex-direction:column;color:#fff;overflow:hidden;
}
.bib-capa::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--orange)}
.bib-capa:nth-child(1){transform:rotate(-8deg) translateY(10px)}
.bib-capa:nth-child(3){transform:rotate(8deg) translateY(10px)}
.bib-capa-mark{font-family:var(--font-title);font-weight:800;font-size:13px;letter-spacing:.06em}
.bib-capa-mark i{font-style:normal;color:var(--orange-light)}
.bib-capa-k{margin-top:auto;font-family:var(--font-title);font-size:6.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--orange-light)}
.bib-capa strong{font-family:var(--font-title);font-weight:800;font-size:11px;line-height:1.16;margin-top:6px}
.bib-capa-rule{width:22px;height:2px;background:var(--orange);margin-top:8px}
@media(max-width:520px){.bib-capa{width:104px}}


/* ============ CARROSSEL DE GUIAS TÉCNICOS (home) ============ */
.gc{
  position:relative;border-radius:16px;overflow:hidden;background:var(--blue-darker);
  box-shadow:var(--shadow);outline-offset:4px;
}
.gc:focus-visible{outline:3px solid var(--orange-light)}
.gc__stage{position:relative;width:100%;aspect-ratio:1600/640;min-height:360px;max-height:460px}
@media(max-width:680px){.gc__stage{aspect-ratio:auto;height:420px}}
@media(max-width:420px){.gc__stage{height:460px}}

.gc__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;opacity:0;transition:opacity .5s ease;z-index:0}
.gc__bg.is-on{opacity:1;z-index:1}

.gc__conteudo{
  position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:center;gap:16px;
  padding:40px 44px;max-width:620px;opacity:1;transition:opacity .5s ease;
}
.gc__conteudo.is-fading{opacity:0}
.gc__kicker{font-family:var(--font-title);font-weight:700;font-size:13px;letter-spacing:2px;text-transform:uppercase;color:var(--orange-light)}
.gc__headline{
  font-family:var(--font-title);font-weight:800;color:#fff;margin:0;
  font-size:clamp(26px,3.4vw,40px);line-height:1.2;max-width:22ch;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.gc__rodape{display:flex;align-items:baseline;gap:20px;flex-wrap:wrap;margin-top:4px}
.gc__de{font-family:var(--font-title);font-weight:600;font-size:15px;color:rgba(255,255,255,.6);text-decoration:line-through;margin-right:8px}
.gc__preco{font-family:var(--font-title);font-weight:800;font-size:28px;color:#fff}
.gc__cta{
  display:inline-flex;align-items:center;gap:8px;background:var(--orange);color:#fff;
  font-family:var(--font-title);font-weight:700;font-size:14.5px;padding:12px 22px;border-radius:9px;
  transition:background .15s;
}
.gc__cta:hover{background:#B45309}

.gc__controles{position:absolute;right:18px;bottom:16px;z-index:3;display:flex;align-items:center;gap:10px}
.gc__contador{font-family:var(--font-title);font-weight:600;font-size:12.5px;color:rgba(255,255,255,.75);font-variant-numeric:tabular-nums}
.gc__seta{
  width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.08);
  color:#fff;font-size:19px;line-height:1;cursor:pointer;display:grid;place-items:center;transition:background .15s;
}
.gc__seta:hover{background:rgba(255,255,255,.22)}

.gc__mais{text-align:center;margin-top:22px}
.gc__mais a{font-family:var(--font-title);font-weight:700;font-size:14.5px;color:var(--blue-deep)}
.gc__mais a:hover{color:var(--orange)}

@media(max-width:680px){
  .gc__conteudo{padding:26px 24px 74px;max-width:100%}
  .gc__headline{font-size:clamp(22px,6vw,28px)}
  .gc__rodape{gap:14px}
}

@media(prefers-reduced-motion:reduce){
  .gc__bg,.gc__conteudo{transition:none!important}
}
