/* Importando as fontes do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Roboto:wght@400;500&display=swap');

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Estilos base */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #181818;
    line-height: 1.6;
    transition: .5s ease-in-out;
}

a::target {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, 
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Lato', sans-serif;
    margin-bottom: 1rem;
}

/* Botões CTA */
.cta-button {
  color: #ffffff;
  padding: 1rem 1.5rem;
  min-width: 290px;
  text-align: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s ease;
  background: #19524B;
  background: linear-gradient(90deg,rgba(25, 82, 75, 1) 0%, rgba(77, 122, 116, 1) 50%);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: fit-content;
}

.cta-button:hover {
    opacity: 0.9;
}

/* Container padrão */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Header */
header {
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    background: #eee;
    z-index: 1000;
    top: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 35px;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

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

/* Navegação */
header nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

header nav a {
    text-decoration: none;
    color: #181818;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s ease-in-out;
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 10px;
    z-index: 1001;
}

/* Links gerais */
a {
    color: #19524b;
    text-decoration: none;
}

a:hover:not(.cta-button) {
    color: #1d60a6;
}

/* Seções */
section {
    padding: 40px 0;
}


/* Grid de Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-card {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #19524b;
    margin-bottom: 1rem;
}

/* Utilitários */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100vw;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}


.hero-img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute
}

.hero__container {
    width: 100%;
    height: 100%;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 2rem;
    color: #ffffff;
    text-align: left;
    background: none;
}

.hero.opacity-8::before,
 .opacity-8::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: black;
    opacity: 0.7;
    z-index: 2;
}

.hero-content--mb p,
.hero-content--mb .h1 {
  margin: 0 auto;
}


.hero .h1, .hero h1,
.hero-content--mb .h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 600px;
}

.hero-content--mb .h1 {
  font-size: 2rem;
}

.hero p, .hero-content--mb p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
}

/* About Content */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content ul {
    list-style-position: inside;
    margin: 1rem 0;
}

/* Footer */
footer {
  background: linear-gradient(to right, #0b2540, #1d60a6);
  color: #ffffff;
  padding: 40px 0;
}

.small-hide {
  display: block;
}

.large-up-hide {
  display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    header {
        padding: 5px 0
    }
    h2 {
      text-align: center;
    }

    header nav {
        justify-content: flex-start;
    }

  nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero {
        height: 80vh;
        min-height: 400px;
        max-height: none;
    }
    .hero::before {
        background: black;
        opacity: 0.7;
    }
    .hero-img,
    .hero-img-wrapper,
    .hero-content__wrapper {
        width: 100vw;
    }
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero h1,
    .hero p,
    .hero a {
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1.75rem;
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 4rem;
    }

    .hero p b {
        /* font-size: 1.25rem; */
        font-weight: 500;
    }

    .small-hide {
      display: none;
    }

    .large-up-hide {
      display: block;
    }

    .menu-toggle {
        display: block;
    }

    .header-container {
        position: relative;
    }

    nav {
        position: fixed;
        top: 50px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 50px);
        background: #EEE;
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    nav li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }

    .header-cta {
        display: none;
    }

    nav .header-cta {
        display: block;
        margin-top: 2rem;
        width: 100%;
        text-align: center;
    }

    nav .header-cta .cta-button {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .logo {
        height: 30px;
    }

    .hero--servicos.opacity-8::before {
      opacity: 0;
    }
}

/* Removi o breakpoint de 480px daqui para baixo */

/* Seção Por que escolher a JVS */
.why-jvs {
  padding: 60px 0;
  background: #fff;
}
.why-jvs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-jvs-card {
  background: #f7f7f7;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 260px;
}
.why-jvs-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.why-jvs-card h3 {
  font-size: 1.2rem;
  color: #19524b;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.why-jvs-card p {
  font-size: 1rem;
  color: #333;
}
@media (max-width: 900px) {
  .why-jvs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-jvs-grid.valores {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .why-jvs-grid {
    grid-template-columns: 1fr;
  }
  .why-jvs-card {
    min-height: unset;
  }
}

/* Seção Serviços que oferecemos */
.services-offered {
  padding: 6rem 0;
  background: #fff;
}
.services-offered-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2rem;
  width: fit-content;
  margin: 0 auto;
}
.service-offered-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.service-offered-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  text-decoration: none;
  color: inherit;
}
.service-offered-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.service-offered-card span {
  font-size: 1rem;
  font-weight: 700;
  color: #181818;
  text-align: center;
  padding: .75rem 1rem;
}
@media (max-width: 900px) {
  .services-offered-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .service-offered-card img {
    object-fit: contain;
    height: auto;
  }

  .service-offered-card span {
    padding-inline: .5rem;
  }
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 32px;
  align-items: flex-start;
  padding-bottom: 4rem;
}

.footer-col {
  color: #fff;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 auto;
}

.footer-col.infos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-desc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-social-icon {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  vertical-align: middle;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 0.6;
  color: white;
}

.footer-copy {
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  margin-top: 32px;
  opacity: 0.8;
}

.footer-col strong {
  font-weight: 500;
}

.footer-col .footer-whatsapp,
.footer-col .footer-email {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.footer-copy__wvs {
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-copy__wvs a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
  opacity: 1;
}
.footer-copy__wvs a:hover{
  opacity: .8;
  color: #fff;
}

.social-icons__wrapper {
  display: flex;
  gap: 12px;
}

/* Responsivo para mobile */
@media (max-width: 900px) {

  footer {
    padding-block: 0;
    padding-bottom: 0.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-col, .footer-logo-desc, .footer-social {
    align-items: center;
    text-align: center;
  }
  .footer-logo-desc {
    align-items: center;
    padding-block: 4rem;
    gap: 0;
  }
  .footer-social {
    align-items: center;
  }
  
  .footer-container {
    gap: 16px;
    padding: 0 2rem;
    padding-bottom: 2rem;
  }

  .footer-col .footer-whatsapp {
    justify-content: center;
  }

}

/* Página Sobre */
.about-content {
  margin: 0 auto;
}

.valores-section {
  background: #FFF;
  padding: 2.5rem 20px;
}
.valores-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0 auto;
  margin-top: 2.5rem;
}
.valor-card {
  background: #dbeaea;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 4rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 160px;
  border: 2px solid #b2d8d8;
}
.valor-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #181818;
}
.valor-card p {
  font-size: 1rem;
  color: #181818;
}
@media (min-width: 769px) {
  .valores-cards-wrapper {
    flex-direction: row;
    gap: 2rem;
  }
  .valor-card {
    flex: 1;
    min-width: 0;
  }
}

.why-jvs-card.card-valores {
  gap: 2rem;
}

.orcamento-whatsapp {
  background-color: #1E1E1E;
  padding: 60px 0;
}

.orcamento-form-container {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8.5rem;  margin: 0 auto;
}
.orcamento-form-content {
  flex: 1 1 0;
  min-width: 260px;
  max-width: 380px;
}
.orcamento-form-title {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
}
.orcamento-form-desc {
  margin-bottom: 1.5rem;
  color: #ccc;
  text-align: left;
}
.orcamento-form-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #444;
  font-size: 1rem;
  background: #181818;
  color: #fff;
}
.orcamento-form-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg,rgba(25,82,75,1) 0%,rgba(77,122,116,1) 50%);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.3s;
}

.orcamento-form-btn:hover {
  opacity: 0.9;
}
.orcamento-form-btn-icon, .cta-button__icon {
  height: 20px;
}
.orcamento-form-img {
  flex: 1 1 0;
  max-width: 520px;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0;
  object-fit: cover;
}

.footer--contato {
  margin-top:0;
}

@media (max-width: 900px) {
  .orcamento-form-container {
    flex-direction: column-reverse;
    padding: 1.5rem 0.5rem;
    gap: 1.5rem;
    max-width: 98vw;
  }
  .orcamento-form-img {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .orcamento-form-title, .orcamento-form-desc {
    text-align: center;
  }
  .orcamento-form-content {
    max-width: 100%;
  }
}

.servicos-detalhados {
  padding: 60px 0;
  background: #f7f7f7;
}
.servicos-detalhados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}
.servico-detalhado-card {
  background: #e3eceb;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.2s, box-shadow 0.2s;
}
.servico-detalhado-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}
.servico-detalhado-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.servico-detalhado-info {
  padding: 1.5rem 1rem 1.2rem 1rem;
  background: #e3eceb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 180px;
}
.servico-detalhado-icone {
  width: 48px;
  height: 48px;
  background: #19524b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.servico-detalhado-icone img {
  width: 28px;
  height: 28px;
}
.servico-detalhado-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #19524b;
  margin: 0;
}
.servico-detalhado-info p {
  font-size: 0.97rem;
  color: #222;
  margin: 0;
}


/* --- Novo layout dos cards de serviços (servicos.html) --- */
.servicos-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  justify-items: center;
  margin-block: 4rem;
}

.servico-card.novo-layout {
  background: #dbeaea;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 340px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.servico-card-icone.destaque {
  background: #19524b;
  border-radius: 12px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -28px;
  left: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.servico-card-icone.destaque img {
  width: 32px;
  height: 32px;
}

.servico-card.novo-layout h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #19524b;
  font-size: 1.2rem;
  font-weight: 700;
}

.servico-card.novo-layout p {
  color: #222;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .servicos-cards-grid {
      grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .servicos-cards-grid {
      grid-template-columns: 1fr;
  }
  .servico-card.novo-layout {
      max-width: 100%;
  }
}

.servico-card-img-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background: #cfd8d8;
}
.servico-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.servico-card-icone.destaque {
    position: absolute;
    top: 0;
    left: 24px;
    z-index: 2;
    border-radius: 12px;
    width: 65px;
    height: 65px;
    background: #19524b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transform: translateY(-50%);
}

.service-card__content {
  padding: 0 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

/* Contact Hero */

.hero--contact {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 20px;
  height: fit-content;
  min-height: fit-content;
}

.hero--contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (max-width: 900px) {
  .hero--contact {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    min-height: unset;
    height: auto;
    position: relative;
  }
  .hero--contact img:not(.cta-button__icon) {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    object-fit: contain;
    position: static;
  }
  .hero-contact__content {
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  
      
    .service__cta-button, 
    .about__cta-button,
    .home__cta-menu-mobile,
    .contact__cta-menu-mobile {
        margin: 0 auto;
    }
    
}