/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header e Navegação */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow);
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo h1 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(30,58,138,0.18), 0 1px 2px rgba(0,0,0,0.12);
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.pillar {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.pillar:hover {
  transform: translateY(-5px);
}

.pillar i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.pillar h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent-color);
  color: white;
}

.btn-primary:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Seções Gerais */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Quem Somos */
.about {
  background: var(--bg-light);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
  align-items: flex-start;
  justify-content: flex-start;
}
.about-text {
  flex: 1 1 380px;
  min-width: 320px;
  max-width: 600px;
  margin-bottom: 2.5rem;
  margin-right: 2.5rem;
}
.about-text h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.about-text h3:first-child {
  margin-top: 0;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.about-text ul {
  list-style: none;
  padding-left: 0;
}

.about-text li {
  padding: 0.5rem 0;
  color: var(--text-light);
  position: relative;
  padding-left: 1.5rem;
}

.about-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
  justify-items: center;
  min-width: 320px;
  flex: 1 1 320px;
}
.stat {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  min-width: 180px;
  max-width: 220px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.stat h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat p {
  color: var(--text-light);
  font-weight: 500;
}

/* Projetos */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.project-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border: 1.5px solid var(--border-color);
  width: 320px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 1rem 1rem 1rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
  text-align: center;
}

.project-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
  border-color: var(--secondary-color);
}

.project-image {
  width: 100%;
  height: 180px;
  background: #f3f4f6;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.project-content p {
  font-size: 1rem;
  color: var(--text-light);
}

.project-meta {
  margin-top: 0.7rem;
  color: var(--secondary-color);
  font-size: 0.98rem;
}

@media (max-width: 700px) {
  .projects-grid {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .project-card {
    width: 100%;
    min-width: 0;
  }
}

/* Regras de .impact, .impact-stats, .impact-stat, .stat-number e .stat-label removidas */

.testimonials h3 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-color);
  font-family: serif;
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Galeria de Projetos Minimalista e Moderna */
.gallery-group {
  margin-bottom: 2.5rem;
}
.gallery-group h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  font-size: 1.2rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border: 1.5px solid var(--border-color);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
  background: var(--bg-white);
  max-width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
  background: var(--bg-light);
}
.gallery-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
  border-color: var(--secondary-color);
}
.gallery-item img:hover {
  transform: scale(1.06);
}
@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gallery-item {
    aspect-ratio: 16/10;
  }
}

/* Contato */
.contact {
  background: var(--bg-light);
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.contact-info h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: #f59e0b;
  margin-top: 0.2rem;
  min-width: 24px;
  text-align: left;
}

.contact-item div {
  text-align: left;
}

.contact-item strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Parcerias */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.partner {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.partner:hover {
  transform: translateY(-5px);
}

.partner-logo {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.partner-logo i {
  font-size: 2rem;
  color: var(--primary-color);
}

.partner h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.partner p {
  color: var(--text-light);
  font-size: 0.875rem;
}

.partners-cta {
  text-align: center;
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.partners-cta h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.partners-cta p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.footer-section p {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
  color: #9ca3af;
}

/* Responsividade */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-pillars {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Estados de hover e focus melhorados */
.btn:focus,
.nav-link:focus,
.social-links a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.logo-eros {
  height: 48px;
  width: auto;
  border-radius: 8px;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
  background: #fff;
  object-fit: contain;
}

.header-top-contact,
.header-bottom-contact {
  width: 100%;
  background: var(--bg-light);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  padding: 0.3rem 2rem;
  border-bottom: 1px solid var(--border-color);
  gap: 1.5rem;
}
.header-bottom-contact {
  border-top: 1px solid var(--border-color);
  border-bottom: none;
  margin-bottom: -1px;
}
.header-top-contact span,
.header-bottom-contact span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 700px) {
  .header-top-contact,
  .header-bottom-contact {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.93rem;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }
}

.transparency {
  padding: 60px 0 40px 0;
  background: var(--bg-light);
}
.transparency-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.transparency-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border: 1.5px solid var(--border-color);
  width: 220px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 1rem 1rem 1rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
  text-align: center;
}
.transparency-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
  border-color: var(--secondary-color);
}
.transparency-flag {
  width: 120px;
  height: 80px;
  background: #f3f4f6;
  border-radius: 8px;
  margin: 0 auto 1.2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.transparency-flag img {
  max-width: 90%;
  max-height: 70px;
  width: auto;
  height: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}
.transparency-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}
.transparency-info p {
  font-size: 1rem;
  color: var(--text-light);
}
.transparency-card-empty .transparency-flag {
  background: #e5e7eb;
}
@media (max-width: 700px) {
  .transparency-grid {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .transparency-card {
    width: 100%;
    min-width: 0;
  }
}

/* Ajuste para remover galeria antiga */
.gallery,
.gallery-group,
.gallery-grid,
.gallery-item {
  display: none !important;
}

.gallery-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(30, 41, 59, 0.85);
  align-items: center;
  justify-content: center;
}
.gallery-modal.active {
  display: flex;
}
.gallery-modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 900px;
  width: 95vw;
  max-height: 90vh;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
}
.close-modal {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}
.close-modal:hover {
  color: var(--primary-color);
}
.gallery-modal-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  align-items: flex-start;
}
.gallery-modal-images img {
  width: 220px;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #f3f4f6;
  transition: transform 0.2s;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  max-width: 95vw;
  max-height: 60vh;
}
.gallery-modal-images img:hover {
  transform: scale(1.04);
}
@media (max-width: 700px) {
  .gallery-modal-content {
    padding: 1rem 0.5rem 1rem 0.5rem;
  }
  .gallery-modal-images img {
    width: 100px;
    height: 70px;
    max-width: 90vw;
    max-height: 40vh;
  }
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}
#contato .contact-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
#contato .contact-info {
  margin: 0;
  text-align: left;
  float: none;
}
#contato .contact-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
#contato .contact-item i {
  font-size: 1.5rem;
  color: #f59e0b;
  margin-top: 0.2rem;
  min-width: 24px;
  text-align: left;
}
#contato .contact-item div {
  text-align: left;
}
.contact-logo img {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  #contato .contact-content {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .contact-logo img {
    max-width: 160px;
  }
}
#contato .contact-form {
  display: none !important;
}

.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.email-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 90px;
  right: 24px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  transition: transform 0.2s;
}
.email-float:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
@media (max-width: 700px) {
  .email-float {
    bottom: 24px;
    left: 24px;
    right: auto;
  }
  .whatsapp-float {
    right: 24px;
    left: auto;
    bottom: 24px;
  }
}
