/* ===== Sulgás - versão estática ===== */
:root {
  --azul-escuro: #004594;
  --azul-claro: #009EE3;
  --verde: #AFCA0A;
  --texto: #333333;
  --cinza: #f5f5f5;
  --branco: #ffffff;
  --container: 1140px;
  --fonte: 'Montserrat', 'Gotham', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], footer[id] { scroll-margin-top: 108px; }
body {
  margin: 0;
  font-family: var(--fonte);
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
  font-size: 15px;
  padding-bottom: 62px; /* espaço da barra fixa */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.2; }
button { font: inherit; cursor: pointer; }
svg { fill: currentColor; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s, color .2s, transform .2s;
}
.btn--green { background: var(--verde); color: var(--azul-escuro); text-transform: uppercase; font-weight: 700; border-radius: 4px; }
.btn--green:hover { background: #c4e00f; }
.btn--blue { background: var(--azul-claro); color: var(--branco); }
.btn--blue:hover { background: var(--azul-escuro); }

/* ===== Topo ===== */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--azul-escuro); color: var(--branco); font-size: 14px; }
.topbar__inner { display: flex; justify-content: flex-end; align-items: center; gap: 40px; min-height: 36px; }
.topbar__sac { display: flex; align-items: center; gap: 8px; }
.topbar__sac svg { width: 18px; height: 18px; }
.social { display: flex; gap: 14px; }
.social svg { width: 18px; height: 18px; }
.social a:hover { color: var(--verde); }

.navbar { background: var(--branco); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.navbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 72px; }
.logo img { width: 150px; }
.navbar__actions { display: flex; align-items: center; gap: 28px; }
.nav-link {
  display: flex; align-items: center; gap: 8px;
  color: var(--azul-escuro); font-weight: 600; font-size: 15px;
  background: none; border: 0; padding: 0;
}
.nav-link svg { width: 22px; height: 22px; color: var(--verde); }
.nav-link:hover { color: var(--azul-claro); }

/* ===== Mega menu ===== */
.mega-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--azul-escuro); color: var(--branco);
  max-height: calc(100vh - 108px); overflow-y: auto;
  padding: 24px 0 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.mega-menu[hidden] { display: none; }
.mega-menu__head { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 24px; }
.mega-menu__close { background: none; border: 0; color: var(--branco); font-size: 36px; line-height: 1; }
.mega-menu__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 32px; }
.mega-menu h3 {
  color: var(--verde); font-size: 14px; text-transform: uppercase; letter-spacing: .5px;
  padding-bottom: 8px; margin: 0 0 10px; border-bottom: 1px solid rgba(255,255,255,.2);
}
.mega-menu ul + h3 { margin-top: 20px; }
.mega-menu li a { display: block; padding: 4px 0; font-size: 14px; opacity: .9; }
.mega-menu li a:hover { color: var(--verde); opacity: 1; }

/* ===== Banner / slider ===== */
.hero { background: var(--branco); }
.slider { position: relative; overflow: hidden; }
.slider__track { position: relative; }
.slide { display: none; }
.slide.is-active { display: block; animation: fade .6s ease; }
.slide img { width: 100%; }
@keyframes fade { from { opacity: .5; } to { opacity: 1; } }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--verde);
  font-size: 34px; padding: 10px 14px; z-index: 2;
}
.slider__arrow--prev { left: 6px; }
.slider__arrow--next { right: 6px; }
.slider__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.slider__dots button {
  width: 11px; height: 11px; padding: 0; border-radius: 50%;
  border: 2px solid var(--verde); background: transparent;
}
.slider__dots button.is-active { background: var(--verde); }

/* ===== Atalhos ===== */
.shortcuts { background: var(--azul-escuro); color: var(--branco); position: relative; padding: 24px 0 48px; }
.shortcuts__wave { position: absolute; top: -40px; left: 0; width: 100%; height: 42px; object-fit: fill; pointer-events: none; }
.shortcuts__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.shortcuts__list a {
  display: flex; flex-direction: column; gap: 10px;
  font-weight: 600; font-size: 13px; line-height: 1.3;
  padding-bottom: 6px;
}
.shortcuts__list img, .shortcuts__list svg { width: 22px; height: 22px; object-fit: contain; }
.shortcuts__list span { border-top: 2px solid var(--verde); padding-top: 8px; }
.shortcuts__list a:hover { color: var(--verde); }

/* ===== A Sulgás ===== */
.about { padding: 72px 0; }
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.title-line { color: var(--azul-escuro); font-size: 26px; padding-bottom: 12px; margin-bottom: 18px; position: relative; }
.title-line::after { content: ""; position: absolute; left: 0; bottom: 0; width: 160px; height: 2px; background: var(--verde); }
.about__text p { margin: 0 0 14px; }
.video-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-thumb:hover img { transform: scale(1.03); }
.video-thumb__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; background: rgba(0,69,148,.85);
}
.video-thumb__play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent var(--branco);
}
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* ===== Benefícios ===== */
.benefits {
  background: var(--azul-escuro); color: var(--branco); padding: 80px 0; position: relative; overflow: hidden;
}
.benefits::before, .benefits::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 420px;
  border-radius: 60% 40% 0 0; transform: rotate(-35deg); opacity: .9;
}
.benefits::before { background: var(--azul-claro); right: -40px; }
.benefits::after { background: var(--verde); right: -200px; }
.benefits__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.benefits__intro h2 { font-size: 40px; font-weight: 800; }
.benefits__intro h2 span { display: block; font-size: 26px; font-weight: 600; color: var(--verde); margin-top: 6px; }
.benefits__intro p { font-size: 18px; margin-top: 20px; }
.benefits__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.benefit { border: 1px solid var(--verde); padding: 24px; text-align: center; font-size: 13px; }
.benefit svg { width: 34px; height: 34px; color: var(--verde); margin-bottom: 10px; }
.benefit h3 { font-size: 17px; margin-bottom: 10px; }
.benefit p { margin: 0; opacity: .92; }

/* ===== Soluções ===== */
.solutions { background: var(--azul-claro); padding: 64px 0 72px; }
.section-title { color: var(--branco); text-align: center; font-size: 32px; font-weight: 700; margin-bottom: 44px; position: relative; padding-bottom: 18px; }
.section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 130px; height: 2px; background: var(--verde); }
.section-title--dark { color: var(--azul-escuro); }
.solutions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution {
  position: relative; min-height: 260px; padding: 28px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(135deg, var(--azul-escuro), #0a5fb8);
  color: var(--branco); overflow: hidden;
  transition: background .3s, transform .3s;
}
.solution::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 45%;
  background: var(--verde); opacity: .25; transition: opacity .3s;
}
.solution > * { position: relative; }
.solution img { width: 34px; height: 34px; object-fit: contain; margin-bottom: 12px; filter: brightness(0) invert(1); }
.solution h3 { font-size: 26px; font-weight: 700; }
.solution p { max-height: 0; opacity: 0; overflow: hidden; margin: 0; font-size: 14px; transition: max-height .35s, opacity .35s, margin .35s; }
.solution:hover, .solution:focus-visible { background: var(--azul-escuro); transform: translateY(-4px); }
.solution:hover::before { opacity: .5; }
.solution:hover p, .solution:focus-visible p { max-height: 120px; opacity: 1; margin-top: 12px; }

/* ===== Atendimento ===== */
.support {
  background: linear-gradient(90deg, #4a4f57, #7d838b);
  color: var(--branco); padding: 80px 0;
}
.support__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.support h2 { font-size: 30px; font-weight: 700; max-width: 380px; }
.support__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Números ===== */
.numbers { background: var(--cinza); padding: 56px 0; }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.number { color: var(--azul-escuro); display: flex; flex-direction: column; align-items: center; }
.number img { height: 42px; width: auto; margin-bottom: 10px; }
.number strong { font-size: 48px; font-weight: 800; line-height: 1.1; }
.number small { font-size: 26px; font-weight: 700; margin-left: 2px; }
.number span { font-weight: 600; margin-top: 6px; }

/* ===== Notícias ===== */
.news { padding: 72px 0 80px; }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { border: 1px solid var(--azul-escuro); display: flex; flex-direction: column; background: var(--branco); }
.news-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.news-card__body { padding: 20px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.news-card h3 { color: var(--azul-escuro); font-size: 16px; margin-bottom: 12px; }
.news-card p { font-size: 13px; margin: 0 0 14px; flex: 1; }
.news-card time { color: #888; font-size: 13px; margin-top: 10px; }

/* ===== Rodapé ===== */
.site-footer { background: var(--azul-escuro); color: var(--branco); padding-top: 56px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr 1fr; gap: 36px; }
.footer__brand { display: flex; flex-direction: column; gap: 22px; }
.footer__brand > img:first-child { width: 160px; }
.footer__brand > img:nth-child(2) { width: 180px; }
.footer__agergs img { width: 140px; margin-bottom: 8px; }
.footer__agergs p { font-size: 12px; margin: 0; opacity: .85; }
.site-footer h4 { color: var(--verde); font-size: 15px; text-transform: uppercase; margin: 0 0 14px; }
.site-footer h4:not(:first-child) { margin-top: 24px; }
.site-footer h5 { font-size: 13px; text-transform: uppercase; margin: 14px 0 4px; }
.site-footer p { margin: 0; opacity: .9; }
.footer__hours { margin-top: 14px !important; font-size: 12px; }
.footer__sac { display: inline-block; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.site-footer li a { display: inline-block; padding: 3px 0; opacity: .9; }
.site-footer a:hover { color: var(--verde); opacity: 1; }
.footer__legal { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); }
.social--footer svg { width: 22px; height: 22px; }
.footer__bottom { margin-top: 40px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.15); }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer__bottom img { height: 34px; width: auto; }
.footer__bottom p { font-size: 12px; opacity: .75; }

/* ===== Barra fixa inferior ===== */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--azul-claro); color: var(--branco);
  box-shadow: 0 -2px 10px rgba(0,0,0,.15);
}
.quickbar__inner { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 62px; }
.quickbar .btn { white-space: nowrap; }
.quickbar ul { display: flex; }
.quickbar li a { display: block; padding: 4px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.quickbar li + li a { border-left: 1px solid var(--verde); }
.quickbar li a:hover { color: var(--azul-escuro); }

/* ===== Responsivo ===== */
@media (max-width: 1024px) {
  .shortcuts__list { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .mega-menu__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .quickbar ul { display: none; }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  .topbar__inner { justify-content: space-between; gap: 12px; font-size: 12px; }
  .navbar__inner { min-height: 62px; }
  .logo img { width: 110px; }
  .navbar__actions { gap: 16px; }
  .nav-link span { display: none; }
  .menu-toggle span { display: inline; }
  .mega-menu__grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  .shortcuts { padding-bottom: 36px; }
  .shortcuts__wave { top: -20px; height: 22px; }
  .shortcuts__list { grid-template-columns: repeat(2, 1fr); }

  .about { padding: 48px 0; }
  .about__inner { grid-template-columns: 1fr; gap: 28px; }

  .benefits { padding: 56px 0; }
  .benefits::before, .benefits::after { display: none; }
  .benefits__intro h2 { font-size: 30px; }
  .benefits__grid { grid-template-columns: 1fr; }

  .section-title { font-size: 26px; }
  .solutions__grid { grid-template-columns: 1fr; }
  .solution { min-height: 200px; }
  .solution p { max-height: none; opacity: 1; margin-top: 10px; }

  .support { padding: 56px 0; }
  .support__inner { flex-direction: column; align-items: flex-start; }
  .support h2 { font-size: 24px; }

  .numbers__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .number strong { font-size: 36px; }
  .number small { font-size: 18px; }

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

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
