/* ── Tokens ── */
:root {
  --blue: #075696;
  --deep: #003c73;
  --yellow: #ffdd00;
  --green: #40a629;
  --cyan: #00b7e8;
  --cream: #f5f7f6;
  --ink: #09284b;
  --muted: #587087;
  --header-h: 64px;
}

/* ── Reset & base (mobile-first) ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: #faf9f5;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

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

/* ── Topline ── */
.topline {
  background: var(--yellow);
  color: #063d70;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 900;
  padding: 8px 12px;
}

/* ── Header ── */
.site-header {
  height: var(--header-h);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0b5388;
  border-bottom: 1px solid #ffffff22;
  position: sticky;
  top: 0;
  z-index: 30;
}

.brandLogo {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  max-width: calc(100% - 10.75rem);
  margin-right: 6px;
  line-height: 0;
  overflow: hidden;
}

.brandLogo img {
  width: auto;
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Desktop nav — hidden on mobile */
.desktop-nav {
  display: none;
  gap: 28px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.desktop-nav a:hover { color: var(--yellow); }

/* Compact CTA visible only on mobile */
.button--compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #063d70;
  padding: 9px 12px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: inset 0 -2px #e2c500;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.button--compact:hover { background: #ffe632; }

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle:focus-visible,
.button:focus-visible,
.textLink:focus-visible,
.socialLinks a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* Mobile nav drawer */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 24, 59, 0.55);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 88vw);
  height: 100dvh;
  background: var(--deep);
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 16px) 24px 32px;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 0;
  border-bottom: 1px solid #ffffff18;
}

.mobile-nav a:hover { color: var(--yellow); }

/* ── Buttons ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #063d70;
  padding: 16px 22px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: inset 0 -3px #e2c500;
  transition: background 0.2s, transform 0.2s;
}

.button:hover { background: #ffe632; transform: translateY(-2px); }

.button.outline {
  background: transparent;
  color: #fff;
  border: 1px solid #ffffff55;
  box-shadow: none;
}

.button.outline:hover { background: #ffffff12; }

.button.desktop-cta { display: none; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #f7f9f8, #eaf4f6);
  overflow: hidden;
}

.heroGrid {
  max-width: 1440px;
  margin: auto;
  padding: 36px 20px 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative;
}

.heroCopy { position: relative; z-index: 2; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
}

.eyebrow i {
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0 33%, var(--yellow) 33% 66%, var(--cyan) 66%);
  flex-shrink: 0;
}

h1, h2 {
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.065em;
}

h1 {
  font-size: clamp(2.25rem, 9vw, 4.5rem);
  line-height: 0.95;
  margin: 20px 0 22px;
  color: var(--blue);
}

h1 em, h2 em {
  font: inherit;
  color: var(--blue);
  text-transform: none;
}

.lead {
  font-size: 17px;
  line-height: 1.55;
  color: #39445a;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
}

.textLink {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid;
  padding: 10px 0;
}

.meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.meta b { color: var(--yellow); }

.portrait {
  background: var(--deep);
  box-shadow: 12px 12px var(--yellow);
  overflow: hidden;
}

.officialPhoto {
  width: 100%;
  max-height: 55vh;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 3 / 4;
}

/* ── Marquee ── */
.marquee {
  background: var(--blue);
  color: #fff;
  width: 100%;
  padding: 14px 0;
}

.marquee__viewport {
  overflow: hidden;
  width: 100%;
}

.marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--marquee-duration, 35s) linear infinite;
  will-change: transform;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font: 900 14px "Arial Black", Arial, sans-serif;
  letter-spacing: 0.15em;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee__group b { color: var(--yellow); font-size: 9px; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__inner {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 12px 34px;
    padding: 0 20px;
  }

  .marquee__group { padding-right: 0; }
}

/* ── Sections ── */
.section { padding: 48px 20px; }

.label {
  border-top: 1px solid #cac9c5;
  padding-top: 14px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  margin-bottom: 36px;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h2 {
  font-size: clamp(1.75rem, 6.5vw, 3.5rem);
  line-height: 0.95;
  margin: 14px 0 24px;
  color: var(--blue);
}

.copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.big {
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
  margin-top: 0;
  font-weight: 500;
}

blockquote {
  color: var(--blue);
  font-size: 18px;
  font-style: italic;
  border-left: 3px solid var(--green);
  padding-left: 18px;
  margin: 24px 0;
}

.socialLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.socialLinks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s, transform 0.2s;
}

.socialLinks a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
  border-block: 1px solid #d4d1c9;
}

.numbers div {
  padding: 24px 16px;
  border-right: 1px solid #d4d1c9;
  border-bottom: 1px solid #d4d1c9;
}

.numbers div:nth-child(2n) { border-right: 0; }
.numbers div:nth-last-child(-n+2) { border-bottom: 0; }

.numbers strong {
  display: block;
  font: 900 36px "Arial Black", Arial, sans-serif;
  color: var(--yellow);
  text-shadow: 0 1px var(--blue);
}

.numbers span {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Flags ── */
.flags {
  background: linear-gradient(145deg, var(--deep), var(--blue));
  color: #fff;
}

.flags .label { border-color: #ffffff44; color: #b6c4df; }
.flags h2 { color: #fff; }
.flags h2 em { color: var(--yellow); }

.flagsHead > p {
  color: #b6c4df;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
}

.flagGrid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid #ffffff22;
  border-left: 1px solid #ffffff22;
  margin-top: 36px;
}

.flagGrid article {
  min-height: 200px;
  padding: 28px 24px;
  border-right: 1px solid #ffffff22;
  border-bottom: 1px solid #ffffff22;
}

.flagGrid article > div {
  display: flex;
  justify-content: space-between;
}

.flagGrid article > div span { font-size: 28px; color: var(--yellow); }
.flagGrid small { color: #94a8c9; }

.flagGrid h3 {
  font: 900 22px "Arial Black", Arial, sans-serif;
  margin: 32px 0 10px;
  letter-spacing: -0.035em;
}

.flagGrid p { color: #aebbd1; line-height: 1.65; font-size: 14px; margin: 0; }

/* ── Journey ── */
.journeyGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.sticky { align-self: start; }

.timeline article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  border-top: 1px solid #d5d2c9;
  padding: 24px 0;
}

.timeline > article > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--yellow);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.timeline h3 {
  color: var(--blue);
  font: 900 20px "Arial Black", Arial, sans-serif;
  margin: 0 0 8px;
}

.timeline p { color: var(--muted); line-height: 1.7; margin: 0; }

/* ── Faith ── */
.faith {
  background: linear-gradient(160deg, var(--blue) 0 86%, var(--green) 86%);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}

.faith .quote { display: none; }

.faith h2 { color: #fff; }

.faith > div > p:last-child {
  max-width: 730px;
  line-height: 1.75;
  font-size: 17px;
}

.white { color: #fff; }

/* ── Regions ── */
.regions .split > div > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.cities { display: flex; flex-direction: column; }

.cities span {
  border-bottom: 1px solid #d1cec6;
  padding: 14px 0;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 0.08em;
}

/* ── Join ── */
.join {
  background: linear-gradient(145deg, var(--deep), var(--blue));
  color: #fff;
  text-align: center;
}

.center { justify-content: center; }

.join h2 {
  color: #fff;
  max-width: 1000px;
  margin: 20px auto;
}

.join > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto;
  color: #bdc9dd;
  font-size: 17px;
  line-height: 1.6;
}

.joinActions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 32px 0;
}

.join .button { width: 100%; }

.contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid #ffffff22;
  font-size: 12px;
}

/* ── Footer ── */
footer {
  padding: 40px 20px;
  background: #07183b;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  font-size: 12px;
}

footer .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Arial Black", Arial, sans-serif;
}

footer .brand > span {
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 0.9;
  display: flex;
  flex-direction: column;
}

footer .brand > span b { font-size: 22px; color: var(--blue); }

footer .brand > strong {
  color: var(--yellow);
  text-shadow: 0 1px var(--blue);
  font-size: 26px;
  border-left: 1px solid #ddd;
  padding-left: 14px;
}

footer p { color: #8393b0; margin: 6px 0 0; }
.legal { text-align: left; }

/* ══════════════════════════════════════
   min-width: 640px — tablet pequeno
   ══════════════════════════════════════ */
@media (min-width: 640px) {
  .topline { font-size: 11px; letter-spacing: 0.22em; }

  .section { padding: 60px 32px; }

  .heroGrid { padding: 48px 32px 36px; gap: 36px; }

  .actions { flex-direction: row; align-items: center; gap: 24px; }

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

  .joinActions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .join .button { width: auto; }

  .contacts {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  .numbers strong { font-size: 42px; }
}

/* ══════════════════════════════════════
   min-width: 900px — desktop
   ══════════════════════════════════════ */
@media (min-width: 900px) {
  :root { --header-h: 86px; }

  .site-header {
    padding: 0 5vw;
    justify-content: center;
    gap: clamp(28px, 4vw, 56px);
  }

  .brandLogo {
    flex: 0 0 auto;
    max-width: none;
    margin-right: 0;
    overflow: visible;
  }

  .brandLogo img { max-width: min(29vw, 310px); max-height: 58px; }

  .header-actions { margin-left: 0; }

  .menu-toggle { display: none; }
  .button--compact { display: none; }

  .desktop-nav {
    display: flex;
    gap: clamp(22px, 2.5vw, 34px);
  }

  .button.desktop-cta { display: inline-flex; padding: 13px 19px; }

  .heroGrid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 7vw;
    padding: 70px 6vw 50px;
    min-height: 720px;
  }

  .heroGrid::before {
    content: "10077";
    position: absolute;
    left: -25px;
    bottom: -40px;
    font: 900 200px "Arial Black", Arial, sans-serif;
    color: #dcecf2;
    letter-spacing: -0.08em;
    pointer-events: none;
  }

  .portrait { box-shadow: 24px 24px var(--yellow); }

  .officialPhoto {
    max-height: none;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .marquee__group { font-size: 16px; }

  .section { padding: 80px 7vw; }

  .label { margin-bottom: 70px; }

  .split { grid-template-columns: 1fr 1fr; gap: 10vw; }

  .big { font-size: 27px; }

  .numbers { grid-template-columns: repeat(4, 1fr); margin-top: 80px; }
  .numbers div { padding: 30px 20px; border-bottom: 0; }
  .numbers div:nth-child(2n) { border-right: 1px solid #d4d1c9; }
  .numbers div:last-child { border-right: 0; }
  .numbers strong { font-size: 45px; }

  .flagsHead { align-items: end; }
  .flagsHead > p { margin-bottom: 42px; font-size: 18px; }

  .flagGrid { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
  .flagGrid article { min-height: 285px; padding: 32px; }
  .flagGrid h3 { font-size: 25px; margin-top: 42px; }

  .journeyGrid { grid-template-columns: 0.85fr 1.15fr; gap: 10vw; }

  .sticky { position: sticky; top: 130px; }

  .timeline article { grid-template-columns: 70px 1fr; gap: 20px; padding: 32px 0; }
  .timeline > article > span { width: 48px; height: 48px; }
  .timeline h3 { font-size: 23px; }

  .faith {
    grid-template-columns: 0.3fr 1fr;
    gap: 5vw;
    padding-inline: 14vw;
    background: linear-gradient(115deg, var(--blue) 0 72%, var(--green) 72%);
  }

  .faith .quote {
    display: block;
    font-family: Georgia, serif;
    font-size: 220px;
    line-height: 0.5;
    opacity: 0.25;
  }

  .faith > div > p:last-child { font-size: 18px; }

  .regions .split > div > p { font-size: 18px; }

  .join > p:not(.eyebrow) { font-size: 18px; }

  footer {
    padding: 55px 7vw;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .legal { text-align: right; }
}

/* ══════════════════════════════════════
   min-width: 1200px — telas grandes
   ══════════════════════════════════════ */
@media (min-width: 1200px) {
  h1 { font-size: clamp(4rem, 5.5vw, 7.4rem); }

  .lead { max-width: 600px; font-size: 20px; }

  .desktop-nav { gap: 34px; }
}
