/* =============================================================
   Nova Grotesk — Site of the Day (template de vitrine)
   Recriação fiel de layout, tipografia, espaçamentos, animações
   e comportamento responsivo no estilo de uma página SOTD.
   Conteúdo (marca, textos, imagens, SEO) é placeholder.
   ============================================================= */

/* -------------------------------------------------------------
   1. Tokens + reset
   ------------------------------------------------------------- */
:root {
  /* Paleta da marca nexa (extraída dos logos) */
  --navy: #001739;          /* azul-marinho profundo */
  --navy-2: #172c49;        /* marinho de superfície */
  --cream: #fbf6e9;         /* creme / marfim */
  --yellow: #f9b924;        /* amarelo âmbar */

  --ink: #001739;           /* texto principal = marinho */
  --paper: #f7f6f1;         /* base clara, levemente quente */
  --mist: #ebe9e1;          /* faixa marquee */
  --line: #e3e0d6;          /* bordas */
  --line-soft: #edebe3;
  --muted: #7b8592;         /* cinza-marinho */
  --sub: #556172;           /* marinho suave (texto secundário) */
  --accent: #f9b924;        /* acento = amarelo nexa */
  --coal: #172c49;          /* superfícies escuras = marinho 2 */
  --butter: #f9b924;        /* amarelo nexa */

  --shell: 1160px;
  --pad: 40px;
  --radius: 8px;
  --header-h: 64px;
  --marquee-h: 50px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  font-size: 14px;               /* mesma base do original (1rem = 14px) */
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 128px;      /* marquee (50) + header (64) fixos */
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
sub { vertical-align: baseline; }

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

/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: #c8ccd3 transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #c8ccd3; border-radius: 999px; border: 3px solid var(--paper); }

/* -------------------------------------------------------------
   2. Layout helpers
   ------------------------------------------------------------- */
.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.block {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 64px var(--pad);
  border-top: 1px solid var(--line);
}
.block--last { padding-bottom: 200px; }

.block__head {
  text-align: center;
  margin-bottom: 48px;
}
.block__label {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.block__title {
  font-size: 1.05rem;
  color: var(--sub);
  margin-top: 10px;
}

/* Sobre nós */
.about {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: 48px;
  align-items: start;
  max-width: 980px;
  margin-inline: auto;
  text-align: left;
}
.about__photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--line-soft);
  border: 1px dashed rgba(0, 23, 57, .28);
  display: grid;
  place-items: center;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .9rem;
}
.about__photo-ph svg { width: 34px; height: 34px; }
.about__text { display: flex; flex-direction: column; gap: 32px; }
.about__block h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.about__block p { font-size: 1rem; line-height: 1.65; color: var(--sub); max-width: 58ch; }
.about__block p + p { margin-top: 14px; }
.about__block .brand-em { color: var(--ink); font-weight: 600; letter-spacing: .01em; }
.about__block p.about__highlight {
  margin-top: 26px;
  padding-left: 18px;
  border-left: 3px solid var(--yellow);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  max-width: 42ch;
}

/* FAQ */
.faq {
  max-width: 780px;
  margin-inline: auto;
  text-align: left;
  border-top: 1px solid var(--line);
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 2px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--yellow); }
.faq__q:hover .faq__icon { color: var(--yellow); }
.faq__icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.faq__icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__icon::after  { top: 0; left: 7px; width: 2px; height: 16px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a {
  padding: 0 2px 24px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sub);
  max-width: 64ch;
}
.faq__a p { margin: 0; }
.faq__item[open] .faq__a { animation: faqIn .3s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .faq__item[open] .faq__a { animation: none; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------
   3. Cursor custom
   ------------------------------------------------------------- */
.cursor, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  mix-blend-mode: difference;
  transform: translate(-100px, -100px) translate(-50%, -50%);
}
.cursor { width: 6px; height: 6px; background: #fff; }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid #fff;
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease);
}
.cursor-ring.is-hover { width: 54px; height: 54px; background: rgba(255, 255, 255, .16); }
body.has-cursor,
body.has-cursor a,
body.has-cursor button,
body.has-cursor input,
body.has-cursor .swatch { cursor: none; }

@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .cursor, .cursor-ring { display: none; }
}

/* -------------------------------------------------------------
   4. Marquee superior
   ------------------------------------------------------------- */
.marquee-top {
  position: sticky;
  top: 0;
  z-index: 61;
  height: var(--marquee-h);
  background: var(--mist);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  font-weight: 300;
}
.marquee-top__track {
  display: flex;
  flex: none;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 70s linear infinite;
}
.marquee-top:hover .marquee-top__track { animation-play-state: paused; }
.marquee-top__item {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
}
.marquee-top__item::before {
  content: "•";
  margin: 0 24px;
  font-size: .8em;
  opacity: .4;
}
.marquee-top__item strong { font-weight: 600; letter-spacing: .02em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------
   5. Header + navegação
   ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: var(--marquee-h);
  z-index: 60;
  background: var(--navy);
  color: var(--cream);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(251, 246, 233, .1), 0 14px 34px -22px rgba(0, 0, 0, .55); }

.site-header__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--pad);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); }
.brand__mark { flex: none; display: block; }
.brand__mark img { width: 30px; height: auto; display: block; }
.brand__word { font-size: 1.35rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  transition: color .2s var(--ease);
}
.nav__link:hover { color: var(--yellow); }
.nav__link .caret { width: 12px; height: 12px; margin-left: 5px; transition: transform .25s var(--ease); }
.nav__link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.pillnew {
  margin-left: 5px;
  font-size: .62rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 6px;
}

.search {
  position: relative;
  flex: 1;
  max-width: 430px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(251, 246, 233, .22);
  border-radius: var(--radius);
  color: rgba(251, 246, 233, .55);
}
.search svg { width: 16px; height: 16px; flex: none; }
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--cream);
}
.search input::placeholder { color: rgba(251, 246, 233, .5); }

/* Resultados da pesquisa */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 70;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 54px -22px rgba(0, 15, 39, .45);
  padding: 6px;
  max-height: 62vh;
  overflow-y: auto;
}
.search-results__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background .15s var(--ease);
}
.search-results__item:hover,
.search-results__item.is-active { background: var(--mist); }
.search-results__t { display: block; font-size: .95rem; font-weight: 600; color: var(--ink); }
.search-results__s {
  display: block;
  font-size: .82rem;
  color: var(--sub);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-results__empty { padding: 14px 12px; font-size: .9rem; color: var(--sub); }

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

/* Seletor de idioma — menu personalizado */
.langsel { position: relative; flex: none; }
.langsel__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 10px 0 11px;
  border: 1px solid rgba(251, 246, 233, .28);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.langsel__btn:hover { border-color: rgba(251, 246, 233, .6); background: rgba(251, 246, 233, .06); }
.langsel__btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.langsel__btn[aria-expanded="true"] { border-color: rgba(251, 246, 233, .7); background: rgba(251, 246, 233, .08); }
.langsel__globe { width: 15px; height: 15px; opacity: .8; flex: none; }
.langsel__cur { font-variant-numeric: tabular-nums; }
.langsel__chev { width: 12px; height: 12px; flex: none; opacity: .75; transition: transform .25s var(--ease); }
.langsel__btn[aria-expanded="true"] .langsel__chev { transform: rotate(180deg); }

.langsel__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  min-width: 184px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 54px -22px rgba(0, 15, 39, .5);
  animation: langselIn .18s var(--ease);
}
@keyframes langselIn { from { opacity: 0; transform: translateY(-6px); } }
.langsel__menu li { margin: 0; }
.langsel__menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  text-align: left;
  color: var(--ink);
  transition: background .15s var(--ease);
}
.langsel__menu button:hover,
.langsel__menu button:focus-visible { background: var(--mist); outline: none; }
.langsel__code {
  flex: none;
  width: 22px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
}
.langsel__name { flex: 1; font-size: .95rem; font-weight: 500; }
.langsel__check { width: 15px; height: 15px; flex: none; color: var(--accent); opacity: 0; transition: opacity .15s var(--ease); }
.langsel__menu [aria-selected="true"] .langsel__code { color: var(--ink); }
.langsel__menu [aria-selected="true"] .langsel__name { font-weight: 600; }
.langsel__menu [aria-selected="true"] .langsel__check { opacity: 1; }

/* Variante do menu mobile: controlo segmentado sempre visível */
.langsel--mobile { align-self: stretch; margin-top: 20px; }
.langsel--mobile .langsel__label {
  display: block;
  margin-bottom: 8px;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(251, 246, 233, .5);
}
.langsel--mobile .langsel__btn { display: none; }
.langsel--mobile .langsel__menu {
  position: static;
  display: flex;
  gap: 8px;
  min-width: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  animation: none;
}
.langsel--mobile .langsel__menu li { flex: 1; }
.langsel--mobile .langsel__menu button {
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  padding: 12px 6px;
  border: 1px solid rgba(251, 246, 233, .24);
  border-radius: 10px;
  color: var(--cream);
}
.langsel--mobile .langsel__menu button:hover,
.langsel--mobile .langsel__menu button:focus-visible { background: rgba(251, 246, 233, .08); }
.langsel--mobile .langsel__code { width: auto; color: rgba(251, 246, 233, .55); }
.langsel--mobile .langsel__name { flex: none; font-size: .82rem; color: var(--cream); }
.langsel--mobile .langsel__check { display: none; }
.langsel--mobile .langsel__menu [aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); }
.langsel--mobile .langsel__menu [aria-selected="true"] .langsel__code,
.langsel--mobile .langsel__menu [aria-selected="true"] .langsel__name { color: var(--navy); }
.link-plain { font-size: 1rem; font-weight: 500; color: var(--ink); transition: opacity .2s var(--ease); }
.link-plain:hover { opacity: .55; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.btn--solid { background: var(--yellow); color: var(--navy); }
.btn--solid:hover { filter: brightness(1.06); }
.btn--ghost { border: 1px solid rgba(251, 246, 233, .4); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--navy); }

.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(251, 246, 233, .3);
  border-radius: var(--radius);
  position: relative;
}
.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--cream);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { bottom: 15px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: calc(var(--marquee-h) + var(--header-h)) 0 0;
  background: var(--navy);
  color: var(--cream);
  padding: 32px var(--pad) 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 55;
  overflow-y: auto;
}
body.nav-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a:not(.btn) {
  font-size: 1.6rem;
  font-weight: 500;
  padding: 12px 0;
  color: var(--cream);
  border-bottom: 1px solid rgba(251, 246, 233, .14);
  transition: color .2s var(--ease);
}
.mobile-nav a:not(.btn):hover { color: var(--yellow); }
.mobile-nav__row { display: flex; gap: 20px; padding: 18px 0 6px; }
.mobile-nav .btn { margin-top: 10px; }

/* -------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------- */
.hero { padding-top: 56px; }

.hero__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 44px;
}

.box-score {
  width: 64px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  line-height: 1;
  font-weight: 600;
}
.box-score__top {
  border-bottom: 1px solid var(--ink);
  padding: 6px 0;
  font-size: .78rem;
  letter-spacing: .03em;
}
.box-score__bottom { padding: 9px 0 8px; }
.box-score__bottom strong { font-size: 1.3rem; letter-spacing: -.02em; }
.box-score sub { font-size: .72rem; color: var(--muted); }

.hero__actions { display: flex; align-items: center; gap: 8px; padding-top: 4px; }
.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius);
  color: var(--ink);
  transition: background .2s var(--ease);
}
.iconbtn:hover { background: var(--mist); }
.iconbtn svg { width: 18px; height: 18px; }

.c-heading { text-align: center; margin: 20px 0 64px; }
.eyebrow { font-size: 1rem; color: var(--sub); margin-bottom: 22px; }
.heading-1 {
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  font-size: clamp(2.5rem, 9vw, 8rem);
}

.heading-1 a { display: block; }

/* ---------- Hero: palavra NEXA animada ---------- */
.hero-logo {
  display: inline-block;
  text-transform: uppercase;
}
.hero-logo__word {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(3.6rem, 18vw, 13rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
  animation: heroWordFloat 7s ease-in-out 1.8s infinite;
}
/* camada 1 — letras entram em stagger */
.hero-logo__letters span {
  display: inline-block;
  opacity: 0;
  transform: translateY(.5em) rotate(4deg);
  animation: heroLetterIn .66s cubic-bezier(.18, 1, .25, 1) both;
}
.hero-logo__letters span:nth-child(1) { animation-delay: .12s; }
.hero-logo__letters span:nth-child(2) { animation-delay: .24s; }
.hero-logo__letters span:nth-child(3) { animation-delay: .36s; }
.hero-logo__letters span:nth-child(4) { animation-delay: .48s; }
/* camada 2 — brilho que percorre as letras */
.hero-logo__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(105deg, transparent 44%, rgba(255, 255, 255, .92) 50%, transparent 56%);
  background-size: 260% 100%;
  background-position: 130% 0;
  -webkit-background-clip: text;
          background-clip: text;
  animation: heroSheen 6s ease-in-out 2s infinite;
}

@keyframes heroLetterIn {
  to { opacity: 1; transform: none; }
}
@keyframes heroSheen {
  0%, 18%   { background-position: 130% 0; }
  58%, 100% { background-position: -30% 0; }
}
@keyframes heroWordFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo__word { animation: none !important; }
  .hero-logo__letters span { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-logo__sheen { display: none; }
}
.hero-lead {
  margin: 30px auto 0;
  max-width: 30ch;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ink);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.hero-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.hero-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line);
  color: var(--sub);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.hero-social a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
}
.hero-social a svg { width: 19px; height: 19px; }
.hero .btn--ghost { border-color: var(--navy); color: var(--navy); }
.hero .btn--ghost:hover { background: var(--navy); color: var(--cream); }

/* -------------------------------------------------------------
   7. Box figure (preview) + menu flutuante
   ------------------------------------------------------------- */
.box-figure {
  position: relative;
  background: var(--ink);
  border-radius: 14px;
  padding: 51px;
  margin-top: 8px;
}
.box-figure__media { border-radius: 6px; overflow: hidden; }
.box-figure__tilt {
  transform-origin: 50% 100%;
  will-change: transform;
}

.shot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(158deg, #08315f 0%, #001739 55%, #000f27 100%);
  color: var(--cream);
}
.shot > span { position: absolute; }
.shot__logo { top: 24px; left: 28px; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.shot__nav { top: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 16px; font-size: 11px; opacity: .85; }
.shot__nav i { font-style: normal; }
.shot__h { top: 66px; left: 28px; font-weight: 600; font-size: clamp(13px, 2.3vw, 26px); line-height: 1.04; }
.shot__big {
  left: 20px; bottom: -9%;
  font-size: clamp(64px, 17vw, 210px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .7;
  color: var(--yellow);
  opacity: .96;
}

.menu-float {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  z-index: 4;
}
.menu-float__content {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: rgba(0, 15, 39, .66);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.menu-float__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 32px;
}
.menu-float__brand img { width: 22px; height: 22px; border-radius: 5px; display: block; }
.menu-float__content button,
.menu-float__content .visit {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: .93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
  transition: background .22s var(--ease), color .22s var(--ease);
}
.menu-float__content button:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.menu-float__content .visit {
  background: var(--butter);
  color: var(--ink);
  font-weight: 600;
}
.menu-float__content .visit:hover { filter: brightness(1.04); }

/* -------------------------------------------------------------
   8. Grade de cards (Elements / Inside look / Collections)
   ------------------------------------------------------------- */
.grid-cards { display: grid; gap: 20px; }
.grid-cards--4 { grid-template-columns: repeat(4, 1fr); }
.grid-cards--3 { grid-template-columns: repeat(3, 1fr); }
.grid-cards--2 { grid-template-columns: repeat(2, 1fr); }

.card { display: flex; flex-direction: column; gap: 14px; }
.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--line-soft);
}
.card__media .ph {
  position: absolute;
  inset: 0;
  transition: transform .6s var(--ease);
}
.card:hover .card__media .ph { transform: scale(1.05); }
.card__play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: .8rem;
  transition: transform .3s var(--ease);
}
.card:hover .card__play { transform: translate(-50%, -50%) scale(1.08); }
.card__badge {
  position: absolute;
  right: 10px; bottom: 10px;
  font-size: .72rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  backdrop-filter: blur(4px);
}
.card__tag {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__title { font-size: 1rem; font-weight: 500; }
.card__title a { transition: opacity .2s var(--ease); }
.card__title a:hover { opacity: .55; }
.card__from { font-size: .9rem; color: var(--sub); }
.card__from a { border-bottom: 1px solid var(--line); }
.card__desc { font-size: .92rem; line-height: 1.45; color: var(--sub); }

/* Ilustrações dos serviços */
#servicos .card__media { background: linear-gradient(155deg, #0a3260, #001229); }

/* Miniatura de site (Trabalhos) */
#trabalhos .card__media { background: linear-gradient(155deg, #0a3260, #001229); }
.card__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s var(--ease);
}
.card:hover .card__shot { transform: scale(1.04); }
.card__art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.card__art svg {
  width: 44%;
  max-width: 96px;
  height: auto;
  color: var(--cream);
  transition: transform .5s var(--ease);
}
.card:hover .card__art svg { transform: scale(1.07); }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.card:hover .card__link { gap: 10px; color: var(--accent); }
.card__num {
  position: absolute;
  left: 14px; top: 12px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(251, 246, 233, .92);
}

/* placeholders visuais (paleta nexa: marinho / amarelo / creme) */
.ph { background: var(--line); }
.ph--v1 { background: linear-gradient(135deg, #073061, #00112a); }
.ph--v2 { background: linear-gradient(135deg, #001739, #1d3a63); }
.ph--v3 { background: linear-gradient(135deg, #f9b924, #b97e12); }
.ph--v4 { background: linear-gradient(135deg, #0a3560, #f9b924); }
.ph--c1 { background: linear-gradient(135deg, #fbf6e9, #f9b924); }
.ph--c2 { background: linear-gradient(135deg, #cfd8e4, #7c93b0); }
.ph--c3 { background: linear-gradient(135deg, #00112a, #1d3a63); }
.ph--c4 { background: linear-gradient(135deg, #f1efe6, #ccd1d9); }
.ph--d1 { background: linear-gradient(135deg, #f9b924, #001739); }
.ph--m1 { background: linear-gradient(135deg, #001739, #f9b924); }

.ava-stack { display: inline-flex; vertical-align: middle; margin: 0 4px; }
.ava-stack i {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -6px;
  background: linear-gradient(135deg, var(--accent), var(--ink));
}
.ava-stack i:first-child { margin-left: 0; }

/* -------------------------------------------------------------
   9. Color palette
   ------------------------------------------------------------- */
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.swatch {
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 10px;
  border: 1px solid rgba(0, 23, 57, .08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--cream);
  transition: transform .3s var(--ease);
}
.swatch--ink { color: var(--ink); border-color: rgba(0, 23, 57, .16); }
.swatch:hover { transform: translateY(-3px); }
.swatch strong { font-size: 1.15rem; font-weight: 600; }
.swatch small { font-size: .68rem; letter-spacing: .18em; opacity: .6; }

/* -------------------------------------------------------------
   10. Tags de tecnologia
   ------------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .92rem;
  color: var(--sub);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tag:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* -------------------------------------------------------------
   11. Description
   ------------------------------------------------------------- */
.prose {
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
  max-width: 62ch;
}
.prose--dim { color: var(--muted); }

/* -------------------------------------------------------------
   12. Score / Dev Award
   ------------------------------------------------------------- */
.score-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
.score-head__title {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -.01em;
}
.score-head__val {
  background: var(--accent);
  color: var(--ink);
  padding: 0 .18em;
  border-radius: .12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.score-head__max { color: var(--muted); font-weight: 500; }
.link-underline { font-size: .95rem; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.crit-list { margin-top: 24px; }
.crit {
  display: grid;
  grid-template-columns: 170px 56px 1fr 66px 44px;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.crit--nw { grid-template-columns: 200px 1fr 66px 44px; }
.crit__name { font-weight: 500; }
.crit__weight { color: var(--muted); font-size: .9rem; }
.crit__bar { position: relative; height: 2px; background: var(--line); overflow: hidden; }
.crit__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 0);
  background: var(--ink);
  transition: width 1.1s var(--ease);
}
.crit__val { text-align: right; font-weight: 600; }
.crit__slash { color: var(--muted); font-size: .82rem; }

.votes { margin-top: 56px; }
.votes__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.votes__head h3 { font-size: 1.15rem; font-weight: 600; }

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.tabs button {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .9rem;
  color: var(--sub);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tabs button.is-active { background: var(--ink); color: #fff; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vtable {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: .92rem;
}
.vtable--dev { min-width: 780px; }
.vtable th {
  font-weight: 500;
  color: var(--sub);
  text-align: right;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.vtable th:first-child { text-align: left; }
.vtable td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line-soft);
  text-align: right;
  color: var(--sub);
  white-space: nowrap;
}
.vtable td:first-child { text-align: left; }
.vtable td.strong { font-weight: 600; color: var(--ink); }
.vtable tbody tr { transition: background .2s var(--ease); }
.vtable tbody tr:hover { background: rgba(0, 23, 57, .045); }

.voter { display: flex; align-items: center; gap: 12px; }
.voter__av {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
}
.voter__meta a { color: var(--ink); font-weight: 500; }
.voter__meta small { display: block; color: var(--muted); font-size: .8rem; }

/* -------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 48px;
}
.site-footer__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-cta__k { font-size: .95rem; color: var(--muted); margin-bottom: 8px; }
.footer-cta__link {
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -.02em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-cta__link:hover { color: var(--yellow); border-bottom-color: var(--yellow); }

.newsletter label { display: block; font-size: .9rem; color: var(--sub); margin-bottom: 12px; }
.newsletter__field {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
  min-width: 260px;
}
.newsletter__field input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  padding: 8px 0;
  color: var(--ink);
}
.newsletter__field button { font-size: 1.1rem; padding: 4px; }

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 44px 80px;
  padding: 56px 0;
}
.footer-cols > div { min-width: 130px; }
.footer-cols h4 {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-cols li { margin-bottom: 10px; }
.footer-cols a { font-size: .95rem; color: var(--sub); transition: color .2s var(--ease); }
.footer-cols a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.socials { display: flex; flex-wrap: wrap; gap: 18px; }
.socials a { font-size: .9rem; color: var(--sub); transition: color .2s var(--ease); }
.socials a:hover { color: var(--yellow); }
.footer-bottom__meta { display: flex; gap: 18px; font-size: .9rem; color: var(--muted); }
.lang { border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }

.footer-word {
  font-size: clamp(3rem, 19vw, 17rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .8;
  letter-spacing: -.03em;
  color: var(--ink);
  opacity: .07;
  margin-top: 48px;
  user-select: none;
}

/* -------------------------------------------------------------
   14. Modal "Falar connosco" + Toast + cookie
   ------------------------------------------------------------- */
.cmodal {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: grid;
  place-items: center;
  padding: 24px;
}
.cmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 15, 39, .72);
  animation: cmodalFade .2s var(--ease);
}
.cmodal__box {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 30px 70px -20px rgba(0, 15, 39, .4);
  animation: cmodalPop .28s var(--ease);
}
.cmodal__x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--sub);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cmodal__x:hover { background: var(--mist); color: var(--ink); }
.cmodal__x svg { width: 18px; height: 18px; }
.cmodal__title { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.cmodal__sub { margin-top: 4px; font-size: .95rem; color: var(--sub); }
.cmodal__options { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.cmodal__social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--sub);
}
.cmodal__social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.cmodal__social a:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.cmodal__social a svg { width: 17px; height: 17px; }
.cmodal__opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.cmodal__opt:hover {
  border-color: var(--ink);
  background: #fff;
  transform: translateY(-1px);
}
.cmodal__icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--cream);
}
.cmodal__icon svg { width: 20px; height: 20px; }
.cmodal__txt { display: flex; flex-direction: column; min-width: 0; }
.cmodal__txt strong { font-size: 1rem; font-weight: 600; }
.cmodal__txt small { font-size: .82rem; color: var(--sub); overflow: hidden; text-overflow: ellipsis; }
body.cmodal-open { overflow: hidden; }
/* pausa animações de fundo enquanto o modal está aberto */
body.cmodal-open .marquee-top__track,
body.cmodal-open .hero-logo__word,
body.cmodal-open .hero-logo__sheen { animation-play-state: paused; }
@keyframes cmodalFade { from { opacity: 0; } }
@keyframes cmodalPop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@media (prefers-reduced-motion: reduce) {
  .cmodal__backdrop, .cmodal__box { animation: none; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 9998;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.cookie {
  position: fixed;
  left: 16px; right: 16px;
  bottom: 16px;
  max-width: 520px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, .3);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9997;
}
.cookie p { font-size: .92rem; color: var(--sub); }
.cookie a { text-decoration: underline; color: var(--ink); }
.cookie__actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie__actions button {
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: .9rem;
}
.cookie__actions .is-primary { background: var(--ink); color: #fff; }

/* -------------------------------------------------------------
   15. Responsivo
   ------------------------------------------------------------- */

/* Barra de pesquisa dentro do menu mobile */
.search--mobile {
  flex: none;
  width: 100%;
  max-width: none;
  height: 46px;
  margin-bottom: 4px;
}
.mobile-nav .search-results { max-height: 320px; }

/* Aperta o cabeçalho antes de colapsar */
@media (max-width: 1200px) {
  .site-header__inner { gap: 16px; }
  .site-header__inner > .search { max-width: 240px; }
  .header-actions { gap: 10px; }
  .header-actions .btn { padding: 0 15px; }
}

/* Cabeçalho colapsa para menu de hambúrguer */
@media (max-width: 1120px) {
  .nav,
  .site-header__inner > .search,
  .header-actions { display: none; }
  .burger { display: block; margin-left: auto; }
}

/* Tablets */
@media (max-width: 1024px) {
  :root { --pad: 24px; }
  .grid-cards--4,
  .grid-cards--3 { grid-template-columns: repeat(2, 1fr); }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about__photo { max-width: 300px; width: 100%; justify-self: center; }
  .footer-cols { gap: 40px 56px; }
}

/* Telemóveis grandes */
@media (max-width: 760px) {
  :root { --pad: 18px; }
  .block { padding: 48px var(--pad); }
  .block--last { padding-bottom: 110px; }
  .block__head { margin-bottom: 32px; }
  .about { gap: 24px; }
  .about__photo { max-width: 260px; }
  .hero { padding-top: 40px; }
  .hero-lead { max-width: 26ch; }
  .box-figure { padding: 16px; }
  .menu-float { top: auto; bottom: 14px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 20px); }
  .menu-float__content { flex-wrap: wrap; justify-content: center; }
  .grid-cards--2,
  .grid-cards--3,
  .grid-cards--4 { grid-template-columns: 1fr; }
  .footer-cols { gap: 28px 40px; }
  .footer-top { padding-bottom: 40px; }
}

/* Telemóveis pequenos */
@media (max-width: 560px) {
  .swatches { grid-template-columns: 1fr; }
  .c-heading { margin-bottom: 40px; }
  .mobile-nav { padding: 24px var(--pad) 40px; }
  .mobile-nav a:not(.btn) { font-size: 1.3rem; padding: 11px 0; }
  .footer-cols { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cookie { padding: 16px; gap: 12px; }
  .cookie__actions { flex-direction: column-reverse; }
  .cookie__actions button { width: 100%; height: 42px; }
  .menu-float__content button,
  .menu-float__content .visit { height: 30px; padding: 0 11px; font-size: .85rem; }
}

/* Ecrãs muito pequenos */
@media (max-width: 380px) {
  .cmodal { padding: 14px; }
  .cmodal__box { padding: 22px; }
  .cmodal__opt { padding: 11px 12px; gap: 12px; }
  .cmodal__icon { width: 36px; height: 36px; }
  .hero-logo__word { font-size: 20vw; }
}

/* -------------------------------------------------------------
   16. Reduced motion
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-top__track { animation: none; }
}
