/* ==========================================================================
   Mundo dos Calheiros — Premium UI layer
   Overrides the Mobirise theme without touching markup, URLs or content.
   Loaded AFTER assets/mobirise/css/mbr-additional.css on every page.
   ========================================================================== */

:root {
  --mdc-navy: #0e2233;
  --mdc-navy-800: #123049;
  --mdc-navy-700: #163a58;
  --mdc-navy-ink: #0b1a26;
  --mdc-red: #c1121f;
  --mdc-red-600: #a10e1a;
  --mdc-red-050: #fdecec;
  --mdc-ink: #16232e;
  --mdc-body: #3d4c59;
  --mdc-muted: #6b7b8a;
  --mdc-line: #e2e8ee;
  --mdc-line-strong: #cdd7e0;
  --mdc-bg: #ffffff;
  --mdc-bg-soft: #f4f7fa;
  --mdc-bg-mist: #eef2f6;
  --mdc-radius: 4px;
  --mdc-radius-lg: 8px;
  --mdc-shadow: 0 1px 2px rgba(14, 34, 51, .06), 0 8px 24px -18px rgba(14, 34, 51, .35);
  --mdc-shadow-lift: 0 2px 4px rgba(14, 34, 51, .08), 0 18px 40px -24px rgba(14, 34, 51, .45);
  --mdc-container: 1180px;
  --mdc-header-h: 84px;
  --mdc-font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--mdc-font);
  color: var(--mdc-body);
  background: var(--mdc-bg);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.mdc-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5 {
  font-family: var(--mdc-font);
  color: var(--mdc-ink);
  line-height: 1.18;
  letter-spacing: -.01em;
}
p { margin-bottom: 1rem; }
a { color: var(--mdc-red); }
a:hover { color: var(--mdc-red-600); }
strong, b { font-weight: 600; color: var(--mdc-ink); }
img { max-width: 100%; height: auto; }
:focus-visible {
  outline: 3px solid rgba(193, 18, 31, .45);
  outline-offset: 2px;
  border-radius: 2px;
}
.mdc-skip {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--mdc-navy); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--mdc-radius) 0;
}
.mdc-skip:focus { left: 0; color: #fff; }

/* Sections: kill the flat grey Mobirise default, alternate surfaces */
section { background-color: var(--mdc-bg); }
.mdc-surface-soft { background-color: var(--mdc-bg-soft); }
.mdc-surface-mist { background-color: var(--mdc-bg-mist); }
.mdc-surface-navy { background-color: var(--mdc-navy); }

.container { max-width: var(--mdc-container); }

.mdc-kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mdc-red);
  margin-bottom: .75rem;
}
.mdc-section-title {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 1rem;
}
.mdc-section-lead {
  font-size: 1.06rem;
  color: var(--mdc-muted);
  max-width: 720px;
  margin: 0 auto;
}
.mdc-center { text-align: center; }
.mdc-head { margin-bottom: 2.75rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn, .btn-md, .btn-sm, .btn-lg {
  font-family: var(--mdc-font);
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--mdc-radius);
  border-width: 1px;
  padding: .85rem 1.5rem;
  margin: .35rem .4rem;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-transform: none;
  font-size: 1rem;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .mbr-iconfont, .btn .mbr-iconfont-btn { margin-right: 0; font-size: 1.05em; }

.btn-primary, .btn-danger,
.mdc-btn-primary {
  background-color: var(--mdc-red) !important;
  border-color: var(--mdc-red) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px -14px rgba(193, 18, 31, .8);
}
.btn-primary:hover, .btn-danger:hover, .mdc-btn-primary:hover {
  background-color: var(--mdc-red-600) !important;
  border-color: var(--mdc-red-600) !important;
  color: #fff !important;
}
.btn-white, .mdc-btn-ghost {
  background-color: #fff !important;
  border-color: var(--mdc-line-strong) !important;
  color: var(--mdc-ink) !important;
}
.btn-white:hover, .mdc-btn-ghost:hover {
  border-color: var(--mdc-navy) !important;
  color: var(--mdc-navy) !important;
}
.mdc-btn-wa {
  background-color: #1f9d55 !important;
  border-color: #1f9d55 !important;
  color: #fff !important;
}
.mdc-btn-wa:hover { background-color: #178044 !important; border-color: #178044 !important; color: #fff !important; }
.mdc-btn-navy {
  background-color: var(--mdc-navy) !important;
  border-color: var(--mdc-navy) !important;
  color: #fff !important;
}
.mdc-btn-navy:hover { background-color: var(--mdc-navy-700) !important; border-color: var(--mdc-navy-700) !important; color: #fff !important; }

.mdc-link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--mdc-red); font-size: .95rem;
}
.mdc-link-arrow svg { width: 16px; height: 16px; transition: transform .18s ease; }
.mdc-link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.mdc-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--mdc-line);
  box-shadow: 0 1px 0 rgba(14, 34, 51, .02);
  transition: box-shadow .2s ease, padding .2s ease;
}
.mdc-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(14, 34, 51, .6); }
.mdc-header .navbar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  max-width: var(--mdc-container);
  margin: 0 auto;
  min-height: var(--mdc-header-h);
  transition: min-height .2s ease, padding .2s ease;
}
.mdc-header.is-stuck .navbar { min-height: 64px; padding: .5rem 1rem; }
.mdc-header .navbar-brand { display: flex; align-items: center; padding: 0; margin-right: 1rem; }
.mdc-header .navbar-logo img {
  height: 3.4rem;
  width: auto;
  transition: height .2s ease;
}
.mdc-header.is-stuck .navbar-logo img { height: 2.7rem; }

.mdc-header .navbar-collapse {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: .5rem;
}
.mdc-header .navbar-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.mdc-header .nav-item { position: relative; }
.mdc-header .nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--mdc-ink) !important;
  font-size: .92rem;
  font-weight: 500;
  padding: .5rem .58rem !important;
  border-radius: var(--mdc-radius);
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.mdc-header .nav-link:hover,
.mdc-header .nav-item.is-active > .nav-link {
  color: var(--mdc-red) !important;
  background: var(--mdc-red-050);
}
.mdc-header .nav-link .mbr-iconfont { display: none; }
.mdc-header .dropdown-toggle::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  margin-left: .1rem;
  display: inline-block;
}
.mdc-header .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 248px;
  background: #fff;
  border: 1px solid var(--mdc-line);
  border-radius: var(--mdc-radius-lg);
  box-shadow: var(--mdc-shadow-lift);
  padding: .5rem;
  margin-top: .35rem;
  display: none;
  z-index: 1200;
}
.mdc-header .nav-item.dropdown:hover > .dropdown-menu,
.mdc-header .nav-item.dropdown:focus-within > .dropdown-menu,
.mdc-header .dropdown-menu.show { display: block; }
.mdc-header .dropdown-item {
  display: block;
  padding: .6rem .75rem;
  border-radius: var(--mdc-radius);
  color: var(--mdc-body) !important;
  font-size: .93rem;
  font-weight: 500;
  white-space: normal;
  transition: background-color .15s ease, color .15s ease;
}
.mdc-header .dropdown-item:hover { background: var(--mdc-bg-soft); color: var(--mdc-red) !important; }

.mdc-header-cta { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.mdc-header-cta .btn { margin: 0; padding: .7rem 1.15rem; font-size: .92rem; }
.mdc-header-wa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--mdc-radius);
  border: 1px solid var(--mdc-line-strong); color: var(--mdc-ink);
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.mdc-header-wa:hover { border-color: #1f9d55; color: #1f9d55; background: #f2fbf6; }
.mdc-header-wa svg { width: 20px; height: 20px; }

/* Hamburger */
.mdc-header .navbar-toggler {
  display: none;
  border: 1px solid var(--mdc-line-strong);
  border-radius: var(--mdc-radius);
  background: #fff;
  padding: 0;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  margin-left: auto;
}
.mdc-header .navbar-toggler:focus { outline: none; }
.mdc-header .mdc-burger { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
.mdc-header .mdc-burger span {
  display: block; height: 2px; width: 100%; background: var(--mdc-ink);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.mdc-header .navbar-toggler[aria-expanded="true"] .mdc-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mdc-header .navbar-toggler[aria-expanded="true"] .mdc-burger span:nth-child(2) { opacity: 0; }
.mdc-header .navbar-toggler[aria-expanded="true"] .mdc-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Collapsed navigation (< 1200px) */
@media (max-width: 1199.98px) {
  .mdc-header .navbar { flex-wrap: wrap; }
  .mdc-header .navbar-toggler { display: inline-flex; }
  .mdc-header .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--mdc-line);
    box-shadow: var(--mdc-shadow-lift);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .75rem 1rem 1.25rem;
    max-height: calc(100vh - var(--mdc-header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mdc-header .navbar-collapse.show { display: flex; }
  .mdc-header .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
  }
  .mdc-header .nav-item { width: 100%; border-bottom: 1px solid var(--mdc-line); }
  .mdc-header .nav-item:last-child { border-bottom: none; }
  .mdc-header .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 1rem .25rem !important;
    font-size: 1.05rem;
    min-height: 52px;
    border-radius: 0;
  }
  .mdc-header .nav-link:hover { background: transparent; }
  .mdc-header .dropdown-menu {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding: 0 0 .5rem .75rem;
    margin: 0;
    min-width: 0;
  }
  .mdc-header .nav-item.dropdown:not(.is-open) > .dropdown-menu { display: none; }
  .mdc-header .dropdown-toggle::after { transform: rotate(45deg); transition: transform .2s ease; }
  .mdc-header .nav-item.is-open > .nav-link .dropdown-toggle::after,
  .mdc-header .nav-item.is-open > .nav-link::after { transform: rotate(-135deg); }
  .mdc-header .dropdown-item { padding: .85rem .25rem; min-height: 48px; display: flex; align-items: center; }
  .mdc-header-cta { flex-direction: column; align-items: stretch; margin-top: .75rem; gap: .6rem; }
  .mdc-header-cta .btn { width: 100%; padding: .95rem 1rem; font-size: 1rem; }
  .mdc-header-wa { width: 100%; height: 48px; }
}

/* --------------------------------------------------------------------------
   Hero — extHeader (home + local pages)
   -------------------------------------------------------------------------- */
.extHeader, .header11 { position: relative; }
.extHeader { background-color: var(--mdc-navy); }
.extHeader .mbr-overlay,
.header11 .mbr-overlay {
  background-color: var(--mdc-navy) !important;
  opacity: .94 !important;
}
.extHeader .container, .header11 .container { position: relative; z-index: 2; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.extHeader .mbr-white, .header11 .mbr-white { color: #fff; }
.extHeader h1, .header11 h1 {
  color: #fff;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.05rem);
  font-weight: 600;
  line-height: 1.14;
  margin-bottom: 1rem;
}
.extHeader h1 strong, .header11 h1 strong { color: #fff; font-weight: 700; }
.extHeader .mbr-section-text, .header11 .mbr-section-text {
  color: #cddbe7;
  font-size: 1.12rem;
  max-width: 620px;
}
.extHeader .mbr-section-text a, .header11 .mbr-section-text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.extHeader .mbr-figure img, .header11 .mbr-figure img {
  border-radius: var(--mdc-radius-lg);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.extHeader .mbr-section-btn .btn, .header11 .mbr-section-btn .btn { margin-left: 0; margin-right: .5rem; }
.extHeader .animated-element, .header11 .animated-element { display: block; color: #fff; }

/* Service-page hero: keep it compact, unify buttons */
.header11.mbr-fullscreen, .extHeader.mbr-fullscreen { min-height: auto !important; }
.header11 .container { max-width: var(--mdc-container); }
.header11 .mbr-section-btn .btn { background: #fff !important; color: var(--mdc-ink) !important; border-color: #fff !important; }
.header11 .mbr-section-btn .btn:first-child { background: var(--mdc-red) !important; color: #fff !important; border-color: var(--mdc-red) !important; }
.header11 .mbr-section-btn .btn:hover { filter: brightness(.95); }

/* Hero trust chips */
.mdc-trust {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  margin: 1.75rem 0 0; padding: 0; list-style: none;
}
.mdc-trust li {
  display: inline-flex; align-items: center; gap: .55rem;
  color: #dbe6ef; font-size: .95rem; font-weight: 500;
}
.mdc-trust svg { width: 18px; height: 18px; color: #4dbd7a; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Solutions / editorial blocks
   -------------------------------------------------------------------------- */
.mdc-solutions { padding: 4.5rem 0; background: var(--mdc-bg); }
.mdc-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.mdc-feature:last-child { margin-bottom: 0; }
.mdc-feature.mdc-reverse .mdc-feature-media { order: 2; }
.mdc-feature-media img {
  width: 100%;
  border-radius: var(--mdc-radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--mdc-shadow);
}
.mdc-feature h3 { font-size: 1.65rem; font-weight: 600; margin: 0 0 .75rem; }
.mdc-feature p { color: var(--mdc-body); margin-bottom: 1rem; }
.mdc-feature ul.mdc-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.mdc-feature ul.mdc-list li {
  position: relative; padding-left: 1.65rem; margin-bottom: .55rem; color: var(--mdc-body);
}
.mdc-feature ul.mdc-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--mdc-red);
}

/* Compact product tiles */
.mdc-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--mdc-line);
  border: 1px solid var(--mdc-line);
  border-radius: var(--mdc-radius-lg);
  overflow: hidden;
}
.mdc-tile {
  background: #fff;
  padding: 1.6rem 1.5rem;
  transition: background-color .18s ease;
}
.mdc-tile:hover { background: var(--mdc-bg-soft); }
.mdc-tile h4 { font-size: 1.08rem; font-weight: 600; margin: 0 0 .4rem; }
.mdc-tile p { font-size: .92rem; color: var(--mdc-muted); margin: 0; }
.mdc-tile svg { width: 26px; height: 26px; color: var(--mdc-red); margin-bottom: .85rem; }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.mdc-gallery { padding: 4.5rem 0; background: var(--mdc-bg-soft); }
.mdc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1rem;
}
.mdc-gallery-grid figure {
  margin: 0; overflow: hidden; border-radius: var(--mdc-radius-lg);
  background: var(--mdc-bg-mist);
}
.mdc-gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.mdc-gallery-grid figure:hover img { transform: scale(1.03); }
.mdc-gallery-grid .mdc-g-wide { grid-column: span 2; }
.mdc-gallery-grid .mdc-g-tall { grid-row: span 2; }

/* --------------------------------------------------------------------------
   Company / mission
   -------------------------------------------------------------------------- */
.mdc-company { padding: 4.5rem 0; background: #fff; }
.mdc-company .mdc-lead { font-size: 1.12rem; color: var(--mdc-body); }
.mdc-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.mdc-pillar { border-top: 2px solid var(--mdc-red); padding-top: 1.1rem; }
.mdc-pillar h4 { font-size: 1.05rem; font-weight: 600; margin: 0 0 .5rem; }
.mdc-pillar p { font-size: .95rem; color: var(--mdc-muted); margin: 0; }

/* --------------------------------------------------------------------------
   Regions (home)
   -------------------------------------------------------------------------- */
.mdc-regions { padding: 4.5rem 0; background: var(--mdc-bg-soft); }
.mdc-region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.mdc-region-card {
  background: #fff; border: 1px solid var(--mdc-line); border-radius: var(--mdc-radius-lg);
  padding: 1.35rem 1.4rem; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.mdc-region-card:hover { border-color: var(--mdc-line-strong); box-shadow: var(--mdc-shadow); transform: translateY(-2px); }
.mdc-region-card h3 { font-size: 1.08rem; font-weight: 600; margin: 0 0 .25rem; }
.mdc-region-card span { font-size: .88rem; color: var(--mdc-muted); }
.mdc-regions details {
  border: 1px solid var(--mdc-line); border-radius: var(--mdc-radius-lg); background: #fff;
}
.mdc-regions summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.4rem;
  font-weight: 600; color: var(--mdc-ink); display: flex; align-items: center; justify-content: space-between;
}
.mdc-regions summary::-webkit-details-marker { display: none; }
.mdc-regions summary::after {
  content: ""; width: 9px; height: 9px; border-right: 2px solid var(--mdc-red); border-bottom: 2px solid var(--mdc-red);
  transform: rotate(45deg); transition: transform .2s ease;
}
.mdc-regions details[open] summary::after { transform: rotate(-135deg); }
.mdc-regions .mdc-details-body { padding: 0 1.4rem 1.5rem; border-top: 1px solid var(--mdc-line); }
.mdc-regions .mdc-details-body h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 .75rem; }
.mdc-link-cloud { columns: 4; column-gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.mdc-link-cloud li { break-inside: avoid; margin-bottom: .4rem; }
.mdc-link-cloud a { color: var(--mdc-body); font-size: .9rem; }
.mdc-link-cloud a:hover { color: var(--mdc-red); text-decoration: underline; }

/* Region lists kept indexable inside the collapsible */
.mdc-details-body .features1 { padding: .5rem 0 1rem; background: transparent; }
.mdc-details-body .features1 .container { max-width: none; padding-left: 0; padding-right: 0; }
.mdc-details-body .features1 .mbr-section-title { font-size: 1.1rem !important; margin-top: 1.25rem; }
.mdc-details-body .features1 .list-group-item a { font-size: .88rem; }

/* --------------------------------------------------------------------------
   Contact / quote
   -------------------------------------------------------------------------- */
.mdc-quote { padding: 4.5rem 0; background: var(--mdc-navy); color: #fff; }
.mdc-quote .mdc-section-title, .mdc-quote .mdc-kicker { color: #fff; }
.mdc-quote .mdc-kicker { color: #7fb2d9; }
.mdc-quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.mdc-quote-info { color: #cddbe7; }
.mdc-quote-info a { color: #fff; }
.mdc-quote-phone { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.5rem; font-weight: 600; color: #fff; margin: .5rem 0 1.25rem; }
.mdc-quote-phone svg { width: 24px; height: 24px; color: #4dbd7a; }
.mdc-quote-list { list-style: none; padding: 0; margin: 0; }
.mdc-quote-list li { display: flex; gap: .6rem; margin-bottom: .6rem; color: #cddbe7; }
.mdc-quote-list svg { width: 18px; height: 18px; color: #4dbd7a; flex-shrink: 0; margin-top: .25rem; }

.mdc-form { background: #fff; border-radius: var(--mdc-radius-lg); padding: 2rem; box-shadow: var(--mdc-shadow-lift); }
.mdc-form .form-group { margin-bottom: 1rem; }
.mdc-form label { display: block; font-size: .88rem; font-weight: 600; color: var(--mdc-ink); margin-bottom: .4rem; }
.mdc-form .form-control {
  background: #fff;
  border: 1px solid var(--mdc-line-strong);
  border-radius: var(--mdc-radius);
  color: var(--mdc-ink);
  min-height: 50px;
  padding: .75rem .9rem;
  font-size: 1rem;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mdc-form .form-control:focus {
  border-color: var(--mdc-navy);
  box-shadow: 0 0 0 3px rgba(14, 34, 51, .12);
}
.mdc-form textarea.form-control { min-height: 120px; resize: vertical; }
.mdc-form .btn { width: 100%; margin: .5rem 0 0; padding: 1rem; font-size: 1.02rem; }
.mdc-form .form-note { font-size: .85rem; color: var(--mdc-muted); margin-top: .85rem; }
.mdc-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mdc-form .form-row .form-group { margin-bottom: 0; }

/* Mobirise form override (extForm) */
.extForm { padding: 4rem 0; }
.extForm .mbr-overlay { background: var(--mdc-bg-soft) !important; opacity: 1 !important; }
.extForm .form-wrap { position: relative; z-index: 2; }
.extForm .mbr-section-title, .extForm .text-wrap .mbr-section-title, .extForm h1, .extForm h2 { color: var(--mdc-ink) !important; }
.extForm .display-1 { font-size: 2.5rem !important; }
.extForm .display-7 { font-size: 1rem !important; }
.extForm .form-control {
  background: #fff; border: 1px solid var(--mdc-line-strong); border-radius: var(--mdc-radius);
  min-height: 50px; padding: .75rem .9rem; color: var(--mdc-ink);
}
.extForm .form-control:focus { border-color: var(--mdc-navy); box-shadow: 0 0 0 3px rgba(14, 34, 51, .12); }
.extForm .btn-form { width: 100%; padding: 1rem; }

/* Contacts cards */
.extContacts1 { padding: 4.5rem 0; background: #fff; }
.extContacts1 .card-wrapper {
  background: #fff; border: 1px solid var(--mdc-line); border-radius: var(--mdc-radius-lg);
  padding: 1.75rem; height: 100%; transition: box-shadow .2s ease, transform .2s ease;
}
.extContacts1 .card-wrapper:hover { box-shadow: var(--mdc-shadow-lift); transform: translateY(-3px); }
.extContacts1 .card-icon { font-size: 2rem; color: var(--mdc-red); }
.extContacts1 .card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: .75rem; }
.extContacts1 .mbr-text, .extContacts1 .mbr-text strong, .extContacts1 .card-box,
.extContacts1 .mbr-white, .extContacts1 .mbr-white strong { color: var(--mdc-body) !important; }
.extContacts1 .mbr-text a, .extContacts1 .mbr-text a.text-white, .extContacts1 a { color: var(--mdc-body) !important; }
.extContacts1 .mbr-text a:hover { color: var(--mdc-red) !important; }
.extContacts1 .line-wrap { display: none; }

/* Info (cards accepted) */
.extInfo { padding: 3rem 0; background: var(--mdc-bg-soft); }
.extInfo .mbr-section-title { font-size: 1.5rem; }
.extInfo .list-inline-item img { filter: grayscale(1); opacity: .65; height: 26px; width: auto; transition: filter .2s ease, opacity .2s ease; }
.extInfo .list-inline-item:hover img { filter: none; opacity: 1; }

/* --------------------------------------------------------------------------
   Accordion (toggle1) — products / FAQ
   -------------------------------------------------------------------------- */
.toggle1 { padding: 4.5rem 0; background: #fff; }
.toggle1.mdc-products { padding: 1rem 0 0; background: transparent; }
.toggle1.mdc-products .mbr-section-title { font-size: 1.35rem !important; }
.toggle1 .mbr-overlay { background: transparent !important; opacity: 0 !important; }
.toggle1 .mbr-section-title { color: var(--mdc-ink); }
.toggle1 .card {
  background: #fff; border: 1px solid var(--mdc-line) !important; border-radius: var(--mdc-radius-lg) !important;
  margin-bottom: .75rem; overflow: hidden;
}
.toggle1 .card-header { background: #fff; border: none; padding: 0; }
.toggle1 .panel-title {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem !important;
  color: var(--mdc-ink) !important;
  font-weight: 600;
  min-height: 56px;
}
.toggle1 .panel-title h4 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.toggle1 .panel-title h4, .toggle1 .panel-title h4 * { color: var(--mdc-ink) !important; }
.toggle1 .panel-title .sign { order: 2; color: var(--mdc-red) !important; font-size: 1.15rem !important; transition: transform .2s ease; }
.toggle1 .panel-title[aria-expanded="true"] .sign { transform: rotate(180deg); }
.toggle1 .panel-body { color: var(--mdc-body); padding: 0 1.35rem 1.35rem; }
.toggle1 .panel-body p, .toggle1 .panel-body .mbr-fonts-style { color: var(--mdc-body) !important; margin: 0; }

/* --------------------------------------------------------------------------
   Legacy content sections
   -------------------------------------------------------------------------- */
.features1 { padding: 3.5rem 0; background: #fff; }
.features1 .mbr-section-title { font-size: 1.6rem; }
.features1 h1, .features1 h2, .features1 h3, .features1 h4 { color: var(--mdc-ink) !important; }
.features1 p, .features1 .mbr-text, .features1 P { color: var(--mdc-body) !important; }
.features1 .list-group-item { background: transparent; border: none; padding: .3rem 0; }
.features1 .list-group-item a { color: var(--mdc-body); font-size: .92rem; }
.features1 .list-group-item a:hover { color: var(--mdc-red); text-decoration: underline; }

.features6 { padding: 4rem 0; background: var(--mdc-bg-soft); }
.features6 .card { border: none; background: transparent; }
.features6 .mbr-iconfont { color: var(--mdc-red) !important; }
.features6 .card-title { font-size: 1.15rem; font-weight: 600; }

.features10 { padding: 4rem 0; background: var(--mdc-navy); }
.features10 .mbr-overlay { background: var(--mdc-navy) !important; opacity: .95 !important; }
.features10 .main-title { color: #fff; }
.features10 .card-wrapper { border-radius: var(--mdc-radius-lg); }
.features10 .card-img img { border-radius: var(--mdc-radius-lg); }
.features10 .card-title { color: #fff; }
.features10 .card-text { color: #cddbe7; }

.step3 { padding: 4rem 0; background: #fff; }
.step3 .mbr-section-title { font-size: 1.7rem; }
.step3 .mbr-section-subtitle { color: var(--mdc-muted); font-weight: 400; }
.step3 .step {
  background: var(--mdc-navy); color: #fff; border-radius: 50%;
  width: 42px; height: 42px; font-weight: 600; flex-shrink: 0;
}
.step3 .mbr-step-title { font-size: 1.2rem; font-weight: 600; }
.step3 .separline { border-bottom: 1px solid var(--mdc-line); }

.social-buttons2, .cid-social { padding: 2.5rem 0; }
.cid-social .mbr-iconfont-social, .social-list .mbr-iconfont-social { color: var(--mdc-red) !important; font-size: 30px !important; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.extFooter {
  background: var(--mdc-navy-ink) !important;
  color: #aebfcd;
  padding: 3.5rem 0 2rem;
}
.extFooter .media-container-row { align-items: flex-start; }
.extFooter .img-logo-footer { height: 3.2rem; width: auto; background: #fff; padding: 6px 10px; border-radius: var(--mdc-radius); }
.extFooter .text-logo-footer, .extFooter .text-logo-footer a, .extFooter .text-logo-footer a.text-black { color: #fff !important; }
.extFooter .copyright, .extFooter .text-copyright { color: #8ba0b1 !important; font-size: .88rem; }
.extFooter .text-copyright a, .extFooter .text-copyright a.text-black, .extFooter .text-copyright b,
.extFooter .text-copyright strong { color: #c6d4df !important; }
.extFooter .text-copyright a:hover { color: #fff !important; }
.extFooter .social-btns a { color: #9fb2c1; }
.extFooter .social-btns .mbr-iconfont-social { color: #9fb2c1 !important; font-size: 22px !important; }
.extFooter .social-btns a:hover .mbr-iconfont-social { color: #fff !important; }

.mdc-footer { background: var(--mdc-navy-ink); color: #9fb2c1; padding: 4rem 0 2rem; }
.mdc-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.mdc-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; font-weight: 600; }
.mdc-footer p { font-size: .92rem; color: #9fb2c1; }
.mdc-footer a { color: #c6d4df; }
.mdc-footer a:hover { color: #fff; }
.mdc-footer ul { list-style: none; padding: 0; margin: 0; }
.mdc-footer li { margin-bottom: .55rem; font-size: .93rem; }
.mdc-footer .mdc-footer-brand img { height: 3.2rem; width: auto; background: #fff; padding: 6px 10px; border-radius: var(--mdc-radius); margin-bottom: 1rem; }
.mdc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .85rem; color: #7e93a4;
}
.mdc-footer-bottom a { color: #9fb2c1; }
.mdc-footer-contact li { display: flex; gap: .55rem; }
.mdc-footer-contact svg { width: 17px; height: 17px; color: var(--mdc-red); flex-shrink: 0; margin-top: .3rem; }
/* Dark surfaces: keep bold text legible */
.extFooter strong, .extFooter b,
.mdc-footer strong, .mdc-footer b { color: inherit !important; }
.mdc-quote strong, .mdc-quote b { color: #fff !important; }
.extHeader strong, .extHeader b, .header11 strong, .header11 b { color: #fff !important; }

/* --------------------------------------------------------------------------
   Mobile action bar
   -------------------------------------------------------------------------- */
.mdc-mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-top: 1px solid var(--mdc-line);
  box-shadow: 0 -8px 24px -18px rgba(14, 34, 51, .6);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mdc-mobilebar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: .6rem .25rem; min-height: 56px; font-size: .72rem; font-weight: 600;
  color: var(--mdc-ink); letter-spacing: .01em;
}
.mdc-mobilebar a svg { width: 20px; height: 20px; }
.mdc-mobilebar a.mdc-mb-wa { color: #1f9d55; }
.mdc-mobilebar a.mdc-mb-cta { color: #fff; background: var(--mdc-red); }
@media (max-width: 767.98px) {
  .mdc-mobilebar { display: grid; }
  body { padding-bottom: 60px; }
  .scrollToTop, .mbr-arrow-up { bottom: 74px !important; }
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
.mdc-reveal.mdc-reveal-init { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.mdc-reveal.mdc-reveal-init.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mdc-reveal.mdc-reveal-init { opacity: 1; transform: none; transition: none; }
  .btn:hover, .mdc-region-card:hover, .extContacts1 .card-wrapper:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .mdc-link-cloud { columns: 3; }
}
@media (max-width: 991.98px) {
  body { font-size: 16.5px; }
  .mdc-feature { grid-template-columns: 1fr; gap: 1.75rem; margin-bottom: 3rem; }
  .mdc-feature.mdc-reverse .mdc-feature-media { order: 0; }
  .mdc-tiles { grid-template-columns: repeat(2, 1fr); }
  .mdc-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .mdc-pillars { grid-template-columns: 1fr; gap: 1rem; }
  .mdc-region-grid { grid-template-columns: repeat(2, 1fr); }
  .mdc-quote-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mdc-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .mdc-link-cloud { columns: 2; }
  .extHeader .container, .header11 .container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}
@media (max-width: 575.98px) {
  .mdc-tiles { grid-template-columns: 1fr; }
  .mdc-region-grid { grid-template-columns: 1fr; }
  .mdc-form .form-row { grid-template-columns: 1fr; }
  .mdc-footer-grid { grid-template-columns: 1fr; }
  .mdc-link-cloud { columns: 1; }
  .mdc-gallery-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .mdc-gallery-grid .mdc-g-wide { grid-column: span 2; }
  .mdc-gallery-grid .mdc-g-tall { grid-row: span 1; }
  .mdc-form { padding: 1.35rem; }
  .mdc-quote-phone { font-size: 1.3rem; }
  .extFooter .social-btns { margin-top: 1rem; }
}

/* ==========================================================================
   React "Manus" pages (bairros/ e cidades/) — #root article
   ========================================================================== */
#root > div[style] {
  max-width: 860px !important;
  padding: 32px 20px 56px !important;
  font-family: var(--mdc-font) !important;
  color: var(--mdc-body) !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
}
#root h1 {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem);
  font-weight: 600;
  color: var(--mdc-ink);
  margin: 1rem 0 1rem;
  line-height: 1.2;
}
#root h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--mdc-ink);
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--mdc-line);
}
#root h3 { font-size: 1.1rem; font-weight: 600; color: var(--mdc-ink); margin: 1.35rem 0 .4rem; }
#root p { color: var(--mdc-body); }
#root ul { padding-left: 1.15rem; }
#root li { margin-bottom: .4rem; }
#root a { color: var(--mdc-red); text-decoration: none; }
#root a:hover { text-decoration: underline; }
#root img { border-radius: var(--mdc-radius-lg); margin-bottom: 1rem; }
#root hr { border: none; border-top: 1px solid var(--mdc-line); margin: 2.5rem 0; }
#root > div[style] > p:first-of-type { font-size: 1.05rem; }
@media (max-width: 575.98px) {
  #root > div[style] { padding: 24px 16px 48px !important; }
}

/* --------------------------------------------------------------------------
   Developer credit — Suprema Sites Express (site colors)
   -------------------------------------------------------------------------- */
.mdc-dev-credit {
  display: flex;
  justify-content: center;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}
.mdc-dev-credit-inner {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem .5rem;
  max-width: 100%;
  padding: .55rem 1.35rem;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.4;
  color: #e7edf1;
  background: rgba(193, 18, 31, .14);
  border: 1px solid rgba(193, 18, 31, .55);
  border-radius: 999px;
  box-shadow: 0 8px 22px -16px rgba(0, 0, 0, .8);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.mdc-dev-credit-inner:hover {
  border-color: rgba(193, 18, 31, .9);
  box-shadow: 0 0 16px rgba(193, 18, 31, .35);
}
.mdc-dev-credit .mdc-dev-heart {
  width: 14px;
  height: 14px;
  color: var(--mdc-red);
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px rgba(193, 18, 31, .75));
  animation: mdc-heartbeat 1.5s ease-in-out infinite;
}
.mdc-dev-credit .mdc-dev-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 800;
  color: #ffb3b8;
  border-bottom: 1px dashed rgba(193, 18, 31, .65);
  transition: color .2s ease, border-color .2s ease;
}
.mdc-dev-credit .mdc-dev-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.mdc-dev-credit .mdc-dev-logo {
  height: 18px;
  width: auto;
  display: inline-block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 2px rgba(193, 18, 31, .55));
  transition: transform .3s ease;
}
.mdc-dev-credit .mdc-dev-link:hover .mdc-dev-logo { transform: scale(1.1); }
@keyframes mdc-heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
@media (prefers-reduced-motion: reduce) {
  .mdc-dev-credit .mdc-dev-heart { animation: none; }
  .mdc-dev-credit .mdc-dev-logo,
  .mdc-dev-credit .mdc-dev-link { transition: none; }
}
.mdc-footer .mdc-dev-credit { margin-top: 2rem; }
.mdc-dev-credit { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.5rem; }
