* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f5f5f5;
}

.header {
  height: 9vh;
  background-color: rgba(255, 255, 255, 0.514);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  margin-top: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.iconimg {
  width: 75px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navitens {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.shiny-cta1:hover {
  transform: translateY(-4px);
  box-shadow: rgba(20, 206, 61, 0.4) 0px 1px 1px inset, rgba(20, 206, 61, 0.4) 0px -2px 6px inset, rgba(20, 206, 61, 0.6) 0px 12px 24px -8px;
}

.shiny-cta1:active {
  transform: translateY(-1px);
  box-shadow: rgba(20, 206, 61, 0.3) 0px 1px 1px inset, rgba(20, 206, 61, 0.3) 0px -2px 6px inset, rgba(20, 206, 61, 0.4) 0px 8px 16px -6px;
}

@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.shiny-cta1 {
  --gradient-angle: 0deg;
  --gradient-angle-offset: 0deg;
  --gradient-shine: #10b981;
  --bg-color-top: #1c2421;
  --bg-color-bottom: #0a0a0a;

  color: rgb(255, 255, 255);
  isolation: isolate;
  z-index: 1;
  position: relative;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: rgba(255, 255, 255, 0.15) 0px 1px 1px inset, rgba(0, 0, 0, 0.2) 0px -2px 6px inset, rgba(0, 0, 0, 0.5) 0px 10px 15px -8px;
  background: linear-gradient(var(--bg-color-top), var(--bg-color-bottom)) padding-box, conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent 0%, #047857 5%, var(--gradient-shine) 15%, #047857 30%, transparent 40%, transparent 100%) border-box;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0);
  border-radius: 9999px;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: border-spin 2.5s linear infinite;
  overflow: hidden;
}

.shiny-cta1::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.95) 0.5px, transparent 0.8px) 0 0 / 4px 4px;
  -webkit-mask-image: linear-gradient(to right, transparent 60%, rgba(0, 0, 0, 1) 75%);
  mask-image: linear-gradient(120deg, transparent 30%, rgba(0, 0, 0, 1) 48%, rgba(0, 0, 0, 1) 52%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.shiny-cta1::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  animation: shimmer 9s infinite;
  z-index: 2;
}

.shiny-cta-content1 {
  z-index: 3;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  position: relative;
  border-radius: 99px;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 15px;
}

@keyframes border-spin {
  0% { --gradient-angle: 0deg; }
  100% { --gradient-angle: 360deg; }
}

@keyframes shimmer {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.designloginnav {
  font-weight: bold;
  text-decoration: none;
}

.carrossel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carrossel:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(to top, #f5f5f5 0%, rgba(255, 255, 255, 0) 40%), #f5f5f5bb;
}

.carrossel img {
  position: absolute;
  width: 100%;
  height: 110vh;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out; /* Transição suave via hardware acceleration */
  will-change: opacity;
}

.supCarrossel {
  text-align: center;
  position: absolute;
  z-index: 100;
  margin-top: 22vh;
  margin-left: 25%;
  align-items: center;
  height: 55vh;
  width: 50%;
  animation: entraGrupo 1.2s ease-out forwards;
}

.sobrebutton {
  background-color: #ffffff;
  cursor: pointer;
  text-align: center;
  border-radius: 30px;
  padding: 10px;
  margin-top: 30px;
  height: 40px;
  color: #000000;
  border: 1px solid #d3d3d3;
  transition: color 0.6s ease, border-color 0.6s ease;
}

.sobrebutton:hover {
  color: #3faf6e;
  border-color: #3faf6e;
}

.iconverde {
  transition: filter 0.6s ease;
  padding: 1.2px;
}

.sobrebutton:hover .iconverde {
  filter: invert(58%) sepia(41%) saturate(654%) hue-rotate(97deg) brightness(91%) contrast(85%) !important;
}

.text1sup {
  font-size: 64px;
  margin-top: 20px;
}

.text1sup h1 {
  font-size: inherit;
  margin: 0;
  line-height: 80px;
}

.carrosselletra {
  height: 80px;
  overflow: hidden;
  vertical-align: middle;
}

.carrossel-lista {
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.carrossel-item {
  height: 80px;
  line-height: 80px;
  font-size: 64px;
  font-weight: bold;
  margin: 0;
  color: #3faf6e;
}

.text2sup {
  margin-top: 40px;
  font-size: 20px;
  width: 70%;
  margin-left: 15%;
  color: #414141;
}

.button1sup {
  height: 48px;
  border-radius: 30px;
  padding: 0 30px;
  margin-right: 40px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  color: #4d4d4d;
  border: 1px solid #00000025;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.button1sup:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.button1sup:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.grupo-botoes {
  margin-top: 25px;
}

.shiny-cta:hover {
  transform: translateY(-4px);
  box-shadow: rgba(20, 206, 61, 0.4) 0px 1px 1px inset, rgba(20, 206, 61, 0.4) 0px -2px 6px inset, rgba(20, 206, 61, 0.6) 0px 12px 24px -8px;
}

.shiny-cta:active {
  transform: translateY(-1px);
  box-shadow: rgba(20, 206, 61, 0.3) 0px 1px 1px inset, rgba(20, 206, 61, 0.3) 0px -2px 6px inset, rgba(20, 206, 61, 0.4) 0px 8px 16px -6px;
}

.shiny-cta {
  margin-top: 3%;
  --gradient-angle: 0deg;
  --gradient-angle-offset: 0deg;
  --gradient-shine: #10b981;
  --bg-color-top: #1c2421;
  --bg-color-bottom: #0a0a0a;

  color: rgb(255, 255, 255);
  isolation: isolate;
  z-index: 1;
  position: relative;
  padding: 15px 30px;
  cursor: pointer;
  box-shadow: rgba(255, 255, 255, 0.15) 0px 1px 1px inset, rgba(0, 0, 0, 0.2) 0px -2px 6px inset, rgba(0, 0, 0, 0.5) 0px 12px 24px -8px;
  background: linear-gradient(var(--bg-color-top), var(--bg-color-bottom)) padding-box, conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)), transparent 0%, #047857 5%, var(--gradient-shine) 15%, #047857 30%, transparent 40%, transparent 100%) border-box;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0);
  border-radius: 9999px;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: border-spin 2.5s linear infinite;
  overflow: hidden;
}

.shiny-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.95) 0.5px, transparent 0.8px) 0 0 / 4px 4px;
  -webkit-mask-image: linear-gradient(to right, transparent 60%, rgba(0, 0, 0, 1) 75%);
  mask-image: linear-gradient(120deg, transparent 30%, rgba(0, 0, 0, 1) 48%, rgba(0, 0, 0, 1) 52%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.shiny-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  animation: shimmer 9s infinite;
  z-index: 2;
}

.shiny-cta-content {
  z-index: 3;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  position: relative;
  border-radius: 9999px;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 15px;
}

.grupotextimg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.image-group-1 {
  position: relative;
  width: 450px;
  height: 420px;
  flex-shrink: 0;
  margin-left: 1%;
  margin-top: 12%;
  max-width: 480px;
  opacity: 0;
}

.img-rounded-large {
  position: absolute;
  right: 0;
  top: 0;
  width: 300px;
  height: 360px;
  border-radius: 10px;
  object-fit: cover;
}

.img-circle-overlay {
  position: absolute;
  left: 20px;
  bottom: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  z-index: 2;
}

.text-card {
  flex: 1;
  margin-left: 6%;
}

.span {
  color: #3faf6e;
  font-weight: bold;
}

.titulospan {
  margin-top: 2%;
  font-size: 35px;
}

.textspan {
  margin-top: 3%;
  font-size: 19px;
}

.span2 {
  color: #3faf6e;
  text-align: center;
  margin-top: 8%;
  font-size: medium;
}

.subspan2 {
  font-size: 35px;
  text-align: center;
  margin-top: 10px;
}

.textspan2 {
  text-align: center;
  margin-top: 10px;
  color: #333;
}

.cards {
  height: 40vh;
  max-width: 900px;
  margin: 4% auto 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.card {
  background-color: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(65, 65, 65, 0.151);
  box-sizing: border-box;
  padding: 20px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.imgcard {
  background-color: #c9ffdf;
  height: 50px;
  width: 50px;
  margin-top: 20px;
  margin-bottom: 15px;
  border-radius: 100px;
}

.numcard {
  font-size: 40px;
  line-height: 1;
  margin-top: 5px;
  margin-bottom: 5px;
}

.nomecard {
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
}

.textcard1 {
  margin-top: 15px;
  font-size: 16px;
  color: #0a0a0a;
}

.imgcardsub1,
.imgcardsub2,
.imgcardsub3 {
  display: block;
  margin: 0 auto;
  filter: invert(58%) sepia(41%) saturate(654%) hue-rotate(97deg) brightness(91%) contrast(85%) !important;
}

.imgcardsub1 {
  width: 35px;
  margin-top: 7px;
}

.imgcardsub2 {
  width: 40px;
  margin-top: 6px;
}

.imgcardsub3 {
  width: 30px;
  margin-top: 9px;
}

.textimgfoco {
  background-color: rgb(255, 255, 255);
  height: 55vh;
  width: 40%;
  border-radius: 20px;
  border: 1px solid rgba(65, 65, 65, 0.137);
  margin: 20vh auto 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  box-sizing: border-box;
}

.imgfoco {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.imgfoco img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.subfoco {
  margin-top: 20vh;
  margin-bottom: 12px;
  font-size: 25px;
  font-weight: bold;
}

.textfoco {
  margin-left: 20px;
}

.mincards {
  height: 15vh;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  padding: 10px;
  box-sizing: border-box;
  margin: 4% auto 0 auto;
}

.mincard {
  background-color: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(65, 65, 65, 0.151);
  box-sizing: border-box;
  padding: 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.minimgcard {
  background-color: #c9ffdf;
  height: 45px;
  width: 45px;
  margin-top: 2px;
  margin-bottom: 15px;
  border-radius: 100px;
}

.minnomecard {
  font-size: 15px;
  font-weight: bold;
  margin-top: 10px;
}

.mintextcard1 {
  margin-top: 13px;
  font-size: 14px;
  color: #0a0a0a;
}

.minimgcardsub1, .minimgcardsub2, .minimgcardsub3, .minimgcardsub4 {
  width: 25px;
  display: block;
  margin: 9px auto 0 auto;
  filter: invert(58%) sepia(41%) saturate(654%) hue-rotate(97deg) brightness(91%) contrast(85%) !important;
}

.mtv-card {
  background-color: rgb(255, 255, 255);
  height: 20vh;
  width: 30%;
  border-radius: 20px;
  border: 1px solid rgba(65, 65, 65, 0.137);
  margin: 20vh auto 0 auto;
  gap: 20px;
  box-sizing: border-box;
}

.mtv-card h1 {
  font-size: 25px;
  text-align: center;
  font-style: italic;
  font-weight: 100;
  margin-top: 35px;
  padding: 20px;
  font-family: sans-serif;
}

.mtv-card p {
  text-align: center;
  color: #5c5c5c;
  font-weight: 600;
}

.footer {
  background-color: #171717;
  height: 70vh;
  margin-top: 10vh;
  padding: 50px;
}

.spanfooter {
  color: #3faf6e;
  margin-top: 30px;
  text-align: center;
  font-size: medium;
}

.subspanfooter {
  font-size: 35px;
  text-align: center;
  margin-top: 10px;
  color: #ffffff;
}

.bloco1footer p {
  color: #919191;
  font-weight: 600;
  margin-top: 15px;
  text-align: center;
}

.fundo {
  margin-top: 20px;
  width: 100%;
}

.buttonsfinais {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 50px;
}

.button1footer {
  height: 48px;
  border-radius: 30px;
  padding: 0 30px;
  margin-right: 20px;
  margin-left: 10px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  color: #4d4d4d;
  border: 1px solid #00000025;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.button1footer:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.button1footer:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.shiny-cta2:hover {
  transform: translateY(-4px);
  box-shadow: rgba(20, 206, 61, 0.4) 0px 1px 1px inset, rgba(20, 206, 61, 0.4) 0px -2px 6px inset, rgba(20, 206, 61, 0.6) 0px 12px 24px -8px;
}

.shiny-cta2:active {
  transform: translateY(-1px);
  box-shadow: rgba(20, 206, 61, 0.3) 0px 1px 1px inset, rgba(20, 206, 61, 0.3) 0px -2px 6px inset, rgba(20, 206, 61, 0.4) 0px 8px 16px -6px;
}

.shiny-cta2 {
  --gradient-angle: 0deg;
  --gradient-angle-offset: 0deg;
  --gradient-shine: #10b981;
  --bg-color-top: #1c2421;
  --bg-color-bottom: #0a0a0a;

  color: rgb(255, 255, 255);
  isolation: isolate;
  z-index: 1;
  position: relative;
  padding: 15px 30px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  box-shadow: rgba(255, 255, 255, 0.15) 0px 1px 1px inset, rgba(0, 0, 0, 0.2) 0px -2px 6px inset, rgba(0, 0, 0, 0.5) 0px 12px 24px -8px;
  background: linear-gradient(var(--bg-color-top), var(--bg-color-bottom)) padding-box, conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)), transparent 0%, #047857 5%, var(--gradient-shine) 15%, #047857 30%, transparent 40%, transparent 100%) border-box;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0);
  border-radius: 9999px;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: border-spin 2.5s linear infinite;
  overflow: hidden;
}

.shiny-cta2::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.95) 0.5px, transparent 0.8px) 0 0 / 4px 4px;
  -webkit-mask-image: linear-gradient(to right, transparent 60%, rgba(0, 0, 0, 1) 75%);
  mask-image: linear-gradient(120deg, transparent 30%, rgba(0, 0, 0, 1) 48%, rgba(0, 0, 0, 1) 52%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.shiny-cta2::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  animation: shimmer 9s infinite;
  z-index: 2;
}

.bloco2footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-icon img {
  width: 60px;
  margin-top: 80px;
}

.footer-text1 {
  margin-top: 10px;
  color: #ffffff;
}

.footer-text2 {
  margin-top: 10px;
  color: #919191;
  font-weight: 400;
  text-align: center;
}

.linhafooter {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 40px;
}

.linha {
  width: 70%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  margin-bottom: 20px;
}

.direitosautorais {
  color: #8c8c8c;
  font-size: 14px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

.escondido {
  opacity: 0;
  transform: translateY(50px);
}

.animar-ao-rolar {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: transform, opacity;
}

.menu-icon-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
}

.menu-icon-hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* =========================================================
   VARIÁVEIS DE TEMA (CLARO / ESCURO) - CORRIGIDO
========================================================= */
:root {
  --bg-color: #f5f5f5;
  --text-color: #333333;
  --text-muted: #414141;
  --header-bg: rgba(255, 255, 255, 0.514);
  --card-bg: #ffffff;
  --card-border: rgba(65, 65, 65, 0.151);
  --card-text: #0a0a0a;
  --sobre-bg: #ffffff;
  --sobre-color: #000000;
  --btn-secundario-bg: #ffffff;
  --btn-secundario-color: #4d4d4d;
  --carrossel-gradient: linear-gradient(to top, #f5f5f5 0%, rgba(255, 255, 255, 0) 40%), #f5f5f5bb;
  --verde-principal: #3faf6e;
  --icone-filtro-custom: invert(58%) sepia(41%) saturate(654%) hue-rotate(97deg) brightness(91%) contrast(85%);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px; /* Reduzido ainda mais para eliminar o espaço excessivo */
}

/* =========================================================
   BOTÃO DE TEMA (Modo Claro)
========================================================= */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
/* --- MODO CLARO --- */
.btn-tema-toggle {
  --gradient-angle: 0deg;
  --gradient-angle-offset: 0deg;
  --gradient-shine: #3faf6e; /* Mesma cor exata do sol */
  /* Bordinha cinza sutil nativa + Linha verde translúcida rodando no gradiente */
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  background: 
    linear-gradient(#ffffff, #ffffff) padding-box, 
    conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent 0%, rgba(63, 175, 110, 0.2) 5%, rgba(63, 175, 110, 0.85) 15%, rgba(63, 175, 110, 0.2) 25%, transparent 35%, transparent 100%) border-box !important;
  border-radius: 9999px;
  width: 44px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  z-index: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  animation: border-spin 2.5s linear infinite;
  overflow: hidden;
  box-sizing: border-box;
}
/* Hover Modo Claro */
.btn-tema-toggle:hover {
  transform: translateY(-4px) !important;
  box-shadow: rgba(63, 175, 110, 0.25) 0px 1px 1px inset, 
              rgba(63, 175, 110, 0.25) 0px -2px 6px inset, 
              rgba(63, 175, 110, 0.4) 0px 10px 20px -6px !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.btn-tema-toggle:active {
  transform: translateY(-1px) !important;
  box-shadow: rgba(63, 175, 110, 0.15) 0px 1px 1px inset, 
              rgba(63, 175, 110, 0.15) 0px -2px 6px inset, 
              rgba(63, 175, 110, 0.25) 0px 6px 12px -6px !important;

}
/* --- MODO ESCURO (100% Intacto) --- */
[data-theme="dark"] .btn-tema-toggle {
  --gradient-shine: #3faf6e;
  border: 1px solid transparent !important;
  background: 
    linear-gradient(#1c2421, #0a0a0a) padding-box, 
    conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent 0%, #047857 5%, var(--gradient-shine) 15%, #047857 30%, transparent 40%, transparent 100%) border-box !important;
  box-shadow: rgba(255, 255, 255, 0.15) 0px 1px 1px inset,
              rgba(0, 0, 0, 0.2) 0px -2px 6px inset, 
              rgba(0, 0, 0, 0.5) 0px 10px 15px -8px !important;

}
[data-theme="dark"] .btn-tema-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.95) 0.5px, transparent 0.8px) 0 0 / 4px 4px;
  -webkit-mask-image: linear-gradient(to right, transparent 60%, rgba(0, 0, 0, 1) 75%);
  mask-image: linear-gradient(120deg,
      transparent 30%,
      rgba(0, 0, 0, 1) 48%,
      rgba(0, 0, 0, 1) 52%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}
[data-theme="dark"] .btn-tema-toggle:hover {
  transform: translateY(-4px) !important;
  box-shadow: rgba(20, 206, 61, 0.25) 0px 1px 1px inset, 
              rgba(20, 206, 61, 0.25) 0px -2px 6px inset, 
              rgba(20, 206, 61, 0.4) 0px 12px 24px -8px !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* --- ÍCONES --- */
.theme-icon-container {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.theme-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.sun-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  color: #3faf6e !important; 
}
.moon-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.5);
  color: #3faf6e;
}
[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(0.5);
}
[data-theme="dark"] .moon-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  color: #3faf6e !important;
}

[data-theme="dark"] {
  --bg-color: #121212;
  --text-color: #f1f1f1;
  --text-muted: #e0e0e0; /* Ajustado para dar total legibilidade na Imagem 1 */
  --header-bg: rgba(18, 18, 18, 0.85);
  --card-bg: #1e1e1e;
  --card-border: rgba(255, 255, 255, 0.1);
  --card-text: #f1f1f1;
  --sobre-bg: #1e1e1e;
  --sobre-color: #ffffff;
  --btn-secundario-bg: #1e1e1e;
  --btn-secundario-color: #f1f1f1;
  --carrossel-gradient: linear-gradient(to top, #121212 0%, rgba(18, 18, 18, 0) 40%), #121212bb;
  --verde-principal: #2e8b57; /* Tom de verde mais fechado e elegante para o modo escuro (Imagem 2) */
  --icone-filtro-custom: brightness(0) invert(1); /* Torna os ícones totalmente brancos e visíveis (Imagem 3) */
}

/* Fundo dos cards de ícones em modo escuro: Verde escuro profundo e sofisticado */
[data-theme="dark"] .minimgcard, 
[data-theme="dark"] .imgcard {
  background-color: #132c20 !important; 
}

/* Ícones em modo escuro: Verde claro vivo e nítido */
[data-theme="dark"] .minimgcardsub1, 
[data-theme="dark"] .minimgcardsub2, 
[data-theme="dark"] .minimgcardsub3, 
[data-theme="dark"] .minimgcardsub4,
[data-theme="dark"] .imgcardsub1,
[data-theme="dark"] .imgcardsub2,
[data-theme="dark"] .imgcardsub3 {
  filter: brightness(0) saturate(100%) invert(75%) sepia(30%) saturate(800%) hue-rotate(80deg) brightness(105%) contrast(90%) !important;
}

[data-theme="dark"] .footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important; /* Linha cinza divisória exclusiva do modo escuro */
}

/* No tema claro (padrão), os ícones do botão seguem a regra original ou ficam escuros */
.sobrebutton .iconverde {
  filter: brightness(0) saturate(100%) !important; /* Deixa os ícones pretos no tema claro */
}

/* No tema escuro, os ícones ficam totalmente brancos */
[data-theme="dark"] .sobrebutton .iconverde {
  filter: brightness(0) invert(1) !important; /* Deixa os ícones brancos no tema escuro */
}

[data-theme="dark"] .sobrebutton .iconverde {
  filter: brightness(0) invert(1) !important;
}

[data-theme="dark"] .sobrebutton .iconverde {
  filter: brightness(0) saturate(100%) invert(75%) sepia(30%) saturate(800%) hue-rotate(80deg) brightness(105%) contrast(90%) !important;
}

[data-theme="dark"] .navitens {
  color: #ffffff !important;
}

/* Garante que o item com cor inline ativa (como a Home verde) mantenha o destaque */
[data-theme="dark"] .navitens[style*="color"] {
  color: #3faf6e !important; 
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.header {
  background-color: var(--header-bg);
}

/* Ajuste de legibilidade do subtítulo da home (Imagem 1) */
.text2sup {
  margin-top: 40px;
  font-size: 20px;
  width: 70%;
  margin-left: 15%;
  color: var(--text-muted); 
}

.card, .mincard, .textimgfoco, .mtv-card {
  background-color: var(--card-bg);
  border-color: var(--card-border);
  color: var(--card-text);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.textcard1, .mintextcard1, .textspan2, .textspan {
  color: var(--card-text);
}

.sobrebutton {
  background-color: var(--sobre-bg);
  color: var(--sobre-color);
  border-color: var(--card-border);
}

/* Correção da cor dos ícones verdes para ficarem mais fechados no escuro (Imagem 2) */
.carrossel-item, .span, .span2, .subspan2 span, .subspanfooter span, .numcard {
  color: var(--verde-principal) !important;
}

.button1sup, .button1footer {
  background-color: var(--btn-secundario-bg);
  color: var(--btn-secundario-color);
  border-color: var(--card-border);
}

.carrossel:after {
  background: var(--carrossel-gradient);
}

/* Correção de visibilidade de ícones pretos (Imagem 3) */
.iconverde, .imgcardsub1, .imgcardsub2, .imgcardsub3, .minimgcardsub1, .minimgcardsub2, .minimgcardsub3, .minimgcardsub4 {
  filter: var(--icone-filtro-custom) !important;
}

/* =========================================================
   NOVO BOTÃO DE TEMA (CLARO / ESCURO) - Substitui o Escudo (Imagem 4)
========================================================= */
.btn-tema-toggle {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  gap: 6px;
  transition: transform 0.2s, background-color 0.3s, color 0.3s;
}

.btn-tema-toggle:hover {
  transform: scale(1.05);
  border-color: var(--verde-principal);
}

@media (max-width: 768px) {
  .header {
    padding: 0 5%;
    height: 60px;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }

  .iconimg {
    width: 60px;
    z-index: 91;
  }

  .menu-icon-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1000;
  }

  .menu-icon-hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: calc(8vh + 25px);
    padding-bottom: 25px;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    gap: 25px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
    align-items: center;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s;
  }

  #menu-toggle:checked~nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navitens {
    font-size: 18px;
    width: 100%;
    text-align: center;
    display: block;
  }

  .shiny-cta1 {
    padding: 12px 25px;
    font-size: 14px;
    width: 90%;
    text-align: center;
    margin-top: 10px;
  }

  #menu-toggle:checked~.menu-icon-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  #menu-toggle:checked~.menu-icon-hamburger span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked~.menu-icon-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .header:has(#menu-toggle:checked) {
    background-color: rgba(255, 255, 255, 0.94);
    box-shadow: none;
  }

  .carrossel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .carrossel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carrossel:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: linear-gradient(to top, #f5f5f5 0%, rgba(245, 245, 245, 0.651) 40%, rgba(245, 245, 245, 0.705) 100%);
  }

  .supCarrossel {
    width: 90%;
    margin-left: 5%;
    margin-top: 15vh;
    height: auto;
  }

  .text1sup {
    font-size: 40px;
    line-height: 50px;
  }

  .carrossel-item {
    font-size: 40px;
    height: 55px;
    line-height: 55px;
  }

  .carrosselletra {
    height: 55px;
  }

  .text2sup {
    width: 100%;
    margin-left: 0;
    font-size: 16px;
    margin-top: 20px;
  }

  .button1sup {
    margin-right: 10px;
    padding: 0 20px;
    height: 44px;
    font-size: 14px;
  }

  .shiny-cta {
    margin-top: 25px;
    padding: 12px 20px;
    font-size: 14px;
    margin-bottom: 120px;
  }

  .grupotextimg {
    margin-top: 40px;
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }

  .image-group-1 {
    display: none;
  }

  .text-card {
    margin-left: 0;
    margin-top: 20px;
  }

  .titulospan {
    font-size: 26px;
    font-weight: 600;
    margin-top: 20px;
  }

  .textspan {
    font-size: 16px;
    margin-top: 20px;
    color: #313131;
  }

  .subspan2 {
    font-size: 26px;
    font-weight: 600;
  }

  .cards {
    grid-template-columns: 1fr;
    height: auto;
    gap: 25px;
    margin-top: 8%;
  }

  .nomecard {
    font-size: 18px;
    font-weight: 600;
  }

  .card {
    min-height: auto;
    color: #313131;
  }

  .textimgfoco {
    grid-template-columns: 1fr;
    width: 90%;
    height: auto;
    margin-top: 18vh;
    margin-bottom: 20vh;
  }

  .imgfoco {
    height: 250px;
    order: -1;
  }

  .imgfoco img {
    border-radius: 20px 20px 0 0;
  }

  .subfoco {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 600;
  }

  .textfoco {
    margin-right: 20px;
    padding-bottom: 25px;
    color: #313131;
  }

  .minnomecard {
    font-size: 18px;
    font-weight: 600;
  }

  .mincards {
    grid-template-columns: 1fr;
    height: auto;
    gap: 20px;
  }

  .mincard {
    min-height: auto;
  }

  .mtv-card {
    width: 90%;
    height: auto;
    padding-bottom: 20px;
    margin-top: 10vh;
  }

  .mtv-card h1 {
    font-size: 20px;
    margin-top: 20px;
  }

  .footer {
    height: auto;
    padding: 40px 20px;
  }

  .subspanfooter {
    font-size: 26px;
    font-weight: 600;
  }

  .buttonsfinais {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .button1footer {
    margin: 0;
    width: 80%;
  }

  .shiny-cta2 {
    width: 80%;
    text-align: center;
  }

  .footer-icon img {
    margin-top: 40px;
  }

  .linha {
    width: 90%;
  }
}