/* =========================================================
   CONTRATA ARARUAMA — QUEM SOMOS
   Identidade visual: azul institucional + amarelo + verde
   ========================================================= */

:root {
  --navy: #062b5b;
  --navy-dark: #002755;
  --blue: #0d5fc4;
  --yellow: #ffbd16;
  --green: #078653;
  --green-dark: #056a43;
  --text: #101820;
  --muted: #5f6871;
  --light: #f4f7fa;
  --light-blue: #edf4f9;
  --border: #dfe5eb;
  --white: #fff;
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; }

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* HEADER */

.site-header {
  position: relative;
  z-index: 1000;
  height: 78px;
  width: 100%;
  background: var(--navy-dark);
  color: #fff;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 157px;
  max-height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-divider {
  width: 1px;
  height: 38px;
  margin: 0 20px;
  background: rgba(255,255,255,.5);
  flex: 0 0 1px;
}

.brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-text strong { font-size: 20px; line-height: 1; }
.brand-text strong span { color: var(--yellow); }

.brand-text small {
  font-size: 14px;
  white-space: nowrap;
}

.main-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 3px;
  background: var(--yellow);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

/* HERO */

.page-hero {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: linear-gradient(105deg, #062b5b 0%, #0a3e7b 62%, #0c579f 100%);
  color: #fff;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  top: -220px;
  width: 620px;
  height: 620px;
  border: 2px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02);
}

.page-hero-pattern {
  position: absolute;
  right: 7%;
  bottom: -100px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255,189,22,.08);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.eyebrow, .section-label {
  display: inline-block;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.page-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(48px, 6vw, 68px);
  line-height: .95;
  letter-spacing: -2px;
}

.page-hero h1 span { color: var(--yellow); }

.page-hero p {
  max-width: 700px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
}

.hero-mark {
  min-width: 260px;
  padding-left: 28px;
  border-left: 3px solid var(--yellow);
}

.hero-mark strong {
  font-size: 22px;
  line-height: 1.25;
}

/* INTRO */

.intro-section { padding: 70px 0; background: #fff; }

.intro-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.intro-title h2,
.section-heading h2,
.citizenship-copy h2 {
  margin: 13px 0 0;
  color: var(--navy);
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -.8px;
}

.intro-title h2 span,
.section-heading h2 span,
.citizenship-copy h2 span { color: #efa900; }

.intro-text {
  border-left: 4px solid var(--yellow);
  padding-left: 30px;
}

.intro-text p,
.citizenship-copy p,
.secretariat-body p,
.person-info p {
  color: #4e5963;
  font-size: 16px;
  line-height: 1.75;
}

.intro-text p { margin: 0 0 18px; }
.intro-text p:last-child { margin-bottom: 0; }

/* MISSÃO */

.mission-section {
  padding: 58px 0;
  background: var(--navy);
  color: #fff;
}

.mission-grid {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 90px;
  align-items: center;
}

.mission-card {
  position: relative;
  min-height: 290px;
  padding: 35px;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.mission-number {
  position: absolute;
  top: 25px;
  right: 28px;
  color: #dfe8f2;
  font-size: 46px;
  font-weight: 800;
}

.mission-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 27px;
  font-weight: 800;
}

.mission-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 20px;
}

.mission-card p {
  margin: 0;
  color: #59636d;
  font-size: 14px;
  line-height: 1.65;
}

.section-label.light { color: #ffca3a; }

.mission-copy h2 {
  margin: 13px 0 20px;
  font-size: 39px;
  line-height: 1.12;
}

.mission-copy h2 strong { color: var(--yellow); }

.mission-copy p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.75;
}

/* CIDADANIA */

.citizenship-section {
  padding: 75px 0;
  background: var(--light-blue);
}

.citizenship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.citizenship-copy p {
  max-width: 620px;
  margin: 22px 0 0;
}

.citizenship-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.stat-card {
  min-height: 145px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 10px;
  color: #fff;
}

.stat-card strong { font-size: 29px; line-height: 1; }
.stat-card span { font-size: 12px; line-height: 1.35; font-weight: 800; letter-spacing: .4px; }
.stat-card.blue { background: #2e72c2; }
.stat-card.green { background: var(--green); }
.stat-card.yellow { background: var(--yellow); color: var(--navy); }
.stat-card.navy { background: var(--navy); }

/* VANTAGENS */

.advantages-section { padding: 75px 0; background: #fff; }

.section-heading { max-width: 750px; }
.section-heading.centered { margin: 0 auto 38px; text-align: center; }

.section-heading h2 { font-size: 40px; }
.section-heading p {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.advantage-card {
  position: relative;
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.advantage-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
}

.advantage-card.candidate::before { background: var(--blue); }
.advantage-card.company::before { background: var(--green); }

.advantage-top {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.advantage-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
}

.candidate .advantage-icon { background: var(--blue); }
.company .advantage-icon { background: var(--green); }

.advantage-card h3 {
  max-width: 470px;
  margin: 24px 0 20px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.25;
}

.advantage-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.advantage-card li {
  position: relative;
  padding: 0 0 11px 28px;
  color: #505a64;
  font-size: 14px;
  line-height: 1.45;
}

.advantage-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.candidate li::before { background: var(--blue); }
.company li::before { background: var(--green); }

.advantage-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

.advantage-link span { font-size: 18px; }

/* SECRETARIA */

.secretariat-section {
  padding: 70px 0;
  background: var(--navy);
  color: #fff;
}

.secretariat-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.secretariat-header h2 {
  margin: 13px 0 0;
  font-size: 38px;
  line-height: 1.1;
}

.secretariat-header h2 span { color: var(--yellow); }

.law-badge {
  min-width: 225px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px;
  text-align: center;
  background: rgba(255,255,255,.06);
}

.law-badge small,
.law-badge span {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
}

.law-badge strong {
  display: block;
  margin: 7px 0;
  color: var(--yellow);
  font-size: 16px;
  line-height: 1.25;
}

.secretariat-body {
  max-width: 980px;
  padding-top: 35px;
}

.secretariat-body p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.8);
}

.secretariat-body strong { color: #fff; }

/* GESTÃO */

.management-section { padding: 75px 0; background: #fff; }
.management-section .section-heading { margin-bottom: 38px; }

.management-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.person-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 390px;
  overflow: hidden;
  border-radius: 12px;
  background: #f6f8fa;
  border: 1px solid var(--border);
}

.person-photo {
  min-height: 100%;
  background: var(--navy);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0b4a8b, #062b5b);
}

.photo-placeholder.female {
  background: linear-gradient(145deg, #078653, #05633f);
}

.photo-placeholder span {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255,255,255,.75);
  border-radius: 50%;
  color: #fff;
  font-size: 27px;
  font-weight: 800;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.person-info { padding: 31px; }

.person-role {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
}

.deputy .person-role { color: var(--green); }

.person-info h3 {
  margin: 9px 0 17px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.15;
}

.person-info p {
  margin: 0 0 13px;
  font-size: 13px;
  line-height: 1.6;
}

.person-highlight {
  margin-top: 18px;
  padding: 13px;
  border-radius: 7px;
  background: #e4f2ec;
}

.person-highlight span {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 800;
}

.person-highlight strong {
  color: var(--green-dark);
  font-size: 12px;
}

/* FECHAMENTO */

.closing-section {
  padding: 35px 0;
  background: var(--yellow);
  color: var(--navy);
}

.closing-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.closing-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  font-size: 30px;
}

.closing-section h2 {
  margin: 7px 0 0;
  font-size: 25px;
  line-height: 1.2;
}

.closing-section h2 span { font-weight: 400; }

.closing-button {
  margin-left: auto;
  padding: 14px 19px;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.closing-button span {
  margin-left: 8px;
  font-size: 16px;
}

/* FOOTER */

.site-footer {
  min-height: 97px;
  background: var(--navy-dark);
  color: #fff;
}

.footer-grid {
  min-height: 97px;
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 1fr 1.1fr;
  align-items: center;
}

.footer-help {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-circle {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  font-weight: 800;
}

.footer-help strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-help p {
  margin: 0;
  font-size: 12px;
}

.footer-contact {
  border-left: 1px solid rgba(255,255,255,.55);
  padding-left: 28px;
}

.footer-contact p {
  margin: 4px 0;
  font-size: 12px;
}

.footer-contact p span {
  display: inline-block;
  width: 22px;
}

.footer-logo {
  border-left: 1px solid rgba(255,255,255,.55);
  padding-left: 55px;
}

.footer-logo img {
  width: 190px;
  max-height: 62px;
  object-fit: contain;
}

.footer-slogan {
  border-left: 1px solid rgba(255,255,255,.55);
  padding-left: 35px;
}

.footer-slogan strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.footer-slogan small {
  display: block;
  margin-top: 6px;
  font-size: 9px;
}

/* RESPONSIVO */

@media (max-width: 1200px) {
  .container { padding-left: 28px; padding-right: 28px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 11px; }
  .intro-grid, .citizenship-grid { gap: 55px; }
  .management-grid { grid-template-columns: 1fr; }
  .person-card { max-width: 850px; }
}

@media (max-width: 980px) {
  .site-header { height: 70px; }
  .brand-logo { width: 125px; }
  .brand-divider { margin: 0 12px; }
  .brand-text small { display: none; }

  .main-nav {
    display: none;
    position: absolute;
    z-index: 2000;
    top: 70px;
    left: 0;
    right: 0;
    height: auto;
    padding: 10px 24px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-dark);
    box-shadow: 0 12px 20px rgba(0,0,0,.18);
  }

  .main-nav.open { display: flex; }
  .main-nav a { height: 45px; font-size: 13px; }
  .menu-toggle { display: block; }

  .page-hero-content { min-height: 300px; }
  .intro-grid, .citizenship-grid { grid-template-columns: 1fr; gap: 35px; }
  .mission-grid { grid-template-columns: 1fr; gap: 35px; }
  .mission-card { max-width: 500px; }
  .advantages-grid { grid-template-columns: 1fr; }

  .secretariat-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
  }

  .footer-logo, .footer-slogan {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 650px) {
  .container { padding-left: 15px; padding-right: 15px; }
  .brand-logo { width: 110px; }
  .brand-text strong { font-size: 14px; }

  .page-hero { min-height: 330px; }
  .page-hero-content {
    min-height: 330px;
    align-items: flex-start;
    padding-top: 45px;
  }

  .page-hero h1 { font-size: 46px; }
  .page-hero p { font-size: 15px; }
  .hero-mark { display: none; }

  .intro-section, .citizenship-section, .advantages-section, .management-section {
    padding: 55px 0;
  }

  .intro-title h2, .section-heading h2, .citizenship-copy h2 { font-size: 33px; }
  .mission-copy h2 { font-size: 31px; }

  .citizenship-stats { grid-template-columns: 1fr 1fr; }
  .stat-card { min-height: 120px; padding: 18px; }
  .stat-card strong { font-size: 24px; }

  .advantage-card { padding: 28px 22px; }

  .secretariat-section { padding: 55px 0; }
  .secretariat-header h2 { font-size: 30px; }
  .law-badge { width: 100%; }

  .person-card { grid-template-columns: 1fr; }
  .person-photo, .photo-placeholder {
    min-height: 220px;
    height: 220px;
  }

  .person-info { padding: 25px 22px; }

  .closing-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .closing-button {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact {
    border-left: 0;
    padding-left: 0;
  }

  .footer-slogan { display: none; }
}
