@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Poppins:wght@500;600;700&display=swap');

:root {
  --primary-blue: #0D47A1;
  --secondary-blue: #1976D2;
  --light-blue: #64B5F6;
  --very-light-blue-bg: #E3F2FD;
  --neutral-dark: #212529;
  --neutral-medium: #495057;
  --neutral-light: #adb5bd;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --box-shadow-light: 0 4px 15px rgba(0, 0, 0, 0.07);
  --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --border-radius: 6px;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: var(--neutral-medium);
  background-color: var(--background-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--secondary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-blue);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--neutral-dark);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#header-placeholder .navbar {
  background-color: var(--background-white) !important;
  box-shadow: var(--box-shadow-light);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

#header-placeholder .navbar-brand img {
  max-height: 45px;
}

#header-placeholder .nav-link {
  color: var(--neutral-medium);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

#header-placeholder .nav-link:hover,
#header-placeholder .nav-link.active {
  color: var(--primary-blue);
}

#header-placeholder .navbar-toggler {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

#header-placeholder .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.6)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#footer-placeholder footer {
  background-color: var(--neutral-dark);
  color: var(--neutral-light);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

#footer-placeholder footer p {
  margin-bottom: 0.5rem;
  color: #ccc;
}

#footer-placeholder footer a {
  color: var(--neutral-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer-placeholder footer a:hover {
  color: var(--background-white);
  text-decoration: underline;
}

#header-placeholder, #footer-placeholder {
  min-height: 50px;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    margin-bottom: 0;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title h2::after {
    content: '';
    width: 70px;
    height: 4px;
    background: var(--light-blue);
    border-radius: 2px;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-section-video-bg {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: var(--background-white);
  width: 100%;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
}

.hero-section-video-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(13, 71, 161, 0.6), rgba(13, 71, 161, 0.85));
  z-index: 1;
}

.hero-section-video-bg .container {
  position: relative;
  z-index: 2;
}

.hero-section-video-bg h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--background-white);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.hero-section-video-bg p.lead {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section-video-bg .btn-primary {
  background-color: var(--background-white);
  border-color: var(--background-white);
  color: var(--primary-blue);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-section-video-bg .btn-primary:hover {
  background-color: var(--very-light-blue-bg);
  border-color: var(--very-light-blue-bg);
  color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.swiper-section-wrapper {
    position: relative;
}
.swiper-container {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 50px;
    overflow: visible !important;
    position: relative;
}

.swiper-slide {
    width: 60%;
    opacity: 0.3;
    transform: scale(0.7);
    transition: transform 0.5s ease, opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1.2);
    z-index: 2;
    pointer-events: auto;
}

.swiper-slide .card,
.swiper-slide .product-item-wrapper {
    width: 100%;
    margin-bottom: 0;
    box-shadow: var(--box-shadow-light);
    border: none;
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    overflow: hidden;
}
.swiper-slide-active .card,
.swiper-slide-active .product-item-wrapper {
    box-shadow: var(--box-shadow-hover);
}

#empresas-swiper .card-img-top {
    padding: 1.5rem;
    max-height: 160px;
    object-fit: contain;
}
#empresas-swiper .card-body {
    text-align: center;
}

#produtos-swiper .product-item-wrapper img {
  height: 240px;
  object-fit: cover;
  width: 100%;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
#produtos-swiper .product-item-content {
  padding: 1.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
#produtos-swiper .product-item-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
#produtos-swiper .product-item-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}
#produtos-swiper .product-item-content .btn {
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  margin-top: auto;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--primary-blue);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
     background-color: rgba(255, 255, 255, 0.9);
}
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.2rem;
    font-weight: bold;
}
.swiper-button-prev { left: 10px; }
.swiper-button-next { right: 10px; }

.feature-box {
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}
.feature-box i {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 1.2rem;
    display: inline-block;
}
.feature-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-blue);
}

.blog-post-item {
    margin-bottom: 30px;
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-post-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}
.blog-post-item .blog-img-wrapper {
     overflow: hidden;
     border-top-left-radius: var(--border-radius);
     border-top-right-radius: var(--border-radius);
}
.blog-post-item img {
    margin-bottom: 0;
    transition: transform 0.3s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-post-item:hover img {
    transform: scale(1.05);
}
.blog-post-item .blog-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-post-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.blog-post-item h3 a {
    color: var(--neutral-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}
.blog-post-item h3 a:hover {
    color: var(--secondary-blue);
}
.blog-post-item .text-muted {
    color: var(--neutral-light) !important;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    display: block;
}
 .blog-post-item p {
    flex-grow: 1;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.blog-post-item .btn-link {
    font-weight: 500;
    text-decoration: none;
    color: var(--secondary-blue);
    padding-left: 0;
    margin-top: auto;
    font-size: 0.9rem;
}
.blog-post-item .btn-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.cta-section {
  background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
  color: var(--background-white);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  color: var(--background-white);
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}
.cta-section .btn-light {
  color: var(--primary-blue);
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.cta-section .btn-light:hover {
  background-color: var(--very-light-blue-bg);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

main.container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.product-grid .col-lg-4,
.product-grid .col-md-6 {
    margin-bottom: 1.5rem;
}
.product-grid .card {
    box-shadow: var(--box-shadow-light);
    border: none;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}
.product-grid .card-img-top {
    height: 240px;
    object-fit: cover;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}
.product-grid .card-body {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-grid .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--primary-blue);
}
.product-grid .card-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.product-grid .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    margin-top: auto;
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    color: var(--background-white);
}
.product-grid .btn:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.about-section h1 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1.5rem;
}
.about-section h2 {
    color: var(--primary-blue);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 0.5rem;
    display: inline-block;
}
.about-section .lead {
    font-size: 1.15rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}
.about-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.about-section ul li {
    margin-bottom: 0.5rem;
}
.about-section ul li strong {
    color: var(--neutral-dark);
}

.contact-card {
    box-shadow: var(--box-shadow-light);
    border: none;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}
.contact-card .card-body {
    padding: 1.5rem;
}
.contact-card .card-title {
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-card .card-title img {
    margin-right: 0.5rem;
    max-height: 30px;
}
.contact-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}
.contact-card p i {
    color: var(--secondary-blue);
    width: 20px;
    text-align: center;
    margin-right: 0.3rem;
}
.admin-contact-section {
    background-color: var(--very-light-blue-bg);
    padding: 3rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}
.admin-contact-section h2 {
    color: var(--primary-blue);
}
.admin-contact-section p {
    font-size: 1rem;
}
.admin-contact-section strong {
    color: var(--neutral-dark);
}
.admin-contact-section i {
     color: var(--secondary-blue);
     width: 20px;
     text-align: center;
     margin-right: 0.3rem;
}

.blog-title-section h1 {
    color: var(--primary-blue);
}
.blog-title-section .lead {
    font-size: 1.15rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.blog-post {
     margin-bottom: 3rem;
     padding-bottom: 3rem;
     border-bottom: 1px solid #dee2e6;
     overflow: hidden;
     background-color: var(--background-white);
     border-radius: var(--border-radius);
     box-shadow: var(--box-shadow-light);
     transition: box-shadow 0.3s ease;
 }
 .blog-post:hover {
     box-shadow: var(--box-shadow-hover);
 }
 .blog-post:last-child {
     border-bottom: none;
     margin-bottom: 0;
     padding-bottom: 0;
 }
 .blog-post img {
     border-top-left-radius: var(--border-radius);
     border-top-right-radius: var(--border-radius);
     border-bottom-left-radius: 0;
     border-bottom-right-radius: 0;
     margin-bottom: 0;
     transition: transform 0.3s ease;
     width: 100%;
     height: auto;
     object-fit: cover;
 }
 .blog-post:hover img {
     transform: scale(1.03);
 }
 .blog-post .blog-content {
     padding: 1.5rem;
 }
 .blog-post h2 {
     font-size: 1.5rem;
     margin-bottom: 0.5rem;
     color: var(--primary-blue);
 }
 .blog-post h2 a {
     color: inherit;
     text-decoration: none;
     transition: color 0.3s ease;
 }
 .blog-post h2 a:hover {
     color: var(--secondary-blue);
 }
 .blog-post .meta {
     font-size: 0.85rem;
     color: var(--neutral-light);
     margin-bottom: 1rem;
     display: block;
 }
 .blog-post .meta i {
     margin-right: 5px;
     color: var(--secondary-blue);
 }
 .blog-post p {
     font-size: 0.95rem;
     line-height: 1.7;
 }

.carousel-multi-item .carousel-inner {
  display: flex;
}
.carousel-multi-item .carousel-item {
  margin-right: 0;
  flex: 0 0 100%;
  display: block;
  padding: 0 10px;
}
#empresas-carousel .card,
#produtos-carousel .product-item-wrapper {
  margin-bottom: 1rem;
  box-shadow: var(--box-shadow-light);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius);
  overflow: hidden;
}
#empresas-carousel .card:hover,
#produtos-carousel .product-item-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}
#empresas-carousel .card-img-top {
    padding: 1.5rem;
    max-height: 160px;
    object-fit: contain;
}
#empresas-carousel .card-body {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
#empresas-carousel .card-body .btn {
    margin-top: auto;
}

#produtos-carousel .product-item-wrapper img {
  height: 240px;
  object-fit: cover;
  width: 100%;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}
#produtos-carousel .product-item-content {
  padding: 1.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
#produtos-carousel .product-item-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
#produtos-carousel .product-item-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}
#produtos-carousel .product-item-content .btn {
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  margin-top: auto;
}
.carousel-control-prev,
.carousel-control-next {
  width: auto;
  opacity: 0.7;
  padding: 0 1rem;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-blue);
  border-radius: 50%;
  padding: 1.2rem;
  background-size: 60% 60%;
  width: 2.5rem;
  height: 2.5rem;
}
.carousel-control-prev { left: -15px; }
.carousel-control-next { right: -15px; }

.bg-light-blue-bg {
    background-color: var(--very-light-blue-bg);
}
.bg-light {
     background-color: var(--background-light) !important;
}

@media (max-width: 992px) {
  .carousel-control-prev { left: 0px; }
  .carousel-control-next { right: 0px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }

  .section-padding { padding: 60px 0; }
  .section-title h2 { font-size: 1.8rem; }

  .hero-section-video-bg { min-height: 350px; }
  .hero-section-video-bg h1 { font-size: 2.8rem; }
  .hero-section-video-bg p.lead { font-size: 1.2rem; }
}

@media (max-width: 575px) {
  .hero-section-video-bg { min-height: 300px; }
  .hero-section-video-bg h1 { font-size: 2.2rem; }
  .hero-section-video-bg p.lead { font-size: 1.1rem; }

  .swiper-button-prev,
  .swiper-button-next {
      display: none;
  }
  .swiper-slide {
      width: 80%;
      transform: scale(1);
      opacity: 1;
  }
   .swiper-slide-active {
    transform: scale(1.1);
  }

  .carousel-multi-item .carousel-item {
    flex-basis: 100%;
    padding: 0 5px;
  }
}

@media (min-width: 768px) {
    .swiper-slide {
        width: 33.333%;
    }
}
@media (min-width: 992px) {
    #empresas-swiper .swiper-slide {
         width: 33.333%;
    }
     #produtos-swiper .swiper-slide {
         width: 25%;
    }
}
