/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    font-family: Arial, sans-serif;
    color: #fff;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(100px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .fade-in-right {
    opacity: 0;
    animation: fadeInRight 1.5s ease forwards;
  }
  

.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

.animate {
  animation: fadeInUp 1s ease forwards;
}

/* Inicialmente, os elementos que animam na rolagem estão ocultos */
.animate-on-scroll {
  opacity: 0;
}

/* Seção principal (hero) */
.hero {
    position: relative;
    width: 80%;
    min-height: 600px;
    display: flex;
    align-items: center;
    border-radius: 40px;
    margin: 60px auto;
}

/* Fundo à esquerda com a imagem do caminhão (ou qualquer outra) */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/image/equipamentos/guindaste-500ton/Imagem\ do\ WhatsApp\ de\ 2025-03-28\ à\(s\)\ 08.36.49_691d354d.webp') no-repeat center center;
    background-size: cover;
    border-radius: 20px;
    filter: brightness(0.2);
    z-index: 1;
}

/* Conteúdo textual */
.hero-content {
    position: relative;
    z-index: 2;
    width: 60%;
    padding: 100px;
}

.hero-content h1 {
    font-style: italic;
    font-weight: 300;
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span{
    font-weight: 700;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Botão "SAIBA MAIS" */
.btn {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    padding: 10px 40px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.btn:hover {
    background-color: #218838;
}

/* Imagem do guindaste à direita */
.hero-image {
    position: absolute;
    right: -230px;
    bottom: 40px;
    width: 80%;
    max-width: 800px;
    z-index: 3;
}

.hero-image img {
    width: 86%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: black;
}

/* Grid de setores */
.sectors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Item de cada setor */
.sector-item {
    display: flex;
    background-color: #000;
    padding: 10px 20px;
    border-radius: 10px;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin: 40px;
}

/* Ícone de cada setor */
.sector-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

/* Nome do setor */
.sector-item h2 {
    margin-top: 25px;
    font-size: 1.0rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}


.layout {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #000;
    position: relative;
    align-items: center;
    justify-content: center;
    border-radius: 20px !important;
    overflow: hidden;
}

/* Container da imagem */
.image-container {
    flex: 1;
    position: relative;
    min-width: 300px;
    overflow: hidden;
}

/* A imagem em si */
.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Pseudo-elemento que cria o degradê */
.image-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1));
    z-index: 1;
    pointer-events: none;
}

/* Texto de destaque sobre a imagem */
.highlight-text {
    position: absolute;
    top: 90%;
    left: 20px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    border-radius: 8px;
  }
  
/* Coluna da direita com informações */
.info-container {
    width: 350px;
    background-color: #000;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-item h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 1rem;
    margin: 0;
}

.info-item img {
    width: 60px;
    height: 60px;
    margin: 10px;
    text-align: center;
}

.info-item img {
    width: 60px;
    height: 60px;
    margin: 10px;
    text-align: center;
}

/* Section Combinações de Lança */
.lanca {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
    align-items: end;
}

.lanca {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
}

.lanca-item img {
    width: 60%;
    height: auto;
    margin-bottom: 15px;
}

.lanca-item p {
    font-size: 0.9rem;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

.lanca-item p span {
    font-weight: bold;
    color: #000;
}

.experiencia-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
}

.experiencia-texto {
    flex: 1 1 50%;
    color: #000;
}

.experiencia-texto h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: end;
}

.experiencia-texto p {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: end;
}

.experiencia-texto a {
    margin-left: 280px;
}

.experiencia-imagem {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
}

.experiencia-imagem img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.map-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.map-regioes {
    display: flex;
}

.map-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-style: italic;
    color: #000;
}

.map-content {
    display: flex;
}

.map-regiao {
    width: 300px; /* Define uma largura fixa de 250px */
    text-align: left;
    background: none;
    border: none;
    padding: 15px 0; /* Você pode ajustar o padding se necessário */
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}


.map-estado {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.map-estado-list a {
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
    margin: 15px 0;
    display: block;
}


.map-estado.show {
    max-height: 500px;
    margin-bottom: 20px;
}

.map-estado p {
    margin: 10px 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.map {
    position: relative;
    width: 100%;
    border-radius: 10px;
    height: 300px;
    background: #ffffff;
    overflow: hidden;
    margin-left: 40px;
    transition: transform 0.5s ease;
}  

.faq-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-style: italic;
    color: #000;
}

.faq-container h2 span {
    font-style: italic;
    font-weight: 400;
}

.faq-item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.show {
    max-height: 500px;
    margin-bottom: 20px;
}

.faq-answer p {
    margin: 10px 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.arrow {
    font-size: 1rem;
}

.contato-section {
    display: flex;
    flex-wrap: wrap;
    background-color: #f8f9fa;
    padding: 60px 40px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.contato-texto {
    flex: 1 1 45%;
    padding: 20px;
}

.contato-texto h2 {
    font-size: 1.6rem;
    font-weight: 400;
    color: #000;
    line-height: 1.6;
    font-style: italic;
}

.contato-texto strong {
    font-weight: 700;
}

.contato-texto em {
    font-style: italic;
}

.form-contato {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-contato input,
.form-contato textarea {
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    background: #fff;
    width: 100%;
}

.form-contato textarea {
    height: 120px;
    resize: none;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 20px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-wrapper label {
    cursor: pointer;
    line-height: 1.4;
}

.form-contato button {
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    width: fit-content;
    padding: 12px 30px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.form-contato button:hover {
    background-color: #333;
}

/* Estilização do botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
.whatsapp-float img {
    width: 90px;
    height: 90px;
}

@keyframes whatsappIn {
    0% {
      opacity: 0;
      transform: translateY(100%);
    }
    60% {
      opacity: 1;
      transform: translateY(-10%);
    }
    80% {
      transform: translateY(5%);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .whatsapp-float.animate {
    animation: whatsappIn 1s ease-out forwards;
  }
  
    
.footer-cn {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    /* Ajustes na seção hero */
    .hero {
      flex-direction: column;
      width: 95%;
      margin: 20px auto;
      min-height: auto;
    }
  
    .hero-content {
      width: 100%;
      padding: 20px;
      text-align: center;
    }
  
    .hero-image {
      position: relative;
      right: 0;
      width: 100%;
      margin-top: 20px;
    }
  
    .hero-image img {
      width: 100%;
      height: auto;
    }
  
    .sectors {
        grid-template-columns: 1fr; /* Cada setor ocupa a largura total */
        gap: 10px; /* Espaçamento reduzido entre os itens */
        margin-bottom: 20px;
    }

    .sector-item {
        margin: 0; /* Remove a margem extra */
        flex-direction: column;
        align-items: center;
    }


    .highlight-text {
        top: 34%;
      }

    .experiencia-layout {
        flex-direction: column;
        align-items: center;
        padding: 20px; /* opcional, para reduzir o espaçamento */
    }
    
    .experiencia-texto,
    .experiencia-imagem {
        flex: 1 1 100%;
        text-align: center;
    }

    .experiencia-texto h2,
    .experiencia-texto p {
        text-align: center;
    }

    .experiencia-texto a {
        margin: 20px auto;
    }
  }
  
  
