/* GERAL */
body {
      font-family: 'Inter', sans-serif;
      background: #ffffff;
}

.bg-fassina {
      background-color: #FFCB05 !important;
}

.bg-alt {
      background: #f8f9fa;
}

.text-shadow {
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

/* NAVBAR */
.navbar-glass .nav-link.active {
      color: #FFCB05 !important;
      /* Cor de destaque amarela da marca */
}

/* Efeito para o menu de navegação normal da página interna */
.navbar-dark .nav-link.active {
      color: #FFCB05 !important;
}

.navbar.fixed-top {
      position: absolute;
      width: 100%;
      top: 0;
      left: 0;
      padding-top: 1rem !important;
      padding-bottom: 1rem !important;
      z-index: 10;
}

.navbar-glass {
      background: rgba(7, 24, 52, 0.30);
      border-radius: 34px;
      padding: 10px 50px;
      backdrop-filter: blur(16px) saturate(120%);
      -webkit-backdrop-filter: blur(16px) saturate(120%);
      box-shadow: 0 4px 32px 0 rgba(7, 24, 52, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.09);
}

.logo {
      height: 60px;
}

.contact-btn-desktop {
      padding: 6px 25px;
      border-radius: 15px;
}

/* BUSCA EXPANSIVA */
.navbar-search {
      position: relative;
      margin-left: 1rem;
      width: 42px; /* only icon visible when collapsed */
      transition: width 0.33s ease;
}

.navbar-search.expanded {
      width: 210px; /* match input expanded size */
}

.search-input {
      width: 0;
      min-width: 0;
      opacity: 0;
      border-radius: 22px;
      transition: width 0.33s cubic-bezier(.68, -0.55, .27, 1.55),
                  background 0.3s, border 0.3s, opacity 0.3s;
      background: rgba(7, 24, 52, 0.18);
      color: #fff;
      border: 1.5px solid rgba(255, 255, 255, 0.13);
      padding: 6px 0 6px 0; /* no horizontal padding when collapsed */
      font-size: 1rem;
      box-shadow: none;
      pointer-events: none; /* avoid accidental clicks when hidden */
}

.search-input:focus,
.search-input.expanded {
      width: 210px;
      opacity: 1;
      pointer-events: auto;
      background: rgba(7, 24, 52, 0.83);
      color: #fff;
      border: 1.5px solid #ffe066;
      outline: none;
      padding: 6px 38px 6px 12px; /* restore padding for text inside */
}

.search-input::placeholder {
      color: #e2e2e2;
      opacity: .85;
}

.search-btn {
      position: absolute;
      right: 7px;
      top: 50%;
      transform: translateY(-50%);
      border: none;
      background: none;
      padding: 0;
      z-index: 2;
      font-size: 1.2rem;
}

/* HERO */
.hero-modern {
      min-height: 100vh;
      overflow: hidden;
}

.hero-overlay {
      position: absolute;
      z-index: 2;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(7, 24, 52, 0.7);
      pointer-events: none;
}

/* hero background styles, originally applied to video and image
   The video element has been removed in favor of static images. */
.hero-bg-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      object-fit: cover;
      z-index: 1;
}

.hero-content {
      z-index: 3;
}

.hero-title {
      line-height: 1.08;
}

.hero-subtitle {
      font-size: 1.2rem;
      color: #e8e8e8;
}

.hero-button {
      font-size: 1.25rem;
      border-radius: 2.5rem;
      letter-spacing: .5px;
}

.hero-button .bi {
      font-size: 1.2em;
}

/* logo company-name under image */


/* CTA obras logo and slogan */
.logo-cta {
      max-width: 100px; /* reduced size for final fold */
      height: auto;
}
.slogan {
      font-size: 1.1rem;
      font-weight: 600;
}

/* search suggestions dropdown */
.search-suggestions {
      top: 100%;
      left: 0;
      right: 0;
      max-height: 200px;
      overflow-y: auto;
      z-index: 1050;
}
.search-suggestions li {
      cursor: pointer;
}


/* BOTÃO WHATSAPP FLUTUANTE */
.floating-whatsapp,
.whatsapp-float {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 9999;
      background: #25d366;
      color: #fff;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
      transition: background 0.2s, transform 0.2s;
}

.floating-whatsapp:hover,
.whatsapp-float:hover {
      background: #128C7E;
      color: #fff;
      transform: scale(1.1);
}

/* TÍTULO DE SEÇÃO */
.section-title {
      font-weight: 900;
      font-size: 2.3rem;
      color: #25314C;
      letter-spacing: -1px;
      line-height: 1.1;
      margin-bottom: 1.5rem;
      position: relative;
}

.section-title span {
      color: #FFCB05;
      font-weight: 900;
      letter-spacing: 0;
}

/* SERVIÇOS */
.service-card {
      border-radius: 16px;
      transition: box-shadow 0.19s, transform 0.19s;
      background: #fff;
}

.service-card:hover,
.service-card:focus-within {
      box-shadow: 0 8px 36px 0 rgba(37, 49, 76, 0.09), 0 2px 8px rgba(37, 49, 76, 0.08);
      transform: translateY(-4px) scale(1.025);
}

.service-icon {
      width: 50px;
      height: 50px;
      color: #44526B;
}

.service-title {
      color: #25314C;
      font-size: 1.17rem;
}

.service-card .btn-outline-primary {
      border-width: 2px;
      color: #25314C;
      border-color: #25314C;
      transition: background 0.18s, color 0.18s;
}

.service-card .btn-outline-primary:hover,
.service-card .btn-outline-primary:focus {
      background: #25314C;
      color: #fff;
}

/* Swiper customizado para cards de serviços */
.mySwiper-servicos {
      padding-bottom: 46px;
}

.mySwiper-servicos .swiper-slide {
      height: auto;
      display: flex;
}

.swiper-pagination-bullet {
      background: #25314C;
      opacity: 0.16;
}

.swiper-pagination-bullet-active {
      background: #ffe066;
      opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
      color: #25314C;
      background: #fff;
      border-radius: 50%;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
      width: 40px;
      height: 40px;
      top: 45%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
      font-size: 1.3rem;
}

/* SOBRE */
.about-subtitle {
      text-transform: uppercase;
      font-size: 0.85rem;
      font-weight: bold;
      color: #a9adb7;
      letter-spacing: 1.2px;
}

.about-title {
      font-size: 2.3rem;
      color: #25314C;
      line-height: 1.13;
}

.about-text {
      font-size: 1.11rem;
      line-height: 1.68;
}

.about-button {
      border-radius: 2rem;
      font-size: 1.13rem;
}

.about-main-img {
      width: 78%;
      border-radius: 14px;
      box-shadow: 0 4px 24px rgba(37, 49, 76, 0.09);
}

/* FOOTER */
.footer,
.footer-modern {
      background: #071834;
      color: #fff;
      padding: 40px 0 18px;
}

.footer a,
.footer-modern a {
      color: #ffe066;
      text-decoration: none;
      transition: color 0.2s;
}

.footer a:hover,
.footer-modern a:hover {
      color: #fff;
      text-decoration: underline;
}

/* NOVO FOOTER */
.footer-modern {
      padding: 5rem 0 0;
      font-size: 0.95rem;
}

.footer-logo {
      height: 75px;
      margin-bottom: 1rem;
}

.footer-tagline {
      color: #e0e0e0;
      max-width: 300px;
      margin-right: auto;
}

.footer-title {
      color: #fff;
      font-weight: 700;
      margin-bottom: 1.5rem;
      font-size: 1.1rem;
}

.footer-links,
.footer-contact {
      list-style: none;
      padding: 0;
}

.footer-links li,
.footer-contact li {
      margin-bottom: 0.8rem;
}

.footer-links a,
.footer-contact a {
      color: #a9b3c9;
      text-decoration: none;
      transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
      color: #FFCB05;
      padding-left: 5px;
}

.footer-contact li {
      display: flex;
      align-items: flex-start;
}

.footer-contact i {
      color: #FFCB05;
      margin-right: 12px;
      margin-top: 5px;
      font-size: 1rem;
}

/* Mídias Sociais */
.social-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      background-color: rgba(255, 255, 255, 0.1);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      margin: 0 5px;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
      background-color: #FFCB05;
      color: #071834;
      transform: translateY(-3px);
}

/* Barra Inferior */
.footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 1.5rem 0;
      margin-top: 3rem;
      text-align: center;
      color: #a9b3c9;
      font-size: 0.9rem;
}

/* SEÇÃO TECNOLOGIA */
#tecnologia .section-title {
      font-size: 2.1rem;
}

.tecnologia-img-container {
      overflow: hidden;
      border-radius: 0.5rem;
}

.tecnologia-img-container img {
      transition: transform 0.4s ease;
}

.tecnologia-img-container:hover img {
      transform: scale(1.05);
}

/* SEÇÃO LABORATÓRIO */
.lab-card {
      background-color: #f8f9fa;
      border: 1px solid #e9ecef;
      border-radius: 12px;
      padding: 2rem;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lab-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 30px rgba(37, 49, 76, 0.08);
      border-color: #FFCB05;
}

.lab-card-icon {
      font-size: 2.5rem;
      color: #FFCB05;
      margin-bottom: 1rem;
      line-height: 1;
}

.lab-card-title {
      font-weight: 700;
      color: #25314C;
      margin-bottom: 0.75rem;
}

.lab-card-text {
      color: #6c757d;
      font-size: 0.95rem;
      line-height: 1.6;
}

/* SEÇÃO NOSSOS CLIENTES */
.mySwiper-clients {
      padding: 1rem 0;
}

.mySwiper-clients .swiper-slide {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 200px;
}

.mySwiper-clients .swiper-slide img {
      max-width: 200px;
      width: auto;
}

.mySwiper-clients .swiper-slide:hover img {
      opacity: 1;
}

/* CHAMADA PARA AÇÃO (PROJETOS) */
#cta-obras {
      position: relative;
      background: url('../img/cta-obras-bg.png') no-repeat center center;
      background-size: cover;
      padding: 8rem 0;
}

#cta-obras .cta-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(7, 24, 52, 0.75);
      z-index: 1;
}

#cta-obras .container {
      z-index: 2;
}

#cta-obras h2,
#cta-obras p {
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#cta-obras .btn-warning {
      transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

#cta-obras .btn-warning:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* SEÇÃO ENSAIOS CARDS */
.ensaio-card {
      background-color: #fff;
      border: 1px solid #e9ecef;
      border-radius: 16px;
      padding: 2rem 1.5rem;
      text-align: left;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
}

.ensaio-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 35px rgba(37, 49, 76, 0.1);
}

.ensaio-card-icon {
      text-align: center;
      font-size: 2.2rem;
      color: #44526B;
      margin-bottom: 1rem;
      line-height: 1;
}

.ensaio-card-title {
      font-weight: 700;
      font-size: 1.2rem;
      color: #25314C;
      margin-bottom: 0.75rem;
}

.ensaio-card-text {
      color: #6c757d;
      font-size: 0.95rem;
      line-height: 1.6;
      flex-grow: 1;
}

/* SEÇÃO DESTAQUE SONDAGEM */
#sondagem-destaque .sondagem-feature-item i {
      font-size: 2.8rem;
      margin-bottom: 1rem;
      color: #FFCB05;
      display: block;
      transition: transform 0.3s ease;
}

#sondagem-destaque .sondagem-feature-item span {
      font-size: 1.1rem;
      font-weight: 600;
      color: #25314C;
}

#sondagem-destaque .sondagem-feature-item:hover i {
      transform: scale(1.15);
}

#sondagem-destaque img {
      transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#sondagem-destaque img:hover {
      transform: scale(1.02);
      box-shadow: 0 15px 30px rgba(37, 49, 76, 0.1);
}

/* PÁGINAS INTERNAS */
.page-hero,
.service-hero {
      position: relative;
      padding: 6rem 0;
      background-position: center;
      background-size: cover;
}

.page-hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(7, 24, 52, 0.7);
}

.page-hero .container,
.service-hero .container {
      position: relative;
      z-index: 2;
}

/* PÁGINA SOBRE NÓS */
.areas-atuacao-card {
      background-color: #f8f9fa;
      padding: 2.5rem;
      border-radius: 12px;
      border-left: 5px solid #FFCB05;
      height: 100%;
}

.areas-atuacao-card h4 {
      color: #25314C;
      font-weight: 700;
}

.areas-atuacao-card li span {
      font-size: 1.05rem;
      color: #495057;
}

.diferencial-card {
      background-color: #fff;
      padding: 2rem;
      border-radius: 12px;
      text-align: center;
      height: 100%;
      border: 1px solid #e9ecef;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diferencial-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 35px rgba(37, 49, 76, 0.08);
}

.diferencial-card i {
      font-size: 2.8rem;
      color: #FFCB05;
      margin-bottom: 1rem;
}

.diferencial-card h5 {
      color: #25314C;
      font-weight: 700;
}

/* PÁGINA DE SERVIÇOS */
.featurette {
      overflow: hidden;
}

.featurette img {
      transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featurette img:hover {
      transform: scale(1.03);
      box-shadow: 0 15px 30px rgba(37, 49, 76, 0.1);
}

.featurette .section-title {
      font-size: 2.1rem;
}

/* PÁGINA DE OBRAS */
.filter-button-group .btn {
      margin: 0 5px;
      border-radius: 20px;
      padding: 8px 20px;
}

.filter-button-group .btn.active {
      background-color: #25314C;
      color: #fff;
}

.project-card {
      position: relative;
      overflow: hidden;
      border-radius: 12px;
      cursor: pointer;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-card img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      transition: transform 0.4s ease;
}

.project-card:hover img {
      transform: scale(1.1);
}

.project-card-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to top, rgba(7, 24, 52, 0.8) 0%, rgba(7, 24, 52, 0) 60%);
      opacity: 0;
      transition: opacity 0.4s ease;
      display: flex;
      align-items: flex-end;
}

.project-card:hover .project-card-overlay {
      opacity: 1;
}

.project-card-content {
      padding: 1.5rem;
      width: 100%;
      transform: translateY(20px);
      transition: transform 0.4s ease;
}

.project-card:hover .project-card-content {
      transform: translateY(0);
}

.project-card-content .icon-zoom {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 1.5rem;
      color: #fff;
      background: rgba(0, 0, 0, 0.3);
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease;
}

.project-card-content .icon-zoom:hover {
      transform: scale(1.2);
}

/* PÁGINA DE CLIENTES */
.client-card {
      display: block;
      height: 200px;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      background-color: #fff;
}

.client-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
      text-decoration: none;
}

.client-card img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      transition: transform 0.3s ease;
}

.client-card:hover img {
      transform: scale(1.05);
}

/* PÁGINA DE CONTATO */
:root {
      --primary: #25314C;
      --secondary: #FFC107;
      --accent: #3A506B;
      --light: #F8F9FA;
      --dark: #212529;
}

.contact-info-card {
      background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
      padding: 2.5rem;
      border-radius: 16px;
      height: 100%;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.5);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.contact-info-card ul li a {
      color: #495057;
      text-decoration: none;
      transition: all 0.3s ease;
}

.contact-info-card ul li a:hover {
      color: var(--primary);
      padding-left: 5px;
}

.form-control {
      padding: 0.8rem 1.2rem;
      border-radius: 10px;
      border: 2px solid #e9ecef;
      transition: all 0.3s ease;
}

.form-control:focus {
      border-color: var(--secondary);
      box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.form-label {
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: var(--primary);
}

.btn-highlight {
      background: linear-gradient(135deg, var(--secondary) 0%, #ff9800 100%);
      border: none;
      border-radius: 12px;
      padding: 1rem 2.5rem;
      font-weight: 700;
      box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
      transition: all 0.3s ease;
}

.btn-highlight:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(255, 193, 7, 0.5);
}

.map-container {
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      line-height: 0;
}

.map-container:hover {
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.trust-badges {
      background-color: var(--light);
      border-radius: 16px;
      padding: 2rem;
      margin: 3rem 0;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.badge-item {
      text-align: center;
      padding: 1rem;
}

.badge-item i {
      font-size: 2.5rem;
      color: var(--secondary);
      margin-bottom: 1rem;
}

.accordion-button {
      font-weight: 600;
      padding: 1.2rem 1.25rem;
      border-radius: 2px !important;
}

.accordion-button:not(.collapsed) {
      background-color: #07183417;
      color: var(--primary);
}

.fade-in {
      animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
      from {
            opacity: 0;
            transform: translateY(20px);
      }

      to {
            opacity: 1;
            transform: translateY(0);
      }
}

.delay-1 {
      animation-delay: 0.2s;
}

.delay-2 {
      animation-delay: 0.4s;
}

.delay-3 {
      animation-delay: 0.6s;
}

/* LANDING PAGE DE SERVIÇOS */
.feature-card {
      background-color: #fff;
      padding: 2.5rem 2rem;
      border-radius: 12px;
      text-align: center;
      border: 1px solid #e9ecef;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 100%;
}

.feature-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 35px rgba(37, 49, 76, 0.08);
}

.feature-card i {
      font-size: 3rem;
      color: #FFCB05;
      margin-bottom: 1.5rem;
}

.feature-card h5 {
      color: #25314C;
      font-weight: 700;
      margin-bottom: 0.75rem;
}

.feature-card p {
      color: #6c757d;
      font-size: 0.95rem;
}

.gallery-img {
      height: 300px;
      width: 100%;
      object-fit: cover;
      transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-img:hover {
      transform: scale(1.05);
      filter: brightness(1.1);
}

.final-cta {
      background-color: #071834;
}

/* MEDIA QUERIES (Responsividade) */
@media (max-width: 991.98px) {

      .navbar.fixed-top {
            width: 100%;
            padding-top: 0rem !important;
            padding-bottom: 1rem !important;
            z-index: 10;
      }

      .navbar-search {
            margin-left: 0;
      }

      .search-input {
            width: 100%;
            min-width: 42px;
      }


      .search-input:focus,
      .search-input.expanded {
            width: 100%;
      }

      .footer-tagline {
            max-width: 100%;
            margin-left: 0;
            margin-right: 0;
      }


}

@media (max-width: 767.98px) {

      .hero-modern {
            min-height: 70vh;
      }

      .hero-content {
            padding-top: 80px;
      }

      .section-title {
            font-size: 1.8rem;
      }

      .about-main-img {
            width: 97%;
      }

      #tecnologia .section-title {
            font-size: 1.8rem;
      }

      .filter-button-group .btn {
            font-size: 0.85rem;
            padding: 0.375rem 0.75rem;
      }
}

@media (max-width: 575px) {

      .logo {
            height: 50px;
      }

      .filter-button-group .btn {
            font-size: 0.8rem;
            padding: 0.25rem 0.5rem;
      }

      .navbar-glass {
            border-radius: 0px;
            padding: 10px 30px;
      }

}

@media (max-width: 768px) {

      .page-hero,
      .service-hero {
            padding: 4rem 0;
      }

      .contact-info-card {
            padding: 1.5rem;
      }

      .trust-badges .col-md-3 {
            margin-bottom: 1.5rem;
      }

      .whatsapp-float {
            width: 50px;
            height: 50px;
            bottom: 20px;
            right: 20px;
            font-size: 24px;
      }

      .client-card {
            height: 150px;
      }
}

@media (max-width: 576px) {
      .client-card {
            height: 120px;
      }
}

/* Estilo para o dropdown mobile */
.dropdown-menu {
      max-height: 300px;
      overflow-y: auto;
}

.dropdown-item.active {
      background-color: #212529;
      color: white;
}