/* ============================================
   Rede Price — stylesheet
   Palette derived from brand deck:
   navy   #001435  (base)
   navy-2 #062455  (surface)
   orange #F5820A  (accent)
   cream  #FAFAF8  (light surface)
   ============================================ */

:root {
  --navy: #001435;
  --navy-2: #062053;
  --navy-3: #0b2c66;
  --orange: #f5820a;
  --orange-dark: #d96f00;
  --brand-orange-text: rgb(252, 97, 2);
  --cream: #fafaf8;
  --ink: #0c1526;
  --grey: #5b6472;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(12, 21, 38, 0.1);

  --font-display: "Manrope", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1180px;
  --radius: 14px;

  /* Cor da barra do cabeçalho e da barra do rodapé (sempre iguais). */
  --header-footer-blue: #162647;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* Evita que o cabeçalho fixo cubra o topo das seções ao clicar
     em links do menu (ex: "Faça parte"). Ajustado por breakpoint
     junto com a altura real da barra de navegação. */
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange-text);
  margin-bottom: 16px;
}
.eyebrow-dark {
  color: var(--brand-orange-text);
}

.section {
  padding: 108px 0;
  position: relative;
}
.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  max-width: 780px;
  margin-bottom: 56px;
  color: var(--navy);
}
.section-title.light {
  color: #fff;
}
.section-title.dark {
  color: var(--navy);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-full {
  width: 100%;
}

/* ============ HEADER ============ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background: var(--header-footer-blue);
  padding: 20px 0;

  box-shadow: 0 8px 24px rgba(0, 10, 30, 0.15);

  transition:
    padding 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.scrolled {
  padding: 14px 0;
  box-shadow: 0 8px 24px rgba(0, 10, 30, 0.25);
}

.header-inner {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 40px;
}

.brand {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1002;
}

.brand-logo {
  width: auto;
  height: 30px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  opacity: 0.88;
  transition:
    opacity 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-cta {
  background: var(--orange);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.nav-cta:hover {
  background: var(--orange-dark);
}

.nav-portal {
  padding: 9px 18px;

  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;

  font-weight: 700 !important;
  opacity: 1 !important;

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.nav-portal:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.main-nav .nav-portal--mobile {
  display: none;
}

.nav-icon {
  display: none;
}

.footer-mobile-nav {
  display: none;
}

.a-rede-mobile-view {
  display: contents;
}

.nav-toggle {
  display: none;

  position: relative;
  z-index: 1002;

  width: 42px;
  height: 42px;
  padding: 9px;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;

  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;

  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;

  background: #fff;
  border-radius: 10px;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;

  display: flex;
  align-items: center;

  padding-top: 118px;
  padding-bottom: 90px;

  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center center;

  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  z-index: 1;

  background: linear-gradient(
    90deg,
    rgba(0, 20, 53, 0.94) 0%,
    rgba(0, 20, 53, 0.84) 52%,
    rgba(0, 20, 53, 0.64) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1040px;
}

.hero h1 {
  max-width: 1000px;

  margin-top: 40px;
  margin-bottom: 26px;

  font-size: clamp(38px, 5.15vw, 64px);
  line-height: 1.08;
}

.hero-line {
  display: flex;
  align-items: baseline;

  gap: 0.18em;

  flex-wrap: wrap;
}

.hero h1 .accent {
  color: var(--brand-orange-text);
}

.hero h1 .text-white {
  color: #fff;
}

.hero-lead {
  max-width: 100%;

  font-size: clamp(14px, 1.1vw + 11px, 20px);
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.88);

  text-align: left;
}

.hero-cards {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  margin-top: 40px;
}

.hero-cards img {
  display: block;

  width: 100%;
  max-width: 820px;
  height: auto;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;

  transform: translateX(-50%);

  z-index: 2;

  width: 26px;
  height: 42px;

  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}
/* ============ A REDE / PILARES ============ */
/* ==================================================
   SEÇÃO PILARES
================================================== */

.pilares {
  width: 100%;
  padding: 72px 0 84px;
  background: #fff1e7;
}

.pilares .container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ==================================================
   CABEÇALHO DA SEÇÃO
================================================== */

.pilares-heading {
  width: 100%;
  margin-bottom: 48px;
  padding-top: 20px;
}

/* Frase superior azul */

.section-eyebrow {
  display: block;
  margin: 0 0 16px;

  color: #0b2c66;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Título principal laranja e menor */

.pilares-heading h2 {
  width: 100%;
  max-width: none;
  margin: 0 0 16px;

  color: var(--brand-orange-text);
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.6px;
}

/* Texto introdutório ocupando toda a largura */

.pilares-intro {
  width: 100%;
  max-width: none;
  margin: 0;

  color: #34405a;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
}

/* ==================================================
   GRID DOS CARDS
================================================== */

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* ==================================================
   CARD
================================================== */

.pilar-card {
  min-width: 0;
  min-height: 440px;
  padding: 32px 24px 28px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  background: #ffffff;
  border: 1px solid #dce3ed;
  border-radius: 18px;

  box-shadow: 0 14px 34px rgba(11, 44, 102, 0.07);

  overflow: hidden;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.pilar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 130, 10, 0.5);
  box-shadow: 0 18px 42px rgba(11, 44, 102, 0.12);
}

/* ==================================================
   CABEÇALHO DO CARD
================================================== */

.pilar-header {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 18px;
  margin-bottom: 24px;
}

/* Caixa do ícone */

.pilar-icon {
  width: 76px;
  height: 76px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: #f8fafc;
  border: 1px solid #e0e7f0;
  border-radius: 18px;
}

.pilar-icon img {
  width: 49px;
  height: 49px;

  display: block;
  object-fit: contain;
}

/* Títulos menores e centralizados */

.pilar-card h3 {
  width: 100%;
  margin: 0;

  color: #071c43;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.25px;
  text-align: center;

  overflow-wrap: break-word;
  word-break: normal;
}

/* ==================================================
   DESCRIÇÃO DOS CARDS
================================================== */

.pilar-description {
  width: 100%;
  margin: 0;

  color: #536079;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  text-align: center;

  overflow-wrap: break-word;
  word-break: normal;
}

/* Trechos destacados em laranja */

.pilar-description strong {
  color: var(--brand-orange-text);
  font-weight: 800;
}

/* ==================================================
   PALAVRAS FINAIS
================================================== */

.pilar-focus {
  width: 100%;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;

  gap: 9px;

  margin-top: auto;
  padding-top: 8px;
}

.pilar-focus span {
  min-height: 28px;
  padding: 7px 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--brand-orange-text);
  background: #fff4e9;
  border: 1px solid #f9dcc0;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==================================================
   TABLET
================================================== */

/* ==================================================
   CELULAR
================================================== */

/* ==================================================
   COMO FUNCIONA — CICLO REDE PRICE
   ---------------------------------------------------
   Sistema 100% fluido baseado em Container Queries:
   o diagrama (grade de referência 1180x680) escala
   de forma contínua com a largura disponível, sem
   JavaScript e sem risco de estourar o layout.
   Abaixo de 900px de espaço disponível, o layout
   circular vira uma grade empilhável (cards em coluna).
================================================== */

.rp-cycle-section {
  --cycle-navy: #001435;
  --cycle-blue: #0b2c66;
  --cycle-orange: #f5820a;
  --cycle-orange-soft: #fff3e8;
  --cycle-text: #4f5b70;
  --cycle-border: #dfe6ef;

  position: relative;
  width: 100%;
  padding: clamp(20px, 2.2vw, 32px) 0 clamp(24px, 2.6vw, 36px);
  overflow: hidden;

  color: var(--cycle-text);

  background: radial-gradient(circle at 50% 50%, rgba(11, 44, 102, 0.07), transparent 36%), #ffffff;
}

.rp-cycle-section *,
.rp-cycle-section *::before,
.rp-cycle-section *::after {
  box-sizing: border-box;
}

/* Cabeçalho */

.rp-cycle-heading {
  max-width: 920px;
  margin: 0 auto clamp(20px, 3vw, 32px);
  text-align: center;
}

.rp-cycle-heading h2 {
  margin: 0;

  color: var(--cycle-navy);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.35vw + 10px, 19px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
}

.rp-cycle-heading h2 strong {
  color: var(--brand-orange-text);
  font-weight: 800;
}

.rp-cycle-heading__blue {
  color: var(--cycle-blue);
  font-weight: 800;
}

/* ==================================================
   Container query: tudo dentro de .rp-cycle-scale-wrap
   escala com base na largura real disponível.
================================================== */

.rp-cycle-scale-wrap {
  container-type: inline-size;
  container-name: rp-cycle;

  width: 100%;
  /* Largura reduzida em relação ao container geral (1180px): como a
     altura do diagrama é proporcional à largura (aspect-ratio fixo),
     limitar a largura aqui mantém a seção inteira visível em telas
     de notebook comuns, sem precisar rolar para ver a etapa 04. */
  max-width: 860px;
  margin: 0 auto;
}

/* ---------- Layout circular (espaço >= 900px) ---------- */

.rp-cycle {
  position: relative;

  width: 100%;
  aspect-ratio: 1180 / 680;
  margin: 0 auto;
}

/* Círculo de apoio */

.rp-cycle::before {
  content: "";

  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;

  width: 45.76cqi;
  height: 45.76cqi;

  transform: translate(-50%, -50%);

  border: 1px dashed rgba(11, 44, 102, 0.14);
  border-radius: 50%;
}

/* Setas (o SVG já escala via viewBox, sem necessidade de ajuste) */

.rp-cycle-arrows {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  pointer-events: none;
}

.rp-cycle-arrow {
  fill: none;

  stroke: var(--cycle-orange);
  stroke-width: 5;
  stroke-linecap: round;

  opacity: 0.95;
}

/* Centro do ciclo */

.rp-cycle-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;

  width: 19.5cqi;
  height: 19.5cqi;
  padding: 2.2cqi;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transform: translate(-50%, -50%);

  text-align: center;

  background: #ffffff;
  border: 1px solid #dce4ee;
  border-radius: 50%;

  box-shadow:
    0 24px 60px rgba(0, 20, 53, 0.14),
    inset 0 0 0 9px rgba(11, 44, 102, 0.03);
}

.rp-cycle-center::before {
  content: "";

  position: absolute;
  inset: -11px;

  border: 2px dashed rgba(245, 130, 10, 0.42);
  border-radius: 50%;
}

.rp-cycle-center-icon {
  width: 5.6cqi;
  height: 5.6cqi;
  min-width: 36px;
  min-height: 36px;
  margin-bottom: 0.9cqi;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--cycle-orange-soft);
  border-radius: 30%;
}

.rp-cycle-center-icon img {
  width: 60%;
  height: 60%;

  display: block;
  object-fit: contain;
}

.rp-cycle-center strong {
  max-width: 90%;

  color: var(--brand-orange-text);
  font-size: clamp(12px, 1.6cqi, 19px);
  font-weight: 800;
  line-height: 1.28;
}

/* Cards */

.rp-cycle-card {
  position: absolute;
  z-index: 3;

  width: 33.05cqi;
  padding: 1.7cqi 1.95cqi 1.7cqi 1.53cqi;

  display: grid;
  grid-template-columns: 7.46cqi minmax(0, 1fr);
  align-items: center;
  gap: 1.53cqi;

  background: rgba(255, 255, 255, 0.99);
  border: 1px solid var(--cycle-border);
  border-radius: 18px;

  box-shadow:
    0 16px 38px rgba(0, 20, 53, 0.1),
    0 4px 10px rgba(0, 20, 53, 0.04);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.rp-cycle-card:hover {
  transform: translateY(-6px);

  border-color: rgba(245, 130, 10, 0.5);

  box-shadow:
    0 22px 48px rgba(0, 20, 53, 0.15),
    0 5px 14px rgba(0, 20, 53, 0.06);
}

/* Ícone do card */

.rp-cycle-card-icon {
  width: 100%;
  aspect-ratio: 1;
  min-width: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f9fbfd;
  border: 1px solid #e1e7ef;
  border-radius: 50%;
}

.rp-cycle-card-icon img {
  width: 66%;
  height: 66%;

  display: block;
  object-fit: contain;
}

/* Número */

.rp-cycle-number {
  position: absolute;
  top: -1.36cqi;
  left: 8.3cqi;
  z-index: 4;

  min-width: 34px;
  height: 3.39cqi;
  min-height: 30px;
  padding: 0 0.85cqi;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: var(--cycle-navy);
  border: 3px solid #ffffff;
  border-radius: 999px;

  font-size: clamp(12px, 1.44cqi, 17px);
  font-weight: 800;
  line-height: 1;

  box-shadow: 0 7px 16px rgba(0, 20, 53, 0.2);
}

.rp-cycle-number--orange {
  background: var(--cycle-orange);
}

/* Conteúdo */

.rp-cycle-card-content {
  min-width: 0;
}

.rp-cycle-card-content h3 {
  margin: 0 0 0.6cqi;

  color: var(--cycle-navy);
  font-family: var(--font-display);
  font-size: clamp(14px, 1.44cqi, 17px);
  font-weight: 800;
  line-height: 1.22;
}

.rp-cycle-card-content p {
  margin: 0;

  color: var(--cycle-text);
  font-size: clamp(12px, 1.15cqi, 13.5px);
  line-height: 1.52;
}

/* Posicionamento circular */

.rp-cycle-card--01 {
  top: 2.37cqi;
  left: 4.66cqi;
}

.rp-cycle-card--02 {
  top: 2.54cqi;
  right: 4.66cqi;
}

.rp-cycle-card--03 {
  top: 24.75cqi;
  right: 0;
}

.rp-cycle-card--04 {
  left: 50%;
  bottom: 0;

  transform: translateX(-50%);
}

.rp-cycle-card--04:hover {
  transform: translateX(-50%) translateY(-6px);
}

.rp-cycle-card--05 {
  top: 24.75cqi;
  left: 0;
}

/* ---------- Layout empilhado (espaço < 900px) ---------- */

@container rp-cycle (max-width: 820px) {
  .rp-cycle {
    aspect-ratio: auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .rp-cycle::before,
  .rp-cycle-arrows,
  .rp-cycle-center {
    display: none;
  }

  .rp-cycle-card,
  .rp-cycle-card--01,
  .rp-cycle-card--02,
  .rp-cycle-card--03,
  .rp-cycle-card--04,
  .rp-cycle-card--05 {
    position: relative;
    inset: auto;

    width: 100%;

    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;

    padding: 20px 18px;

    transform: none;
  }

  .rp-cycle-card--04:hover {
    transform: translateY(-6px);
  }

  .rp-cycle-card--05 {
    grid-column: 1 / -1;

    width: min(100%, 340px);
    justify-self: center;
  }

  .rp-cycle-card-icon {
    width: 72px;
    height: 72px;
    aspect-ratio: auto;
  }

  .rp-cycle-number {
    top: -14px;
    left: 60px;

    min-width: 44px;
    height: 34px;

    font-size: 15px;
  }

  .rp-cycle-card-content h3 {
    font-size: 16px;
  }

  .rp-cycle-card-content p {
    font-size: 13.5px;
  }
}

@container rp-cycle (max-width: 440px) {
  .rp-cycle {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rp-cycle-card--05 {
    grid-column: auto;
    width: 100%;
  }

  .rp-cycle-card,
  .rp-cycle-card--01,
  .rp-cycle-card--02,
  .rp-cycle-card--03,
  .rp-cycle-card--04,
  .rp-cycle-card--05 {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 13px;
    padding: 18px 16px;
    border-radius: 16px;
  }

  .rp-cycle-card-icon {
    width: 60px;
    height: 60px;
  }

  .rp-cycle-number {
    left: 50px;
    min-width: 40px;
    height: 31px;
    font-size: 14px;
  }

  .rp-cycle-card-content p {
    font-size: 13px;
  }
}


.faca-parte {
  --fp-navy: #001435;
  --fp-blue: #0b2c66;
  --fp-orange: #f5820a;
  --fp-orange-dark: #dc7000;
  --fp-orange-soft: #fff4ea;
  --fp-text: #435068;
  --fp-muted: #6b7588;
  --fp-border: #dfe5ed;
  --fp-background: #f7f9fc;

  position: relative;
  width: 100%;
  padding: 40px 0 56px;
  overflow: hidden;

  background:
    radial-gradient(circle at 90% 12%, rgba(245, 130, 10, 0.07), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--fp-background) 100%);
}

.faca-parte *,
.faca-parte *::before,
.faca-parte *::after {
  box-sizing: border-box;
}

.faca-parte__container {
  position: relative;
  z-index: 1;
}

/* ==================================================
   CABEÇALHO
================================================== */

.faca-parte__eyebrow {
  display: block;
  margin-bottom: 12px;

  color: var(--fp-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ==================================================
   PÚBLICOS
================================================== */
/* ==================================================
   BENEFÍCIOS POR PÚBLICO
================================================== */

.faca-parte__publicos {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 68px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  background: #ffffff;
  border: 1px solid #dfe6ef;
  border-radius: 26px;

  box-shadow: 0 22px 55px rgba(0, 20, 53, 0.09);

  overflow: hidden;
}

/* ==================================================
   CARD
================================================== */

.publico-premium {
  position: relative;
  min-width: 0;
  min-height: 280px;
  padding: 38px 36px 34px;

  display: flex;
  flex-direction: column;

  background: #ffffff;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.publico-premium + .publico-premium {
  border-left: 1px solid #e4e9f0;
}

.publico-premium:hover {
  z-index: 2;

  transform: translateY(-5px);

  background: #fffdfb;

  box-shadow: 0 22px 46px rgba(0, 20, 53, 0.12);
}

/* ==================================================
   CABEÇALHO DO CARD
================================================== */

.publico-premium__header {
  width: 100%;

  display: flex;
  align-items: center;
  gap: 16px;

  margin-bottom: 30px;
}

/* Ícone */

.publico-premium__icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff5ec;
  border: 1px solid #ffd8b5;
  border-radius: 18px;

  box-shadow: 0 9px 22px rgba(245, 130, 10, 0.1);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.publico-premium:hover .publico-premium__icon {
  transform: translateY(-2px) scale(1.04);

  box-shadow: 0 14px 28px rgba(245, 130, 10, 0.16);
}

.publico-premium__icon img {
  display: block;

  width: 40px;
  height: 40px;

  object-fit: contain;
}

/* Ajuste visual individual */

.publico-premium--fornecedor .publico-premium__icon img {
  width: 42px;
  height: 42px;
}

.publico-premium--parceiro .publico-premium__icon img {
  width: 44px;
  height: 36px;
}

/* Nome ao lado do ícone */

.publico-premium__label {
  display: block;
  margin: 0;

  color: var(--brand-orange-text);

  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ==================================================
   CONTEÚDO
================================================== */

.publico-premium__content {
  width: 100%;
  flex: 1;

  display: flex;
  flex-direction: column;
}

.publico-premium__content h3 {
  min-height: 60px;
  margin: 0 0 17px;

  color: #001435;

  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.45px;
}

.publico-premium__content p {
  margin: 0;

  color: #586479;

  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

/* Linha laranja inferior */

.publico-premium__content::after {
  content: "";

  width: 46px;
  height: 3px;

  margin-top: auto;
  padding-top: 28px;

  border-bottom: 3px solid #f5820a;

  transition: width 0.25s ease;
}

.publico-premium:hover .publico-premium__content::after {
  width: 78px;
}

/* ==================================================
   TABLET
================================================== */

/* ==================================================
   CELULAR
================================================== */

/* ==================================================
   CONTAINER DO FORMULÁRIO
================================================== */

.faca-parte__form-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  overflow: hidden;

  background: #ffffff;
  border: 1px solid var(--fp-border);
  border-radius: 24px;

  box-shadow:
    0 24px 60px rgba(0, 20, 53, 0.11),
    0 5px 14px rgba(0, 20, 53, 0.04);
}

/* ==================================================
   CABEÇALHO DO FORMULÁRIO
================================================== */

.form-header {
  padding: 14px 32px;
  min-height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, rgba(11, 44, 102, 0.98) 0%, rgba(0, 20, 53, 1) 100%);
}

.form-intro {
  width: 100%;
  max-width: none;
  margin: 0;

  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

/* ==================================================
   FORMULÁRIO — ESPAÇAMENTO INTERNO
================================================== */

/*
  O padding precisa estar diretamente no formulário,
  pois o HTML utiliza id="form-faca-parte".
*/

#form-faca-parte {
  display: block;
  width: 100%;
  margin: 0;

  padding: 22px 32px 28px;
}

/* Impede elementos ocultos do Web3Forms de ocuparem espaço */

#form-faca-parte input[type="hidden"] {
  display: none;
}

#form-faca-parte .form-botcheck,
#form-faca-parte input[name="botcheck"] {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;

  width: 1px !important;
  height: 1px !important;

  margin: 0 !important;
  padding: 0 !important;

  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==================================================
   ESCOLHA DO PERFIL
================================================== */

.perfil-fieldset,
.whatsapp-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;

  border: 0;
}

.perfil-fieldset {
  width: 100%;
  margin-bottom: 22px;
}

.perfil-fieldset legend,
.whatsapp-fieldset legend {
  margin-bottom: 8px;

  color: var(--fp-navy);
  font-size: 13px;
  font-weight: 800;
}

.perfil-options {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;

  margin: 0;
  padding: 0;
}

.perfil-option {
  position: relative;

  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;

  cursor: pointer;
}

.perfil-option input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
  pointer-events: none;
}

.perfil-option__content {
  width: 100%;
  min-height: 68px;
  padding: 12px 14px;

  display: flex;
  align-items: center;
  gap: 10px;

  background: #ffffff;
  border: 1.5px solid var(--fp-border);
  border-radius: 13px;

  box-shadow: 0 4px 12px rgba(0, 20, 53, 0.02);

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.perfil-option:hover .perfil-option__content {
  transform: translateY(-3px);

  border-color: rgba(245, 130, 10, 0.58);

  box-shadow: 0 12px 28px rgba(0, 20, 53, 0.08);
}

.perfil-option input:checked + .perfil-option__content {
  background: var(--fp-orange-soft);
  border-color: var(--fp-orange);

  box-shadow:
    0 0 0 3px rgba(245, 130, 10, 0.12),
    0 12px 28px rgba(0, 20, 53, 0.08);
}

.perfil-option input:focus-visible + .perfil-option__content {
  outline: 3px solid rgba(11, 44, 102, 0.2);
  outline-offset: 3px;
}

.perfil-option__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--brand-orange-text);
  background: var(--fp-orange-soft);
  border-radius: 10px;
}

.perfil-option__icon svg {
  width: 20px;
  height: 20px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.perfil-option__content > span:last-child {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 2px;
}

.perfil-option__content strong {
  color: var(--fp-navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.perfil-option__content small {
  color: var(--fp-muted);
  font-size: 10px;
  line-height: 1.35;
}

/* ==================================================
   TÍTULOS INTERNOS — 01 E 02
================================================== */

/* Cria distância antes do segundo título */

/* ==================================================
   GRID DOS CAMPOS
================================================== */

.form-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;

  margin: 0;
  padding: 0;
}

.form-group {
  min-width: 0;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  flex: 0 0 auto;
  white-space: nowrap;

  color: #28344a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.form-group label span {
  color: var(--fp-muted);
  font-size: 10px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;

  color: #263247;
  background: #fbfcfe;
  border: 1.5px solid #dfe5ed;
  border-radius: 10px;

  font-family: var(--font-body);
  font-size: 13px;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.form-group input {
  height: 38px;
  padding: 0 12px;
}

.form-group textarea {
  min-height: 124px;
  padding: 15px 16px;

  line-height: 1.55;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9aa3b2;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #cbd4e0;
}

.form-group input:focus,
.form-group textarea:focus {
  background: #ffffff;
  border-color: var(--fp-orange);

  box-shadow: 0 0 0 4px rgba(245, 130, 10, 0.1);
}

/* ==================================================
   TELEFONE + WHATSAPP (mesma linha)
================================================== */

.form-phone-whatsapp {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-phone-whatsapp__phone {
  flex: 0 0 150px;
}

.form-phone-whatsapp .whatsapp-fieldset {
  flex: 1 1 auto;
  min-width: 0;
}

/* ==================================================
   WHATSAPP
================================================== */

.whatsapp-fieldset {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;

  padding: 12px 14px;

  background: #f8fafc;
  border: 1px solid var(--fp-border);
  border-radius: 12px;
}

.whatsapp-fieldset legend {
  margin: 0;
  white-space: nowrap;
}

.whatsapp-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}

.whatsapp-options label {
  position: relative;
  cursor: pointer;
}

.whatsapp-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.whatsapp-options span {
  min-width: 64px;
  height: 32px;
  padding: 0 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--fp-text);
  background: #ffffff;
  border: 1.5px solid var(--fp-border);
  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-options label:hover span {
  border-color: rgba(11, 44, 102, 0.4);
}

.whatsapp-options input:checked + span {
  color: #ffffff;
  background: var(--fp-blue);
  border-color: var(--fp-blue);

  box-shadow: 0 7px 16px rgba(11, 44, 102, 0.18);
}

/* ==================================================
   CONSENTIMENTO
================================================== */

.form-consent {
  grid-column: 1 / -1;

  margin-top: 16px;
  padding: 14px 16px;

  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;

  background: #f9fbfd;
  border: 1px solid #e7ecf3;
  border-radius: 12px;

  cursor: pointer;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;

  accent-color: var(--fp-orange);
}

.form-consent span {
  color: var(--fp-muted);
  font-size: 11px;
  line-height: 1.5;
}

/* ==================================================
   MENSAGENS DO FORMULÁRIO
================================================== */

.form-status {
  margin-top: 24px;
  padding: 15px 18px;

  border-radius: 13px;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.form-status--success {
  color: #175c36;
  background: #ecf9f1;
  border: 1px solid #bfe8cf;
}

.form-status--error {
  color: #8a2630;
  background: #fff1f2;
  border: 1px solid #f0c4c8;
}

#form-faca-parte .field-error {
  border-color: #c93f4d !important;

  box-shadow: 0 0 0 4px rgba(201, 63, 77, 0.1) !important;
}

/* ==================================================
   AÇÕES E BOTÃO
================================================== */

.form-actions {
  margin-top: 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.faca-parte__submit {
  min-height: 42px;
  padding: 0 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  color: #ffffff;
  background: var(--fp-orange);
  border: 0;
  border-radius: 999px;

  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  box-shadow: 0 10px 23px rgba(245, 130, 10, 0.24);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.faca-parte__submit:hover {
  transform: translateY(-2px);
  background: var(--fp-orange-dark);

  box-shadow: 0 14px 29px rgba(245, 130, 10, 0.3);
}

.faca-parte__submit:focus-visible {
  outline: 3px solid rgba(245, 130, 10, 0.28);
  outline-offset: 4px;
}

.faca-parte__submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.faca-parte__submit svg {
  width: 16px;
  height: 16px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-actions p {
  max-width: 370px;
  margin: 0;

  color: var(--fp-muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: right;
}

/* ==================================================
   TABLET
================================================== */

/* ==================================================
   CELULAR
================================================== */

/* ==================================================
   CELULAR PEQUENO
================================================== */

/* ==================================================
   AJUSTE MOBILE — FORMULÁRIO
================================================== */

/* ==================================================
   FOOTER
================================================== */

/* ==================================================
   FOOTER
================================================== */

.site-footer {
  background: var(--header-footer-blue);
  padding: 22px 0;
  /* Reserva extra no final da página: garante que seções perto do fim
     (Localização) consigam rolar até o topo corretamente em telas
     mais altas, já que não há mais conteúdo abaixo do rodapé. */
  padding-bottom: clamp(22px, 26vh, 300px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-copy {
  color: #000000;
  font-size: 11px;
  margin: 0;
}

.footer-company-details {
  color: #000000;
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
}

.footer-instagram {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  transition: 0.25s;
}

.footer-instagram:hover {
  color: var(--brand-orange-text);
}

.instagram-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

/* Responsivo */

/* Integração do formulário: mensagens e validação. Não altera o layout existente. */
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.form-status {
  margin-top: 24px;
  padding: 15px 18px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.form-status--success {
  color: #175c36;
  background: #ecf9f1;
  border: 1px solid #bfe8cf;
}
.form-status--error {
  color: #8a2630;
  background: #fff1f2;
  border: 1px solid #f0c4c8;
}
.faca-parte__form .field-error {
  border-color: #c93f4d !important;
  box-shadow: 0 0 0 4px rgba(201, 63, 77, 0.1) !important;
}
.faca-parte__submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}
/* ==================================================
   LOCALIZAÇÃO
================================================== */

/* ==================================================
   LOCALIZAÇÃO
================================================== */

.localizacao {
  --loc-navy: #001435;
  --loc-blue: #0b2c66;
  --loc-orange: #f5820a;
  --loc-text: #4f5b70;
  --loc-muted: #727c8e;
  --loc-border: #dfe6ef;
  --loc-soft: #f7f9fc;

  position: relative;
  width: 100%;
  padding: 96px 0 104px;
  overflow: hidden;

  background:
    radial-gradient(circle at 8% 18%, rgba(245, 130, 10, 0.08), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, var(--loc-soft) 100%);
}

.localizacao *,
.localizacao *::before,
.localizacao *::after {
  box-sizing: border-box;
}

.localizacao__mobile-video {
  display: block;
  width: min(100%, 380px);
  margin-top: 26px;
  overflow: hidden;

  background: #001435;
  border: 1px solid rgba(0, 20, 53, 0.1);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 20, 53, 0.13);
}

.localizacao__mobile-video video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==================================================
   ESTRUTURA
================================================== */

.localizacao__container {
  display: grid;
  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(420px, 1.08fr);

  align-items: center;
  gap: clamp(48px, 6vw, 82px);
}

/* ==================================================
   CONTEÚDO
================================================== */

.localizacao__content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.localizacao__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;

  margin-bottom: 18px;

  color: var(--brand-orange-text);

  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.localizacao__eyebrow::before {
  content: "";

  width: 38px;
  height: 2px;

  flex-shrink: 0;

  background: var(--loc-orange);
}

.localizacao__content h2 {
  max-width: 560px;
  margin: 0;

  color: var(--loc-navy);

  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.2px;
}

.localizacao__content h2 strong {
  display: block;

  color: var(--brand-orange-text);
  font-weight: 800;
}

.localizacao__description {
  max-width: 570px;
  margin: 24px 0 0;

  color: var(--loc-text);

  font-size: 17px;
  line-height: 1.75;
}

/* ==================================================
   IMAGEM
================================================== */

.localizacao__visual {
  position: relative;

  min-width: 0;
  min-height: clamp(430px, 38vw, 500px);
}

.localizacao__image-wrapper {
  position: absolute;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;

  background: #fff;

  border: 1px solid var(--loc-border);

  border-radius: 34px 8px 34px 8px;

  box-shadow: 0 30px 70px rgba(0, 20, 53, 0.16);
}

.localizacao__image {
  width: 88%;
  height: 88%;

  object-fit: contain;

  object-position: center;

  margin: auto;

  display: block;
}

.localizacao__visual:hover .localizacao__image {
  transform: scale(1.015);
}

.localizacao__image-wrapper::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(180deg, transparent 68%, rgba(0, 20, 53, 0.08) 100%);

  pointer-events: none;
}

/* Linha decorativa */

.localizacao__image-line {
  position: absolute;
  inset: 0;
  z-index: 2;

  border-top: 2px solid var(--loc-orange);
  border-right: 2px solid var(--loc-orange);
  border-radius: 34px 8px 0 0;

  pointer-events: none;
}

/* ==================================================
   CARD SOBREPOSTO
================================================== */

.localizacao__floating-card {
  position: absolute;
  left: -24px;
  bottom: 28px;
  z-index: 4;

  width: 280px;

  left: 20px;

  bottom: 20px;

  padding: 24px 26px;

  color: #ffffff;

  background: linear-gradient(135deg, var(--loc-blue) 0%, var(--loc-navy) 82%);

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px 22px 22px 6px;

  box-shadow: 0 20px 44px rgba(0, 20, 53, 0.3);
}

.localizacao__floating-card::before {
  content: "";

  position: absolute;
  top: 0;
  left: 26px;

  width: 58px;
  height: 4px;

  background: var(--loc-orange);

  border-radius: 0 0 6px 6px;
}

.localizacao__floating-card span {
  display: block;

  margin-bottom: 8px;

  color: var(--brand-orange-text);

  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.localizacao__floating-card strong {
  display: block;

  color: #ffffff;

  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.localizacao__mobile-description {
  display: none;
}

/* ==================================================
   NOTEBOOK E TABLET
================================================== */

/* ==================================================
   TABLET VERTICAL
================================================== */

/* ==================================================
   CELULAR
================================================== */

/* ==================================================
   CELULARES PEQUENOS
================================================== */

/* ==================================================
   CORREÇÃO DEFINITIVA — HEADER E HERO RESPONSIVOS
   ================================================== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.site-header {
  width: 100%;
}

.header-inner {
  position: relative;
}

/* Evita que textos e imagens estourem a tela */
.hero-content,
.hero h1,
.hero-line,
.hero-cards,
.hero-cards img {
  max-width: 100%;
}

/* Desktop */
.hero-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.18em;
  white-space: normal;
}

/* ================= TABLET ================= */

/* ================= CELULAR ================= */

/* ================= CELULAR PEQUENO ================= */

.hero-line {
  width: 100%;
}

/* ==================================================
   HERO — AJUSTE PROFISSIONAL RESPONSIVO
================================================== */

.hero {
  min-height: 760px;
}

.hero-content {
  max-width: 1120px;
}

.hero h1 {
  max-width: 980px;
}

.hero-cards img {
  max-width: 900px;
}

/* ==================================================
   TABLET
================================================== */

/* ==================================================
   CELULAR
================================================== */

/* ==================================================
   CELULAR PEQUENO
================================================== */

.form-botcheck {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.hidden-botcheck {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.hero-cards-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
  transition: 0.3s;
}

.hero-cards-btn img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-cards-btn:hover {
  transform: translateY(-5px);
}

.hero-cards-btn:active {
  transform: scale(0.98);
}

.hero-cards-btn:focus {
  outline: none;
}
.hero-cards-link {
  display: block;
  transition: 0.3s;
}

.hero-cards-link img {
  width: 100%;
  display: block;
}

.hero-cards-link:hover {
  transform: translateY(-6px);
}
/* ==================================================
   CONEXÕES
================================================== */

.conexoes {
  position: relative;
  padding: 110px 0;
  background: #ffffff;
}

.conexoes__container {
  position: relative;
}

.conexoes__heading {
  max-width: 1040px;
  margin: 0 auto 55px;
  text-align: center;
}

.conexoes__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand-orange-text);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.conexoes__heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
}

.conexoes__heading h2 strong {
  color: var(--brand-orange-text);
}

.conexoes__heading p {
  max-width: 680px;
  margin: 22px auto 0;
  color: #5b6472;
  font-size: 17px;
  line-height: 1.75;
}

/* ==================================================
   FAÇA PARTE
================================================== */

/* ==================================================
   RESPONSIVO
================================================== */

/* ==================================================
   HERO - CELULAR
================================================== */

/* ==================================================
   HERO - CELULAR
================================================== */

/* ==================================================
   RESPONSIVIDADE — CONSOLIDADO
   (do maior para o menor breakpoint; a tela mais estreita
   sempre tem prioridade em caso de conflito)
================================================== */

@media (min-width: 992px) {
}
@media (max-width: 1100px) {
  .pilares-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pilar-card {
    min-height: 420px;
  }

  .pilares-heading h2 {
    font-size: clamp(21px, 2.8vw, 29px);
  }
}
@media (max-width: 1080px) {
  .localizacao {
    padding: 80px 0 88px;
  }

  .localizacao__container {
    grid-template-columns:
      minmax(0, 0.9fr)
      minmax(380px, 1.1fr);

    gap: 48px;
  }

  .localizacao__visual {
    min-height: 620px;
  }

  .localizacao__floating-card {
    left: -12px;
  }
}
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: 125px;
    padding-bottom: 75px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(0, 20, 53, 0.96) 0%,
      rgba(0, 20, 53, 0.9) 58%,
      rgba(0, 20, 53, 0.74) 100%
    );
  }

  .hero-content {
    max-width: 850px;
  }

  .hero h1 {
    max-width: 820px;
    font-size: clamp(38px, 6vw, 54px);
    line-height: 1.08;
    margin-bottom: 24px;
  }

  .hero-cards {
    margin-top: 34px;
  }

  .hero-cards img {
    max-width: 760px;
  }

  /* Formulário — tablet (768–1024px): antes deste ajuste o formulário
     só tinha um breakpoint dedicado abaixo de 680px, então tablets
     usavam o espaçamento pensado para desktop, apertado demais. */
  .faca-parte__form-wrapper {
    border-radius: 20px;
  }

  #form-faca-parte {
    padding: 26px 30px 36px;
  }

  .perfil-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .form-grid {
    gap: 18px 20px;
  }
}
@media (max-width: 991px) {
}
@media (max-width: 960px) {
  .faca-parte__publicos {
    max-width: 760px;
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .publico-premium {
    min-height: auto;
    padding: 32px 36px;
  }

  .publico-premium + .publico-premium {
    border-left: 0;
    border-top: 1px solid #e4e9f0;
  }

  .publico-premium__header {
    margin-bottom: 23px;
  }

  .publico-premium__content h3 {
    min-height: auto;
    max-width: 580px;
  }

  .publico-premium__content p {
    max-width: 650px;
  }

  .publico-premium__content::after {
    margin-top: 25px;
    padding-top: 0;
  }
}
@media (max-width: 900px) {
  #form-faca-parte {
    padding: 20px 20px 26px;
  }

  .perfil-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .perfil-option__content {
    min-height: 56px;
    padding: 10px 12px;
  }

  .form-grid {
    gap: 12px;
  }

  .localizacao__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .localizacao__content {
    max-width: 760px;
  }

  .localizacao__description {
    max-width: 700px;
  }

  .localizacao__visual {
    width: 100%;
    min-height: 720px;
  }

  .localizacao__floating-card {
    left: 24px;
    bottom: 24px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header {
    padding: 14px 0;
  }

  html {
    scroll-padding-top: 84px;
  }

  .brand-logo {
    height: 27px;
    width: auto;
    max-width: 170px;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1003;
  }

  .main-nav {
    position: fixed;

    top: 0;
    right: 0;

    width: min(330px, 88vw);
    height: 100dvh;

    padding: 95px 24px 30px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    gap: 4px;

    background: #001435;

    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.28);

    transform: translateX(100%);
    transition: transform 0.3s ease;

    z-index: 1002;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav a {
    display: block;
    width: 100%;

    padding: 16px 8px;

    font-size: 16px;
    font-weight: 600;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav .nav-cta {
    margin-top: 16px;

    padding: 14px 20px;

    text-align: center;

    border-bottom: none;
  }

  .main-nav .nav-portal {
    margin-top: 8px;

    padding: 13px 20px;

    text-align: center;

    border-bottom: none;
    border-radius: 12px;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    min-height: auto;

    display: flex;
    align-items: flex-start;

    padding-top: 115px;
    padding-bottom: 65px;
  }

  .hero-bg {
    background-position: center center;
  }

  .hero-overlay {
    background: rgba(0, 20, 53, 0.86);
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;

    margin-bottom: 22px;

    font-size: clamp(34px, 7vw, 52px);
    line-height: 1.08;
  }

  .hero-line {
    display: block;
    width: 100%;
    white-space: normal;
  }

  .hero-line span {
    display: inline;
    white-space: normal;
  }

  .hero-cards {
    width: 100%;

    margin-top: 30px;

    display: block;
  }

  .hero-cards img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .scroll-cue {
    display: none;
  }
}
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .perfil-options {
    grid-template-columns: 1fr;
  }

  .conexoes {
    padding: 75px 0;
  }

  .faca-parte {
    padding: 40px 0 75px;
  }

  .conexoes__heading {
    margin-bottom: 38px;
    padding: 0 6px;
  }

  .conexoes__heading h2 {
    font-size: 15.5px;
  }

  .conexoes__heading p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero {
    min-height: 100svh;
    padding: 105px 0 70px;
  }

  /* Primeira frase */

  .hero h1 {
    font-size: 36px;
    line-height: 1.15;

    margin-bottom: 18px;
  }

  /* Cada frase ocupa uma linha */
  .hero-line {
    display: block;
    margin-bottom: 6px;
  }

  .hero-line .accent,
  .hero-line .text-white {
    display: inline;
  }

  .hero-cards {
    margin-top: 30px;
  }

  /* Título */
  .hero h1 {
    font-size: 25px;
    line-height: 1.15;
  }

  .hero-line {
    display: block;
    margin-bottom: 4px;
  }
}
@media (max-width: 680px) {
  .pilares {
    padding: 54px 0 64px;
  }

  .pilares .container {
    width: calc(100% - 28px);
  }

  .pilares-heading {
    margin-bottom: 34px;
  }

  .section-eyebrow {
    margin-bottom: 13px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .pilares-heading h2 {
    margin-bottom: 14px;
    font-size: 23px;
    line-height: 1.22;
    letter-spacing: -0.4px;
  }

  .pilares-intro {
    font-size: 16px;
    line-height: 1.6;
  }

  .pilares-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pilar-card {
    min-height: auto;
    padding: 28px 22px 24px;
  }

  .pilar-header {
    gap: 15px;
    margin-bottom: 20px;
  }

  .pilar-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  .pilar-icon img {
    width: 43px;
    height: 43px;
  }

  .pilar-card h3 {
    font-size: 17px;
  }

  .pilar-description {
    font-size: 15px;
    line-height: 1.7;
  }

  .pilar-focus {
    padding-top: 14px;
  }

  .faca-parte__form-wrapper {
    border-radius: 16px;
  }

  #form-faca-parte {
    padding: 16px 16px 22px;
  }

  .perfil-fieldset {
    margin-bottom: 18px;
  }

  .perfil-option__content {
    min-height: 52px;
    padding: 8px 10px;
    gap: 8px;

    border-radius: 11px;
  }

  .perfil-option__icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;

    border-radius: 9px;
  }

  .perfil-option__icon svg {
    width: 18px;
    height: 26px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-group--full,
  .whatsapp-fieldset {
    grid-column: auto;
  }

  .whatsapp-fieldset {
    padding: 17px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .faca-parte__submit {
    width: 100%;
  }

  .form-actions p {
    max-width: none;
    text-align: center;
  }

  .faca-parte__form-wrapper {
    width: calc(100% - 28px);
    margin: 0 auto;
    border-radius: 18px;
  }

  #form-faca-parte {
    padding: 14px 14px 20px;
  }

  .perfil-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .perfil-option__content {
    min-height: 48px;
    padding: 7px 10px;
    gap: 8px;
    border-radius: 10px;
  }

  .perfil-option__icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 8px;
  }

  .perfil-option__icon svg {
    width: 16px;
    height: 16px;
  }

  .perfil-option__content strong {
    font-size: 12px;
  }

  .perfil-option__content small {
    font-size: 9.5px;
    line-height: 1.35;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-group--full,
  .whatsapp-fieldset {
    grid-column: 1;
  }

  .form-group input {
    height: 38px;
  }

  .form-group textarea {
    min-height: 105px;
  }

  .whatsapp-fieldset {
    padding: 10px;
  }

  .form-actions {
    margin-top: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .faca-parte__submit {
    width: 100%;
  }

  .form-actions p {
    max-width: none;
    text-align: center;
  }

  .localizacao {
    padding: 60px 0 68px;
  }

  .localizacao__container {
    gap: 38px;
  }

  .localizacao__eyebrow {
    margin-bottom: 14px;

    font-size: 11px;
    letter-spacing: 1.6px;
  }

  .localizacao__eyebrow::before {
    width: 28px;
  }

  .localizacao__content h2 {
    font-size: 30px;
    line-height: 1.16;
    letter-spacing: -0.5px;
  }

  .localizacao__description {
    margin-top: 18px;

    font-size: 15px;
    line-height: 1.65;
  }

  .localizacao__visual {
    min-height: 520px;
  }

  .localizacao__image-wrapper {
    border-radius: 24px 6px 24px 6px;
  }

  .localizacao__image-line {
    border-radius: 24px 6px 0 0;
  }

  .localizacao__floating-card {
    left: 16px;
    right: 16px;
    bottom: 16px;

    width: auto;
    padding: 21px 22px;

    border-radius: 18px 18px 18px 5px;
  }

  .localizacao__floating-card strong {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;

    padding-top: 96px;
    padding-bottom: 46px;
  }

  .hero-bg {
    background-position: 64% center;
    transform: scale(1.03);
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 20, 53, 0.97) 0%,
      rgba(0, 20, 53, 0.94) 58%,
      rgba(0, 20, 53, 0.91) 100%
    );
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;

    margin-bottom: 20px;

    font-size: clamp(27px, 8.5vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.5px;
  }

  .hero-line {
    display: block;
    width: 100%;
    margin-bottom: 3px;

    white-space: normal;
  }

  .hero-line span {
    display: inline;
    white-space: normal;
  }



  .hero-cards {
    width: 100%;

    margin-top: 27px;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 8px;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .hero-cards img {
    width: 620px;
    max-width: none;
    height: auto;
    flex-shrink: 0;
  }

  .scroll-cue {
    display: none;
  }

  .hero-cards {
    width: 100%;
    margin-top: 24px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: visible;
  }

  .hero-cards img {
    width: 82%;
    max-width: 320px;
    height: auto;

    margin: 0 auto;

    object-fit: contain;
  }

  .hero {
    min-height: auto;
    padding-top: 94px;
    padding-bottom: 42px;
    align-items: flex-start;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;

    margin-bottom: 17px;

    font-size: clamp(25px, 7.8vw, 31px);
    line-height: 1.12;
    letter-spacing: -0.3px;
  }

  .hero-line {
    display: block;
    width: 100%;
    margin-bottom: 3px;

    white-space: normal;
  }

  .hero-line span {
    display: inline;
    white-space: normal;
  }



  .hero-cards {
    width: 100%;
    margin-top: 24px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: visible;
  }

  .hero-cards img {
    display: block;

    width: 82%;
    max-width: 320px;
    height: auto;

    margin: 0 auto;

    object-fit: contain;
  }

  .scroll-cue {
    display: none;
  }

  html {
    scroll-padding-top: 72px;
  }

  body {
    overflow-x: hidden;
  }

  .container,
  .pilares .container {
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding: 62px 0;
  }

  /* Header */
  .site-header {
    padding: 10px 0;
  }
  .site-header.scrolled {
    padding: 9px 0;
  }
  .header-inner {
    min-height: 42px;
  }
  .brand-logo {
    height: 24px;
    max-width: 150px;
  }
  .nav-toggle {
    display: flex;
    width: 40px;
    height: 40px;
  }
  .main-nav {
    width: min(310px, 86vw);
    padding: 82px 20px 28px;
  }
  .main-nav a {
    padding: 14px 6px;
    font-size: 15px;
  }

  /* Hero */
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: 92px;
    padding-bottom: 44px;
  }
  .hero-bg {
    background-position: 62% center;
    transform: none;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 20, 53, 0.96), rgba(0, 20, 53, 0.92));
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    width: 100%;
    margin-bottom: 17px;
    font-size: clamp(27px, 8.4vw, 32px);
    line-height: 1.1;
    letter-spacing: -0.35px;
  }
  .hero-line {
    display: block;
    width: 100%;
    margin-bottom: 3px;
  }
  .hero-line span {
    display: inline;
  }
  .hero-cards {
    width: 100%;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    overflow: visible;
    padding-bottom: 0;
  }
  .hero-cards img {
    width: 88%;
    max-width: 340px;
    height: auto;
    margin: 0 auto;
  }
  .scroll-cue {
    display: none;
  }

  /* Pilares */
  .pilares {
    padding: 56px 0 64px;
  }
  .pilares-heading {
    padding-top: 0;
    margin-bottom: 30px;
  }
  .pilares-heading h2 {
    font-size: 23px;
    line-height: 1.22;
  }
  .pilares-intro {
    font-size: 15.5px;
    line-height: 1.65;
  }
  .pilares-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pilar-card {
    min-height: auto;
    padding: 27px 20px 23px;
  }
  .pilar-description {
    font-size: 14.5px;
    line-height: 1.65;
  }
  .pilar-focus {
    padding-top: 12px;
    gap: 7px;
  }
  .pilar-focus span {
    font-size: 10px;
    padding: 7px 10px;
  }

  /* Faça parte */
  .faca-parte {
    padding: 32px 0 70px;
  }

  .faca-parte__publicos {
    margin-bottom: 40px;
    border-radius: 18px;
  }
  .publico-premium {
    padding: 26px 21px 28px;
  }
  .publico-premium__header {
    margin-bottom: 19px;
  }
  .publico-premium__content p {
    font-size: 14px;
    line-height: 1.65;
  }

  /* Formulário */
  .faca-parte__form-wrapper {
    border-radius: 14px;
  }

  #form-faca-parte {
    padding: 14px 14px 20px;
  }
  .perfil-fieldset {
    margin-bottom: 16px;
  }
  .perfil-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .perfil-option__content {
    min-height: 48px;
    padding: 7px 10px;
    gap: 8px;
    border-radius: 10px;
  }
  .perfil-option__icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 8px;
  }
  .perfil-option__icon svg {
    width: 16px;
    height: 16px;
  }
  .perfil-option__content strong {
    font-size: 12px;
  }
  .perfil-option__content small {
    font-size: 9.5px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .form-group,
  .form-group--full {
    grid-column: auto;
  }
  .form-group {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .form-phone-whatsapp {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .form-phone-whatsapp__phone {
    flex: 1 1 auto;
  }
  .form-group input,
  .form-group textarea {
    font-size: 16px;
    border-radius: 10px;
  }
  .whatsapp-options {
    flex-wrap: wrap;
    gap: 8px;
  }
  .whatsapp-options label {
    flex: 1 1 100px;
  }
  .form-consent {
    align-items: flex-start;
    gap: 8px;
  }
  .form-consent span {
    font-size: 11px;
    line-height: 1.5;
  }
  .form-actions {
    align-items: stretch;
  }
  .faca-parte__submit {
    width: 100%;
    min-height: 42px;
    padding: 10px 16px;
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }
  .form-actions p {
    text-align: center;
    font-size: 10.5px;
  }

  /* Localização */
  .localizacao {
    padding: 62px 0 72px;
  }
  .localizacao__container {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .localizacao__content h2 {
    font-size: 29px;
    line-height: 1.18;
  }
  .localizacao__description {
    font-size: 15px;
    line-height: 1.65;
  }
  .localizacao__visual {
    min-height: auto;
    padding-bottom: 54px;
  }
  .localizacao__image-wrapper {
    border-radius: 19px;
  }
  .localizacao__image {
    width: 100%;
    height: auto;
    min-height: 310px;
    object-fit: cover;
  }
  .localizacao__floating-card {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    width: auto;
    padding: 18px;
    border-radius: 16px;
  }
  .localizacao__floating-card strong {
    font-size: 17px;
  }
  .localizacao__floating-card p {
    font-size: 13px;
  }

  /* Footer */
  .site-footer {
    padding: 28px 0;
  }
  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }
  .footer-copy {
    font-size: 12px;
  }
  .footer-instagram {
    justify-content: center;
  }
}

/* ==========================================================
   CARROSSEIS DE CARDS — SOMENTE CELULAR
   ========================================================== */

.mobile-carousel-dots {
  display: none;
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .faca-parte__publicos,
  .pilares-grid {
    display: flex;
    width: 100%;
    max-width: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .faca-parte__publicos {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .faca-parte__publicos::-webkit-scrollbar,
  .pilares-grid::-webkit-scrollbar {
    display: none;
  }

  .faca-parte__publicos > .publico-premium,
  .pilares-grid > .pilar-card {
    flex: 0 0 88%;
    width: 88%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .faca-parte__publicos > .publico-premium {
    border: 1px solid #dfe6ef;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(0, 20, 53, 0.08);
  }

  .faca-parte__publicos > .publico-premium + .publico-premium {
    border: 1px solid #dfe6ef;
  }

  .mobile-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
  }

  .mobile-carousel-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(11, 44, 102, 0.25);
    cursor: pointer;
    transition: width 0.2s ease, border-radius 0.2s ease, background-color 0.2s ease;
  }

  .mobile-carousel-dot.is-active {
    width: 20px;
    border-radius: 999px;
    background: #f5820a;
  }

  .mobile-carousel-dot:focus-visible {
    outline: 2px solid #0b2c66;
    outline-offset: 3px;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .faca-parte__publicos,
  .pilares-grid {
    scroll-behavior: auto;
  }

  .mobile-carousel-dot {
    transition: none;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header {
    padding: 11px 0;
  }

  .header-inner {
    min-height: 42px;
  }

  .brand-logo {
    height: 23px;
    max-width: 145px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .hero {
    padding-top: 92px;
    padding-bottom: 45px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero h1 {
    margin-bottom: 20px;

    font-size: clamp(31px, 10vw, 42px);
    line-height: 1.08;
  }

  .hero-line {
    margin-bottom: 4px;
  }


  .hero-cards {
    margin-top: 24px;
  }

  .hero-cards img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .hero h1 {
    font-size: 29px;
    line-height: 1.08;
    margin-bottom: 18px;
  }

  .hero-line {
    margin-bottom: 3px;
  }


  .hero h1 {
    font-size: clamp(27px, 8.5vw, 34px);
    line-height: 1.1;
  }

  .hero h1 {
    font-size: clamp(27px, 8.5vw, 34px);
    line-height: 1.1;
    margin-bottom: 18px;
  }


}
@media (max-width: 580px) {
  .faca-parte__publicos {
    margin-bottom: 48px;
    border-radius: 20px;
  }

  .publico-premium {
    padding: 27px 23px 29px;
  }

  .publico-premium__header {
    gap: 14px;
    margin-bottom: 22px;
  }

  .publico-premium__icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;

    border-radius: 15px;
  }

  .publico-premium__icon img {
    width: 34px;
    height: 34px;
  }

  .publico-premium--fornecedor .publico-premium__icon img {
    width: 36px;
    height: 36px;
  }

  .publico-premium--parceiro .publico-premium__icon img {
    width: 38px;
    height: 31px;
  }

  .publico-premium__label {
    font-size: 10px;
    letter-spacing: 1.25px;
  }

  .publico-premium__content h3 {
    margin-bottom: 14px;

    font-size: 19px;
    line-height: 1.32;
  }

  .publico-premium__content p {
    font-size: 14px;
    line-height: 1.65;
  }

  .publico-premium__content::after {
    margin-top: 23px;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 18px;
  }

}

/* =====================================================================
   REFINAMENTO RESPONSIVO INSTITUCIONAL
   Consolida somente layout e proporção, sem alterar conteúdo.
   ===================================================================== */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.site-header .container,
.hero .container,
.rp-cycle-section .container,
.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding-inline: 0;
}

.hero {
  min-height: clamp(610px, 88svh, 790px);
  padding-block: clamp(112px, 13vh, 142px) clamp(64px, 8vh, 88px);
}

.hero-content {
  max-width: 980px;
}

.hero-lead {
  max-width: 760px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  text-wrap: balance;
}

.hero-cards {
  margin-top: clamp(28px, 4vh, 38px);
}

.hero-cards img {
  width: min(100%, 780px);
}

.hero h1 {
  max-width: 900px;
  margin-top: clamp(30px, 4vh, 42px);
  margin-bottom: 0;
  font-size: clamp(40px, 4.7vw, 60px);
  text-wrap: balance;
}

.hero-line,
.hero-line span,
.hero-lead,
.conexoes__heading h2 {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.conexoes__heading h2,
.rp-cycle-heading h2 {
  text-wrap: balance;
}

.pilares-grid,
.faca-parte__publicos,
.localizacao__container,
.form-grid,
.form-contact-inline {
  min-width: 0;
}

@media (max-width: 1080px) {
  .site-header .container,
  .hero .container,
  .rp-cycle-section .container,
  .footer-inner {
    width: calc(100% - 40px);
  }

  .site-header {
    padding: 14px 0;
  }

  .nav-toggle {
    position: relative;
    z-index: 1003;
    display: flex;
  }

  .main-nav {
    position: fixed;
    z-index: 1002;
    top: 0;
    right: 0;
    display: flex;
    width: min(340px, 88vw);
    height: 100dvh;
    padding: 94px 24px 30px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    overflow-y: auto;
    background: #001435;
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.28);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 15px 8px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav .nav-portal,
  .main-nav .nav-cta {
    padding: 13px 18px;
    text-align: center;
    border-bottom: 0;
  }

  .main-nav .nav-portal {
    margin-top: 8px;
    border-radius: 12px;
  }

  .main-nav .nav-cta {
    margin-top: 12px;
  }

  .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero {
    min-height: clamp(570px, 78svh, 700px);
    padding-block: 112px 64px;
  }

  .hero-content {
    max-width: 820px;
  }

  .hero h1 {
    font-size: clamp(37px, 5.3vw, 52px);
  }

  .hero-cards img {
    max-width: 700px;
  }

  .pilares-grid { gap: 20px; }
  .pilar-card { min-height: 390px; }
  .localizacao__container { gap: 40px; }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-block: 104px 58px;
  }

  .hero-bg { background-position: 60% center; }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(0, 20, 53, 0.96), rgba(0, 20, 53, 0.78));
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(34px, 6vw, 46px);
  }

  .faca-parte__publicos { max-width: 760px; }
  .publico-premium { padding: 30px; }

  .rp-cycle-section { padding-block: 38px 44px; }
  .rp-cycle-heading { max-width: 700px; }
  .localizacao__visual { min-height: clamp(500px, 70vw, 650px); }
}

@media (max-width: 680px) {
  .site-header .container,
  .hero .container,
  .rp-cycle-section .container,
  .footer-inner {
    width: calc(100% - 36px);
  }

  .site-header { padding: 10px 0; }
  .header-inner { min-height: 42px; }

  .brand-logo {
    width: auto;
    height: 24px;
    max-width: 150px;
  }

  .main-nav {
    width: min(320px, 88vw);
    padding: 80px 18px 24px;
  }

  .main-nav a {
    min-height: 48px;
    padding: 14px 8px;
  }

  .hero {
    min-height: auto;
    padding-block: 86px 38px;
  }

  .hero-bg {
    background-position: 61% center;
    transform: none;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 20, 53, 0.97), rgba(0, 20, 53, 0.91));
  }

  .hero-lead {
    max-width: 100%;
    font-size: clamp(13px, 3.7vw, 15px);
    line-height: 1.48;
    text-wrap: pretty;
  }

  .hero-cards {
    margin-top: 20px;
    padding: 0;
    overflow: visible;
  }

  .hero-cards img {
    width: min(100%, 310px);
    max-width: 100%;
    margin-inline: auto;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    margin-top: 22px;
    font-size: clamp(24px, 7.4vw, 31px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-wrap: pretty;
  }

  .hero-line {
    display: block;
    width: 100%;
    margin-bottom: 4px;
    flex-wrap: wrap;
    white-space: normal;
  }

  .hero-line span {
    display: inline;
    white-space: normal;
  }

  .conexoes__heading {
    margin-bottom: 28px;
    padding-inline: 0;
  }

  .conexoes__heading h2 {
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: normal;
  }

  .faca-parte__publicos { margin-bottom: 36px; }
  .publico-premium { padding: 24px 20px 26px; }

  .pilar-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .rp-cycle-section { padding-block: 30px 34px; }
  .rp-cycle-heading { margin-bottom: 24px; }
  .rp-cycle { gap: 14px; }

  .rp-cycle-card,
  .rp-cycle-card--01,
  .rp-cycle-card--02,
  .rp-cycle-card--03,
  .rp-cycle-card--04,
  .rp-cycle-card--05 { min-width: 0; }

  .faca-parte__form-wrapper { width: 100%; }
  #form-faca-parte { padding: 18px; }

  .form-group input {
    min-width: 0;
    height: 44px;
  }

  .form-group textarea { min-width: 0; }

  .localizacao__visual {
    min-height: 0;
    padding-bottom: 58px;
  }

  .localizacao__image-wrapper {
    position: relative;
    inset: auto;
    aspect-ratio: 4 / 3;
  }

  .localizacao__image {
    width: 92%;
    height: 92%;
    min-height: 0;
    object-fit: contain;
  }

  .footer-inner { gap: 12px; }
}

@media (max-width: 420px) {
  .site-header .container,
  .hero .container,
  .rp-cycle-section .container,
  .footer-inner {
    width: calc(100% - 28px);
  }

  .hero { padding-block: 82px 34px; }
  .hero-lead { font-size: 13px; }
  .hero-cards img { width: min(92%, 286px); }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(23px, 7vw, 28px);
  }

  .pilares .container,
  .faca-parte__container,
  .localizacao__container,
  .conexoes__container {
    width: calc(100% - 28px);
  }

  .perfil-option__content { padding: 9px 10px; }
  #form-faca-parte { padding: 16px 14px; }

  .localizacao__content h2 {
    font-size: clamp(25px, 8vw, 29px);
  }
}
@media (max-width: 420px) {
  #form-faca-parte {
    padding: 12px 12px 18px;
  }

  .perfil-option__content {
    padding: 7px 9px;
  }

  .perfil-option__content strong {
    font-size: 11.5px;
  }

  .perfil-option__content small {
    font-size: 9px;
  }

  .whatsapp-options {
    width: 100%;
  }

  .whatsapp-options label {
    flex: 1;
  }

  .whatsapp-options span {
    width: 100%;
  }

  .faca-parte__form-wrapper {
    width: calc(100% - 18px);
  }

  .localizacao__visual {
    min-height: 450px;
  }

  .localizacao__floating-card {
    padding: 19px 20px;
  }
}
@media (max-width: 390px) {
  .hero {
    padding-top: 88px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.1;
  }


  .hero-cards img {
    width: 560px;
  }

  .hero-cards img {
    width: 78%;
    max-width: 280px;
  }

  .container,
  .pilares .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand-logo {
    height: 22px;
  }
  .hero {
    padding-top: 86px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero-cards img {
    width: 92%;
    max-width: 290px;
  }
  .localizacao__content h2 {
    font-size: 26px;
  }
  .pilares-heading h2 {
    font-size: 20px;
  }
  #form-faca-parte {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 380px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-logo {
    height: 21px;
    max-width: 130px;
  }

  .hero {
    padding-top: 88px;
  }

  .hero h1 {
    font-size: 30px;
  }

}

/* =====================================================================
   AJUSTE FINAL DE ESPAÇAMENTO E CENTRALIZAÇÃO — REDE PRICE
   ---------------------------------------------------------------------
   - Não altera a lógica interna dos componentes.
   - Não altera posições/tamanhos do ciclo #como-funciona.
   - Apenas reduz espaços externos e centraliza os containers.
   - Responsivo para desktop, tablet e celular.
   ===================================================================== */


/* ==========================================================
   ÂNCORAS + HEADER FIXO
   ========================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

#pilares,
#como-funciona,
#faca-parte,
#localizacao {
  scroll-margin-top: 78px;
}


/* ==========================================================
   CONTAINERS — CENTRALIZAÇÃO CONSISTENTE
   ========================================================== */

.pilares .container,
.faca-parte__container,
.localizacao__container,
.conexoes__container {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;

  margin-left: auto;
  margin-right: auto;

  padding-left: 0;
  padding-right: 0;
}


/* ==========================================================
   PILARES
   ========================================================== */

.pilares {
  width: 100%;

  /* antes havia muito espaço no topo */
  padding: 28px 0 38px;

  background: #fff1e7;
}

.pilares-heading {
  width: 100%;

  padding-top: 0;
  margin-top: 0;
  margin-bottom: 30px;
}

/* Evita margem superior acidental no primeiro elemento */
.pilares-heading > :first-child {
  margin-top: 0;
}


/* ==========================================================
   FAÇA PARTE
   ========================================================== */

.faca-parte {
  width: 100%;

  min-height: 0;
  height: auto;

  padding: 30px 0 38px;

  display: block;

  overflow: hidden;
}

.faca-parte__container {
  position: relative;
  z-index: 1;
}

.faca-parte__form-wrapper {
  width: 100%;
  max-width: 1120px;

  margin-left: auto;
  margin-right: auto;
}


/* ==========================================================
   TELEFONE + WHATSAPP
   ========================================================== */

.form-contact-inline {
  grid-column: 1 / -1;

  width: 100%;
  min-width: 0;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: 16px;

  align-items: center;

  margin: 0;
  padding: 0;
}


/* Telefone mantém exatamente o padrão visual dos outros inputs */

.contact-phone {
  width: 100%;
  min-width: 0;

  display: flex;
  flex-direction: row;
  align-items: center;

  gap: 8px;
}

.contact-phone > label {
  flex: 0 0 auto;

  margin: 0;

  color: #28344a;

  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;

  white-space: nowrap;
}

.contact-phone > input {
  width: 100%;
  min-width: 0;

  flex: 1 1 auto;

  height: 38px;
  padding: 0 12px;

  color: #263247;

  background: #fbfcfe;

  border: 1.5px solid #dfe5ed;
  border-radius: 10px;

  font-family: var(--font-body);
  font-size: 13px;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-phone > input::placeholder {
  color: #9aa3b2;
}

.contact-phone > input:hover {
  border-color: #cbd4e0;
}

.contact-phone > input:focus {
  background: #ffffff;

  border-color: var(--fp-orange);

  box-shadow: 0 0 0 4px rgba(245, 130, 10, 0.1);
}


/* WhatsApp ao lado do telefone */

.contact-whatsapp-inline {
  width: 100%;
  min-width: 0;

  min-height: 38px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  gap: 12px;

  margin: 0;
  padding: 0;
}

.contact-whatsapp-inline__label {
  flex: 0 0 auto;

  margin: 0;

  color: #28344a;

  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;

  white-space: nowrap;
}

.whatsapp-inline-options {
  display: flex;
  align-items: center;

  gap: 8px;

  margin: 0;
  padding: 0;

  flex: 0 0 auto;
}

.whatsapp-inline-option {
  position: relative;

  display: inline-flex;

  margin: 0;
  padding: 0;

  cursor: pointer;
}

.whatsapp-inline-option > input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
  pointer-events: none;
}

.whatsapp-inline-option > span {
  min-width: 58px;
  height: 38px;

  padding: 0 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #28344a;

  background: #fbfcfe;

  border: 1.5px solid #dfe5ed;
  border-radius: 10px;

  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-inline-option:hover > span {
  background: #ffffff;

  border-color: rgba(245, 130, 10, 0.6);
}

.whatsapp-inline-option > input:checked + span {
  color: #ffffff;

  background: var(--fp-orange);
  border-color: var(--fp-orange);

  box-shadow: 0 6px 16px rgba(245, 130, 10, 0.2);
}


/* ==========================================================
   LOCALIZAÇÃO
   ========================================================== */

.localizacao {
  width: 100%;

  padding-top: 30px;
  padding-bottom: clamp(40px, 8vh, 90px);
}

.localizacao__container {
  margin-top: 0;
  margin-bottom: 0;
}


/* ==========================================================
   CONEXÕES
   ========================================================== */

.conexoes {
  padding-top: 32px;
  padding-bottom: 42px;
}

.conexoes__heading {
  margin-top: 0;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1080px) {

  html {
    scroll-padding-top: 76px;
  }

  #pilares,
  #como-funciona,
  #faca-parte,
  #localizacao {
    scroll-margin-top: 76px;
  }

  .pilares {
    padding: 26px 0 34px;
  }

  .pilares-heading {
    margin-bottom: 26px;
  }

  .faca-parte {
    min-height: 0;
    height: auto;

    padding: 28px 0 36px;

    display: block;
  }

  .localizacao {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .conexoes {
    padding-top: 28px;
    padding-bottom: 36px;
  }
}


/* ==========================================================
   TABLET VERTICAL
   ========================================================== */

@media (max-width: 900px) {

  .pilares .container,
  .faca-parte__container,
  .localizacao__container,
  .conexoes__container {
    width: calc(100% - 32px);
  }

  .pilares {
    padding: 24px 0 32px;
  }

  .pilares-heading {
    margin-bottom: 24px;
  }

  .faca-parte {
    padding: 26px 0 34px;
  }

  .localizacao {
    padding-top: 26px;
    padding-bottom: 34px;
  }

  .form-contact-inline {
    gap: 14px;
  }

  .contact-whatsapp-inline {
    gap: 8px;
  }

  .contact-whatsapp-inline__label {
    font-size: 11px;
  }

  .whatsapp-inline-options {
    gap: 6px;
  }

  .whatsapp-inline-option > span {
    min-width: 52px;

    padding: 0 11px;

    font-size: 11px;
  }
}


/* ==========================================================
   TABLET ESTREITO
   ========================================================== */

@media (max-width: 760px) {

  .form-contact-inline {
    grid-template-columns: 1fr;

    row-gap: 14px;
  }

  .contact-whatsapp-inline {
    justify-content: flex-start;
  }
}


/* ==========================================================
   CELULAR
   ========================================================== */

@media (max-width: 680px) {

  html {
    scroll-padding-top: 70px;
  }

  #pilares,
  #como-funciona,
  #faca-parte,
  #localizacao {
    scroll-margin-top: 70px;
  }

  .pilares .container,
  .faca-parte__container,
  .localizacao__container,
  .conexoes__container {
    width: calc(100% - 24px);
  }

  .pilares {
    padding: 22px 0 30px;
  }

  .pilares-heading {
    padding-top: 0;
    margin-bottom: 22px;
  }

  .faca-parte {
    min-height: 0;
    height: auto;

    padding: 24px 0 32px;

    display: block;
  }

  .localizacao {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .conexoes {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .form-contact-inline {
    grid-template-columns: 1fr;

    row-gap: 14px;
  }

  .contact-phone {
    width: 100%;

    flex-direction: column;
    align-items: stretch;

    gap: 6px;
  }

  .contact-phone > label,
  .contact-phone > input {
    width: 100%;
  }

  .contact-whatsapp-inline {
    width: 100%;
    min-height: auto;

    flex-wrap: wrap;

    gap: 10px;
  }

  .contact-whatsapp-inline__label {
    font-size: 12px;

    white-space: normal;
  }

  .whatsapp-inline-option > span {
    min-width: 58px;
    height: 36px;

    padding: 0 13px;

    font-size: 12px;
  }
}


/* ==========================================================
   CELULAR PEQUENO
   ========================================================== */

@media (max-width: 420px) {

  .pilares .container,
  .faca-parte__container,
  .localizacao__container,
  .conexoes__container {
    width: calc(100% - 18px);
  }

  .pilares,
  .faca-parte,
  .localizacao,
  .conexoes {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .contact-whatsapp-inline {
    align-items: flex-start;
  }

  .contact-whatsapp-inline__label {
    width: 100%;
  }
}

/* HERO - CELULAR */
@media (max-width: 680px) {

  .hero-line {
    width: 100%;
    flex-wrap: wrap;
    white-space: normal;
  }

  .hero h1 {
    font-size: clamp(23px, 6.8vw, 30px);
    line-height: 1.15;
    overflow-wrap: normal;
  }

}

/* ==========================================================
   PRIMEIRAS SEÇÕES — TELA INTEIRA SOMENTE NO CELULAR
   ========================================================== */

@media (min-width: 768px) {
  .localizacao {
    margin-top: 0;
    background: var(--header-footer-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .localizacao__content h2 {
    color: #ffffff;
  }

  .localizacao__description {
    color: rgba(255, 255, 255, 0.82);
  }
}

/* ==========================================================
   NAVEGAÇÃO MOBILE POR TELAS
   Inicial: apresentação + conexões | Rede Price: pilares
   ========================================================== */
@media (max-width: 767px) {
  /* A terceira tela fica disponível apenas pelo item Rede Price. */
  .a-rede-mobile-view > .pilares {
    display: none;
  }

  .mobile-a-rede-view .a-rede-mobile-view > .hero,
  .mobile-a-rede-view .a-rede-mobile-view > .conexoes {
    display: none;
  }

  .mobile-a-rede-view .a-rede-mobile-view > .pilares {
    display: block;
    min-height: calc(100svh - 66px - 78px - env(safe-area-inset-bottom));
    padding-top: clamp(24px, 7vw, 42px);
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }

  .mobile-a-rede-view .pilares-grid > .pilar-card {
    box-sizing: border-box;
    flex: 0 0 calc(100vw - 48px);
    width: calc(100vw - 48px);
    max-width: 420px;
    min-height: clamp(250px, 43svh, 360px);
    padding: clamp(18px, 5vw, 26px);
  }

  .mobile-a-rede-view .pilar-header {
    gap: clamp(10px, 3vw, 16px);
    margin-bottom: clamp(12px, 3.5vw, 18px);
  }

  .mobile-a-rede-view .pilar-icon {
    width: clamp(44px, 13vw, 58px);
    height: clamp(44px, 13vw, 58px);
    flex-basis: clamp(44px, 13vw, 58px);
  }

  .mobile-a-rede-view .pilar-card h3 {
    font-size: clamp(14px, 4vw, 18px);
  }

  .mobile-a-rede-view .pilar-description {
    font-size: clamp(12px, 3.3vw, 14px);
    line-height: 1.5;
  }

  /* O texto foi removido apenas da versão para celular. */
  .localizacao__description {
    display: none;
  }

  /* A localização cresce conforme o aparelho, sem cortar conteúdo. */
  .localizacao {
    min-height: calc(100svh - 66px);
    height: auto;
    padding: clamp(24px, 7vw, 42px) 0 calc(104px + env(safe-area-inset-bottom));
    overflow: visible;
  }

  .localizacao__container {
    width: min(calc(100% - 24px), 560px);
    min-width: 0;
    margin-inline: auto;
    gap: clamp(14px, 4vw, 22px);
  }

  .localizacao__content,
  .localizacao__visual,
  .localizacao__mobile-video {
    width: 100%;
    min-width: 0;
  }

  .localizacao__content h2 {
    margin-bottom: clamp(14px, 4vw, 22px);
    font-size: clamp(25px, 8vw, 38px);
    line-height: 1.08;
  }

  .localizacao__mobile-video {
    margin: 0;
  }

  .localizacao__mobile-video video {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 42svh;
    object-fit: cover;
  }

  .localizacao__floating-card {
    box-sizing: border-box;
    max-width: 100%;
    margin-top: clamp(12px, 4vw, 18px);
    padding: clamp(16px, 5vw, 24px);
  }

  .localizacao__floating-card .localizacao__mobile-description {
    display: block;
    margin: 12px 0 0;
    padding-top: 11px;
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: clamp(10px, 2.8vw, 12px);
    font-weight: 400;
    line-height: 1.45;
  }
}

/* ==========================================================
   AJUSTES FINAIS — A REDE E NAVEGAÇÃO MOBILE
   ========================================================== */
@media (max-width: 767px) {
  .mobile-a-rede-view .pilares-heading {
    margin-bottom: clamp(24px, 6svh, 52px);
  }

  .mobile-a-rede-view .pilares-intro {
    max-width: 34rem;
    margin-inline: auto;
    font-size: clamp(15px, 4.2vw, 20px);
    line-height: 1.45;
  }

  .mobile-a-rede-view .pilares-grid > .pilar-card {
    min-height: clamp(310px, 52svh, 470px);
    padding: clamp(22px, 6vw, 34px);
  }

  .mobile-a-rede-view .pilar-card h3 {
    font-size: clamp(17px, 4.8vw, 23px);
    line-height: 1.25;
  }

  .mobile-a-rede-view .pilar-description {
    margin-bottom: clamp(18px, 4svh, 32px);
    font-size: clamp(14px, 3.8vw, 18px);
    line-height: 1.58;
  }

  .mobile-a-rede-view .pilar-focus span {
    min-height: 30px;
    padding: 6px 10px;
    font-size: clamp(10px, 2.8vw, 12px);
  }

  .site-footer,
  .footer-mobile-nav {
    background: #001435;
  }

  .footer-mobile-nav {
    box-sizing: border-box;
    grid-auto-rows: 58px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
  }

  .footer-mobile-nav a,
  .footer-mobile-nav .footer-mobile-nav__portal {
    box-sizing: border-box;
    width: 100%;
    min-height: 58px;
    height: 58px;
    margin: 0;
    padding: 6px 4px;
  }

  .cookie-consent__content {
    max-width: calc(100vw - 20px);
  }

  .cookie-consent__text,
  .cookie-consent__actions {
    min-width: 0;
  }

  .cookie-consent__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================
   AVISO DE COOKIES
   ========================================================== */
.cookie-consent[hidden] {
  display: none;
}

.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2000;
  display: flex;
  justify-content: center;
}

.cookie-consent__content {
  box-sizing: border-box;
  display: flex;
  width: min(100%, 980px);
  padding: 20px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
  background: #001435;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 54px rgba(0, 10, 30, 0.3);
}

.cookie-consent__text strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 16px;
}

.cookie-consent__text p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-consent__button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: 700 12px/1.2 var(--font-display);
  cursor: pointer;
}

.cookie-consent__button--primary {
  color: #ffffff;
  background: #f5820a;
}

.cookie-consent__button--secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

@media (max-width: 767px) {
  .cookie-consent {
    right: 10px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    left: 10px;
  }

  .cookie-consent__content {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    border-radius: 15px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-consent__button {
    width: 100%;
    padding-inline: 8px;
  }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .localizacao__visual {
    min-height: 500px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .localizacao__mobile-video {
    width: min(100%, 420px);
  }

  .localizacao__visual {
    width: min(100%, 700px);
    min-height: 440px;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .mobile-a-rede-view .a-rede-mobile-view {
    display: flex;
    min-height: calc(100svh - 66px);
    flex-direction: column;
  }

  .mobile-a-rede-view .a-rede-mobile-view .pilares {
    flex: 1 0 auto;
  }

  .mobile-a-rede-view .hero {
    min-height: 0;
    padding-top: 76px;
    padding-bottom: 12px;
  }

  .mobile-a-rede-view .hero-cards {
    margin-top: 10px;
  }

  .mobile-a-rede-view .hero-cards img {
    width: min(68%, 220px);
  }

  .mobile-a-rede-view .hero h1 {
    font-size: clamp(17px, 5vw, 21px);
  }

  .site-footer {
    padding: 0;
    background: #ffffff;
  }

  .site-footer .footer-inner {
    display: none;
  }

  .localizacao {
    min-height: calc(100svh - 142px - env(safe-area-inset-bottom));
  }

  .rp-cycle-section {
    min-height: calc(100svh - 66px);
  }

  .site-header {
    padding: 10px 0;
    background: #001435;
    box-shadow: 0 8px 28px rgba(0, 10, 30, 0.24);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .header-inner {
    min-height: 46px;
    justify-content: flex-start;
  }

  .header-actions {
    display: none;
  }

  .main-nav,
  .main-nav.active {
    display: none;
  }

  .localizacao__content {
    display: flex;
    flex-direction: column;
  }

  .localizacao__mobile-video {
    order: 1;
  }

  .localizacao__description {
    order: 2;
    margin-top: 20px;
  }

  .localizacao__floating-card > span {
    display: none;
  }

  .rp-cycle-heading h2,
  .rp-cycle-heading h2 strong,
  .rp-cycle-heading__blue {
    font-weight: 800;
  }

  .localizacao__mobile-video {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;

    background: #001435;
    border: 1px solid rgba(0, 20, 53, 0.1);
    border-radius: 20px;
    box-shadow: 0 18px 38px rgba(0, 20, 53, 0.14);
  }

  .localizacao__mobile-video video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  .footer-mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;

    display: grid;
    width: 100%;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 7px;

    background: #ffffff;
    border-bottom: 1px solid rgba(17, 48, 91, 0.08);
    box-shadow: 0 -8px 28px rgba(0, 20, 53, 0.1);
  }

  .footer-mobile-nav a {
    display: flex;
    width: auto;
    min-width: 0;
    min-height: 52px;
    padding: 6px 4px;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    color: #163866;
    background: #f3f7fc;
    border: 1px solid rgba(22, 56, 102, 0.08);
    border-radius: 12px;

    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;

    transition:
      color 0.2s ease,
      background 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .footer-mobile-nav a:hover,
  .footer-mobile-nav a:focus-visible {
    color: #0b2c58;
    background: #e8f0fa;
    border-color: rgba(22, 56, 102, 0.16);
  }

  .footer-mobile-nav .nav-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .footer-mobile-nav span {
    display: block;
    max-width: 100%;
    line-height: 1.05;
  }

  .footer-mobile-nav .footer-mobile-nav__portal {
    display: flex;
    min-height: 58px;
    margin: -6px 0 0;
    padding: 6px 5px;

    color: #ffffff !important;
    background: linear-gradient(135deg, #ff8a1f 0%, #f26522 100%);
    border: 1px solid rgba(214, 79, 17, 0.22);
    border-radius: 13px;
    box-shadow: 0 8px 20px rgba(242, 101, 34, 0.38);

    font-size: 9px;
    font-weight: 800 !important;
    line-height: 1.12;
  }

  .footer-mobile-nav .footer-mobile-nav__portal:hover,
  .footer-mobile-nav .footer-mobile-nav__portal:focus-visible {
    background: linear-gradient(135deg, #ff982f 0%, #f26522 100%);
    box-shadow: 0 10px 24px rgba(242, 101, 34, 0.46);
  }

  .footer-mobile-nav a:active {
    transform: translateY(1px);
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 24px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-cards {
    order: 2;
    width: 100%;
    margin-top: 18px;
    justify-content: center;
  }

  .hero-cards-link,
  .hero-cards img {
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    order: 1;
    margin-top: 0;
    margin-bottom: 0;
    font-size: clamp(20px, 5.8vw, 25px);
    line-height: 1.18;
    letter-spacing: -0.025em;
  }

  .hero-line {
    display: block;
    max-width: 100%;
    white-space: normal;
  }

  .mobile-a-rede-view .conexoes {
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .mobile-a-rede-view .conexoes__heading {
    margin-bottom: 10px;
  }

  .mobile-a-rede-view .conexoes__heading h2 {
    font-size: 12.5px;
    line-height: 1.35;
  }

  .mobile-a-rede-view .faca-parte__publicos {
    margin-bottom: 0;
    gap: 8px;
  }

  .mobile-a-rede-view .faca-parte__publicos > .publico-premium {
    max-width: 88%;
    min-height: 205px;
    height: auto;
    padding: 12px 14px 14px;
  }

  .mobile-a-rede-view .publico-premium__header {
    gap: 9px;
    margin-bottom: 8px;
  }

  .mobile-a-rede-view .publico-premium__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 11px;
  }

  .mobile-a-rede-view .publico-premium__icon img,
  .mobile-a-rede-view .publico-premium--fornecedor .publico-premium__icon img,
  .mobile-a-rede-view .publico-premium--parceiro .publico-premium__icon img {
    width: 24px;
    height: 24px;
  }

  .mobile-a-rede-view .publico-premium__label {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .mobile-a-rede-view .publico-premium__content p {
    font-size: 11px;
    line-height: 1.38;
  }

  .mobile-a-rede-view .conexoes .mobile-carousel-dots,
  .mobile-a-rede-view .pilares .mobile-carousel-dots {
    margin-top: 6px;
  }

  .mobile-a-rede-view .pilares {
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .mobile-a-rede-view .pilares-heading {
    margin-bottom: 9px;
  }

  .mobile-a-rede-view .pilares-heading h2 {
    font-size: 18px;
    line-height: 1.25;
    text-align: center;
  }

  .mobile-a-rede-view .pilares-intro {
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
  }

  .mobile-a-rede-view .pilares-grid {
    gap: 8px;
  }

  .mobile-a-rede-view .pilares-grid > .pilar-card {
    min-height: 205px;
    padding: 12px 14px 14px;
  }

  .mobile-a-rede-view .pilar-header {
    gap: 9px;
    margin-bottom: 8px;
  }

  .mobile-a-rede-view .pilar-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .mobile-a-rede-view .pilar-icon img {
    width: 23px;
    height: 23px;
  }

  .mobile-a-rede-view .pilar-card h3 {
    font-size: 13px;
    line-height: 1.2;
  }

  .mobile-a-rede-view .pilar-description {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.38;
  }

  .mobile-a-rede-view .pilar-focus {
    gap: 5px;
  }

  .mobile-a-rede-view .pilar-focus span {
    min-height: 22px;
    padding: 4px 8px;
    font-size: 9px;
  }

  .localizacao__image-wrapper {
    display: none;
  }

  .localizacao__visual {
    min-height: 0;
    padding-bottom: 0;
  }

  .localizacao__floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 16px;
  }

  .hero > .container,
  .conexoes__container {
    width: calc(100% - 24px);
    min-width: 0;
  }

  .faca-parte__publicos {
    scroll-padding-inline: 0;
  }
}

@media (max-width: 390px) {
  .brand-logo {
    height: 23px;
  }

  .footer-mobile-nav {
    gap: 3px;
    padding-inline: 5px;
  }

  .footer-mobile-nav a {
    padding-inline: 2px;
    font-size: 8.8px;
  }

  .footer-mobile-nav .footer-mobile-nav__portal {
    padding-inline: 4px;
    font-size: 8.4px;
  }
}

@media (max-width: 420px) {
  .hero > .container,
  .conexoes__container {
    width: calc(100% - 18px);
  }
}

/* Chamadas equivalentes das seções A Rede */
.conexoes .conexoes__heading h2,
.pilares .pilares-intro {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .conexoes .conexoes__heading h2,
  .pilares .pilares-intro {
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (min-width: 768px) {
  .site-header {
    background: #001435;
  }

  .rp-cycle-section {
    position: relative;
    margin-top: 0;
    padding-top: clamp(64px, 7vw, 88px);
    padding-bottom: clamp(56px, 6vw, 76px);
    background: #edf4fc;
    border-top: 1px solid rgba(11, 44, 102, 0.1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      inset 0 18px 38px rgba(11, 44, 102, 0.025);
  }

  .rp-cycle-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;

    width: min(120px, 18vw);
    height: 4px;

    background: var(--brand-orange-text);
    border-radius: 0 0 999px 999px;
    transform: translateX(-50%);
  }

  .site-footer {
    padding: 24px 0;
    background: #ffffff;
    border-top: 1px solid rgba(11, 44, 102, 0.12);
    box-shadow: 0 -10px 30px rgba(0, 20, 53, 0.08);
  }

  .footer-copy,
  .footer-instagram {
    color: #0b2c66;
  }

  .hero {
    min-height: clamp(500px, 68svh, 600px);
    padding-top: 92px;
    padding-bottom: 42px;
  }

  .hero-content {
    display: flex;
    max-width: 980px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    order: 1;
  }

  .hero-cards {
    order: 2;
    width: 100%;
    margin-top: 26px;
    display: flex;
    justify-content: center;
  }

  .hero-cards-link {
    display: flex;
    justify-content: center;
  }

  .hero-cards img {
    width: min(82%, 700px);
    margin-inline: auto;
  }

  .hero h1 {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-line {
    justify-content: center;
  }

  .header-actions .nav-portal {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 18px;
    align-items: center;
    justify-content: center;
    gap: 9px;

    background: linear-gradient(135deg, #ff8a1f 0%, #f26522 100%);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 8px 20px rgba(242, 101, 34, 0.3);
  }

  .header-actions .nav-portal .nav-icon {
    display: block;
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .header-actions .nav-portal:hover,
  .header-actions .nav-portal:focus-visible {
    background: linear-gradient(135deg, #ff982f 0%, #f26522 100%);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 10px 24px rgba(242, 101, 34, 0.4);
    transform: translateY(-1px);
  }
}

/* Garantias finais da tela de localização em qualquer largura de celular. */
@media (max-width: 767px) {
  /* No celular, cada item principal funciona como uma tela independente. */
  .rp-cycle-section,
  .localizacao {
    display: none;
  }

  .mobile-cycle-view .a-rede-mobile-view,
  .mobile-cycle-view .localizacao,
  .mobile-location-view .a-rede-mobile-view,
  .mobile-location-view .rp-cycle-section {
    display: none;
  }

  .mobile-cycle-view .rp-cycle-section,
  .mobile-location-view .localizacao {
    display: block;
  }

  .hero > .container,
  .conexoes__container,
  .pilares .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-inline: 12px;
  }

  .mobile-a-rede-view .a-rede-mobile-view > .pilares {
    min-height: calc(100svh - 66px - 78px - env(safe-area-inset-bottom));
    padding-top: calc(66px + clamp(26px, 8vw, 44px));
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }

  .localizacao {
    min-height: calc(100svh - 66px);
    height: auto;
    padding: calc(66px + clamp(24px, 7vw, 42px)) 0 calc(104px + env(safe-area-inset-bottom));
    overflow: visible;
  }

  .localizacao__container {
    box-sizing: border-box;
    width: min(calc(100% - 24px), 560px);
    min-width: 0;
    margin-inline: auto;
    gap: clamp(14px, 4vw, 22px);
  }

  .localizacao__description {
    display: none;
  }

  .localizacao__content,
  .localizacao__visual,
  .localizacao__mobile-video {
    width: 100%;
    min-width: 0;
  }

  .localizacao__content h2 {
    margin-bottom: clamp(14px, 4vw, 22px);
    font-size: clamp(25px, 8vw, 38px);
    line-height: 1.08;
  }

  .localizacao__mobile-video {
    margin: 0;
  }

  .localizacao__mobile-video video {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 42svh;
    object-fit: cover;
  }

  .localizacao__floating-card {
    box-sizing: border-box;
    max-width: 100%;
    margin-top: clamp(12px, 4vw, 18px);
    padding: clamp(16px, 5vw, 24px);
  }
}

@media (max-width: 767px) {
  .mobile-a-rede-view .pilares-grid > .pilar-card {
    box-sizing: border-box;
    flex: 0 0 calc(100vw - 48px);
    width: calc(100vw - 48px);
    max-width: 420px;
    min-height: clamp(250px, 43svh, 360px);
    padding: clamp(18px, 5vw, 26px);
  }

  .mobile-a-rede-view .pilar-header {
    gap: clamp(10px, 3vw, 16px);
    margin-bottom: clamp(12px, 3.5vw, 18px);
  }

  .mobile-a-rede-view .pilar-icon {
    width: clamp(44px, 13vw, 58px);
    height: clamp(44px, 13vw, 58px);
    flex-basis: clamp(44px, 13vw, 58px);
  }

  .mobile-a-rede-view .pilar-card h3 {
    font-size: clamp(14px, 4vw, 18px);
  }

  .mobile-a-rede-view .pilar-description {
    font-size: clamp(12px, 3.3vw, 14px);
    line-height: 1.5;
  }

  .localizacao__visual,
  .localizacao__floating-card {
    width: min(100%, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }

  .localizacao__floating-card .localizacao__mobile-description {
    display: block;
    max-width: 100%;
    margin: 12px 0 0;
    padding-top: 11px;
    overflow-wrap: anywhere;
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: clamp(10px, 2.8vw, 12px);
    font-weight: 400;
    line-height: 1.45;
    white-space: normal;
  }
}

/* Prioridade final para a tela A Rede e a barra inferior no celular. */
@media (max-width: 767px) {
  .mobile-a-rede-view .pilares-heading {
    margin-bottom: clamp(24px, 6svh, 52px);
  }

  .mobile-a-rede-view .pilares-intro {
    max-width: 34rem;
    margin-inline: auto;
    font-size: clamp(15px, 4.2vw, 20px);
    line-height: 1.45;
  }

  .mobile-a-rede-view .pilares-grid > .pilar-card {
    min-height: clamp(310px, 52svh, 470px);
    padding: clamp(22px, 6vw, 34px);
  }

  .mobile-a-rede-view .pilar-card h3 {
    font-size: clamp(17px, 4.8vw, 23px);
    line-height: 1.25;
  }

  .mobile-a-rede-view .pilar-description {
    margin-bottom: clamp(18px, 4svh, 32px);
    font-size: clamp(14px, 3.8vw, 18px);
    line-height: 1.58;
  }

  .mobile-a-rede-view .pilar-focus span {
    min-height: 30px;
    padding: 6px 10px;
    font-size: clamp(10px, 2.8vw, 12px);
  }

  .site-footer,
  .footer-mobile-nav {
    background: #001435;
  }

  .footer-mobile-nav {
    grid-auto-rows: 58px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
  }

  .footer-mobile-nav a,
  .footer-mobile-nav .footer-mobile-nav__portal {
    width: 100%;
    min-height: 58px;
    height: 58px;
    margin: 0;
    padding: 6px 4px;
  }
}

/* ==========================================================
   COOKIES — INTERFACE COMPACTA E PAINEL DE PREFERÊNCIAS
   ========================================================== */
.cookie-consent {
  right: 18px;
  bottom: 18px;
  left: 18px;
  pointer-events: none;
  animation: cookie-enter 0.28s ease-out both;
}

.cookie-consent__content {
  width: min(100%, 920px);
  max-width: calc(100vw - 36px);
  padding: 16px 18px;
  gap: 20px;
  color: #001435;
  background: #ffffff;
  border: 1px solid rgba(0, 20, 53, 0.13);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0, 20, 53, 0.15);
  pointer-events: auto;
}

.cookie-consent__text {
  min-width: 0;
}

.cookie-consent__text strong {
  margin-bottom: 4px;
  color: #001435;
  font-size: 15px;
}

.cookie-consent__text p {
  max-width: 570px;
  color: #4d5e75;
  font-size: 12px;
  line-height: 1.45;
}

.cookie-consent__actions {
  align-items: center;
  gap: 8px;
}

.cookie-consent__button,
.cookie-consent__configure {
  min-height: 40px;
  border-radius: 9px;
  font: 700 11px/1.2 var(--font-display);
  white-space: nowrap;
}

.cookie-consent__button {
  padding: 9px 13px;
}

.cookie-consent__button--primary {
  color: #ffffff;
  background: #001435;
}

.cookie-consent__button--primary:hover,
.cookie-consent__button--primary:focus-visible {
  background: #0b2c58;
}

.cookie-consent__button--secondary {
  color: #001435;
  background: #ffffff;
  border-color: rgba(0, 20, 53, 0.24);
}

.cookie-consent__configure {
  padding: 8px 6px;
  color: #0b4b8a;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-consent__button:focus-visible,
.cookie-consent__configure:focus-visible,
.cookie-preferences button:focus-visible,
.footer-cookie-preferences:focus-visible,
.cookie-toggle input:focus-visible + span {
  outline: 3px solid rgba(245, 130, 10, 0.5);
  outline-offset: 2px;
}

.cookie-preferences[hidden] {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  padding: 20px;
  place-items: center;
}

.cookie-preferences__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 53, 0.28);
  animation: cookie-fade 0.2s ease-out both;
}

.cookie-preferences__dialog {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 540px);
  max-height: calc(100svh - 40px);
  padding: 26px;
  overflow-y: auto;
  color: #001435;
  background: #ffffff;
  border: 1px solid rgba(0, 20, 53, 0.12);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 20, 53, 0.24);
  animation: cookie-enter 0.25s ease-out both;
}

.cookie-preferences__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  color: #35506f;
  background: #f3f6fa;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
}

.cookie-preferences__dialog h2 {
  margin: 0 48px 6px 0;
  font: 800 clamp(21px, 3vw, 27px)/1.2 var(--font-display);
}

.cookie-preferences__intro {
  margin: 0 0 18px;
  color: #607086;
  font-size: 13px;
}

.cookie-preferences__category {
  display: flex;
  padding: 16px 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #e3e9f0;
}

.cookie-preferences__category h3 {
  margin: 0 0 4px;
  font: 800 14px/1.3 var(--font-display);
}

.cookie-preferences__category p {
  margin: 0;
  color: #607086;
  font-size: 12px;
  line-height: 1.45;
}

.cookie-preferences__status {
  flex: 0 0 auto;
  color: #0b4b8a;
  font-size: 11px;
}

.cookie-toggle {
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
}

.cookie-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cookie-toggle > span[aria-hidden] {
  position: relative;
  display: block;
  width: 46px;
  height: 26px;
  background: #cad3df;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.cookie-toggle > span[aria-hidden]::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 20, 53, 0.2);
  transition: transform 0.2s ease;
}

.cookie-toggle input:checked + span {
  background: #f5820a;
}

.cookie-toggle input:checked + span::after {
  transform: translateX(20px);
}

.cookie-preferences__actions {
  display: flex;
  margin-top: 8px;
  justify-content: flex-end;
  gap: 10px;
}

.footer-cookie-preferences {
  padding: 0;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: 0;
  font: 600 11px/1.3 var(--font-body);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-cookie-preferences--mobile {
  display: none;
}

@keyframes cookie-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cookie-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 767px) {
  .cookie-consent {
    right: 10px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    left: 10px;
  }

  .cookie-consent__content {
    width: 100%;
    max-width: calc(100vw - 20px);
    padding: 15px;
    gap: 12px;
    border-radius: 13px;
  }

  .cookie-consent__text strong {
    font-size: 14px;
  }

  .cookie-consent__text p {
    font-size: 11px;
  }

  .cookie-consent__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }

  .cookie-consent__button,
  .cookie-consent__configure {
    width: 100%;
    min-height: 42px;
  }

  .cookie-consent__button--primary { order: 1; }
  .cookie-consent__button--secondary { order: 2; }
  .cookie-consent__configure { order: 3; min-height: 34px; }

  .cookie-preferences {
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }

  .cookie-preferences__dialog {
    width: 100%;
    max-height: calc(100svh - 24px);
    padding: 22px 18px 18px;
    border-radius: 16px;
  }

  .cookie-preferences__category {
    align-items: flex-start;
  }

  .cookie-preferences__actions {
    flex-direction: column-reverse;
  }

  .cookie-preferences__actions .cookie-consent__button {
    width: 100%;
  }

  .footer-cookie-preferences--mobile {
    position: fixed;
    right: 12px;
    bottom: calc(80px + env(safe-area-inset-bottom));
    z-index: 1090;
    display: block;
    padding: 5px 7px;
    color: rgba(255, 255, 255, 0.8);
    background: #001435;
    border-radius: 7px;
    font-size: 9px;
  }

  .cookie-banner-visible .footer-cookie-preferences--mobile {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent,
  .cookie-preferences__overlay,
  .cookie-preferences__dialog {
    animation: none;
  }

  .cookie-toggle > span[aria-hidden],
  .cookie-toggle > span[aria-hidden]::after {
    transition: none;
  }
}

/* Navegação inferior mobile: barra plana no estilo de aplicativo. */
@media (max-width: 767px) {
  .footer-mobile-nav {
    background: #001435;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 28px rgba(0, 20, 53, 0.22);
  }

  .footer-mobile-nav > a:not(.footer-mobile-nav__portal) {
    color: #ffffff;
    background: transparent;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .footer-mobile-nav > a:not(.footer-mobile-nav__portal):hover,
  .footer-mobile-nav > a:not(.footer-mobile-nav__portal):focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: transparent;
    border-radius: 8px;
  }

  .footer-mobile-nav > a:not(.footer-mobile-nav__portal) .nav-icon,
  .footer-mobile-nav > a:not(.footer-mobile-nav__portal) span {
    color: #ffffff;
  }
}

/* ==========================================================
   TELAS MOBILE COMPACTAS
   A abertura reune hero + conexoes e "Como funciona" ocupa
   exatamente a area util entre o cabecalho e a navegacao.
   ========================================================== */
@media (max-width: 767px) {
  :root {
    --mobile-header-height: 66px;
    --mobile-nav-height: calc(78px + env(safe-area-inset-bottom));
    --mobile-screen-height: calc(100svh - var(--mobile-nav-height));
  }

  @supports (height: 100dvh) {
    :root {
      --mobile-screen-height: calc(100dvh - var(--mobile-nav-height));
    }
  }

  /* Tela inicial: o hero deixa de ocupar uma tela sozinho. */
  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view)
    .a-rede-mobile-view {
    display: flex;
    height: var(--mobile-screen-height);
    min-height: 420px;
    flex-direction: column;
    overflow: hidden;
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view) .hero {
    min-height: 0;
    flex: 0 0 clamp(205px, 37svh, 300px);
    padding: calc(var(--mobile-header-height) + 8px) 0 10px;
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view)
    .hero-content {
    justify-content: center;
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view) .hero h1 {
    font-size: clamp(17px, 5.4vw, 24px);
    line-height: 1.12;
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view)
    .hero-cards {
    margin-top: clamp(8px, 2svh, 14px);
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view)
    .hero-cards img {
    width: min(68vw, 270px);
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view)
    .conexoes {
    min-height: 0;
    padding: clamp(10px, 2svh, 18px) 0 8px;
    flex: 1 1 auto;
    overflow: hidden;
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view)
    .conexoes__container {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view)
    .conexoes__heading {
    margin-bottom: clamp(7px, 1.5svh, 12px);
    flex: 0 0 auto;
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view)
    .conexoes__heading h2 {
    display: block !important;
    width: 100%;
    min-width: 0;
    font-size: clamp(11px, 3.25vw, 14px);
    line-height: 1.3;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view)
    .faca-parte__publicos {
    min-height: 0;
    margin-bottom: 0;
    flex: 1 1 auto;
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view)
    .faca-parte__publicos > .publico-premium {
    min-height: 0;
    height: 100%;
    max-height: 245px;
    padding: clamp(12px, 3.5vw, 18px);
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view)
    .publico-premium__content p {
    font-size: clamp(10px, 2.8vw, 12px);
    line-height: 1.4;
  }

  /* Como funciona: frase sempre visivel e cinco etapas na mesma tela. */
  .mobile-cycle-view .rp-cycle-section {
    height: var(--mobile-screen-height);
    min-height: 420px;
    padding: calc(var(--mobile-header-height) + 8px) 0 10px;
    overflow: hidden;
  }

  .mobile-cycle-view .rp-cycle-section > .container {
    display: flex;
    height: 100%;
    min-height: 0;
    padding-inline: clamp(9px, 3vw, 14px);
    flex-direction: column;
  }

  .mobile-cycle-view .rp-cycle-heading {
    width: 100%;
    margin: 0 auto clamp(8px, 1.8svh, 14px);
    flex: 0 0 auto;
  }

  .mobile-cycle-view .rp-cycle-heading h2 {
    display: block !important;
    width: 100%;
    min-width: 0;
    font-size: clamp(13px, 3.8vw, 17px);
    line-height: 1.3;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .mobile-cycle-view .rp-cycle-heading__blue {
    display: inline;
  }

  .mobile-cycle-view .rp-cycle-scale-wrap {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
  }

  .mobile-cycle-view .rp-cycle {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, minmax(0, 1fr));
    gap: clamp(5px, 1.1svh, 9px);
  }

  .mobile-cycle-view .rp-cycle-card,
  .mobile-cycle-view .rp-cycle-card--01,
  .mobile-cycle-view .rp-cycle-card--02,
  .mobile-cycle-view .rp-cycle-card--03,
  .mobile-cycle-view .rp-cycle-card--04,
  .mobile-cycle-view .rp-cycle-card--05 {
    position: relative;
    inset: auto;
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: clamp(5px, 1.5svh, 9px) clamp(9px, 3vw, 14px);
    grid-column: auto;
    grid-template-columns: clamp(32px, 10vw, 44px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(8px, 2.5vw, 12px);
    overflow: hidden;
    border-radius: 12px;
    transform: none;
  }

  .mobile-cycle-view .rp-cycle-card-icon {
    width: clamp(32px, 10vw, 44px);
    height: clamp(32px, 10vw, 44px);
    min-width: 0;
  }

  .mobile-cycle-view .rp-cycle-number {
    top: 3px;
    left: clamp(28px, 8.5vw, 38px);
    min-width: 26px;
    height: 20px;
    min-height: 0;
    padding-inline: 5px;
    border-width: 2px;
    font-size: 9px;
  }

  .mobile-cycle-view .rp-cycle-card-content p {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    font-size: clamp(9px, 2.55vw, 11px);
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view)
    .hero-line {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
  }
}

@media (max-width: 359px), (max-height: 620px) and (max-width: 767px) {
  body:not(.mobile-a-rede-view):not(.mobile-cycle-view):not(.mobile-location-view) .hero {
    flex-basis: 200px;
  }

  .mobile-cycle-view .rp-cycle-section {
    padding-top: calc(var(--mobile-header-height) + 5px);
    padding-bottom: 7px;
  }

  .mobile-cycle-view .rp-cycle-heading {
    margin-bottom: 6px;
  }

  .mobile-cycle-view .rp-cycle-heading h2 {
    font-size: 12px;
  }

  .mobile-cycle-view .rp-cycle {
    gap: 4px;
  }

  .mobile-cycle-view .rp-cycle-card,
  .mobile-cycle-view .rp-cycle-card--01,
  .mobile-cycle-view .rp-cycle-card--02,
  .mobile-cycle-view .rp-cycle-card--03,
  .mobile-cycle-view .rp-cycle-card--04,
  .mobile-cycle-view .rp-cycle-card--05 {
    padding-block: 4px;
  }
}
