/* Overrides responsivos globais para todas as telas */

:root {
  --theme--color-01: #003b70;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.container,
.main-container,
.w-container {
  width: min(1200px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .container,
  .main-container,
  .w-container {
    width: calc(100% - 24px);
  }
}

.page-banner {
  padding: clamp(44px, 8vw, 80px) 16px !important;
}

.page-banner h1 {
  font-size: clamp(1.8rem, 5.5vw, 3rem) !important;
  line-height: 1.2;
}

.page-banner p {
  font-size: clamp(0.95rem, 2.6vw, 1.2rem) !important;
  line-height: 1.6;
}

.historia-section,
.sobre-section,
.diretores-section,
.parceiros-section,
.policy-section,
.terms-section {
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(36px, 7vw, 80px) 16px !important;
}

.historia-content p,
.sobre-content p,
.diretor-texto p,
.policy-section p,
.terms-section p,
.policy-section li,
.terms-section li {
  text-align: left !important;
  font-size: clamp(0.95rem, 2.4vw, 1.08rem) !important;
  line-height: 1.75;
}

.policy-section ul,
.terms-section ul {
  margin-left: 16px !important;
}

.contact-block {
  word-break: break-word;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-info {
  min-width: 220px;
  flex: 1;
}

.footer-bottom p {
  line-height: 1.55;
  text-align: center !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

@media (max-width: 768px) {
  .footer-content {
    text-align: center !important;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

.parceiros-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

@media (max-width: 900px) {
  .parceiros-grid {
    grid-template-columns: 1fr !important;
  }

  .parceiro-logo {
    min-height: 150px !important;
    padding: 24px !important;
  }

  .parceiro-info {
    padding: 22px !important;
  }
}

.diretor-card {
  gap: clamp(20px, 4vw, 50px) !important;
}

.diretor-foto {
  flex: 0 0 clamp(220px, 30vw, 300px) !important;
}

@media (max-width: 968px) {
  .diretor-card,
  .diretor-card:nth-child(even) {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .diretor-foto {
    flex: 0 0 auto !important;
    max-width: 380px !important;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .diretor-card {
    margin-bottom: 48px !important;
  }

  .diretor-nome {
    font-size: clamp(1.3rem, 5vw, 1.7rem) !important;
  }
}

.hero {
  padding: 0 !important;
}

.hero-banner-wrapper {
  height: clamp(220px, 56vw, 720px) !important;
  min-height: 220px !important;
  max-height: 720px !important;
}

.hero-banner-wrapper img {
  display: block !important;
}

.hero-mobile-placeholder {
  display: none !important;
}

@media (max-width: 768px) {
  .hero-banner-wrapper {
    height: clamp(200px, 60vw, 420px) !important;
    min-height: 200px !important;
    max-height: 420px !important;
  }
}

.servicos-carousel-container {
  padding: 0 clamp(12px, 4vw, 40px) !important;
  margin: clamp(30px, 6vw, 60px) auto !important;
}

.swiper-button-prev,
.swiper-button-next {
  width: clamp(36px, 6vw, 56px) !important;
  height: clamp(36px, 6vw, 56px) !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: clamp(16px, 2.4vw, 20px) !important;
}

.pilares-section {
  padding: clamp(44px, 8vw, 80px) 16px !important;
}

.pilares-container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1024px) {
  .pilares-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .pilares-container {
    grid-template-columns: 1fr !important;
  }

  .pilar-header,
  .pilar-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 480px) {
  .menu-wrapper {
    top: 68px !important;
  }

  .nav-wrapper {
    padding: 10px 12px !important;
  }

  .site-logo {
    max-height: 44px !important;
  }
}

/* Home - seção Sobre */
#sobre.why-choose {
  background-color: #efefef;
  padding: clamp(44px, 7vw, 88px) 0 !important;
}

#sobre .why-choose-content-wrapper {
  display: grid !important;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 585px);
  gap: clamp(24px, 4vw, 64px) !important;
  align-items: center;
  padding-left: clamp(8px, 2vw, 24px) !important;
  padding-right: clamp(8px, 2vw, 24px) !important;
}

#sobre .why-choose-left {
  max-width: 620px;
  gap: 28px !important;
}

#sobre .title {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#sobre .heading-h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.1;
}

#sobre .subtitle {
  margin: 0;
  opacity: 1;
  color: #666563;
  max-width: 540px;
  font-size: clamp(1rem, 1.45vw, 1.95rem);
  line-height: 1.45;
}

#sobre .service-details-content {
  max-width: 640px;
}

#sobre .service-details-content p {
  margin: 0 0 8px;
  color: #1f1f1f;
  line-height: 1.55;
}

#sobre .secondary-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background-color: #003b70 !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 12px 24px !important;
}

#sobre .secondary-button p {
  margin: 0;
  color: inherit;
}

#sobre .secondary-button:hover {
  background-color: #e74c3c !important;
}

#sobre .why-choose-image {
  display: block;
  width: 100%;
  max-width: 585px;
  aspect-ratio: 585 / 425;
  object-fit: cover;
  border-radius: 28px;
}

@media (max-width: 900px) {
  #sobre .why-choose-content-wrapper {
    grid-template-columns: 1fr;
    gap: 28px !important;
  }

  #sobre .why-choose-image {
    max-width: 100%;
  }

  #sobre .why-choose-left {
    max-width: 100%;
  }
}
