﻿/* Identidade original: azul institucional, laranja, Inter e cartões com fotos. */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #626976;
  --bg-light: #f8fafc;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 10%);
  --header-height: 80px;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text-dark); background: #fff; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; }
a { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 5px; }
.hero :focus-visible, .footer :focus-visible { outline-color: #fff; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 3000; padding: 12px 20px; background: #fff; color: var(--primary-color); }
.skip-link:focus { top: 12px; }
.container, .nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.header { position: sticky; top: 0; background: rgb(255 255 255 / 97%); z-index: 1000; box-shadow: var(--shadow); }
.navbar { padding: 16px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.logo-eros { height: 48px; width: 48px; object-fit: contain; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgb(30 58 138 / 8%); }
.brand-name { 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: 400; position: relative; padding: 10px 0; }
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.nav-link::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 0; height: 2px; background: var(--primary-color); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; background: transparent; cursor: pointer; }
.bar { width: 25px; height: 3px; background: var(--text-dark); margin: 3px 0; }
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; line-height: 1.3; }
.section-header p { font-size: 1.125rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.hero { background: linear-gradient(135deg, var(--primary-color), #2e67c4); color: #fff; padding: 24px 0 64px; text-align: center; min-height: calc(100svh - var(--header-height)); display: flex; align-items: center; }
.hero-content { max-width: 840px; padding: 0 20px; margin: 0 auto; }
.hero-title { font-size: 3rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.2; }
.hero-subtitle { font-size: 1.25rem; margin: 1.5rem auto 3rem; max-width: 650px; }
.hero-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 3rem 0; }
.pillar { background: rgb(255 255 255 / 8%); padding: 2rem; border-radius: 12px; }
.pillar i { font-size: 2.5rem; margin-bottom: 1rem; color: var(--accent-color); }
.pillar h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.hero-buttons { display: flex; justify-content: center; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--accent-color); color: var(--text-dark); }
.btn-primary:hover { background: #fbbf24; }
.about, .transparency, .contact { background: var(--bg-light); }
.about { padding: 80px 0 140px; }
.about .section-header { margin: 0; }
.section-header .about-intro { color: var(--primary-color); font-size: 1.25rem; max-width: 650px; margin-top: 28px; line-height: 1.7; }
.projects-grid, .transparency-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; margin-top: 2.5rem; }
.project-card, .transparency-card { background: #fff; border-radius: 16px; box-shadow: 0 2px 16px rgb(0 0 0 / 7%); border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; padding: 1.5rem 1rem 1rem; text-align: center; }
.project-card { width: 320px; max-width: 100%; min-height: 340px; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 6px 24px rgb(0 0 0 / 13%); border-color: var(--secondary-color); }
.project-image { width: 100%; height: 180px; border-radius: 8px; margin-bottom: 1.2rem; overflow: hidden; background: #f3f4f6; }
.project-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-content h3, .transparency-info h3 { font-size: 1.1rem; font-weight: 600; color: var(--primary-color); margin-bottom: .3rem; }
.project-content p, .transparency-info p { font-size: 1rem; color: var(--text-light); }
.project-meta { margin-top: .7rem; color: #2864c2; font-size: .98rem; }
.transparency { padding: 60px 0 80px; }
.transparency-card { width: 220px; min-height: 260px; }
.transparency-flag { width: 120px; height: 80px; margin: 0 auto 1.2rem; display: flex; align-items: center; justify-content: center; }
.transparency-flag img { max-width: 90%; max-height: 70px; object-fit: contain; }
.contact { padding-bottom: 100px; }
.contact-content { display: flex; justify-content: space-between; align-items: center; gap: 3rem; min-height: 300px; }
.contact-info { min-width: 0; }
.contact-item { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 1.2rem; }
.contact-item i { font-size: 1.5rem; color: #ad6500; margin-top: .2rem; min-width: 24px; }
.contact-item strong { color: var(--primary-color); display: block; margin-bottom: .5rem; }
.contact-item p { color: var(--text-light); }
.contact-item a { color: inherit; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.contact-logo { flex: 0 0 320px; }
.contact-logo img { width: 320px; height: auto; display: block; }
.footer { background: var(--text-dark); color: #fff; padding: 3rem 0 1rem; }
.footer-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3, .footer-section h4 { color: var(--accent-color); margin-bottom: 1rem; font-size: 1rem; }
.footer-section h3 { font-size: 1.125rem; }
.footer-section p, .footer-section a { color: #b4bac4; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: .5rem; overflow-wrap: anywhere; }
.footer-section a { text-decoration: none; }
.footer-section a:hover { color: var(--accent-color); text-decoration: underline; }
.footer-bottom { border-top: 1px solid #374151; padding-top: 1rem; text-align: center; color: #b4bac4; }
.whatsapp-float, .email-float { position: fixed; width: 56px; height: 56px; bottom: 24px; right: 24px; z-index: 1100; border-radius: 50%; box-shadow: 0 2px 8px rgb(0 0 0 / 20%); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.email-float { bottom: 90px; background: var(--accent-color); color: var(--text-dark); font-size: 25px; }
.whatsapp-float:hover, .email-float:hover { transform: translateY(-2px); }
.modal-open { overflow: hidden; }
.gallery-modal { margin: auto; padding: 0; border: 0; border-radius: 12px; width: min(900px, 95vw); max-height: 90svh; background: #fff; color: var(--text-dark); box-shadow: 0 8px 32px rgb(0 0 0 / 18%); }
.gallery-modal::backdrop { background: rgb(30 41 59 / 85%); }
.gallery-modal-content { padding: 0 1.5rem 1.5rem; }
.close-modal { display: block; position: sticky; top: 0; margin: 0 0 8px auto; width: 48px; height: 48px; border: 0; border-radius: 8px; background: #fff; color: var(--primary-color); font-size: 2rem; cursor: pointer; z-index: 1; }
.close-modal:focus-visible { outline-offset: -4px; }
.gallery-modal-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.gallery-modal-images img { width: 100%; height: 150px; object-fit: contain; border-radius: 8px; background: #f3f4f6; }
@media (max-width: 900px) {
  .js .hamburger { display: flex; }
  .nav-menu { flex-wrap: wrap; gap: 1rem; }
  .nav-container { flex-wrap: wrap; }
  .js .nav-container { flex-wrap: nowrap; }
  .js .nav-menu { display: none; position: absolute; left: 0; top: 100%; width: 100%; background: #fff; box-shadow: var(--shadow); padding: 1rem 20px; flex-direction: column; text-align: center; gap: 0; }
  .js .nav-menu.active { display: flex; }
  .nav-link { display: block; }
  .contact-content { flex-direction: column; align-items: center; gap: 2rem; }
  .contact-logo { flex: auto; }
  .contact-logo img { width: 240px; }
  .footer-content { grid-template-columns: 1fr; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 600px) {
  :root { --header-height: 72px; }
  .navbar { padding: 12px 0; }
  .container, .nav-container { padding: 0 16px; }
  .nav-logo { gap: 10px; }
  .brand-name { font-size: 1.15rem; }
  .hero { padding: 32px 0 48px; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle, .section-header .about-intro { font-size: 1.1rem; }
  .hero-pillars { grid-template-columns: 1fr; gap: 1rem; margin: 2rem 0; }
  .pillar { padding: 1.5rem; }
  section, .about, .transparency, .contact { padding: 48px 0; }
  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: 2rem; }
  .projects-grid { gap: 1.5rem; }
  .project-card { width: 100%; }
  .gallery-modal-content { padding: 0 12px 12px; }
  .gallery-modal-images { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery-modal-images img { height: 120px; }
  .whatsapp-float, .email-float { right: 12px; width: 48px; height: 48px; }
  .whatsapp-float { bottom: 12px; }
  .whatsapp-float svg { width: 48px; height: 48px; }
  .email-float { bottom: 70px; }
  .contact-info { padding-right: 40px; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
