/* Tendas Feitor — visual refresh */

:root {
  --tf-ink: #142033;
  --tf-muted: #5c6d7e;
  --tf-navy: #0d2740;
  --tf-blue: #0e5f96;
  --tf-blue-deep: #0a4a76;
  --tf-line: #e4ebf2;
  --tf-paper: #f4f7fb;
  --tf-radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  color: var(--tf-ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5,
.sppb-title-heading,
.sppb-cta-title {
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.03em;
}

a {
  color: var(--tf-blue);
}

a:hover,
a:focus {
  color: var(--tf-blue-deep);
}

/* Header */
#sp-header {
  height: 112px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--tf-line);
  box-shadow: none;
  backdrop-filter: saturate(1.2) blur(14px);
}

#sp-header .logo,
#sp-header.menu-fixed .logo {
  height: 112px;
}

#sp-header .logo img {
  max-height: 88px;
  width: auto;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  line-height: 112px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tf-navy);
  padding: 0 16px;
}

.sp-megamenu-parent > li > a {
  position: relative;
}

.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li:hover > a {
  color: var(--tf-blue);
  background: transparent;
}

.sp-megamenu-parent > li:not(.sp-has-child).active > a::after,
.sp-megamenu-parent > li:not(.sp-has-child):hover > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 36px;
  height: 2px;
  background: var(--tf-blue);
  border-radius: 2px;
}

#offcanvas-toggler {
  line-height: 112px;
  color: var(--tf-navy);
}

#offcanvas-toggler > i,
#offcanvas-toggler > i:hover {
  color: var(--tf-navy);
}

.offcanvas-menu {
  background: var(--tf-navy);
}

.offcanvas-menu .nav.menu > li > a,
.offcanvas-menu a {
  color: #fff;
  font-weight: 700;
}

.offcanvas-menu .sp-module-title {
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

/* Hero and closing band */
#section-id-1498941375,
#section-id-1499299399598 {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 !important;
  min-height: 78vh;
  background-position: center !important;
}

#section-id-1499299399598 {
  min-height: 42vh;
}

#section-id-1498941375::before,
#section-id-1499299399598::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 22, 38, 0.78) 0%, rgba(8, 22, 38, 0.42) 58%, rgba(8, 22, 38, 0.28) 100%);
}

#section-id-1498941375 .sppb-row-container,
#section-id-1499299399598 .sppb-row-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

#section-id-1498941375 .sppb-cta-title,
#section-id-1499299399598 .sppb-cta-title {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.15rem, 4.8vw, 3.6rem) !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
}

#section-id-1499299399598 .sppb-cta-title {
  max-width: 22ch;
  font-size: clamp(1.7rem, 3vw, 2.4rem) !important;
}

.sppb-btn,
.btn-primary,
.sppb-btn-primary {
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--tf-navy) !important;
  font-weight: 800 !important;
  letter-spacing: 0;
  padding: 14px 26px !important;
  box-shadow: 0 12px 30px rgba(6, 18, 32, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sppb-btn:hover,
.sppb-btn:focus,
.btn-primary:hover,
.sppb-btn-primary:hover {
  background: var(--tf-paper) !important;
  color: var(--tf-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(6, 18, 32, 0.22);
}

/* About and content */
#section-id-1498941394 {
  padding: 88px 0 40px !important;
  background: #fff;
}

.sppb-section-title {
  margin-bottom: 28px;
}

.sppb-section-title .sppb-title-heading {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--tf-navy);
}

.sppb-section-title .sppb-title-subheading {
  max-width: 40rem;
  margin: 12px auto 0;
  color: var(--tf-muted);
  font-size: 1.05rem;
}

.sppb-addon-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tf-navy);
}

#section-id-1506802920265 {
  background: var(--tf-paper);
  padding: 56px 0 !important;
}

.item-page,
.sppb-addon-content {
  font-size: 1.05rem;
}

.item-page h1,
.page-header h1 {
  font-weight: 800;
  color: var(--tf-navy);
}

/* Portfolio */
.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li > a {
  border-radius: 999px;
  font-weight: 700;
}

.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li.active > a,
.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li > a:hover {
  background: var(--tf-navy) !important;
}

.sp-simpleportfolio.layout-gallery-nospace .sp-simpleportfolio-items {
  gap: 14px;
}

.sp-simpleportfolio .sp-simpleportfolio-item {
  border-radius: var(--tf-radius);
  overflow: hidden;
}

.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay {
  background: rgba(13, 39, 64, 0.55);
}

/* Footer */
#sp-bottom {
  background: var(--tf-navy) !important;
  color: #d7e2ec;
  padding: 64px 0 48px !important;
}

#sp-bottom a {
  color: #fff;
}

#sp-bottom .sp-module-title {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 16px;
}

#sp-bottom .sp-module-content p,
#sp-bottom .tf-address {
  color: #d7e2ec;
  margin: 0 0 14px;
  line-height: 1.6;
}

.tf-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tf-contacts li {
  margin: 0 0 6px;
}

.tf-contacts a {
  font-weight: 700;
  text-decoration: none;
}

.tf-contacts a:hover {
  text-decoration: underline;
}

#sp-footer {
  background: #09192b;
  color: rgba(255, 255, 255, 0.62);
  padding: 16px 0;
  font-size: 14px;
}

#sp-footer .sp-copyright {
  display: block;
  text-align: center;
}

/* Contactos */
body.itemid-536 .sppb-addon-text-block,
body.itemid-536 .sppb-addon-text-block .sppb-addon-content,
body.itemid-536 .sppb-addon-text-block .sppb-addon-content p,
body.itemid-536 .sppb-addon-text-block .sppb-addon-content a,
body.itemid-536 .sppb-addon-text-block .sppb-addon-content li,
body.itemid-536 .bfQuickMode,
body.itemid-536 .bfQuickMode label,
body.itemid-536 .bfQuickMode .bfLabel,
body.itemid-536 .bfQuickMode input,
body.itemid-536 .bfQuickMode textarea,
body.itemid-536 .bfQuickMode select,
body.itemid-536 .bfQuickMode button,
body.itemid-536 .bfFormDiv label,
body.itemid-536 .bfFormDiv input,
body.itemid-536 .bfFormDiv textarea {
  font-size: 20px !important;
  line-height: 1.65;
}

body.itemid-536 .sppb-addon-title,
body.itemid-536 .sppb-addon-text-block h3 {
  font-size: 34px !important;
  line-height: 1.2;
}

body.itemid-536 .sp-page-title h2,
body.itemid-536 .sp-page-title h1,
body.itemid-536 .sp-page-title .sp-title {
  font-size: 42px;
}

.tf-map iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  border-radius: 16px;
  background: #e8eef3;
}

.tf-map-link {
  margin: 10px 0 0;
  font-size: 1rem;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select,
.bfQuickMode input,
.bfQuickMode textarea {
  border: 1px solid var(--tf-line) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  box-shadow: none !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--tf-blue) !important;
  outline: none;
}

@media (max-width: 991px) {
  #sp-header,
  #sp-header .logo {
    height: 92px;
  }

  #sp-header .logo img {
    max-height: 70px;
  }

  #offcanvas-toggler {
    line-height: 92px;
  }

  #section-id-1498941375 {
    min-height: 70vh;
  }

  .sp-megamenu-parent > li:not(.sp-has-child).active > a::after,
  .sp-megamenu-parent > li:not(.sp-has-child):hover > a::after {
    display: none;
  }
}
