:root {
  --graphite: #0d0d0e;
  --graphite-2: #1a1a1c;
  --paper: #f3f3f1;
  --white: #ffffff;
  --ink: #1b1d21;
  --muted: #555a62;
  --accent: #ffc20e;
  --accent-hover: #ffd34d;
  --accent-ink: #0d0d0e;

  --ph: #c4c8ce;
  --ph-ink: #343840;
  --ph-dark: #26262a;

  --header-bg: #0d0d0e; /* fundo do menu superior (sólido) */
  --radius: 14px;
  --maxw: 1120px;
  --narrow: 760px;
  --pad: clamp(1.25rem, 5vw, 2rem);
  --section-y: clamp(3.5rem, 9vw, 6.5rem);

  --font-display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: .6rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.container--narrow { max-width: calc(var(--narrow) + var(--pad) * 2); }
.center { text-align: center; }

.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--graphite); color: #e9ebee; }

.section h2 + *,
.section h2 + .ph { margin-top: 1.5rem; }
.section p + p { margin-top: 1rem; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); font-weight: 700; line-height: 1.2; }

.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: #c9cdd3; }
.lead--dark { color: var(--muted); }

/* ---------- Placeholders ---------- */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--ph);
  color: var(--ph-ink);
  overflow: hidden;
  text-align: center;
}
.ph::after {
  content: attr(data-ph);
  font: 700 .72rem/1.25 var(--font-body);
  letter-spacing: .02em;
  padding: .35rem .6rem;
  margin: .4rem;
  border: 1.5px dashed currentColor;
  border-radius: 6px;
  background: rgba(255, 255, 255, .35);
}
.ph--dark { background: var(--ph-dark); color: #e7e9ec; }
.ph--dark::after { background: rgba(0, 0, 0, .25); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: .85rem 1.75rem;
  background: var(--accent); color: var(--accent-ink);
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none; text-align: center;
  border-radius: 999px;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 2.5rem; padding: .5rem 1.15rem; font-size: .9rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--header-bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: block; text-decoration: none; }
.brand img { display: block; height: 46px; width: auto; }

/* Botão sanduíche */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: transparent; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menu (mobile: painel abaixo do header) */
.nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: none; flex-direction: column;
  padding: .25rem var(--pad) 1rem;
  background: var(--header-bg);
  border-top: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
  max-height: calc(100svh - 4.5rem); overflow-y: auto;
}
.nav.is-open { display: flex; }
.nav a { color: #e9ebee; text-decoration: none; font-weight: 500; font-size: 1.05rem; padding: .95rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav a:last-child { border-bottom: 0; }
.nav a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 7rem 4rem;
  color: #fff; background: var(--ph-dark);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Escurecimento da imagem: aumente/diminua os valores (0 a 1) para ajustar a leitura */
  background: linear-gradient(180deg, rgba(13,13,14,.78) 0%, rgba(13,13,14,.72) 50%, rgba(13,13,14,.88) 100%);
}
@media (min-width: 900px) {
  .hero::before { background: linear-gradient(90deg, rgba(13,13,14,.92) 0%, rgba(13,13,14,.8) 45%, rgba(13,13,14,.42) 100%); }
}
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.hero__content > * { max-width: 780px; text-shadow: 0 1px 18px rgba(0, 0, 0, .45); }
.hero__content > .btn { text-shadow: none; }
.hero__title { font-size: clamp(2.1rem, 1.2rem + 4.2vw, 3.7rem); font-weight: 700; line-height: 1.08; }
.hero__subtitle { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1rem + .9vw, 1.6rem); line-height: 1.35; }
.hero__note { color: #e9ebee; font-size: .98rem; max-width: 56ch; }
.hero .btn { margin-top: .5rem; }

/* anima somente a entrada do hero */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: rise .7s ease both; }
  .hero__content > *:nth-child(2) { animation-delay: .08s; }
  .hero__content > *:nth-child(3) { animation-delay: .16s; }
  .hero__content > *:nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- Faixa de plataformas ---------- */
.strip { background: var(--accent); color: var(--accent-ink); padding-block: 1.1rem; }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem 1.25rem; }
.strip__label { font-weight: 500; }
.strip__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .75rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); }
.strip__list li + li::before { content: "\2022"; margin-right: .75rem; }

/* ---------- Split (texto + imagem) ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
.split__media { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); }
img.split__media { object-fit: cover; height: auto; background: var(--graphite); }
img.split__media--contain { object-fit: contain; }
.split__text p { max-width: 62ch; }

/* ---------- Para quem (cards com check) ---------- */
.checklist--cards { max-width: 920px; margin-inline: auto; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--card-min, 320px)), 1fr)); gap: 1rem; }
.checklist.checklist--cards li { padding: 1.25rem 1.25rem 1.25rem 3.4rem; background: var(--paper); border-radius: var(--radius); }
.checklist--cards-3 { --card-min: 260px; max-width: 1000px; }
.section--paper .checklist.checklist--cards li { background: var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, .07); }
.checklist.checklist--cards li::before { left: 1.1rem; top: calc(1.25rem + .22em); }
.checklist.checklist--cards li::after { left: calc(1.1rem + .4rem); top: calc(1.25rem + .42em); }

/* ---------- Botão em cada seção ---------- */
.section__cta { margin-top: 2.5rem; }
.section__cta.center { text-align: center; }

/* ---------- Listas ---------- */
.checklist { display: grid; gap: .9rem; }
.checklist li { position: relative; padding-left: 2.1rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .22em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--accent);
}
.checklist li::after {
  content: ""; position: absolute; left: .4rem; top: .42em;
  width: .35rem; height: .6rem;
  border: solid var(--accent-ink); border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}
.checklist--center { max-width: var(--narrow); margin: 2rem auto 0; }
.checklist--two { margin-top: 1.75rem; }
.section--paper .checklist, .section--white .checklist { margin-top: 1.75rem; }


.bullets { display: grid; gap: .5rem; margin-top: .75rem; }
.bullets li { position: relative; padding-left: 1.25rem; color: #cfd3d8; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .72em; width: .5rem; height: .5rem; border-radius: 2px; background: var(--accent); }
.bullets--dark li { color: var(--ink); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; margin-top: 2.5rem; grid-template-columns: 1fr; }
.card { padding: 1.75rem; background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 8px 24px rgba(0, 0, 0, .05); }
.card__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 12px; margin-bottom: 1.25rem; background: var(--graphite); color: var(--accent); }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .98rem; }

.results { margin-top: clamp(3rem, 7vw, 4.5rem); }
.results h3 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
.results .lead { margin-top: .75rem; }

/* ---------- Para quem (duas colunas) ---------- */
.section .audience { margin-top: 2.25rem; display: grid; gap: 1.25rem; }
.audience__col { padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius); }
.audience__col--for { background: var(--paper); display: flex; align-items: center; }
.audience__col--for .checklist { width: 100%; }
.audience__col--results { background: var(--graphite); color: #e9ebee; }
.audience__lead { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.05rem + .8vw, 1.55rem); line-height: 1.25; color: #fff; margin-bottom: 1.25rem; }
.audience .audience__col .checklist { margin-top: 0; }
.results .carousel { margin-top: 1.75rem; }
.results__panel { max-width: 820px; margin: 0 auto clamp(2.5rem, 6vw, 3.5rem); }
.results__panel .checklist { margin-top: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: .9rem 2rem; }

/* ---------- Como funciona (passos) ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; margin-top: 2rem; }
.step { counter-increment: step; padding: 1.5rem; background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 8px 24px rgba(0, 0, 0, .05); }
.step::before {
  content: counter(step);
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem;
  background: var(--accent); color: var(--accent-ink); border-radius: 50%;
  font: 700 1.25rem/1 var(--font-display);
}
.section--white .step { background: var(--paper); box-shadow: none; }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--muted); }

/* ---------- Quem está por trás ---------- */
.split__text h3 { margin-bottom: .75rem; }
img.split__media--photo { aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; }
.split__text .btn { margin-top: 1.75rem; }

/* ---------- Slider de resultados ---------- */
.carousel { margin-top: 3rem; max-width: 900px; margin-inline: auto; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
  padding-bottom: .25rem;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track { align-items: start; }
.slide { scroll-snap-align: start; }
.slide img, .slide .ph { width: 100%; border-radius: var(--radius); }
.slide img { height: auto; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 10px 30px rgba(0, 0, 0, .12); }
.slide .ph { aspect-ratio: 16 / 9; }
.carousel__controls { display: flex; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.carousel__btn {
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 2px solid var(--graphite); background: transparent; color: var(--graphite);
  font-size: 1.2rem; cursor: pointer; transition: background-color .2s, color .2s;
}
.carousel__btn:hover:not(:disabled) { background: var(--graphite); color: #fff; }
.carousel__btn:disabled { opacity: .35; cursor: default; }

/* ---------- Faixa de logos (marquee arrastável) ---------- */
.block-narrow { max-width: var(--narrow); margin-inline: auto; }
.marquee {
  margin-top: 2.5rem; overflow-x: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  cursor: grab; touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}
.marquee.is-ready { overflow: hidden; }
.marquee.is-dragging { cursor: grabbing; }
.marquee__track { display: flex; gap: 1.25rem; width: max-content; padding: .5rem 1.25rem; will-change: transform; }
.marquee__track li { flex: none; width: clamp(110px, 16vw, 160px); }
.marquee__track img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 6px 18px rgba(0, 0, 0, .08);
  pointer-events: none; -webkit-user-drag: none;
}

/* ---------- Imagem ampliada (lightbox) ---------- */
.slide__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--radius); cursor: zoom-in; }
.slide__zoom:hover img { filter: brightness(.95); }
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.lightbox__img {
  display: block; width: auto; height: auto;
  max-width: 94vw; max-height: 86vh; /* tamanho original, reduzido só se não couber na tela */
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 50%; font-size: 1.15rem; cursor: pointer; transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: .75rem; }
.lightbox__next { right: .75rem; }
.lightbox.is-single .lightbox__nav { display: none; }
html:has(.lightbox[open]) { overflow: hidden; }

/* Celular em pé: gira a imagem 90° para ela aparecer na horizontal (basta virar o aparelho).
   Se o usuário girar o celular de verdade, a tela vira horizontal e esta regra deixa de valer. */
@media (orientation: portrait) and (pointer: coarse) and (max-width: 820px) {
  .lightbox__img {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    max-width: calc(100svh - 9rem);
    max-height: calc(100vw - 2rem);
  }
  .lightbox__nav { top: auto; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lightbox__prev { left: calc(50% - 3.25rem); }
  .lightbox__next { right: auto; left: calc(50% + .5rem); }
}

/* ---------- CTA final ---------- */
.section--cta h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
.section--cta .lead { margin-top: 1.5rem; }
.section--cta p { margin-inline: auto; }
.section--cta .btn { margin-top: 2rem; }

/* ---------- Footer ---------- */
.footer { background: #070708; color: #aeb3ba; padding-block: 2.5rem calc(5.5rem + env(safe-area-inset-bottom, 0px)); font-size: .9rem; }
.footer__inner { display: flex; flex-direction: column; gap: 1.25rem; align-items: center; text-align: center; }
.social { display: flex; gap: .75rem; }
.social a {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 50%;
  color: #e9ebee; transition: background-color .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Botão flutuante ---------- */
.fab {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.1rem; border-radius: 999px;
  background: #25d366; color: #062a12;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  transition: background-color .2s ease;
}
.fab:hover { background: #4ae080; }

/* ==========================================================
   Responsivo
   ========================================================== */
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .checklist--two { grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
}

@media (min-width: 900px) {
  .section .audience { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
    .split__media { aspect-ratio: 1 / 1; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .card { padding: 1.5rem; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; display: flex; flex-direction: row; gap: 1.5rem;
    padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible;
  }
  .nav a { font-size: .95rem; padding: 0; border: 0; }
}

@media (min-width: 768px) {
  .brand img { height: auto; max-height: 38px; }
}

@media (max-width: 420px) {
  .btn { width: 100%; }
  .fab span { display: none; }
  .fab { padding: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}