/* ======================= */
/* RESET BÁSICO            */
/* ======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* ======================= */
/* FADE-IN                 */
/* ======================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================= */
/* HEADER / NAVBAR         */
/* ======================= */
header {
    background-color: #2b4544;
    padding: 10px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 130px;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    font-size: 17.5px;
    transition: all 0.3s ease;
}

.navbar .nav-links li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.navbar .nav-links li a.active,
.navbar .nav-links li a:hover {
    color: #00cc99;
}

.navbar .nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #00cc99;
    transition: width 0.3s ease;
}

.navbar .nav-links li a:hover::after,
.navbar .nav-links li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ======================= */
/* BOTÕES PADRONIZADOS      */
/* ======================= */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    color: #fff;
    background-color: #00cc99;
}

.btn:hover {
    background-color: #009973;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #009973;
}

.btn-primary:hover {
    background-color: #017d5e;
    transform: translateY(-3px);
}

/* ======================= */
/* SECTIONS / CONTAINERS   */
/* ======================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Barra de progresso de scroll */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background-color: #00cc99;
  width: 0%;
  z-index: 2000;
  transition: width 0.1s ease-out;
}

/* ======================= */
/* HERO / SERVIÇOS         */
/* ======================= */
.hero-servicos {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/reunião.jpg') center/cover no-repeat;
  color: #fff;
  padding: 120px 20px;
  text-align: center;
}

.hero-servicos h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #15b78f;
}

.hero-servicos p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #fff;
}

/* ======================= */
/* SERVIÇOS SECTION        */
/* ======================= */
.servicos-section {
  padding: 80px 20px;
  background-color: #f5f5f5;
  text-align: center;
  overflow: visible; /* permite que elementos saiam do carrossel */
  position: relative; /* para posicionar as setas corretamente */
  
}

.servicos-section h2 {
  font-size: 2.2rem;
  color: #15b78f;
  margin-bottom: 10px;
}

.servicos-section p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #555;
}
/* ======================= */
/* CARROSSEL SERVIÇOS COM SWIPER */
/* ======================= */
.servicos-swiper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0; /* removido padding lateral, setas estão fora */
  box-sizing: border-box;
  position: relative; /* importante para paginação */
  cursor: grab;
}

/* Wrapper */
.servicos-swiper .swiper-wrapper {
  display: flex;
  gap: 20px; /* espaço entre cards */
}

/* --- CARDS --- */
.servicos-swiper .swiper-slide {
  background-color: #fff;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 290px; /* Esta largura é para o desktop com slidesPerView: 3 */
  height: 370px;
  flex-shrink: 0;
  overflow: hidden;
}

.servicos-swiper .swiper-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.servicos-swiper .swiper-slide img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.servicos-swiper .swiper-slide h3 {
  color: #15b78f;
  margin-bottom: 10px;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.3;
}

.servicos-swiper .swiper-slide p {
  font-size: 0.95rem;
  color: #555;
  text-align: justify;
  hyphens: auto;
  line-height: 1.5;
  flex-grow: 1;
}

/* ======================= */
/* SETAS DO SWIPER FORA DOS CARDS */
/* ======================= */
.swiper-button-prev,
.swiper-button-next {
  position: absolute; 
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fff;
  color: #00cc99;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  cursor: pointer;
}

/* Posicionamento fora do carrossel */
.swiper-button-prev {
  left: -80px; /* aumenta o afastamento */
}

.swiper-button-next {
  right: -80px;
}

/* Hover */
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: #00cc99;
  color: #fff;
}

/* ======================= */
/* PAGINAÇÃO */
.swiper-pagination {
    position: relative; /* Ou absolute, dependendo do seu layout */
    bottom: 0 !important; /* Move para a parte inferior do carrossel */
    padding-top: 15px; /* Adiciona um espaço acima das bolinhas */
    margin-top: 10px;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #00cc99; /* Use a cor de destaque do seu tema (Ex: um verde/ciano) */
}


/* ======================= */
/* CONTAINER PAI VISÍVEL PARA SETAS */
.servicos-section {
  overflow: visible; /* garante que setas fora do carrossel apareçam */
  position: relative;
}

/* Padding extra no wrapper para corrigir o corte do último slide */
.swiper-wrapper {
    padding-inline-end: 20px !important; /* Adiciona padding no final (lado direito/end) */
}


/* ======================= */
/* UCONDO - DIFERENCIAL    */
/* ======================= */
.ucondo-section {
  background-color: #2b4544;
  padding: 80px 20px;
  text-align: center;
}

.ucondo-section .section-title {
  font-size: 2.4rem;
  color: #15b78f;
  margin-bottom: 15px;
  font-weight: 700;
}

.ucondo-section .section-description {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto 50px auto;
  color: #fff;
  text-align: justify;
  text-align-last: left;

  word-spacing: normal;
  text-justify: inter-word;
  line-height: 1.6;
}

.highlight-ucondo{
    color: #b6a7f7;
}

.ucondo-cards {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
}

.ucondo-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  max-width: 320px;
  flex: 1 1 280px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ucondo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.ucondo-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.ucondo-card h3 {
  font-size: 1.25rem;
  color: #8677c7;
  margin-bottom: 10px;
  text-align: center;
}

.ucondo-card.assistente p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.ucondo-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  hyphens: auto;
  word-spacing: normal;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

/* ======================= */
/* EMPRESAS PARCEIRAS       */
/* ======================= */
.parceiras-section {
  background-color: #f5f5f5;
  padding: 80px 20px;
  text-align: center;
}

.parceiras-section .section-title {
  font-size: 2.4rem;
  color: #15b78f;
  margin-bottom: 15px;
  font-weight: 700;
}

.parceiras-section .section-description {
  font-size: 1.3rem;
  max-width: 750px;
  margin: 0 auto 50px auto;
  color: #555;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  word-spacing: normal;
  text-justify: inter-word;
  line-height: 1.6;
}

.parceiras-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 40px; /* Mantém o espaçamento horizontal (entre logos) */
  row-gap: 10px;    /* Reduz o espaçamento vertical (entre linhas) */
}

.parceira-logo {
  flex: 0 1 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  transition: transform 0.3s ease;
}

.parceira-logo img {
  max-width: 100%;
  max-height: 130px;
  object-fit: contain;
}

.parceira-logo:hover {
 transform: scale(1.08); /* leve destaque no hover */
}

/* ======================= */
/* Ajuste Específico para a logo Condomínio Colinas */
/* ======================= */

.logo-colinas img {
    max-height: 240px; 
}

.logo-colinas {
     flex: 0 1 400px; 
}

/* ======================= */
/* CALL TO ACTION           */
/* ======================= */
.cta-section {
  background-color: #cefae9;
  padding: 80px 20px;
  text-align: center;
  color: #0d775c;
  margin-top: -100px;
}

.cta-section .cta-title {
    text-align: justify;
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    hyphens: auto;
}

.cta-section .cta-description {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto 35px auto;
  line-height: 1.7;
  text-align: justify;
  text-align-last: left;
  word-spacing: normal;
  text-justify: inter-word;
}

/* ======================= */
/* FOOTER                  */
/* ======================= */
.footer-section {
    background-color: #2b4544;
    color: #fff;
    padding: 60px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    align-items: start;
    padding-bottom: 30px;
}

.footer-logo-img {
    width: 200px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.footer-logo p {
    color: #eee;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    margin-bottom: 12px;
    color: #00cc99;
    font-weight: 600;
}

.footer-contact h3{
    margin-bottom: 0px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: #00cc99;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-contact .contact-item {
    display: flex;
    flex-direction: column;
}

.footer-contact .label {
    font-weight: 600;
    color: #00cc99;
    margin-bottom: 3px;
}

.footer-contact .info {
    color: #eee;
    line-height: 1.3;
    word-break: break-word;
    text-align: justify;
}

.footer-social a {
    margin-right: 12px;
    display: inline-block;
}

.footer-social .icon {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
}

.footer-social .icon:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    color: #eee;
    padding-bottom: 30px;
    font-size: 0.85rem;
}

/* ======================= */
/* BOTÃO VOLTAR AO TOPO     */
/* ======================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #00cc99;
    color: #fff;
    border: none;
    padding: 10px 14px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: transform 0.3s, background 0.3s;
}

.back-to-top:hover {
    transform: translateY(-2px);
    background-color: #009973;
}

/* ======================= */
/* ACESSIBILIDADE LINKS    */
/* ======================= */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #00cc99;
    outline-offset: 3px;
}

/* ======================= */
/* RESPONSIVIDADE COMPLETA */
/* ======================= */

/* ===== Desktop médio ===== */
@media (max-width: 1200px) {
  .container { padding: 0 15px; }

  .servicos-swiper .swiper-slide { width: 220px; }
}

/* ===== Tablets grandes ===== */
@media (max-width: 992px) {
  .hero-servicos { padding: 90px 20px; }
  .hero-servicos h1 { font-size: 2.2rem; line-height: 1.2; }
  .hero-servicos p { font-size: 1.05rem; line-height: 1.4; }

  .servicos-section { padding: 60px 20px; }
  .servicos-section h2 { font-size: 2rem; }
  .servicos-section p { font-size: 1.15rem; }

  .ucondo-section { padding: 60px 20px; }
  .ucondo-section .section-title { font-size: 2rem; }
  .ucondo-section .section-description { font-size: 1.1rem; }

  .parceiras-section { padding: 60px 20px; }
  .parceiras-section .section-title { font-size: 2rem; }
  .parceiras-section .section-description { font-size: 1.15rem; }

  .cta-section { padding: 60px 20px; }
  .cta-section .cta-title { font-size: 2rem; }
  .cta-section .cta-description { font-size: 1.05rem; }

  .servicos-swiper .swiper-slide {
    width: auto;
    max-width: none;
    margin: 0;
  }
  .servicos-swiper .swiper-wrapper {
    gap: 15px;
  }
}

/* ===== Tablets pequenos ===== */
@media (max-width: 768px) {
  .navbar .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; padding: 1.4rem 1rem; gap: 1rem; background-color: #2b4544; box-shadow: 0 8px 24px rgba(0,0,0,0.18); backdrop-filter: blur(4px); }
  .navbar .nav-links.show { display: flex; }
  .menu-toggle { display: flex; cursor: pointer; }

  .hero-servicos { padding: 70px 15px; }
  .hero-servicos h1 { font-size: 1.8rem; }
  .hero-servicos p { font-size: 1rem; }

  .servicos-section { padding: 50px 15px; }
  .servicos-section h2 { font-size: 1.8rem; }
  .servicos-section p { font-size: 1rem; }

  .ucondo-section { padding: 50px 15px; }
  .ucondo-section .section-title { font-size: 1.8rem; }
  .ucondo-section .section-description { font-size: 1rem; }

  .parceiras-section { padding: 50px 15px; }
  .parceiras-section .section-title { font-size: 1.8rem; }
  .parceiras-section .section-description { font-size: 1rem; }
  .parceiras-logos {
        row-gap: 20px; 
        column-gap: 30px; 
    }

  .cta-section { padding: 50px 15px; }
  .cta-section .cta-title { font-size: 1.8rem; }
  .cta-section .cta-description { font-size: 1rem; }

  .btn { padding: 10px 20px; font-size: 1rem; }

    .servicos-swiper {
      padding: 40px 20px; /* Adiciona padding lateral para o carrossel, para ele não colar nas bordas da tela */
    }

  .servicos-swiper .swiper-slide {
    width: auto;
    max-width: none;
    margin: 0;
  }
  .servicos-swiper .swiper-wrapper {
    gap: 0;
  }
}

/* ===== Mobile ===== */
@media (max-width: 480px) {
  .hero-servicos { padding: 60px 12px; }
  .hero-servicos h1 { font-size: 1.5rem; }
  .hero-servicos p { font-size: 0.95rem; }

  .servicos-section { padding: 40px 12px; }
  .servicos-section h2 { font-size: 1.5rem; }
  .servicos-section p { font-size: 0.95rem; }

  .ucondo-section { padding: 40px 12px; }
  .ucondo-section .section-title { font-size: 1.5rem; }
  .ucondo-section .section-description { font-size: 0.95rem; }

  .parceiras-section { padding: 40px 12px; }
  .parceiras-section .section-title { font-size: 1.5rem; }
  .parceiras-section .section-description { font-size: 0.95rem; }
.parceiras-logos {
        row-gap: 0px; 
        column-gap: 15px; 
    }
    
    /* AÇÃO 1: Remover o padding interno que empurra as logos */
    .parceira-logo {
        flex: 0 1 45%; 
        padding: 0; /* Zera o padding que estava em 10px no padrão */
    }

    /* AÇÃO 2: A logo Colinas deve ter um margin-top ainda menor ou zero */
    .logo-colinas {
        flex: 0 1 100%; 
        margin-top: 0px; /* Garante que não há margem extra */
        justify-content: center; 
    }
    
    .logo-colinas img {
        max-height: 500px; /* Mantém o tamanho grande */
    }

    /* 4. Zerar o PADDING-TOP da próxima seção */
    .cta-section { 
        /* Altera para zerar o padding superior, se for ele quem está empurrando */
        padding-top: 20px; /* Deixe um mínimo, mas se for o caso, tente 0px */
        padding-bottom: 40px; 
        padding-left: 12px;
        padding-right: 12px;
    }


  .cta-section .cta-title { font-size: 1.4rem; line-height: 1.2; }
  .cta-section .cta-description { font-size: 0.95rem; }

  .btn { padding: 8px 18px; font-size: 0.95rem; }

  .servicos-swiper .swiper-slide {
    width: auto;
    max-width: none;
    margin: 0;
  }
  .servicos-swiper .swiper-wrapper {
    gap: 12px;
  }
}

/* ===== Mobile menor ===== */
@media (max-width: 360px) {
  .hero-servicos { padding: 50px 10px; }
  .hero-servicos h1 { font-size: 1.3rem; }
  .hero-servicos p { font-size: 0.85rem; }

  .servicos-section h2 { font-size: 1.3rem; }
  .servicos-section p { font-size: 0.85rem; }

  .ucondo-section .section-title { font-size: 1.3rem; }
  .ucondo-section .section-description { font-size: 0.85rem; }

  .parceiras-section .section-title { font-size: 1.3rem; }
  .parceiras-section .section-description { font-size: 0.85rem; }

  .cta-section .cta-title { font-size: 1.3rem; }
  .cta-section .cta-description { font-size: 0.85rem; }

  .btn { padding: 6px 14px; font-size: 0.85rem; }

    .servicos-swiper {
      padding: 40px 15px; /* Ajusta o padding lateral para telas ainda menores */
    }

  .servicos-swiper .swiper-slide {
    width: auto;
    max-width: none;
    margin: 0;
  }
  .servicos-swiper .swiper-wrapper {
    gap: 10px;
  }
}
