:root {
  --accent: #0037ff;
  --accent-hover: #002cd0;
  --deep-1: #060d2e;
  --deep-2: #0b1b66;
  --cyan: #00e5ff;
  --bg: #f2f4fa;
  --surface: #ffffff;
  --fg: #0c1b33;
  --muted: #51617f;
  --soft: #8b97ae;
  --border: #e4e9f5;
  --display: "Syne", Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 1.125rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.pular {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--cyan);
  color: var(--deep-1);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.pular:focus {
  top: 1rem;
}

/* ——— topo ——— */

.topo {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 6vw 0;
}

.marca img {
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a {
  color: rgb(255 255 255 / 0.78);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--cyan);
}

.nav__cta {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: var(--radius);
  color: #fff !important;
}

.nav__cta:hover,
.nav__cta:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan) !important;
}

/* ——— hero ——— */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 700px at 80% 10%, rgb(0 55 255 / 0.45), transparent 60%),
    linear-gradient(165deg, var(--deep-1) 0%, var(--deep-2) 48%, #0030dd 100%);
}

.hero__grafico {
  position: absolute;
  right: -12vw;
  top: -18%;
  width: min(72vw, 920px);
  height: auto;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100dvh;
  padding: 8rem 6vw 5.5rem;
  max-width: 54rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow--ink {
  color: var(--accent);
}

.mantra {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 8.4vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.lead {
  margin: 1.6rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  font-weight: 400;
  line-height: 1.4;
  color: rgb(255 255 255 / 0.78);
}

.hero__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2.4rem 0 0;
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  background: var(--cyan);
  color: var(--deep-1);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.botao:hover,
.botao:focus-visible {
  background: #fff;
  transform: translateY(-1px);
}

.botao--fantasma {
  background: transparent;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.28);
}

.botao--fantasma:hover,
.botao--fantasma:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  background: transparent;
}

.botao--sobre-claro {
  background: var(--accent);
  color: #fff;
}

.botao--sobre-claro:hover,
.botao--sobre-claro:focus-visible {
  background: var(--accent-hover);
  color: #fff;
}

/* ——— ofício ——— */

.oficio {
  padding: 6.5rem 6vw;
}

.oficio__cabeca {
  max-width: 40rem;
  margin-bottom: 3.5rem;
}

.oficio h2,
.jornada h2,
.contato h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.oficio__texto {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.arcos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.arco {
  padding: 1.6rem 1.5rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.arco__n {
  display: block;
  margin-bottom: 2.2rem;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.arco h3 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.arco p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ——— jornada ——— */

.jornada {
  padding: 0 6vw 6.5rem;
}

.jornada__cabeca {
  max-width: 38rem;
  margin-bottom: 2.4rem;
}

.jornada .eyebrow {
  color: var(--accent);
}

.mosaico {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.mosaico__principal {
  grid-row: 1 / span 2;
}

.mosaico figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.mosaico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: #d8e2ff;
}

.mosaico__principal img {
  min-height: 28rem;
  object-position: 68% 50%;
}

.mosaico figure:nth-of-type(2) img {
  min-height: 13rem;
  object-position: 42% 50%;
}

.mosaico figure:nth-of-type(3) img {
  min-height: 13rem;
  object-position: 52% 50%;
}

.mosaico figcaption {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--muted);
}

.mosaico figcaption span {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ——— contato ——— */

.contato {
  margin: 0 6vw 5rem;
  padding: 3.5rem 6vw;
  color: #fff;
  background:
    radial-gradient(800px 400px at 100% 0%, rgb(0 229 255 / 0.18), transparent 55%),
    var(--deep-1);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem 4vw;
  align-items: start;
}

.contato__intro {
  max-width: 28rem;
}

.contato__texto {
  margin: 1.1rem 0 0;
  color: rgb(255 255 255 / 0.74);
  font-size: 1.2rem;
}

.ficha {
  margin: 0;
}

.ficha__dupla {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.campo {
  margin-bottom: 0.9rem;
}

.campo label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.72);
}

.opcional {
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 600;
  color: rgb(255 255 255 / 0.42);
}

.campo input,
.campo textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
}

.campo textarea {
  resize: vertical;
  min-height: 8rem;
}

.campo input::placeholder,
.campo textarea::placeholder {
  color: rgb(255 255 255 / 0.38);
}

.campo input:focus,
.campo textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-color: transparent;
}

.isca {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ficha__acoes {
  margin: 1.2rem 0 0;
}

.ficha__acoes .botao:disabled {
  opacity: 0.7;
  transform: none;
  cursor: wait;
}

.ficha__status {
  margin: 1rem 0 0;
  font-size: 1.05rem;
}

.ficha__status--ok {
  color: var(--cyan);
}

.ficha__status--erro {
  color: #ffb4b4;
}

/* ——— rodapé ——— */

.rodape {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 6vw 3rem;
  color: var(--soft);
  font-size: 0.95rem;
}

.rodape img {
  width: 140px;
}

/* ——— motion ——— */

.surge {
  animation: surge 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.surge-2 { animation-delay: 0.1s; }
.surge-3 { animation-delay: 0.2s; }
.surge-4 { animation-delay: 0.32s; }

@keyframes surge {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav a:not(.nav__cta) {
    display: none;
  }

  .arcos,
  .mosaico,
  .contato,
  .ficha__dupla {
    grid-template-columns: 1fr;
  }

  .mosaico__principal {
    grid-row: auto;
  }

  .mosaico__principal img,
  .mosaico figure:nth-of-type(2) img,
  .mosaico figure:nth-of-type(3) img {
    min-height: 14rem;
  }

  .hero__inner {
    padding-bottom: 4rem;
  }

  .oficio,
  .jornada {
    padding-top: 4.2rem;
    padding-bottom: 4.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .surge,
  .botao {
    animation: none;
    transition: none;
  }
}
