/* ============================================================
   CPE / PMERJ
   STYLE.CSS - ARQUIVO COMPLETO
   ============================================================ */


/* ============================================================
   01. VARIÁVEIS
   ============================================================ */

:root {
  --black: #050505;
  --black-soft: #0c0c0c;
  --black-card: #111111;
  --black-light: #1a1a1a;

  --white: #ffffff;
  --off-white: #f8f8f8;

  --gray-50: #fafafa;
  --gray-100: #f4f4f4;
  --gray-200: #e8e8e8;
  --gray-300: #d8d8d8;
  --gray-400: #b7b7b7;
  --gray-500: #8a8a8a;
  --gray-600: #666666;
  --gray-700: #444444;
  --gray-800: #282828;

  --red: #c80000;
  --red-dark: #a40000;
  --red-light: #e00000;

  --gold: #b28a32;

  --container: 1560px;

  --header-height: 104px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-soft:
    0 8px 25px rgba(0, 0, 0, 0.08);

  --shadow-medium:
    0 12px 35px rgba(0, 0, 0, 0.12);

  --transition:
    0.3s ease;
}


/* ============================================================
   02. RESET
   ============================================================ */

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


html {
  width: 100%;
  scroll-behavior: smooth;
}


body {
  width: 100%;
  min-height: 100vh;

  overflow-x: hidden;

  background: var(--white);
  color: var(--black);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
}


img {
  display: block;

  max-width: 100%;
}


a {
  color: inherit;

  text-decoration: none;
}


ul,
ol {
  list-style: none;
}


button,
input,
textarea,
select {
  font: inherit;
}


button {
  border: 0;

  cursor: pointer;
}


.main-content {
  width: 100%;
}


.content-container,
.header-container,
.footer-container {
  width: min(
    calc(100% - 48px),
    var(--container)
  );

  margin-inline: auto;
}


/* ============================================================
   03. CABEÇALHO
   ============================================================ */

.site-header {
  position: relative;

  z-index: 1000;

  width: 100%;
  min-height: var(--header-height);

  background:
    linear-gradient(
      90deg,
      #030303 0%,
      #090909 65%,
      #171717 100%
    );

  border-bottom:
    1px solid rgba(255, 255, 255, 0.12);
}


.header-container {
  min-height: var(--header-height);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 35px;
}


/* ============================================================
   04. IDENTIDADE
   ============================================================ */

.brand-area {
  flex: 0 0 auto;
}


.brand-link {
  display: flex;
  align-items: center;

  gap: 18px;

  color: var(--white);
}


.brand-logo {
  width: 60px;
  height: 76px;

  object-fit: contain;
}


.brand-text h1 {
  color: var(--white);

  font-size: 21px;
  line-height: 1.02;

  font-weight: 900;
}


.brand-text p {
  margin-top: 7px;

  display: flex;
  align-items: center;

  gap: 10px;

  color: var(--white);

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.brand-text p span {
  color: var(--gray-500);
}


/* ============================================================
   05. NAVEGAÇÃO
   ============================================================ */

.header-navigation-area {
  margin-left: auto;
}


.main-nav > ul {
  display: flex;
  align-items: center;

  gap: 38px;
}


.main-nav li {
  position: relative;
}


.nav-link {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 70px;

  color: var(--white);

  font-size: 13px;
  font-weight: 800;

  transition:
    color var(--transition);
}


.nav-link::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 9px;

  width: 0;
  height: 3px;

  background: var(--white);

  transform:
    translateX(-50%);

  transition:
    width var(--transition);
}


.nav-link:hover::after,
.nav-link.active::after {
  width: 34px;
}


/* ============================================================
   06. DROPDOWN
   ============================================================ */

.dropdown-menu {
  position: absolute;

  top: calc(100% - 4px);
  left: 50%;

  width: 225px;

  padding: 10px;

  background: #111111;

  border:
    1px solid rgba(255, 255, 255, 0.12);

  border-radius: 8px;

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.35);

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transform:
    translate(-50%, 10px);

  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition);
}


.nav-item-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;

  pointer-events: auto;

  transform:
    translate(-50%, 0);
}


.dropdown-menu a {
  display: block;

  padding: 11px 13px;

  border-radius: 5px;

  color: var(--white);

  font-size: 13px;
  font-weight: 600;

  transition:
    background var(--transition),
    padding-left var(--transition);
}


.dropdown-menu a:hover {
  padding-left: 18px;

  background: var(--red);
}


/* ============================================================
   07. AÇÕES DO CABEÇALHO
   ============================================================ */

.header-actions {
  display: flex;
  align-items: center;

  gap: 12px;
}


.internal-area-btn {
  min-height: 44px;

  padding: 0 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  background: var(--white);
  color: var(--black);

  border-radius: 5px;

  font-size: 13px;
  font-weight: 900;

  transition:
    background var(--transition),
    color var(--transition);
}


.internal-area-btn:hover {
  background: var(--red);
  color: var(--white);
}


.mobile-menu-btn {
  display: none;

  width: 44px;
  height: 44px;

  align-items: center;
  justify-content: center;

  background: #151515;
  color: var(--white);

  border:
    1px solid rgba(255, 255, 255, 0.25);

  border-radius: 7px;

  font-size: 20px;
}


/* ============================================================
   08. HERO
   ============================================================ */

.hero-section {
  position: relative;

  width: 100%;

  min-height: 690px;

  overflow: hidden;

  background: #000;
}


.hero-media,
.hero-overlay,
.hero-gradient {
  position: absolute;

  inset: 0;
}


.hero-media {
  z-index: 0;
}


.hero-image {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}


/* Mantém a composição do desktop */

.hero-overlay {
  z-index: 1;

  background:
    rgba(0, 0, 0, 0.08);
}


.hero-gradient {
  z-index: 2;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.82) 25%,
      rgba(0, 0, 0, 0.38) 48%,
      rgba(0, 0, 0, 0.03) 74%
    );
}


.hero-container {
  position: relative;

  z-index: 4;

  width: min(
    calc(100% - 48px),
    var(--container)
  );

  min-height: 690px;

  margin-inline: auto;

  display: flex;
  align-items: center;
}


.hero-content {
  width: 100%;
}


.hero-content-raised {
  transform:
    translateY(-10px);
}


.hero-copy {
  width: min(630px, 46%);
}


.hero-eyebrow {
  position: relative;

  margin-bottom: 25px;
  padding-left: 38px;

  color: var(--white);

  font-size: 13px;
  font-weight: 900;

  letter-spacing: 1.3px;
  text-transform: uppercase;
}


.hero-eyebrow::before {
  content: "";

  position: absolute;

  left: 0;
  top: 50%;

  width: 26px;
  height: 2px;

  background: var(--white);

  transform:
    translateY(-50%);
}


.hero-title {
  color: var(--white);

  font-size:
    clamp(50px, 4.2vw, 72px);

  line-height: 0.98;

  font-weight: 900;

  letter-spacing: -2px;
}


.hero-title span {
  display: block;

  margin-top: 12px;

  color: #e8e8e8;

  font-size:
    clamp(39px, 3.2vw, 56px);

  line-height: 1;
}


.hero-description {
  max-width: 610px;

  margin-top: 32px;

  color: var(--white);

  font-size: 16px;
  line-height: 1.8;
}


.hero-actions {
  margin-top: 36px;

  display: flex;
  align-items: center;

  gap: 14px;
}


.hero-btn {
  min-height: 50px;

  padding: 0 23px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 13px;

  border-radius: 4px;

  font-size: 13px;
  font-weight: 900;

  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}


.hero-btn-primary {
  background: var(--white);
  color: var(--black);
}


.hero-btn-primary:hover {
  background: var(--red);
  color: var(--white);
}


.hero-btn-secondary {
  background:
    rgba(0, 0, 0, 0.35);

  color: var(--white);

  border:
    1px solid rgba(255, 255, 255, 0.45);
}


.hero-btn-secondary:hover {
  background: var(--white);
  color: var(--black);
}


/*
   IMPORTANTE:
   elemento criado apenas para smartphone.
*/

.hero-mobile-emblem {
  display: none;
}


/* ============================================================
   09. TÍTULOS
   ============================================================ */

.section-title {
  display: flex;
  align-items: flex-start;

  gap: 13px;
}


.title-marker {
  display: block;

  flex: 0 0 auto;

  width: 6px;
  height: 35px;

  background: var(--black);

  border-radius: 4px;
}


.section-title h2 {
  color: var(--black);

  font-size:
    clamp(28px, 2.4vw, 40px);

  line-height: 1.1;

  font-weight: 900;
}


.section-eyebrow {
  display: block;

  margin-bottom: 8px;

  color: var(--gray-600);

  font-size: 12px;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: 1.4px;
}


/* ============================================================
   10. INSTITUCIONAL
   ============================================================ */

.institutional-intro-section {
  padding: 85px 0;

  background: var(--white);
}


.institutional-intro-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  align-items: center;

  gap: 70px;
}


/*
   AJUSTE PEDIDO:
   - sem barra vermelha lateral;
   - sem sombra inferior;
*/

.institutional-intro-image {
  position: relative;

  overflow: hidden;

  border-radius: 10px;

  background: transparent;

  box-shadow: none;
}


.institutional-intro-image::before,
.institutional-intro-image::after {
  display: none !important;

  content: none !important;
}


.institutional-intro-image-clean {
  border-left: 0 !important;

  box-shadow: none !important;
}


.institutional-intro-image img {
  width: 100%;
  height: auto;

  display: block;

  border-radius: 10px;

  object-fit: cover;

  box-shadow: none !important;
}


.institutional-intro-content {
  max-width: 800px;
}


.institutional-intro-content > p {
  margin-top: 24px;

  color: #333333;

  font-size: 15px;
  line-height: 1.9;
}


.institutional-link {
  width: max-content;

  margin-top: 25px;

  padding-bottom: 5px;

  display: inline-flex;
  align-items: center;

  gap: 12px;

  border-bottom:
    2px solid var(--black);

  color: var(--black);

  font-size: 13px;
  font-weight: 900;

  transition:
    color var(--transition),
    border-color var(--transition);
}


.institutional-link:hover {
  color: var(--red);

  border-color: var(--red);
}


/* ============================================================
   11. SERVIÇOS E ACESSOS RÁPIDOS
   ============================================================ */

.quick-services-section {
  padding: 75px 0 90px;
}


.quick-services-dark {
  background: #030303;
}


.quick-services-title {
  margin-bottom: 32px;
}


.quick-services-title .title-marker {
  background: var(--white);
}


.quick-services-title h2 {
  color: var(--white);
}


.services-grid {
  display: grid;

  gap: 24px;
}


.services-grid-three {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}


.service-card {
  overflow: hidden;

  background: var(--white);

  border:
    1px solid rgba(255, 255, 255, 0.75);

  border-radius: 11px;

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}


.service-card:hover {
  transform:
    translateY(-4px);

  box-shadow:
    0 16px 35px rgba(0, 0, 0, 0.35);
}


/* Cabeçalho vermelho conforme referência */

.service-card-header {
  min-height: 102px;

  padding: 25px;

  display: flex;
  align-items: center;

  gap: 17px;

  background:
    linear-gradient(
      135deg,
      #9e0000,
      #c60000
    );

  color: var(--white);
}


.service-icon {
  flex: 0 0 auto;

  width: auto;
  height: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 0;

  background: transparent;

  color: var(--white);

  font-size: 21px;
  line-height: 1;
}


.service-card-header h3 {
  color: var(--white);

  font-size: 16px;
  font-weight: 900;
}


.service-card-body {
  padding:
    13px 25px 17px;

  background: var(--white);
}


.service-link {
  min-height: 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  color: var(--black);

  border-bottom:
    1px solid var(--gray-200);

  font-size: 13px;

  transition:
    color var(--transition),
    padding-left var(--transition);
}


.service-link:last-child {
  border-bottom: 0;
}


.service-link:hover {
  padding-left: 5px;

  color: var(--red);
}


/* ============================================================
   12. UNIDADES
   ============================================================ */

.units-section {
  padding: 85px 0;

  background: var(--white);
}


.section-heading-center {
  max-width: 850px;

  margin:
    0 auto 45px;

  text-align: center;
}


.section-title-center {
  justify-content: center;
  align-items: center;
}


.section-description {
  margin-top: 16px;

  color: var(--gray-600);

  font-size: 15px;
}


.units-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 24px;
}


/*
   IMPORTANTE:
   Todos começam BRANCOS.

   Não existe mais card preto fixo.
*/

.unit-card,
.unit-card-service-hover {
  min-height: 310px;

  padding: 32px;

  display: flex;
  flex-direction: column;

  background: var(--white);
  color: var(--black);

  border:
    1px solid var(--gray-300);

  border-radius: 10px;

  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.03);

  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}


.unit-card-icon {
  width: 62px;
  height: 62px;

  margin-bottom: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--red);
  color: var(--white);

  border-radius: 9px;

  font-size: 23px;

  transition:
    background var(--transition),
    transform var(--transition);
}


.unit-card-content {
  flex: 1;

  display: flex;
  flex-direction: column;
}


.unit-card h3 {
  margin-bottom: 14px;

  color: var(--black);

  font-size: 18px;
  font-weight: 900;

  transition:
    color var(--transition);
}


.unit-card p {
  color: var(--gray-600);

  font-size: 14px;
  line-height: 1.75;

  transition:
    color var(--transition);
}


.unit-card a {
  margin-top: auto;
  padding-top: 28px;

  display: inline-flex;
  align-items: center;

  gap: 11px;

  color: var(--black);

  font-size: 13px;
  font-weight: 900;

  transition:
    color var(--transition),
    gap var(--transition);
}


/*
   EFEITO DOS CARDS DE UNIDADES:
   o estado visual de hover está concentrado na seção 24.
   Os cards permanecem brancos em repouso e também durante a interação.
*/

.units-section-action {
  margin-top: 42px;

  display: flex;
  justify-content: center;
}


.section-main-btn {
  min-height: 50px;

  padding: 0 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  background: var(--black);
  color: var(--white);

  border-radius: 5px;

  font-size: 13px;
  font-weight: 900;

  transition:
    background var(--transition);
}


.section-main-btn:hover {
  background: var(--red);
}


/* ============================================================
   13. MISSÃO
   ============================================================ */

.mission-highlight-section {
  position: relative;

  min-height: 540px;

  overflow: hidden;

  display: flex;
  align-items: center;

  background:
    linear-gradient(
      100deg,
      #030303 0%,
      #111111 55%,
      #202020 100%
    );

  color: var(--white);
}


.mission-highlight-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.36),
      rgba(0, 0, 0, 0.04)
    );

  pointer-events: none;
}


/* ============================================================
   14. MARCAS-D'ÁGUA DOS CASTELOS
   ============================================================ */

.mission-watermarks {
  position: absolute;

  inset: 0;

  z-index: 0;

  overflow: hidden;

  pointer-events: none;
}


.mission-watermark {
  position: absolute;

  display: block;

  color: rgba(255, 255, 255, 0.032);

  font-size: 110px;

  line-height: 1;

  transform:
    rotate(-5deg);
}


.watermark-01 {
  top: 20px;
  left: 4%;
}


.watermark-02 {
  top: 80px;
  left: 22%;

  font-size: 145px;

  transform:
    rotate(8deg);
}


.watermark-03 {
  top: 5px;
  left: 43%;

  font-size: 95px;
}


.watermark-04 {
  top: 70px;
  left: 64%;

  font-size: 155px;

  transform:
    rotate(-10deg);
}


.watermark-05 {
  top: 10px;
  right: 3%;

  font-size: 120px;
}


.watermark-06 {
  bottom: 15px;
  left: 7%;

  font-size: 155px;

  transform:
    rotate(10deg);
}


.watermark-07 {
  bottom: -10px;
  left: 28%;

  font-size: 105px;
}


.watermark-08 {
  bottom: 20px;
  left: 47%;

  font-size: 150px;

  transform:
    rotate(8deg);
}


.watermark-09 {
  bottom: -15px;
  left: 68%;

  font-size: 120px;
}


.watermark-10 {
  bottom: 25px;
  right: 3%;

  font-size: 150px;

  transform:
    rotate(-9deg);
}


.watermark-11 {
  top: 190px;
  left: 34%;

  font-size: 80px;
}


.watermark-12 {
  top: 220px;
  right: 27%;

  font-size: 90px;

  transform:
    rotate(11deg);
}


.mission-highlight-section .content-container {
  position: relative;

  z-index: 3;
}


.mission-highlight-content {
  max-width: 720px;
}


.mission-icon {
  width: 58px;
  height: 58px;

  margin-bottom: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--red);
  color: var(--white);

  border-radius: 9px;

  font-size: 22px;
}


.mission-label {
  margin-bottom: 12px;

  color: #d4d4d4;

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 1.4px;
  text-transform: uppercase;
}


.mission-highlight-content h2 {
  max-width: 700px;

  color: var(--white);

  font-size:
    clamp(44px, 4vw, 66px);

  line-height: 1;

  font-weight: 900;
}


.mission-highlight-content > p:not(.mission-label) {
  max-width: 720px;

  margin-top: 22px;

  color: #eeeeee;

  font-size: 15px;
  line-height: 1.8;
}


.mission-link {
  width: max-content;

  margin-top: 27px;

  padding-bottom: 4px;

  display: inline-flex;
  align-items: center;

  gap: 11px;

  color: var(--white);

  border-bottom:
    2px solid var(--white);

  font-size: 13px;
  font-weight: 900;

  transition:
    color var(--transition),
    border-color var(--transition);
}


.mission-link:hover {
  color: #ff3333;

  border-color: #ff3333;
}


/* ============================================================
   15. NOTÍCIAS / INSTAGRAM
   ============================================================ */

.news-section {
  padding: 80px 0 90px;

  background: #f4f4f4;
}


.section-header-row {
  margin-bottom: 35px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 30px;
}


.news-section-subtitle {
  margin-top: 8px;

  color: var(--gray-600);

  font-size: 14px;
}


.view-all-link {
  margin-top: 9px;

  display: inline-flex;
  align-items: center;

  gap: 11px;

  color: var(--black);

  font-size: 13px;
  font-weight: 900;

  transition:
    color var(--transition),
    gap var(--transition);
}


.view-all-link:hover {
  color: var(--red);

  gap: 15px;
}


.instagram-feed-status {
  margin-bottom: 25px;

  padding: 15px 18px;

  background: var(--white);

  border-radius: 6px;
}


.news-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 25px;
}


.news-card {
  overflow: hidden;

  min-width: 0;

  display: flex;
  flex-direction: column;

  background: var(--white);

  border-radius: 10px;

  box-shadow: var(--shadow-soft);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}


.news-card:hover {
  transform:
    translateY(-4px);

  box-shadow: var(--shadow-medium);
}


.news-image-link {
  display: block;
}


.news-image {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #101010;
}


.instagram-post-image {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.45s ease;
}


.news-card:hover .instagram-post-image {
  transform:
    scale(1.035);
}


.instagram-media-icon {
  position: absolute;

  right: 15px;
  bottom: 15px;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    rgba(0, 0, 0, 0.72);

  color: var(--white);

  border:
    1px solid rgba(255, 255, 255, 0.3);

  border-radius: 50%;
}


.news-card-content {
  flex: 1;

  min-height: 260px;

  padding: 24px;

  display: flex;
  flex-direction: column;
}


.news-category {
  width: max-content;

  margin-bottom: 15px;

  padding: 5px 9px;

  background: var(--red);
  color: var(--white);

  border-radius: 3px;

  font-size: 10px;
  font-weight: 900;

  text-transform: uppercase;
}


.news-card h3 {
  color: var(--black);

  font-size: 17px;
  line-height: 1.45;

  font-weight: 900;
}


.news-card-content > p {
  margin-top: 13px;

  color: var(--gray-600);

  font-size: 14px;
  line-height: 1.7;
}


.instagram-post-meta {
  margin-top: 8px;
}


.instagram-post-date {
  color: var(--gray-500);

  font-size: 11px;
}


.news-read-more {
  margin-top: auto;
  padding-top: 24px;

  display: inline-flex;
  align-items: center;

  gap: 11px;

  color: var(--black);

  font-size: 13px;
  font-weight: 900;

  transition:
    color var(--transition),
    gap var(--transition);
}


.news-read-more:hover {
  color: var(--red);

  gap: 15px;
}


/* ============================================================
   16. ÁREA INTERNA
   ============================================================ */

.internal-access-section {
  padding: 70px 0;

  background: var(--white);
}


.internal-access-box {
  padding: 35px 40px;

  display: grid;

  grid-template-columns:
    auto 1fr auto;

  align-items: center;

  gap: 30px;

  background: #111111;
  color: var(--white);

  border-radius: 10px;
}


.internal-access-icon {
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--red);

  border-radius: 8px;

  font-size: 22px;
}


.internal-access-label {
  color: var(--gray-400);

  font-size: 11px;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: 1.2px;
}


.internal-access-content h2 {
  margin-top: 3px;

  font-size: 28px;
  font-weight: 900;
}


.internal-access-content p {
  max-width: 720px;

  margin-top: 6px;

  color: #cccccc;

  font-size: 14px;
}


.internal-access-btn {
  min-height: 48px;

  padding: 0 21px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 11px;

  background: var(--white);
  color: var(--black);

  border-radius: 5px;

  font-size: 13px;
  font-weight: 900;

  transition:
    background var(--transition),
    color var(--transition);
}


.internal-access-btn:hover {
  background: var(--red);
  color: var(--white);
}


/* ============================================================
   17. RODAPÉ
   ============================================================ */

.site-footer {
  background: #050505;
  color: var(--white);
}


.footer-container {
  padding: 65px 0;

  display: grid;

  grid-template-columns:
    1.6fr repeat(4, 1fr) 0.8fr;

  gap: 35px;
}


.footer-logo-area {
  display: flex;
  align-items: center;

  gap: 15px;
}


.footer-logo {
  width: 55px;
  height: 70px;

  object-fit: contain;
}


.footer-brand-text h2 {
  font-size: 17px;
  line-height: 1.1;

  font-weight: 900;
}


.footer-brand-text p {
  margin-top: 6px;

  color: var(--gray-300);

  font-size: 10px;
  font-weight: 800;

  text-transform: uppercase;
}


.footer-address {
  margin-top: 25px;

  display: flex;

  gap: 12px;

  color: var(--gray-400);

  font-size: 12px;
}


.footer-social {
  margin-top: 20px;
}


.footer-social a {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid var(--gray-700);

  border-radius: 50%;

  transition:
    background var(--transition),
    border-color var(--transition);
}


.footer-social a:hover {
  background: var(--red);

  border-color: var(--red);
}


.footer-column h3,
.footer-technology h3 {
  margin-bottom: 18px;

  font-size: 14px;
  font-weight: 900;
}


.footer-column li + li {
  margin-top: 10px;
}


.footer-column a {
  color: var(--gray-400);

  font-size: 12px;

  transition:
    color var(--transition);
}


.footer-column a:hover {
  color: var(--white);
}


.technology-label,
.developer-label {
  color: var(--gray-500);

  font-size: 10px;

  text-transform: uppercase;
  letter-spacing: 1px;
}


.developer-label {
  margin-top: 20px;
}


.developer-name {
  margin-top: 3px;

  font-size: 12px;
  font-weight: 800;
}


.footer-bottom {
  padding: 20px 24px;

  border-top:
    1px solid #222222;

  text-align: center;
}


.footer-bottom p {
  color: var(--gray-500);

  font-size: 11px;
}


/* ============================================================
   18. VOLTAR AO TOPO
   ============================================================ */

.back-to-top {
  position: fixed;

  right: 22px;
  bottom: 22px;

  z-index: 900;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--red);
  color: var(--white);

  border-radius: 6px;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25);

  opacity: 0;
  visibility: hidden;

  transform:
    translateY(10px);

  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition),
    background var(--transition);
}


.back-to-top.visible,
.back-to-top.show,
.back-to-top.active {
  opacity: 1;
  visibility: visible;

  transform:
    translateY(0);
}


.back-to-top:hover {
  background: var(--red-dark);
}


/* ============================================================
   19. NOTEBOOK / TELAS MÉDIAS
   ============================================================ */

@media (max-width: 1280px) {

  :root {
    --header-height: 92px;
  }


  .main-nav > ul {
    gap: 25px;
  }


  .brand-text h1 {
    font-size: 18px;
  }


  .brand-logo {
    width: 50px;
    height: 66px;
  }


  .hero-section,
  .hero-container {
    min-height: 650px;
  }


  .hero-copy {
    width: 52%;
  }


  .institutional-intro-grid {
    gap: 45px;
  }


  .footer-container {
    grid-template-columns:
      1.5fr repeat(4, 1fr);

    gap: 30px;
  }


  .footer-technology {
    grid-column: 1 / -1;
  }

}


/* ============================================================
   20. TABLET
   ============================================================ */

@media (max-width: 1024px) {

  .header-navigation-area {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    display: none;

    background: #090909;

    border-top:
      1px solid #252525;

    box-shadow:
      0 15px 30px rgba(0, 0, 0, 0.35);
  }


  .header-navigation-area.open,
  .header-navigation-area.active {
    display: block;
  }


  .main-nav > ul {
    width: min(
      calc(100% - 40px),
      var(--container)
    );

    margin-inline: auto;

    padding: 15px 0 20px;

    display: block;
  }


  .nav-link {
    min-height: 48px;

    border-bottom:
      1px solid #222222;
  }


  .nav-link::after {
    display: none;
  }


  .dropdown-menu {
    position: static;

    width: 100%;

    display: none;

    padding:
      0 0 8px 15px;

    background: transparent;

    border: 0;

    box-shadow: none;

    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform: none;
  }


  .nav-item-dropdown.open > .dropdown-menu,
  .nav-item-dropdown.active > .dropdown-menu {
    display: block;
  }


  .mobile-menu-btn {
    display: flex;
  }


  .internal-area-btn {
    display: none;
  }


  .hero-section,
  .hero-container {
    min-height: 620px;
  }


  .hero-copy {
    width: 60%;
  }


  .hero-title {
    font-size: 52px;
  }


  .hero-title span {
    font-size: 40px;
  }


  .institutional-intro-grid {
    grid-template-columns: 1fr 1fr;

    gap: 35px;
  }


  .services-grid-three,
  .units-grid,
  .news-grid {
    gap: 18px;
  }


  .service-card-header {
    padding: 20px;
  }


  .service-card-body {
    padding:
      12px 20px 16px;
  }


  .unit-card {
    padding: 25px;
  }


  .footer-container {
    grid-template-columns:
      repeat(3, 1fr);
  }


  .footer-brand {
    grid-column:
      span 2;
  }

}


/* ============================================================
   21. TABLET VERTICAL
   ============================================================ */

@media (max-width: 820px) {

  .content-container,
  .header-container,
  .footer-container {
    width:
      calc(100% - 36px);
  }


  .institutional-intro-grid {
    grid-template-columns: 1fr;

    gap: 40px;
  }


  .institutional-intro-image {
    max-width: 650px;

    margin-inline: auto;
  }


  .services-grid-three,
  .units-grid {
    grid-template-columns: 1fr;
  }


  .service-card,
  .unit-card {
    max-width: 650px;

    width: 100%;

    margin-inline: auto;
  }


  .news-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .internal-access-box {
    grid-template-columns:
      auto 1fr;
  }


  .internal-access-action {
    grid-column: 1 / -1;
  }

}


/* ============================================================
   22. SMARTPHONE
   ============================================================ */

@media (max-width: 600px) {

  :root {
    --header-height: 74px;
  }


  body {
    background: #f1ede7;
  }


  .content-container,
  .header-container,
  .footer-container {
    width:
      calc(100% - 28px);
  }


  /* ----------------------------------------------------------
     CABEÇALHO MOBILE
     ---------------------------------------------------------- */

  .site-header {
    min-height: 74px;
  }


  .header-container {
    min-height: 74px;

    gap: 10px;
  }


  .brand-link {
    gap: 9px;
  }


  .brand-logo {
    width: 37px;
    height: 50px;
  }


  .brand-text h1 {
    font-size: 11px;
    line-height: 1.05;
  }


  .brand-text p {
    margin-top: 4px;

    gap: 6px;

    font-size: 7px;
  }


  .mobile-menu-btn {
    width: 40px;
    height: 40px;

    font-size: 18px;
  }


  /* ----------------------------------------------------------
     HERO MOBILE
     ---------------------------------------------------------- */

  .hero-section {
    min-height: 630px;
  }


  .hero-media {
    inset: 0;
  }


  /*
     No mobile preservamos o banner,
     mas reposicionamos para aproximar a composição
     da referência enviada.
  */

  .hero-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position:
      57% center;
  }


  .hero-overlay {
    background:
      rgba(0, 0, 0, 0.15);
  }


  .hero-gradient {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.90) 0%,
        rgba(0, 0, 0, 0.55) 52%,
        rgba(0, 0, 0, 0.12) 100%
      );
  }


  .hero-container {
    min-height: 630px;

    width:
      calc(100% - 28px);

    align-items: flex-start;

    padding-top: 53px;
  }


  .hero-content-raised {
    transform: none;
  }


  .hero-copy {
    width: 100%;

    position: relative;

    z-index: 5;
  }


  .hero-eyebrow {
    margin-bottom: 26px;

    padding-left: 30px;

    font-size: 9px;

    letter-spacing: 1px;
  }


  .hero-eyebrow::before {
    width: 24px;
  }


  .hero-title {
    max-width: 320px;

    font-size: 40px;
    line-height: 0.94;

    letter-spacing: -1.5px;
  }


  .hero-title span {
    max-width: 310px;

    margin-top: 7px;

    font-size: 30px;
    line-height: 1.02;
  }


  .hero-description {
    max-width: 350px;

    margin-top: 25px;

    font-size: 12px;
    line-height: 1.9;
  }


  .hero-actions {
    width: 100%;

    margin-top: 26px;

    gap: 0;
  }


  .hero-btn {
    flex: 1;

    min-height: 44px;

    padding: 0 12px;

    font-size: 11px;
  }


  .hero-btn-primary {
    border-radius:
      4px 0 0 4px;
  }


  .hero-btn-secondary {
    border-radius:
      0 4px 4px 0;
  }


  /* ----------------------------------------------------------
     BRASÃO PRINCIPAL NO LOCAL CIRCULADO
     ---------------------------------------------------------- */

  .hero-mobile-emblem {
    position: absolute;

    z-index: 4;

    left: 50%;
    bottom: 70px;

    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform:
      translateX(-50%);

    opacity: 0.95;
  }


  .hero-mobile-emblem img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
      drop-shadow(
        0 6px 10px rgba(0, 0, 0, 0.45)
      );
  }


  /* ----------------------------------------------------------
     INSTITUCIONAL MOBILE
     ---------------------------------------------------------- */

  .institutional-intro-section {
    padding: 55px 0;

    background: var(--white);
  }


  .institutional-intro-grid {
    gap: 32px;
  }


  .institutional-intro-image {
    border-radius: 7px;

    border: 0 !important;

    box-shadow: none !important;
  }


  .institutional-intro-image img {
    border-radius: 7px;

    box-shadow: none !important;
  }


  .section-title {
    gap: 10px;
  }


  .title-marker {
    width: 5px;
    height: 30px;
  }


  .section-title h2 {
    font-size: 27px;
  }


  .institutional-intro-content > p {
    margin-top: 18px;

    font-size: 13px;
    line-height: 1.8;
  }


  /* ----------------------------------------------------------
     SERVIÇOS MOBILE
     ---------------------------------------------------------- */

  .quick-services-section {
    padding: 55px 0 65px;
  }


  .quick-services-title {
    margin-bottom: 28px;
  }


  .quick-services-title h2 {
    font-size: 28px;
  }


  .services-grid-three {
    grid-template-columns: 1fr;
  }


  .service-card {
    max-width: none;
  }


  .service-card-header {
    min-height: 90px;

    padding: 20px;
  }


  .service-card-header h3 {
    font-size: 15px;
  }


  .service-icon {
    width: auto;
    height: auto;

    font-size: 20px;
  }


  .service-card-body {
    padding:
      10px 20px 13px;
  }


  .service-link {
    min-height: 48px;

    font-size: 12px;
  }


  /* ----------------------------------------------------------
     UNIDADES MOBILE
     ---------------------------------------------------------- */

  .units-section {
    padding: 60px 0;
  }


  .section-heading-center {
    margin-bottom: 35px;
  }


  .section-title-center {
    align-items: flex-start;
  }


  .section-description {
    font-size: 13px;
  }


  .unit-card {
    min-height: 270px;

    padding: 26px;
  }


  /*
     Em dispositivos touch não deixamos
     nenhum card preso no estado hover.
  */

  .unit-card-service-hover:hover {
    background: var(--white);
    color: var(--black);

    border-color: var(--gray-300);

    transform: none;

    box-shadow:
      0 5px 15px rgba(0, 0, 0, 0.03);
  }


  .unit-card-service-hover:hover h3 {
    color: var(--black);
  }


  .unit-card-service-hover:hover p {
    color: var(--gray-600);
  }


  .unit-card-service-hover:hover a {
    color: var(--black);

    gap: 11px;
  }


  .unit-card-service-hover:hover .unit-card-icon {
    background: var(--red);

    transform: none;
  }


  /* ----------------------------------------------------------
     MISSÃO MOBILE
     ---------------------------------------------------------- */

  .mission-highlight-section {
    min-height: 520px;
  }


  .mission-highlight-content {
    padding: 60px 0;
  }


  .mission-highlight-content h2 {
    font-size: 43px;
  }


  .mission-highlight-content > p:not(.mission-label) {
    font-size: 13px;
  }


  /*
     Marcas d'água ficam um pouco menores no smartphone.
  */

  .mission-watermark {
    font-size: 75px;

    color:
      rgba(255, 255, 255, 0.04);
  }


  .watermark-02,
  .watermark-04,
  .watermark-06,
  .watermark-08,
  .watermark-10 {
    font-size: 100px;
  }


  /* ----------------------------------------------------------
     NOTÍCIAS MOBILE
     ---------------------------------------------------------- */

  .news-section {
    padding: 55px 0 65px;
  }


  .section-header-row {
    margin-bottom: 28px;

    gap: 15px;
  }


  .view-all-link {
    white-space: nowrap;

    font-size: 11px;
  }


  .news-grid {
    grid-template-columns: 1fr;
  }


  .news-card {
    max-width: none;
  }


  .news-card-content {
    min-height: 245px;

    padding: 21px;
  }


  /* ----------------------------------------------------------
     ÁREA INTERNA MOBILE
     ---------------------------------------------------------- */

  .internal-access-section {
    padding: 50px 0;
  }


  .internal-access-box {
    padding: 27px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 20px;
  }


  .internal-access-btn {
    width: 100%;
  }


  /* ----------------------------------------------------------
     RODAPÉ MOBILE
     ---------------------------------------------------------- */

  .footer-container {
    padding: 50px 0;

    grid-template-columns: 1fr;

    gap: 35px;
  }


  .footer-brand {
    grid-column: auto;
  }


  .footer-technology {
    grid-column: auto;
  }


  .footer-column {
    padding-top: 20px;

    border-top:
      1px solid #222222;
  }


  .footer-bottom p {
    line-height: 1.7;
  }

}


/* ============================================================
   23. SMARTPHONES PEQUENOS
   ============================================================ */

@media (max-width: 390px) {

  .brand-text h1 {
    font-size: 10px;
  }


  .hero-title {
    font-size: 37px;
  }


  .hero-title span {
    font-size: 27px;
  }


  .hero-description {
    font-size: 11.5px;
  }


  .hero-btn {
    font-size: 10px;

    padding:
      0 8px;
  }


  .hero-mobile-emblem {
    bottom: 72px;

    width: 90px;
    height: 90px;
  }


  .section-title h2 {
    font-size: 25px;
  }


  .mission-highlight-content h2 {
    font-size: 38px;
  }

}


/* ============================================================
   24. HOVER SOMENTE EM DISPOSITIVOS QUE REALMENTE POSSUEM MOUSE
   UNIDADES: mantém fundo branco, sem efeito preto
   ============================================================ */

@media (hover: hover) and (pointer: fine) {

  .unit-card-service-hover {
    position: relative;
    overflow: hidden;
  }

  .unit-card-service-hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--red);
    transform: translateX(-50%);
    transition: width var(--transition);
  }

  .unit-card-service-hover:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--red);
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
  }

  .unit-card-service-hover:hover::before {
    width: 100%;
  }

  .unit-card-service-hover:hover h3 {
    color: var(--black);
  }

  .unit-card-service-hover:hover p {
    color: var(--gray-600);
  }

  .unit-card-service-hover:hover a {
    color: var(--red);
    gap: 15px;
  }

  .unit-card-service-hover:hover .unit-card-icon {
    background: var(--red-light);
    transform: translateY(-3px) scale(1.04);
  }

}

/* ============================================================
   25. ACESSIBILIDADE - REDUÇÃO DE MOVIMENTO
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration:
      0.01ms !important;

    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;
  }

}