:root {
  --color-primary: #1a1449;
  --color-secondary: #4eae33;
  --color-accent: #4eae33;
  --color-dark: #00577f;
  --color-light: #f8f9fa;
  --color-muted: #6c757d;
  --color-white: #ffffff;

  --font-primary: 'Montserrat', sans-serif;
  --font-display: 'Montserrat', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


#estadoModalContent img {
  max-height: 180px;
  object-fit: cover;
}

.accordion-button {
  background-color: #f8f9fa;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
}
.accordion-button:not(.collapsed) {
  color: #0d6efd;
  background-color: #e9f2ff;
  box-shadow: none;
}
.accordion-item {
  border: none;
  margin-bottom: 6px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.accordion-body {
  background-color: #fff;
}

  #svg-map path {
    fill:  #00577f;
    stroke: #fff;
    stroke-width: 1;
    cursor: pointer;
    transition: fill 0.3s ease;
  }
  #svg-map path:hover {
    fill:#4eae33;
  }


.logos-section {
  background-color: #ffffff; /* cor semelhante à da imagem */
  color: #00577f;
  text-align: center;
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
}

.logos-track {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 4rem;
  animation: scroll 25s linear infinite;
  width: max-content;
}

.logos-track img {
  height: 80px;  
  transition: opacity 0.3s ease;
}

.logos-track img:hover {
  opacity: 1;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Responsividade */
@media (max-width: 768px) {
  .logos-track {
    gap: 2rem;
    animation-duration: 20s;
  }
  .logos-track img {
    height: 30px;
  }
}

  /* Imagem de topo dentro da grid */
  
    .content-image {
      width: 100%;
      height: auto;
      border-radius: 8px;
      margin-bottom: 1.5rem;
      object-fit: cover;
    }

    
.thumb-gallery img {
      cursor: pointer;
      border: 3px solid transparent;
      height: 80px;
      object-fit: cover;
      width: 100%;
      border-radius: .25rem;
    }
    .thumb-gallery .active-thumb img {
      border-color:#1a1449;
    }
    .thumb-row { margin-bottom:1.25rem; }
    .carousel-item img {
      width:100%;
      height: 480px;
      object-fit: cover;
      border-radius: .25rem;
    }


    .carousel-wrap {
      background: #1a1449;
      padding: .75rem;
      border-radius: .35rem;
    }
    .carousel-caption {
      position: static;
      padding: .75rem 1rem;
      background: rgba(0,0,0,0.65);
      color: #fff;
      margin-top:.75rem;
      border-radius:.25rem;
      text-align:center;
      font-weight:600;
    }
    /* esconder outline azul no click (se quiser manter acessibilidade, remova) */
    .thumb-gallery img:focus { outline:none; box-shadow:none; }
    /* remover animação hover nos links (conforme pedido anterior) */
    a { text-decoration: none; color: inherit; }

    .news-item {     
      border-bottom: 1px solid #fff;
      padding-bottom: .5rem;
    }

.bg-azul{
 background-color: #1a1449;
}

.text-azul{
 color: #00577f;
}

.bg-verde{
 background-color: #4eae33;
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .hover-scale:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  }

  #relatorios img {
    height: 260px;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
  }

  #relatorios h2 {
    font-size: 1.8rem;
  }

  @media (max-width: 576px) {
    #relatorios img {
      height: 200px;
    }
  }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px; /* ajuste conforme a altura real da sua navbar */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.display-3,
.display-4 {
  font-family: 'Montserrat', sans-serif;
}


body {
  font-family: 'Montserrat', sans-serif;


  .min-vh-50 {
  min-height: 65vh; /* 65% da altura da viewport */
}

/* Suaviza e moderniza o submenu */
.navbar .dropdown-menu {
  border-radius: 12px;
  background-color: #002c44;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  border: none;
}

.navbar .dropdown-item {
  color: #fff;
  padding: 10px 18px;
  transition: background-color 0.2s ease;
}

.navbar .dropdown-item:hover {
  background-color: #004a70;
  color: #fff;
}


/*card dos numeros*/
    .card {
      border: none;
      border-radius: 20px;
      background: #ffffff;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
      text-align: center;
      padding: 30px 20px;
      height: 100%;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    }

    .icon-circle {
      width: 60px;
      height: 60px;
      background-color: #4eae33;
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin: 0 auto 15px;
    }

    .card-title {
      color: #004366;
      font-weight: 600;
      font-size: 1.2rem;
      margin-bottom: 10px;
    }

    .value {
      font-size: 2rem;
      font-weight: 700;
      color: #2b2b2b;
      margin-bottom: 8px;
    }

    .card-text {
      font-size: 0.95rem;
      color: #555;
    }

    @media (max-width: 768px) {
      .card {
        margin-bottom: 20px;
      }
    }
  
  /*fim dos cards */


.hero-bg-cimento {
    background-image: url('../public/images/Hero2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
        height: 190px;

  }

.hero-imagem{
  background-image: url('../public/images/Hero1.jpg');
         background-size: cover;       /* Faz a imagem preencher toda a div */
         background-repeat: no-repeat; /* Evita que a imagem se repita */
         background-position: center;  /* Centraliza a imagem */
     
}

/* Navigation */
#mainNav {
  background: #1a1449;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#mainNav.scrolled {
  background: #1a1449;
  padding: 0.5rem 0;
}

.navbar-brand {
  font-weight: 700;
}

.logo-container {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 2px;
  font-family: var(--font-display);
}

.logo-subtitle {
  font-size: 0.65rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--color-white) !important;
}

.nav-link:hover::after {
  width: 60%;
}

.language-switcher {
  display: flex;
  gap: 0.5rem;
}

.flag {
  width: 30px;
  height: 20px;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition);
  border-radius: 2px;
}

.flag:hover,
.flag.active {
  opacity: 1;
  transform: scale(1.1);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../public/images/hero-cement-plant.jpg");
  background-size: cover;
  background-position: center;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

.hero-imagem .container {
  position: relative;
  z-index: 1;
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 77, 122, 0.75) 0%, rgba(26, 47, 68, 0.75) 100%);
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(212, 165, 116, 0.2);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Ajuste específico para telas grandes (como 1440px) */
@media (min-width: 1200px) {
  .hero-imagem .container {
    max-width: 1200px; /* evita que o texto vá até as bordas */
    margin-left: auto;
    margin-right: auto;
  }
}

/* Opcional: centralizar melhor verticalmente */
.hero-imagem {
  min-height: 70vh; /* altura do hero */
  display: flex;
  align-items: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 2rem;
  color: var(--color-white);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Stats Section */
.stats-section {
  background: var(--color-dark);
  color: var(--color-white);
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 5rem;
  font-weight: 800;
  color: var(--color-accent);
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Content Grid Section */
.content-grid-section {
  background: var(--color-light);
}

.content-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.content-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.content-card-header i {
  font-size: 2rem;
  color: var(--color-primary);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.news-list {
  padding: 2rem;
}

.news-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.news-excerpt {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin: 0;
}

.card-hover {
  cursor: pointer;
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card-hover:hover .card-image {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 77, 122, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.card-overlay i {
  font-size: 3rem;
  color: var(--color-white);
}

.card-hover:hover .card-overlay {
  opacity: 1;
}

.card-content {
  padding: 2rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--color-muted);
  margin-bottom: 1rem;
}

/* Section Labels */
.section-label {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(26, 77, 122, 0.1);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-label-light {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/* ABCP Section */
.abcp-section {
  padding: 6rem 0;
}

.abcp-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-item i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.feature-item span {
  font-weight: 500;
}

/* Climate Section */
.climate-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.climate-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../public/images/green-sustainability.jpg");
  background-size: cover;
  background-position: center;
}

.climate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 122, 106, 0.62) 0%, rgba(15, 20, 25, 0.88) 100%);
}

.climate-section .container {
  position: relative;
  z-index: 2;
}

/* About Section */
.about-section {
  padding: 6rem 0;
}

.about-highlights {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.highlight-item {
  text-align: center;
}

.highlight-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.highlight-text {
  font-size: 0.9rem;
  color: var(--color-muted);
  font-weight: 500;
}

.about-image-grid img {
  transition: var(--transition);
}

.about-image-grid img:hover {
  transform: scale(1.02);
}

/* Process Section */
.process-section {
  background: var(--color-light);
  padding: 6rem 0;
}

.process-steps {
  margin-top: 2rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.process-step:last-child {
  border-bottom: none;
}

.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  font-family: var(--font-display);
  min-width: 30px;
}

.step-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--color-muted);
  margin: 0;
}

/* Innovation Section */
.innovation-section {
  padding: 6rem 0;
}

.innovation-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
}

.innovation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.innovation-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.innovation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.innovation-card:hover .innovation-image img {
  transform: scale(1.1);
}

.innovation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 77, 122, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.innovation-overlay i {
  font-size: 3.5rem;
  color: var(--color-white);
}

.innovation-card:hover .innovation-overlay {
  opacity: 1;
}

.innovation-content {
  padding: 2rem;
}

.innovation-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.innovation-content p {
  color: var(--color-muted);
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: 6rem 0;
  text-align: center;
}

/* Buttons */
.btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.6rem;
}

.btn-primary {
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 77, 122, 0.3);
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-primary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--color-white);
  border: 2px solid var(--color-white);
  color: var(--color-primary);
}

.btn-light:hover {
  background: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-brand h3 {
  font-size: 2rem;
  font-family: var(--font-display);
  letter-spacing: 2px;
}

.footer-contact {
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-contact i {
  color: var(--color-accent);
}

.footer h5 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.2rem;
}

.social-link:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  transform: translateY(-3px);
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .about-highlights {
    flex-direction: column;
    gap: 1rem;
  }

  .innovation-image {
    height: 250px;
  }
}

@media (max-width: 767px) {
  .logo-text {
    font-size: 1.4rem;
  }

  .logo-subtitle {
    font-size: 0.55rem;
  }

  .hero-section {
    min-height: 600px;
  }

  .stat-card {
    padding: 1.5rem 0.5rem;
  }

  .card-image-wrapper {
    height: 250px;
  }

  .process-step {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}




/* Factories Tab */
.factories-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.factories-map {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed);
}

.factories-map:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.factories-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.factory-item {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: all var(--transition-speed);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.factory-item:hover {
  border-color: var(--color-primary);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.factory-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.2));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.factory-item:hover .factory-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary));
  color: white;
}

.factory-info h6 {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.factory-info p {
  font-size: 0.875rem;
  color: var(--color-primary);
  margin: 0;
}

.tab-pane {
  min-height:400px;
  
}

@media (max-width: 991.98px) {
  .factories-content {
    grid-template-columns: 1fr;
  }
}
}