/* ==========================================================================
   RESPONSIVIDADE E ADAPTAÇÃO MOBILE / TABLET / DESKTOP - ALEXSANDRA TOMAZ
   Otimizado para UX superior, eliminação de espaços vazios e fluidez total
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PREVENÇÃO ABSOLUTA DE ROLAGEM HORIZONTAL E RESET BASE
   -------------------------------------------------------------------------- */
html {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  box-sizing: border-box !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

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

h1, h2, h3, h4, h5, h6, p, span, a, li, label, div {
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
}

/* --------------------------------------------------------------------------
   2. DESKTOP PADRÃO E TELAS LARGAS (A partir de 1024px)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: clamp(2rem, 3.5vw, 3.5rem);
    align-items: center;
  }

  .commitments-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .videos-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.25rem !important;
  }

  .support-wrapper {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   3. DESKTOPS COMPACTOS, NOTEBOOKS E TABLETS LANDSCAPE (1024px até 1199px)
   Elimina quebra de linhas no menu superior e calibra o Hero para telas de 768px de altura
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) and (min-width: 1024px) and (min-height: 601px) {
  /* Navbar Compacta e Fluida - Sem quebra de linha de textos como 'Quem Sou' ou 'Fotos & Pautas' */
  .nav-wrapper {
    gap: 0.5rem !important;
  }

  .brand-badge {
    width: 38px !important;
    height: 42px !important;
  }

  .brand-name {
    font-size: 1.05rem !important;
  }

  .brand-tag {
    font-size: 0.62rem !important;
  }

  .nav-links-list {
    gap: clamp(0.5rem, 0.9vw, 0.95rem) !important;
  }

  .nav-link {
    font-size: 0.81rem !important;
    white-space: nowrap !important;
    padding: 0.35rem 0.15rem !important;
  }

  .nav-link-content {
    gap: 0.35rem !important;
  }

  .nav-actions .btn-header {
    padding: 0.52rem 0.95rem !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
    gap: 0.4rem !important;
  }

  /* Hero Section Enquadrado para Viewports de 768px (iPad Mini Landscape, Laptops) */
  .hero-section {
    padding: 1.8rem 0 1.5rem !important;
    min-height: calc(100vh - 64px) !important;
    display: flex !important;
    align-items: center !important;
  }

  .hero-grid {
    gap: clamp(1.5rem, 2.5vw, 2.25rem) !important;
    align-items: center !important;
  }

  .hero-title {
    font-size: 2.5rem !important;
    line-height: 1.08 !important;
    margin-bottom: 0.45rem !important;
  }

  .hero-slogan {
    font-size: 0.92rem !important;
    line-height: 1.42 !important;
    max-width: 480px !important;
    margin-bottom: 0.8rem !important;
  }

  .hero-ctas {
    gap: 0.55rem !important;
    margin-top: 0.35rem !important;
  }

  .hero-ctas .btn {
    padding: 0.55rem 1.1rem !important;
    font-size: 0.8rem !important;
  }

  .hero-image-frame {
    max-height: clamp(370px, 58vh, 450px) !important;
    max-width: 360px !important;
    width: auto !important;
    aspect-ratio: 4 / 5 !important;
    margin: 0 auto !important;
  }

  .hero-candidate-photo {
    height: 100% !important;
    width: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
  }

  .proposals-grid {
    gap: 1.25rem;
  }

  .proposal-card {
    padding: 1.75rem 1.4rem;
  }
}

/* Telas com Altura Reduzida (ex: 1024x768, 1280x720, 1366x768) */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero-section {
    padding: 1.5rem 0 1.25rem !important;
    min-height: calc(100vh - 64px) !important;
    display: flex !important;
    align-items: center !important;
  }

  .hero-image-frame {
    max-height: clamp(350px, 56vh, 440px) !important;
    max-width: 350px !important;
    width: auto !important;
    aspect-ratio: 4 / 5 !important;
    margin: 0 auto !important;
  }

  .hero-candidate-photo {
    height: 100% !important;
    width: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
  }
}

/* --------------------------------------------------------------------------
   4. TABLETS E TELAS MÉDIAS (768px até 1023px)
   Otimização para eliminação de espaços mortos (Grid 2x4 perfeito de propostas)
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) and (min-width: 768px) {
  section {
    padding: 3.5rem 0 !important;
  }

  .hero-section {
    padding: 3rem 0 2.5rem !important;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    align-items: center !important;
  }

  .hero-title {
    font-size: 2.6rem !important;
  }

  .hero-slogan {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
  }

  .hero-candidate-photo {
    height: auto !important;
    aspect-ratio: 4 / 5;
    object-fit: contain !important;
  }

  /* Grid 2x2 na Faixa de Estatísticas */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  .stat-box {
    border-right: none !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem !important;
  }

  /* Grid 2 Colunas para os 8 Cards de Propostas (4 Linhas Exatas = ZERO Espaço Vazio!) */
  .proposals-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.4rem !important;
  }

  .commitments-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .support-wrapper {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  /* Seção Sobre / Biografia */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    align-items: center !important;
  }

  .about-main-image img {
    height: auto !important;
    aspect-ratio: 4 / 5;
    object-fit: contain !important;
  }

  /* Galeria de Vídeos Tablet (2 colunas para 4 vídeos) */
  .videos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  /* Rodapé */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }

  /* Header e Navbar Tablet (768px até 1023px) - Evita colisão de itens e estouro do botão WhatsApp */
  .mobile-nav-toggle {
    display: flex !important;
    z-index: 10001;
  }

  .nav-actions .btn-header {
    display: inline-flex !important;
    font-size: 0.8rem !important;
    padding: 0.55rem 1rem !important;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100dvh - 64px);
    background: linear-gradient(180deg, #050f22 0%, #030814 100%) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    padding: 1.25rem 1.75rem 2rem !important;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s;
    z-index: 99999;
    overflow-y: auto;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav-links-list li {
    width: 100% !important;
    list-style: none !important;
  }

  .nav-link {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1.35rem !important;
    border-radius: 14px !important;
    background: rgba(13, 27, 49, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.22s ease !important;
    text-align: left !important;
  }

  .nav-link-content {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
  }

  .nav-icon {
    display: inline-flex !important;
    font-size: 1.15rem !important;
    color: var(--gold) !important;
    width: 24px !important;
    justify-content: center !important;
  }

  .nav-arrow {
    display: inline-flex !important;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.35) !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
  }

  .nav-link:hover,
  .nav-link.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.18) 0%, rgba(13, 27, 49, 0.9) 100%) !important;
    color: #ffffff !important;
    border-color: rgba(212, 175, 55, 0.45) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35), 0 0 15px rgba(212, 175, 55, 0.15) !important;
  }

  .nav-link:hover .nav-arrow,
  .nav-link.active .nav-arrow {
    color: var(--gold) !important;
    transform: translateX(4px) !important;
  }

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

  .mobile-menu-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-top: 1.25rem !important;
    padding-top: 1.1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
  }

  .mobile-menu-ctas {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .mobile-cta-btn {
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.88rem !important;
    border-radius: 12px !important;
  }

  .mobile-menu-social {
    display: flex !important;
    justify-content: center !important;
    gap: 0.85rem !important;
  }

  .mobile-menu-social a {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--gold) !important;
    font-size: 1.05rem !important;
  }

  .mobile-menu-legal {
    text-align: center !important;
    font-size: 0.7rem !important;
    color: var(--text-dim) !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0.2);
  }

  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* --------------------------------------------------------------------------
   5. MOBILE & SMARTPHONES (Abaixo de 768px)
   UX de aplicativo nativo, navegação facilitada e zero rolagem vertical excessiva
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Regra de Ouro: Nada pode estourar a largura do dispositivo */
  .hero-grid > *,
  .about-grid > *,
  .proposals-grid > *,
  .stats-grid > *,
  .materials-grid > *,
  .footer-grid > *,
  .contact-cards-grid > * {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  section {
    padding: 2.75rem 0 !important;
  }

  .container {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  /* Ocultar barra superior em telas pequenas */
  .top-bar {
    display: none !important;
  }

  /* Header e Navbar Fixa Mobile */
  .header-navbar {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #040c1a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-wrapper {
    height: 64px;
    width: 100%;
  }

  .brand-badge {
    width: 36px;
    height: 40px;
    border-radius: 9px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-tag {
    font-size: 0.65rem;
  }

  .mobile-nav-toggle {
    display: flex;
    z-index: 10001;
  }

  /* Menu Gaveta Mobile (Ultra-moderno, App Native Feel) */
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100dvh - 64px);
    background: linear-gradient(180deg, #050f22 0%, #030814 100%) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    padding: 1.25rem 1.15rem 1.8rem !important;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s;
    z-index: 99999;
    overflow-y: auto;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav-links-list li {
    width: 100% !important;
    list-style: none !important;
  }

  .nav-link {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.9rem 1.15rem !important;
    border-radius: 14px !important;
    background: rgba(13, 27, 49, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.22s ease !important;
    text-align: left !important;
  }

  .nav-link-content {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
  }

  .nav-icon {
    display: inline-flex !important;
    font-size: 1.15rem !important;
    color: var(--gold) !important;
    width: 24px !important;
    justify-content: center !important;
  }

  .nav-arrow {
    display: inline-flex !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.35) !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
  }

  .nav-link:hover,
  .nav-link.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.18) 0%, rgba(13, 27, 49, 0.9) 100%) !important;
    color: #ffffff !important;
    border-color: rgba(212, 175, 55, 0.45) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35), 0 0 15px rgba(212, 175, 55, 0.15) !important;
  }

  .nav-link:hover .nav-arrow,
  .nav-link.active .nav-arrow {
    color: var(--gold) !important;
    transform: translateX(4px) !important;
  }

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

  /* Rodapé do Menu Mobile */
  .mobile-menu-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-top: 1.25rem !important;
    padding-top: 1.1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
  }

  .mobile-menu-ctas {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .mobile-cta-btn {
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.88rem !important;
    border-radius: 12px !important;
  }

  .mobile-menu-social {
    display: flex !important;
    justify-content: center !important;
    gap: 0.85rem !important;
  }

  .mobile-menu-social a {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--gold) !important;
    font-size: 1.05rem !important;
    transition: all 0.2s ease !important;
  }

  .mobile-menu-social a:hover {
    background: var(--gold) !important;
    color: #030a16 !important;
    transform: translateY(-2px) !important;
  }

  .mobile-menu-legal {
    text-align: center !important;
    font-size: 0.7rem !important;
    color: var(--text-dim) !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  .nav-actions .btn-header {
    display: none !important;
  }

  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0.2);
  }

  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Cabeçalhos de Seção */
  .section-header {
    margin-bottom: 2rem !important;
  }

  .section-tag {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.75rem !important;
    margin-bottom: 0.6rem !important;
  }

  .section-title {
    font-size: clamp(1.6rem, 5.5vw, 1.95rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 0.6rem !important;
  }

  .section-subtitle {
    font-size: 0.94rem !important;
    line-height: 1.5 !important;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 1.8rem 0 2rem !important;
    min-height: auto;
    width: 100% !important;
    overflow: hidden;
  }

  .hero-glow {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    text-align: center;
    width: 100% !important;
  }

  .hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100% !important;
    gap: 1rem;
    padding-top: 0.25rem;
  }

  .hero-badge-pill {
    display: none !important;
  }

  .hero-title {
    font-size: clamp(2.2rem, 7.5vw, 2.7rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 0.2rem;
    letter-spacing: -0.02em;
  }

  .hero-slogan {
    border: none;
    padding: 0;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0.4rem;
    max-width: 100% !important;
    color: #cbd5e1;
  }

  /* CTAs da Hero em Mobile */
  .hero-ctas {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: 360px;
    gap: 0.65rem;
    margin-top: 0.4rem;
  }

  .hero-ctas .btn {
    width: 100% !important;
    padding: 0.78rem 1.1rem;
    font-size: 0.88rem;
    min-height: 46px;
    letter-spacing: 0.03em;
  }

  /* Foto Oficial da Candidata na Hero */
  .hero-media-wrapper {
    margin: 0.5rem auto 0;
    width: 100% !important;
    max-width: 360px;
  }

  .hero-image-frame {
    width: 100% !important;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    background: #07162c;
  }

  .hero-candidate-photo {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
    display: block;
  }

  .candidate-name-overlay {
    display: none;
  }

  .hero-image-overlay {
    justify-content: center;
    padding: 0.75rem;
  }

  .floating-card {
    display: none !important;
  }

  /* Badges de Confiança */
  .hero-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    width: 100% !important;
  }

  .trust-item {
    width: 100% !important;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    justify-content: flex-start;
  }

  /* ------------------------------------------------------------------------
     FAIXA DE ESTATÍSTICAS EM MOBILE (Grid 2x2 Inteligente - Reduz 250px de Scroll)
     ------------------------------------------------------------------------ */
  .stats-counter-bar {
    width: 100% !important;
    padding: 1.2rem 0 !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .stat-box {
    width: 100% !important;
    border-right: none !important;
    border-bottom: none !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.7rem 0.6rem !important;
    align-items: center;
    gap: 0.65rem !important;
  }

  .stat-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.15rem !important;
    border-radius: 10px !important;
  }

  .stat-value {
    font-size: 1.45rem !important;
    line-height: 1.1 !important;
  }

  .stat-label {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
  }

  /* ------------------------------------------------------------------------
     FILTROS HORIZONTAIS COM SWIPE (Pill Scroll - Elimina 200px de Poluição)
     ------------------------------------------------------------------------ */
  .proposal-filters {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    padding: 0.2rem 0.2rem 0.8rem !important;
    margin-bottom: 1.5rem !important;
    scrollbar-width: none !important;
    width: 100% !important;
  }

  .proposal-filters::-webkit-scrollbar {
    display: none !important;
  }

  /* Grid dos Compromissos em Mobile */
  .commitments-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .commitment-card {
    padding: 1.5rem 1.25rem !important;
  }

  .support-wrapper-direct {
    width: 100% !important;
  }

  .support-direct-card {
    padding: 2.25rem 1.25rem !important;
    border-radius: 20px !important;
  }

  .support-wa-highlight-box {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem !important;
    padding: 1.5rem 1.2rem !important;
  }

  .wa-box-left {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
  }

  .wa-status-badge {
    justify-content: center !important;
  }

  .wa-box-right {
    width: 100% !important;
  }

  .wa-box-right .btn-whatsapp {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .support-direct-footer {
    flex-direction: column !important;
    gap: 0.85rem !important;
  }

  /* Seção Biografia em Mobile */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: left;
    width: 100% !important;
  }

  .about-text-content {
    width: 100% !important;
    padding: 0 !important;
  }

  .about-text-content p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.9rem !important;
  }

  .about-main-image img {
    height: auto !important;
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
    border-radius: 16px !important;
    display: block;
  }

  .about-quote-card {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin-top: 0.9rem !important;
    width: 100% !important;
    padding: 1rem 1.1rem !important;
  }

  .about-quote-card p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  /* Linha do Tempo (Timeline) Alinhada */
  .timeline {
    padding-left: 1.3rem !important;
    margin-top: 1.4rem !important;
    width: 100% !important;
  }

  .timeline::before {
    left: 4px !important;
  }

  .timeline-dot {
    left: -1.3rem !important;
    width: 10px !important;
    height: 10px !important;
    top: 5px !important;
  }

  .timeline-item {
    margin-bottom: 1.2rem !important;
  }

  .timeline-title {
    font-size: 0.98rem !important;
  }

  .timeline-desc {
    font-size: 0.86rem !important;
    line-height: 1.4 !important;
  }

  /* Central de Materiais em Mobile */
  .materials-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .flyer-preview-box {
    padding: 1rem !important;
  }

  .flyer-preview-box img {
    max-height: 380px !important;
  }

  .material-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.9rem !important;
    width: 100% !important;
    padding: 1.15rem !important;
  }

  .material-card .btn {
    width: 100% !important;
    min-height: 46px;
  }

  /* Formulário de Voluntário */
  .volunteer-card {
    padding: 1.8rem 1.15rem !important;
    border-radius: 20px !important;
    width: 100% !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .form-control {
    font-size: 16px !important; /* Previne auto-zoom no Safari iOS */
    padding: 0.85rem 1rem !important;
    min-height: 48px;
  }

  .checkbox-grid {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
  }

  .checkbox-label {
    min-height: 46px;
    padding: 0.65rem 0.85rem !important;
    font-size: 0.84rem !important;
  }

  .form-submit-container .btn {
    width: 100% !important;
    padding: 0.85rem 1.5rem !important;
  }

  /* Galeria de Vídeos & Player Modal Mobile */
  .videos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .video-card {
    border-radius: 14px !important;
  }

  .video-thumb-wrapper {
    aspect-ratio: 9 / 14 !important;
  }

  .video-info {
    padding: 0.85rem 0.75rem 1rem !important;
  }

  .video-category-tag {
    font-size: 0.68rem !important;
    margin-bottom: 0.25rem !important;
  }

  .video-title {
    font-size: 0.92rem !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.25 !important;
  }

  .video-desc {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem !important;
  }

  .video-watch-btn {
    font-size: 0.75rem !important;
    padding: 0.45rem 0.5rem !important;
  }

  .video-play-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 1rem !important;
  }

  .modal-video-card {
    max-width: 95vw !important;
    border-radius: 16px !important;
  }

  .video-iframe-container {
    max-height: 65vh !important;
  }

  .video-modal-info {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    padding: 0.75rem 0.9rem !important;
  }

  .video-modal-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .video-modal-actions .btn {
    width: 100% !important;
    font-size: 0.76rem !important;
    padding: 0.5rem 0.4rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Seção de Contatos */
  .contact-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .contact-card {
    padding: 1.3rem !important;
  }

  /* Rodapé */
  .footer-official {
    padding: 2.75rem 0 1.5rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    margin-bottom: 2rem !important;
  }

  .footer-legal-badge {
    white-space: normal !important;
    line-height: 1.4 !important;
    font-size: 0.72rem !important;
  }

  /* Botão Flutuante do WhatsApp */
  .whatsapp-float-btn {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.5rem !important;
    bottom: 18px !important;
    right: 18px !important;
  }
}

/* --------------------------------------------------------------------------
   6. SMARTPHONES COMPACTOS (iPhone SE, telas até 390px)
   -------------------------------------------------------------------------- */
@media (max-width: 390px) {
  .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .section-title {
    font-size: 1.5rem !important;
  }

  .hero-title {
    font-size: 1.85rem !important;
  }

  .hero-candidate-photo {
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
  }

  .stat-box {
    padding: 0.55rem 0.45rem !important;
    gap: 0.45rem !important;
  }

  .stat-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
  }

  .stat-value {
    font-size: 1.3rem !important;
  }

  .stat-label {
    font-size: 0.68rem !important;
  }

  .btn {
    font-size: 0.85rem !important;
    padding: 0.7rem 0.9rem !important;
  }

  .modal-content-card {
    padding: 1.2rem 0.85rem !important;
    width: 95% !important;
  }

  .videos-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }

  .modal-photo-left {
    height: 38vh !important;
    max-height: 38vh !important;
    min-height: 190px !important;
    padding: 0.4rem !important;
  }

  .modal-photo-right {
    padding: 1rem 0.85rem 2.8rem !important;
  }
}

/* ==========================================================================
   RESPONSIVIDADE: GALERIA DE FOTOS & MODAL LIGHTBOX
   ========================================================================== */
@media (max-width: 991px) {
  .gallery-panoramic-caption {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1.25rem !important;
    gap: 0.75rem !important;
  }

  .panoramic-slogan {
    font-size: 1.05rem !important;
  }

  .gallery-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
  }

  .modal-photo-dialog {
    flex-direction: column !important;
    max-height: 90vh !important;
    width: 92% !important;
    margin: auto !important;
  }

  .modal-photo-left {
    width: 100% !important;
    height: 44vh !important;
    max-height: 44vh !important;
    min-height: 260px !important;
    flex: 0 0 auto !important;
    background: #020611 !important;
    padding: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
  }

  .modal-photo-left img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 6px !important;
  }

  .modal-photo-right {
    flex: 1 1 auto !important;
    padding: 1.5rem 1.25rem 2.5rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (max-width: 600px) {
  .gallery-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .gallery-filter-btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 1rem !important;
  }

  .gallery-caption-box {
    padding: 1.35rem 1.15rem !important;
  }

  .gallery-card-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    width: 100% !important;
  }

  .gallery-card-actions .btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0.6rem 0.45rem !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
  }

  .gallery-caption-title {
    font-size: 1.12rem !important;
  }

  .gallery-caption-quote {
    font-size: 0.86rem !important;
  }

  .gallery-point-item {
    font-size: 0.82rem !important;
  }

  .modal-photo-dialog {
    width: 95% !important;
    max-height: 92vh !important;
    border-radius: 16px !important;
  }

  .modal-photo-left {
    width: 100% !important;
    height: 42vh !important;
    max-height: 42vh !important;
    min-height: 230px !important;
    padding: 0.5rem !important;
  }

  .modal-photo-left img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .photo-modal-nav,
  .modal-photo-left .photo-modal-nav {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .photo-modal-nav.prev,
  .modal-photo-left .photo-modal-nav.prev {
    left: 8px !important;
  }

  .photo-modal-nav.next,
  .modal-photo-left .photo-modal-nav.next {
    right: 8px !important;
  }

  .modal-photo-right {
    padding: 1.15rem 1rem 2.75rem !important;
  }
}

/* ==========================================================================
   7. CELULARES DEITADOS / SMARTPHONES EM MODO LANDSCAPE (PAISAGEM)
   Otimização extrema para telas com altura reduzida (320px até 680px)
   Garante visualização perfeita no Samsung Galaxy S20, iPhone e todos celulares:
   Header compacto sem cortes, menu gaveta em 2 colunas e zero sobreposição.
   ========================================================================== */
@media screen and (orientation: landscape) and (max-height: 680px),
       screen and (max-height: 600px),
       screen and (max-width: 1200px) and (max-height: 680px),
       screen and (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 720px) {

  /* 1. Header Compacto e Limpo */
  .header-navbar {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #040c1a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 1000 !important;
  }

  .nav-wrapper {
    height: 48px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    max-width: 75% !important;
  }

  .brand-badge {
    width: 30px !important;
    height: 32px !important;
    border-radius: 7px !important;
    flex-shrink: 0 !important;
  }

  .brand-info {
    display: flex !important;
    flex-direction: column !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.15 !important;
  }

  .brand-name {
    font-size: 0.9rem !important;
    white-space: nowrap !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    color: var(--text-main) !important;
  }

  .brand-tag {
    font-size: 0.56rem !important;
    white-space: nowrap !important;
    line-height: 1.15 !important;
    letter-spacing: 0.08em !important;
    color: var(--gold) !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
  }

  .nav-actions .btn-header {
    display: none !important; /* Deixa o topo minimalista e espaçoso, idêntico ao Print 2 */
  }

  .mobile-nav-toggle {
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    padding: 7px !important;
    z-index: 100001 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 9px !important;
    cursor: pointer !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 4px !important;
  }

  .mobile-nav-toggle span {
    width: 100% !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.25s ease !important;
  }

  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg) !important;
  }

  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0 !important;
    transform: scale(0.2) !important;
  }

  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
  }

  /* 2. Menu Gaveta Landscape (Grade 2 Colunas Limpa e Acessível - Idêntico ao Print 2) */
  .nav-menu {
    position: fixed !important;
    top: 48px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100dvh - 48px) !important;
    background: linear-gradient(180deg, #050f22 0%, #030814 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    padding: 0.65rem 1.25rem 0.85rem !important;
    transform: translateY(-120%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-top: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95) !important;
  }

  .nav-menu.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-links-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
    width: 100% !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav-links-list li {
    width: 100% !important;
    list-style: none !important;
  }

  .nav-link {
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.48rem 0.8rem !important;
    border-radius: 10px !important;
    background: rgba(13, 27, 49, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.22s ease !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  .nav-link-content {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .nav-icon {
    display: inline-block !important;
    font-size: 0.88rem !important;
    color: var(--gold) !important;
    width: 18px !important;
    text-align: center !important;
  }

  .nav-arrow {
    display: inline-block !important;
    font-size: 0.72rem !important;
    color: rgba(255, 255, 255, 0.35) !important;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(245, 158, 11, 0.12) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: var(--gold) !important;
  }

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

  .mobile-menu-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0.45rem !important;
    padding-top: 0.45rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .mobile-menu-social {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .mobile-menu-social a {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--gold) !important;
    font-size: 0.9rem !important;
  }

  .mobile-menu-legal {
    display: none !important;
  }

  /* 3. Hero Section Landscape (Ajuste Exato para Exibir Tudo na Primeira Tela) */
  .hero-section {
    min-height: calc(100dvh - 48px) !important;
    height: auto !important;
    padding: 0.5rem 0 0.85rem !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .hero-grid {
    display: grid !important;
    grid-template-columns: 1.18fr 0.82fr !important;
    gap: clamp(0.75rem, 2.5vw, 1.5rem) !important;
    align-items: center !important;
    width: 100% !important;
  }

  .hero-content {
    gap: 0.25rem !important;
    justify-content: center !important;
  }

  .hero-badge-pill {
    font-size: 0.65rem !important;
    padding: 0.15rem 0.55rem !important;
    margin-bottom: 0.1rem !important;
  }

  .hero-title {
    font-size: clamp(1.35rem, 3.2vw, 1.75rem) !important;
    line-height: 1.06 !important;
    margin: 0 0 0.1rem 0 !important;
  }

  .hero-title .highlight-gold {
    display: inline !important;
  }

  .hero-slogan {
    font-size: clamp(0.7rem, 1.35vw, 0.78rem) !important;
    line-height: 1.3 !important;
    border-left: 2.5px solid var(--gold) !important;
    padding-left: 0.55rem !important;
    margin: 0 0 0.2rem 0 !important;
    max-width: 100% !important;
  }

  .hero-ctas {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    margin-top: 0.25rem !important;
  }

  .hero-ctas .btn {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.7rem !important;
    border-radius: 9999px !important;
    white-space: nowrap !important;
    line-height: 1.15 !important;
  }

  .hero-trust-badges {
    display: none !important; /* Remove deslocamento excessivo para manter os 3 botões CTA sempre visíveis */
  }

  .hero-media-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
  }

  .hero-image-frame {
    max-height: clamp(200px, 66vh, 260px) !important;
    width: auto !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 12px !important;
    margin: 0 auto !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
  }

  .hero-candidate-photo {
    height: 100% !important;
    width: auto !important;
    object-fit: contain !important;
    aspect-ratio: 4 / 5 !important;
  }

  /* 4. Faixa de Destaques / Estatísticas */
  .stats-strip {
    padding: 0.75rem 0 !important;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
  }

  .stat-box {
    padding: 0.5rem 0.35rem !important;
  }

  .stat-number {
    font-size: 1.15rem !important;
  }

  .stat-label {
    font-size: 0.68rem !important;
  }

  /* 5. Seções Gerais e Quem Sou */
  section {
    padding: 2rem 0 !important;
  }

  .section-header {
    margin-bottom: 1.15rem !important;
  }

  .section-tag {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.6rem !important;
    margin-bottom: 0.35rem !important;
  }

  .section-title {
    font-size: clamp(1.35rem, 3.6vw, 1.7rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.35rem !important;
  }

  .section-subtitle {
    font-size: 0.8rem !important;
  }

  .about-grid {
    grid-template-columns: 0.82fr 1.18fr !important;
    gap: 1.25rem !important;
    align-items: center !important;
  }

  .about-main-image img {
    max-height: 65vh !important;
    width: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
  }

  .about-bio-text {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }

  /* 6. Compromissos e Propostas */
  .proposals-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .proposal-card {
    padding: 0.85rem 1rem !important;
  }

  .proposal-title {
    font-size: 0.92rem !important;
  }

  .proposal-text {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  .commitments-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  /* 7. Galeria de Fotos e Lightbox Modal */
  .gallery-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }

  .gallery-caption-box {
    padding: 0.85rem 0.8rem !important;
  }

  .gallery-card-actions {
    margin-top: auto !important;
    padding-top: 0.65rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    width: 100% !important;
  }

  .gallery-card-actions .btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0.48rem 0.35rem !important;
    font-size: 0.72rem !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  .gallery-caption-title {
    font-size: 0.98rem !important;
    margin-bottom: 0.3rem !important;
  }

  .gallery-caption-quote {
    font-size: 0.8rem !important;
    padding: 0.35rem 0.6rem !important;
    margin-bottom: 0.55rem !important;
  }

  .gallery-caption-text {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.6rem !important;
  }

  .gallery-point-item {
    font-size: 0.74rem !important;
  }

  .modal-photo-dialog {
    flex-direction: row !important;
    max-height: 92vh !important;
    width: 94% !important;
    max-width: 960px !important;
    margin: auto !important;
  }

  .modal-photo-left {
    flex: 1 !important;
    height: 88vh !important;
    max-height: 88vh !important;
    min-height: auto !important;
    width: auto !important;
    padding: 0.4rem !important;
  }

  .modal-photo-left img {
    max-height: 88vh !important;
    object-fit: contain !important;
  }

  .modal-photo-right {
    flex: 1.15 !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    padding: 0.85rem 1.1rem !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .photo-modal-nav {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.8rem !important;
  }

  /* 8. Vídeos e Player Modal */
  .videos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }

  .video-thumb-wrapper {
    aspect-ratio: 9 / 13 !important;
  }

  .video-info {
    padding: 0.7rem 0.65rem 0.8rem !important;
  }

  .video-title {
    font-size: 0.88rem !important;
  }

  .video-desc {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
  }

  .modal-video-card {
    max-height: 94vh !important;
    width: auto !important;
    max-width: 90vw !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .modal-video-header {
    padding: 0.3rem 0.65rem !important;
  }

  .video-iframe-container {
    height: calc(94vh - 75px) !important;
    width: calc((94vh - 75px) * 9 / 16) !important;
    max-width: 80vw !important;
    aspect-ratio: auto !important;
    margin: 0 auto !important;
  }

  .video-modal-info {
    padding: 0.35rem 0.65rem !important;
  }

  /* 9. Apoie & Rodapé */
  .support-wrapper-direct {
    padding: 1.15rem !important;
  }

  .footer-official {
    padding: 2rem 0 1.25rem !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  /* 10. Botão Flutuante do WhatsApp */
  .whatsapp-float-btn {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.2rem !important;
    bottom: 10px !important;
    right: 10px !important;
  }
}

@media (max-width: 360px) {
  .gallery-card-actions,
  .video-actions-row {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .gallery-card-actions .btn,
  .video-actions-row .btn {
    width: 100% !important;
    flex: none !important;
  }
}



