/* Johnes Hebert 40.035 — azul institucional.
   Estrutura espelha a landing da Kátia: tokens em :root, zero estilo inline,
   CSP com style-src 'self' e style-src-attr 'none'. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-black-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-black-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lora só em citação e fala. */
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/lora-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #003d7c;
  --blue-deep: #002f65;
  --blue-bright: #1462b8;
  --blue-pale: #e7eef7;
  --ink: #10233a;
  --paper: #f4f6f9;
  --white: #ffffff;
  --muted: #5b6b7f;
  --line: #d3dbe4;
  --error: #b42318;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Archivo", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, input):focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  padding: 12px 16px;
  border: 2px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

/* ===== Cabeçalho ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--blue);
  color: var(--white);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.wordmark-number {
  padding: 5px 9px;
  background: var(--white);
  color: var(--blue);
  font-size: 0.86em;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 32px);
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ===== Botões ===== */

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid transparent;
  padding: 14px 24px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue-deep);
  color: var(--white);
}

.button-on-blue {
  background: var(--white);
  color: var(--blue);
}

.button-on-blue:hover {
  background: var(--blue-pale);
  color: var(--blue-deep);
}

.button-outline {
  border-color: currentColor;
  color: inherit;
}

.button-outline:hover {
  background: var(--white);
  color: var(--blue);
}

.header-cta {
  min-height: 44px;
  padding: 11px 18px;
}

/* ===== Hero ===== */

.hero {
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(52px, 7vw, 96px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.7rem, 1vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-line::before {
  content: "";
  width: 42px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--white);
}

.hero h1,
.section-title,
.priority-title {
  font-family: "Archivo Black", Impact, sans-serif;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.hero-lead {
  max-width: 48ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 6px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.proof-item {
  min-height: 66px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 16px 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.proof-item + .proof-item {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-left: 18px;
}

/* A foto vem de estúdio com parede cinza; o bloco branco assume o recorte
   em vez de tentar mascarar o fundo. */
.hero-media {
  border: 8px solid var(--white);
  background: var(--white);
}

.hero-media img {
  width: 100%;
  height: auto;
}

/* ===== Faixa rolante ===== */

.signal-strip {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.signal-track {
  width: max-content;
  display: flex;
  animation: signalMove 32s linear infinite;
}

.signal-track p {
  margin: 0;
  padding: 14px 0;
  white-space: nowrap;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(0.94rem, 1.4vw, 1.1rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@keyframes signalMove {
  to {
    transform: translateX(-50%);
  }
}

/* ===== Seções ===== */

.section {
  padding-block: clamp(64px, 8vw, 118px);
}

.section-label {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.03;
}

.section-title .accent {
  color: var(--blue);
}

/* ===== Quem é ===== */

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}

.about-portrait {
  width: 100%;
  max-width: 340px;
  border: 8px solid var(--white);
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-copy p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;
}

.schools {
  margin: 4px 0 0;
  padding: 0 0 0 20px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 6px;
  padding: 0;
  list-style: none;
}

.credentials li {
  border-top: 3px solid var(--blue);
  padding-top: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ===== Sonho ===== */

.dream {
  background: var(--blue-deep);
  color: var(--white);
}

.dream .section-label {
  color: var(--white);
}

.dream-copy {
  max-width: 62ch;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.68;
}

/* ===== Prioridades / entregas ===== */

.priorities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  margin-top: clamp(36px, 4.5vw, 56px);
}

.priority {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--white);
  transition:
    border-color 220ms ease,
    transform 220ms ease;
}

.priority:hover {
  border-color: var(--blue);
  transform: translateY(-5px);
}

.priority-number {
  margin: 0;
  color: var(--blue);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
}

.priority-title {
  margin: 0;
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.15;
}

.priority p:not(.priority-number) {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

/* ===== Citação ===== */

.quote-band {
  background: var(--blue);
  color: var(--white);
  padding-block: clamp(52px, 6.5vw, 88px);
}

.quote-copy {
  max-width: 30ch;
  margin: 0;
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.3rem);
  font-weight: 500;
  line-height: 1.32;
}

.quote-author {
  margin: 22px 0 0;
  font-family: "Archivo", Arial, sans-serif;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ===== Cadastro ===== */

.signup {
  background: var(--paper);
}

.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(32px, 4.5vw, 66px);
  align-items: start;
}

.signup-intro {
  position: sticky;
  top: 108px;
}

.signup-lead {
  max-width: 44ch;
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.62;
}

.signup-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signup-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  font-weight: 600;
}

.signup-steps span {
  display: flex;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
}

/* ===== Formulário — ids são contrato com assets/js/landing.js ===== */

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  background: var(--white);
  padding: clamp(24px, 3.2vw, 40px);
}

.noscript-warning {
  margin: 0;
  border-left: 5px solid var(--error);
  background: #fdf3f1;
  padding: 14px 16px;
  color: var(--error);
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.form-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field-input {
  width: 100%;
  border: 2px solid var(--line);
  background: var(--white);
  padding: 13px 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 180ms ease;
}

.field-input::placeholder {
  color: #9aa7b6;
}

.field-input:focus {
  border-color: var(--blue);
  outline: none;
}

.choice-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice-label {
  margin: 4px 0 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 2px solid var(--line);
  background: var(--white);
  padding: 11px 16px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.chip[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 2px solid var(--line);
  background: var(--paper);
  padding: 16px;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.55;
}

.consent-box input {
  margin: 3px 0 0;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.form-error {
  display: none;
  margin: 0;
  color: var(--error);
  font-size: 0.94rem;
  font-weight: 700;
}

.submit-button {
  min-height: 56px;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition:
    background-color 160ms ease,
    opacity 160ms ease;
}

.submit-button:hover:not(:disabled) {
  background: var(--blue-deep);
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.form-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.privacy-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

/* ===== Caixa de sucesso =====
   landing.js troca este display para "flex" por script; o padrão precisa
   continuar none + coluna. */

.success-box {
  display: none;
  flex-direction: column;
  gap: 14px;
  background: var(--blue-deep);
  padding: clamp(26px, 3.4vw, 42px);
  color: var(--white);
}

.success-title {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(1.3rem, 2.1vw, 1.6rem);
  text-transform: uppercase;
}

.success-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.success-box .success-meta {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
}

.success-box .privacy-link {
  color: var(--white);
}

#confirmationLink {
  display: none;
  width: max-content;
}

.receipt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 16px;
}

.receipt-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
}

.receipt-code {
  display: block;
  overflow-wrap: anywhere;
  background: rgba(255, 255, 255, 0.12);
  padding: 12px;
  font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 0.8rem;
}

.receipt-copy {
  width: max-content;
  border: 2px solid var(--white);
  background: transparent;
  padding: 10px 16px;
  color: var(--white);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.receipt-copy:hover {
  background: var(--white);
  color: var(--blue-deep);
}

/* ===== Rodapé ===== */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  padding-block: clamp(40px, 5vw, 64px);
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-identity {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-identity p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-cnpj {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-link:hover {
  color: var(--white);
}

.footer-disclosure {
  margin: clamp(28px, 4vw, 42px) auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
  line-height: 1.6;
}

/* ===== Responsivo ===== */

@media (max-width: 1000px) {
  .hero-grid,
  .about-grid,
  .signup-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    width: min(100%, 380px);
    margin-inline: auto;
  }

  .about-portrait {
    max-width: 260px;
  }

  .signup-intro {
    position: static;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero-grid {
    padding-block: clamp(36px, 7vw, 60px);
  }

  .hero-media {
    order: -1;
    width: min(100%, 300px);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .hero-proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .proof-item {
    min-height: 0;
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .proof-item:first-child {
    border-top: 0;
  }

  .proof-item + .proof-item {
    border-left: 0;
    padding-left: 0;
  }

  .header-inner {
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 12px 18px;
    min-height: 0;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .footer-main {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .signup-form {
    padding: 22px 18px;
  }

  .quote-copy {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-track {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
