:root {
    --primary-color: #292929;
    --secondary-color: #e4bc0c;
    --accent-color: #2e8b57;
    --dark-color: #333;
    --light-color: #fff;
    --gray-color: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background-color: #ffffff;
  line-height: 1.6;
}



body {
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navbar */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/Trino\ Engenharia\ Terraplanagem\ e\ Transporte..webp') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    color: var(--secondary-color);
}

/* About Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 60%;
    border-radius: 10px;
}

/* Mission Section */
.mission {
    background-color: var(--gray-color);
}

.mission-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.mission-card {
    flex: 1;
    min-width: 300px;
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.mission-card:hover {
    transform: translateY(-10px);
}

.mission-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-content p {
    margin-bottom: 20px;
}

/* Team Section */
.team {
    background-color: var(--gray-color);
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-links h3,
.footer-services h3,
.footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--light-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .mission-cards {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }
}
.hero {
  background-color: #f5f7fa;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-box {
  background-image: url('https://images.unsplash.com/photo-1614082242765-b40cfdcc06f3?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  padding: 60px 40px;
  max-width: 1100px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 32px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-content p {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-solid {
  background-color: #004AAD;
  color: #ffffff;
  border: none;
}

.btn-solid:hover {
  background-color: #003780;
}

.btn-outline {
  border: 2px solid #ffffff;
  background-color: transparent;
  color: #ffffff;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: #004AAD;
}

/* Responsivo */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }
}
/* === HERO SECTION === */
.hero {
  background-image: url('assets/Trino Engenharia Terraplanagem e Transporte..webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  color: #ffffff;
}

/* Estrutura em duas colunas (texto à esquerda, imagem à direita) */
.hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* === Texto à esquerda === */
.hero-left {
  flex: 1,5;
  min-width: 400px;
  text-align: left;
}

.hero-left h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-left p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

/* === Botões === */
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
    justify-content: flex-start; /* Alinha à esquerda */

}

.btn {
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  display: inline-block;
}

/* Botão sólido branco */
.btn-solid {
  background-color: #ffffff;
  color: #003780;
  border: none;
}

.btn-solid:hover {
  background-color: #f2f2f2;
}

/* Botão com borda branca */
.btn-outline {
  border: 2px solid #ffffff;
  background-color: transparent;
  color: #ffffff;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: #000000;
}

/* === Imagem à direita === */
.hero-right {
  flex: 1;
  min-width: 300px;
}

.hero-right img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

/* === Responsivo === */
@media (max-width: 960px) {
  .hero-layout {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-left h1 {
    font-size: 2.2rem;
  }

  .hero-left p {
    font-size: 1rem;
  }

  .hero-right {
    margin-top: 40px;
  }
}
.hero {
  position: relative;
  background-image: url('assets/Trino Engenharia Terraplanagem e Transporte..webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  color: #ffffff;
  z-index: 1;
  overflow: hidden;
}

/* Overlay escuro */
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* ajuste a opacidade aqui */
  z-index: 1;
  pointer-events: none;
  border-radius: 0;
}

/* Conteúdo por cima da overlay */
.hero-layout {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}
@media (max-width: 960px) {
  .hero-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 40px;
  }

  .hero-left {
    text-align: center;
    padding: 0 20px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-left h1 {
    font-size: 2.2rem;
  }

  .hero-left p {
    font-size: 1rem;
  }

  .hero-right {
    width: 100%;
    margin-top: 30px;
    padding: 0 20px;
  }

  .hero-right img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
  }
}
/* === HERO SECTION === */
.hero {
  position: relative;
  background-image: url('assets/Trino Engenharia Terraplanagem e Transporte..webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  color: #ffffff;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  flex-wrap: wrap;
}

/* === Texto à esquerda === */
.hero-left {
  flex: 1;
  min-width: 280px;
}

.hero-left h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #fff;
}

.hero-left p {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* === Botões === */
.btn {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  display: inline-block;
}

.btn-solid {
  background-color: #ffffff;
  color: #000000;
  border: none;
}

.btn-solid:hover {
  background-color: #e0e0e0;
}

.btn-outline {
  border: 2px solid #ffffff;
  background-color: transparent;
  color: #ffffff;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: #000000;
}

/* === Imagem à direita === */
.hero-right {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.hero-right img {
  max-width: 90%;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

/* === Responsivo === */
@media (max-width: 960px) {
  .hero {
    padding: 80px 20px 60px;
  }

  .hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-left {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-left h1 {
    font-size: 2.9rem;
  }

  .hero-left p {
    font-size: 1rem;
  }

  .hero-right {
    margin-top: 20px;
  }

  .hero-right img {
    max-width: 60%;
  }
}
@media (max-width: 960px) {
  .hero {
    padding-top: 90px; /* aumenta o espaço no topo no mobile */
  }
}
@media (max-width: 960px) {
  .hero-right {
    display: none;
  }
}
.carousel-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.carousel-title {
  font-size: 2rem;
  color: #202020;
  margin-bottom: 30px;
}

.carousel-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease-in-out;
  padding: 10px 0;
}

.carousel-track img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel-track img {
    max-width: 80%;
    margin: 0 auto;
  }

  .carousel-btn {
    font-size: 1.5rem;
  }
}
/* Botões da seção de serviços */
.service-card .btn {
  display: inline-block;
  padding: 12px 56px;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card .btn:hover {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo,
  .footer-links,
  .footer-services,
  .footer-social {
    margin-bottom: 20px;
  }

  .footer-links ul,
  .footer-services ul {
    padding-left: 0;
  }

  .footer-links ul li,
  .footer-services ul li {
    list-style: none;
  }

  .footer-bottom {
    text-align: center;
  }
}
.instagram-embed {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.instagram-embed blockquote.instagram-media {
  flex: 1 1 100%;
  max-width: 100%;
}

/* Em telas maiores, organizar em colunas lado a lado */
@media screen and (min-width: 768px) {
  .instagram-embed blockquote.instagram-media {
    flex: 1 1 calc(33.33% - 20px);
    max-width: 540px;
  }
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}

.about-image {
  flex: 1;
  max-width: 45%; /* Aproxima a imagem do texto no desktop */
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1;
  max-width: 50%;
  padding-left: 20px; /* Aproxima o texto da imagem */
}

/* MOBILE RESPONSIVO */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    padding: 0;
  }

  .about-image {
    max-width: 100%;
    width: 100%;
  }

  .about-image img {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
  }

  .about-text {
    max-width: 100%;
    padding: 20px;
  }
}
/* --- SEÇÃO EQUIPE --- */
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.about-image {
  flex: 1 1 45%;
  max-width: 45%;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1 1 45%;
  max-width: 45%;
  padding-left: 1px;
}

/* MOBILE */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 1px;
  }

  .about-image {
    width: 100%;
    max-width: 100%;
  }

  .about-image img {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    border-radius: 12px;
    margin: 0;
  }

  .about-text {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }
}
