@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --primary-dark: #1e3a8a;
  --accent: #f59e0b;
  --dark: #0b1120;
  --dark-2: #111827;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --success: #059669;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  margin: 0;
  padding: 0;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

a, a:hover, a:focus {
  text-decoration: none;
}

/* ===== LAYOUT HELPERS ===== */
.layout_padding {
  padding-top: 90px;
  padding-bottom: 90px;
}

.layout_padding2 {
  padding: 45px 0;
}

.layout_padding2-top {
  padding-top: 45px;
}

.layout_padding2-bottom {
  padding-bottom: 45px;
}

.layout_padding-top {
  padding-top: 90px;
}

.layout_padding-bottom {
  padding-bottom: 90px;
}

/* ===== HERO AREA ===== */
.hero_area {
  position: relative;
  background: linear-gradient(135deg, #0b1120 0%, #0f2057 45%, #1a1060 100%);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

/* ===== HEADER ===== */
.header_section {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header_section .container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

.header_section .header_bottom {
  padding: 0;
}

.header_section .header_top {
  padding: 15px 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  padding: 0;
  margin: 0;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 22px;
}

.navbar-brand span {
  color: var(--accent);
  text-transform: uppercase;
}

.custom_nav-container {
  padding: 0;
}

.custom_nav-container .navbar-nav {
  margin-left: auto;
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.custom_nav-container .navbar-nav .nav-item:hover .nav-link,
.custom_nav-container .navbar-nav .nav-item.active .nav-link {
  color: var(--accent);
}

.custom_nav-container .navbar-toggler {
  outline: none;
  border: none;
  padding: 0;
  width: 34px;
  height: 34px;
  background: none;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 6px 0;
  transition: all 0.3s;
  position: relative;
  border-radius: 2px;
}

.custom_nav-container .navbar-toggler span::before,
.custom_nav-container .navbar-toggler span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  top: -8px;
  border-radius: 2px;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::after {
  top: 8px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span::before,
.custom_nav-container .navbar-toggler[aria-expanded="true"] span::after {
  transform: rotate(90deg);
  top: 0;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] .s-1 {
  transform: rotate(45deg);
  margin: 0;
  margin-bottom: -4px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] .s-2 {
  display: none;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] .s-3 {
  transform: rotate(-45deg);
  margin: 0;
  margin-top: -4px;
}

/* ===== HERO SLIDER / CONTENT ===== */
.slider_section {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 55px 0 65px;
}

.slider_section .row {
  align-items: center;
  width: 100%;
}

.slider_section #customCarousel1 {
  width: 100%;
  position: unset;
}

.slider_section .detail-box {
  padding-bottom: 10px;
}

.slider_section .detail-box h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

/* Remove legacy <br><br> spacing in h1 */
.slider_section .detail-box h1 br {
  display: none;
}

.slider_section .detail-box p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.97rem;
  line-height: 1.75;
}

.slider_section .detail-box a {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 36px;
  background-color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 8px;
  color: var(--dark);
  margin-top: 20px;
  transition: all 0.25s;
}

.slider_section .detail-box a:hover {
  background-color: transparent;
  color: var(--accent);
}

.slider_section .img-box {
  text-align: center;
}

.slider_section .img-box img {
  width: 100%;
  max-width: 340px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

/* ===== HEADING CONTAINER ===== */
.heading_container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 40px;
}

.heading_container h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 0;
}

.heading_container h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 2px;
}

.heading_container p {
  margin-bottom: 0;
}

.heading_container.heading_center {
  align-items: center;
  text-align: center;
}

.heading_container.heading_center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ===== CONTACT / FORM SECTION ===== */
.contact_section {
  background: var(--bg-light);
}

.contact_section .container {
  max-width: 680px;
}

.contact_section input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  height: 52px;
  margin-bottom: 16px;
  padding: 0 18px;
  background: var(--white);
  outline: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.contact_section input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.contact_section input::placeholder {
  color: #94a3b8;
}

.contact_section input.message-box {
  height: 110px;
  padding-top: 15px;
}

.contact_section button {
  border: none;
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(30, 64, 175, 0.35);
  margin-top: 8px;
}

.contact_section button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.45);
}

.contact_section .map_container {
  height: 360px;
}

.contact_section .map_container .map {
  height: 100%;
}

/* ===== CHECKBOX / FIELDSET STYLES ===== */
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-right: 10px;
  vertical-align: middle;
  accent-color: var(--primary-light);
  cursor: pointer;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.form-check:last-of-type {
  border-bottom: none;
}

.form-check label {
  margin: 0;
  color: var(--text);
  font-size: 0.93rem;
  cursor: pointer;
}

.form-check-input {
  flex-shrink: 0;
}

fieldset {
  border: none;
  padding: 16px 20px 20px;
  margin: 20px 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

fieldset legend {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 16px;
  padding: 0;
  float: none;
  width: 100%;
  border: none;
}

fieldset legend:first-child {
  margin-top: 0;
}

.my-3 {
  margin-top: 14px !important;
  margin-bottom: 14px !important;
}

.mt-3 {
  margin-top: 16px !important;
}

/* Success message */
#mensagemSucesso {
  display: none;
  margin-top: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--success), #047857);
  padding: 14px 20px;
  border-radius: 10px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* ===== ABOUT / POLICY SECTION ===== */
.about_section {
  background: var(--white);
}

.about_section .row {
  align-items: flex-start;
}

.about_section .detail-box h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 14px;
}

.about_section .detail-box h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 2px;
}

.about_section .detail-box p {
  color: #374151;
  line-height: 1.85;
  font-size: 0.95rem;
  margin-top: 10px;
}

.about_section .detail-box a {
  margin-top: 20px;
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 36px;
  background-color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--white);
  transition: all 0.25s;
}

.about_section .detail-box a:hover {
  background-color: transparent;
  color: var(--primary);
}

.about_section .img-box img {
  width: 100%;
}

/* ===== PROFESSIONAL SECTION ===== */
.professional_section {
  background-color: #eef2ff;
}

.professional_section .row {
  align-items: center;
}

.professional_section .img-box img {
  width: 100%;
}

.professional_section .detail-box h2 {
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
}

.professional_section .detail-box p {
  margin-top: 20px;
}

.professional_section .detail-box a {
  margin-top: 25px;
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 40px;
  background-color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 8px;
  color: var(--dark);
  transition: all 0.25s;
}

.professional_section .detail-box a:hover {
  background-color: transparent;
  color: var(--accent);
}

/* ===== SERVICE SECTION ===== */
.service_section {
  position: relative;
}

.service_section .box {
  margin-top: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 28px 18px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  background: var(--white);
}

.service_section .box .img-box {
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service_section .box .img-box img {
  max-height: 100%;
  max-width: 100%;
  transition: all 0.3s;
}

.service_section .box .detail-box {
  margin-top: 15px;
}

.service_section .box .detail-box h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.service_section .box .detail-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service_section .box:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(30, 64, 175, 0.25);
}

.service_section .box:hover .img-box img {
  filter: brightness(0) invert(1);
}

.service_section .box:hover .detail-box p {
  color: rgba(255, 255, 255, 0.8);
}

.service_section .btn-box {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

.service_section .btn-box a {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 40px;
  background-color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--white);
  transition: all 0.25s;
}

.service_section .btn-box a:hover {
  background-color: transparent;
  color: var(--primary);
}

/* ===== FEATURE SECTION ===== */
.feature_section {
  transform: translateY(-50%);
}

.feature_section .feature_container {
  display: flex;
}

.feature_section .feature_container .box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 8px;
  padding: 40px 15px;
  background-color: var(--white);
  color: var(--primary);
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.feature_section .feature_container .box .img-box {
  width: 80px;
  height: 80px;
}

.feature_section .feature_container .box .img-box svg {
  width: 100%;
  height: auto;
  max-height: 100%;
  fill: var(--primary);
  transition: all 0.3s;
}

.feature_section .feature_container .box .img-box svg path {
  fill: var(--primary);
}

.feature_section .feature_container .box .name {
  margin-top: 18px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}

.feature_section .feature_container .box:hover,
.feature_section .feature_container .box.active {
  background-color: var(--accent);
  color: var(--dark);
}

.feature_section .feature_container .box:hover .img-box svg,
.feature_section .feature_container .box.active .img-box svg {
  fill: var(--dark);
}

.feature_section .feature_container .box:hover .img-box svg path,
.feature_section .feature_container .box.active .img-box svg path {
  fill: var(--dark);
}

/* ===== CLIENT SECTION ===== */
.client_section .heading_container {
  align-items: center;
  text-align: center;
}

.client_section .box {
  margin: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  border-radius: 12px;
  background: var(--white);
}

.client_section .box .client_id {
  display: flex;
}

.client_section .box .client_id .img-box {
  width: 110px;
  min-width: 110px;
  margin-right: 15px;
}

.client_section .box .client_id .img-box img {
  width: 100%;
  border-radius: 100%;
}

.client_section .box .client_id .client_detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  padding-right: 20px;
}

.client_section .box .client_id .client_detail .client_info h6 {
  margin-bottom: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.client_section .box .client_id .client_detail .client_info i {
  color: var(--accent);
}

.client_section .box .client_text {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.client_section .owl-carousel .owl-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.client_section .owl-carousel .owl-nav button {
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  outline: none;
  margin: 0 10px;
  color: var(--white);
  border-radius: 8px;
}

/* ===== INFO SECTION ===== */
.info_section {
  padding: 70px 0;
  background-color: var(--dark-2);
  text-align: center;
  color: var(--white);
}

.info_section h4 {
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 25px;
}

.info_section .social-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25px;
}

.info_section .social-box .box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 8px;
}

.info_section a {
  margin: 0 5px;
  color: var(--primary-light);
}

.info_section a i {
  font-size: 18px;
}

.info_section a:hover {
  color: var(--accent);
}

.info_items {
  position: relative;
}

.info_items a {
  position: relative;
}

.info_items .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info_items .item .img-box {
  width: 75px;
  height: 75px;
  border-radius: 100%;
  text-align: center;
  line-height: 75px;
  background-color: var(--primary);
  color: var(--white);
  transition: background-color 0.3s;
}

.info_items .item .img-box i {
  font-size: 22px;
}

.info_items .item p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.info_items .item:hover .img-box {
  background-color: var(--accent);
}

.info_items::before {
  content: "";
  position: absolute;
  top: 58px;
  width: 75%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  left: 50%;
  transform: translateX(-50%);
}

/* ===== QUOTE BTN ===== */
.quote_btn-container {
  display: flex;
  align-items: center;
}

.quote_btn-container a {
  color: var(--white);
  margin-right: 20px;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 500;
}

.quote_btn-container a span {
  margin-left: 5px;
}

.quote_btn-container a:hover {
  color: var(--accent);
}

/* ===== FOOTER ===== */
.footer_section {
  background-color: var(--dark);
}

.footer_section p {
  margin: 0;
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer_section a {
  color: inherit;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero_area {
    min-height: auto;
  }

  .slider_section {
    padding: 45px 0 55px;
  }

  .feature_section {
    transform: none;
    padding: 70px 0;
  }

  .feature_section .feature_container .box {
    padding: 28px 12px;
  }
}

@media (max-width: 767px) {
  .layout_padding {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .layout_padding-top {
    padding-top: 70px;
  }

  .layout_padding-bottom {
    padding-bottom: 70px;
  }

  .slider_section .detail-box {
    padding-bottom: 30px;
  }

  .slider_section .detail-box h1 {
    font-size: 1.65rem;
  }

  .slider_section .img-box {
    margin-top: 10px;
  }

  .feature_section .feature_container {
    flex-direction: column;
  }

  .feature_section .feature_container .box:not(:nth-last-child(1)) {
    margin-bottom: 15px;
  }

  .about_section .detail-box {
    margin-bottom: 40px;
  }

  .contact_section form {
    margin-bottom: 40px;
  }

  .professional_section .img-box {
    display: none;
  }

  .info_items::before {
    width: 1px;
    height: 90%;
    top: 25px;
  }
}

@media (max-width: 576px) {
  .slider_section .detail-box h1 {
    font-size: 1.45rem;
  }

  .contact_section button {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}
