/* Monitor do Agro - paleta oficial do design system */
:root {
  --petroleo: #234B54;
  --grama: #3EAE5E;
  --floresta: #316A52;
  --maritimo: #348F58;
  --branco: #FFFFFF;
  --borda: #d4e0dc;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--branco);
  background: var(--petroleo);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1 { font-family: var(--serif); line-height: 1.1; margin: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

/* Barra superior */
.topbar {
  background: var(--branco);
  border-bottom: 1px solid var(--borda);
  position: relative; z-index: 2;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 76px; padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 32px; height: auto; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--petroleo); white-space: nowrap; }

.parceiros { display: flex; align-items: center; gap: 8px; }
.parceiros > * {
  display: flex; align-items: center; padding: 6px 12px; border-radius: 10px;
  transition: background .2s;
}
.parceiros a:hover { background: #eef4f2; }
.parceiros img { width: auto; }
.logo-gpsiscom { height: 36px; }
.logo-canastra { height: 38px; }
.logo-ifmg { height: 38px; }

/* Faixa dourada de destaque */
.faixa {
  background: linear-gradient(90deg, #a87c1f 0%, #d9b24a 30%, #f0d27a 50%, #d9b24a 70%, #a87c1f 100%);
  color: #2b2410;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.12);
  position: relative; z-index: 2;
}
.faixa__inner {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding-block: 9px; text-align: center;
}
.faixa p { margin: 0; line-height: 1.35; }
.faixa__titulo { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; letter-spacing: .01em; }
.faixa__selo { font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.faixa strong { font-weight: 700; }

/* Área principal */
.hero {
  flex: 1;
  display: flex;
  background:
    linear-gradient(90deg, rgba(35,75,84,.97) 0%, rgba(35,75,84,.9) 40%, rgba(35,75,84,.3) 68%, rgba(35,75,84,.05) 100%),
    var(--fundo) right center / cover no-repeat,
    var(--petroleo);
  overflow: hidden;
}
.hero__inner {
  display: flex; align-items: center;
}
.hero__text { padding-block: 40px; max-width: 620px; }

.pill {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: rgba(62,174,94,.18); border: 1px solid rgba(62,174,94,.6);
  color: #9be3b0; font-size: .85rem; font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); margin-bottom: 16px; }
.hero h1 em { color: var(--grama); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: rgba(255,255,255,.82); max-width: 540px; margin: 0 0 32px; }

/* Contador regressivo */
.countdown { display: flex; gap: 12px; }
.countdown__item {
  min-width: 84px; padding: 14px 10px 10px; text-align: center;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
}
.countdown__item span {
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.countdown__item small {
  display: block; margin-top: 6px; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .14em; color: rgba(255,255,255,.7);
}

/* Módulos */
.modulos {
  list-style: none; margin: 32px 0 0; padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex; flex-wrap: wrap; gap: 14px 28px;
}
.modulos li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
}
.modulos__icone {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--grama); color: var(--branco);
}
.modulos li:nth-child(2) .modulos__icone { background: var(--maritimo); }
.modulos li:nth-child(3) .modulos__icone { background: var(--floresta); }
.modulos__icone svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Rodapé */
.footer {
  background: #1a3a41;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 18px;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.footer p { margin: 0; }
.footer a { color: #9be3b0; font-weight: 600; text-decoration: none; white-space: nowrap; }
.footer a:hover { text-decoration: underline; }
.footer__copy { font-size: .82rem; color: rgba(255,255,255,.5); }

/* Responsivo */
@media (max-width: 1200px) and (min-width: 901px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(35,75,84,.97) 0%, rgba(35,75,84,.9) 50%, rgba(35,75,84,.45) 75%, rgba(35,75,84,.15) 100%),
      var(--fundo) right center / cover no-repeat,
      var(--petroleo);
  }
}
@media (max-width: 900px) {
  .topbar__inner { flex-direction: column; gap: 6px; }
  .parceiros { flex-wrap: wrap; justify-content: center; }
  .hero {
    background:
      linear-gradient(180deg, rgba(35,75,84,.93) 0%, rgba(35,75,84,.85) 60%, rgba(35,75,84,.7) 100%),
      var(--fundo-mobile) 70% center / cover no-repeat,
      var(--petroleo);
  }
  .hero__text { padding: 32px 0 40px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .parceiros > * { padding: 4px 6px; }
  .logo-gpsiscom { height: 26px; }
  .logo-canastra { height: 30px; }
  .logo-ifmg { height: 28px; }
  .countdown { gap: 8px; }
  .countdown__item { min-width: 0; flex: 1; }
  .modulos { gap: 12px 20px; }
  .modulos li { font-size: 1.05rem; }
  .faixa__titulo { font-size: 1rem; }
  .faixa__selo { font-size: .68rem; letter-spacing: .08em; }
}
