@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-hyperlegible-next-latin.825fabef695f.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #0f3b62;
  --navy-deep: #0a304f;
  --blue: #2563a8;
  --light-blue: #93c5fd;
  --pale-blue: #edf5fb;
  --orange: #f97316;
  --ink: #183044;
  --muted: #62717f;
  --line: #d8e0e7;
  --surface: #f5f7f9;
  --white: #fff;
  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.55 var(--font); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.content-width { width: min(calc(100% - 48px), 1120px); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.98); box-shadow: 0 1px 0 rgba(15,59,98,.08); }
.header-main { min-height: 84px; display: flex; align-items: center; gap: 2rem; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: auto; height: 48px; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 1.55rem; }
.primary-nav a { color: var(--navy); font-size: .92rem; font-weight: 690; text-decoration: none; }
.primary-nav a:hover { color: var(--blue); }
.nav-gap { width: .7rem; }
.primary-nav .nav-secondary { color: #5a6a78; font-weight: 560; }
.primary-nav .nav-login { font-weight: 760; }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 4px; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 21px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-menu nav { position: absolute; top: 50px; right: 0; width: 245px; padding: 10px; display: grid; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 36px rgba(15,59,98,.13); }
.mobile-menu nav a { padding: 10px 12px; border-radius: 7px; text-decoration: none; }
.mobile-menu nav a:hover { background: var(--pale-blue); }

.notice { padding: 20px 0 0; background: var(--surface); }
.notice-inner { display: grid; grid-template-columns: 1.55fr .72fr; overflow: hidden; border-radius: 10px; background: #e9f3fb; border: 1px solid #d9e9f6; }
.notice-inner > div { padding: 15px 18px; display: flex; flex-direction: column; gap: 2px; color: var(--navy); }
.notice-inner strong { font-size: .96rem; }
.notice-inner span { color: #48657d; font-size: .9rem; }
.notice-inner > a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 15px 20px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; }
.notice-inner > a:hover { background: var(--navy-deep); }

.hero { padding: 34px 0 54px; background: var(--surface); }
.hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 4rem; align-items: center; }
.hero-copy { padding: 30px 0 20px; }
.hero h1 { color: var(--navy); font: 700 clamp(3rem,5vw,5.15rem)/1.01 var(--serif); letter-spacing: -.04em; }
.hero-copy > p { max-width: 580px; margin-top: 1.4rem; color: #566675; font-size: 1.04rem; }
.outline-button { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.7rem; min-height: 46px; padding: 0 1.2rem; border: 1px solid var(--navy); border-radius: 999px; color: var(--navy); font-weight: 700; text-decoration: none; }
.outline-button:hover { background: var(--navy); color: #fff; }
.outline-button.small { min-height: 42px; padding-inline: 1rem; font-size: .9rem; }
.outline-button.light { border-color: rgba(255,255,255,.72); color: #fff; }
.outline-button.light:hover { background: #fff; color: var(--navy); }
.hero-media > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.hero-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin: 22px 22px 0; }
.hero-summary > div { display: block; }
.hero-summary p { color: #426078; font-size: .83rem; line-height: 1.35; }
.hero-summary strong { color: var(--navy); font-size: .9rem; }

.section-wave { height: 62px; margin-top: -1px; background: linear-gradient(to bottom, var(--surface) 0 50%, #fff 50%); clip-path: ellipse(72% 72% at 50% 0%); }

.editorial-section { padding: 70px 0 98px; }
.editorial-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 5rem; align-items: center; }
.section-kicker { color: #5e6872; font-size: 1rem; }
.editorial-copy h2, .cards-heading h2, .institution-copy h2, .vision-copy h2, .security-heading h2, .closing-section h2 {
  margin-top: .7rem;
  color: var(--navy);
  font: 700 clamp(2.2rem,4vw,3.7rem)/1.05 var(--serif);
  letter-spacing: -.035em;
}
.editorial-copy > p:not(.section-kicker), .vision-copy > p:not(.section-kicker) { margin-top: 1.2rem; color: var(--muted); }
.editorial-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.editorial-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.editorial-card figcaption { padding: 18px 20px 20px; color: #526576; font-size: .92rem; }
.media-tag { position: absolute; z-index: 2; top: 14px; left: 14px; padding: .36rem .7rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: .74rem; font-weight: 700; }

.cards-section { padding: 82px 0 96px; background: #f3f4f5; }
.cards-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.8rem; }
.cards-heading .outline-button { margin-top: 0; }
.feature-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.feature-cards article, .security-cards article { padding: 26px 24px 28px; border: 1px solid #cfd5da; background: #fff; }
.feature-cards h3, .security-cards h3 { color: var(--navy); font-size: 1.14rem; }
.feature-cards p, .security-cards p { margin-top: .8rem; color: var(--muted); font-size: .92rem; }

.institution-band { position: relative; overflow: hidden; padding: 70px 0; background: #285c78; color: #fff; }
.institution-band::after { content:""; position:absolute; width:420px; height:420px; right:-170px; bottom:-210px; border-radius:50%; background:rgba(147,197,253,.12); }
.institution-grid { position: relative; z-index:1; display:grid; grid-template-columns: 1fr .8fr; gap: 4rem; align-items:center; }
.section-kicker.light { color:#d5e7f2; }
.institution-copy h2 { color:#fff; }
.institution-copy > p:not(.section-kicker) { max-width:650px; margin-top:1.2rem; color:#e2ebf0; }
.institution-media img { width:100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 48% 48% 44% 44% / 45% 45% 50% 50%; }

.vision-section { padding: 92px 0; }
.vision-grid { display:grid; grid-template-columns:.86fr 1.14fr; gap:5rem; align-items:center; }
.vision-media { position: relative; }
.vision-media img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:8px; }

.security-section { padding: 88px 0 96px; background: var(--surface); }
.security-heading { max-width: 760px; }
.security-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:3rem; }

.closing-section { padding: 72px 0; }
.closing-grid { display:flex; align-items:center; justify-content:space-between; gap:3rem; }
.closing-section h2 { font-size:clamp(2rem,3vw,3rem); }
.closing-grid .outline-button { margin-top:0; flex:0 0 auto; }

.site-footer { padding: 62px 0 24px; background:#285c78; color:#fff; }
.footer-grid { display:grid; grid-template-columns:1.45fr .8fr .8fr .9fr; gap:3.2rem; }
.footer-brand img { width:190px; max-height:68px; object-fit:contain; object-position:left center; filter:none; }
.footer-brand p { max-width:300px; margin-top:1.2rem; color:#d9e5eb; font-size:.9rem; }
.footer-column { display:grid; align-content:start; gap:.7rem; }
.footer-column h3 { margin:0 0 .3rem; font-size:.92rem; }
.footer-column a, .footer-column span { color:#e0e9ee; font-size:.86rem; text-decoration:none; }
.footer-column a:hover { color:#fff; text-decoration:underline; }
.footer-bottom { display:flex; justify-content:space-between; gap:1rem; margin-top:48px; padding-top:20px; border-top:1px solid rgba(255,255,255,.18); color:#c0d1dc; font-size:.78rem; }

@media (max-width: 980px) {
  .primary-nav { display:none; }
  .mobile-menu { display:block; }
  .header-main { min-height:70px; padding-inline:18px; }
  .brand img { height:40px; }
  .hero-grid, .editorial-grid, .institution-grid, .vision-grid { grid-template-columns:1fr; gap:3rem; }
  .hero-copy { max-width:760px; }
  .hero-media { max-width:760px; }
  .editorial-copy, .vision-copy { max-width:720px; }
  .footer-grid { grid-template-columns:1.3fr 1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
}

@media (max-width: 720px) {
  .content-width { width:min(calc(100% - 30px),1120px); }
  .notice { padding-top:14px; }
  .notice-inner { grid-template-columns:1fr; }
  .notice-inner > a { justify-content:flex-start; }
  .hero { padding:32px 0 44px; }
  .hero-grid { gap:2.2rem; }
  .hero h1 { font-size:clamp(2.8rem,13vw,4.1rem); }
  .hero-copy { padding-top:12px; }
  .hero-summary { margin-inline:0; grid-template-columns:1fr; gap:.9rem; }
  .section-wave { height:38px; }
  .editorial-section, .cards-section, .vision-section, .security-section { padding:62px 0; }
  .cards-heading { align-items:flex-start; flex-direction:column; }
  .feature-cards, .security-cards { grid-template-columns:1fr; }
  .institution-band { padding:62px 0; }
  .institution-media { max-width:560px; }
  .closing-grid { align-items:flex-start; flex-direction:column; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:2.3rem; }
  .footer-brand { grid-column:1/-1; }
}

@media (max-width: 480px) {
  .brand img { height:36px; }
  .hero-media > img { border-radius:0; }
  .editorial-card img { aspect-ratio:4/3; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand { grid-column:auto; }
  .footer-bottom { align-items:flex-start; flex-direction:column; }
}

/* ---------- Contato ---------- */
.contact-main {
  padding: clamp(3rem, 5vw, 4.75rem) 0;
  background: #f4f6f8;
}
.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(2.5rem, 5vw, 4.75rem);
  align-items: start;
}
.contact-intro {
  padding-top: .9rem;
}
.contact-intro h1 {
  max-width: 38rem;
  margin-top: .7rem;
  color: var(--navy);
  font: 700 clamp(2.8rem, 5vw, 4.65rem)/1.03 var(--serif);
  letter-spacing: -.04em;
}
.contact-lead {
  max-width: 35rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
}
.contact-context {
  max-width: 35rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.contact-context p + p { margin-top: .35rem; }
.contact-context strong { color: var(--navy); }

.contact-form-wrap {
  min-width: 0;
}
.contact-form {
  width: 100%;
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  border: 1px solid #d6dde5;
  background: #fff;
  box-shadow: 0 14px 36px rgb(15 59 98 / .06);
}
.contact-form-heading {
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.contact-form-heading h2 {
  color: var(--navy);
  font: 700 1.7rem/1.12 var(--serif);
}
.contact-form-heading p {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .9rem;
}

.contact-fields {
  display: grid;
  gap: 1rem 1.1rem;
}
.contact-fields.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.contact-fields + .contact-fields,
.contact-fields + .contact-field {
  margin-top: 1rem;
}
.contact-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .42rem;
}
.contact-field label {
  min-height: 1.3rem;
  display: flex;
  align-items: baseline;
  gap: .3rem;
  color: var(--navy);
  font-size: .84rem;
  line-height: 1.3;
  font-weight: 700;
}
.contact-field label span {
  color: #8a96a2;
  font-weight: 500;
}
.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: .72rem .8rem;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
}
.contact-field textarea {
  min-height: 154px;
  resize: vertical;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid rgba(37,99,168,.12);
  outline-offset: 1px;
  border-color: var(--blue);
}
.field-error {
  color: #b42318;
  font-size: .8rem;
}
.contact-error {
  margin-bottom: 1rem;
  padding: .8rem .9rem;
  border: 1px solid #f2b8b5;
  background: #fff6f5;
  color: #8f1d18;
  font-size: .9rem;
}
.contact-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.contact-form-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.contact-form-footer p {
  max-width: 27rem;
  color: #778491;
  font-size: .78rem;
  line-height: 1.45;
}
.contact-submit {
  min-width: 10.5rem;
  min-height: 44px;
  padding: 0 1.2rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.contact-submit:hover { background: var(--navy-deep); }

.contact-success {
  padding: 2rem;
  border: 1px solid var(--line);
  background: #fff;
}
.contact-success h2 {
  margin-top: .55rem;
  color: var(--navy);
  font: 700 2.4rem/1.05 var(--serif);
}
.contact-success > p:not(.section-kicker) {
  margin-top: .8rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-intro {
    max-width: 43rem;
    padding-top: 0;
  }
  .contact-form-wrap {
    max-width: 43rem;
  }
}
@media (max-width: 620px) {
  .contact-main {
    padding: 2.5rem 0 3.25rem;
  }
  .contact-fields.two {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 1.1rem;
  }
  .contact-form-footer {
    grid-template-columns: 1fr;
    gap: .9rem;
  }
  .contact-submit {
    width: 100%;
  }
}

.turnstile-row {
  min-width: 0;
  margin-top: 1rem;
}
.turnstile-row .cf-turnstile {
  width: 100%;
  max-width: 100%;
}
