/*
Theme Name: Seu Tema (importado do HTML)
Description: Base CSS consolidada (header/footer/componentes) + CSS por página.
Version: 1.0
*/

/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Mukta', sans-serif;
    background-color: #F1EDDE;
    color: #221d1d;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* === Utilitários Genéricos === */
.px-30 { padding-left: 30px; padding-right: 30px; }
.pt-300 { padding-top: 300px; }
.pb-60 { padding-bottom: 60px; }
.pt-150 { padding-top: 150px; }
.p-60-20 { padding: 60px 20px; }
.p-100-30 { padding: 100px 30px; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.container-max { max-width: 1200px; margin: 0 auto; }
.container-trabalhos {max-width: 1620px; margin: 0 auto;}
/* .container-max.posts-grid {max-width: 1620px; margin: 0 auto;} */

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

.text-white { color: #fff; }
.text-primary { color: #ff2d45; }
.text-secondary { color: #700831; }
.text-light { color: #ffffffcc; }
.text-bold { font-weight: bold; }
.text-500 { font-weight: 500; }

.fs-15 { font-size: 15px; }

.gap-40 { gap: 40px; }
.gap-60 { gap: 60px; }
.gap-30 { gap: 30px; }
.gap-25 { gap: 25px; }
.col-gap-180 { column-gap: 180px; }
.row-gap-40 { row-gap: 40px; }

.list-none { list-style: none; }
.ml-60 { margin-left: 60px; }

.bg-light {
    background-color: #F1EDDE;
}
.bg-dark { background-color: #6f1a3b; }

.img-full { width: 100%; height: auto; object-fit: contain; display: block; }
.img-cover { object-fit: cover; }
.img-radius { border-radius: 4px; }
.aspect-square { aspect-ratio: 1 / 1; }

.shadow { box-shadow: 0 0 16px rgba(0, 0, 0, 0.35); }
.fixed-top { position: fixed; top: 0; width: 100%; z-index: 1000; }

.title-xl {
  font-family: 'Roboto Serif', serif;
  font-size: 70px;
  font-weight: 700;
  color: #6f1a3b;
}

.title-lg {
  font-family: 'Roboto Serif', serif;
  font-size: 54px;
  font-weight: 700;
  color: #6f1a3b;
}

.subtitle {
  color: #ff2d45;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 8px 0;
  letter-spacing: 7.3px;
  padding-top: 25px;
}

/* === Botões === */
.btn {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #ff2d45;
  color: #F1EDDE;
  border: 2px solid transparent;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
    background-color: #F1EDDE;
    color: #ff2d45;
    border: 2px solid #ff2d45;
}

.btn-outline {
  border: 2px solid #ff2d45;
  color: #ff2d45;
}


/* === Variáveis do Tema === */
:root {
  --header-h: 88px;                     /* altura aproximada do header */
  --page-pad: 24px;                     /* padding lateral da página */
  --panel-max: 1220px;                  /* largura máx. do painel */
  --panel-bg: #f2ead9;                  /* painel (um pouco + escuro p/ destacar) */
  --panel-border: #eadfc7;              /* borda sutil */
  --panel-radius: 12px;
  --shadow: 0 10px 35px rgba(0,0,0,.06);
  --brand-red: #e4163a;
}


/* === Botões === */
.btn {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #ff2d45;
  color: #F1EDDE;
  border: 2px solid transparent;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
    background-color: #F1EDDE;
    color: #ff2d45;
    border: 2px solid #ff2d45;
}

.btn-outline {
  border: 2px solid #ff2d45;
  color: #ff2d45;
}

.btn-outline:hover {
  background-color: #ff2d45;
  color: #fff;
}

.btn-secondary {
  background-color: #9ee3e0;
  color: #6f1a3b;
  font-weight: 500;
  padding: 8px 20px;
  font-size: 15px;
}

.btn-secondary:hover {
  background-color: #6f1a3b;
  color:#9ee3e0 ;
  border:2px solid #9ee3e0 ;
}

/* === Header / Navegação === */
.site-header {
  height: 100px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 80px;
  height: 100px;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #ff2d45;
  cursor: pointer;
  gap: 0;
}

.menu-toggle .icon {
  transition: transform 0.2s ease;
  font-size: 2.2rem;
  line-height: 1;
}

.logo {
    max-width: 19vh;
}

.logo img {
    height: auto;
    max-height: 60px;
    width: auto;
    max-width: 210px;
    display: block;
}

.nav-menu.open {
    /* Se o seu header for "position: relative", isso abre logo abaixo dele */
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;

    width: 100%;
    background: #f3efe4; /* <- ajuste para o fundo do seu site */
    z-index: 9999;
  }

.nav-menu .menu-list {
  display: flex;
  }

/* === Footer === */
.footer {
  background-color: #F1EDDE;
  padding: 60px 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #5a0029;
  margin: 50px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
}

.footer-col {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-logo {
    height: auto;
    width: 40%;
    margin-bottom: 15px;
}

.footer-social a {
    margin-right: 12px;
    font-size: 25px;
    color: #5a0029;
    text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  border-top: 1px solid #ddd;
  padding-top: 15px;
  color: #5a0029;
}

/* === Responsivo === */
@media (max-width: 768px) {
  .footer-container {
    gap: 30px;
  }
}

@media (max-width: 768px) {
     .header-container {
        gap: 10px;
        padding: 10px;
        display: flex;
        justify-content: center;
    }

    .logo {
    max-width: 19vh;
}

      .logo img {
        /* max-height: 39px; */
        height: auto;
        width: 90%;
    }

   .menu-toggle {
        display: flex;
    }

 .btn {
        padding: 5px 41px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        font-size: 12px;
    }

      .menu-list {
        width: 130vw;
        background: #f2ecda;
        display: none;
        flex-direction: column;
        margin-left: 1px;
        gap: 10px;
    }

  .nav-menu .menu-list {
    display: none;
  }

  /* Aberto: transforma em lista vertical, full width, sem “ml-60” e sem “gap-40” */
  .nav-menu.open {
    /* Se o seu header for "position: relative", isso abre logo abaixo dele */
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;

    width: 100%;
    background: #f3efe4; /* <- ajuste para o fundo do seu site */
    z-index: 9999;
  }

  .nav-menu.open .menu-list {
    display: flex;
    flex-direction: column;

    /* mata os estilos do desktop (ml-60 / gap-40) */
    gap: 0 !important;
    margin: 0 !important;
    padding: 0;
    width: 100%;
    list-style: none;
  }

  .nav-menu.open .menu-list li {
    width: 100%;
    border-top: 1px solid #ff2d45;
  }

  .nav-menu.open .menu-list li:first-child {
    border-top: none;
  }

  .nav-menu.open .menu-list a {
    display: block;
    width: 100%;
    padding: 18px 20px; /* <- espaçamento como no seu print “correto” */
    font-size: 16px;
    color: #ff2d45;
    font-weight: 500;
    text-decoration: none;
  }

  /* Remove sublinhado/efeito do menu no mobile */
  .nav-menu.open a::after {
    display: none !important;
  }

  /* (Opcional) deixa o botão do menu acima do dropdown */
  .menu-toggle {
    position: relative;
    z-index: 10000;
  }
}

@media (max-width:320px){
      .logo {
        max-width: 14vh;
    }
       .btn {
        padding: 5px 25px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        font-size: 12px;
    }
}

@media (max-width: 425px) {
              .logo {
        max-width: 14vh;
    }
}

@media (max-width: 768px) {
  .home-text {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .title-xl {
    font-size: 35px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    color: #6f1a3b !important;
    margin-bottom: 30px !important;
    margin-top: 20px;
  }

  .home-content p.subtitle {
    color: #ff2d45;
    font-size: 12px;
    letter-spacing: 8px;
    line-height: 2.8;
    text-align: center;
    margin-bottom: 25px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px){
  .servicos-esquerda h2{
    font-size: 27px;
    text-align: center;
    line-height: 27px;
  }
  .servicos-esquerda .label{
    text-align: center;
    font-size: 13px;
  }
  .servicos-esquerda p{
    text-align: center;
    font-size: 13px;
  }
  .btn-secondary{
    display: block;
    margin: 0 auto;
    width: fit-content;

  }
}

@media (max-width: 768px) {
  .title-lg {
  text-align: center;
  font-size: 30px ;
  margin-top: 0;
  padding-top: 0;
  }

  .quem-somos-texto p {
    text-align: center;
    font-size: 16px;
  }

  .btn-outline {
    display: block;
    margin: 0 auto;
    width: fit-content;
  }
  
}

@media (max-width: 768px) {
  .gif-mobile {
    display: block;    
    width: 100%;
    max-width: 650px;
    height: 400px;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    object-fit: cover;
    transition: transform 0.8s ease;
    padding-top: 70px;       /* mostra no mobile */
  }

  .quem-somos-img img{
    display: none;
  }
}

@media(max-width:768px) {
  .img-full{
   margin-bottom: 10px;
    
  }

  .p-60-20{
    padding: 0px 0px;
  }
}

@media(max-width:768px){

  .quem-somos{
    padding-bottom: 40px;
  }

  .pt-150{
    padding-top: 20px;
  }
}

@media(max-width: 768px) {
  .trabalhos-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    flex-direction: column;
    padding: 0px 10px 10px;
}

.trabalho img {
    height: 450px; /* ou 300px, ajuste conforme quiser */
    object-fit: cover; /* mantém o crop proporcional */
  }
}

@media(max-width: 768px){
  .sessao-contato{
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  }

  .subtitulo{
    font-size: 11px;
    padding-bottom: 20px;
    font-weight: bold;
  }

  .sessao-contato-titulo{
    font-size: 28px ;
  }

  .linha-vermelha {
    width: 100%;
  }
}

@media (max-width: 768px){
  .footer-logo{
    
  }
}

@media (max-width: 768px) {
  .footer-container {
    gap: 30px;
  }
  .linha-footer{
    margin-top: 5rem;
  }
}

@media (max-width: 980px) {
  .list-content-2__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-list-2 {
    grid-template-columns: 1fr; /* 1 coluna no mobile */
    gap: 28px;
  }

  .service-card-2__text {
    max-width: none;
  }
}

@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .banner-servicos__wrapper { min-height: 420px; }
  }

@media (max-width: 768px) {
     .header-container {
        gap: 10px;
        padding: 10px;
        display: flex;
        justify-content: center;
    }

    button#menu-toggle {
    display: flex;
}

    .logo {
    max-width: 19vh;
}

      .logo img {
        /* max-height: 39px; */
        height: auto;
        width: 90%;
    }

   .menu-toggle {
        display: flex;
    }

  .menu-toggle .icon {
        transition: transform 0.2s ease;
        font-size: 2.2rem;
        line-height: 1;
    }

    .btn {
        padding: 5px 25px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        font-size: 12px;
    }

      .menu-list {
        width: 130vw;
        background: #f2ecda;
        display: none;
        flex-direction: column;
        margin-left: 1px;
        gap: 10px;
    }

  .nav-menu .menu-list {
    display: none;
  }

  /* Aberto: transforma em lista vertical, full width, sem “ml-60” e sem “gap-40” */
          .nav-menu.open {
        position: absolute;
        /* left: 100px; */
        /* right: 2px; */
        top: 9%;
        width: 100%;
        background: #f3efe4;
        z-index: auto;
    }

  .nav-menu.open .menu-list {
    display: flex;
    flex-direction: column;

    /* mata os estilos do desktop (ml-60 / gap-40) */
    gap: 0 !important;
    margin: 0 !important;
    padding: 0;
    width: 100%;
    list-style: none;
  }

  .nav-menu.open .menu-list li {
    width: 100%;
    border-top: 1px solid #ff2d45;
  }

  .nav-menu.open .menu-list li:first-child {
    border-top: none;
  }

  .nav-menu.open .menu-list a {
    display: block;
    width: 100%;
    padding: 18px 20px; /* <- espaçamento como no seu print “correto” */
    font-size: 16px;
    color: #ff2d45;
    font-weight: 500;
    text-decoration: none;
  }

  /* Remove sublinhado/efeito do menu no mobile */
  .nav-menu.open a::after {
    display: none !important;
  }

  /* (Opcional) deixa o botão do menu acima do dropdown */
  .menu-toggle {
    font-size: 2rem;
    background: none;
    border: none;
    color: #ff2d45;
    cursor: pointer;
    gap: 0;
}
}

@media (max-width:320px){
      .logo {
        max-width: 12vh;
    }
          .btn {
        padding: 5px 18px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        font-size: 12px;
    }
}

@media (max-width: 425px) {
              .logo {
        max-width: 12vh;
    }

}

@media (max-width: 640px) {
  .header-container { padding: 12px var(--page-pad); }
  .banner-hero { width: min(780px, 94%); }
  .linha-vermelha--servicos { margin-top: 18px; }
}

@media (max-width: 425px) {
         .contact-banner {
        display: flex;
        margin-top: 5rem;
        padding-left: 0rem;
        justify-content: flex-start;
    }
    .contact-banner img {
        height: auto;
        width: 99%;
    }
    .contato {
        padding-left: 0rem;
        max-width: 1200px;
        padding-top: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
.container {
    padding: 15px;
}
}

/* Link ativo no menu (JS adiciona .active) */
.nav-menu .menu-list a.active::after {
  width: 100%;
}

/* Compatibilidade WP: quando .active estiver no <li> */
.nav-menu .menu-list li.active > a::after {
  width: 100%;
}

@media (max-width:984px){
  .nav-menu .menu-list {
    gap:25px;
  }

  .logos-partners img {
    height: auto;
    width: 100%;
}

.container-partners {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
}

.mention img {
    height: auto;
    width: 100%;
}
  
}
