/* ======================================================
   RESET / CONFIGURAÇÕES GERAIS
====================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-main: #1597dc;
  --blue-dark: #002b5c;
  --blue-footer: #002f63;
  --blue-deep: #001f45;

  --purple-main: #6e2bc4;
  --purple-dark: #2b0f59;
  --purple-light: #f4ecff;

  --yellow-main: #ffe131;

  --white: #ffffff;
  --black: #111111;
  --gray-light: #f6f7fb;
  --gray-medium: #d9dde7;
  --gray-text: #4a4f5c;

  --dropdown-bg: #f4f1f1;
  --dropdown-border: #dedede;
  --dropdown-text: #4a4a4a;

  --shadow-soft: 0 12px 35px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 8px 22px rgba(21, 33, 64, 0.12);

  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--blue-dark);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

body.modal-is-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

/* ======================================================
   BOTÕES
====================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 44px;
  padding: 12px 24px;

  border-radius: 6px;
  border: 2px solid transparent;

  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;

  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--purple-main);
  color: var(--white);
  border-color: var(--purple-main);
}

.btn-primary:hover {
  background: #5520a4;
  border-color: #5520a4;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--purple-main);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--blue-main);
}

.btn-secondary:hover {
  background: var(--blue-main);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--purple-main);
  color: var(--white);
  width: 100%;
  border-radius: 6px;
}

.btn-light:hover {
  background: var(--purple-dark);
}

.btn-instagram {
  background: var(--purple-main);
  color: var(--white);
  border-color: var(--purple-main);
}

.btn-instagram:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  transform: translateY(-2px);
}

/* ======================================================
   TOPO PADRÃO PMERJ / SEPM
====================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.site-header.header-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.top-blue-line {
  width: 100%;
  height: 4px;
  background: var(--blue-main);
  display: block;
  transition: height 0.25s ease;
}

.site-header.header-scrolled .top-blue-line {
  height: 3px;
}

.emergency-bar {
  background: var(--white);
  color: var(--blue-deep);
  border-bottom: 1px solid #e7eaf0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: min-height 0.25s ease, opacity 0.25s ease;
}

.emergency-container {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.25s ease;
}

.emergency-text {
  color: #001f45;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-social a {
  color: var(--blue-main);
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.top-social a:hover {
  color: var(--blue-dark);
  opacity: 0.85;
}

.transparency-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 86px;
  height: 24px;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.transparency-img {
  display: block;
  width: 82px;
  height: auto;
  object-fit: contain;
}

.transparency-text,
.transparency-icon {
  display: none;
}

.site-header.header-scrolled .emergency-container {
  height: 26px;
}

.site-header.header-scrolled .emergency-text {
  font-size: 0.66rem;
}

.site-header.header-scrolled .top-social a {
  font-size: 0.74rem;
}

.site-header.header-scrolled .transparency-img {
  width: 74px;
}

/* ======================================================
   MENU PRINCIPAL
====================================================== */

.main-navbar {
  position: relative;
  background: var(--blue-main);
  color: var(--white);
  min-height: 74px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.45);
  transition: min-height 0.25s ease, border-color 0.25s ease;
}

.nav-container {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: min-height 0.25s ease;
}

.nav-container::before {
  content: "";
  display: block;
  width: 165px;
  flex: 0 0 165px;
  transition: width 0.25s ease, flex-basis 0.25s ease;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-floating {
  position: absolute;
  left: 0;
  top: -6px;
  z-index: 120;

  width: 100px;
  height: 130px;

  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin: 0;

  transform-origin: top left;
  transition:
    width 0.28s ease,
    height 0.28s ease,
    top 0.28s ease,
    left 0.28s ease,
    transform 0.28s ease;
}

.brand-floating.brand-lower-position {
  top: 3px;
}

.brand-floating img,
.brand-logo {
  width: 96px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.28));
  transition:
    width 0.28s ease,
    filter 0.28s ease,
    transform 0.28s ease;
}

.site-header.header-scrolled .main-navbar {
  min-height: 58px;
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.site-header.header-scrolled .nav-container {
  min-height: 58px;
}

.site-header.header-scrolled .nav-container::before {
  width: 86px;
  flex-basis: 86px;
}

.site-header.header-scrolled .brand-floating {
  top: 4px;
  left: 0;
  width: 54px;
  height: 54px;
}

.site-header.header-scrolled .brand-floating.brand-lower-position {
  top: 7px;
}

.site-header.header-scrolled .brand-floating img,
.site-header.header-scrolled .brand-logo {
  width: 52px;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.22));
}

/* ======================================================
   MENU COM DROPDOWN
====================================================== */

.nav-menu {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;

  min-height: 74px;
  font-size: 0.81rem;
  font-weight: 600;
  white-space: nowrap;

  transition:
    min-height 0.25s ease,
    font-size 0.25s ease,
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}

.site-header.header-scrolled .nav-menu {
  min-height: 58px;
  font-size: 0.78rem;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background: var(--white);

  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.nav-item:hover::before,
.nav-item:focus-within::before,
.nav-item.dropdown-open::before {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link,
.search-toggle {
  min-height: 74px;
  padding: 0 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--white);
  background: transparent;
  border: 0;

  font-size: inherit;
  font-weight: 600;
  line-height: 1;

  transition:
    background 0.22s ease,
    color 0.22s ease,
    opacity 0.22s ease,
    min-height 0.25s ease;
}

.site-header.header-scrolled .nav-link,
.site-header.header-scrolled .search-toggle {
  min-height: 58px;
}

.nav-link:hover,
.search-toggle:hover,
.nav-item:hover > .nav-link,
.nav-item.dropdown-open > .nav-link {
  background: rgba(255, 255, 255, 0.08);
}

.search-toggle {
  padding-right: 0;
  padding-left: 12px;
}

.search-icon-blue {
  color: var(--white);
  font-size: 0.88rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.search-toggle:hover .search-icon-blue {
  color: #d7efff;
  transform: scale(1.04);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;

  min-width: 170px;
  max-width: 238px;

  background: var(--dropdown-bg);
  color: var(--dropdown-text);

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);

  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.18s ease;
}

.dropdown-large {
  min-width: 190px;
  max-width: 245px;
}

.dropdown-right {
  left: auto;
  right: 0;
}

.dropdown-menu::before {
  display: none;
}

.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu,
.has-dropdown.dropdown-open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  border-bottom: 1px solid var(--dropdown-border);
}

.dropdown-menu li:last-child {
  border-bottom: 0;
}

.dropdown-menu a {
  display: block;
  width: 100%;
  padding: 10px 16px;

  color: var(--dropdown-text);
  background: var(--dropdown-bg);

  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.25;
  white-space: normal;

  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu a:hover {
  background: #ffffff;
  color: var(--blue-dark);
  padding-left: 20px;
}

/* ======================================================
   BARRA DE PESQUISA
====================================================== */

.nav-search-panel {
  position: absolute;
  top: 50%;
  right: 44px;
  z-index: 130;

  width: min(560px, calc(100% - 280px));
  height: 32px;

  display: flex;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(-50%) translateX(28px) scaleX(0.94);
  transform-origin: right center;

  transition:
    opacity 0.26s ease,
    visibility 0.26s ease,
    transform 0.26s ease;
}

.nav-search-panel.search-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0) scaleX(1);
}

.nav-search-form {
  width: 100%;
  height: 32px;

  display: grid;
  grid-template-columns: 1fr 34px 30px;
  align-items: center;

  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.nav-search-input {
  width: 100%;
  height: 32px;

  border: 0;
  outline: none;
  padding: 0 12px;

  background: rgba(255, 255, 255, 0.96);
  color: var(--blue-dark);

  font-size: 0.82rem;
  font-weight: 400;
}

.nav-search-input::placeholder {
  color: #9ba5b0;
}

.nav-search-submit {
  width: 34px;
  height: 32px;

  border: 0;
  background: #001f45;
  color: var(--white);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.86rem;
  transition: background 0.2s ease;
}

.nav-search-submit:hover {
  background: var(--blue-dark);
}

.nav-search-close {
  width: 30px;
  height: 32px;

  border: 0;
  background: var(--blue-main);
  color: var(--white);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.nav-search-close:hover {
  background: #0d7fb9;
}

.main-navbar.search-is-open .nav-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-18px);
}

.main-navbar.search-is-open .nav-container::before {
  width: 165px;
  flex-basis: 165px;
}

/* ======================================================
   BOTÃO MOBILE
====================================================== */

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;

  border: 0;
  border-radius: 5px;

  background: var(--white);
  color: var(--blue-main);

  font-size: 1.25rem;
  cursor: pointer;
}

/* ======================================================
   HERO / SLIDE PRINCIPAL
====================================================== */

.hero-section {
  position: relative;
  overflow: hidden;
  background: #210a47;
  color: var(--white);
}

.hero-slide-image {
  width: 100%;
  background: #210a47;
}

.hero-slide-wrapper {
  position: relative;
  width: 100%;
  height: clamp(360px, 32vw, 560px);
  overflow: hidden;
  background: #210a47;
}

.hero-slide-banner {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}

.hero-slide-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  background:
    linear-gradient(
      90deg,
      rgba(31, 8, 74, 0.92) 0%,
      rgba(43, 15, 89, 0.84) 26%,
      rgba(43, 15, 89, 0.45) 50%,
      rgba(43, 15, 89, 0.08) 76%,
      rgba(0, 0, 0, 0.16) 100%
    );

  pointer-events: none;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-slide-text {
  max-width: 660px;
  color: var(--white);
}

.hero-slide-text h1 {
  font-size: clamp(3.2rem, 5.5vw, 6.6rem);
  line-height: 0.92;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.055em;
  margin-bottom: clamp(18px, 2vw, 34px);
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.hero-slide-text p {
  max-width: 620px;
  font-size: clamp(1.2rem, 1.8vw, 2.05rem);
  line-height: 1.28;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.42);
}

/* ======================================================
   BOTÃO DE VÍDEO NO SLIDE
====================================================== */

.hero-video-button {
  position: absolute;
  right: clamp(28px, 7vw, 90px);
  bottom: clamp(34px, 6vw, 76px);
  z-index: 6;

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  color: var(--white);
  text-align: center;
  font-weight: 900;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
}

.hero-video-button:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.38));
}

.hero-video-icon {
  position: relative;

  width: clamp(68px, 7vw, 92px);
  height: clamp(68px, 7vw, 92px);

  display: flex;
  align-items: center;
  justify-content: center;

  border: 6px solid var(--white);
  border-radius: 50%;

  background: rgba(0, 47, 99, 0.88);
  color: var(--white);

  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.34),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.hero-video-icon i {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  margin-left: 4px;
}

.hero-video-button:hover .hero-video-icon {
  background: var(--blue-main);
  transform: scale(1.05);
}

.hero-video-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 36px;
  padding: 8px 16px;

  border-radius: 8px;
  background: rgba(0, 47, 99, 0.92);

  color: var(--white);
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.hero-video-button:hover .hero-video-label {
  background: var(--blue-main);
}

.hero-video-icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: videoPulse 1.9s infinite;
}

@keyframes videoPulse {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

.hero-slide-fallback {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 48px 10%;
  background:
    radial-gradient(circle at 75% 50%, rgba(111, 43, 196, 0.35), transparent 34%),
    linear-gradient(135deg, #2b0f59 0%, #140624 100%);
}

.hero-fallback-content {
  max-width: 620px;
  color: #ffffff;
}

.hero-fallback-content h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-fallback-content p {
  font-size: 1.2rem;
  line-height: 1.45;
}

/* ======================================================
   JANELA / MODAL DE VÍDEO
====================================================== */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.video-modal.video-modal-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: rgba(0, 16, 42, 0.88);
  backdrop-filter: blur(6px);
}

.video-modal-content {
  position: relative;
  z-index: 2;

  width: min(92vw, 980px);
  background: #000000;
  border-radius: 18px;

  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);

  transform: translateY(24px) scale(0.96);
  opacity: 0;

  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.video-modal.video-modal-active .video-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.video-modal-close {
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 4;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;

  background: #ffffff;
  color: #002b5c;

  font-size: 1.25rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);

  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.video-modal-close:hover {
  background: var(--blue-main);
  color: #ffffff;
  transform: rotate(90deg);
}

.video-modal-frame {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #000000;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}

/* fallback caso o iframe seja bloqueado */
.video-modal-fallback {
  display: none;

  width: 100%;
  padding: 18px 20px 22px;

  background: #071b35;
  color: #ffffff;

  border-radius: 0 0 18px 18px;
  text-align: center;
}

.video-modal-fallback.video-fallback-visible {
  display: block;
}

.video-modal-fallback p {
  margin-bottom: 12px;

  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.86);
}

.video-modal-fallback a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 10px 20px;

  border-radius: 8px;
  background: var(--blue-main);
  color: #ffffff;

  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;

  transition:
    background 0.22s ease,
    transform 0.22s ease;
}

.video-modal-fallback a:hover {
  background: #0d7fb9;
  transform: translateY(-2px);
}

/* ======================================================
   BREADCRUMB
====================================================== */

.breadcrumb-section {
  position: relative;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid #e7eaf0;
  padding: 0;
}

.breadcrumb {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;

  font-size: 0.8rem;
  color: #546072;
  white-space: nowrap;
  overflow-x: auto;
}

.breadcrumb a {
  color: var(--blue-dark);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--blue-main);
}

.breadcrumb i {
  font-size: 0.62rem;
  color: #8891a4;
}

.breadcrumb strong {
  color: var(--blue-dark);
  font-weight: 800;
}

/* ======================================================
   MENU DE ACESSO RÁPIDO
====================================================== */

.quick-access {
  position: relative;
  z-index: 18;
  background: #f7f8fb;
  padding: 26px 0 54px;
  margin-top: 0;
  margin-bottom: 0;
}

.quick-access-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}

.quick-item {
  min-height: 112px;
  padding: 22px 14px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  color: var(--purple-main);
  border-right: 1px solid #edf0f6;

  transition: all 0.25s ease;
}

.quick-item:last-child {
  border-right: 0;
}

.quick-item i {
  font-size: 1.8rem;
}

.quick-item span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #29324a;
}

.quick-item:hover,
.quick-item.quick-item-active {
  background: var(--purple-light);
  color: var(--purple-dark);
  transform: translateY(-3px);
}

.quick-item.quick-item-active span {
  color: var(--purple-dark);
}

/* ======================================================
   SOBRE
====================================================== */

.about-section {
  padding: 60px 0;
}

.about-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.section-text h2,
.work-section h2,
.agenda-section h2 {
  color: var(--blue-dark);
  font-size: 1.85rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.section-text p {
  color: var(--gray-text);
  font-size: 1rem;
  margin-bottom: 22px;
}

.section-text .btn {
  margin-top: 12px;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* ======================================================
   GALERIA / ACOMPANHE
====================================================== */

.work-section {
  padding: 20px 0 46px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}

.section-header h2 {
  margin-bottom: 4px;
}

.section-header p {
  color: #6a7280;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.gallery-card {
  position: relative;
  height: 205px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gray-light);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.07);
}

.media-icon {
  position: absolute;
  top: 9px;
  right: 9px;

  width: 26px;
  height: 26px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.92);
  color: var(--purple-main);
  font-size: 0.75rem;
}

/* ======================================================
   CHAMADA DE AJUDA
====================================================== */

.help-section {
  padding: 26px 0 30px;
}

.help-card {
  min-height: 160px;
  border-radius: 14px;
  padding: 34px 38px;

  display: grid;
  grid-template-columns: 1fr 330px;
  align-items: center;
  gap: 34px;

  color: var(--white);
  background:
    radial-gradient(circle at 62% 50%, rgba(255, 255, 255, 0.15), transparent 25%),
    linear-gradient(135deg, #7027c7 0%, #431281 100%);

  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.help-text h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.help-text p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.help-phone {
  background: rgba(255, 255, 255, 0.93);
  color: var(--purple-main);
  border-radius: 18px;
  padding: 25px;

  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 18px;
}

.help-phone > i {
  font-size: 2rem;
}

.help-phone h3 {
  font-size: 1.45rem;
  text-transform: uppercase;
  line-height: 1;
}

.help-phone p {
  color: #393f4a;
  font-weight: 700;
  margin: 4px 0 16px;
}

/* ======================================================
   APP REDE MULHER
====================================================== */

.app-section {
  padding: 18px 0 34px;
}

.app-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 52px;

  padding: 36px 44px;
  border-radius: 14px;

  background:
    radial-gradient(circle at 10% 14%, rgba(112, 39, 199, 0.14), transparent 30%),
    linear-gradient(135deg, #f9f4ff 0%, #ffffff 50%, #f0e4ff 100%);

  box-shadow: var(--shadow-card);
}

.app-phone {
  display: flex;
  justify-content: center;
}

.app-phone img {
  max-height: 410px;
  object-fit: contain;
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.22));
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--purple-main);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  margin-bottom: 10px;
}

.app-content h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--purple-main);
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.app-content p {
  max-width: 620px;
  color: var(--gray-text);
  font-size: 1.06rem;
  margin-bottom: 26px;
}

.app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;
  border: 1px solid rgba(112, 39, 199, 0.18);
  border-radius: 999px;

  background: var(--white);
  color: var(--purple-main);

  font-size: 0.85rem;
  font-weight: 800;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.store-button {
  min-width: 190px;
  min-height: 58px;
  padding: 10px 16px;

  border-radius: 8px;
  background: #101010;
  color: var(--white);

  display: flex;
  align-items: center;
  gap: 12px;

  transition: transform 0.25s ease, background 0.25s ease;
}

.store-button:hover {
  background: #000000;
  transform: translateY(-2px);
}

.store-button i {
  font-size: 1.8rem;
}

.store-button span {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  line-height: 1.1;
}

.store-button strong {
  font-size: 1.18rem;
}

/* ======================================================
   PALAVRA DO SECRETÁRIO
====================================================== */

.secretary-section {
  padding: 34px 0 56px;
}

.secretary-container {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1.18fr 0.86fr;
  align-items: stretch;
  gap: 22px;

  padding: 30px;
  border-radius: 14px;

  background:
    linear-gradient(135deg, #f9f4ff 0%, #ffffff 54%, #f0e4ff 100%);
  box-shadow: var(--shadow-card);
}

.secretary-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.secretary-title h2 {
  color: var(--purple-main);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.02;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.secretary-photo,
.secretary-side-images figure {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--gray-light);
}

.secretary-photo img {
  width: 100%;
  height: 100%;
  min-height: 255px;
  object-fit: cover;
}

.secretary-message {
  position: relative;
  border: 2px solid rgba(112, 39, 199, 0.28);
  border-radius: 10px;
  background: var(--white);

  padding: 34px 32px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.secretary-message i {
  color: var(--purple-main);
  font-size: 2rem;
  margin-bottom: 14px;
}

.secretary-message blockquote {
  color: var(--blue-dark);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
  margin-bottom: 20px;
}

.secretary-message p {
  text-align: center;
  color: var(--gray-text);
  font-size: 0.9rem;
}

.secretary-message p strong {
  color: var(--blue-dark);
}

.quote-right {
  align-self: flex-end;
  margin-top: 8px;
  margin-bottom: 0 !important;
}

.secretary-side-images {
  display: grid;
  gap: 14px;
}

.secretary-side-images figure img {
  width: 100%;
  height: 100%;
  min-height: 122px;
  object-fit: cover;
}

/* ======================================================
   AGENDA
====================================================== */

.agenda-section {
  padding: 20px 0 70px;
}

.agenda-header {
  align-items: center;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 360px));
  gap: 26px;
}

.agenda-card {
  min-height: 220px;
  border-radius: 16px;
  padding: 28px;

  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;

  color: var(--white);
  box-shadow: var(--shadow-card);
}

.agenda-blue {
  background: linear-gradient(135deg, #2fb8e6, #168bc8);
}

.agenda-yellow {
  background: linear-gradient(135deg, #ffe735, #ffc800);
  color: var(--white);
}

.agenda-date {
  width: 62px;
  height: 62px;

  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.agenda-date strong {
  font-size: 1.8rem;
  line-height: 1;
}

.agenda-date span {
  font-size: 0.75rem;
  font-weight: 900;
}

.agenda-content h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 10px;
}

.agenda-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 18px;
}

.agenda-content a {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-dark);

  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* ======================================================
   RODAPÉ PMERJ
====================================================== */

.site-footer {
  background: var(--blue-footer);
  color: var(--white);
}

.footer-main {
  padding: 70px 0 60px;
  background: linear-gradient(135deg, #003368 0%, #001f45 100%);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 160px;
  gap: 56px;
  align-items: start;
}

.footer-column h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-column h4 {
  font-size: 0.94rem;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--white);
}

.footer-column p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  margin-bottom: 20px;
}

.footer-column ul {
  display: grid;
  gap: 14px;
}

.footer-column li a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  transition: color 0.25s ease;
}

.footer-column li a::before {
  content: "›";
  margin-right: 8px;
  font-weight: 900;
}

.footer-column li a:hover {
  color: var(--white);
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-logo img {
  width: 95px;
  height: auto;
  background: var(--white);
  padding: 4px;
}

.footer-bottom {
  background: var(--white);
  color: var(--blue-dark);
  min-height: 50px;
  font-size: 0.75rem;
}

.footer-bottom-container {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue-main);
  font-weight: 800;
}

.footer-social a:hover {
  color: var(--blue-dark);
}

.footer-transparency-img {
  display: block;
  width: 84px;
  height: auto;
  object-fit: contain;
}

/* ======================================================
   COMPLEMENTO PARA JAVASCRIPT
====================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-on-scroll.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 80;

  width: 46px;
  height: 46px;

  border: none;
  border-radius: 50%;

  background: var(--purple-main);
  color: var(--white);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1rem;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);

  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  transition: all 0.25s ease;
}

.back-to-top.back-to-top-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--purple-dark);
  transform: translateY(-3px);
}

/* Modal da galeria usado pelo JavaScript */
.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.custom-modal.custom-modal-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.custom-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 16, 42, 0.84);
  backdrop-filter: blur(5px);
}

.custom-modal-box {
  position: relative;
  z-index: 2;
  width: min(92vw, 980px);
}

.custom-modal-close {
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 4;

  width: 48px;
  height: 48px;

  border: 0;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  color: var(--blue-dark);

  font-size: 1.25rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);

  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.custom-modal-close:hover {
  background: var(--blue-main);
  color: #ffffff;
  transform: rotate(90deg);
}

.gallery-modal-content {
  width: 100%;
  max-height: 86vh;
  overflow: hidden;
  border-radius: 18px;
  background: #000000;
}

.gallery-modal-image {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: #000000;
}

/* ======================================================
   RESPONSIVIDADE
====================================================== */

@media (max-width: 1180px) {
  .nav-link,
  .search-toggle {
    padding: 0 10px;
  }

  .nav-menu {
    font-size: 0.78rem;
  }

  .nav-container::before {
    width: 145px;
    flex-basis: 145px;
  }

  .brand-floating {
    width: 92px;
    height: 122px;
  }

  .brand-floating img,
  .brand-logo {
    width: 88px;
  }

  .brand-floating.brand-lower-position {
    top: 5px;
  }

  .site-header.header-scrolled .nav-container::before {
    width: 80px;
    flex-basis: 80px;
  }

  .site-header.header-scrolled .brand-floating {
    width: 52px;
    height: 52px;
  }

  .site-header.header-scrolled .brand-floating img,
  .site-header.header-scrolled .brand-logo {
    width: 50px;
  }

  .site-header.header-scrolled .brand-floating.brand-lower-position {
    top: 7px;
  }

  .nav-search-panel {
    width: min(520px, calc(100% - 250px));
  }

  .hero-slide-text {
    max-width: 560px;
  }

  .hero-slide-text h1 {
    font-size: clamp(3rem, 5vw, 5.6rem);
  }

  .hero-slide-text p {
    font-size: clamp(1.1rem, 1.7vw, 1.65rem);
  }

  .hero-video-button {
    right: clamp(22px, 5vw, 60px);
    bottom: clamp(30px, 5vw, 58px);
  }
}

@media (max-width: 1100px) {
  .quick-access-card {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-item {
    border-bottom: 1px solid #edf0f6;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .secretary-container {
    grid-template-columns: 1fr 1fr;
  }

  .secretary-message {
    grid-column: span 2;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .emergency-container {
    height: auto;
    min-height: 36px;
    gap: 10px;
    padding: 7px 0;
    flex-direction: column;
  }

  .site-header.header-scrolled .emergency-container {
    min-height: 30px;
    padding: 4px 0;
  }

  .top-social {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .main-navbar {
    min-height: 72px;
  }

  .nav-container {
    min-height: 72px;
    justify-content: space-between;
  }

  .nav-container::before {
    width: 105px;
    flex-basis: 105px;
  }

  .brand-floating {
    top: -4px;
    width: 82px;
    height: 110px;
  }

  .brand-floating.brand-lower-position {
    top: 4px;
  }

  .brand-floating img,
  .brand-logo {
    width: 78px;
  }

  .site-header.header-scrolled .main-navbar {
    min-height: 62px;
  }

  .site-header.header-scrolled .nav-container {
    min-height: 62px;
  }

  .site-header.header-scrolled .nav-container::before {
    width: 74px;
    flex-basis: 74px;
  }

  .site-header.header-scrolled .brand-floating {
    top: 5px;
    width: 52px;
    height: 52px;
  }

  .site-header.header-scrolled .brand-floating.brand-lower-position {
    top: 8px;
  }

  .site-header.header-scrolled .brand-floating img,
  .site-header.header-scrolled .brand-logo {
    width: 50px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    z-index: 150;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    min-height: auto;
    background: var(--blue-dark);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-item {
    display: block;
    width: 100%;
  }

  .nav-item::before {
    display: none;
  }

  .nav-link,
  .search-toggle {
    width: 100%;
    min-height: auto;
    padding: 15px 18px;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header.header-scrolled .nav-link,
  .site-header.header-scrolled .search-toggle {
    min-height: auto;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    max-width: 100%;
    box-shadow: none;

    opacity: 1;
    visibility: visible;
    transform: none;

    display: none;
  }

  .has-dropdown.dropdown-open > .dropdown-menu,
  .has-dropdown:focus-within > .dropdown-menu {
    display: block;
  }

  .has-dropdown:hover > .dropdown-menu {
    display: none;
  }

  .has-dropdown.dropdown-open:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 12px 28px;
    font-size: 0.84rem;
  }

  .nav-search-panel {
    left: 84px;
    right: 14px;
    width: auto;
    height: 34px;
  }

  .nav-search-form {
    height: 34px;
    grid-template-columns: 1fr 36px 32px;
  }

  .nav-search-input,
  .nav-search-submit,
  .nav-search-close {
    height: 34px;
  }

  .main-navbar.search-is-open .nav-menu {
    display: none;
  }

  .hero-slide-wrapper {
    height: clamp(340px, 52vw, 460px);
  }

  .hero-slide-banner {
    object-position: center center;
  }

  .hero-slide-content {
    align-items: center;
  }

  .hero-slide-text {
    max-width: 510px;
  }

  .hero-slide-text h1 {
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    margin-bottom: 18px;
  }

  .hero-slide-text p {
    max-width: 470px;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    line-height: 1.35;
  }

  .hero-video-button {
    right: 24px;
    bottom: 30px;
  }

  .hero-video-icon {
    width: 66px;
    height: 66px;
    border-width: 5px;
  }

  .hero-video-label {
    min-height: 32px;
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .quick-access {
    padding: 24px 0 50px;
  }

  .about-container,
  .app-container {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-image img {
    height: auto;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .help-card {
    grid-template-columns: 1fr;
  }

  .app-container {
    padding: 32px 24px;
  }

  .app-phone {
    order: 2;
  }

  .app-content {
    order: 1;
  }

  .agenda-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero-slide-wrapper {
    height: 430px;
  }

  .hero-slide-banner {
    object-fit: cover;
    object-position: 63% center;
  }

  .hero-slide-content {
    align-items: flex-start;
    padding-top: 54px;
  }

  .hero-slide-text {
    max-width: 380px;
  }

  .hero-slide-text h1 {
    font-size: clamp(2.45rem, 11vw, 3.7rem);
    line-height: 0.96;
    margin-bottom: 16px;
  }

  .hero-slide-text p {
    max-width: 350px;
    font-size: clamp(0.98rem, 4vw, 1.18rem);
    line-height: 1.38;
  }

  .hero-video-button {
    right: 22px;
    bottom: 24px;
  }

  .hero-video-icon {
    width: 62px;
    height: 62px;
    border-width: 5px;
  }

  .hero-video-icon i {
    font-size: 1.35rem;
  }

  .hero-video-label {
    font-size: 0.76rem;
  }

  .quick-access {
    padding: 22px 0 46px;
  }

  .quick-access-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-item {
    min-height: 100px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-card {
    height: 190px;
  }

  .help-card {
    padding: 28px 22px;
    grid-template-columns: 1fr;
  }

  .help-phone {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-content h2 {
    font-size: 2.35rem;
  }

  .download-buttons,
  .store-button {
    width: 100%;
  }

  .store-button {
    justify-content: center;
  }

  .secretary-container {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .secretary-message {
    grid-column: auto;
  }

  .agenda-card {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom-container {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
    text-align: center;
  }

  .footer-social {
    flex-wrap: wrap;
    justify-content: center;
  }

  .video-modal,
  .custom-modal {
    padding: 14px;
  }

  .video-modal-content,
  .custom-modal-box {
    width: 96vw;
  }

  .video-modal-frame,
  .gallery-modal-content {
    border-radius: 14px 14px 0 0;
  }

  .video-modal-fallback {
    border-radius: 0 0 14px 14px;
  }

  .video-modal-close,
  .custom-modal-close {
    top: -14px;
    right: -8px;
    width: 42px;
    height: 42px;
  }

  .back-to-top {
    right: 16px;
    bottom: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .emergency-text {
    text-align: center;
  }

  .transparency-img {
    width: 78px;
  }

  .footer-transparency-img {
    width: 78px;
  }

  .main-navbar {
    min-height: 66px;
  }

  .nav-container {
    min-height: 66px;
  }

  .nav-container::before {
    width: 86px;
    flex-basis: 86px;
  }

  .brand-floating {
    top: 0;
    width: 70px;
    height: 94px;
  }

  .brand-floating.brand-lower-position {
    top: 6px;
  }

  .brand-floating img,
  .brand-logo {
    width: 66px;
  }

  .site-header.header-scrolled .nav-container::before {
    width: 62px;
    flex-basis: 62px;
  }

  .site-header.header-scrolled .brand-floating {
    top: 7px;
    width: 44px;
    height: 44px;
  }

  .site-header.header-scrolled .brand-floating.brand-lower-position {
    top: 10px;
  }

  .site-header.header-scrolled .brand-floating img,
  .site-header.header-scrolled .brand-logo {
    width: 42px;
  }

  .nav-search-panel {
    left: 74px;
    right: 10px;
    height: 34px;
  }

  .nav-search-form {
    height: 34px;
    grid-template-columns: 1fr 36px 30px;
  }

  .nav-search-input,
  .nav-search-submit,
  .nav-search-close {
    height: 34px;
  }

  .hero-slide-wrapper {
    height: 410px;
  }

  .hero-slide-banner {
    object-fit: cover;
    object-position: 67% center;
  }

  .hero-slide-content {
    padding-top: 48px;
  }

  .hero-slide-text {
    max-width: 310px;
  }

  .hero-slide-text h1 {
    font-size: clamp(2.1rem, 11.5vw, 3.05rem);
    line-height: 0.98;
    margin-bottom: 14px;
  }

  .hero-slide-text p {
    max-width: 300px;
    font-size: 0.98rem;
    line-height: 1.38;
  }

  .hero-video-button {
    right: 18px;
    bottom: 22px;
  }

  .hero-video-icon {
    width: 56px;
    height: 56px;
    border-width: 4px;
  }

  .hero-video-icon i {
    font-size: 1.18rem;
  }

  .hero-video-label {
    min-height: 30px;
    padding: 7px 10px;
    font-size: 0.72rem;
    border-radius: 7px;
  }

  .quick-access {
    padding: 18px 0 40px;
  }

  .quick-access-card {
    grid-template-columns: 1fr;
  }

  .quick-item {
    border-right: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    height: 260px;
  }

  .app-container {
    padding: 26px 18px;
  }

  .app-content h2 {
    font-size: 2rem;
  }

  .feature-item {
    width: 100%;
  }

  .secretary-title h2 {
    font-size: 2rem;
  }

  .footer-main {
    padding: 48px 0;
  }
}

@media (max-width: 360px) {
  .hero-slide-wrapper {
    height: 390px;
  }

  .hero-slide-text {
    max-width: 280px;
  }

  .hero-slide-text h1 {
    font-size: 2rem;
  }

  .hero-slide-text p {
    font-size: 0.9rem;
  }

  .hero-video-button {
    right: 14px;
    bottom: 18px;
  }

  .hero-video-icon {
    width: 52px;
    height: 52px;
  }

  .hero-video-label {
    font-size: 0.68rem;
  }
}