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

:root {
  --fx-green: #1b7a4c;
  --fx-green-dark: #0f3d28;
  --fx-green-deep: #0a2a1b;
  --fx-green-soft: #e8f4ee;
  --fx-gold: #c4a35a;
  --fx-ink: #1c241f;
  --fx-muted: #5b675f;
  --fx-line: #dce6e0;
  --fx-paper: #f6f4ef;
  --fx-white: #ffffff;
  --fx-shadow: 0 18px 50px rgba(15, 61, 40, 0.12);
  --fx-radius: 18px;
  --primary-font: "Manrope", "Poppins", sans-serif;
  --h1-size: 3.15rem;
  --h2-size: 2.25rem;
  --primary-bg-color-2: linear-gradient(135deg, #0f3d28 0%, #1b7a4c 100%);
}

html {
  scroll-behavior: smooth;
}

body,
.fx-body {
  font-family: var(--primary-font);
  color: var(--fx-ink);
  background: var(--fx-white);
}

.fx-body h1,
.fx-body h2,
.fx-body h3,
.fx-body h4,
.fx-body h5,
.fx-body h6 {
  color: var(--fx-green-dark);
  letter-spacing: -0.03em;
}

.fx-body p {
  color: var(--fx-muted);
  line-height: 1.7;
}

.fx-body .main {
  background: var(--fx-white);
}

/* Buttons */
.fx-body .btn,
.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fx-body .btn:hover,
.fx-btn:hover {
  transform: translateY(-1px);
}

.fx-btn-primary,
.fx-body .btn-primary,
.fx-body .contact-box .btn,
.fx-body .image-box .btn,
.navbar .btn {
  background: var(--fx-green) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(27, 122, 76, 0.25);
}

.fx-btn-ghost,
.fx-body a.bg-transparent {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
}

.fx-btn-outline {
  background: transparent !important;
  color: var(--fx-green-dark) !important;
  border: 1px solid var(--fx-line) !important;
  box-shadow: none !important;
}

/* Header */
.fx-header.navbar {
  padding: 14px 0;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.fx-header .navbar-brand img {
  max-height: 52px;
  width: auto;
}

.fx-header .navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px !important;
}

@media (min-width: 992px) {
  .fx-header .navbar-nav .nav-link,
  .fx-header.navbar-sticky-on .navbar-nav .nav-link {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

.page-inner .navbar .navbar-brand-sticky,
.page-admin .navbar .navbar-brand-sticky {
  display: inline-block !important;
}

.page-inner .navbar .navbar-brand-regular,
.page-admin .navbar .navbar-brand-regular {
  display: none !important;
}

.fx-header.navbar-sticky-on,
.page-inner .fx-header,
.page-admin .fx-header {
  background: #fff !important;
  box-shadow: 0 8px 30px rgba(15, 61, 40, 0.08);
}

.fx-header.navbar-sticky-on .navbar-nav .nav-link,
.page-inner .fx-header .navbar-nav .nav-link,
.page-admin .fx-header .navbar-nav .nav-link {
  color: var(--fx-green-dark) !important;
}

.page-inner .fx-header .navbar-brand-regular,
.page-admin .fx-header .navbar-brand-regular,
.fx-header.navbar-sticky-on .navbar-brand-regular {
  display: none;
}

.page-inner .fx-header .navbar-brand-sticky,
.page-admin .fx-header .navbar-brand-sticky,
.fx-header.navbar-sticky-on .navbar-brand-sticky {
  display: inline-block;
}

.fx-header .fx-cta-phone {
  background: var(--fx-green) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 16px !important;
  font-weight: 700;
}

.page-inner .section,
.page-admin .section {
  padding-top: 130px;
}

.page-inner .fx-page-head,
.page-admin .fx-page-head {
  padding: 150px 0 40px;
  background:
    linear-gradient(135deg, rgba(10, 42, 27, 0.88), rgba(27, 122, 76, 0.72)),
    url("../img/fotobg.jpg") center/cover no-repeat;
  color: #fff;
}

.fx-page-head h1,
.fx-page-head h2,
.fx-page-head p {
  color: #fff !important;
}

/* Hero */
.fx-hero {
  min-height: 92vh;
  height: auto !important;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background:
    linear-gradient(110deg, rgba(10, 42, 27, 0.88) 0%, rgba(15, 61, 40, 0.62) 55%, rgba(10, 42, 27, 0.35) 100%),
    url("../img/fotobg.jpg") center/cover no-repeat !important;
}

.fx-hero.bg-overlay::after {
  display: none;
}

.fx-hero .shape-bottom {
  display: none;
}

.fx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fx-hero h1 {
  color: #fff !important;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  max-width: 16ch;
}

.fx-hero p {
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 1.08rem;
  max-width: 38rem;
}

.fx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fx-hero-panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 22px;
  color: #fff;
}

.fx-hero-panel h4,
.fx-hero-panel p,
.fx-hero-panel strong {
  color: #fff !important;
}

.fx-hero-panel img {
  max-height: 72px;
  margin-bottom: 12px;
}

/* Stats */
.fx-stats {
  margin-top: -48px;
  position: relative;
  z-index: 3;
  padding: 0 0 20px;
}

.fx-stats-grid {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--fx-shadow);
  padding: 28px 12px;
}

.fx-stat {
  text-align: center;
  padding: 12px;
}

.fx-stat .counter,
.fx-stat .fw-7 {
  color: var(--fx-green);
  font-size: 2rem;
  font-weight: 800;
}

.fx-stat h5 {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--fx-muted);
  font-weight: 600;
}

/* Products */
.fx-section {
  padding: 88px 0;
}

.fx-section-head {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.fx-section-head span {
  color: var(--fx-green);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fx-catalog-panel {
  background: var(--fx-paper);
  border: 1px solid var(--fx-line);
  border-radius: 20px;
  padding: 16px;
  margin: 0 0 28px;
}

.fx-quote-panel {
  background: #f6f4ef;
  margin-bottom: 18px;
}

.fx-searchbar {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--fx-line);
  border-radius: 14px;
  min-height: 56px;
  overflow: hidden;
}

.fx-searchbar:focus-within {
  border-color: var(--fx-green);
  box-shadow: 0 0 0 3px rgba(27, 122, 76, 0.14);
}

.fx-searchbar-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fx-green);
  font-size: 1.05rem;
}

.fx-searchbar .form-control,
.fx-searchbar input {
  flex: 1 1 auto;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  min-height: 56px !important;
  height: 56px !important;
  padding: 0 8px 0 0 !important;
  font-size: 1rem;
}

.fx-searchbar input[type="search"]::-webkit-search-decoration,
.fx-searchbar input[type="search"]::-webkit-search-cancel-button,
.fx-searchbar input[type="search"]::-webkit-search-results-button,
.fx-searchbar input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.fx-searchbar-clear {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--fx-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.fx-catalog-count {
  flex: 0 0 auto;
  color: var(--fx-muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0 16px 0 8px;
  margin: 0;
  min-height: 0;
  text-align: right;
  border-left: 1px solid var(--fx-line);
  line-height: 1.3;
}

.fx-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 14px 0 0;
}

.fx-filter {
  border: 1px solid var(--fx-line);
  background: #fff;
  color: var(--fx-green-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.fx-filter.is-active,
.fx-filter:hover {
  background: var(--fx-green);
  border-color: var(--fx-green);
  color: #fff;
}

@media (max-width: 767px) {
  .fx-searchbar {
    flex-wrap: wrap;
    min-height: 0;
  }

  .fx-searchbar-icon {
    height: 52px;
    width: 48px;
    flex-basis: 48px;
  }

  .fx-searchbar .form-control,
  .fx-searchbar input {
    min-height: 52px !important;
    height: 52px !important;
  }

  .fx-catalog-count {
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--fx-line);
    text-align: left;
    padding: 8px 16px;
  }
}

.fx-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.fx-product-col {
  min-width: 0;
}

.fx-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.fx-pager button {
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--fx-line);
  background: #fff;
  color: var(--fx-green-dark);
  font-weight: 700;
}

.fx-pager button.is-active,
.fx-pager button:hover {
  background: var(--fx-green);
  border-color: var(--fx-green);
  color: #fff;
}

.fx-pager button:disabled {
  opacity: 0.4;
  cursor: default;
  background: #fff;
  color: var(--fx-muted);
}

@media (max-width: 991px) {
  .fx-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .fx-catalog-grid {
    grid-template-columns: 1fr;
  }
}

.fx-product-card {
  background: #fff;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fx-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fx-shadow);
}

.fx-product-card .fx-thumb {
  height: 190px;
  background: var(--fx-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fx-product-card .fx-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fx-product-card .fx-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fx-cat-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fx-green);
  margin-bottom: 8px;
}

.fx-product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  min-height: 2.6em;
}

.fx-product-card .fx-excerpt {
  font-size: 0.9rem;
  color: var(--fx-muted);
  flex: 1;
}

.fx-product-card .fx-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.fx-product-card .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 0.85rem;
}

/* About / mission */
.fx-about {
  background: var(--fx-paper);
}

.fx-about iframe,
.fx-about img {
  border-radius: 18px;
}

.fx-mission {
  background:
    linear-gradient(120deg, rgba(10, 42, 27, 0.92), rgba(27, 122, 76, 0.78)),
    url("../img/deposito.png") center/cover no-repeat !important;
}

.fx-mission.bg-overlay::after {
  display: none;
}

.fx-mission-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 22px;
  height: 100%;
}

.fx-mission-card h3,
.fx-mission-card p {
  color: #fff !important;
}

/* Contact */
.fx-contact {
  background: #fff;
}

.fx-contact-card,
.fx-form {
  background: var(--fx-paper);
  border-radius: 22px;
  padding: 28px;
  height: 100%;
}

.fx-contact-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--fx-line);
  color: var(--fx-ink) !important;
}

.fx-contact-item:last-child {
  border-bottom: 0;
}

.fx-contact-item i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--fx-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fx-body .form-control {
  border-radius: 12px;
  border: 1px solid var(--fx-line);
  min-height: 48px;
  padding: 12px 14px;
  background: #fff;
}

.fx-body textarea.form-control {
  min-height: 140px;
}

.fx-body .form-control:focus {
  border-color: var(--fx-green);
  box-shadow: 0 0 0 3px rgba(27, 122, 76, 0.15);
}

/* Footer */
.fx-footer,
.fx-footer.footer-area,
.fx-footer.footer-fixed {
  position: relative !important;
  z-index: 2 !important;
  background: var(--fx-green-deep);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0;
}

.fx-footer .height-emulator,
.height-emulator {
  display: none !important;
}

.fx-footer-inner {
  padding: 56px 0 36px;
}

.fx-footer-brand {
  display: inline-block;
  margin-bottom: 14px;
}

.fx-footer-brand img {
  display: block;
  max-height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.fx-footer-lead {
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

.fx-footer-title {
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 8px 0 16px;
}

.fx-footer p,
.fx-footer a,
.fx-footer .copyright-area {
  color: rgba(255, 255, 255, 0.82) !important;
}

.fx-footer-links,
.fx-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fx-footer-links a,
.fx-footer-contact a {
  display: inline-block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
}

.fx-footer-links a:hover,
.fx-footer-contact a:hover,
.fx-footer-by a:hover {
  color: #fff !important;
}

.fx-footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.fx-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fx-footer-social a:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.fx-footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

.fx-footer-wa {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: #25d366 !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none !important;
}

.fx-footer-wa svg {
  width: 18px;
  height: 18px;
  display: block;
}

.fx-footer-wa:hover {
  background: #1ebe5d !important;
  color: #fff !important;
}

.fx-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  font-size: 0.9rem;
}

.fx-footer-by {
  margin-top: 8px;
}

@media (min-width: 768px) {
  .fx-footer-by {
    margin-top: 0;
  }
}

.fx-footer-by a {
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

/* WhatsApp float */
.fx-whats {
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  left: auto !important;
  top: auto !important;
  z-index: 1080 !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: auto !important;
  height: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  text-decoration: none !important;
}

.fx-whats-label {
  background: #fff;
  color: #128c7e;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.2);
  white-space: nowrap;
  line-height: 1.2;
}

.fx-whats-btn {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  flex: 0 0 60px;
}

.fx-whats-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: fx-wa-pulse 2s ease-out infinite;
}

.fx-whats-btn svg,
.fx-whats-btn i,
.fx-whats-btn .svg-inline--fa {
  width: 32px;
  height: 32px;
  font-size: 32px;
  line-height: 1;
  color: #fff;
  display: block;
}

.fx-whats:hover .fx-whats-btn {
  background: #1ebe5d;
}

.fx-whats:hover {
  text-decoration: none !important;
}

@keyframes fx-wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.balaoWhatsapp,
.balaoWhatsappLegenda,
.balaoWhatsappLink {
  display: none !important;
}

#scrollUp {
  background: var(--fx-green) !important;
  left: auto !important;
  right: 26px;
  bottom: 96px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

/* Auth / quote / admin surfaces */
.fx-auth-card,
.fx-quote-card {
  background: #fff;
  border: 1px solid var(--fx-line);
  border-radius: 22px;
  box-shadow: var(--fx-shadow);
  padding: 28px;
}

.fx-quote-row {
  border: 1px solid var(--fx-line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fff;
  align-items: center;
}

.fx-quote-row img {
  border-radius: 8px;
}

.fx-quote-row.is-selected {
  border-color: var(--fx-green);
  background: #f3faf6;
}

.fx-quote-toolbar {
  max-width: none;
  margin-bottom: 16px;
}

.fx-quote-selected {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fx-green);
}

.fx-qty {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  max-width: 180px;
  margin-left: auto;
}

.fx-qty-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--fx-line);
  background: #fff;
  color: var(--fx-green-dark);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.fx-qty-btn:first-child {
  border-radius: 10px 0 0 10px;
}

.fx-qty-btn:last-child {
  border-radius: 0 10px 10px 0;
}

.fx-qty-btn:hover {
  background: var(--fx-green);
  border-color: var(--fx-green);
  color: #fff;
}

.fx-qty-input {
  width: 64px;
  height: 42px;
  border-radius: 0 !important;
  text-align: center;
  border-left: 0 !important;
  border-right: 0 !important;
  min-height: 42px !important;
  padding: 0 4px !important;
}

.fx-orcamento-filter {
  border: 1px solid var(--fx-line);
  background: #fff;
  color: var(--fx-green-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.fx-orcamento-filter.is-active,
.fx-orcamento-filter:hover {
  background: var(--fx-green);
  border-color: var(--fx-green);
  color: #fff;
}

@media (max-width: 767px) {
  .fx-qty {
    margin-left: 0;
    max-width: none;
    justify-content: stretch;
  }

  .fx-qty-input {
    flex: 1;
    width: auto;
  }
}

.page-admin .fx-admin-shell {
  background: var(--fx-paper);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--fx-shadow);
}

.page-admin .nav-tabs {
  border: 0;
  gap: 8px;
}

.page-admin .nav-tabs .nav-link,
.page-admin .nav-tabs button.nav-link {
  border: 1px solid var(--fx-line);
  border-radius: 999px !important;
  background: #fff;
  color: var(--fx-green-dark);
  font-weight: 700;
}

.page-admin .nav-tabs .nav-link.active {
  background: var(--fx-green);
  color: #fff;
  border-color: var(--fx-green);
}

.page-admin .table {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.page-admin .modal-content,
.fx-body .modal-content {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.fx-body .modal-header {
  border-bottom: 1px solid var(--fx-line);
}

.fx-body .modal {
  background: rgba(8, 22, 16, 0.72);
}

.fx-body .modal-backdrop,
.modal-backdrop {
  background-color: #081610;
}

.fx-body .modal-backdrop.show,
.fx-body .modal-backdrop.in,
.modal-backdrop.show,
.modal-backdrop.in {
  opacity: 0.78;
}

.fx-ficha-modal .modal-dialog {
  max-width: 780px;
  margin: 1.25rem auto;
  max-height: calc(100vh - 2.5rem);
}

.fx-ficha-modal .modal-content {
  max-height: calc(100vh - 2.5rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fx-ficha-modal .modal-header,
.fx-ficha-modal .modal-footer {
  flex: 0 0 auto;
}

.fx-ficha-modal .modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.fx-ficha-modal .modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  align-items: center;
}

.fx-ficha-modal .modal-footer .btn {
  margin: 0;
}

.fx-ficha-conteudo img {
  max-width: 100%;
  height: auto;
}

.fx-ficha-conteudo .fx-doc-photo img {
  border-radius: 12px;
  background: #f6f4ef;
}

.fx-ficha-conteudo .fx-doc-section h3 {
  border-radius: 8px;
}

.fx-ficha-pdf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fx-line);
}

.fx-ficha-pdf-head img {
  max-height: 42px;
  width: auto;
}

.fx-ficha-acoes-hint {
  width: 100%;
  font-size: 0.82rem;
  color: var(--fx-muted);
  margin: 0;
}

.fx-print {
  max-width: 820px;
  margin: 40px auto;
  background: #fff;
  padding: 36px;
  border: 1px solid var(--fx-line);
  border-radius: 18px;
}

.fx-print img {
  max-width: 100%;
  height: auto;
}

.fx-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--fx-muted);
}

.fx-wa-wait {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(10, 42, 27, 0.92), rgba(27, 122, 76, 0.85)),
    url("../img/fotobg.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 24px;
}

.fx-wa-wait h1 {
  color: #fff;
  font-size: 1.6rem;
}

@media (max-width: 575px) {
  .fx-whats-label {
    display: none;
  }
}

@media (max-width: 991px) {
  .fx-header .navbar-inner {
    background: #fff;
  }

  .fx-header .navbar-nav .nav-link {
    color: var(--fx-green-dark) !important;
  }

  .fx-hero {
    min-height: auto;
    padding-top: 120px;
  }

  .fx-hero h1 {
    max-width: none;
  }

  .fx-stats {
    margin-top: 0;
    padding-top: 24px;
  }
}

@media print {
  .fx-header,
  .fx-footer,
  .fx-whats,
  #scrollUp {
    display: none !important;
  }

  .fx-print {
    box-shadow: none;
    border: 0;
    margin: 0;
    padding: 0;
  }
}
