/* ==========================================================================
   ABCLS - ALINHAMENTO RÍGIDO BASEADO NAS LINHAS GUIAS CYAN (1140PX)
   ========================================================================== */

:root {
  --orange: #f75910;
  --orange-dark: #de4705;
  --dark: #222222;
  --text: #444444;
  --text-muted: #666666;
  --border: #e0e0e0;
  --bg-dark: #1a1a1a;
  --white: #ffffff;
  --container-max: 1140px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* CONTAINER MESTRE TRAVADO EM 1140PX SEM VAZAMENTOS */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 15px;
}

/* --- 1. TOP NAV (FONTE 11PX ALINHADA À DIREITA) --- */
.header-wrapper {
  background: var(--white);
  padding: 10px 0 0;
  position: relative;
}

.top-nav-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 11.5px;
  font-weight: 600;
  color: #333;
}
.top-nav-bar a {
  color: #444;
  letter-spacing: 0.2px;
}
.top-nav-bar a.active, .top-nav-bar a:hover {
  color: var(--orange);
}
.top-nav-bar .sep {
  color: #bbb;
  font-weight: 300;
  user-select: none;
}

/* --- 2. HEADER BRAND & LOGO --- */
.header-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 25px;
}

.brand-manifesto h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 15px;
}
.brand-manifesto h2 span {
  color: var(--orange);
  display: block;
}
.brand-manifesto p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}
.brand-manifesto p .hl-orange {
  color: var(--orange);
  font-weight: 600;
}

.brand-logo-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.brand-logo-col img {
  max-width: 320px;
}

/* DIVISOR CENTRAL (CHEVRON BADGE) */
.divider-badge-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
  margin-bottom: -22px;
}
.divider-badge-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* --- 3. HERO ORANGE SECTION --- */
.hero-orange-section {
  background: var(--orange);
  color: var(--white);
  padding: 50px 0 35px;
  position: relative;
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 35px;
}
.hero-img-col {
  display: flex;
  justify-content: flex-start;
}
.hero-img-col img {
  max-width: 340px;
}
.hero-text-col h1 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
  color: var(--white);
}
.hero-text-col p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
}

/* 4 SISTEMAS BAR */
.sistemas-cols-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.sistema-item img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 8px;
  transition: transform 0.25s ease;
}
.sistema-item:hover img {
  transform: scale(1.06);
}
.sistema-item h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.sistema-item span {
  font-size: 11px;
  color: #ffe082;
  font-weight: 700;
}

/* --- 4. ASSOCIADAS --- */
.associados-block {
  padding: 50px 0;
  background: var(--white);
}
.block-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 22px;
}
.associados-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.associada-box {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  background: var(--white);
  transition: all 0.2s ease;
}
.associada-box:hover {
  border-color: var(--orange);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}
.associada-box img {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
}

/* --- 5. NOTÍCIAS --- */
.noticias-block {
  padding: 40px 0;
  border-top: 1px solid #f0f0f0;
  background: var(--white);
}
.noticia-item-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 35px;
  padding: 30px 0;
  border-bottom: 1px solid #f0f0f0;
}
.noticia-item-row:last-child {
  border-bottom: none;
}
.noticia-item-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 10px;
}
.noticia-item-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.noticia-item-text .link-orange {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  display: inline-block;
}
.noticia-item-text .link-orange:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}
.noticia-item-img {
  display: flex;
  justify-content: flex-end;
}
.noticia-item-img img {
  max-width: 270px;
}

/* --- 6. SEJA UMA ASSOCIADA --- */
.seja-associada-block {
  padding: 50px 0;
  background: var(--white);
  border-top: 1px solid #eeeeee;
}
.seja-associada-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.form-box h2 {
  font-size: 23px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.form-box h2 span {
  color: var(--orange);
}
.form-box p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.form-field {
  margin-bottom: 10px;
}
.form-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
}
.form-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(247, 89, 16, 0.15);
}
.form-row-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.form-privacy-check {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-privacy-check a {
  color: var(--orange);
}
.btn-submit-orange {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s ease;
}
.btn-submit-orange:hover {
  background: var(--orange-dark);
}
.worker-img-wrap {
  display: flex;
  justify-content: flex-end;
}
.worker-img-wrap img {
  max-width: 400px;
}

/* --- 7. NEWSLETTER BAR --- */
.newsletter-bar-wrap {
  background: var(--bg-dark);
  color: var(--white);
  padding: 24px 0;
}
.newsletter-bar-wrap .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.newsletter-bar-wrap h3 {
  font-size: 16px;
  font-weight: 700;
}
.newsletter-bar-wrap h3 span {
  color: var(--orange);
}
.newsletter-form-inline {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 500px;
}
.newsletter-form-inline input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #444;
  border-radius: 4px;
  font-size: 12.5px;
  background: #fff;
  font-family: inherit;
}
.newsletter-form-inline button {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.newsletter-form-inline button:hover {
  background: var(--orange-dark);
}

/* --- 8. FOOTER --- */
.footer-wrap {
  padding: 30px 0 20px;
  background: var(--white);
  border-top: 1px solid #eaeaea;
}
.footer-wrap .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo-wrap img {
  max-width: 120px;
}
.footer-addr-text {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
}
.footer-socials svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 960px) {
  .header-main-grid, .hero-content-grid, .seja-associada-grid, .noticia-item-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .brand-logo-col, .hero-img-col, .worker-img-wrap, .noticia-item-img {
    justify-content: center;
  }
  .associados-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .sistemas-cols-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter-bar-wrap .container {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-form-inline {
    width: 100%;
  }
  .footer-wrap .container {
    flex-direction: column;
    text-align: center;
  }
}
