/* Stereo Ocean — aparência geral e responsividade.
   Dica: Ctrl+F por .market-section, .intro, .validation, .ocean ou h1.
   As regras mais abaixo podem sobrescrever regras anteriores. */

:root {
  color-scheme: dark;
  --bg: #0B1F33;
  --text: #f2f2f1;
  --muted: #d5dbe1;
  --brand-orange: #FF5F00;
}

* {
  box-sizing: border-box;
}

html,body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.page {
  --brand-column: clamp(150px, 22.8vw, 338px);
  --brand-inset: clamp(16px, 2.7vw, 48px);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
}

header {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding: 12px clamp(20px,3vw,60px);
  z-index: 3;
}

.lang {
  display: flex;
  gap: 2px;
  align-items: center;
}

.lang span {
  color: #53565a;
  font-size: 14px;
  margin: 0 4px;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.lang button {
  background: none;
  border: 0;
  padding: 10px 9px;
  color: #a4a4a4;
  font-size: 14px;
  letter-spacing: .06em;
  border-bottom: 1px solid transparent;
}

.lang button[aria-pressed=true] {
  color: #fff;
  border-bottom-color: var(--brand-orange);
}

.lang button:hover {
  color: #fff;
}

a:focus-visible,button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

main {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1100px;
  align-self: center;
  padding: clamp(44px, 5vw, 72px) 24px 0;
  flex: 1;
}

.brand {
  position: absolute;
  top: clamp(18px, 2.5vw, 38px);
  left: var(--brand-inset);
  width: var(--brand-column);
  display: grid;
  justify-items: center;
  gap: clamp(8px, 1.3vw, 18px);
}

.brand svg {
  display: block;
  height: auto;
  overflow: hidden;
}

.brand-wave {
  width: 54%;
}

.brand-name {
  width: 100%;
}

h1 {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(34px,4.4vw,60px);
  font-weight: 450;
  letter-spacing: -.035em;
  line-height: 1.06;
  text-wrap: balance;
}

.intro {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: balance;
}

.ocean {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(175px,24vh,260px);
  background: var(--bg);
  pointer-events: none;
  overflow: hidden;
}

.ocean img,.ocean video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: brightness(.48);
}

.ocean video {
  opacity: 0;
  transition: opacity .6s;
}

.ocean.playing video {
  opacity: 1;
}

.ocean:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, #0B1F33E0 20%, #0B1F338C 65%, #0B1F3399 100%);
}

footer {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 24px clamp(24px,5vw,72px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #c0c1c2;
}

footer p {
  margin: 0;
}

.status {
  font-size: 13px;
  text-wrap: balance;
  color: #e1e1e1;
}

.copyright {
  font-size: 12px;
  color: #b1b3b4;
}

.motion {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,.36);
  border: 1px solid #737373;
  border-radius: 3px;
  padding: 9px 12px;
  min-height: 44px;
  font-size: 14px;
  color: #e8e8e8;
  white-space: nowrap;
}

.motion:hover {
  background: #222;
}

.motion svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Setores de mercado: mesmo texto da versão original, com hierarquia discreta. */

.market-section {
  margin: 26px auto 0;
  max-width: 680px;
  text-align: center;
}

.market-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.45;
  text-transform: uppercase;
  color: #fafafa;
  margin: 0 0 12px;
}

.market-section .markets {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
}

.markets span + span {
  display: inline-block;
  border-left: 1px solid currentColor;
  margin-left: 12px;
  padding-left: 16px;
  line-height: 1.2;
}

.validation {
  max-width: 920px;
  margin: 36px auto 0;
}

.validation-heading {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  margin: 0 auto;
  max-width: 880px;
  color: var(--brand-orange);
  font-size: clamp(13px, 1.3vw, 17px);
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.validation-heading::before,
.validation-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: currentColor;
}

.invitation {
  margin: 10px 0 18px;
  color: #fff;
  font-size: clamp(23px, 2.25vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.validation-copy {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
  text-wrap: balance;
}

.survey {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
  min-height: 56px;
  margin-top: 32px;
  padding: 12px clamp(20px, 3vw, 36px);
  border-radius: 7px;
  background: #fff;
  color: #101820;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  text-decoration: none;
}

.survey:hover {
  background: #e5e9ec;
}

.survey [aria-hidden] {
  font-size: 1.45em;
  line-height: 1;
}

[hidden] {
  display: none !important;
}

#survey-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.email-row {
  margin: 24px 0 0;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.footer-message {
  flex-basis: 100%;
  text-align: center;
  color: #e1e1e1;
  font-size: 13px;
  font-weight: 600;
  text-wrap: balance;
}

.footer-message strong {
  color: var(--brand-orange);
}

@media (min-width:1024px) {
  .page {
    --desktop-scale: .9;
    zoom: var(--desktop-scale);
    min-height: calc(100svh / var(--desktop-scale));
  }
  .brand {
    position: fixed;
  }
}

@media (min-width:1024px) and (max-height:650px) {
  /* Em janelas baixas, estes blocos passam ao lado da marca durante a rolagem. */
  .market-section, .validation {
    width: var(--hero-width);
  }
}

@media (min-width:701px) {
  main {
    /* Reserva a mesma margem nos dois lados para manter o texto no centro da página. */
    --hero-margin: calc(var(--brand-inset) + var(--brand-column) + 1.5vw);
    --hero-width: calc(100vw - 2 * var(--hero-margin));
  }
  h1 {
    max-width: min(700px, var(--hero-width));
  }
  .intro {
    max-width: min(820px, var(--hero-width));
  }
}

@media (max-width:700px) {
  header {
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 20px 0;
  }
  .brand {
    position: static;
    --brand-column: clamp(98px, 22vw, 140px);
    gap: 6px;
  }
  main {
    padding-top: 20px;
  }
}

@media (max-width:600px) {
  main {
    padding-inline: 22px;
  }
  h1 {
    max-width: 400px;
    font-size: clamp(32px, 8vw, 36px);
  }
  .intro {
    margin-top: 20px;
    font-size: 16px;
  }
  .market-section .markets {
    font-size: 15px;
  }
  .markets span + span {
    display: block;
    border: 0;
    margin: 4px 0 0;
    padding: 0;
  }
  .validation {
    margin-top: 30px;
  }
  footer {
    padding: 24px 20px 16px;
    gap: 16px;
  }
  .motion {
    font-size: 13px;
    padding: 8px 10px;
  }
  .ocean img,.ocean video {
    object-position: 58% center;
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
  }
}
