/* Main Content Area - Full Width */
.main-content-area {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

/* Full width sections */
.benefits-container,
.home-middle-section,
.about-section,
.servi-solution-section,
.faq,
.patrocinadores-section,
.cta-footer {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* Section containers with internal padding */
.section-container,
.home-middle,
.about-container,
.services-container,
.faq-container,
.patrocinadores-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Benefits grid full width */
.benefits-grid {
  width: 100%;
  max-width: none;
  padding: 0 20px;
}

/* Service cards full width */
.services-grid {
  width: 100%;
  max-width: none;
  padding: 0 20px;
}

/* Remove container limitations */
.container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 20px;
}

/* FAQ section adjustments */
.faq .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CTA Footer full width */
.cta-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Footer adjustments - REMOVIDO para evitar conflito */

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-container,
  .home-middle,
  .about-container,
  .services-container,
  .faq-container,
  .patrocinadores-container {
    padding: 0 15px;
  }
  
  .benefits-grid,
  .services-grid {
    padding: 0 15px;
  }
  
  .container {
    padding: 0 15px !important;
  }
}

/* Remove margins and spaces */
.benefits-container,
.home-middle-section,
.about-section,
.servi-solution-section,
.faq,
.patrocinadores-section,
.cta-footer {
  margin: 0;
}

/* Remove body margins */
body {
  margin: 0;
  padding: 0;
}

/* Remove main padding */
main {
  padding: 0;
  margin: 0;
}

/* Remove section margins */
section {
  margin: 0;
}

/* Benefits section specific */
.benefits-container {
  padding: 80px 0;
  margin: 0;
}

/* Home middle section */
.home-middle-section {
  padding: 60px 0;
  margin: 0;
}

/* About section */
.about-section {
  padding: 80px 0;
  margin: 0;
}

/* Services section */
.servi-solution-section {
  padding: 80px 0;
  margin: 0;
}

/* FAQ section */
.faq {
  padding: 80px 0;
  margin: 0;
}

/* Clients section */
.patrocinadores-section {
  padding: 60px 0;
  margin: 0;
}

/* CTA Footer */
.cta-footer {
  padding-top: 60px;
  padding-bottom: 60px;
}
/* Footer adjustments - REMOVIDO para usar CSS do style.css */

/* Add backgrounds back to sections */
.home-middle-section {
  background: linear-gradient(90deg, #005b96, #003f5c);
}

.patrocinadores-section {
  background: #f8f9fa;
}

.cta-footer {
  background: linear-gradient(90deg, #005b96, #003f5c);
  color: white;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .benefits-container,
  .about-section,
  .servi-solution-section,
  .faq {
    padding: 60px 0;
  }
  
  .home-middle-section,
  .patrocinadores-section,
  .cta-footer {
    padding: 40px 0;
  }
}

/* Ensure proper spacing between sections */
section {
  margin-bottom: 0;
}

/* Cards Profissionais Minimalistas - Layout Horizontal em Linha */
/* Comentado para permitir grid layout em mobile */
/*
.benefits-container .professional-cards,
.services-container .professional-cards {
  display: flex;
  flex-direction: row;
  gap: 15px;
  padding: 40px 20px;
  overflow-x: hidden;
  align-items: stretch;
  justify-content: space-between;
}

.benefits-container .pro-card,
.services-container .pro-card {
  min-width: 0;
  flex: 1;
  max-width: 280px;
}
*/

.pro-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 20px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  font-family: var(--font-family-Baloo2-sans-serif);
}

.pro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pro-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.pro-card:hover::before {
  opacity: 1;
}

.pro-card-icon {
  width: 100px;
  height: 100px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  transition: all 0.2s ease;
  overflow: hidden;
  position: relative;
}

.pro-card:hover .pro-card-icon {
  background: #eff6ff;
  transform: scale(1.05);
}

.team-section .pro-card:hover {
  border-color: #e5e7eb;
  box-shadow: none;
  transform: none;
}

.team-section .pro-card:hover::before {
  opacity: 0;
}

.team-section .pro-card:hover .pro-card-icon {
  background: #f8fafc;
  transform: none;
}

.team-section .pro-card-icon.stat-icon {
  background: #f8fafc !important;
  color: #2563eb;
}

.team-section .pro-card-icon.stat-icon .initials {
  color: #2563eb;
}

.team-section .pro-card:hover .pro-card-icon i {
  color: #2563eb;
}

.team-section .stat-item:hover {
  background: transparent !important;
}

.team-section .stat-item:hover .pro-card-icon {
  background: #f8fafc !important;
}

.team-section .pro-card-link:hover {
  color: inherit;
  transform: none;
}

.team-section .pro-card.featured {
  border-color: #e5e7eb;
}

.team-section .pro-card.featured::before {
  opacity: 0;
}

.team-section .pro-card h3 {
  font-size: 20px;
}

.team-section .pro-card p {
  font-size: 16px;
}

.team-section .pro-card-features-list {
  font-size: 14px;
}

.team-section .pro-card-link {
  font-size: 14px;
}

.pro-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pro-card-icon .initials {
  font-size: 32px;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-family-Baloo2-sans-serif);
}

.pro-card.featured .pro-card-icon .initials {
  color: #1d4ed8;
}

.pro-card-icon i {
  font-size: 32px;
  color: #2563eb;
  transition: color 0.2s ease;
}

.pro-card:hover .pro-card-icon i {
  color: #1d4ed8;
}

/* Layout especial para equipe */
.team-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.team-leader {
  max-width: 400px;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 900px;
}

@media (max-width: 768px) {
  .team-members {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  
  .pro-card-icon {
    width: 80px;
    height: 80px;
  }
  
  .pro-card-icon .initials {
    font-size: 24px;
  }
}

.pro-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.3;
  font-family: var(--font-family-Baloo2-sans-serif);
}

.pro-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 16px 0;
  font-family: var(--font-family-Baloo2-sans-serif);
}

.pro-card-link {
  display: inline-flex;
  align-items: center;
  color: #2563eb;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  font-family: var(--font-family-Baloo2-sans-serif);
}

.pro-card-link:hover {
  color: #1d4ed8;
  transform: translateX(2px);
}

.team-section .pro-card-link:hover {
  color: inherit !important;
  transform: none !important;
}

.pro-card-link i {
  margin-left: 6px;
  font-size: 11px;
  transition: transform 0.2s ease;
}

.pro-card-link:hover i {
  transform: translateX(2px);
}

/* Variante de card destacado */
.pro-card.featured {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-color: #3b82f6;
}

.pro-card.featured::before {
  opacity: 1;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.pro-card.featured .pro-card-icon {
  background: #dbeafe;
}

.pro-card.featured .pro-card-icon i {
  color: #1d4ed8;
}

/* Responsividade */
.pro-card-features {
  margin-top: 12px;
  text-align: left;
}

.pro-card-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
  font-family: var(--font-family-Baloo2-sans-serif);
}

.pro-card-features-list li {
  padding: 2px 0;
  position: relative;
  padding-left: 15px;
}

.pro-card-features-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

.pro-card.featured .pro-card-features-list li::before {
  color: #1d4ed8;
}

@media (max-width: 768px) {
  .pro-card-features-list {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .professional-cards {
    grid-template-columns: 1fr;
    padding: 32px 12px;
    gap: 14px;
  }
  
  .pro-card {
    padding: 16px 12px;
  }
  
  .pro-card-icon {
    width: 44px;
    height: 44px;
  }
  
  .pro-card-icon i {
    font-size: 20px;
  }
  
  .pro-card h3 {
    font-size: 15px;
  }
  
  .pro-card p {
    font-size: 12px;
  }
  
  .pro-card-features-list {
    font-size: 10px;
  }
}

/* Seção header profissional */
.professional-section {
  text-align: center;
  padding: 80px 20px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.professional-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.professional-section p {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .professional-section {
    padding: 60px 16px 30px;
  }
  
  .professional-section h2 {
    font-size: 28px;
  }
  
  .professional-section p {
    font-size: 16px;
  }
}

/* Menu Mobile Otimizado */
.navbar-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 80%;
  height: 100vh;
  background: #003d6b;
  backdrop-filter: blur(10px);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
}

.navbar-mobile.show {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Garantir que o menu mobile apareça corretamente */
@media (max-width: 991px) {
  .navbar-mobile {
    display: block !important;
  }
  
  .navbar-mobile .mobile-nav-toggle-close {
    display: block !important;
  }
}

.navbar-mobile .mobile-nav-toggle-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.navbar-mobile .mobile-nav-toggle-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.navbar-mobile ul {
  margin: 70px 0 20px;
  padding: 0;
  list-style: none;
}

.navbar-mobile a {
  display: block;
  padding: 15px 25px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.navbar-mobile a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.navbar-mobile a:hover::before {
  left: 0;
}

.navbar-mobile a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--accent);
  padding-left: 30px;
}

/* Dropdown Mobile Otimizado */
.navbar-mobile .dropdown ul {
  display: none;
  padding: 0;
  margin-top: -0.9rem;
  list-style: none;
  background: rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.navbar-mobile .dropdown.active > ul {
  display: block;
  max-height: 300px;
}

.navbar-mobile .dropdown ul a {
  padding-left: 45px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.05);
}

/* Menu open state */
body.menu-open {
  overflow: hidden;
}

/* Responsividade melhorada */
@media (max-width: 768px) {
  .navbar-mobile {
    width: 100%;
    max-width: none;
  }
  
  .navbar-mobile ul {
    margin-top: 60px;
  }
  
  .navbar-mobile a {
    font-size: 15px;
    padding: 14px;
  }
}

/* Ensure sections take full width */
section {
  width: 100%;
  position: relative;
}

/* Fix for footer positioning */
.main-wrapper > footer:last-child {
  margin-top: auto;
}

/* Transicao entre paginas com logo animado */
.initial-loader.page-transition-active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
  background: linear-gradient(90deg, #005b96, #003f5c) !important;
  transition: opacity 0.6s ease, visibility 0.6s ease !important;
}

.initial-loader.page-transition-active .loader-logo-signal {
  width: clamp(190px, 34vw, 320px) !important;
  height: clamp(190px, 34vw, 320px) !important;
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
}

.initial-loader.page-transition-active .signal-wave {
  display: none !important;
}

.initial-loader.page-transition-active .loader-logo-img {
  content: url("../img/logo/logo_animated_hq.gif");
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 18px 24px rgba(0, 18, 34, 0.35)) !important;
  animation: none !important;
}

body.page-transitioning {
  overflow: hidden !important;
}

/* Shared Dylande signal loader */
.loader-logo-signal {
  position: relative;
  width: clamp(120px, 24vw, 190px);
  height: clamp(120px, 24vw, 190px);
  display: grid;
  place-items: center;
  margin: 0 auto;
  isolation: isolate;
}

.loader-logo-img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 18, 34, 0.35));
  z-index: 2;
}

.signal-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58%;
  height: 58%;
  background: url("../img/logo/logo.png") center / contain no-repeat;
  filter: brightness(1.1) drop-shadow(0 6px 10px rgba(0, 18, 34, 0.2));
  translate: -50% -50%;
  transform-origin: center;
  opacity: 0.92;
  z-index: 3;
  pointer-events: none;
  animation: antennaSignalMove 1.35s ease-in-out infinite;
}

.signal-wave-1 {
  clip-path: circle(12% at 8% 9%);
  animation-delay: 0s;
}

.signal-wave-2 {
  clip-path: polygon(0 28%, 11% 26%, 21% 22%, 31% 15%, 39% 5%, 46% 0, 55% 0, 58% 14%, 53% 29%, 43% 42%, 29% 52%, 13% 58%, 0 58%);
  animation-delay: 0.16s;
}

.signal-wave-3 {
  clip-path: polygon(0 56%, 11% 55%, 28% 52%, 43% 46%, 58% 36%, 69% 24%, 78% 9%, 82% 0, 91% 0, 94% 14%, 90% 31%, 79% 49%, 62% 64%, 39% 75%, 17% 80%, 0 80%);
  animation-delay: 0.32s;
}

@keyframes antennaSignalMove {
  0%, 100% {
    opacity: 0.82;
    transform: translateY(0) scale(1);
  }

  45% {
    opacity: 1;
    transform: translateY(-8px) scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-logo-img,
  .signal-wave {
    animation: none;
  }

  .signal-wave {
    opacity: 0.85;
    transform: none;
  }
}

/* Loader principal com o GIF animado fornecido */
.initial-loader .loader-logo-signal {
  width: clamp(190px, 34vw, 320px) !important;
  height: clamp(190px, 34vw, 320px) !important;
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
}

.initial-loader .signal-wave {
  display: none !important;
  animation: none !important;
}

.initial-loader .loader-logo-img {
  content: url("../img/logo/logo_animated_hq.gif");
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 18px 24px rgba(0, 18, 34, 0.35)) !important;
  animation: none !important;
}

/* Remove fundos dos textos de cabecalho das secoes destacadas */
.contact-section .section-header,
.support-channels .section-header,
.resources-suporte .section-header,
.quem-somos-section .section-header,
.history-section .section-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Mantem os botoes principais lado a lado no mobile */
@media (max-width: 768px) {
  #hero .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started),
  .hero-suporte .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started),
  .hero-consultoria .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0.6rem !important;
  }

  #hero .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started) .btn-get-started,
  .hero-suporte .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started) .btn-get-started,
  .hero-consultoria .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started) .btn-get-started {
    width: auto !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    padding: 0.8rem 0.9rem !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 480px) {
  #hero .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started),
  .hero-suporte .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started),
  .hero-consultoria .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started) {
    gap: 0.45rem !important;
  }

  #hero .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started) .btn-get-started,
  .hero-suporte .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started) .btn-get-started,
  .hero-consultoria .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started) .btn-get-started {
    min-height: 48px !important;
    padding: 0.65rem 0.55rem !important;
    font-size: 0.78rem !important;
    border-radius: 18px !important;
  }

  #hero .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started) .btn-get-started i,
  .hero-suporte .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started) .btn-get-started i,
  .hero-consultoria .col-lg-6 > div[data-aos-delay="800"]:has(> .btn-get-started + .btn-get-started) .btn-get-started i {
    font-size: 0.9rem !important;
    margin-right: 0.15rem !important;
  }
}

/* Back to top button improvements */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #005b96 !important;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.back-to-top:hover {
  background: #003f5c !important;
  transform: translateY(-5px);
}

.back-to-top i {
  font-size: 20px;
}

/* Fix for content alignment */
.content-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Fix for footer positioning */
.main-wrapper > footer:last-child {
  margin-top: auto;
}

/* Mantem os botoes da hero de contacto lado a lado no mobile */
@media (max-width: 768px) {
  #hero-contacto .contact-hero-actions,
  #hero-contacto .col-lg-6 > div[data-aos-delay="800"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0.6rem !important;
    margin-top: 1.5rem !important;
  }

  #hero-contacto .contact-hero-actions .btn-get-started,
  #hero-contacto .col-lg-6 > div[data-aos-delay="800"] .btn-get-started {
    width: auto !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    padding: 0.8rem 0.9rem !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }
}

@media (max-width: 480px) {
  #hero-contacto .contact-hero-actions,
  #hero-contacto .col-lg-6 > div[data-aos-delay="800"] {
    gap: 0.45rem !important;
  }

  #hero-contacto .contact-hero-actions .btn-get-started,
  #hero-contacto .col-lg-6 > div[data-aos-delay="800"] .btn-get-started {
    min-height: 48px !important;
    padding: 0.65rem 0.55rem !important;
    font-size: 0.78rem !important;
    border-radius: 18px !important;
  }

  #hero-contacto .contact-hero-actions .btn-get-started i,
  #hero-contacto .col-lg-6 > div[data-aos-delay="800"] .btn-get-started i {
    font-size: 0.9rem !important;
    margin-right: 0.15rem !important;
  }
}

/* Alinha o tamanho do logo do header mobile das paginas internas com o index */
#header .logo {
  display: flex !important;
  align-items: center;
  flex-shrink: 0;
  min-width: 120px !important;
  z-index: 5;
}

#header .logo img {
  height: 56px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 991px) {
  #header .logo {
    min-width: 100px !important;
    margin-right: auto !important;
  }

  #header .logo img {
    height: 52px !important;
  }
}

@media (max-width: 768px) {
  #header .logo {
    min-width: 90px !important;
  }

  #header .logo img {
    height: 46px !important;
  }
}

@media (max-width: 480px) {
  #header .logo {
    min-width: 80px !important;
  }

  #header .logo img {
    height: 42px !important;
  }
}
