/* =====================================================================
   FERNANDO IMAGENS — estilos
   Para mudar as cores do site, altere as variáveis logo abaixo.
   ===================================================================== */
:root {
  /* cores tiradas do logo Fernando Imagens */
  --bg: #1a2620;          /* verde escuro — fundo principal */
  --bg-deep: #111a16;     /* verde quase preto (rodapé, sombras) */
  --surface: #15201b;     /* fundo das seções alternadas */
  --card: #24352d;        /* fundo dos cartões */
  --line: #2f443a;        /* linhas e bordas */
  --text: #ffffff;        /* texto principal (branco do logo) */
  --muted: #a5b5ac;       /* texto secundário */
  --accent: #cfe3d6;      /* destaque: verde claro */
  --ink: #313332;         /* grafite do círculo do logo */

  --font-display: "Montserrat", "Arial", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(2.2rem, 6.2vw, 5rem);
  --fs-h2: clamp(2.2rem, 6vw, 4.25rem);
  --fs-body: clamp(1rem, 1.05vw, 1.0625rem);

  --container: 1320px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1; margin: 0; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--bg); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.6rem;
  font-family: var(--font-display); font-weight: 800; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn svg.fill { fill: currentColor; stroke: none; }
.btn--primary { background: #fff; color: var(--bg); }
.btn--primary:hover { background: var(--accent); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--lg { min-height: 56px; padding-inline: 2rem; }
.btn:active { transform: scale(.98); }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(26,38,32,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: .7rem; z-index: 2; }
/* hélice e nome com a mesma altura: as duas linhas do nome (2 × fonte × 1.05) = altura da hélice */
.logo { gap: .85rem; --logo-h: 42px; }
.logo__img { width: var(--logo-h); height: var(--logo-h); animation: girar 8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.logo__sep { width: 1px; height: var(--logo-h); background: rgba(255,255,255,.85); }
.logo__text { display: grid; font-family: var(--font-display); font-weight: 400; font-size: calc(var(--logo-h) / 2.1); line-height: 1.05; letter-spacing: .08em; text-transform: uppercase; }
.logo__text i { font-weight: 300; letter-spacing: .16em; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  position: relative; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.8); transition: color .3s;
}
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { padding: .6rem 1.1rem; border: 1px solid #fff; color: #fff !important; border-radius: var(--radius); transition: background .3s, color .3s !important; }
.nav__cta:hover { background: #fff; color: var(--bg) !important; }

.menu-btn { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.8rem;
    background: rgba(26,38,32,.98);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: .06em; }
  .nav__cta { font-size: 1rem !important; padding: .9rem 1.6rem; }
  body.menu-aberto { overflow: hidden; }
  .logo { --logo-h: 36px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__img { animation: kenburns 22s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,22,18,.6) 0%, rgba(14,22,18,.2) 35%, rgba(14,22,18,.4) 70%, var(--bg) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.45) 100%);
}
.hero__content { text-align: center; padding-top: var(--header-h); display: flex; flex-direction: column; align-items: center; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 1.4rem; }
.hero__title {
  font-size: var(--fs-hero); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.05;
  /* só o contorno; ao passar o mouse a letra enche */
  color: transparent; -webkit-text-stroke: clamp(.6px, .06vw + .4px, 1.1px) #fff;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,.35));
  cursor: default;
}
.hero__title i { font-weight: 800; }
.hero__title .split-char { transition: color .45s var(--ease), opacity .25s; }
.hero__title .split-char:hover { color: #fff; }
.hero__line { display: block; width: 90px; height: 3px; background: var(--accent); margin: 1.8rem auto 1.4rem; }
.hero__sub { font-family: var(--font-display); font-size: clamp(1rem, 2.2vw, 1.5rem); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hero__sub em { font-style: normal; color: var(--accent); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
}
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Blocos de entrada ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 4.2; overflow: hidden; isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: brightness(.65); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent 60%); }
.tile__body { position: absolute; z-index: 1; left: clamp(1.2rem, 4vw, 3rem); bottom: clamp(1.2rem, 4vw, 3rem); display: grid; gap: .3rem; }
.tile__kicker { font-size: .75rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.tile__title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 4rem); font-weight: 900; text-transform: uppercase; line-height: .95; }
.tile__arrow { font-size: 1.6rem; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.06); filter: brightness(.8); }
.tile:hover .tile__arrow { transform: translateX(10px); }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3.4; } }

/* ---------- Faixa de impacto ---------- */
.band { position: relative; min-height: clamp(340px, 60vh, 560px); display: grid; align-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.band__bg { position: absolute; inset: -15% 0; z-index: -1; background-size: cover; background-position: center; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.5); }
.band__title { font-family: var(--font-display); font-size: clamp(2rem, 6.5vw, 5rem); font-weight: 900; text-transform: uppercase; line-height: .98; margin: 0; }
.band__title span { color: var(--accent); }

/* ---------- Seções ---------- */
.section { padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.section--alt { background: var(--surface); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.section__head--left { text-align: left; margin-inline: 0; }
.section__num { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .3em; color: var(--accent); margin-bottom: 1rem; }
.section__num::before { content: "— "; }
.section__head h2, .contact h2 { font-size: var(--fs-h2); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.section__head p { color: var(--muted); margin-top: 1.2rem; }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--bg); padding: clamp(1.8rem, 3vw, 2.6rem); transition: background .4s var(--ease); }
.service:hover { background: var(--card); }
.service svg { width: 38px; height: 38px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.4rem; transition: transform .5s var(--ease); }
.service:hover svg { transform: translateY(-4px); }
.service h3 { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .8rem; line-height: 1.15; }
.service p { color: var(--muted); margin: 0; font-size: .95rem; }
.services__extra { text-align: center; color: var(--muted); margin: 2.2rem 0 0; }
.services__extra strong { color: var(--text); font-weight: 600; }

/* ---------- Clientes ---------- */
.clients { padding-block: clamp(2.5rem, 6vw, 4rem); border-block: 1px solid var(--line); }
.clients__label { text-align: center; font-size: .75rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.clients__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2.8rem; }
.clients__list li { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2vw, 1.35rem); text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.6); transition: color .3s; white-space: nowrap; }
.clients__list li:hover { color: var(--text); }

/* ---------- Filtros ---------- */
.filters {
  display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.4rem;
}
.filters button {
  min-height: 44px; padding: .55rem 1.2rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  transition: all .3s var(--ease); white-space: nowrap;
}
.filters button:hover { color: var(--text); border-color: #555; }
.filters button[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--bg); }
.filters button small { opacity: .6; margin-left: .35em; font-size: .9em; }
@media (max-width: 640px) {
  /* no celular os filtros viram uma faixa que desliza para o lado */
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
}

/* ---------- Galeria ---------- */
/* Cartões em pé (9:16) ocupam 1 coluna; deitados (16:9) ocupam 2 colunas com a mesma altura */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.5rem, 1vw, .9rem); grid-auto-flow: dense; }
.card {
  position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: var(--card); border-radius: var(--radius); cursor: pointer;
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.card.is-in { opacity: 1; transform: none; }
.card--horizontal { grid-column: span 2; aspect-ratio: 9 / 8; }
.card--destaque:not(.card--horizontal) { grid-column: span 2; grid-row: span 2; }
.card__media, .card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media img, .card__media video { transition: transform 1s var(--ease), filter .5s; }
.card__media::before { /* brilho de carregamento */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.05) 50%, transparent 70%) var(--card);
  background-size: 200% 100%; animation: shimmer 1.6s infinite linear;
}
.card.is-loaded .card__media::before { display: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.1) 45%, transparent 70%); transition: opacity .5s; }
.card__info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(.9rem, 2vw, 1.4rem); }
.card__cat { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }
.card__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, 1.4vw, 1.2rem); text-transform: uppercase; line-height: 1.1; }
.card--destaque .card__title { font-size: clamp(1.3rem, 2.4vw, 2rem); }
.card__play {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(26,38,32,.45); border: 1.5px solid rgba(255,255,255,.75); backdrop-filter: blur(6px);
  transition: transform .5s var(--ease), background .4s, border-color .4s;
}
.card__play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.card__badge { position: absolute; z-index: 1; top: .8rem; right: .8rem; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.card:hover .card__media img, .card:hover .card__media video { transform: scale(1.06); }
.card:hover .card__play { transform: scale(1.12); background: #fff; border-color: #fff; }
.card:hover .card__play svg { fill: var(--bg); }
.gallery__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 3rem 0; }
.gallery__assinatura { text-align: center; margin: 3.2rem 0 0; }
.gallery__ig { text-align: center; margin: 3.4rem 0 0; }
.gallery__ig .contact__ig { margin-top: 0; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .card__play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .card__play svg { width: 18px; height: 18px; }
  .card__title { font-size: .9rem; }
  .card__info { padding: .7rem; }
}

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__photo { margin: 0; position: relative; aspect-ratio: 4 / 5; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.about__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--accent); border-radius: var(--radius); z-index: -1; }
.about__text p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 2.4rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.stats dt { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1; color: var(--text); }
.stats dd { margin: .5rem 0 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { aspect-ratio: 4 / 3; margin-right: 18px; }
}

/* ---------- Contato ---------- */
.contact { position: relative; padding-block: clamp(5rem, 13vw, 10rem); text-align: center; overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: -15% 0; z-index: -1; width: 100%; height: 130%; object-fit: cover; background-size: cover; background-position: center; will-change: transform; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(26,38,32,.72) 30%, rgba(26,38,32,.78) 70%, var(--bg-deep) 100%); }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact h2 span { color: var(--accent); }
.contact p { color: #e3ebe6; margin: 1.4rem 0 2.2rem; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.btn__email { text-transform: none; letter-spacing: .02em; font-family: var(--font-body); font-weight: 600; }
.contact__ig { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2rem; color: var(--muted); font-weight: 600; transition: color .3s; min-height: 44px; }
.contact__ig svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.contact__ig:hover { color: var(--text); }
@media (max-width: 560px) {
  .contact__actions { width: 100%; flex-direction: column; }
  .contact__actions .btn { width: 100%; }
  .btn__email { font-size: .8rem; overflow-wrap: anywhere; }
}

/* ---------- Rodapé ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-block: 1.8rem; font-size: .85rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer a:hover { color: var(--text); }
@media (max-width: 560px) { .footer { padding-bottom: 6rem; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px;
  display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transform: scale(0); transition: transform .5s var(--ease);
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(26,38,33,.97);
  display: grid; grid-template-rows: 1fr auto; place-items: center;
  padding: clamp(3.5rem, 6vw, 5rem) clamp(.5rem, 6vw, 6rem) 1rem;
  opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb__stage { width: 100%; height: 100%; display: grid; place-items: center; min-height: 0; }
.lb__stage > * { max-width: 100%; max-height: 100%; border-radius: var(--radius); background: #000; animation: lbIn .45s var(--ease); }
.lb__stage img { object-fit: contain; width: auto; height: auto; max-height: calc(100svh - 9rem); }
.lb__stage .lb__frame { width: min(100%, calc((100svh - 9rem) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; }
.lb__stage .lb__frame--vertical { width: auto; height: calc(100svh - 9rem); aspect-ratio: 9 / 16; }
.lb__stage video { max-height: calc(100svh - 9rem); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb__caption { width: 100%; max-width: 1100px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; }
.lb__title { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.lb__desc { display: block; color: var(--muted); font-size: .9rem; }
.lb__count { color: var(--muted); font-size: .85rem; letter-spacing: .1em; white-space: nowrap; }
.lb__close, .lb__nav { position: absolute; display: grid; place-items: center; color: #fff; transition: color .3s, background .3s; }
.lb__close { top: 12px; right: 12px; width: 48px; height: 48px; font-size: 1.4rem; border-radius: 50%; }
.lb__nav { top: 50%; translate: 0 -50%; width: 56px; height: 56px; font-size: 2.6rem; line-height: 1; border-radius: 50%; }
.lb__prev { left: 10px; } .lb__next { right: 10px; }
.lb__close:hover, .lb__nav:hover { color: var(--accent); background: rgba(255,255,255,.06); }
.lb__aviso { max-width: 460px; text-align: center; padding: 2rem; background: var(--surface) !important; color: var(--muted); }
@media (max-width: 640px) { .lb__nav { top: auto; bottom: 8px; translate: none; width: 48px; height: 48px; } .lb__caption { padding-inline: 3.5rem; text-align: center; flex-direction: column; gap: .2rem; } }
body.lb-aberto { overflow: hidden; }

/* ---------- Animação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Letras que entram uma a uma ([data-split]) ---------- */
.split-word { display: inline-block; white-space: nowrap; }
.split-char {
  display: inline-block; opacity: 0;
  transform: translateY(.55em) rotate(6deg); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease);
  transition-delay: calc(var(--i) * 32ms);
}
.is-split.is-in .split-char { opacity: 1; transform: none; filter: none; }
/* leve "onda" ao passar o mouse nas letras dos títulos */
.is-split.is-in .split-char:hover { transform: translateY(-.08em); transition-delay: 0s; transition-duration: .3s; }

/* ---------- Fotos sempre em movimento lento (efeito Ken Burns) ---------- */
@keyframes respirar { from { scale: 1; translate: 0 0; } to { scale: 1.1; translate: -2% -1.5%; } }
@keyframes respirar2 { from { scale: 1.08; translate: 1.5% 0; } to { scale: 1; translate: -1% 1%; } }
.band__bg, .contact__bg { animation: respirar2 22s ease-in-out infinite alternate; }
.card.is-in .card__media img { animation: respirar 14s ease-in-out infinite alternate; animation-delay: calc(var(--ordem, 0) * -1.7s); }


/* ---------- Faixa de clientes deslizando ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .clients__list { flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 0; animation: deslizar 38s linear infinite; }
.marquee .clients__list li { padding-inline: clamp(1.2rem, 3vw, 2.4rem); position: relative; }
.marquee .clients__list li::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--line); }
.marquee:hover .clients__list { animation-play-state: paused; }
@keyframes deslizar { to { transform: translateX(-50%); } }

/* ---------- Formulário de contato ---------- */
[hidden] { display: none !important; }
.form {
  width: 100%; max-width: 720px; display: grid; gap: 1.2rem; text-align: left;
  padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  background: rgba(17,26,22,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .45rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: .45rem; }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; min-height: 50px; padding: .75rem 1rem; font: inherit; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 6px;
  transition: border-color .3s, background .3s;
}
.field textarea {
  width: 100%; min-height: 120px; padding: .75rem 1rem; font: inherit; color: #fff; resize: vertical;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 6px;
  transition: border-color .3s, background .3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.38); }
.field input:focus, .field textarea:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.1); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); font-size: .85rem; color: #dfe8e3; transition: all .3s var(--ease);
}
.chip:hover span { border-color: rgba(255,255,255,.6); }
.chip input:checked + span { background: #fff; border-color: #fff; color: var(--bg); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.chip:first-child span::after { content: "principal"; margin-left: .5rem; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.field--outro { margin-top: .9rem; animation: lbIn .4s var(--ease); }
.form__erro { margin: 0; color: #ffb4a8; font-size: .9rem; }
.form__enviar { width: 100%; }
.form.is-enviado .form__enviar { background: var(--accent); }
.contact__email { margin-top: 1.4rem; color: var(--muted); font-size: .9rem; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.contact__email:hover { color: #fff; border-color: #fff; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } .chip span { font-size: .8rem; } }

/* ---------- Abertura com a logo animada ---------- */
/* o vídeo tem fundo preto: "screen" faz o preto sumir e sobrar só a logo branca sobre o verde */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: radial-gradient(ellipse at center, var(--bg) 0%, var(--bg-deep) 75%);
  transition: opacity .9s var(--ease), visibility .9s;
}
.intro.is-done { opacity: 0; visibility: hidden; }
.intro__video { width: min(78vw, 620px); height: auto; mix-blend-mode: screen; background: #000; }
.intro__pular {
  position: absolute; bottom: 28px; left: 50%; translate: -50% 0;
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  padding: .6rem 1rem; min-height: 44px; transition: color .3s;
}
.intro__pular:hover { color: #fff; }
body.intro-ativa { overflow: hidden; }

.footer__logo { display: flex; justify-content: center; padding-block: 1rem .4rem; }
.footer__video { width: min(70vw, 340px); height: auto; mix-blend-mode: screen; background: #000; opacity: .9; }

/* ---------- Detalhes ---------- */
.hero__line { transform-origin: center; animation: linha 1.4s 1s var(--ease) both; }
@keyframes linha { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.service svg { transition: transform .6s var(--ease); }
.service:hover svg { transform: translateY(-4px) rotate(-6deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .card, .split-char { opacity: 1; transform: none; filter: none; }
}

/* ---------- Nome do topo em contorno ---------- */
/* fonte estática (a variável do Google mostra linhas internas quando só tem contorno) */
@font-face { font-family: "Montserrat Contorno"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-Bold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat Contorno"; font-weight: 800; font-style: italic; font-display: swap; src: url("../fonts/Montserrat-ExtraBoldItalic.woff2") format("woff2"); }
.hero__title { font-family: "Montserrat Contorno", var(--font-display); }

/* ---------- Nome do topo: letras piscando em ordem aleatória (random seed) ---------- */
/* o JS acende e apaga cada letra algumas vezes, sem trocar as letras */
.hero__title[data-embaralhar] .split-char { transform: none; filter: none; opacity: 0; transition: color .45s var(--ease); transition-delay: 0s; }
.hero__title[data-embaralhar] .split-char.on { opacity: 1; }

/* ---------- Blocos de entrada: capas alternando e deslizando ---------- */
.tile__slides { position: absolute; inset: 0; z-index: -1; }
.tile .tile__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s ease, filter .6s; filter: brightness(.65); scale: 1.14;
}
.tile .tile__slide.on { opacity: 1; }
.tile .tile__slide.move { animation: irDireita 3.2s linear forwards; }
.tile:nth-child(2) .tile__slide.move { animation-name: irEsquerda; }
@keyframes irDireita { from { translate: -5% 0; } to { translate: 5% 0; } }
@keyframes irEsquerda { from { translate: 5% 0; } to { translate: -5% 0; } }
.tile:hover .tile__slide { filter: brightness(.8); }

/* ---------- Hélice lateral que gira com a rolagem ---------- */
.rolagem { display: none; }
@media (min-width: 1024px) and (hover: hover) {
  .rolagem {
    display: block; position: fixed; z-index: 40; right: 30px; top: 50%; translate: 0 -50%;
    height: 46vh; width: 34px; pointer-events: none; opacity: 0; transition: opacity .6s;
  }
  .rolagem.is-visivel { opacity: 1; }
  .rolagem__helice {
    position: absolute; left: 0; width: 34px; height: 34px;
    top: calc(var(--progresso, 0) * (100% - 34px));
    rotate: var(--giro, 0deg); filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title[data-embaralhar] .split-char { opacity: 1; }
}
