/* Nutmeg é licenciada (W Type Foundry). Copie os .woff2 para assets/fonts
   com estes nomes; enquanto não existirem, os títulos usam Jost. */

@font-face {
  font-family: "Nutmeg";
  src: local("Nutmeg Thin"), local("Nutmeg-Thin"), url("../assets/fonts/Nutmeg-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nutmeg";
  src: local("Nutmeg Ultralight"), local("Nutmeg-Ultralight"), url("../assets/fonts/Nutmeg-Ultralight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nutmeg";
  src: local("Nutmeg Light"), local("Nutmeg-Light"), url("../assets/fonts/Nutmeg-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #021a24;
  --ink: #04384c;
  --blue: #134869;
  --mint: #48a892;
  --lime: #bbce00;
  --gold: #ffcc00;
  --paper: #f6f8f8;
  --mist: #e8eeee;
  --text: #24414f;
  --muted: #5d7480;
  --line: rgba(4, 56, 76, 0.12);
  --line-dark: rgba(246, 248, 248, 0.14);
  --danger: #a3473b;
  --font-display: "Nutmeg", "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Sora", "Helvetica Neue", Arial, sans-serif;
  --header: 5rem;
  --measure: 36rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

p,
figure,
blockquote,
dl,
dd,
address {
  margin: 0;
}

p {
  text-wrap: pretty;
}

address {
  font-style: normal;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 1px solid var(--mint);
  outline-offset: 4px;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

.skip {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 80;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--mint);
}

/* Cabeçalho */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  color: var(--paper);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1240px, calc(100% - 2.5rem));
  min-height: var(--header);
  margin-inline: auto;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  width: auto;
  height: 17px;
}

.brand__logo--dark {
  display: none;
}

.header.is-open .brand__logo--light,
.header.is-scrolled .brand__logo--light,
.header--solid .brand__logo--light {
  display: none;
}

.header.is-open .brand__logo--dark,
.header.is-scrolled .brand__logo--dark,
.header--solid .brand__logo--dark {
  display: block;
}

.header.is-scrolled,
.header--solid {
  background: rgba(246, 248, 248, 0.9);
  color: var(--ink);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}

.header.is-open {
  color: var(--ink);
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 2.75rem;
  height: 2.75rem;
  color: inherit;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 1px;
  margin-inline: auto;
  background: currentColor;
  transition: transform 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  transform: translateY(4px) rotate(40deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-4px) rotate(-40deg);
}

.nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: 6.5rem 1.5rem 3rem;
  background: var(--paper);
  color: var(--ink);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.nav a {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 3rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: none;
}

.nav__cta {
  align-self: flex-start;
  margin-top: 1.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
}

.nav .nav__cta {
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(70% 80% at 72% 62%, rgba(19, 72, 105, 0.85) 0%, rgba(4, 56, 76, 0.35) 45%, transparent 75%),
    linear-gradient(180deg, var(--night) 0%, #032838 100%);
  isolation: isolate;
}

.hero__mark {
  position: absolute;
  right: -8%;
  top: 12%;
  z-index: -1;
  width: min(78vw, 980px);
  opacity: 0.04;
  pointer-events: none;
}

.hero__figure {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  height: 56svh;
  pointer-events: none;
}

.hero__figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 18%;
  background: linear-gradient(180deg, transparent, var(--night));
}

.hero__figure img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding-top: calc(var(--header) + 3rem);
  padding-bottom: 58svh;
}

.hero .kicker {
  color: rgba(246, 248, 248, 0.8);
}

.hero .kicker::before {
  background: var(--gold);
}

.hero h1 {
  max-width: 9em;
  color: var(--paper);
  font-size: clamp(2.5rem, 8.5vw, 5.6rem);
  font-weight: 100;
  letter-spacing: -0.035em;
  line-height: 1;
}

.hero__lead {
  max-width: 24rem;
  margin-top: 1.6rem;
  color: rgba(246, 248, 248, 0.72);
  font-size: 0.95rem;
  font-weight: 200;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  margin-top: 2rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid rgba(246, 248, 248, 0.5);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.button:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.button--ink {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}

.button--ink:hover {
  border-color: var(--night);
  background: var(--night);
  color: var(--paper);
}

.button:disabled {
  cursor: wait;
  opacity: 0.55;
}

/* Seções */

.section {
  padding: clamp(5rem, 11vw, 9rem) 0;
  scroll-margin-top: var(--header);
}

.section + .section:not(.section--dark) {
  border-top: 1px solid var(--line);
}

.section--dark {
  background: var(--night);
  color: rgba(246, 248, 248, 0.72);
}

.section--dark h2 {
  color: var(--paper);
}

.section--dark .kicker {
  color: rgba(246, 248, 248, 0.7);
}

.section--dark .kicker::before {
  background: var(--gold);
}

.section__intro {
  max-width: 42rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section__intro h2,
.place h2,
.conversa h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.section__note,
.conversa__grid > div > p:not(.kicker) {
  max-width: 30rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.manifesto {
  border-top: 1px solid var(--line-dark);
}

.manifesto__lead {
  max-width: 15em;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 100;
  line-height: 1.1;
}

.manifesto__text {
  display: grid;
  gap: 1.2rem;
  max-width: var(--measure);
  margin-top: 2.5rem;
  font-size: 0.95rem;
  font-weight: 200;
}

/* Depoimentos */

.reviews {
  overflow: hidden;
}

.reviews__head {
  display: grid;
  gap: 2.5rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.reviews__head h2 {
  max-width: 14em;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  justify-self: start;
  color: var(--ink);
  text-decoration: none;
}

.rating__score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 100;
  line-height: 1;
}

.rating__meta {
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.stars {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.reviews__rail {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reviews__rail::-webkit-scrollbar {
  display: none;
}

.reviews__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  margin: 0;
  padding: 0 1.5rem;
  list-style: none;
}

.reviews__rail.is-running {
  overflow: hidden;
}

.reviews__rail.is-running .reviews__track {
  gap: 0;
  padding: 0;
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}

.reviews__rail.is-running .review {
  margin-right: 1.5rem;
}

.reviews__rail.is-running:hover .reviews__track,
.reviews__rail.is-running:focus-within .reviews__track {
  animation-play-state: paused;
}

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

.review {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  width: min(80vw, 22rem);
  padding: 2rem 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

.review blockquote {
  flex: 1;
}

.review blockquote p {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 200;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.review__who {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 400;
}

.review__who span {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.reviews__foot {
  margin-top: 2.5rem;
}

/* Localização */

.place__grid,
.conversa__grid {
  display: grid;
  gap: 3rem;
}

.place__data {
  display: grid;
  gap: 1.4rem;
  margin: 2.5rem 0 2rem;
}

.place__data div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.place__data dt {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.place__data dd {
  margin-top: 0.45rem;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.7;
}

.text-link {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid var(--mint);
  padding-bottom: 0.25rem;
}

.text-link:hover {
  border-bottom-color: var(--ink);
}

.map {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: var(--mist);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(1.02);
  transition: filter 0.5s ease;
}

.map:hover iframe {
  filter: grayscale(0.2);
}

/* Formulário */

.form {
  position: relative;
}

.form__fields {
  display: grid;
  gap: 1.6rem;
}

.field label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.optional {
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.7;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(4, 56, 76, 0.22);
  border-radius: 0;
  color: var(--ink);
  font-weight: 300;
  transition: border-color 0.3s ease;
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 1.5rem;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 9px) 1.2rem, calc(100% - 5px) 1.2rem;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9db0b8;
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.field__error {
  display: block;
  margin-top: 0.4rem;
  color: var(--danger);
  font-size: 0.8rem;
}

.field__error[hidden] {
  display: none;
}

.form__status:empty {
  display: none;
}

.form__status {
  color: var(--muted);
  font-size: 0.85rem;
}

.form__status a {
  color: var(--ink);
}

.form .button {
  width: 100%;
  margin-top: 0.6rem;
}

.form__note {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Rodapé */

.footer {
  padding: 5rem 0 2rem;
  background: var(--night);
  color: rgba(246, 248, 248, 0.6);
  font-size: 0.85rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

.footer__logo {
  width: auto;
  height: 20px;
}

.footer nav {
  display: grid;
  gap: 0.5rem;
}

.footer nav a {
  width: fit-content;
  color: rgba(246, 248, 248, 0.82);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer nav a:hover {
  color: var(--paper);
}

.footer address {
  display: grid;
  gap: 0.3rem;
}

.footer__bar {
  margin-top: 4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* Páginas de texto */

.doc {
  padding-top: calc(var(--header) + 4rem);
  padding-bottom: 6rem;
}

.doc--plain {
  padding-top: 5rem;
}

.doc h1 {
  max-width: 10em;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 100;
}

.doc h2 {
  margin-top: 2.6rem;
  font-size: 1.4rem;
  font-weight: 300;
}

.doc p {
  max-width: var(--measure);
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

.doc__flag {
  color: var(--mint);
}

.doc__back {
  margin-top: 3rem;
}

/* Movimento */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 800px) {
  .wrap {
    width: min(1160px, calc(100% - 7rem));
  }

  .header__bar {
    width: min(1240px, calc(100% - 7rem));
  }

  .reviews__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .place__grid,
  .conversa__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 6rem;
  }

  .conversa__grid {
    align-items: start;
  }

  .conversa__grid > :first-child {
    position: sticky;
    top: calc(var(--header) + 2rem);
  }

  .map {
    min-height: 460px;
  }

  .manifesto__grid {
    display: grid;
    grid-template-columns: 11rem 1fr;
    align-items: start;
    gap: 2rem;
  }

  .manifesto__grid > .kicker {
    margin-top: 1.4rem;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 920px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2.2rem;
    margin-left: auto;
    padding: 0;
    background: transparent;
    color: inherit;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }

  .nav a,
  .nav .nav__cta {
    font-family: var(--font-text);
    font-size: 0.66rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.86;
    transition: opacity 0.3s ease;
  }

  .nav a:hover {
    opacity: 1;
  }

  .nav .nav__cta {
    margin: 0 0 0 0.6rem;
    padding: 0.75rem 1.1rem;
    border: 1px solid currentColor;
    opacity: 1;
  }

  .hero__figure {
    left: auto;
    justify-content: flex-end;
    width: 56%;
    height: 84svh;
  }

  .hero__figure::after {
    height: 12%;
  }

  .hero__figure img {
    width: 100%;
    max-width: 100%;
    object-position: bottom right;
  }

  .hero__mark {
    right: auto;
    left: 38%;
    top: 10%;
    width: min(56vw, 900px);
  }

  .hero__inner {
    display: flex;
    align-items: center;
    padding-bottom: 4rem;
  }

  .hero__copy {
    max-width: 34rem;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 6vw, 6rem);
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .header,
  .nav,
  .nav-toggle__bar,
  .button,
  .map iframe {
    transition: none;
  }
}
