﻿body {
  background-color: #fff;
}
section#hero {
  min-height: 90vh !important;
  max-height: none !important;
}
section#hero.imagem-fundo {
  background-size: cover !important;
  background-position: center center !important;
}

/* Contact form */
.contact-section {
  padding: 70px 0 80px;
  background: #f8f9fc;
}
.contact-section .contact-header {
  text-align: center;
  margin-bottom: 48px;
}
.contact-section .contact-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 12px;
}
.contact-section .contact-header p {
  font-size: 16px;
  color: #666;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.contact-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  padding: 48px 40px;
  max-width: 580px;
  margin: 0 auto;
}
.contact-card .form-group label {
  font-weight: 600;
  color: #1a3a5c;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.contact-card select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a3a5c' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.contact-card .form-control {
  border: 1.5px solid #e0e6ef;
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 15px;
  color: #333;
  box-shadow: none;
  transition: border-color 0.2s ease;
}
.contact-card .form-control:focus {
  border-color: #1976D2;
  box-shadow: 0 0 0 3px rgba(25,118,210,0.1);
  outline: none;
}
.contact-card .btn-contact {
  background: #1976D2;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  width: 100%;
  transition: background 0.2s ease, transform 0.1s ease;
}
.contact-card .btn-contact:hover {
  background: #1565C0;
  transform: translateY(-1px);
}
.contact-card .btn-contact:disabled {
  background: #90aad0;
  cursor: not-allowed;
  transform: none;
}
#success_message h2 {
  color: #1976D2;
  text-align: center;
  padding: 20px 0;
}
#error_message h4 {
  text-align: center;
  padding: 10px 0;
}
#error_message a {
  color: #c0392b;
}

/* Footer redesign — remove address & social column */
#footer {
  background: linear-gradient(160deg, #0d1b2a 0%, #1a3a5c 100%) !important;
  padding: 50px 0 30px !important;
}
#footer .divider,
#footer .col-lg-3 {
  display: none !important;
}
#footer .col-bottom.menu-links {
  text-align: center;
  width: 100% !important;
  float: none !important;
}
#footer .page-links {
  margin-bottom: 8px;
}
#footer .first-sub-page-links {
  margin-left: 0 !important;
}
#footer .sub-page-links {
  padding-left: 0 !important;
}
#footer .row.first-sub-page-links {
  margin-top: 10px;
  margin-bottom: 10px;
}
#footer hr,
#footer .hr2 {
  border-color: rgba(255,255,255,0.15);
  margin: 16px 0;
}
#footer .copyright {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.45) !important;
  letter-spacing: 0.5px;
}

/* Social icons */
#footer .social-icon {
  display: inline-block;
  font-size: 26px;
  margin: 0 6px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}
#footer .social-icon:hover {
  opacity: 1;
  transform: scale(1.15);
  text-decoration: none;
}
#footer .social-icon .fa-linkedin-square  { color: #0D7AAD; }
#footer .social-icon .fa-facebook-square  { color: #425F9C; }
#footer .social-icon .fa-twitter-square   { color: #1DA1F2; }
#footer .social-icon .fa-rss-square       { color: #F17D2A; }

/* Featured service cards */
.featured-cards {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  width: 100%;
}
.featured-card {
  position: relative;
  flex: 0 0 33.333%;
  height: 380px;
  overflow: hidden;
  display: block;
  text-decoration: none !important;
}
@media (max-width: 767px) {
  .featured-card { flex: 0 0 100%; height: 280px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .featured-card { flex: 0 0 50%; height: 320px; }
}
.featured-card .fc-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.featured-card:hover .fc-bg {
  transform: scale(1.07);
}
.featured-card .fc-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.05) 100%);
  transition: background 0.4s ease;
}
.featured-card:hover .fc-overlay {
  background: linear-gradient(to top, rgba(21,101,192,0.90) 0%, rgba(21,101,192,0.40) 55%, rgba(0,0,0,0.05) 100%);
}
.featured-card .fc-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 28px;
  color: white;
}
.featured-card .fc-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.3;
}
.featured-card .fc-content p {
  font-size: 14px;
  margin: 0 0 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.featured-card .fc-link {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #00ACC1;
  display: inline-block;
  transition: color 0.3s ease;
}
.featured-card:hover .fc-link {
  color: #ffffff;
}

.navbar-nav {
  margin: 20px 0 0;
}
.page-links li {
  margin-right: 40px !important;
  margin-bottom: 10px;
}
.sub-page-links {
  list-style: none;
  margin-left: 0;
}
.sub-page-links li {
  padding-bottom: 15px;
}
.sub-page-links a {
  color: white;
}
.first-sub-page-links {
  margin-left: -20px;
}
#footer .social {
  float: none !important;
}
#footer .row-grid2 {
  margin-top: 15px;
}
#footer hr {
  margin-top: 10px;
}
#footer .branding {
  float: left !important;
  text-align: none;
}
#footer .branding img {
  max-height: 150px;
}
/* Medium Devices, Desktops */
/*@media only screen and (max-width : 992px) {
    #footer {
        .copyright {
            display:none;
        }
        .branding {
            margin-top: 10px;
            margin-bottom: 10px;
            float: none !important;
            text-align: center;
        }
        .address {
            margin-top: 20px;
        }
        .page-links li {
            margin-bottom: 5px;
            margin-right: 0 !important;
        }
        .first-sub-page-links {
            margin-left: 0;
            ul {
                padding-left: 0;
            }
        }
    }
}*/
@media only screen and (min-width: 1200px) {
  .row-grid {
    margin-top: 15px;
  }
  .row-grid.address {
    padding-left: 12px;
    color: white;
  }
  .menu-links {
    padding-right: 30px;
  }
  .first-sub-page-links {
    padding-top: 8px;
    padding-bottom: 10px;
  }
  #footer .branding {
    padding-top:10px;
    margin-top: -15px;
  }
  #footer hr {
    margin-top: 5px;
  }
  #footer .hr2 {
    margin-top: 0;
  }
  #footer .page-links {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .row.address p {
    margin-bottom: 0;
  }
}
@media all and (max-width: 1199px) {
  #footer.footer-on-md {
    text-align: center;
  }
  #footer .copyright {
    display: none;
  }
  #footer .branding {
    margin-top: 10px;
    margin-bottom: 10px;
    float: none !important;
    text-align: center;
  }
  #footer .branding img {
    margin-left: 0px;
  }
  #footer .address {
    margin-top: 20px;
  }
  #footer .page-links li {
    margin-bottom: 5px;
    margin-right: 0 !important;
  }
  #footer .first-sub-page-links {
    margin-left: 0;
  }
  #footer .first-sub-page-links ul {
    padding-left: 0;
  }
  .row.full-height {
    display: block;
    table-layout: auto;
    width: auto;
    height: auto;
  }
  .row.full-height > .col,
  .row.full-height > .col-xs-1,
  .row.full-height > .col-sm-1,
  .row.full-height > .col-md-1,
  .row.full-height > .col-lg-1,
  .row.full-height > .col-xl-1,
  .row.full-height > .col-xs-2,
  .row.full-height > .col-sm-2,
  .row.full-height > .col-md-2,
  .row.full-height > .col-lg-2,
  .row.full-height > .col-xl-2,
  .row.full-height > .col-xs-3,
  .row.full-height > .col-sm-3,
  .row.full-height > .col-md-3,
  .row.full-height > .col-lg-3,
  .row.full-height > .col-xl-3,
  .row.full-height > .col-xs-4,
  .row.full-height > .col-sm-4,
  .row.full-height > .col-md-4,
  .row.full-height > .col-lg-4,
  .row.full-height > .col-xl-4,
  .row.full-height > .col-xs-5,
  .row.full-height > .col-sm-5,
  .row.full-height > .col-md-5,
  .row.full-height > .col-lg-5,
  .row.full-height > .col-xl-5,
  .row.full-height > .col-xs-6,
  .row.full-height > .col-sm-6,
  .row.full-height > .col-md-6,
  .row.full-height > .col-lg-6,
  .row.full-height > .col-xl-6,
  .row.full-height > .col-xs-7,
  .row.full-height > .col-sm-7,
  .row.full-height > .col-md-7,
  .row.full-height > .col-lg-7,
  .row.full-height > .col-xl-7,
  .row.full-height > .col-xs-8,
  .row.full-height > .col-sm-8,
  .row.full-height > .col-md-8,
  .row.full-height > .col-lg-8,
  .row.full-height > .col-xl-8,
  .row.full-height > .col-xs-9,
  .row.full-height > .col-sm-9,
  .row.full-height > .col-md-9,
  .row.full-height > .col-lg-9,
  .row.full-height > .col-xl-9,
  .row.full-height > .col-xs-10,
  .row.full-height > .col-sm-10,
  .row.full-height > .col-md-10,
  .row.full-height > .col-lg-10,
  .row.full-height > .col-xl-10,
  .row.full-height > .col-xs-11,
  .row.full-height > .col-sm-11,
  .row.full-height > .col-md-11,
  .row.full-height > .col-lg-11,
  .row.full-height > .col-xl-11,
  .row.full-height > .col-xs-12,
  .row.full-height > .col-sm-12,
  .row.full-height > .col-md-12,
  .row.full-height > .col-lg-12,
  .row.full-height > .col-xl-12 {
    display: block;
    width: auto;
    height: auto;
  }
}
.col-grid {
  overflow: visible;
}
@media (max-width: 992px) {
  .navbar .container {
    width: 100%;
  }
}
@media (max-width: 1200px) {
  .section-figures {
    width: 100%;
  }
}
@media (max-width: 992px) {
  #navbar::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
  }
  #navbar::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
  }
}
@media (min-width: 992px) {
  .col-grid .col .text p,
  .col-grid .col .text ul,
  .col-grid .col .text ol {
    margin-left: 45px !important;
    margin-right: 45px !important;
  }
}
.work-here-bordered {
  vertical-align: middle !important;
}
.slogan {
  margin-bottom: 0 !important;
}
.section-work-here h2 {
  color: white;
}