/* ============================================================
   ACIJ — Associação Comercial e Industrial de Jaru
   Design: civic-premium · verde-floresta + papel + ouro
   Tipografia: Fraunces (display) + Archivo (texto)
   ============================================================ */

:root {
  --green-950: #062a18;
  --green-900: #0a3d22;
  --green-800: #0e4f2c;
  --green-700: #146c3c;
  --green-500: #1e8e4f;
  --green-100: #dcefe2;
  --gold-500: #c8922e;
  --gold-400: #d9a441;
  --gold-300: #e8be6a;
  --paper: #f6f3ec;
  --paper-2: #efeadf;
  --white: #fdfcf9;
  --ink: #14201a;
  --ink-soft: #46554c;
  --line: rgba(20, 32, 26, 0.14);
  --line-light: rgba(253, 252, 249, 0.16);
  --shadow-soft: 0 2px 24px rgba(6, 42, 24, 0.08);
  --shadow-lift: 0 12px 40px rgba(6, 42, 24, 0.16);
  --radius: 14px;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;
  --max-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain sutil em todo o site */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ TIPOGRAFIA ============ */
.display {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: "opsz" 100;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-400);
}
.on-dark .eyebrow { color: var(--gold-300); }

/* ============ HEADER ============ */
.topbar {
  background: var(--green-950);
  color: rgba(253, 252, 249, 0.85);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}
.topbar a:hover { color: var(--gold-300); }
.topbar-contacts { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-contacts span { display: inline-flex; align-items: center; gap: 6px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 236, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 640;
  letter-spacing: -0.01em;
  display: block;
}
.brand-text small {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 14.5px;
  font-weight: 550;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--green-800); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold-400);
  transition: right 0.25s ease;
}
.nav a:hover::after, .nav a.active::after { right: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 640;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--green-800);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(14, 79, 44, 0.28);
}
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(14, 79, 44, 0.34); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--green-950);
  box-shadow: 0 6px 18px rgba(200, 146, 46, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(200, 146, 46, 0.45); }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--green-700); color: var(--green-800); }
.btn-ghost-light {
  border-color: var(--line-light);
  color: var(--white);
  background: transparent;
}
.btn-ghost-light:hover { border-color: var(--gold-300); color: var(--gold-300); }
.btn-lg { padding: 16px 34px; font-size: 15.5px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.25s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(30, 142, 79, 0.35), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(217, 164, 65, 0.14), transparent 55%),
    linear-gradient(160deg, var(--green-950) 0%, var(--green-900) 55%, var(--green-800) 100%);
  color: var(--white);
  overflow: hidden;
}
/* padrão guilloché sutil — segurança / crédito */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 22px, rgba(253, 252, 249, 0.9) 23px, transparent 24px);
  background-size: 52px 52px;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 100px;
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 64px);
  margin: 22px 0 20px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 480;
  color: var(--gold-300);
}
.hero p.lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(253, 252, 249, 0.78);
  max-width: 54ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 58px;
  border-top: 1px solid var(--line-light);
}
.hero-stats > div {
  padding: 22px 32px 0 0;
  margin-right: 32px;
  border-right: 1px solid var(--line-light);
}
.hero-stats > div:last-child { border-right: none; margin-right: 0; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  display: block;
  color: var(--gold-300);
  letter-spacing: -0.01em;
}
.hero-stats span {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(253, 252, 249, 0.6);
}

/* cartão flutuante do hero — acesso rápido associado */
.hero-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(3, 20, 11, 0.5);
  overflow: hidden;
  transform: rotate(1.2deg);
}
.hero-card-head {
  background: var(--green-100);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(14, 79, 44, 0.35);
}
.hero-card-head strong {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--green-900);
}
.hero-card-head .pill {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--green-800);
  color: var(--white);
  border-radius: 999px;
  padding: 5px 12px;
}
.hero-card-body { padding: 26px; }
.hero-card-body p { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.hero-card-body .btn { width: 100%; }
.hero-card-links {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
.hero-card-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}
.hero-card-links a:hover { border-color: var(--green-500); transform: translateX(3px); }
.hero-card-links a span:first-child { color: var(--gold-500); }

/* ============ SEÇÕES ============ */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-top: 18px;
}
.section-head h2 em { font-style: italic; font-weight: 480; color: var(--green-700); }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 16.5px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ============ SERVIÇOS ============ */
.services { background: var(--paper); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(20, 108, 60, 0.4);
}
.service-card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  font-weight: 500;
  color: var(--gold-500);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin: 12px 0 10px;
  letter-spacing: -0.01em;
}
.service-card p { font-size: 14.5px; color: var(--ink-soft); }
.service-card .go {
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .go::after { content: "→"; transition: transform 0.2s; }
.service-card:hover .go::after { transform: translateX(4px); }
.service-card.featured {
  background: linear-gradient(150deg, var(--green-900), var(--green-800));
  color: var(--white);
  border-color: transparent;
}
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(253, 252, 249, 0.72); }
.service-card.featured .go { color: var(--gold-300); }

/* ============ SORTE GRANDE (cupom) ============ */
.sorte {
  background:
    radial-gradient(900px 500px at 110% 0%, rgba(217, 164, 65, 0.16), transparent 55%),
    linear-gradient(165deg, var(--green-950), var(--green-900));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.sorte .wrap {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 64px;
  align-items: center;
}
.sorte h2 { font-size: clamp(32px, 4vw, 50px); margin: 18px 0 16px; }
.sorte h2 em { font-style: italic; color: var(--gold-300); font-weight: 480; }
.sorte p.lead { color: rgba(253, 252, 249, 0.75); font-size: 17px; max-width: 50ch; }

.premio-list { margin: 30px 0 34px; display: grid; gap: 12px; }
.premio-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(253, 252, 249, 0.06);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 14px 18px;
  transition: background 0.2s, transform 0.2s;
}
.premio-list li:hover { background: rgba(253, 252, 249, 0.1); transform: translateX(4px); }
.premio-list .data {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--gold-300);
  min-width: 78px;
  line-height: 1.2;
}
.premio-list .data small { display: block; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(253,252,249,.5); font-family: var(--font-body); }
.premio-list .desc { font-size: 14.5px; font-weight: 550; }
.premio-list .tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(217, 164, 65, 0.18);
  color: var(--gold-300);
  border: 1px solid rgba(217, 164, 65, 0.4);
}
.premio-list .tag.done {
  background: rgba(30, 142, 79, 0.2);
  color: #7fd6a4;
  border-color: rgba(30, 142, 79, 0.5);
}

/* o cupom */
.cupom {
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  position: relative;
  box-shadow: 0 34px 90px rgba(2, 16, 9, 0.55);
  transform: rotate(-1.6deg);
}
.cupom::before, .cupom::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  background: var(--green-950);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.cupom::before { left: -13px; }
.cupom::after { right: -13px; }
.cupom-top {
  padding: 30px 34px 24px;
  text-align: center;
}
.cupom-top .cupom-brand {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-700);
}
.cupom-top h3 {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 640;
  letter-spacing: -0.01em;
  margin: 8px 0 2px;
  color: var(--green-900);
}
.cupom-top h3 em { font-style: italic; color: var(--gold-500); }
.cupom-top .valor {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 550;
}
.cupom-divider {
  border-top: 2px dashed rgba(20, 32, 26, 0.2);
  margin: 0 18px;
  position: relative;
}
.cupom-mid { padding: 22px 34px; }
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}
.countdown > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 4px 9px;
}
.countdown strong {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 640;
  display: block;
  color: var(--green-900);
  font-variant-numeric: tabular-nums;
}
.countdown span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cupom-mid .prox {
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}
.cupom-bottom {
  padding: 18px 34px 28px;
  text-align: center;
}
.cupom-bottom .btn { width: 100%; }
.cupom-bottom small {
  display: block;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.cupom-serial {
  position: absolute;
  right: 20px;
  top: 26px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(20, 32, 26, 0.35);
  writing-mode: vertical-rl;
  font-variant-numeric: tabular-nums;
}

/* ============ NOTÍCIAS ============ */
.news { background: var(--paper-2); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.news-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-100);
}
.news-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card .meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}
.news-card .meta .date { color: var(--ink-soft); font-weight: 550; letter-spacing: 0.03em; }
.news-card h3 {
  font-family: var(--font-display);
  font-size: 19.5px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.news-card h3 a:hover { color: var(--green-700); }
.news-card p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.news-card .go {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-700);
}

/* lista de notícias (página) */
.news-list { display: grid; gap: 18px; max-width: 860px; }
.news-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.news-row .thumb { background: var(--green-100); min-height: 130px; }
.news-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row .body { padding: 20px 26px 20px 0; }
.news-row.noimg { grid-template-columns: 1fr; }
.news-row.noimg .body { padding: 22px 28px; }
.news-row .meta {
  display: flex;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 8px;
}
.news-row .meta .date { color: var(--ink-soft); font-weight: 550; letter-spacing: 0.03em; }
.news-row h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.news-row h3 a:hover { color: var(--green-700); }
.news-row .body > p { font-size: 14.5px; color: var(--ink-soft); }

/* ============ ARTIGO ============ */
.article-hero {
  background: linear-gradient(165deg, var(--green-950), var(--green-800));
  color: var(--white);
  padding: 72px 0 64px;
}
.article-hero .wrap { max-width: 820px; }
.article-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-top: 20px; }
.article-hero .meta { margin-top: 18px; font-size: 13.5px; color: rgba(253, 252, 249, 0.65); }
.article-body { padding: 64px 0 90px; }
.article-body .wrap { max-width: 760px; }
.article-body p { font-size: 17px; line-height: 1.75; margin-bottom: 22px; color: #2a352e; }
.article-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 36px 0 14px;
  color: var(--green-900);
}
.article-body .winners {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 30px;
  margin: 30px 0;
  box-shadow: var(--shadow-soft);
}
.article-body .winners .winners-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}
.article-body .winners li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.article-body .winners li:last-child { border-bottom: none; }
.article-body .winners strong { color: var(--green-900); }
.article-body .winners span { color: var(--ink-soft); font-size: 14px; }

/* ============ ÁREA DO ASSOCIADO / SCPC ============ */
.portal {
  background:
    radial-gradient(1000px 500px at 100% 0%, rgba(30, 142, 79, 0.25), transparent 60%),
    linear-gradient(165deg, var(--green-950), var(--green-900) 70%);
  color: var(--white);
  min-height: 60vh;
}
.portal .wrap {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 72px;
  align-items: start;
  padding-top: 84px;
  padding-bottom: 96px;
}
.portal h1 { font-size: clamp(34px, 4vw, 52px); margin: 20px 0 18px; }
.portal h1 em { font-style: italic; color: var(--gold-300); font-weight: 480; }
.portal p.lead { color: rgba(253, 252, 249, 0.75); font-size: 17px; max-width: 52ch; }

.portal-feats { margin-top: 36px; display: grid; gap: 16px; }
.portal-feats li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.portal-feats .ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(217, 164, 65, 0.14);
  border: 1px solid rgba(217, 164, 65, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.portal-feats strong { display: block; font-size: 15.5px; margin-bottom: 2px; }
.portal-feats p { font-size: 13.5px; color: rgba(253, 252, 249, 0.62); }

/* console de login */
.login-console {
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(2, 16, 9, 0.6);
  overflow: hidden;
  position: sticky;
  top: 110px;
}
.login-head {
  padding: 26px 32px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.login-head .t strong {
  font-family: var(--font-display);
  font-size: 20px;
  display: block;
  color: var(--green-900);
}
.login-head .t span { font-size: 12.5px; color: var(--ink-soft); }
.login-head .lock {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.login-body { padding: 30px 32px 34px; }
.login-partner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  color: var(--ink-soft);
}
.login-partner img { height: 26px; width: auto; mix-blend-mode: multiply; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input:focus {
  outline: none;
  border-color: var(--green-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(30, 142, 79, 0.14);
}
.login-body .btn { width: 100%; margin-top: 6px; }
.login-foot {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.login-foot a { color: var(--green-700); font-weight: 650; }
.login-foot a:hover { text-decoration: underline; }
.login-note {
  background: var(--paper);
  border-top: 1px dashed var(--line);
  padding: 16px 32px;
  font-size: 12px;
  color: var(--ink-soft);
}

/* links úteis grid */
.uteis { background: var(--paper); }
.uteis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.util-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.util-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: rgba(20, 108, 60, 0.4); }
.util-card .ic {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.util-card strong { font-size: 15px; display: block; }
.util-card span { font-size: 12.5px; color: var(--ink-soft); }

/* ============ QUEM SOMOS ============ */
.about-hero {
  background: linear-gradient(165deg, var(--green-950), var(--green-800));
  color: var(--white);
  padding: 84px 0;
}
.about-hero .wrap { max-width: 840px; }
.about-hero h1 { font-size: clamp(36px, 4.6vw, 58px); margin-top: 20px; }
.about-hero h1 em { font-style: italic; color: var(--gold-300); font-weight: 480; }
.about-hero p { margin-top: 20px; font-size: 18px; color: rgba(253, 252, 249, 0.75); }

.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 42px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 10px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--gold-400), var(--green-700));
}
.timeline-item { position: relative; padding-bottom: 42px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--gold-500);
}
.timeline-item .year {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 640;
  color: var(--green-800);
}
.timeline-item p { color: var(--ink-soft); margin-top: 6px; max-width: 60ch; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.pillar .pillar-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-500);
}
.pillar h3 { font-family: var(--font-display); font-size: 21px; margin: 8px 0 10px; color: var(--green-900); }
.pillar p { font-size: 14.5px; color: var(--ink-soft); }

/* ============ CTA FINAL ============ */
.cta-band {
  background:
    radial-gradient(700px 400px at 15% 120%, rgba(217, 164, 65, 0.22), transparent 60%),
    linear-gradient(150deg, var(--green-900), var(--green-800));
  color: var(--white);
  border-radius: 24px;
  padding: 64px 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border: 2px dashed rgba(217, 164, 65, 0.35);
  border-radius: 50%;
}
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); }
.cta-band h2 em { font-style: italic; color: var(--gold-300); font-weight: 480; }
.cta-band p { margin-top: 14px; color: rgba(253, 252, 249, 0.72); max-width: 48ch; }
.cta-band .actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--green-950);
  color: rgba(253, 252, 249, 0.72);
  padding: 72px 0 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--green-500));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand img { height: 44px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { font-size: 13.5px; margin-top: 18px; max-width: 34ch; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-300); }
.footer-col li { font-size: 14px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(253, 252, 249, 0.45);
}

/* ============ CORPO RICO (galerias em notícias/eventos/páginas) ============ */
.body-cover {
  border-radius: var(--radius);
  margin-bottom: 28px;
  box-shadow: var(--shadow-soft);
}
.body-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.body-gallery.cols-1 { grid-template-columns: 1fr; }
.body-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.body-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.body-gallery.cols-1 img { aspect-ratio: auto; max-height: 560px; object-fit: contain; background: var(--paper-2); }
.body-gallery img:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
@media (max-width: 720px) {
  .body-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---- slider de galeria (4+ fotos): palco + miniaturas ---- */
.gal-slider { margin: 30px 0; }
.gal-stage { position: relative; }
.gal-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gal-slide img {
  width: 100%;
  height: 460px;
  object-fit: contain;
  cursor: zoom-in;
}
.gal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(253, 252, 249, 0.94);
  color: var(--green-900);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(6, 42, 24, 0.3);
  transition: transform 0.15s, background 0.15s;
  z-index: 2;
  line-height: 1;
}
.gal-nav:hover { background: var(--white); transform: translateY(-50%) scale(1.08); }
.gal-prev { left: 14px; }
.gal-next { right: 14px; }
.gal-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(6, 42, 24, 0.75);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.gal-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 3px;
}
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumb {
  flex: 0 0 78px;
  height: 58px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  background: none;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb:hover { opacity: 0.85; }
.gal-thumb.on {
  opacity: 1;
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 42, 24, 0.18);
}
@media (max-width: 720px) {
  .gal-slide img { height: 320px; }
  .gal-thumb { flex-basis: 64px; height: 48px; }
}

/* ---- lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 24, 13, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.lb-close, .lb-nav {
  position: absolute;
  border: none;
  background: rgba(253, 252, 249, 0.12);
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(253, 252, 249, 0.28); }
.lb-close { top: 20px; right: 22px; width: 44px; height: 44px; font-size: 17px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 26px; line-height: 1; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(253, 252, 249, 0.75);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

/* ============ REVEALS ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVO ============ */
@media (max-width: 1020px) {
  .nav { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
  }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { transform: none; max-width: 460px; }
  .sorte .wrap { grid-template-columns: 1fr; gap: 52px; }
  .cupom { transform: none; max-width: 480px; margin: 0 auto; }
  .portal .wrap { grid-template-columns: 1fr; gap: 48px; }
  .login-console { position: static; max-width: 520px; }
  .services-grid, .news-grid, .uteis-grid, .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 48px 36px; }
  .cta-band .actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
  section { padding: 68px 0; }
  .topbar { display: none; }
  .services-grid, .news-grid, .uteis-grid, .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { flex-direction: column; border-top: none; }
  .hero-stats > div {
    border-right: none;
    border-top: 1px solid var(--line-light);
    padding: 16px 0 0;
    margin: 0 0 10px;
  }
  .news-row { grid-template-columns: 1fr; }
  .news-row .body { padding: 20px 24px; }
  .brand-text small { display: none; }
}
