/* ============================================
   PEIXE DO ATLÂNTICO — CSS Principal
   Versão: 1.0 | Paleta: Navy · Teal · Branco
   ============================================ */

:root {
  --navy: #0A2540;
  --navy-light: #0d3259;
  --teal: #0D9488;
  --teal-light: #14A085;
  --teal-soft: #5FCBC4;
  --white: #ffffff;
  --gray-light: #F4F8FB;
  --gray-mid: #e2eaf2;
  --text: #1e3a5f;
  --text-light: #5a7a99;
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow: 0 4px 24px rgba(10,37,64,0.10);
  --shadow-md: 0 8px 32px rgba(10,37,64,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; }
p { color: var(--text-light); margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: 50px;
  font-family: var(--font-title); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.03em; cursor: pointer; transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,0.35); }
.btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,0.8); }
.btn-outline:hover { background: white; color: var(--navy); }

/* ── SECTION COMMONS ── */
section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.4rem; color: var(--navy); margin-bottom: 1rem; }
.section-header.light h2 { color: white; }
.section-tag {
  display: inline-block; font-family: var(--font-title);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
  color: var(--teal); background: rgba(13,148,136,0.1);
  padding: 0.35rem 1rem; border-radius: 50px; margin-bottom: 1rem;
}
.section-tag.teal { background: rgba(13,148,136,0.2); color: var(--teal-soft); }
.section-subtitle { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-subtitle.light { color: rgba(255,255,255,0.75); }

/* ── FADE IN ANIMATION ── */
.fade-in { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0; transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(10,37,64,0.10);
  padding: 0.75rem 0;
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 46px; transition: var(--transition); }
.navbar:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }
.nav-menu { display: flex; gap: 0.25rem; align-items: center; }
.nav-link {
  font-family: var(--font-title); font-size: 0.85rem; font-weight: 600;
  padding: 0.5rem 0.875rem; border-radius: 50px; transition: var(--transition);
  color: rgba(255,255,255,0.9);
}
.navbar.scrolled .nav-link { color: var(--navy); }
.nav-link:hover { background: rgba(13,148,136,0.15); color: var(--teal) !important; }
.nav-cta {
  background: var(--teal) !important; color: white !important;
  padding: 0.5rem 1.25rem; border-radius: 50px;
}
.nav-cta:hover { background: var(--teal-light) !important; transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { display: block; width: 26px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .nav-hamburger span { background: var(--navy); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background-image: url('../images/hero.jpg');
  background-size: cover; background-position: center; background-attachment: fixed;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,37,64,0.82) 0%, rgba(10,37,64,0.65) 50%, rgba(13,100,100,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 8rem 2rem 4rem; max-width: 860px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
}
/* LOGO NO HERO */
.hero-logo-wrap { margin-bottom: 2rem; }
.hero-logo {
  max-width: 480px; width: 88%; height: auto;
  filter: drop-shadow(0 6px 28px rgba(0,0,0,0.55)) brightness(1.05);
  animation: fadeInDown 0.9s ease-out both;
}
.hero-location {
  font-family: var(--font-title); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--teal-soft);
  margin-bottom: 1.25rem; animation: fadeInUp 1s 0.2s ease-out both;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem); color: white; font-weight: 800;
  margin-bottom: 1.25rem; animation: fadeInUp 1s 0.35s ease-out both;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 620px;
  margin-bottom: 2.5rem; animation: fadeInUp 1s 0.5s ease-out both;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3.5rem; animation: fadeInUp 1s 0.65s ease-out both; }
.hero-stats {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center;
  animation: fadeInUp 1s 0.8s ease-out both;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-family: var(--font-title); font-size: 2rem; font-weight: 800; color: white; line-height: 1; }
.hero-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }
.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* ══════════════════════════════════════
   O PROJECTO
══════════════════════════════════════ */
.section-projecto { background: var(--white); }
.projecto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.projecto-text p { font-size: 1rem; color: var(--text-light); margin-bottom: 1.25rem; }
.projecto-text p strong { color: var(--navy); }
.projecto-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(13,148,136,0.08); color: var(--teal);
  padding: 0.6rem 1.2rem; border-radius: 50px;
  font-family: var(--font-title); font-size: 0.82rem; font-weight: 600;
  border: 1px solid rgba(13,148,136,0.2); margin-top: 0.5rem;
}
.visual-card {
  background: linear-gradient(145deg, var(--navy), #0d3a6e);
  border-radius: var(--radius-lg); padding: 2.5rem; text-align: center;
  box-shadow: var(--shadow-md);
}
.visual-fish { width: 120px; margin: 0 auto 1.5rem; opacity: 0.9; }
.visual-stat strong { display: block; font-family: var(--font-title); font-size: 2.8rem; font-weight: 800; color: white; }
.visual-stat span { font-size: 0.85rem; color: var(--teal-soft); letter-spacing: 0.05em; }
.visual-badge {
  display: inline-block; background: rgba(13,148,136,0.2); color: var(--teal-soft);
  padding: 0.4rem 1rem; border-radius: 50px;
  font-family: var(--font-title); font-size: 0.75rem; font-weight: 600; margin: 1.25rem 0;
}
.visual-features { text-align: left; }
.vf-item { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.8); font-size: 0.9rem; padding: 0.4rem 0; }
.vf-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ══════════════════════════════════════
   CADEIA DE VALOR
══════════════════════════════════════ */
.section-cadeia { background: var(--gray-light); }
.cadeia-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.cadeia-card {
  background: white; border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); border: 1px solid var(--gray-mid);
  transition: var(--transition); position: relative; overflow: hidden;
}
.cadeia-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.cadeia-num {
  font-family: var(--font-title); font-size: 3rem; font-weight: 800;
  color: rgba(13,148,136,0.12); position: absolute; top: 1rem; right: 1.25rem; line-height: 1;
}
.cadeia-icon { width: 52px; height: 52px; margin-bottom: 1.25rem; }
.cadeia-icon svg { width: 52px; height: 52px; }
.cadeia-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.6rem; }
.cadeia-card p { font-size: 0.9rem; color: var(--text-light); margin: 0; }
.cadeia-banner {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: var(--radius-lg); padding: 2rem 3rem; text-align: center;
}
.cb-inner { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.cb-num { font-family: var(--font-title); font-size: 3.5rem; font-weight: 800; color: white; }
.cb-text { font-family: var(--font-title); font-size: 1.1rem; color: rgba(255,255,255,0.85); font-weight: 500; }

/* ══════════════════════════════════════
   ESPÉCIES
══════════════════════════════════════ */
.section-especies { background: var(--navy); padding: 6rem 0; }
.especies-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.especie-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1.75rem 1.25rem; text-align: center;
  transition: var(--transition);
}
.especie-card:hover { background: rgba(13,148,136,0.15); border-color: var(--teal); transform: translateY(-4px); }
.especie-icon { width: 60px; height: 60px; object-fit: contain; margin: 0 auto 1rem; opacity: 0.85; }
.especie-card h3 { font-size: 1rem; color: white; margin-bottom: 0.3rem; }
.especie-card em { font-size: 0.8rem; color: var(--teal-soft); font-style: italic; display: block; margin-bottom: 0.75rem; }
.especie-badge { font-family: var(--font-title); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; background: rgba(13,148,136,0.2); color: var(--teal-soft); padding: 0.25rem 0.75rem; border-radius: 50px; }
.especie-more { background: linear-gradient(145deg, rgba(13,148,136,0.2), rgba(13,148,136,0.1)); border-color: rgba(13,148,136,0.3); }
.especie-plus { font-size: 3rem; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 0.5rem; }
.especies-note { background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: 1.75rem; border-left: 3px solid var(--teal); }
.especies-note p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.95rem; }

/* ══════════════════════════════════════
   SUSTENTABILIDADE
══════════════════════════════════════ */
.section-sust { background: white; }
.sust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.sust-text h2 { font-size: 2.2rem; color: var(--navy); margin: 1rem 0; }
.sust-text p { color: var(--text-light); margin-bottom: 1.5rem; }
.sust-checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.sust-check { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: var(--text); font-weight: 500; }
.sust-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.sust-card { border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.teal-card { background: var(--teal); }
.navy-card { background: var(--navy); }
.sust-card h4 { color: white; font-size: 1.1rem; }
.sust-card p { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.9rem; }

/* ══════════════════════════════════════
   IMPACTO
══════════════════════════════════════ */
.section-impacto {
  background: linear-gradient(135deg, var(--navy) 0%, #0a4a6e 50%, var(--teal) 100%);
  position: relative; padding-bottom: 7rem;
}
.impacto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.impacto-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius);
  padding: 2rem; text-align: center; transition: var(--transition);
}
.impacto-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-4px); }
.impacto-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.impacto-card h3 { color: white; font-size: 1.1rem; margin-bottom: 0.75rem; }
.impacto-card p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin: 0; }
.impacto-wave { position: absolute; bottom: -2px; left: 0; right: 0; line-height: 0; }
.impacto-wave svg { width: 100%; height: 80px; }

/* ══════════════════════════════════════
   CONTACTO
══════════════════════════════════════ */
.section-contacto { background: var(--gray-light); }
.contacto-card {
  max-width: 600px; margin: 0 auto; background: white;
  border-radius: var(--radius-lg); padding: 3.5rem; text-align: center;
  box-shadow: var(--shadow-md);
}
.contacto-icon { margin: 0 auto 1.5rem; }
.contacto-card h3 { font-size: 1.4rem; color: var(--teal); margin-bottom: 1rem; word-break: break-all; }
.contacto-card p { color: var(--text-light); margin-bottom: 2rem; }
.contacto-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.75rem; }
.contacto-tags span {
  background: var(--gray-light); color: var(--text-light);
  padding: 0.35rem 0.9rem; border-radius: 50px;
  font-family: var(--font-title); font-size: 0.78rem; font-weight: 600;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--navy); }
.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; height: 60px; }
.footer-body { padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { height: 44px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-tagline { color: var(--teal-soft) !important; font-family: var(--font-title); font-size: 0.78rem !important; font-weight: 600; letter-spacing: 0.05em; margin-top: 0.75rem; }
.footer-col h4 { color: white; font-size: 0.9rem; font-family: var(--font-title); letter-spacing: 0.05em; margin-bottom: 1.25rem; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a, .footer-col ul li span { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--teal-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.82rem; margin: 0; }

/* ══════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════ */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  background: var(--teal); border: none; border-radius: 50%;
  width: 48px; height: 48px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px); transition: var(--transition);
  box-shadow: 0 4px 16px rgba(13,148,136,0.4);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--teal-light); transform: translateY(-3px); }

/* ══════════════════════════════════════
   KEYFRAME ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .projecto-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cadeia-grid { grid-template-columns: repeat(2, 1fr); }
  .especies-grid { grid-template-columns: repeat(3, 1fr); }
  .sust-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
══════════════════════════════════════ */
@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .section-header h2 { font-size: 1.9rem; }
  .nav-menu { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy); align-items: center; justify-content: center; gap: 1.5rem; z-index: 999; }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-link { font-size: 1.1rem; color: white; padding: 0.75rem 1.5rem; }
  .nav-hamburger { display: flex; z-index: 1000; }
  .hero-logo { max-width: 300px; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 1.25rem; }
  .hero-stat-divider { display: none; }
  .cadeia-grid { grid-template-columns: 1fr; }
  .especies-grid { grid-template-columns: repeat(2, 1fr); }
  .impacto-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contacto-card { padding: 2.5rem 1.5rem; }
}

/* ══════════════════════════════════════
   RESPONSIVE — SMALL (≤480px)
══════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-logo { max-width: 240px; }
  .especies-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { justify-content: center; }
  .cb-inner { flex-direction: column; gap: 0.5rem; }
}
