/* ============================================
   IED-BIG — Site Institucional
   Design: mar, ciência, comunidade caiçara
   ============================================ */

:root {
  --green-dark:    #085041;
  --green-mid:     #0F6E56;
  --green-base:    #1D9E75;
  --green-light:   #5DCAA5;
  --green-pale:    #9FE1CB;
  --green-bg:      #E1F5EE;

  --ink:           #111612;
  --ink-mid:       #2C3B34;
  --ink-muted:     #5A7269;
  --ink-faint:     #A8BDB5;

  --surface:       #FFFFFF;
  --surface-off:   #F5FAF7;
  --surface-tint:  #EDF7F2;
  --border:        #D4E8DF;
  --border-light:  #E8F3EE;

  --ff-display: 'Fraunces', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --max-w: 1080px;
  --section-py: 96px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em.sci { font-style: italic; font-size: 0.92em; color: var(--ink-muted); }

/* CONTAINER */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,80,65,0.08); }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-text {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--green-dark);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--green-mid); }
.nav-btn {
  background: var(--green-mid) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px !important;
  font-weight: 500;
  transition: background 0.15s !important;
}
.nav-btn:hover { background: var(--green-dark) !important; color: #fff !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink-mid);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  padding: 120px 32px 80px;
  background: var(--surface-off);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-base);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--green-base);
  font-weight: 300;
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--green-mid);
  color: #fff;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  color: var(--ink-mid);
  text-decoration: none;
  padding: 13px 20px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--green-base); color: var(--green-mid); }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card--large {
  grid-column: span 2;
}
.stat-num {
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--green-mid);
}
.stat-num small {
  font-size: 20px;
  font-weight: 400;
  color: var(--green-light);
}
.stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-dot {
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.4; }
}

/* ============ SECTIONS ============ */
.section {
  padding: var(--section-py) 0;
}
.section-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.section-label-col {
  padding-top: 8px;
}
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-base);
  display: block;
}
.section h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 20px;
}
p.lead {
  font-size: 18px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.section-content-col p:not(.lead) {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-mid);
  font-weight: 500;
}

/* ============ CHAIN ============ */
.chain-section {
  background: var(--surface-tint);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
}
.chain-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  margin-bottom: 28px;
}
.chain {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.chain-step {
  flex: 1;
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}
.chain-icon {
  width: 44px; height: 44px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  color: var(--green-mid);
}
.chain-step h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.chain-step p {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
}
.chain-arrow {
  font-size: 18px;
  color: var(--green-pale);
  flex-shrink: 0;
}

/* ============ POMAR ============ */
.pomar-section { background: var(--surface-off); }
.pomar-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.pomar-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.pomar-card--scallop { background: var(--surface); }
.pomar-card--oyster { background: var(--green-bg); }
.pomar-card-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 16px;
}
.pomar-card h3 {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.pomar-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.pomar-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.pomar-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pomar-stats strong {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 300;
  color: var(--green-mid);
  letter-spacing: -0.02em;
}
.pomar-stats span {
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.future-strip {
  margin-top: 32px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.future-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-pale);
  margin-bottom: 20px;
}
.future-items {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.future-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 28px 0 0;
}
.future-item strong {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.future-item span {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.5;
}
.future-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 28px;
  flex-shrink: 0;
}

/* ============ IMPACT ============ */
.impact-section { background: var(--surface); }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.impact-item {
  background: var(--surface);
  padding: 28px 24px;
}
.impact-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.impact-icon--green { background: var(--green-bg); color: var(--green-mid); }
.impact-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.impact-item p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ============ PARTNERS ============ */
.partners-section { background: var(--surface-off); }
.partners-groups {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.partners-group-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.partners-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.partners-chips span {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-mid);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
}

/* ============ CTA / CONTATO ============ */
.cta-section {
  background: var(--green-dark);
  padding: var(--section-py) 0;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.eyebrow--light {
  color: var(--green-pale);
}
.cta-text h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 16px;
}
.cta-text p {
  font-size: 15px;
  color: var(--green-pale);
  line-height: 1.7;
  margin-bottom: 28px;
}
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--green-pale);
}
.contact-list svg { flex-shrink: 0; color: var(--green-light); }
.contact-list a {
  color: var(--green-pale);
  text-decoration: none;
}
.contact-list a:hover { color: #fff; }

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--green-pale);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: #fff;
  font-family: var(--ff-body);
  outline: none;
  transition: border-color 0.15s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group select option { background: var(--green-dark); color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-light); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  background: var(--green-base);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--ff-body);
  cursor: pointer;
  transition: background 0.15s;
}
.btn-submit:hover { background: var(--green-light); }
.form-note {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: -4px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  padding: 40px 0 28px;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}
.footer-brand span {
  display: block;
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.4;
  max-width: 260px;
}
.footer-info p {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--green-pale); }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  :root { --section-py: 64px; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--surface);
    padding: 20px 32px 28px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    z-index: 99;
  }
  .nav-links.open a { font-size: 16px; color: var(--ink-mid); }
  .nav-btn { width: fit-content; }
  .nav-hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 100px 24px 72px; min-height: auto; }
  .hero-stats { grid-template-columns: 1fr 1fr; }

  .section-grid { grid-template-columns: 1fr; gap: 16px; }
  .section-label-col { padding-top: 0; }

  .pomar-cards { grid-template-columns: 1fr; }

  .future-items { flex-direction: column; gap: 20px; }
  .future-divider { width: 100%; height: 1px; margin: 0; }
  .future-item { padding: 0; }

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

  .cta-inner { grid-template-columns: 1fr; gap: 40px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .chain { gap: 4px; }
  .chain-arrow { font-size: 14px; padding: 0 2px; }
  .chain-step { min-width: 130px; }
  .impact-grid { grid-template-columns: 1fr; }
  .partners-section .section-grid { gap: 8px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-dot { animation: none; }
  * { transition: none !important; }
}
