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

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Alta-light';
  src: url('Alta-Font/Alta_Font/Alta_light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alta-caption';
  src: url('Alta-Font/Alta_Font/Alta_caption.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alta-regular';
  src: url('Alta-Font/Alta_Font/Alta_regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   CORES GLOBAIS
========================================================= */

:root {

  --navy-900: #04111D;
  --navy-800: #071F33;
  --navy-700: #0C2B45;
  --navy-600: #153B5A;

  --gold-soft: #C8B38A;

  --cream: #F5F1E8;
  --cream-soft: rgba(245,241,232,0.72);
  --cream-faint: rgba(245,241,232,0.42);

  --gold-default: #F19B46;

  --font-body: 'Alta-light', sans-serif;
  --font-heading: 'Alta-regular', serif;
  --font-display: 'Alta-caption', serif;
  --font-subtitle: 'Manrope', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--cream);
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   NAVBAR
========================================================= */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 50;

  height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 48px;

  backdrop-filter: blur(14px);

  background: rgba(4,17,29,0.22);

  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
}

.nav-logo-mark {
  width: clamp(150px, 15vw, 220px);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 42px;
  list-style: none;
}

.nav-links a {
  color: var(--cream-soft);
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--cream);
}

.btn-contact {
  padding: 14px 22px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.1);

  transition: 0.3s;
}

.btn-contact:hover {
  background: rgba(255,255,255,0.08);
}

.section-title,
.area-card h3,
.split-text h2,
.team-heading h2,
.team-bio h3,
.service-text h3,
.contact-title,
.why-text h2,
.stat-num {
  color: var(--gold-default);
}

.hero-description,
.area-card p,
.service-text p,
.split-text p:not(.section-label),
.team-bio p,
.why-text p,
.stat-desc {
  font-family: var(--font-subtitle);
}

/* =========================================================
   HERO
========================================================= */

#hero {
  position: relative;
  height: 100vh;

  overflow: hidden;

  display: flex;
  align-items: flex-end;

  background:
    linear-gradient(
      135deg,
      rgb(1,13,37) 0%,
      rgb(1,11,29) 46%,
      rgb(1,9,22) 100%
    );
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: none;
}

.hero-content {
  position: relative;
  z-index: 5;

  width: 100%;

  padding: 0 48px 56px;
}

.hero-eyebrow {
  margin-bottom: 24px;

  text-transform: uppercase;
  letter-spacing: 0.2em;

  color: var(--gold-default);

  font-size: 12px;
}

.hero-title {
  font-family: var(--font-display);

  font-size: clamp(72px, 10vw, 150px);

  line-height: 0.9;

  font-weight: 400;

  letter-spacing: -0.04em;
}

.hero-divider {
  width: 100%;
  height: 1px;

  margin: 40px 0;

  background: rgba(255,255,255,0.1);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.hero-description {
  max-width: 620px;

  line-height: 1.9;

  color: var(--cream-soft);
}

.btn-primary {
  padding: 18px 28px;

  border-radius: 999px;

  background: var(--cream);
  color: var(--navy-900);

  font-size: 13px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.15em;

  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

/* =========================================================
   SEÇÕES
========================================================= */

section {
  padding: 120px 48px;
  scroll-margin-top: 76px;
}

.content-gradient {
  background: linear-gradient(
    180deg,
    rgb(1,9,22) 0%,
    var(--navy-900) 100%
  );
}

.section-label {
  margin-bottom: 24px;

  text-transform: uppercase;
  letter-spacing: 0.18em;

  font-size: 12px;

  color: var(--cream-faint);
}

.section-title {
  max-width: 900px;

  font-family: var(--font-heading);

  font-size: clamp(42px, 6vw, 76px);

  line-height: 1.05;

  margin-bottom: 72px;
}

/* =========================================================
   AREAS
========================================================= */

.carousel-shell {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 18px;
  align-items: center;
  position: relative;
}

.areas-carousel {
  grid-column: 1 / -1;

  display: grid;
  grid-auto-columns: minmax(260px, calc((100% - 64px) / 3));
  grid-auto-flow: column;
  gap: 32px;

  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.areas-carousel::-webkit-scrollbar {
  display: none;
}

.area-card {
  min-height: 300px;
  padding: 40px 32px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  scroll-snap-align: start;
  scroll-snap-stop: always;

  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  background: rgba(255,255,255,0.025);
}

.area-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 2.6vw, 44px);
  line-height: 1.05;
  margin: 36px 0 18px;
  overflow-wrap: break-word;
  hyphens: auto;
}

.area-card p {
  line-height: 1.8;
  color: var(--cream-soft);
}

.carousel-btn {
  width: 48px;
  height: 48px;

  display: none;

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;

  background: rgba(255,255,255,0.04);
  color: var(--cream);

  cursor: pointer;
  transition: 0.3s;
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

@media (max-width: 1200px) {
  .carousel-shell {
    grid-template-columns: 48px 48px 1fr;
    grid-template-areas:
      "track track track"
      "prev next .";
    gap: 16px 12px;
  }

  .areas-carousel {
    grid-area: track;
    grid-auto-columns: calc(100% - 36px);
    gap: 16px;
    padding-right: 36px;
  }

  .carousel-btn {
    display: grid;
    place-items: center;
  }

  [data-carousel-prev] {
    grid-area: prev;
  }

  [data-carousel-next] {
    grid-area: next;
  }
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 72px;

  align-items: center;

  padding: 72px 0;

  border-top: 1px solid rgba(255,255,255,0.08);
}

.service-item.reverse {
  direction: rtl;
}

.service-item.reverse > * {
  direction: ltr;
}

.fade-img {
  aspect-ratio: 4 / 3;

  overflow: hidden;

  border-radius: 28px;

  opacity: 0;
  transform: translateY(40px);

  transition:
    opacity 1s ease,
    transform 1s ease;
}

.fade-img.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-img img {
  height: 100%;
  transition: transform 0.8s ease;
}

.fade-img:hover img {
  transform: scale(1.05);
}

.fade-el {
  opacity: 0;
  transform: translateY(30px);

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.fade-el.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-text h3 {
  font-family: var(--font-heading);

  font-size: clamp(42px, 5vw, 64px);

  margin-bottom: 18px;
}

.service-text p {
  line-height: 1.9;

  color: var(--cream-soft);

  margin-bottom: 28px;
}

.link-explore {
  text-transform: uppercase;
  letter-spacing: 0.15em;

  font-size: 12px;

  padding-bottom: 4px;

  border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* =========================================================
   SPLIT SECTIONS
========================================================= */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 72px;

  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-text h2 {
  font-family: var(--font-heading);

  font-size: clamp(42px, 5vw, 76px);

  line-height: 1.05;

  margin-bottom: 28px;
}

.split-text p:not(.section-label) {
  line-height: 1.9;

  color: var(--cream-soft);
}

#office .split-text p:not(.section-label) {
  text-align: justify;
}

.split-img {
  aspect-ratio: 4 / 3;
}

/* =========================================================
   TEAM
========================================================= */

.team-heading {
  max-width: 900px;
  margin-bottom: 72px;
}

.team-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.05;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.team-member {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) 1fr;
  gap: 32px;
  align-items: center;

  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
}

.team-photo img {
  height: 100%;
  object-position: center top;
}

.team-role {
  display: block;
  margin-bottom: 14px;

  color: var(--cream-faint);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-bio h3 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  margin-bottom: 18px;
}

.team-bio p {
  color: var(--cream-soft);
  line-height: 1.85;
  text-align: justify;
}

/* =========================================================
   DIFERENCIAIS
========================================================= */

#diferenciais {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 72px;

  align-items: center;

  background: var(--navy-800);
}

.why-text h2 {
  font-family: var(--font-heading);

  font-size: clamp(42px, 5vw, 76px);

  line-height: 1.05;

  margin-bottom: 28px;
}

.why-text p {
  line-height: 1.9;

  color: var(--cream-soft);
}

.why-img {
  aspect-ratio: 1 / 1;
}

/* =========================================================
   STATS
========================================================= */

#stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);

  gap: 32px;

  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;

  font-family: var(--font-heading);

  font-size: clamp(72px, 8vw, 120px);

  margin-bottom: 12px;
}

.stat-desc {
  color: var(--cream-soft);
}

/* =========================================================
   CONTATO
========================================================= */

#contato {
  text-align: center;
}

.contact-title {
  font-family: var(--font-heading);

  font-size: clamp(48px, 6vw, 86px);

  margin-bottom: 24px;
}

.contact-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: stretch;
  gap: clamp(28px, 5vw, 72px);
  text-align: left;
}

.contact-map {
  min-height: 380px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(1) contrast(0.92);
}

.contact-details {
  margin: 0;
  display: grid;
  align-content: center;
  gap: 14px;
  font-style: normal;
}

.contact-line {
  width: fit-content;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream-soft);
  line-height: 1.6;
}

a.contact-line {
  text-decoration: none;
  transition: color 0.25s ease;
}

a.contact-line:hover {
  color: var(--cream);
}

.contact-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: var(--gold-default);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form {
  max-width: 620px;

  margin: 0 auto;

  display: flex;
}

.contact-form input {
  flex: 1;

  padding: 18px 22px;

  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(255,255,255,0.04);

  color: var(--cream);

  outline: none;
}

.contact-form button {
  border: none;

  padding: 0 28px;

  background: var(--cream);
  color: var(--navy-900);

  font-weight: 600;

  cursor: pointer;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 900px) {

  nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  section,
  .hero-content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-content {
    padding-right: 36px;
  }

  .hero-title {
    font-size: clamp(48px, 14.5vw, 72px);
    letter-spacing: -0.02em;
  }

  .hero-bottom,
  .service-item,
  .split-section,
  #diferenciais,
  #stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .team-grid,
  .team-member {
    grid-template-columns: 1fr;
  }

  .team-photo {
    max-width: 420px;
  }

  .service-item.reverse {
    direction: ltr;
  }

  .split-section.reverse {
    direction: ltr;
  }

  .contact-form {
    flex-direction: column;
    gap: 12px;
  }

  .contact-form button {
    height: 56px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 320px;
  }

  .contact-line {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }
}
