/* Import Fonte */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--texto);
  background-color: var(--cinza-claro);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

/* Paleta */
:root {
  --azul-escuro: #111827;
  --azul-claro: #3B82F6;
  --verde-destaque: #10B981;
  --cinza-claro: #F9FAFB;
  --texto: #374151;
  --branco: #FFFFFF;
}

/* Cabeçalho */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: var(--branco);
  color: var(--azul-escuro);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .logo img {
  height: 65px;
  width: auto;
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

header .logo img:hover {
  filter: drop-shadow(0 0 6px #3B82F6) drop-shadow(0 0 12px #10B981);
  transform: scale(1.08);
}

/* Navegação */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  color: var(--texto);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: linear-gradient(90deg, #3B82F6, #10B981);
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--azul-claro);
}

/* Menu Mobile */
.menu-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-menu.active {
  display: block;
  position: absolute;
  top: 85px;
  right: 0;
  background: var(--branco);
  width: 200px;
  box-shadow: -2px 4px 12px rgba(0,0,0,0.1);
}

.nav-menu.active ul {
  flex-direction: column;
  padding: 1rem;
}

/* Botões */
.btn, .btn-sm {
  background: linear-gradient(270deg, #3B82F6, #10B981, #2563EB);
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  box-shadow: 0 0 12px rgba(59,130,246,0.5);
  position: relative;
  overflow: hidden;
}

.btn:hover, .btn-sm:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 20px rgba(59,130,246,0.7);
}

.btn::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(59,130,246,0.4) 20%, transparent 60%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s, opacity 0.4s;
}

.btn:active::after {
  transform: scale(1);
  opacity: 1;
  transition: 0s;
}

.btn-outline {
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.4s ease;
}

.btn-outline:hover {
  background: linear-gradient(270deg, #3B82F6, #10B981, #2563EB);
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  color: #fff;
  border: none;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === HERO MODIFICADO === */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  color: var(--branco);
  background: linear-gradient(270deg, #111827, #1f2937, #3B82F6, #10B981);
  background-size: 600% 600%;
  animation: gradientBG 15s ease infinite;
  min-height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  animation: fadeUp 1s ease-out forwards;
  background: linear-gradient(90deg, #fff, #a7c5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero #particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  padding: 0 1.5rem;
}

/* Seções */
section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--azul-escuro);
  background: linear-gradient(90deg, #3B82F6, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cards Genéricos */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

#servicos .card {
  background: var(--branco);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--azul-claro);
  position: relative;
}

#servicos .card:hover {
  transform: translateY(-8px) scale(1.03) rotateX(4deg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

#servicos .card i {
  font-size: 2.5rem;
  color: var(--azul-claro);
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
}

#servicos .card:hover i {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sobre e Destaque */
.sobre-grid, .destaque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.destaque-img img, .sobre-img img {
  width: 100%;
  max-width: 540px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  animation: float 5s ease-in-out infinite;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.destaque-img img:hover, .sobre-img img:hover {
  transform: scale(1.05) rotate3d(1, 1, 0, 6deg);
  box-shadow: 0 15px 35px rgba(59,130,246,0.3);
}

.destaque-texto h2, .sobre-texto h2 {
  text-align: left;
}

/* --- SEÇÃO INSTITUCIONAL --- */
.institucional-section {
  text-align: center;
}

.institucional-section .subtitulo-institucional {
  font-size: 1.2rem;
  margin-bottom: 3.5rem;
  color: var(--texto);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cards-institucional {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  text-align: left;
}

.card-mvv {
  background: var(--branco);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border-top: 4px solid var(--azul-claro);
  transition: all 0.3s ease;
}

.card-mvv:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.card-mvv-icon {
  font-size: 2.5rem;
  color: var(--azul-claro);
  margin-bottom: 1rem;
}

.card-mvv h3 {
  font-size: 1.5rem;
  color: var(--azul-escuro);
  margin-bottom: 0.8rem;
}

.card-mvv p {
  line-height: 1.7;
}

.card-mvv:nth-child(2) {
  border-top-color: var(--verde-destaque);
}

.card-mvv:nth-child(2) .card-mvv-icon {
  color: var(--verde-destaque);
}

/* Abas Dinâmicas */
.tabs-container {
  width: 100%;
  margin-top: 2rem;
  text-align: left;
}

.tab-buttons {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 2rem;
}

.tab-button {
  padding: 1rem 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--texto);
  position: relative;
  transition: all 0.3s ease;
  border-radius: 8px 8px 0 0;
}

.tab-button::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--azul-claro);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-button:hover {
  background-color: var(--cinza-claro);
}

.tab-button.active {
  color: var(--azul-claro);
}

.tab-button.active::after {
  transform: scaleX(1);
}

.tab-content {
  display: none;
  padding: 1rem;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

.tab-content h4 {
  font-size: 1.3rem;
  color: var(--azul-escuro);
  margin-bottom: 1.5rem;
}

.institucional-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.institucional-section ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
}

.institucional-section ul.lista-diferenciais li::before {
  content: '✔';
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--verde-destaque);
  font-size: 1.2rem;
}

.institucional-section ul.checklist li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 2px;
}

/* Contato */
#contato .contato-subtitulo {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input, form textarea {
  padding: 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--azul-claro);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Rodapé */
footer {
  background: var(--azul-escuro);
  color: var(--cinza-claro);
  padding: 3rem 1.5rem;
  margin-top: 3rem;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--branco);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.6rem;
}

footer ul a {
  color: var(--cinza-claro);
  text-decoration: none;
  transition: color 0.3s;
}

footer ul a:hover {
  color: var(--verde-destaque);
}

.socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.socials a {
  font-size: 1.3rem;
  color: var(--branco);
  transition: color 0.3s, transform 0.3s;
}

.socials a:hover {
  color: var(--verde-destaque);
  transform: scale(1.2);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Acessibilidade */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Tecnologias */
.tecnologias-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

.tecnologias-list h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: var(--azul-escuro);
  margin-bottom: 0.8rem;
  min-height: 3.8rem;
}

.tecnologias-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tecnologias-list ul li {
  margin-bottom: 0.6rem;
  padding-left: 1.8rem;
  position: relative;
  line-height: 1.6;
}

.tecnologias-list ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--verde-destaque);
  font-weight: 700;
  font-size: 1rem;
}

/* Métricas */
.card.metric h3 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--azul-claro);
  margin-bottom: 0.5rem;
}

.card.metric p {
  font-size: 1.1rem;
  color: var(--texto);
}

/* Planos */
#planos .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 1.8rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.4s ease-in-out;
  border-top: none;
  position: relative;
  background: var(--branco);
}

#planos .card:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

#planos .card > i {
  font-size: 3rem;
  color: var(--azul-claro);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  will-change: transform;
}

#planos .card:hover > i {
  transform: translateY(-5px) scale(1.05);
  animation: none;
}

#planos .card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--azul-escuro);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
  text-align: left;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 0.9rem;
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--texto);
}

.plan-features li i {
  color: var(--verde-destaque);
  font-size: 0.9rem;
  margin-right: 0.8rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  animation: none;
}

#planos .card .btn-sm {
  width: 100%;
  margin-top: auto;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  border-radius: 6px;
}

#planos .card.destaque {
  background: linear-gradient(135deg, var(--branco) 0%, #fefefe 100%);
  border: 2px solid;
  border-image: linear-gradient(45deg, var(--azul-claro), var(--verde-destaque)) 1;
  transform: scale(1.08) translateY(-15px);
  box-shadow: 0 20px 50px rgba(59,130,246,0.2), 0 0 0 5px rgba(59,130,246,0.1);
  z-index: 10;
}

#planos .card.destaque:hover {
  transform: scale(1.12) translateY(-20px);
  box-shadow: 0 25px 60px rgba(59,130,246,0.3), 0 0 0 8px rgba(59,130,246,0.15);
}

#planos .card.destaque h3 {
  color: var(--azul-escuro);
}

#planos .card.destaque > i {
  color: var(--verde-destaque);
}

#planos .card.destaque::before {
  content: "MAIS POPULAR";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #3B82F6, #10B981);
  color: var(--branco);
  padding: 5px 15px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* === BANNER CTA PARA PÁGINA DE PLANOS === */
.plans-cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--azul-escuro);
    color: var(--cinza-claro);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid transparent;
    position: relative;
}
.plans-cta-banner::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -1px; 
    border-radius: inherit; 
    background: linear-gradient(90deg, var(--azul-claro), var(--verde-destaque));
}
.cta-text h3 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.cta-text p {
    margin: 0;
    opacity: 0.9;
    max-width: 500px;
}

/* === SEÇÃO PRODUTOS E GALERIA === */
#produtos {
  background-color: var(--cinza-claro);
  padding-top: 5rem;
  padding-bottom: 0;
}

#produtos .destaque-grid {
  align-items: center;
}

#produtos .product-text h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

#produtos .product-text .product-tagline {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--texto);
  line-height: 1.5;
}

#produtos .product-text p {
  margin-bottom: 2rem;
}

#produtos .destaque-img img, .feature-highlight .destaque-img img {
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Galeria de Imagens */
.product-gallery {
  text-align: center;
  margin: 5rem 0;
}

.product-gallery h4 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--azul-escuro);
}

.slider-wrapper {
  overflow: hidden;
  max-width: 100%;
}

.slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
}

.slider::-webkit-scrollbar { height: 8px; }
.slider::-webkit-scrollbar-track { background: #e5e7eb; border-radius: 10px; }
.slider::-webkit-scrollbar-thumb { background: var(--azul-claro); border-radius: 10px; }
.slider::-webkit-scrollbar-thumb:hover { background: var(--verde-destaque); }

.slider img {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 80%;
  max-width: 700px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border: 1px solid #ddd;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.slider img:hover {
  transform: scale(1.02);
}

/* Grid de Diferenciais */
.product-features-grid {
  margin: 5rem 0;
  text-align: center;
}

.product-features-grid h4 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--azul-escuro);
}

.product-features-grid .section-subtitle {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  color: var(--texto);
}

.feature-card {
  background: var(--branco);
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--azul-claro);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.feature-card .feature-card-icon {
  font-size: 2.5rem;
  color: var(--azul-claro);
  margin-bottom: 1.2rem;
}

.feature-card h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--azul-escuro);
}

/* Área de Specs Técnicas */
.technical-specs {
  background: var(--branco);
  border-radius: 12px;
  padding: 3rem;
  margin: 4rem auto 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-left: 5px solid var(--verde-destaque);
}

.technical-specs h4 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  color: var(--azul-escuro);
  margin-bottom: 1.5rem;
}

.technical-specs .specs-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
.technical-specs .specs-content p:last-child {
  margin-bottom: 0;
}

/* === DESTAQUES DE PRODUTOS (ODONTOGRAMA / FINANCEIRO) === */
.feature-highlight {
  padding: 5rem 1.5rem;
  background-color: var(--branco);
}

.feature-highlight + .feature-highlight {
  border-top: 1px solid #e5e7eb;
}

.feature-highlight .destaque-texto h4 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--azul-escuro);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.feature-highlight .destaque-texto .feature-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--texto);
}

.feature-highlight .destaque-texto ul {
  list-style: none;
  padding: 0;
}

.feature-highlight .destaque-texto ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.feature-highlight .destaque-texto ul li i {
  color: var(--verde-destaque);
  margin-right: 0.8rem;
  margin-top: 5px;
}

/* Seção final com o restante dos itens */
#outras-features {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: var(--cinza-claro);
}

/* === AJUSTE DE PROPORÇÃO PARA IMAGENS DE DESTAQUE (PRODUTOS) === */
.feature-highlight .destaque-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1rem;
}

.feature-highlight .destaque-img img {
  width: 100%;
  max-width: 600px;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

/* === DARK MODE === */
body.dark-mode {
  background: #111827;
  color: #e5e7eb;
}

body.dark-mode header,
body.dark-mode .nav-menu.active {
  background: #1f2937;
  color: #e5e7eb;
}

/* NOVO FILTRO PARA O LOGO NO MODO ESCURO */
body.dark-mode header .logo img {
  filter: drop-shadow(0 0 5px var(--azul-claro));
}

body.dark-mode .nav-menu a,
body.dark-mode h2,
body.dark-mode .sobre-texto h2 {
  color: #e5e7eb;
  -webkit-text-fill-color: initial;
}

body.dark-mode .nav-menu a:hover {
  color: var(--verde-destaque);
}

body.dark-mode #servicos .card {
  background: #1f2937;
  color: #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body.dark-mode .card-mvv {
  background: #1f2937;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

body.dark-mode .card-mvv h3,
body.dark-mode .tab-content h4 {
  color: var(--cinza-claro);
}

body.dark-mode .tab-buttons {
  border-bottom-color: #374151;
}

body.dark-mode .tab-button { color: #d1d5db; }
body.dark-mode .tab-button:hover { background-color: #374151; }
body.dark-mode .tab-button.active { color: var(--verde-destaque); }
body.dark-mode .tab-button.active::after { background: var(--verde-destaque); }

body.dark-mode .tecnologias-list h4 { color: var(--cinza-claro); }

body.dark-mode footer {
  background: #0a0a0f;
  color: #9ca3af;
}

body.dark-mode .socials a { color: #e5e7eb; }
body.dark-mode .socials a:hover { color: var(--verde-destaque); }

body.dark-mode #planos .card {
  background: #1f2937;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

body.dark-mode #planos .card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
body.dark-mode #planos .card h3 { color: #e5e7eb; }
body.dark-mode .plan-features li { color: #a7c0d1; }
body.dark-mode #planos .card.destaque {
  background: linear-gradient(135deg, #1f2937 0%, #2e3a4e 100%);
  border-image: linear-gradient(45deg, #3B82F6, #10B981) 1;
  box-shadow: 0 20px 50px rgba(59,130,246,0.2), 0 0 0 5px rgba(59,130,246,0.1);
}

body.dark-mode #planos .card.destaque::before { box-shadow: 0 5px 15px rgba(0,0,0,0.4); }

body.dark-mode .plans-cta-banner {
    background: #1f2937;
}

body.dark-mode #produtos { background-color: #1f2937; } /* Fundo ajustado */
body.dark-mode #produtos .product-text h3 { color: var(--cinza-claro); }
body.dark-mode #produtos .product-text .product-tagline { color: #d1d5db; }
body.dark-mode #produtos .destaque-img img, 
body.dark-mode .feature-highlight .destaque-img img { border-color: #374151; }
body.dark-mode .product-gallery h4,
body.dark-mode .product-features-grid h4 { color: var(--cinza-claro); }
body.dark-mode .slider::-webkit-scrollbar-track { background: #374151; }
body.dark-mode .slider img { border-color: #4b5563; }
body.dark-mode .feature-card {
  background: #1f2937;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
body.dark-mode .feature-card h5 { color: var(--cinza-claro); }
body.dark-mode .technical-specs {
  background: #1f2937;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
body.dark-mode .technical-specs h4 { color: var(--cinza-claro); }

body.dark-mode .feature-highlight { background-color: var(--azul-escuro); }
body.dark-mode .feature-highlight + .feature-highlight { border-top: 1px solid #374151; }
body.dark-mode .feature-highlight .destaque-texto h4 { color: var(--cinza-claro); }
body.dark-mode .feature-highlight .destaque-texto .feature-description { color: #d1d5db; }
body.dark-mode #outras-features { background-color: #1f2937; }

body.dark-mode .feature-highlight .destaque-img img {
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    border-color: #374151;
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
  header { padding: 1rem 1.5rem; }
  header .logo img { height: 50px; }
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }

  .sobre-grid, .destaque-grid, .contato-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .destaque-grid .destaque-img, .sobre-grid .sobre-img {
    order: -1;
    margin: 0 auto 2rem auto;
  }

  .destaque-texto h2, .sobre-texto h2 { text-align: center; }
  .tab-buttons { flex-wrap: wrap; }
  .tab-button { font-size: 1rem; padding: 0.8rem 1rem; }
  .institucional-section { padding: 2rem 1.5rem; }
  .feature-highlight .destaque-texto h4 { font-size: 1.8rem; text-align: center; }
  
  .plans-cta-banner {
      flex-direction: column;
      text-align: center;
      gap: 1.5rem;
      padding: 2rem 1.5rem;
  }
  .cta-text h3 {
      font-size: 1.5rem;
  }
}

@media (max-width: 500px) {
  .tecnologias-list { grid-template-columns: 1fr; }
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s, background 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20b955;
}