/* =================================================================
   itinose.com.br · estilos
   O site anda PARA O LADO: cada tela (.panel) ocupa a tela inteira.
   Cores e fontes ficam em :root.
   ================================================================= */

:root {
  /* Cores */
  --bg: #050507;
  --card: rgba(255, 255, 255, .04);
  --ink: #f4f4f6;
  --ink-2: #b4b6c0;
  --muted: #6b6e7a;
  --line: rgba(255, 255, 255, .12);
  --blue: #3b7bff;
  --blue-2: #8db4ff;

  /* Fontes */
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(20px, 6vw, 96px);
  --nav: 76px;
  --bar: 72px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  color-scheme: dark;
}

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

html, body { height: 100%; margin: 0; background: var(--bg); color: var(--ink); }
body {
  overflow: hidden;
  font: 400 16px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, p, figure, blockquote, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }
em { font-style: normal; color: var(--blue); }
[hidden] { display: none !important; }

/* ---------- Idiomas: mostra só o idioma escolhido ---------- */
html:not(.lang-en) [data-lang="en"],
html.lang-en [data-lang="pt"] { display: none !important; }

/* =================================================================
   MENU
   ================================================================= */
.nav {
  position: fixed; z-index: 30; top: 0; left: 0; right: 0;
  height: var(--nav);
  display: flex; align-items: center; gap: 36px;
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(5,5,7,.8), rgba(5,5,7,0));
}
.brand { margin-right: auto; display: flex; align-items: center; }
.brand__logo { height: 40px; width: auto; }
.brand__text { font-weight: 800; font-stretch: 125%; font-size: 16px; text-transform: uppercase; letter-spacing: .01em; }

.nav__links { display: flex; gap: 32px; }
.nav__links a {
  position: relative; padding: 6px 0;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__tools { display: flex; align-items: center; gap: 8px; }

.lang {
  height: 34px; padding: 0 10px;
  font: 600 12px/1 var(--f-sans); letter-spacing: .08em; color: var(--muted);
  background: rgba(5,5,7,.4); border: 1px solid var(--line); cursor: pointer;
}
.lang:hover { border-color: var(--blue); }
.lang__sep { padding: 0 5px; opacity: .5; }
html:not(.lang-en) .lang__pt, html.lang-en .lang__en { color: var(--ink); }

.burger { display: none; position: relative; width: 40px; height: 40px; padding: 0; background: none; border: 0; cursor: pointer; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: transform .25s, top .25s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.nav.is-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.nav.is-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }

/* =================================================================
   A FAIXA HORIZONTAL
   ================================================================= */
.track {
  position: fixed; inset: 0;
  display: flex;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.js .track { scrollbar-width: none; }
.js .track::-webkit-scrollbar { display: none; }

.panel {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 0 0 100vw; width: 100vw; height: 100%;
  display: flex; align-items: center;
  scroll-snap-align: start; scroll-snap-stop: always;
}

/* foto de fundo: anda um pouco mais devagar que a tela (efeito de profundidade) */
.panel__bg { position: absolute; inset: 0 -14%; z-index: -2; background: #0c0c14; }
.panel__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.55) contrast(1.08) brightness(.7);
  transform: translate3d(calc(var(--o, 0) * 12%), 0, 0);
  will-change: transform;
}
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to right, rgba(5,5,7,.92) 0%, rgba(5,5,7,.6) 45%, rgba(5,5,7,.25) 100%),
    linear-gradient(to top, rgba(5,5,7,.85) 0%, rgba(5,5,7,0) 40%),
    radial-gradient(ellipse at 70% 40%, rgba(40,32,160,.35), transparent 70%);
}
.panel--dark .panel__bg img { filter: grayscale(1) brightness(.35); }
.panel--light::after {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(5,5,7,.35), rgba(5,5,7,.88) 75%),
    radial-gradient(ellipse at 50% 30%, rgba(59,123,255,.25), transparent 65%);
}
.panel--plain { background: radial-gradient(ellipse at 80% 20%, rgba(59,123,255,.12), transparent 55%), var(--bg); }
.panel--plain::after { display: none; }

/* número gigante em contorno (anda mais rápido que a tela) */
.panel__num {
  position: absolute; z-index: -1; right: 4vw; bottom: calc(var(--bar) - 2vh);
  font-weight: 800; font-stretch: 125%; font-size: min(46vh, 34vw); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.14);
  transform: translate3d(calc(var(--o, 0) * -35%), 0, 0);
  pointer-events: none; user-select: none;
}

.panel__inner {
  width: 100%; max-width: 1320px; margin: 0 auto;
  max-height: 100%; overflow-y: auto; scrollbar-width: none;
  padding: calc(var(--nav) + 12px) var(--gutter) calc(var(--bar) + 16px);
}
.panel__inner::-webkit-scrollbar { display: none; }

/* texto entra deslizando quando a tela fica ativa */
.js .anim { opacity: 0; transform: translateX(60px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .panel.is-active .anim { opacity: 1; transform: none; }
.js .panel.is-active .anim:nth-child(2) { transition-delay: .08s; }
.js .panel.is-active .anim:nth-child(3) { transition-delay: .16s; }
.js .panel.is-active .anim:nth-child(4) { transition-delay: .24s; }
.js .panel.is-active .anim:nth-child(5) { transition-delay: .32s; }
.js .panel.is-active .anim:nth-child(6) { transition-delay: .4s; }

/* =================================================================
   PEÇAS COMUNS
   ================================================================= */
.buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.buttons--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--blue); border: 1px solid var(--blue);
  box-shadow: 0 12px 40px -12px rgba(59,123,255,.7);
  transition: transform .25s var(--ease), box-shadow .25s, background-color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(59,123,255,.9); }
.btn i { font-style: normal; transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--ghost { background: rgba(5,5,7,.45); border-color: rgba(255,255,255,.28); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }

.kicker, .chapter__tag {
  margin-bottom: 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-2);
}

/* =================================================================
   TELA 1 · CAPA
   ================================================================= */
.panel__bg--slides img { opacity: 0; }
.panel__bg--slides img:first-child { opacity: 1; }
@keyframes fade2 { 0% { opacity: 0; } 6% { opacity: 1; } 50% { opacity: 1; } 56% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .panel__bg--slides img { animation: fade2 14s linear infinite; }
  .panel__bg--slides img:nth-child(2) { animation-delay: 7s; }
}
.hero__title {
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(3rem, 10.5vw, 10rem); line-height: .9; letter-spacing: -.02em;
  text-transform: uppercase;
}
.hero__title em {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-2) 55%, #fff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { max-width: 30em; margin: 26px 0 34px; font-size: clamp(16px, 1.1vw + 9px, 21px); color: rgba(255,255,255,.8); }

.hint {
  position: absolute; right: var(--gutter); bottom: calc(var(--bar) + 18px);
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.hint i { position: relative; width: 56px; height: 1px; background: rgba(255,255,255,.3); overflow: hidden; }
.hint i::after { content: ""; position: absolute; inset: 0; background: var(--blue-2); transform: translateX(-100%); }
@keyframes run { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: no-preference) { .hint i::after { animation: run 1.8s cubic-bezier(.6,0,.3,1) infinite; } }

/* =================================================================
   CAPÍTULOS
   ================================================================= */
.chapter__title {
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(2.8rem, 8vw, 7.5rem); line-height: .92; letter-spacing: -.02em;
  text-transform: uppercase;
}
.chapter__title--md { font-size: clamp(2.2rem, 5vw, 4.6rem); }
.chapter__text { max-width: 26em; margin-top: 24px; font-size: clamp(17px, 1.3vw + 9px, 24px); line-height: 1.45; color: rgba(255,255,255,.85); }
.chapter--center { text-align: center; }
.chapter--center .chapter__text { margin-left: auto; margin-right: auto; }

.help { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 30px; font-size: 14px; color: var(--ink-2); }
.help a { padding: 7px 12px; border: 1px solid rgba(61,220,132,.4); color: var(--ink); transition: border-color .2s; }
.help a:hover { border-color: #3ddc84; }

.verse { max-width: 900px; margin: 36px auto 0; }
.verse p { font-weight: 700; font-stretch: 112%; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.15; }
.verse cite { display: inline-block; margin-top: 12px; padding-bottom: 5px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--blue); }
.punch { margin-top: 34px; font-weight: 800; font-stretch: 118%; font-size: clamp(1.2rem, 2vw, 1.8rem); text-transform: uppercase; }

/* =================================================================
   TELA 6 · TRABALHE COMIGO
   ================================================================= */
.offer__head { margin-bottom: clamp(24px, 4vh, 44px); }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  display: flex; flex-direction: column; gap: 10px;
  min-height: clamp(220px, 34vh, 320px); padding: clamp(22px, 2.4vw, 32px);
  background: var(--card); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease), background-color .3s;
}
.card:hover { border-color: var(--blue); transform: translateY(-4px); background: rgba(59,123,255,.07); }
.card--main { border-color: rgba(59,123,255,.6); background: rgba(59,123,255,.08); }
.card__n { font: 500 12px/1 var(--f-mono); color: var(--blue-2); }
.card__title { margin-top: 6px; font-weight: 800; font-stretch: 125%; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; text-transform: uppercase; }
.card__text { color: var(--ink-2); font-size: 15.5px; }
.card__cta { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); }

/* =================================================================
   TELA 7 · COMUNIDADE
   ================================================================= */
.community { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.community .btn { margin-top: 30px; }
.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feed a { display: block; overflow: hidden; border: 1px solid var(--line); background: #111; }
.feed img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: brightness(.85); transition: transform .6s var(--ease), filter .4s; }
.feed a:hover img { transform: scale(1.06); filter: none; }
.feed li:nth-child(3n+2) { transform: translateY(18px); }

/* =================================================================
   TELA 8 · CONTATO
   ================================================================= */
.mail {
  display: inline-block; margin: 26px 0 30px;
  font-weight: 700; font-stretch: 110%; font-size: clamp(1.3rem, 3vw, 2.6rem);
  overflow-wrap: anywhere;
  background: linear-gradient(var(--blue), var(--blue)) left bottom / 0 2px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.mail:hover { background-size: 100% 2px; color: var(--blue-2); }
.copy { margin-top: 36px; font-size: 13px; color: var(--muted); }
.copy a:hover { color: var(--ink); }

/* =================================================================
   BARRA DE PROGRESSO (embaixo)
   ================================================================= */
.progress {
  position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
  height: var(--bar);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  background: linear-gradient(to top, rgba(5,5,7,.85), rgba(5,5,7,0));
}
/* a linha passa exatamente pelo centro das bolinhas (botão de 44px centralizado; bolinha a 10px do topo dele) */
.progress__rail { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(50% - 8.5px); height: 1px; background: rgba(255,255,255,.14); }
.progress__fill { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }
.progress__dots { flex: 1; display: flex; justify-content: space-between; position: relative; }
.progress__dots button {
  position: relative; display: block; height: 44px; padding: 24px 0 0;
  background: none; border: 0; cursor: pointer;
  font: 600 11px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  transition: color .25s;
}
.progress__dots button::before {
  content: ""; position: absolute; left: 50%; top: 10px; width: 7px; height: 7px; margin-left: -3.5px;
  border-radius: 50%; background: var(--bg); border: 1px solid rgba(255,255,255,.4);
  transition: background-color .25s, border-color .25s, transform .25s;
}
.progress__dots button:hover { color: var(--ink); }
.progress__dots button.is-past::before { background: var(--blue); border-color: var(--blue); }
.progress__dots button[aria-current="step"] { color: var(--ink); }
.progress__dots button[aria-current="step"]::before { background: var(--blue); border-color: var(--blue); transform: scale(1.6); }
.progress__count { display: none; font: 500 12px/1 var(--f-mono); color: var(--muted); }
.progress__count b { color: var(--ink); font-weight: 500; }

/* =================================================================
   TABLET / CELULAR
   ================================================================= */
@media (max-width: 960px) {
  .offers { grid-template-columns: 1fr; gap: 10px; }
  .card { min-height: 0; padding: 18px 20px; gap: 4px; }
  .card__title { font-size: 1.4rem; }
  .card__text { font-size: 14.5px; }
  .card__cta { padding-top: 6px; }
  .community { grid-template-columns: 1fr; gap: 24px; }
  /* só as bolinhas, sem os nomes */
  .progress__rail { display: none; }
  .progress__dots { justify-content: flex-start; gap: 6px; }
  .progress__dots button { width: 28px; height: 28px; padding: 0; font-size: 0; letter-spacing: 0; }
  .progress__dots button::before { top: 50%; margin-top: -3.5px; }
  .progress__count { display: block; }
}

@media (max-width: 760px) {
  :root { --nav: 64px; --bar: 60px; }

  .brand__logo { height: 32px; }
  .brand__text { font-size: 14px; white-space: nowrap; }
  .burger { display: block; }
  .nav.is-open { background: var(--bg); }
  .nav__links {
    position: absolute; top: var(--nav); left: 0; right: 0;
    display: none; flex-direction: column; gap: 0;
    padding: 4px var(--gutter) 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 15px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__links a:last-child { border-bottom: 0; }

  .panel::after {
    background:
      linear-gradient(to top, rgba(5,5,7,.95) 0%, rgba(5,5,7,.7) 45%, rgba(5,5,7,.35) 100%),
      radial-gradient(ellipse at 60% 30%, rgba(40,32,160,.35), transparent 70%);
  }
  .panel { align-items: flex-end; }
  .panel__num { font-size: 42vw; top: calc(var(--nav) + 10px); bottom: auto; right: 2vw; }
  .hero__title { font-size: 15.5vw; }
  .hero__sub { margin: 18px 0 24px; }
  .buttons .btn { flex: 1 1 auto; }
  .hint { display: none; }
  .chapter__title { font-size: 10vw; }      /* "CONVERSAR" (9 letras) cabe inteira */
  .chapter__title--md { font-size: 9.5vw; }
  .chapter__text { margin-top: 16px; }
  .verse { margin-top: 24px; }
  .punch { margin-top: 22px; }
  .feed { gap: 6px; }
  .feed li:nth-child(3n+2) { transform: none; }
  .mail { margin: 18px 0 22px; }
  .btn { min-height: 50px; padding: 0 20px; }
}

/* Telas baixas (notebook pequeno): tudo um pouco mais compacto */
@media (min-width: 761px) and (max-height: 760px) {
  .chapter__title { font-size: clamp(2.4rem, 11vh, 6rem); }
  .chapter__text { margin-top: 16px; font-size: clamp(16px, 2.6vh, 21px); }
  .verse { margin-top: 20px; }
  .verse p { font-size: clamp(1.2rem, 3.6vh, 1.8rem); }
  .punch { margin-top: 20px; }
  .kicker, .chapter__tag { margin-bottom: 12px; }
}

/* Sem animação para quem pediu menos movimento */
@media (prefers-reduced-motion: reduce) {
  .js .anim { opacity: 1; transform: none; transition: none; }
  .panel__bg img, .panel__num { transform: none !important; }
  * { transition: none !important; }
}
