:root {
  --bg: #f0f2f5;
  --bg-light: #ffffff;
  --text: #111111;
  --text-light: #ffffff;
  --icon-bg: #ffbf8a1a;
  --shadow-orange: rgba(250, 127, 8, 0.2);

  --navbar-bg: #ffffff;
  --card-bg: #ffffff;
  --section-bg: #f8f9fa;
  --footer-bg: #1a1a1b;

  --orange: #ff9800;

  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
}

html.dark-mode {
  --bg: #121212;
  --bg-light: #121212;
  --bg-card: #1e1e1e;
  --bg-footer: #000000;

  --text: #ffffff;
  --text-light: #ffffff;

  --icon-bg: #242424;

  --shadow-light: rgba(0, 0, 0, 1.5);
  --shadow-medium: rgba(0, 0, 0, 1);
  --shadow-orange: rgba(250, 127, 8, 0.1);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

.navbar {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: var(--bg);
  padding: 20px 24px;
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  border-radius: 50px;
  box-shadow: 0 4px 10px var(--shadow-light);
}

.navbar-logo {
  flex-shrink: 0;
}

.navbar-container-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 30px;
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;

}

.navbar-links li a {
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.navbar-links li a:hover {
  color: var(--orange);
}

.btn-flowdocs {
  background-color: var(--orange);
  color: var(--text-light);
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mobile-menu-icon {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.mobile-menu-icon span {
  width: 25px;
  height: 3px;
  background-color: var(--orange);
  border-radius: 3px;
  transition: 0.3s;
}

@media (max-width: 850px) {
  .mobile-menu-icon {
    display: flex;
  }

  .navbar-container-right {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: var(--bg);
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 20px var(--shadow-light);
    display: none;
    animation: fadeIn 0.3s ease;
  }

  .navbar-container-right.active {
    display: flex;
  }

  .navbar-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .navbar {
    border-radius: 25px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.about-amendola {
  max-width: 1100px;
  margin: 80px auto;
  padding: 40px 20px;
  font-family: 'Poppins', Arial, sans-serif;
  text-align: center;

}

.about-amendola h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.about-amendola .subtitle {
  font-size: 16px;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 0 15px 35px var(--shadow-light);
  transition: all 0.3s ease;
  text-align: left;
  animation: slideInUp 1s ease-out 2s both;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px var(--shadow-light);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: bold;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-amendola h2 {
    font-size: 32px;
  }
}

.cta-suporte {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 40px;
  background: var(--orange);
  border-radius: 24px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', Arial, sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  animation: slideInUp 1s ease-out 0.2s both;
}

.cta-suporte::before,
.cta-suporte::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  background: #fff;
}

.cta-suporte::before {
  width: 220px;
  height: 220px;
  top: -60px;
  left: -60px;
}

.cta-suporte::after {
  width: 260px;
  height: 260px;
  bottom: -80px;
  right: -80px;
}

.cta-suporte h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  animation: fadeIn 1.2s ease-out 0.4s both;
}

.cta-suporte p {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  animation: fadeIn 1.2s ease-out 0.6s both;
}

.cta-suporte a {
  display: inline-block;
  padding: 14px 38px;
  border-radius: 999px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.7s ease;
  position: relative;
  z-index: 1;
}

.cta-suporte a:hover {
  background: #ffffff;
  color: var(--orange);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .cta-suporte {
    padding: 50px 20px;
    margin: 0 20px;
  }

  .cta-suporte h2 {
    font-size: 28px;
  }
}

.emunicipio-section {
  padding: 100px 0;
  background-color: var(--bg-section);
  overflow: hidden;
}

.center {
  text-align: center;
  margin-bottom: 60px;
}

.emunicipio-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.feature-col {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateX(5px);
}

.feature-text h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: var(--text);
  font-weight: 700;
}

.feature-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  opacity: 0.8;
  line-height: 1.6;
}

.icon-box {
  min-width: 50px;
  height: 50px;
  background: var(--icon-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.phone-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.phone-wrapper {
  position: relative;
  padding: 10px;
}

.app-screen {
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 20px 40px var(--shadow-medium));
  transition: transform 0.5s ease;
}

.phone-wrapper:hover .app-screen {
  transform: scale(1.03) translateY(-10px);
}

.download-badges {
  display: flex;
  gap: 15px;
}

.download-badges img {
  height: 40px;
  transition: filter 0.3s, transform 0.2s;
}

.download-badges img:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

@media (max-width: 1024px) {
  .emunicipio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px 20px;
  }

  .phone-showcase {
    grid-column: span 2;
    order: -1;
  }
}

@media (max-width: 600px) {
  .emunicipio-grid {
    grid-template-columns: 1fr;
  }

  .phone-showcase {
    grid-column: span 1;
  }

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

.contact-section {
  padding: 80px 0;
  background-color: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 90%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.subtitle {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  display: block;
  margin-bottom: 10px;
}

.header-minimal h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 700;
}

.header-minimal p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 40px;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item-new {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.icon-wrapper-home {
  width: 44px;
  height: 44px;
  background-color: var(--icon-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.text-group {
  flex: 1;
}

.text-group h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: var(--text);
}

.text-group p {
  margin: 0;
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.5;
  white-space: normal;
  word-break: break-word; 
}

.map-frame {
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-light);
  border: 1px solid var(--shadow-orange);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-frame {
    height: 300px;
    order: -1;
  }

  .header-minimal {
    text-align: center;
  }

  .info-item-new {
    justify-content: center;
    text-align: left;
  }
}

.tf-custom-footer {
  background-color: var(--f-bg);
  color: var(--f-text);
  padding: 30px 0;
  border-top: 1px solid var(--f-border);
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 12px;
  transition: all 0.3s ease;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: var(--f-text);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}

.footer-nav a:hover {
  color: var(--orange);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.dev-tag {
  text-decoration: none;
  color: var(--f-text);
}

.dev-tag span {
  font-weight: 600;
  color: var(--f-text-strong);
}

.v-line {
  width: 1px;
  height: 16px;
  background-color: var(--f-border);
}

.minimal-toggle {
  all: unset;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.toggle-track {
  width: 34px;
  height: 18px;
  background-color: #d2d2d7;
  border-radius: 20px;
  position: relative;
  transition: background 0.3s ease;
}

.toggle-thumb {
  width: 14px;
  height: 14px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.icon-sun,
.icon-moon {
  font-size: 14px;
  opacity: 0.5;
  transition: opacity 0.3s;
}

html.dark-mode .toggle-track {
  background-color: var(--orange);
}

html.dark-mode .toggle-thumb {
  transform: translateX(16px);
}

html.dark-mode .icon-moon {
  opacity: 1;
}

html.dark-mode .icon-sun {
  opacity: 0.2;
}

@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-nav {
    order: -1;
    gap: 15px;
  }

  .footer-actions {
    flex-direction: column;
    gap: 15px;
  }

  .v-line {
    display: none;
  }
}

.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  width: 50px;
  height: 50px;
  left: 20px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  text-decoration: none;
  color: white;
  font-size: 24px;
  box-shadow: 10px 4px 10px var(--shadow-light);
  transition: transform 0.76s ease-in-out;
}

.whatsapp-btn:hover {

  box-shadow: 0 4px 10px var(--shadow-medium);
  transform: scale(1.03) translateY(-10px);
}


@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.servicos-amendola {
  margin: 20px auto 40px auto !important;
  padding: 20px 0 !important;
}

.servicos-grid {
  gap: 24px !important;
}

.col {
  gap: 22px !important;
}

.phone img {
  margin-bottom: 16px !important;
}

.secao-titulo-principal {
  margin-bottom: 24px;

}

.secao-titulo-principal h2 {
  margin: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}