:root {
  --navy: #101a33;
  --navy-2: #17223d;
  --teal: #2f8d7f;
  --text: #ece9e2;
  --muted: rgba(236, 233, 226, .55);
  --line: rgba(236, 233, 226, .18);
  --alu: #b8bec6;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--navy);
  color: var(--text);
  font: 300 16px/1.6 "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3 { font-weight: 400; text-transform: uppercase; letter-spacing: .14em; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img, video, svg { display: block; }

.coords { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.btn {
  display: inline-block; padding: 14px 28px;
  font: 500 11px/1 "Archivo", sans-serif; letter-spacing: .24em; text-transform: uppercase;
  color: var(--navy); background: var(--text); border: 1px solid var(--text);
  text-decoration: none; cursor: pointer; transition: background .4s, color .4s;
}
.btn:hover { background: transparent; color: var(--text); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--navy); }

/* Placeholders até chegar a mídia real */
.ph {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(255,255,255,.06) 49.6% 50.4%, transparent 50.4%),
    linear-gradient(160deg, #2a3546 0%, #18212f 55%, #0f1622 100%);
  overflow: hidden;
}
.ph--b { background-color: #1b2533; background-image: linear-gradient(200deg, #3a4556 0%, #1a2230 60%, #0f1622 100%); }
.ph--c { background-image: linear-gradient(120deg, #2f3a4a 0%, #222c3b 40%, #0f1622 100%); }
.ph img, .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph::after {
  content: attr(data-ph); position: absolute; left: 16px; bottom: 14px;
  font-size: 10px; letter-spacing: .22em; color: var(--muted);
}

/* 1. INTRO */
.intro { display: none; }
.motion .intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; align-content: center; gap: 40px;
  background: var(--navy);
}
.intro__mark { width: clamp(84px, 11vw, 120px); height: auto; overflow: visible; }
.intro__mark .p, .intro__mark .f, .intro__mark .tick { visibility: hidden; }
.intro__brand { text-align: center; opacity: 0; }
.intro__name { font: 400 clamp(32px, 5vw, 52px)/1 "Inter", sans-serif; letter-spacing: -.01em; }
.intro__name b { font-weight: 400; color: var(--teal); }
.intro__tag { margin-top: 14px; font: 500 11px/1 "Archivo", sans-serif; letter-spacing: .42em; text-transform: uppercase; }
.intro__line { position: absolute; top: 50%; height: 1px; width: 30vw; background: var(--line); transform: scaleX(0); }
.intro__line--l { left: 0; transform-origin: left; }
.intro__line--r { right: 0; transform-origin: right; }
.intro__enter, .intro__coords { opacity: 0; }
.intro__coords { position: absolute; bottom: 40px; left: 0; right: 0; text-align: center; }

/* HEADER + MENU */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px var(--gutter);
  /* Sem mix-blend-mode: no Safari ele faz a página inteira piscar ao rolar */
  background: linear-gradient(to bottom, rgba(16, 26, 51, .55), rgba(16, 26, 51, 0));
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 20px/1 "Inter", sans-serif; letter-spacing: -.01em; }
.logo img { width: 28px; height: auto; }
.logo b { font-weight: 400; color: var(--teal); }
.menu-btn {
  display: flex; align-items: center; gap: 12px; background: none; border: 0; color: var(--text);
  font: 400 11px/1 "Archivo", sans-serif; letter-spacing: .24em; text-transform: uppercase; cursor: pointer;
}
.menu-btn__icon { width: 24px; height: 7px; border-top: 1px solid; border-bottom: 1px solid; transition: transform .5s var(--ease); }
.menu-open .menu-btn__icon { transform: scaleY(0); }

.menu {
  position: fixed; inset: 0; z-index: 50; background: var(--navy-2);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; transition-delay: 0s; }
.menu ul { list-style: none; margin: 0 0 48px; padding: 0; }
.menu li { overflow: hidden; }
.menu a {
  display: inline-block; text-decoration: none; text-transform: uppercase;
  font-size: clamp(28px, 6vw, 72px); letter-spacing: .1em; line-height: 1.3;
  transform: translateY(105%); transition: transform .8s var(--ease), color .3s;
}
.menu-open .menu a { transform: none; }
.menu li:nth-child(2) a { transition-delay: .05s; }
.menu li:nth-child(3) a { transition-delay: .1s; }
.menu li:nth-child(4) a { transition-delay: .15s; }
.menu li:nth-child(5) a { transition-delay: .2s; }
.menu li:nth-child(6) a { transition-delay: .25s; }
.menu a:hover { color: var(--alu); }

/* 2. HERO */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; display: grid; place-items: center; }
.hero__media { position: absolute; inset: 0; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s var(--ease);
}
.hero__img.is-active { opacity: 1; animation: kenburns 9s linear both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,20,32,.6), rgba(13,20,32,.35) 45%, rgba(13,20,32,.9)); }
.hero__titles { position: relative; display: grid; text-align: center; padding: 0 var(--gutter); }
.hero__title {
  grid-area: 1 / 1; font-size: clamp(22px, 4vw, 52px); letter-spacing: .16em; text-transform: uppercase;
  font-weight: 300; line-height: 1.2; max-width: 16ch; margin: auto;
  opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.hero__title.is-active { opacity: 1; transform: none; }
.hero__scroll { position: absolute; bottom: 32px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__scroll::after { content: ""; display: block; width: 1px; height: 40px; margin: 12px auto 0; background: var(--text); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 3. MANIFESTO */
.manifesto { padding: 24vh var(--gutter); max-width: 1200px; margin: 0 auto; }
.manifesto__text { font-size: clamp(22px, 3.2vw, 44px); line-height: 1.35; font-weight: 300; }
.motion .manifesto__text .w { opacity: .15; }
.manifesto__meta { margin-top: 48px; }

/* 4. CAPÍTULOS */
.chapters__pin { position: relative; }
.chapters__media { display: grid; gap: 16px; padding: 0 var(--gutter); }
.chapters__nav { display: none; }
.chapters__texts { display: grid; gap: 48px; padding: 48px var(--gutter) 15vh; }
.chapters__text h2 { font-size: 28px; margin-bottom: 16px; }
.chapters__text p { max-width: 40ch; color: var(--muted); }

.motion .chapters__pin { height: 100svh; overflow: hidden; }
.motion .chapters__media { position: absolute; inset: 0; padding: 0; display: block; }
.motion .chapters__img { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; clip-path: inset(100% 0 0 0); }
.motion .chapters__img:first-child { clip-path: inset(0); }
.motion .chapters__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,20,32,.85), rgba(13,20,32,.2) 60%, rgba(13,20,32,.6)); }
.motion .chapters__nav {
  position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-50%);
  display: grid; gap: 28px;
}
.chapters__item { display: grid; gap: 4px; opacity: .3; transition: opacity .6s; }
.chapters__item.is-active { opacity: 1; }
.chapters__name { font-size: clamp(28px, 5vw, 64px); letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.motion .chapters__texts { position: absolute; z-index: 2; right: var(--gutter); bottom: 12vh; width: min(380px, 80vw); padding: 0; display: grid; }
.motion .chapters__text { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion .chapters__text.is-active { opacity: 1; transform: none; }
.motion .chapters__text h2 { display: none; }
.motion .chapters__text p { color: var(--text); }

/* 5. PRODUTOS */
.products { padding: 20vh 0 10vh; }
.products__pin { overflow: hidden; }
.products__head, .works__head, .region__head { padding: 0 var(--gutter); margin-bottom: 56px; }
.products__head h2, .works__head h2, .region__head h2 { font-size: clamp(26px, 4vw, 52px); margin-top: 12px; }
.products__track {
  display: flex; gap: 24px; padding: 0 var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.products__track::-webkit-scrollbar { display: none; }
.product { flex: 0 0 min(78vw, 420px); scroll-snap-align: start; }
.product .ph { aspect-ratio: 3 / 4; margin-bottom: 20px; }
.product h3 { font-size: 18px; margin-bottom: 8px; }
.product p { color: var(--muted); font-size: 14px; }
@media (min-width: 768px) {
  .motion .products { padding-bottom: 0; }
  .motion .products__pin { height: 100svh; padding-top: 72px; display: flex; flex-direction: column; justify-content: center; }
  .motion .products__track { overflow: visible; width: max-content; }
  .motion .product { flex-basis: clamp(220px, 26vw, 38svh); }
}

/* 6. OBRAS */
.works { padding: 20vh 0; }
.works__viewport { overflow: hidden; padding: 0 var(--gutter); }
.works__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; transition: transform 1s var(--ease); }
.work { flex: 0 0 85vw; }
@media (min-width: 768px) { .work { flex-basis: 56vw; } }
.work .ph { aspect-ratio: 16 / 10; margin-bottom: 20px; }
.work .ph { transform: scale(.92); opacity: .5; transition: transform 1s var(--ease), opacity 1s; }
.work.is-active .ph { transform: none; opacity: 1; }
.work h3 { font-size: clamp(18px, 2vw, 26px); margin-bottom: 6px; }
.works__ctrl { display: flex; align-items: center; gap: 24px; padding: 40px var(--gutter) 0; }
.works__count { font-size: 12px; letter-spacing: .3em; }
.arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
  background: none; color: var(--text); font-size: 18px; cursor: pointer; transition: border-color .3s;
}
.arrow:hover { border-color: var(--text); }

/* 6b. EM MOVIMENTO */
.reels { padding: 10vh 0 20vh; }
.reels__head { padding: 0 var(--gutter); margin-bottom: 56px; }
.reels__head h2 { font-size: clamp(26px, 4vw, 52px); margin-top: 12px; }
.reels__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0 var(--gutter); }
@media (min-width: 900px) { .reels__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.reel { margin: 0; }
.reel__frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--navy-2); }
.reel__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { margin-top: 12px; }
@media (min-width: 900px) { .reel:nth-child(even) { margin-top: 12vh; } }

/* 6c. OBRA POR OBRA — carrossel estilo Feadship */
.showcase__pin { position: relative; display: grid; gap: 12px; padding: 0 var(--gutter) 10vh; }
.showcase__slide { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-2); }
.showcase__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase__shade, .showcase__info, .showcase__label { display: none; }

.motion .showcase__pin { display: block; height: 100svh; padding: 0; overflow: hidden; }
.motion .showcase__slide { position: absolute; inset: 0; aspect-ratio: auto; }
.motion .showcase__slide:not(:first-child) { clip-path: inset(100% 0 0 0); }
.motion .showcase__shade {
  display: block; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(13,20,32,.45), rgba(13,20,32,0) 30%, rgba(13,20,32,0) 55%, rgba(13,20,32,.75));
}
.motion .showcase__label { display: block; position: absolute; top: 96px; left: var(--gutter); }
.motion .showcase__info { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 6vh, 64px); }
.showcase__count { font-size: 12px; letter-spacing: .3em; margin-bottom: 14px; }
.showcase__mask { height: 1.05em; overflow: hidden; font-size: clamp(24px, 7vw, 100px); line-height: 1.05; }
.showcase__titles {
  list-style: none; margin: 0; padding: 0; text-transform: uppercase; letter-spacing: .06em; font-weight: 300;
  transform: translateY(calc(var(--i, 0) * -1.05em)); transition: transform 1s var(--ease);
}
.showcase__titles li { height: 1.05em; white-space: nowrap; }
.showcase__subs { display: grid; margin-top: 14px; }
.showcase__sub {
  grid-area: 1 / 1; font-size: 14px; color: var(--text); opacity: 0;
  transform: translateY(12px); transition: opacity .6s, transform .6s var(--ease);
}
.showcase__sub.is-active { opacity: .85; transform: none; }

/* 7. REGIÃO */
.region { padding: 10vh 0 20vh; }
.region__list { list-style: none; margin: 0; padding: 0 var(--gutter); }
.region__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid var(--line);
  font-size: clamp(18px, 2.4vw, 32px); letter-spacing: .1em; text-transform: uppercase;
}
.region__list li:last-child { border-bottom: 1px solid var(--line); }

/* 8. CONTATO */
.reviews { padding: 16vh var(--gutter); text-align: center; border-top: 1px solid var(--line); }
.reviews__score { font-size: clamp(48px, 9vw, 120px); margin: 20px 0 8px; letter-spacing: 0; }
.reviews__stars { color: var(--teal); letter-spacing: .12em; }
.reviews__score .reviews__stars { font-size: .35em; vertical-align: middle; }
.reviews__count { color: var(--muted); margin: 0 0 64px; }
.reviews__list { list-style: none; margin: 0 auto 64px; padding: 0; max-width: 1200px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; text-align: left; }
.reviews__list li { border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.reviews__list blockquote { margin: 0; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; }
.reviews__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.contact { padding: 20vh var(--gutter); text-align: center; border-top: 1px solid var(--line); }
.contact__title { font-size: clamp(30px, 6vw, 84px); margin: 20px 0 48px; }
.contact__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 80px; }
.contact__info { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; max-width: 1000px; margin: 0 auto; text-align: left; }
.contact__info dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact__info dd { margin: 0; }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 32px var(--gutter); border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* WhatsApp flutuante */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--text); color: var(--navy);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .5s, transform .5s var(--ease);
}
.wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .manifesto__text .w { opacity: 1; }
}
