/* Coopanexos — site institucional 2026 */
:root {
  --ink: #0F1A14;
  --ink-2: #08100B;
  --ink-3: #1A261E;
  --lime: #B5D334;
  --green: #1E6B34;
  --paper: #F6F7F2;
  --line: #E3E7DE;
  --text: #4A5348;
  --muted: #5A6356;
  --on-dark: #C9D2C3;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; }
section[id], footer[id] { scroll-margin-top: 84px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--green);
}
.dark .eyebrow { color: var(--lime); }
.h2 {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1;
}
.section { padding: 104px 0; }
.section-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.section-head > div { max-width: 640px; }
.section-head p { margin: 0; max-width: 440px; color: var(--text); }
.dark { background: var(--ink); color: #fff; }
.paper { background: var(--paper); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 4px; border: 2px solid transparent;
  font: 700 17px/1 var(--body);
  text-decoration: none; cursor: pointer;
  transition: transform .15s, background-color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { color: var(--ink); background: #c4e04a; }
.btn-ink { background: var(--ink); color: #fff; min-height: 48px; padding: 0 22px; }
.btn-ink:hover { color: #fff; background: #1c2b22; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { color: #fff; border-color: #fff; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--ink); color: #D7DDD3; font-size: 14px; }
.topbar .container { max-width: 1320px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: #D7DDD3; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .group { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.topbar .live { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.topbar .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.topbar .strong { color: #fff; font-weight: 600; }
@media (max-width: 720px) {
  .topbar .phone { display: none; }
  .topbar .container { flex-wrap: nowrap; padding-top: 8px; padding-bottom: 8px; font-size: 13px; }
  .topbar .group { flex-wrap: nowrap; gap: 14px; white-space: nowrap; }
}

/* ---------- Cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 6px 24px rgba(15,26,20,.08); }
.header .container { max-width: 1320px; display: flex; align-items: center; gap: 16px 28px; min-height: 84px; }
.header .cta { white-space: nowrap; }
.brand { margin-right: auto; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { height: 50px; width: 50px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: .01em; color: #3A3A3A; }
.brand-name .coop { color: #A3C52E; }
.brand-sub { margin-top: 2px; align-self: flex-end; font-weight: 600; font-size: 14px; color: #555; white-space: nowrap; }
.nav { display: flex; gap: 6px 22px; align-items: center; font-weight: 600; font-size: 16px; white-space: nowrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--lime); }
.header .call, .menu-toggle { display: none; }

.menu-toggle {
  width: 46px; height: 46px; border: 0; border-radius: var(--radius);
  background: var(--ink); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

@media (max-width: 1240px) {
  .header .container { min-height: 64px; gap: 8px; }
  .brand img { height: 40px; width: 40px; }
  .brand-name { font-size: 27px; }
  .brand-sub { font-size: 12px; }
  .header .cta { display: none; }
  .header .call, .menu-toggle { display: inline-flex; }
  .header .call { width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--green); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 24px 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .25s ease-out, transform .25s ease-out, visibility .25s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav a {
    color: #fff; display: flex; align-items: center; justify-content: space-between;
    min-height: 54px; border-bottom: 1px solid #253129;
    font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px;
  }
  .nav a::after { content: "›"; color: var(--lime); font-size: 26px; }
  .nav a:hover { color: var(--lime); border-bottom-color: #253129; }
  .nav .nav-cta { margin-top: 18px; border: 0; justify-content: center; background: var(--lime); color: var(--ink); border-radius: 4px; font-family: var(--body); font-size: 17px; text-transform: none; }
  .nav .nav-cta::after { content: none; }
}
@media (min-width: 1241px) { .nav .nav-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: grayscale(.35); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,26,20,.85) 0%, rgba(15,26,20,.55) 55%, rgba(15,26,20,.35) 100%);
}
.hero .container { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; padding-top: 88px; padding-bottom: 88px; }
.hero-copy { flex: 999 1 560px; min-width: 0; }
.hero .tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 16px; color: var(--lime); }
.hero .tag::before { content: ""; width: 36px; height: 3px; background: var(--lime); }
.hero h1 { margin-top: 18px; max-width: 640px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 5.4vw, 72px); line-height: .98; }
.hero p { margin: 24px 0 0; max-width: 600px; font-size: 20px; color: #DCE3D6; }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.quick { flex: 1 1 340px; max-width: 400px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.quick h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1.05; }
.quick > p { margin: 8px 0 16px; font-size: 15px; color: var(--text); }
.quick ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.quick a {
  display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 10px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.quick a:hover { border-color: var(--ink); transform: translateX(4px); color: var(--ink); }
.quick .ico { flex: none; width: 42px; height: 42px; border-radius: var(--radius); background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; }
.quick .txt { flex: 1; min-width: 0; }
.quick small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.quick strong { display: block; }

@media (max-width: 720px) {
  .hero .container { padding-top: 56px; padding-bottom: 40px; gap: 28px; }
  .hero::after { background: linear-gradient(180deg, rgba(15,26,20,.82) 0%, rgba(15,26,20,.72) 100%); }
  .hero p { font-size: 17px; }
  .hero .actions { flex-direction: column; }
  .hero .actions .btn { width: 100%; }
  .quick { max-width: none; padding: 22px; }
}

/* ---------- Números ---------- */
.stats { background: var(--lime); color: var(--ink); }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; }
.stat span { display: block; margin-top: 6px; font-weight: 600; font-size: 15px; }
@media (max-width: 720px) {
  .stats .container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .stat b { font-size: 40px; }
}

/* ---------- Cards ---------- */
.grid-cards { margin-top: 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; background: var(--paper); }
.card .ico { width: 56px; height: 56px; border-radius: var(--radius); background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; }
.card h3 { margin-top: 4px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1.05; }
.card p { margin: 0; color: var(--text); font-size: 16px; }

a.card { background: #fff; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
a.card:hover { border-color: var(--ink); transform: translateY(-3px); color: var(--ink); }
a.card .more { margin-top: auto; font-weight: 700; color: var(--green); }

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .grid-cards { margin-top: 28px; gap: 12px; }
  .card { flex-direction: row; align-items: flex-start; padding: 18px; gap: 14px; }
  .card .ico { flex: none; width: 44px; height: 44px; }
  .card h3 { margin: 0; font-size: 21px; }
  .card p { font-size: 15px; margin-top: 4px; }
  .card > div { display: flex; flex-direction: column; }
}

/* ---------- Duas colunas ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.lead { margin: 20px 0 0; max-width: 520px; }
.dark .lead { color: var(--on-dark); }
.paper .lead, .lead.muted { color: var(--text); }

/* Rastreamento */
.features { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature svg { flex: none; color: var(--green); }
.feature strong { display: block; }
.feature span { display: block; font-size: 16px; color: var(--text); }

.track { background: var(--ink); color: #fff; border-radius: 8px; padding: 32px; }
.badge { display: inline-block; margin-bottom: 24px; padding: 6px 12px; border-radius: 4px; background: var(--lime); color: var(--ink); font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 0 0 26px 32px; }
.steps li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); }
.steps li::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: 0; width: 2px; background: var(--lime); }
.steps li.now::before { box-shadow: 0 0 0 6px rgba(181,211,52,.25); }
.steps li.now::after { background: #3A463D; }
.steps li.next::before { background: transparent; border: 2px solid #5A6658; }
.steps li.next::after { content: none; }
.steps li.next strong { color: var(--on-dark); }
.steps strong { display: block; }
.steps span { display: block; font-size: 14px; color: #AEB8A8; }

/* Portal */
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 2px; color: var(--lime); }
.actions-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.portal { background: #fff; color: var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.portal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line); font-weight: 700; }
.portal-head span { font-size: 13px; padding: 6px 12px; border-radius: 4px; background: var(--ink); color: #fff; }
.portal-body { padding: 8px 20px 20px; display: flex; flex-direction: column; }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #EEF1EA; }
.row:last-child { border-bottom: 0; }
.row strong { display: block; font-size: 15px; }
.row small { display: block; font-size: 13px; color: var(--muted); }
.pill { flex: none; padding: 4px 10px; border-radius: 99px; font-weight: 600; font-size: 13px; }
.pill.go { background: #E6F2C2; color: #2F4A07; }
.pill.wait { background: #FFF0D6; color: #6B4200; }
.pill.done { background: var(--line); color: #333B30; }

/* A cooperativa */
.photo { position: relative; }
.photo img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); filter: brightness(1.4); }
.photo .since { position: absolute; left: 24px; bottom: -28px; background: var(--lime); color: var(--ink); padding: 20px 26px; border-radius: var(--radius); }
.photo .since b { display: block; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; }
.photo .since span { font-weight: 600; font-size: 14px; }
.note { margin-top: 28px; padding: 22px 24px; background: var(--paper); border-radius: var(--radius); display: flex; gap: 16px; align-items: flex-start; }
.note svg { flex: none; color: var(--green); }
.note span { display: block; color: var(--text); font-size: 16px; }
@media (max-width: 720px) {
  .photo img { height: 240px; }
  .photo .since { left: 14px; bottom: -22px; padding: 12px 16px; }
  .photo .since b { font-size: 32px; }
  .split { gap: 44px; }
}

/* Estrutura */
.places { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.places figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.places img { width: 100%; height: 180px; object-fit: cover; }
.places figcaption { padding: 16px 18px; }
.places figcaption strong { display: block; }
.places figcaption span { font-size: 15px; color: var(--text); }
.swipe-hint { display: none; margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) {
  .places { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 24px; margin-right: -24px; padding-right: 24px; }
  .places figure { flex: none; width: 260px; scroll-snap-align: start; }
  .places img { height: 160px; }
  .swipe-hint { display: block; }
}

/* Contato */
.contact-list { margin-top: 36px; display: flex; flex-direction: column; gap: 24px; }
.contact-list > div { display: flex; gap: 16px; }
.contact-list svg { flex: none; margin-top: 3px; color: var(--lime); }
.contact-list strong { display: block; }
.contact-list span, .contact-list a { color: var(--on-dark); }
.form { background: #fff; color: var(--ink); border-radius: 8px; padding: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; }
.form p.hint { margin: -8px 0 0; font-size: 14px; color: var(--muted); }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; height: 48px; padding: 0 12px;
  border: 1.5px solid #C9D0C3; border-radius: 4px;
  font: 16px var(--body); color: var(--ink); background: #fff;
}
.form textarea { height: auto; padding: 12px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--lime); outline-offset: 1px; border-color: var(--ink); }
.form .btn { width: 100%; min-height: 54px; }
@media (max-width: 720px) { .form { padding: 22px; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink-2); color: #AEB8A8; font-size: 15px; }
.footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; padding-top: 56px; padding-bottom: 32px; }
.footer .logo-txt { font-family: var(--display); font-weight: 800; font-size: 28px; color: #fff; letter-spacing: .02em; }
.footer .logo-txt span { color: var(--lime); }
.footer p { margin: 10px 0 0; }
.footer nav { display: flex; flex-direction: column; gap: 8px; }
.footer nav strong { color: #fff; margin-bottom: 4px; }
.footer a { color: #AEB8A8; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .bottom { border-top: 1px solid #1F2A22; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 20px; padding-bottom: 28px; font-size: 14px; }
@media (max-width: 720px) { .footer .bottom { padding-bottom: 96px; } }

/* ---------- Flutuantes ---------- */
.to-top {
  position: fixed; right: 28px; bottom: 96px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.15);
  background: var(--ink); color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.3); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.whats {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px;
  border-radius: 99px; background: var(--green); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.whats:hover { color: #fff; background: #185a2b; }
@media (max-width: 720px) {
  .whats { right: 14px; bottom: 16px; width: 54px; height: 54px; padding: 0; justify-content: center; }
  .whats span { display: none; }
  .to-top { right: 18px; bottom: 82px; width: 46px; height: 46px; }
}
