* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #F4F7FB;
  overflow-x: hidden;
}

/* Navegação Moderna */
nav {
  background: rgba(60, 126, 240, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 71, 171, 0.15);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.7rem 2rem;
  background: rgba(0, 71, 171, 0.98);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero Section - Impactante */
.hero {
  margin-top: 80px;
  background: linear-gradient(135deg, #0047AB 0%, #3c7ef0 50%, #4169E1 100%);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(100px, 100px);
  }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: white;
  color: #0047AB;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease;
}

.hero-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 3rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.hero-card h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  background: #F4F7FB;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  color: #0047AB;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.features-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 71, 171, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  animation: fadeInUp 0.8s ease backwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(60, 126, 240, 0.2);
  border-color: #3c7ef0;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3c7ef0, #4169E1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(60, 126, 240, 0.3);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.5rem;
  color: #0047AB;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-card p {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
}

/* CTA Section */
.cta {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #0047AB, #3c7ef0);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  top: -250px;
  right: -250px;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.cta p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
}

/* Footer */
footer {
  background: #0047AB;
  color: white;
  padding: 3rem 2rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsivo */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0047AB;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .cta h2 {
    font-size: 2rem;
  }
}

/* ===================================
   ADIÇÕES PARA COMPATIBILIDADE
   =================================== */

/* Header Tradicional (para páginas que usam) */
header {
  background: #0047AB;
  color: white;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Ajuste para navbar quando há header tradicional */
body:has(header) nav {
  position: sticky;
  margin-top: 0;
}

/* Navegação Dropdown (adicional ao que você tem) */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  border-radius: 12px;
  overflow: hidden;
  top: 100%;
  margin-top: 8px;
}

.dropdown-content a {
  color: #0047AB !important;
  padding: 14px 20px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-weight: 600;
  transition: all 0.2s ease;
}

.dropdown-content a::after {
  display: none !important;
}

.dropdown-content a:hover {
  background-color: #f0f8ff;
  padding-left: 24px;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apresentação (para páginas internas) */
.apresentacao {
  background: linear-gradient(135deg, #0047AB 0%, #3c7ef0 50%, #4169E1 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.apresentacao::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
  animation: float 20s infinite linear;
}

.apresentacao h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  color: white;
}

.apresentacao p {
  font-size: 1.3rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  color: white;
}

/* Container para módulos */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.main-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: #0047AB;
}

/* Grid de Módulos */
.modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .modules-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Cards dos Módulos */
.card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 71, 171, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(60, 126, 240, 0.2);
  border-color: #3c7ef0;
}

.card-content {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  color: #0047AB;
}

.card-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.color-main {
  color: #4169E1;
}

.card-description {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
  line-height: 1.6;
}

.btn-main {
  background: linear-gradient(135deg, #3c7ef0, #4169E1);
  color: white;
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 700;
}

.btn-main:hover {
  background: linear-gradient(135deg, #2d6fd9, #355ac8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60, 126, 240, 0.4);
}

/* Main content */
main {
  min-height: calc(100vh - 300px);
}

/* Ajustes para mobile no dropdown */
@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    background-color: transparent;
    box-shadow: none;
    display: block;
  }

  .dropdown-content a {
    color: white !important;
    padding: 10px 0 10px 30px;
  }

  .dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 34px;
  }

  .apresentacao {
    margin-top: 0;
    padding: 3rem 1.5rem;
  }

  .apresentacao h3 {
    font-size: 1.8rem;
  }

  .apresentacao p {
    font-size: 1.1rem;
  }

  .main-title {
    font-size: 2rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 1rem;
  }
}

/* Menu toggle para navegação antiga */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

nav.show>a,
nav.show>.dropdown {
  display: block !important;
}

@media (max-width: 768px) {
  body:has(header) .menu-toggle {
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  body:has(header) nav {
    flex-direction: column;
    align-items: flex-start;
    position: sticky;
  }

  body:has(header) nav>a,
  body:has(header) nav>.dropdown {
    display: none;
    width: 100%;
    text-align: left;
  }
}


/* ===================================
   ESTILOS PARA PÁGINA DE EQUIPE - MINIMALISTA
   =================================== */

.categoria {
  margin: 3rem 0;
  text-align: center;
}

.categoria h3 {
  font-size: 2rem;
  color: #0047AB;
  margin-bottom: 2rem;
  font-weight: 800;
}

/* Quadro Docente */
.quadro-docente {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  padding: 2rem;
}

.perfil-docente {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.perfil-docente:hover {
  transform: translateY(-8px);
}

.perfil-docente img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 8px 25px rgba(0, 71, 171, 0.15);
  transition: all 0.3s ease;
  border: 3px solid #3c7ef0;
}

.perfil-docente img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(60, 126, 240, 0.25);
}

.perfil-docente p {
  font-weight: 700;
  color: #0047AB;
  font-size: 1rem;
  margin: 0;
}

/* Quadro Produção */
.quadro-producao {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem;
}

.perfil-producao {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.perfil-producao:hover {
  transform: translateY(-8px);
}

.perfil-producao img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.8rem;
  box-shadow: 0 6px 20px rgba(0, 71, 171, 0.12);
  transition: all 0.3s ease;
  border: 2px solid #4169E1;
}

.perfil-producao img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(65, 105, 225, 0.25);
}

.perfil-producao p {
  font-weight: 600;
  color: #0047AB;
  font-size: 0.9rem;
  margin: 0;
}

/* Quadro Discente */
.quadro-discente {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 2rem;
  justify-items: center;
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.perfil-discente {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.perfil-discente:hover {
  transform: translateY(-6px);
}

.perfil-discente img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.6rem;
  box-shadow: 0 4px 15px rgba(0, 71, 171, 0.1);
  transition: all 0.3s ease;
  border: 2px solid #3c7ef0;
}

.perfil-discente img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(60, 126, 240, 0.2);
}

.perfil-discente p {
  font-weight: 600;
  color: #0047AB;
  font-size: 0.85rem;
  margin: 0;
}

/* Responsivo */
@media (max-width: 768px) {
  .quadro-docente {
    padding: 1rem;
    gap: 2rem;
  }

  .perfil-docente img {
    width: 100px;
    height: 100px;
  }

  .quadro-producao {
    gap: 1.5rem;
    padding: 1rem;
  }

  .perfil-producao img {
    width: 85px;
    height: 85px;
  }

  .quadro-discente {
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
  }

  .perfil-discente img {
    width: 70px;
    height: 70px;
  }

  .perfil-discente p {
    font-size: 0.8rem;
  }
}

/* ========================= */
/* MENU MOBILE - RESPONSIVO  */
/* ========================= */

/* Oculta o menu padrão em telas pequenas */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ========================= */
/* MENU MOBILE CORRIGIDO     */
/* ========================= */

/* Botão toggle padrão */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  /* Ícone branco para contraste */
  cursor: pointer;
}

/* Ajuste do nav base */
#navbar {
  background-color: #0f172a;
  /* azul escuro ou a cor do seu tema */
  color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}

#navbar.scrolled {
  background-color: #1e293b;
  /* tom mais escuro ao rolar */
}

/* ========================= */
/*   Estilo para o banner    */
/* ========================= */

/* Garante que o container pai permita o posicionamento absoluto dos filhos */
.hero-image {
  position: relative;
  /* A animação existente precisa ficar no topo */
  z-index: 10;
}

/* O card precisa de z-index maior para ficar na frente da imagem */
.hero-card {
  position: relative;
  z-index: 2;
  /* Mantemos suas propriedades existentes de vidro */
}

/* A nova imagem em formato de feijão */
.hero-blob-image {
  position: absolute;
  top: 50%;
  /* Empurra para a direita, saindo do container */
  right: -25%;
  /* Centraliza verticalmente e rotaciona um pouco para dinamismo */
  transform: translateY(-50%) rotate(-10deg);
  width: 140%;
  /* Maior que o container para vazar */
  height: auto;
  z-index: 1;
  /* Fica atrás do card (que é z-index: 2) */
  object-fit: cover;
  opacity: 0.9;
  /* Leve transparência para fundir com o fundo azul */

  /* O formato mágico de "feijão/blob" */
  clip-path: path('M865.5,297.5Q793,55,542.5,45.5Q292,36,163.5,276Q35,516,226.5,728Q418,940,691.5,859.5Q965,779,865.5,297.5Z');

  /* Animação suave de flutuação para dar vida */
  animation: blobFloat 8s ease-in-out infinite alternate;
  pointer-events: none;
  /* Impede que a imagem interfira em cliques */
}

/* Animação lenta para o feijão */
@keyframes blobFloat {
  0% {
    transform: translateY(-50%) rotate(-10deg) scale(1);
  }

  100% {
    transform: translateY(-55%) rotate(-8deg) scale(1.05);
  }
}


/* ========================= */
/* AJUSTES RESPONSIVOS       */
/* ========================= */

/* Tablet (ajusta o tamanho para não dominar a tela) */
@media (max-width: 1024px) {
  .hero-blob-image {
    width: 100%;
    right: -10%;
    opacity: 0.6;
    /* Mais sutil no tablet */
  }
}

/* Celular (esconde ou simplifica muito) */
@media (max-width: 768px) {

  /* No mobile, onde tudo fica em uma coluna, a imagem pode poluir muito.
       Geralmente é melhor esconder ou mover para o topo.
       Vamos esconder para manter o design limpo no celular. */
  .hero-blob-image {
    display: none;
  }

  /* Se preferir mostrar no mobile, descomente abaixo e comente o display:none acima: */
  /*
    .hero-blob-image {
        position: relative;
        width: 80%;
        right: auto;
        top: auto;
        transform: none;
        margin: 0 auto -100px auto; 
        display: block;
        z-index: 0;
    }
    */
}

/* ========================= */
/* BARRA DE INFORMAÇÕES (BRANCA) */
/* ========================= */

.info-bar-section {
  /* Puxa para cima para sobrepor o final do Hero */
  margin-top: -4rem;
  padding: 0 2rem;
  position: relative;
  z-index: 20;
  /* Garante que fique acima de outros elementos */
  margin-bottom: 4rem;
}

.info-bar-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem 3rem;

  /* Sombra para destacar do fundo */
  box-shadow: 0 15px 40px rgba(0, 71, 171, 0.15);

  /* Layout Desktop: Lado a Lado */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

/* --- Conteúdo de Texto --- */
.info-content {
  flex: 1;
  /* Ocupa o espaço disponível */
}

.info-content h3 {
  color: #0047AB;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.info-content p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}

/* --- Estatísticas --- */
.info-stats {
  display: flex;
  gap: 3rem;
}

.stat-box {
  text-align: center;
  position: relative;
  min-width: 80px;
  /* Garante largura mínima para não quebrar */
}

/* Linha divisória vertical (apenas desktop) */
.stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #e0e0e0;
}

.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: #3c7ef0;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-desc {
  font-size: 0.9rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================= */
/* AJUSTES PARA MOBILE       */
/* ========================= */
/* ======================================================= */
/* RESPONSIVIDADE (MEDIA QUERIES)                          */
/* ======================================================= */

/* --- Tablet e Telas Médias (max-width: 1024px) --- */
@media (max-width: 1024px) {

  /* Ajuste Geral do Hero */
  .hero-container {
    grid-template-columns: 1fr;
    /* Coluna única */
    text-align: center;
    gap: 3rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* Imagem no Tablet: Ainda é feijão, mas adaptado */
  .hero-blob-image {
    width: 100%;
    right: -10%;
    /* Menos invasivo */
    opacity: 0.7;
  }

  /* Ajustes das colunas de Features e Footer */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Celular (max-width: 768px) --- */
@media (max-width: 768px) {

  /* 1. MENU MOBILE (Do seu código original) */
  .menu-toggle {
    display: block;
    /* Mostra o botão hambúrguer */
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0047AB;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  /* 2. HERO SECTION NO MOBILE */
  .hero {
    padding: 3rem 1.5rem 5rem 1.5rem;
    /* Mais espaço embaixo para a barra */
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  /* 3. IMAGEM HERO: TRANSIÇÃO FEIJÃO -> RETÂNGULO */
  .hero-image {
    display: block;
    margin-top: 2rem;
    width: 100%;
  }

  .hero-blob-image {
    /* Desliga as propriedades de "flutuar" e "recorte" */
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    animation: none;
    clip-path: none;
    /* Remove o formato de feijão */

    /* Aplica o estilo de cartão retangular */
    width: 100%;
    max-width: 400px;
    /* Limite de largura */
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 1;
  }

  /* 4. BARRA DE INFORMAÇÕES (BRANCA) NO MOBILE */
  .info-bar-section {
    margin-top: -2rem;
    /* Sobe menos que no desktop */
    padding: 0 1rem;
  }

  .info-bar-container {
    flex-direction: column;
    /* Empilha texto e números */
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }

  .info-stats {
    width: 100%;
    justify-content: space-around;
    /* Distribui os números */
    border-top: 1px solid #eee;
    /* Linha separadora sutil */
    padding-top: 1.5rem;
    gap: 1rem;
  }

  .stat-box::after {
    display: none;
    /* Remove linhas verticais entre números */
  }

  .stat-num {
    font-size: 2rem;
  }

  /* 5. OUTROS AJUSTES GERAIS */
  .features-grid,
  .footer-content,
  .stats {
    grid-template-columns: 1fr;
    /* Tudo em uma coluna */
  }

  .cta h2 {
    font-size: 2rem;
  }
}

<style>
/* ========================= */
/* MENU MOBILE RESPONSIVO    */
/* ========================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    /* garante que fique acima do menu */
    position: relative;
    /* necessário para z-index */
  }

  .nav-links {
    display: none;
    /* escondido por padrão */
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: rgba(0, 71, 171, 0.95);
    /* azul escuro translúcido */
    padding-top: 80px;
    /* deixa espaço para navbar */
    text-align: center;
    gap: 2rem;
    z-index: 1000;
    /* abaixo do botão */
  }

  .nav-links a {
    display: block;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-links a:hover {
    color: #FFD700;
  }

  .nav-links.active {
    display: flex;
    /* mostra o menu quando ativado */
  }
}

</style>
