@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* =========================
   VARIÁVEIS
========================= */

:root {
  --navy: #071821;
  --cyan: #21bee4;
  --muted: #a4b4bd;
  --white: #f5f8fa;
}

/* =========================
   RESET / BASE
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font: 16px/1.7 Manrope, Arial, sans-serif;
}

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

a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 6px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

em {
  font-style: normal;
  color: var(--cyan);
}

/* =========================
   ACESSIBILIDADE
========================= */

.skip {
  position: fixed;
  top: -80px;
  background: var(--navy);
  z-index: 100;
}

.skip:focus {
  top: 10px;
}

/* =========================
   HEADER
========================= */

header {
  height: 90px;
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 6%;

  border-bottom: 1px solid #ffffff25;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wordmark .brand-type {
  font: 600 38px / 0.8 'Barlow Condensed', Arial, sans-serif;
  letter-spacing: 2px;
  margin: 0;
}

.wordmark .brand-type > span {
  display: block;

  font: 600 10px / 1.4 Manrope, Arial, sans-serif;
  letter-spacing: 3px;

  margin-top: 8px;
}

.wordmark .brand-symbol {
  display: block;

  position: relative;

  width: 54px;
  height: 72px;

  overflow: hidden;

  margin: 0;
  flex: none;

  border-radius: 40%;

  mix-blend-mode: screen;
}

.brand-symbol img {
  position: absolute;

  width: 220px;
  max-width: none;
  height: auto;

  left: -86px;
  top: -28px;
}

/* =========================
   NAVEGAÇÃO
========================= */

nav {
  display: flex;
  align-items: center;
  gap: 38px;

  font-size: 14px;
}

nav a:hover {
  color: var(--cyan);
}

.nav-contact {
  border-bottom: 1px solid #ffffff80;
  padding: 8px 0;
}

.nav-contact span {
  margin-left: 24px;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;

  height: 300svh;
  min-height: 1800px;

  background: #042536;
}

.hero-stage {
  position: sticky;
  top: 0;

  height: 100svh;
  min-height: 620px;

  overflow: hidden;

  background: #052b3c;

  isolation: isolate;
}

.ocean-backdrop {
  position: absolute;
  inset: -12%;

  background:
    linear-gradient(#033046b5, #032235d9),
    url(ship.jpg) center / cover;

  filter: blur(35px);

  transform: scale(1.4);

  z-index: -2;
}

.hero-photo {
  position: absolute;

  inset: 50% auto auto 50%;

  width: 72vh;
  height: 48vh;
  max-width: none;

  object-fit: contain;

  transform:
    translate(-50%, -50%)
    rotate(90deg)
    scale(3.5);

  transform-origin: center;

  filter:
    saturate(0.7)
    hue-rotate(9deg);

  mask-image:
    radial-gradient(
      ellipse 49% 46% at 50% 50%,
      #000 50%,
      transparent 100%
    );

  z-index: -1;

  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 0;

  background:
    linear-gradient(
      180deg,
      #04172480,
      transparent 35%,
      transparent 75%,
      #07182175
    );

  pointer-events: none;
}

.hero-content {
  position: relative;

  z-index: 2;

  padding: 160px 6% 160px;

  max-width: 1000px;

  text-shadow: 0 2px 25px #001524;

  will-change: transform, opacity;
}

.hero-content .intro {
  max-width: 400px;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: clamp(54px, 6vw, 90px);
  line-height: 1.07;

  font-weight: 500;

  letter-spacing: -3px;

  margin-bottom: 30px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;

  letter-spacing: 2.6px;

  color: var(--cyan);

  margin: 0 0 27px;
}

.intro {
  color: #d0dce2;

  font-size: 18px;

  margin-bottom: 36px;
}

/* =========================
   BOTÕES
========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;

  padding: 17px 23px;

  background: var(--cyan);
  color: #05202b;

  font-size: 14px;
  font-weight: 800;

  transition:
    background 0.2s,
    transform 0.2s;
}

.button:hover {
  background: #83e5fb;
  transform: translateY(-3px);
}

.button span {
  font-size: 22px;
  line-height: 1;
}

.outline {
  background: transparent;

  border: 1px solid #ffffff85;

  color: white;

  margin-top: 20px;
}

.outline:hover {
  color: var(--navy);
}

/* =========================
   HERO - TEXTO DA VIAGEM
========================= */

.voyage-copy {
  position: absolute;

  top: 12%;
  left: 5%;
  right: 5%;

  text-align: center;

  opacity: 0;

  transform: translateY(22px);

  pointer-events: none;
}

.voyage-copy h2 {
  font-size: clamp(28px, 3vw, 46px);

  line-height: 1.15;

  letter-spacing: -1.6px;
}

.voyage-copy .eyebrow {
  margin-bottom: 14px;
}

.voyage-label {
  position: absolute;

  top: 53%;

  max-width: 260px;

  opacity: 0;

  transform: translateY(22px);

  pointer-events: none;
}

.voyage-left {
  left: 9%;
}

.voyage-right {
  right: 9%;
}

.voyage-label > span {
  font-size: 12px;

  letter-spacing: 2px;

  color: var(--cyan);
}

.voyage-label h3 {
  font-size: 26px;

  line-height: 1.35;

  margin-top: 15px;
}

/* =========================
   HERO BOTTOM
========================= */

.hero-bottom {
  position: absolute;

  bottom: 28px;
  left: 6%;
  right: 6%;

  display: flex;
  justify-content: space-between;

  z-index: 5;

  font-size: 11px;

  letter-spacing: 2px;

  color: #b2c7d0;
}

.hero-bottom a {
  display: flex;
  align-items: center;

  background: #05233290;

  padding: 8px 15px;

  border: 1px solid #ffffff30;
}

.hero-bottom a span {
  font-size: 24px;

  margin-left: 22px;

  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  50% {
    transform: translateY(7px);
  }
}

.hero .button {
  pointer-events: auto;
}

.hero-content.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

/* =========================
   SEÇÕES GERAIS
========================= */

.section {
  padding: 110px 6%;
}

h2 {
  font-size: clamp(34px, 3.7vw, 57px);

  font-weight: 500;

  letter-spacing: -2px;

  line-height: 1.2;

  margin-bottom: 30px;
}

h3 {
  font-size: 25px;

  line-height: 1.2;

  margin: 35px 0 18px;

  font-weight: 500;
}

/* =========================
   EMPRESA
========================= */

.about {
  display: grid;

  grid-template-columns: 1.1fr 1fr;

  gap: 80px;

  border-bottom: 1px solid #ffffff1c;
}

.about h2 span {
  color: #93a6b2;
}

.about-text {
  padding-top: 40px;

  font-size: 19px;
}

.muted {
  color: var(--muted);

  font-size: 16px;
}

.text-link {
  display: inline-block;

  font-size: 14px;

  border-bottom: 1px solid #ffffff55;

  padding-bottom: 8px;

  margin-top: 14px;
}

.text-link span {
  margin-left: 28px;
}

/* =========================
   ATUAÇÃO
========================= */

.services {
  background: #0b202b;
}

.section-heading {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;
}

.section-heading h2 {
  width: 48%;
}

.service-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 44px;

  margin-top: 35px;
}

.service-grid article {
  border-top: 1px solid #4c626d;

  padding-top: 25px;
}

.number {
  font: 500 18px 'Barlow Condensed', sans-serif;

  color: var(--cyan);
}

.service-grid p {
  color: #afc0c9;

  max-width: 350px;

  font-size: 16px;
}

/* =========================
   MAQUINÁRIO
========================= */

.mining {
  min-height: 660px;

  position: relative;

  display: flex;
  align-items: center;

  overflow: hidden;
}

.mining > img,
.mining-shade {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.mining > img {
  object-position: center;
}

.mining-shade {
  background:
    linear-gradient(
      90deg,
      #04141de8,
      #04141d80 55%,
      #04141d18
    );
}

.mining-content {
  position: relative;

  padding: 95px 6%;

  width: 100%;
}

.mining h2 {
  font-size: clamp(40px, 4.5vw, 70px);
}

.mining p:not(.eyebrow) {
  color: #e0e5e7;
}

.photo-note {
  position: absolute;

  bottom: 18px;
  right: 3%;

  font-size: 10px;

  letter-spacing: 2px;
}

/* =========================
   CONTATO
========================= */

.contact {
  position: relative;

  min-height: 650px;

  isolation: isolate;

  display: grid;

  grid-template-columns: 1.3fr 1fr;

  gap: 60px;

  align-items: center;

  background:
    #030813
    url(space.png)
    center / cover
    no-repeat;
}

.contact::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      #030813df 0%,
      #030813b0 42%,
      transparent 75%
    );

  z-index: -1;
}

.contact > div {
  position: relative;

  z-index: 1;
}

.contact h2 {
  font-size: clamp(36px, 3.8vw, 60px);
}

.contact .button {
  margin-top: 15px;
}

.phone {
  display: block;

  color: var(--muted);

  font-size: 16px;

  margin-top: 20px;
}

.contact .brand-image {
  display: none;
}

.brand-image {
  width: 100%;

  max-width: 420px;

  border: 1px solid #ffffff18;
}

/* =========================
   FOOTER
========================= */

footer {
  margin: 0 6%;

  border-top: 1px solid #ffffff25;

  padding: 28px 0;

  display: flex;

  justify-content: space-between;

  gap: 20px;

  font-size: 12px;

  color: #91a6b2;
}

/* =========================
   PROGRESS BAR
========================= */

.progress {
  position: fixed;

  inset: 0 auto auto 0;

  background: var(--cyan);

  height: 3px;

  width: 0;

  z-index: 30;
}

/* =========================
   REVEAL
========================= */

.js-motion .reveal {
  opacity: 0;

  transform: translateY(26px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.js-motion .reveal.visible {
  opacity: 1;

  transform: none;
}

/* =========================
   TELAS GRANDES
========================= */

@media (min-width: 1500px) {
  .section {
    padding-left:
      max(
        6%,
        calc((100vw - 1400px) / 2)
      );

    padding-right:
      max(
        6%,
        calc((100vw - 1400px) / 2)
      );
  }
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 760px) {

  header {
    height: 80px;

    padding: 0 6%;
  }

  .wordmark {
    gap: 8px;
  }

  .wordmark .brand-type {
    font-size: 29px;
  }

  .wordmark .brand-type > span {
    font-size: 8px;

    letter-spacing: 2px;
  }

  .wordmark .brand-symbol {
    width: 40px;
    height: 56px;
  }

  .brand-symbol img {
    width: 174px;

    left: -68px;
    top: -22px;
  }

  nav {
    gap: 10px;

    font-size: 12px;
  }

  nav > a:first-child {
    display: none;
  }

  nav > a:nth-child(2) {
    display: none;
  }

  .nav-contact span {
    margin-left: 8px;
  }

  .hero {
    height: 260svh;

    min-height: 1700px;
  }

  .hero-stage {
    min-height: 620px;
  }

  .hero-photo {
    width: 67vh;
    height: 45vh;
  }

  .hero-content {
    padding-top: 145px;
  }

  .hero h1 {
    font-size: 52px;

    letter-spacing: -2px;
  }

  .eyebrow {
    font-size: 10px;

    letter-spacing: 1.7px;
  }

  .intro {
    font-size: 16px;
  }

  .hero-bottom > span {
    display: none;
  }

  .voyage-copy {
    top: 15%;
  }

  .voyage-copy h2 {
    font-size: 29px;

    letter-spacing: -1px;
  }

  .voyage-copy .eyebrow {
    font-size: 9px;
  }

  .voyage-label {
    top: auto;

    bottom: 15%;

    max-width: 42%;
  }

  .voyage-left {
    left: 6%;
  }

  .voyage-right {
    right: 6%;

    text-align: right;
  }

  .voyage-label h3 {
    font-size: 17px;

    margin-top: 10px;
  }

  .voyage-label > span {
    font-size: 10px;

    letter-spacing: 1px;
  }

  .hero-bottom {
    bottom: 18px;
  }

  .section {
    padding: 75px 6%;
  }

  .about,
  .contact {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .about-text {
    padding-top: 0;

    font-size: 18px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    width: auto;
  }

  .service-grid {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .service-grid article {
    padding-top: 16px;
  }

  h3 {
    margin-top: 15px;
  }

  .service-grid p {
    max-width: none;
  }

  .mining {
    min-height: 630px;
  }

  .mining-content {
    padding: 70px 6%;
  }

  .mining > img {
    object-position: 65%;
  }

  .mining-shade {
    background: #04141da8;
  }

  .brand-image {
    margin-top: 35px;

    max-width: 340px;
  }

  .contact {
    min-height: 900px;

    display: flex;

    align-items: flex-start;

    background-size: auto 600px;

    background-position: 70% bottom;

    padding-top: 65px;
    padding-bottom: 440px;
  }

  .contact::before {
    background:
      linear-gradient(
        180deg,
        #030813 0%,
        #030813f5 38%,
        transparent 65%
      );
  }

  .contact h2 {
    font-size: 36px;

    letter-spacing: -1.4px;
  }

  .contact > div {
    width: 100%;
  }

  footer {
    flex-direction: column;

    gap: 10px;
  }

  h2 {
    letter-spacing: -1.5px;
  }
}

/* =========================
   REDUZIR ANIMAÇÕES
========================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  .js-motion .reveal {
    transition: none !important;

    transform: none !important;

    opacity: 1 !important;
  }

  .hero {
    height: 100svh;

    min-height: 720px;
  }

  .hero-stage {
    position: relative;

    height: 100%;

    min-height: 720px;
  }

  .hero-bottom a span {
    animation: none;
  }

  .hero-photo {
    transform:
      translate(-50%, -50%)
      rotate(90deg)
      scale(2) !important;

    will-change: auto;
  }

  .hero-content {
    will-change: auto;

    opacity: 1 !important;

    visibility: visible !important;
  }

  .voyage-copy,
  .voyage-label {
    display: none;
  }
}