/* Gestão Cultural — Página inicial V6
   Estilos separados do HTML para facilitar a manutenção no VS Code. */
:root {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: #15283d;
  background: #f7f9fd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px max(5%, calc((100% - 1240px) / 2));
  background: #fff;
  border-bottom: 1px solid #e5ebf3;
  position: relative;
  z-index: 2;
}
header strong { font-size: 21px; letter-spacing: -.025em; }
header small { display: block; color: #74849a; margin-top: 4px; }
.access {
  border: 0;
  border-radius: 10px;
  background: #193b63;
  color: #fff;
  padding: 13px 18px;
  font-weight: 750;
  white-space: nowrap;
}
.access:hover, .access:focus-visible { background: #0d2c4d; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 405px;
  display: flex;
  align-items: center;
  background: #173eaa;
  color: white;
  padding: 53px 5% 95px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(116deg, #102b86 0%, #1946b9 45%, #2549d8 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -3% -58px -3%;
  height: 115px;
  transform: rotate(-2deg);
  background: #f7f9fd;
  z-index: -1;
}
.hero-inner {
  width: min(100%, 1240px);
  margin: auto;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .19em;
  font-weight: 850;
  color: #ffdb48;
}
.hero h1 {
  font-size: clamp(60px, 9vw, 125px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 950;
  margin: 20px 0 14px;
  text-shadow: 0 7px 20px #081f6226;
}
.hero-dot { color: #ffce1c; }
.hero p {
  margin: 0 0 7px;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 750;
  max-width: 690px;
}
.hero-description { display: block; font-size: 16px; color: #e4edff; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #123b78;
  border-radius: 10px;
  padding: 13px 18px;
  margin-top: 24px;
  font-weight: 800;
  box-shadow: 0 7px 18px #061b6528;
}
.hero-cta:hover { background: #fff2a6; }
.hero-art {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.art-one {
  width: 420px;
  height: 420px;
  right: -125px;
  top: -210px;
  background: #ffcb13;
  border-radius: 50%;
}
.art-two {
  width: 390px;
  height: 390px;
  right: -100px;
  bottom: -230px;
  background: #00ae40;
  border-radius: 50%;
}
.art-three {
  width: 190px;
  height: 360px;
  right: 16%;
  top: -180px;
  background: #f3322d;
  transform: rotate(38deg);
  border-radius: 100px;
}
.art-four {
  width: 230px;
  height: 230px;
  right: 24%;
  bottom: -170px;
  background: #ffd719;
  transform: rotate(28deg);
  border-radius: 45px;
}
.container {
  max-width: 1240px;
  margin: -35px auto 0;
  padding: 0 22px;
  position: relative;
  z-index: 1;
}
.section-title {
  background: white;
  border-radius: 18px 18px 0 0;
  padding: 25px 25px 10px;
  margin: 0;
}
.section-title h2 { font-size: 30px; margin: 0 0 6px; }
.section-title p { color: #66788c; margin: 0; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 17px 25px 25px;
  background: white;
  border-radius: 0 0 18px 18px;
}
.card {
  background: #fff;
  border: 1px solid #e5eaf1;
  border-top: 7px solid var(--c);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 9px 25px #193e6314;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 13px 30px #193e6326; }
.symbol {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--pale);
  color: var(--c);
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 900;
}
.card h3 { font-size: 24px; margin: 18px 0 9px; }
.card p { color: #607184; line-height: 1.55; min-height: 72px; }
.card .buttons { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 21px; }
.card .buttons a {
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 800;
  background: var(--c);
  color: #fff;
}
.card .buttons a.secondary { background: var(--pale); color: #244d73; }
.info {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #eaf1f8;
  padding: 18px 21px;
  border-radius: 14px;
  margin: 28px 0 38px;
  color: #3c5872;
}
.brands { background: #fff; padding: 30px 4%; border-top: 1px solid #e8edf4; }
.brand-inner {
  max-width: 1250px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand-inner img { max-width: 20%; height: 72px; object-fit: contain; }
.brand-inner img:last-child { max-width: 11%; height: 70px; }
footer { text-align: center; padding: 19px; color: #75859a; font-size: 12px; }
.overlay {
  position: fixed;
  inset: 0;
  background: #071b2ac9;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 20;
}
.overlay.open { display: flex; }
.dialog {
  width: min(510px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 65px #0004;
}
.dialog h2 { margin: 0 0 6px; }
.dialog p { color: #687a8e; }
.dialog label { display: block; font-size: 13px; font-weight: 700; margin-top: 15px; }
.dialog input, .dialog select {
  display: block;
  width: 100%;
  border: 1px solid #cbd7e4;
  border-radius: 9px;
  padding: 12px;
  margin-top: 6px;
}
.dialog button { border: 0; border-radius: 9px; padding: 12px 16px; margin-top: 19px; }
.dialog .submit { background: #1d568e; color: #fff; font-weight: 700; }
.dialog .close { background: #eaf0f6; color: #254663; margin-left: 6px; }
.notice { font-size: 12px; color: #697c90; margin-top: 14px; }
.error { color: #a32d36 !important; }
.access-options{display:grid;gap:10px;margin:22px 0}.access-options a,.access-options button{display:block;text-align:left;padding:13px 16px;border:1px solid #ccd8e6;border-radius:9px;background:#f4f7fb;color:#193b63;margin:0}.access-options button:disabled{opacity:.65;cursor:not-allowed}.access-options .email-access{background:#193b63;color:#fff}.access-options a:focus-visible,.dialog button:focus-visible{outline:3px solid #83a4f4;outline-offset:3px}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .hero { min-height: 370px; }
  .hero-art { opacity: .65; }
  .card p { min-height: 0; }
}
@media (max-width: 640px) {
  header { padding: 15px 5%; }
  header strong { font-size: 18px; }
  header small { font-size: 11px; }
  .access { padding: 11px 12px; font-size: 12px; }
  .hero { padding: 50px 6% 100px; min-height: 350px; }
  .hero h1 { font-size: clamp(43px, 12vw, 70px); letter-spacing: -.06em; }
  .hero p { font-size: 20px; }
  .hero-description { font-size: 14px; }
  .art-three { right: -80px; }
  .art-four { right: -120px; }
  .container { margin-top: -35px; padding: 0 14px; }
  .section-title { padding: 21px 18px 8px; }
  .section-title h2 { font-size: 26px; }
  .cards { padding: 14px 16px 20px; }
  .card { padding: 20px; }
  .brand-inner { justify-content: center; gap: 20px; }
  .brand-inner img { max-width: 43%; height: 55px; }
  .brand-inner img:last-child { max-width: 24%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
