/*
Theme Name: Xconsultoria
Theme URI: http://x-conconsultoria.com.br
Author: Gabriel Figueiredo
Author URI: http:www.linkedin.com/gabestack
Description: Tema para empresa X-Con Consultoria
Version: 1.0
*/

/* ============================== */
/* Global Styles */
/* ============================== */

body {
  background-color: #F9F9F9;
}

.shadow {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cardd {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1rem;
}

/* ============================== */
/* Navbar */
/* ============================== */
    /* Garante que a navbar esteja sempre fixa e bem posicionada */
    .navbar {
      background-color: #fff;
      border-bottom: 1px solid #ddd;
      padding: 10px 20px;
      position: fixed;
      width: 100%;
      z-index: 999;
    }
    
    .navbar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    
    .navbar-logo img {
      max-width: 120px;
      height: auto;
    }
    
    .navbar-toggle {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 40px;
      height: 25px;
      background: none;
      border: none;
      cursor: pointer;
    }
    
    .navbar-toggle .bar {
      height: 4px;
      width: 100%;
      background-color: #0077cc;
      transition: 0.3s;
    }
    
    .navbar-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%; /* abaixo da navbar */
      left: 0;
      width: 100%;
      background-color: #fff;
      border-top: 1px solid #ddd;
      padding: 1rem 1.5rem;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    }
    
    .navbar-menu.active {
      display: flex;
    }
    
    .navbar-links {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .navbar-links ul {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      padding: 0;
      margin: 0;
      list-style-type: none;
    }

    .navbar-links li a {
      color: #333;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.2s ease-in-out;
    }
    
    .navbar-links li a:hover {
      color: #0077cc;
    }

    .current_page_item > a{
      color: #C89B5D !important;
    }
    
/* ============================== */
/* Hero Section */
/* ============================== */

.hero {
  position: relative;
  padding: 40px 20px;
  margin-top: 50px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  min-height: 100vh;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.404);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 10px;
  max-width: 100%;
}

.hero-content .highlight {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-content h1 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: #fff;
}


/* ============================== */
/* Buttons */
/* ============================== */

.btn-custom {
  background-color: #C89B5D;
  color: #ffffff;
  border: 2px solid #C89B5D;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.btn-custom:hover {
  background-color: #0E6A97;
  border-color: #0E6A97;
}

/* ============================== */
/* Info Boxes */
/* ============================== */

.info-boxes {
  display: none;
  position: relative;
  margin-top: -50px;
  z-index: 2;
}

.info-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
  color: #C89B5D;
  font-size: 20px;
  margin-bottom: 10px;
}

.info-box p {
  color: #333;
  font-size: 16px;
}

/* ============================== */
/* Services Section */
/* ============================== */

.nossos-servicos .row {
  display: flex;
  align-items: stretch;
}

.service-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 250px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.service-item:hover {
  transform: translateY(-10px);
}

/* ============================== */
/* Diferenciais Section */
/* ============================== */

.diferencial {
  padding: 10px 20px;
  background-color: #f8f9fa;
}

.diferencial-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.diferencial-text h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.diferencial-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease-in-out;
}

.diferencial-item:hover {
  transform: translateY(-5px);
}

.diferencial-icons {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.diferencial-item h5 {
  font-weight: bold;
  margin: 0 0 0.5rem 0;
}

.diferencial-item p {
  color: #666;
  margin: 0;
}

.diferencial-image img {
  display: none;
  width: 100%;
  max-width: 650px; /* Limita a largura máxima da imagem */
  border-radius: 10px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================== */
/* Aréa de Atuação Section */
/* ============================== */

.areas-atuacao {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.areas-atuacao .title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.areas-atuacao .subtitle {
  color: #6c757d;
  margin-bottom: 2rem;
  text-align: center;
}

.areas-atuacao .carousel {
  position: relative;
}

.areas-atuacao .carousel-inner {
  position: relative;
  overflow: hidden;
}

.areas-atuacao .carousel-slide {
  display: none;
}

.areas-atuacao .carousel-slide.active {
  display: block;
}

.areas-atuacao .card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.areas-atuacao .card {
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.areas-atuacao .card img {
  width: 100%;
  height: auto;
}

.areas-atuacao .card-body {
  padding: 1rem;
}

.areas-atuacao .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00000055;
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
}

.areas-atuacao .carousel-btn.prev {
  left: 0.5rem;
}

.areas-atuacao .carousel-btn.next {
  right: 0.5rem;
}

.areas-atuacao .carousel-indicators {
  text-align: center;
  margin-top: 1rem;
}

.areas-atuacao .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.areas-atuacao .dot.active {
  background: #000;
}


.section-space {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

/* ============================== */
/* Sobre Nos Section */
/* ============================== */


.sobre-nos {
  padding: 60px 20px;
}

.sobre-nos-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.sobre-nos-img img {
  width: 100%;
  max-width: 650px; /* Limita a largura máxima */
  margin: 0 auto; /* Centraliza */
  border-radius: 10px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.sobre-nos-texto {
  max-width: 600px;
  text-align: center;
}

.sobre-nos-texto h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.sobre-nos-texto p {
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ============================== */
/* Contato Section */
/* ============================== */


.contato {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.contato-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contato-info {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contato-info h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.contato-info p {
  margin-bottom: 1rem;
  color: #333;
}

.contato-dados p {
  margin-bottom: 0.5rem;
}

.enderecos{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 0;
}

.enderecos li{
  list-style-type: none;

}

.enderecos li:last-child{
margin-top: 10px;
}

.contato-dados .btn-custom {
  margin-top: 1rem;
  display: inline-block;
}

.contato-mapa iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}



footer{
  background-color: #C89B5D;
}

/* ============================== */
/* Pagina-Sobre Styles */
/* ============================== */

.sobre {
  padding: 1rem;
  max-width: 900px;
  margin: 100px auto 0 auto;
}

.sobre h1, .sobre h2 {
  color: #003b6f;
  text-align: center;
}

.sobre h2 {
  color: black;
  padding-bottom: 20px;
}


.introducao h1 {
  font-size: 1.25rem;
  line-height: 1.6;
}

.quem-somos, .valores, .area-atuacao {
  padding: 3rem 1rem;
  margin-top: 2rem;
  text-align: center;
}

.conteudo {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.sobre p {
  line-height: 1.6;
  margin: 1rem 0;
  color: #444;
}

.sobre ul {
  padding-left: 1.5rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(200px, 1fr));
  gap: 1rem;
}

.sobre ul li {
  margin-bottom: 0.5rem;
  color: #444;
  list-style-type: none;
}

.sobre li {
  background-color: #C89B5D;
  padding: 10px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease; 
}

.sobre li:hover{
  transform: scale(.9);
}

.sobre__container--valores{
  display: flex; 
  gap: 10px;
  flex-direction: column;
  margin-bottom: 30px;
}

/* ============================== */
/* Pagina-Serviços Styles */
/* ============================== */

.services {
  font-family: Arial, sans-serif;
  padding: 2rem;
  background: #f9f9f9;
  margin-top: 70px;
}

.service-titulo{
  margin-bottom: 50px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-list article {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.service-list article:hover {
  transform: translateY(-5px);
}
.service-list h2 {
  color: #2980b9;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-list p {
  color: #555;
  line-height: 1.5;
}


/* ============================== */
/* Responsive Styles */
/* ============================== */


@media (min-width: 768px) {
/* ============================== */
/* Navbar */
/* ============================== */
  
  .navbar-toggle {
    display: none;
  }

  .navbar-menu {
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding-top: 0;
    background-color: none;
    border-top: none;
    padding: none;
    box-shadow: none;
  }

  .navbar-links {
    margin-top: 16px;
    display: flex;
    flex-direction: row;
    gap: 2rem;
  }

/* ============================== */
/* Hero */
/* ============================== */
  
  .hero {
    padding: 0;
    height: 100vh;
    justify-content: flex-start;
  }

  .hero-content {
    margin-left: 5%;
    max-width: 600px;
    text-align: left;
    padding: 0 20px;
  }

  .hero-content .highlight {
    font-size: 1.2rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .btn-custom {
    font-size: 18px;
    padding: 12px 24px;
  }
  .info-boxes{
    display: block;
  }
   .diferencial-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .diferencial-text {
    flex: 1;
    padding-right: 30px;
  }

  .diferencial-text h2{
    text-align: left;
  }

  .diferencial-image {

    flex: 1;
    text-align: center;
  }

  .diferencial-image img{
    display: block;
  }

  .diferenciais-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .sobre-nos-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .sobre-nos-img,
  .sobre-nos-texto {
    flex: 1;
  }

  .sobre-nos-texto {
    text-align: left;
    padding-left: 40px;
  }
  .contato-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .contato-info, .contato-mapa {
    flex: 1;
  }

  .contato-info {
    max-width: 500px;
    text-align: left;
    padding-right: 40px;
  }
  .contato-mapa{
    margin-top: 40px;
  }
  .enderecos{
    align-items: flex-start;
  }

  .sobre ul {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
}
