/*
Serra Dev header logo sizing
Seletores auditados no HTML real:
- .desktop-nav .navbar .navbar-brand img
- .mobile-responsive-nav .mobile-responsive-menu .logo img
*/

html {
  scroll-behavior: smooth;
}

:root {
  color-scheme: light;
}

body.sd-page {
  background: #f4f7f9 !important;
  color: #1f3441 !important;
}

.desktop-nav .navbar .navbar-brand,
.mobile-responsive-nav .mobile-responsive-menu .logo a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.desktop-nav .navbar .navbar-brand img,
.mobile-responsive-nav .mobile-responsive-menu .logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

@media (min-width: 768px) and (max-width: 991px) {
  .mobile-responsive-nav .mobile-responsive-menu .logo img {
    height: 44px;
    max-width: 190px;
  }
}

@media (min-width: 992px) {
  .desktop-nav .navbar .navbar-brand img,
  .mobile-responsive-nav .mobile-responsive-menu .logo img {
    height: 40px;
    max-width: 200px;
  }
}

.sd-navbar-wrap {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10020;
  border-bottom: 1px solid #dde7ed;
}

.sd-navbar-wrap .navbar-nav .nav-link {
  color: #132f40;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
  opacity: 1;
}

.sd-navbar-wrap .navbar-nav .nav-link.active,
.sd-navbar-wrap .navbar-nav .nav-link:hover {
  color: #41b3bf;
}

.sd-navbar-wrap .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: #41b3bf;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.sd-navbar-wrap .navbar-nav .nav-link:hover::after,
.sd-navbar-wrap .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.sd-navbar-wrap.is-sticky {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(12, 30, 40, 0.1);
}

.sd-navbar-wrap .desktop-nav .navbar .navbar-nav .nav-item .nav-link {
  color: #132f40 !important;
  opacity: 1 !important;
}

.sd-dark-section {
  background: linear-gradient(135deg, #132f40 0%, #1d455b 100%);
  color: #eaf5fa;
}

.sd-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 108px 0 78px;
}

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

.sd-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #132f40;
}

.sd-hero-poster {
  position: absolute;
  inset: 0;
  margin: 0;
}

.sd-hero-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.04);
  opacity: 0;
  transition: opacity 0.45s ease;
  will-change: opacity;
}

.sd-hero-video.is-ready {
  opacity: 1;
}

.sd-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(19, 47, 64, 0.72), rgba(19, 47, 64, 0.48)),
    radial-gradient(circle at 78% 22%, rgba(65, 179, 191, 0.24), rgba(65, 179, 191, 0));
}

.sd-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(92, 242, 242, 0.38);
  color: #5cf2f2;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sd-hero h1 {
  color: #f5fbff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.13;
  margin-bottom: 16px;
  max-width: 19ch;
}

.sd-hero p {
  color: #cde2eb;
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: 0;
}

.sd-highlights li {
  color: #dbeaf1;
  margin-bottom: 8px;
  font-size: 15px;
}

.sd-highlights i {
  color: #50f2e2;
  margin-right: 6px;
}

.sd-section {
  padding: 90px 0;
}

.sd-light-section {
  background: #ffffff !important;
}

.sd-tint-section {
  background: #ecf2f6 !important;
}

.section-title .top-title,
.section-title.left-title .top-title {
  color: #41b3bf;
}

.section-title.left-title h2 {
  color: #1f3543;
  margin-bottom: 0;
}

.sd-card {
  background: #ffffff;
  border: 1px solid #dde7ed;
  border-radius: 16px;
  padding: 14px;
  height: 100%;
  box-shadow: 0 12px 30px rgba(13, 31, 42, 0.09);
}

.sd-card h3 {
  color: #1f3441;
  font-size: 22px;
  margin-bottom: 10px;
}

.sd-card p {
  color: #4d6676;
  margin-bottom: 0;
  font-size: 15px;
}

.sd-service-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  border: 1px solid rgba(65, 179, 191, 0.35);
  background: linear-gradient(160deg, rgba(65, 179, 191, 0.12), rgba(92, 242, 242, 0.08));
  color: #132f40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.25s ease;
}

.sd-service-icon i {
  font-size: 46px;
  line-height: 1;
  color: #132f40;
}

.sd-card:hover .sd-service-icon {
  border-color: rgba(65, 179, 191, 0.72);
  box-shadow: 0 10px 22px rgba(65, 179, 191, 0.2);
  transform: translateY(-2px);
}

.sd-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(19, 47, 64, 0.08);
}

.sd-media picture,
.sd-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.sd-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sd-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(19, 47, 64, 0.26), rgba(65, 179, 191, 0.15));
}

/* Zoom moderno e sutil apenas para a imagem da secao local */
#local .sd-media {
  transform: translateZ(0);
}

#local .sd-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: radial-gradient(circle at 78% 22%, rgba(92, 242, 242, 0.28), rgba(92, 242, 242, 0) 52%);
}

#local .sd-media img {
  will-change: transform, filter;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.65s ease;
}

#local .sd-media:hover img,
#local .sd-media:focus-within img {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.02);
}

#local .sd-media:hover::before,
#local .sd-media:focus-within::before {
  opacity: 1;
}

@media (hover: none) and (pointer: coarse) {
  #local .sd-media:hover img,
  #local .sd-media:focus-within img {
    transform: none;
    filter: none;
  }

  #local .sd-media:active img {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  #local .sd-media img,
  #local .sd-media::before {
    transition: none;
  }

  #local .sd-media:hover img,
  #local .sd-media:focus-within img,
  #local .sd-media:active img {
    transform: none;
    filter: none;
  }
}

.sd-media-hero {
  margin-bottom: 0;
  border: 1px solid rgba(92, 242, 242, 0.34);
  box-shadow: 0 24px 52px rgba(3, 11, 16, 0.42);
}

.sd-media-hero::after {
  background: linear-gradient(160deg, rgba(19, 47, 64, 0.4), rgba(65, 179, 191, 0.24));
}

.sd-step {
  background: #ffffff;
  border: 1px solid #dce7ed;
  border-radius: 16px;
  padding: 24px 20px;
  height: 100%;
  box-shadow: 0 10px 24px rgba(13, 31, 42, 0.06);
}

.sd-step span {
  display: inline-block;
  margin-bottom: 12px;
  color: #41b3bf;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sd-step h3 {
  color: #1f3441;
  font-size: 21px;
  margin-bottom: 10px;
}

.sd-step p {
  color: #4d6676;
  margin-bottom: 0;
  font-size: 15px;
}

.sd-trusted-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.sd-trusted-grid span {
  border: 1px solid #d6e3ea;
  border-radius: 999px;
  padding: 10px 14px;
  text-align: center;
  color: #335060;
  background: #ffffff;
  font-weight: 600;
}

.sd-faq-list {
  display: grid;
  gap: 12px;
}

.sd-faq-list details {
  background: #ffffff;
  border: 1px solid #dbe6ed;
  border-radius: 14px;
  padding: 14px 16px;
}

.sd-faq-list summary {
  cursor: pointer;
  color: #223b49;
  font-weight: 600;
}

.sd-faq-list p {
  color: #4d6676;
  margin: 10px 0 0;
}

.sd-local-text {
  color: #4d6676;
  font-size: 1.02rem;
}

.sd-contact-list li {
  margin-bottom: 10px;
  color: #4d6676;
}

.sd-contact-list i {
  color: #41b3bf;
  margin-right: 8px;
}

.sd-contact-list a {
  color: #233f4e;
}

.sd-contact-list a:hover {
  color: #41b3bf;
}

.sd-form {
  background: #ffffff;
  border: 1px solid #dbe7ed;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(13, 31, 42, 0.06);
}

.sd-form .form-label {
  color: #395565;
  font-weight: 600;
}

.sd-form .form-control {
  background: #f9fcfe;
  border: 1px solid #cedbe4;
  color: #233f4e;
  border-radius: 10px;
}

.sd-form .form-control::placeholder {
  color: #8099a8;
}

.sd-form .form-control:focus {
  border-color: rgba(65, 179, 191, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(65, 179, 191, 0.16);
}

.default-btn {
  border-radius: 10px;
  font-weight: 600;
  background-color: #41b3bf;
  border-color: #41b3bf;
  color: #ffffff;
}

.default-btn::before,
.default-btn::after {
  background: #50f2e2;
}

.default-btn.active {
  background: transparent;
  color: #132f40;
  border: 1px solid rgba(19, 47, 64, 0.26);
}

.default-btn.active::before,
.default-btn.active::after {
  background: rgba(19, 47, 64, 0.08);
}

.sd-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #d8e8f1;
}

.sd-footer-logo {
  height: 30px;
  width: auto;
}

.sd-whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #103142;
  background: #50f2e2;
  box-shadow: 0 12px 30px rgba(1, 8, 12, 0.28);
  z-index: 999;
  font-size: 28px;
}

.sd-whatsapp-float:hover {
  transform: translateY(-2px);
  color: #103142;
}

.mean-container .mean-nav,
.mean-container .mean-nav ul li a,
.mobile-responsive-nav {
  background-color: #ffffff !important;
  color: #132f40 !important;
}

.mobile-responsive-nav .mobile-responsive-menu {
  min-height: 46px;
}

.mobile-responsive-nav .mobile-responsive-menu .logo {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
}

.mobile-responsive-nav .mean-container a.meanmenu-reveal {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  position: absolute !important;
  top: 10px !important;
  right: 12px !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-indent: 0 !important;
  line-height: 1 !important;
  color: #132f40 !important;
  background: #ffffff !important;
  border: 1px solid rgba(19, 47, 64, 0.18) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(8, 21, 33, 0.12);
  z-index: 10001 !important;
}

.mobile-responsive-nav .mobile-responsive-menu.mean-container .mean-nav ul li a {
  color: #132f40 !important;
  opacity: 1 !important;
}

.mean-container a.meanmenu-reveal span {
  display: block !important;
  position: static !important;
  width: 22px !important;
  height: 2px !important;
  margin: 4px 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: #132f40 !important;
}

.mean-container a.meanmenu-reveal.meanclose {
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #132f40 !important;
  background: #ffffff !important;
}

.mean-container a.meanmenu-reveal.meanclose span {
  display: none !important;
}

.mobile-responsive-nav .mean-container .mean-bar {
  z-index: 10045 !important;
}

.mobile-responsive-nav .mean-container .mean-nav {
  position: relative;
  z-index: 10000 !important;
}

@media (max-width: 991px) {
  body.sd-page {
    background: #f4f7f9 !important;
    color: #1f3441 !important;
  }

  body.sd-page .sd-light-section {
    background: #ffffff !important;
  }

  body.sd-page .sd-tint-section {
    background: #ecf2f6 !important;
  }

  body.sd-page .sd-dark-section {
    background: linear-gradient(135deg, #132f40 0%, #1d455b 100%) !important;
    color: #eaf5fa !important;
  }

  .sd-hero {
    padding: 90px 0 56px;
  }

  .sd-section {
    padding: 74px 0;
  }

  .sd-hero h1 {
    max-width: 100%;
  }

  .sd-navbar-wrap {
    background: #ffffff;
  }
}

@media (max-width: 767px) {
  .sd-hero-video {
    display: block;
  }

  .sd-hero-overlay {
    background:
      linear-gradient(120deg, rgba(19, 47, 64, 0.64), rgba(19, 47, 64, 0.4)),
      radial-gradient(circle at 78% 22%, rgba(65, 179, 191, 0.18), rgba(65, 179, 191, 0));
  }
}

@media (prefers-reduced-motion: reduce) {
  .sd-hero-video {
    display: none;
  }
}

@media (max-width: 575px) {
  .sd-kicker {
    font-size: 11px;
  }

  .sd-hero-cta .default-btn {
    width: 100%;
    text-align: center;
  }

  .sd-form {
    padding: 18px;
  }

  .sd-whatsapp-float {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }
}
