/* ============================================================
   EBBranding — Employer Branding Brasil
   Design tokens + base styles
   Fonts: STIX Two Text (display) + DM Sans (UI/body)
   ============================================================ */

:root {
  /* Surfaces — warm near-black */
  --bg:        #0c0a09;
  --bg-alt:    #100d0b;
  --surface:   #16130f;
  --surface-2: #1e1a15;
  --border:    rgba(255, 245, 235, 0.09);
  --border-strong: rgba(255, 245, 235, 0.16);

  /* Text — institutional off-white */
  --fg:       #f9f9ef;
  --muted:    #a8a097;
  --muted-2:  #756e64;

  /* Accent — institutional orange */
  --accent:    #ff6600;
  --accent-2:  #ff8533;
  --accent-ink: #1a0d04;
  --accent-soft: rgba(255, 102, 0, 0.13);

  /* Type */
  --font-display: 'STIX Two Text', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 80px);
  --radius: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 10vw, 140px); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 26px;
}

/* ---------- Display type ---------- */
.display {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
.display--xl { font-size: clamp(44px, 6.5vw, 92px); }
.display--lg { font-size: clamp(36px, 5vw, 66px); }
.display--md { font-size: clamp(28px, 3.6vw, 48px); }

.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  max-width: 46ch;
  text-wrap: pretty;
}

.accent-text { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px var(--accent);
}
.btn--primary:hover { box-shadow: 0 16px 40px -12px var(--accent); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--fg); }
.btn--dark {
  background: var(--surface-2);
  color: var(--fg);
  border-color: var(--border);
}
.btn--dark:hover { background: #252019; }

/* ---------- Image slot theming ---------- */
image-slot {
  --is-radius: var(--radius);
  border-radius: var(--radius);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  overflow: hidden;
}
.nav__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px var(--accent);
  transition: width .12s linear;
}
.nav__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding-bottom: 18px;
}
.brand { display: flex; align-items: flex-end; gap: 16px; }
.brand__logo img { height: 28px; width: auto; display: block; }
.brand__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-left: 16px;
  border-left: 1px solid var(--border);
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-3px);
}
.brand__tag b { color: var(--fg); font-weight: 700; }
.nav__links {
  display: flex;
  align-items: flex-end;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1;
  transform: translateY(-3px);
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .18s ease;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--fg); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 51;
  outline: none;
  transform: translateY(-5px);
}
.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--fg);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease, background-color 0.3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-block: clamp(80px, 12vw, 150px) clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: 8%;
  right: -6%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,102,0,0.26), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; max-width: 1060px; }
.hero .lead { margin: 0 0 44px; max-width: 58ch; font-size: clamp(15px, 1.15vw, 17px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__cta .btn {
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 400;
  font-size: 13px;
  padding: 19px 32px;
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--fg);
  font-size: clamp(50px, 9.2vw, 130px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin: 0 0 34px;
}
.hero-title .l { display: block; }
.hero-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.hero-tagline {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  white-space: nowrap;
  display: inline-block;
  font-size: clamp(20px, 3vw, 34px); /* fallback; JS fits width to "shaping HR" */
}
.hero-tagline .accent-text { color: var(--accent); }

.hero__orbit {
  position: absolute;
  top: 14%;
  right: 9%;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  z-index: 1;
}
.hero__orbit::after {
  content: "";
  position: absolute;
  bottom: -34px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: clamp(48px, 8vw, 96px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.scroll-hint span { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* ============================================================
   LOGO CAROUSEL (clientes)
   ============================================================ */
.logos {
  padding-block: clamp(58px, 7vw, 92px);
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
}
.logos__label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 clamp(48px, 6vw, 74px);
}
.marquee {
  display: flex;
  width: max-content;
  animation: scroll-x 48s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-inline: clamp(14px, 2.5vw, 32px);
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-slot {
  width: 150px;
  height: 72px;
  flex: none;
  filter: grayscale(1) brightness(1.4);
  opacity: 0.62;
  transition: opacity .25s ease, filter .25s ease;
}
.logo-slot:hover { opacity: 1; filter: none; }

/* Brand boxes (white cards) for the clients carousel */
#logoMarquee .marquee__track { gap: 60px; padding-inline: 10px; }
.brand-box {
  flex: none;
  width: 132px;
  height: 132px;
  background: #ffffff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 26px;
  box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.7);
  transform-origin: center center;
  will-change: transform;
}
.brand-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Lighting: fade/darken the carousel ends, keep the centre bright */
.logos {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 46%, #000 54%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 46%, #000 54%, transparent 100%);
}
.logos-inline {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%, #000 68%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 32%, #000 68%, transparent 100%);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(28px, 5vw, 56px);
  padding-block: clamp(56px, 7vw, 96px);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.stat__label {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(21px, 1.8vw, 28px);
  font-weight: 500;
  line-height: 1.28;
  max-width: 15ch;
}

/* ============================================================
   ABOUT (Quem Somos)
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: stretch;
}
.profile-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
  height: 100%;
  min-height: 460px;
}
.profile-card image-slot {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.profile-card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.05;
  padding: 9px 12px;
  border-radius: 10px;
}
.profile-card__meta {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 3;
}
.profile-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--fg);
}
.profile-card__role {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
}
.profile-card__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 4%, transparent 45%);
}
.about__body { font-size: 17px; }
.about__body h2 { margin: 0 0 26px; }
.about__body p { color: var(--muted); margin: 0 0 28px; max-width: 52ch; }
.about__body strong { color: var(--fg); font-weight: 600; }
.highlight-card {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: linear-gradient(100deg, var(--accent-soft), transparent 70%);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
}
.highlight-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--accent);
  line-height: 1;
}
.highlight-card__label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ============================================================
   ACADEMY
   ============================================================ */
.academy__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.academy__intro h2 { margin: 0 0 24px; }
.academy__intro p { color: var(--muted); margin: 0 0 34px; max-width: 42ch; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.feature__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ============================================================
   MÉTODO EBB
   ============================================================ */
.method__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.method__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.method-step {
  position: relative;
  background: var(--surface);
  padding: 38px 30px 42px;
  min-height: 280px;
  transition: background .25s ease;
}
.method-step:hover { background: var(--surface-2); }
.method-step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 60px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-strong);
  margin-bottom: 26px;
}
.method-step:hover .method-step__num { -webkit-text-stroke: 1px var(--accent); }
.method-step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.0;
  color: var(--accent);
  margin: 0 0 14px;
}
.method-step p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }
.method-step__bar {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .35s ease;
}
.method-step:hover .method-step__bar { width: 100%; }

/* ---- Scroll-linked method animation ("O Método EBB" style) ---- */
.method__rail {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 6;
  background: transparent;
  pointer-events: none;
}
.method__rail-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px var(--accent);
}
html.js-anim #metodoSteps .method-step {
  transition: background .25s ease;
}
#metodoSteps .method-step .method-step__num,
#metodoSteps .method-step .method-step__bar {
  transition: color .5s ease, -webkit-text-stroke .5s ease, width .6s cubic-bezier(.22,.61,.36,1);
}
#metodoSteps .method-step.is-active {
  background: var(--surface-2);
}
#metodoSteps .method-step.is-active .method-step__num {
  color: var(--accent);
  -webkit-text-stroke: 0;
}
#metodoSteps .method-step.is-active .method-step__bar { width: 100%; }

/* ============================================================
   CONTEÚDOS
   ============================================================ */
.conteudos__head { margin-bottom: 56px; max-width: 640px; }
.conteudos__head h2 { margin: 0; }
.content-row {
  display: grid;
  grid-template-columns: 56px 200px 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: 28px 4px;
  border-top: 1px solid var(--border);
  transition: padding-left .25s ease;
}
.content-list .content-row:last-child { border-bottom: 1px solid var(--border); }
.content-row:hover { padding-left: 16px; }
.content-row__idx { font-size: 13px; color: var(--muted-2); font-weight: 600; }
.content-row image-slot { width: 200px; height: 120px; border-radius: var(--radius-sm); }
.content-row__kicker {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 8px;
}
.content-row__title { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin: 0 0 6px; }
.content-row__desc { font-size: 14px; color: var(--muted); margin: 0; max-width: 48ch; }
.content-row__arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: var(--fg);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.content-row:hover .content-row__arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(45deg); }

/* ============================================================
   QUIZ
   ============================================================ */
.quiz__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.quiz__body h2 { margin: 0 0 22px; }
.quiz__body p { color: var(--muted); margin: 0 0 34px; max-width: 40ch; }
.quiz__visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: radial-gradient(circle at center, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--border);
  overflow: hidden;
}
.quiz__visual::before, .quiz__visual::after,
.quiz__rings span {
  content: "";
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.quiz__visual::before { width: 88%; height: 88%; }
.quiz__visual::after  { width: 64%; height: 64%; border-color: var(--border-strong); }
.quiz__rings span:nth-child(1) { width: 40%; height: 40%; border-color: rgba(255,102,0,0.4); }
.quiz__rings span:nth-child(2) { width: 16%; height: 16%; border-color: var(--accent); }
.quiz__center { position: relative; z-index: 2; text-align: center; }
.quiz__center b { font-family: var(--font-display); font-size: 64px; color: var(--accent); line-height: 1; display: block; }
.quiz__center small { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.quiz__badge {
  position: absolute; top: 22px; right: 22px; z-index: 3;
  background: var(--accent);
  color: var(--accent-ink); font-weight: 700; font-size: 11px; letter-spacing: 0.08em;
  padding: 8px 11px; border-radius: 9px; line-height: 1.1; text-align: center;
}

/* ============================================================
   EMPRESAS
   ============================================================ */
.empresas__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.empresas image-slot { width: 100%; aspect-ratio: 4/3.4; border-radius: var(--radius); }
.empresas__body h2 { margin: 0 0 22px; }
.empresas__body p { color: var(--muted); margin: 0 0 28px; max-width: 42ch; }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px; font-weight: 500;
  color: var(--fg);
}
.chip svg { width: 16px; height: 16px; color: var(--accent); }

/* ============================================================
   BLOG
   ============================================================ */
.blog__head { margin-bottom: 48px; }
.blog__head h2 { margin: 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.post {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform .25s ease, border-color .25s ease;
}
.post:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.post image-slot { width: 100%; aspect-ratio: 16/10; border-radius: 0; }
.post__body { padding: 22px 24px 28px; }
.post__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px;
}
.post__date { font-size: 12px; color: var(--muted-2); }
.post h3 { font-family: var(--font-sans); font-size: 19px; font-weight: 600; line-height: 1.3; margin: 0 0 10px; }
.post p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 800px; margin: 0 auto; text-align: center; }
.faq h2 { margin: 0 0 48px; }
.faq__list { text-align: left; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--surface);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 300;
  color: var(--accent);
  transition: transform .25s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer { padding: 0 26px 24px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 64ch; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.newsletter h2 { margin: 0 0 20px; }
.newsletter p:not(.eyebrow) { color: var(--muted); margin: 0; max-width: 38ch; }
.newsletter__form {
  display: flex;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
}
.newsletter__form input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
}
.newsletter__form input::placeholder { color: var(--muted-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 40px;
  background: var(--bg-alt);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__col { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer__copy { font-size: 13px; color: var(--muted-2); }
.footer a { font-size: 14px; color: var(--muted); transition: color .18s ease; }
.footer a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .brand__tag { display: none; }
  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px var(--gutter);
    transform: translateY(-105%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.4s ease;
    z-index: 49;
    margin: 0;
    list-style: none;
  }
  
  header.nav.is-open .nav__links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav__links li {
    width: 100%;
    margin: 0;
  }
  
  .nav__links a {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--fg);
    padding-block: 16px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    transition: color 0.2s ease, padding-left 0.2s ease;
  }
  .nav__links li:last-child a {
    border-bottom: none;
  }
  .nav__links a:hover {
    color: var(--accent);
    padding-left: 8px;
  }
  
  header.nav.is-open .nav__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--accent);
  }
  header.nav.is-open .nav__toggle span:nth-child(2) {
    opacity: 0;
  }
  header.nav.is-open .nav__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--accent);
  }

  .about__grid,
  .academy__grid,
  .quiz__grid,
  .empresas__grid,
  .newsletter__grid { grid-template-columns: 1fr; }
  .method__steps { grid-template-columns: 1fr 1fr; }
  .content-row { grid-template-columns: 40px 1fr auto; }
  .content-row image-slot { display: none; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .method__steps { grid-template-columns: 1fr; }
  .content-row { grid-template-columns: 1fr auto; }
  .content-row__idx { display: none; }
  .newsletter__form { flex-direction: column; border-radius: var(--radius); padding: 14px; }
  .newsletter__form input { padding: 6px 10px; }
}

/* ============================================================
   V3 CONTENT — shared additions
   ============================================================ */

/* Orange italic serif accent inside display headings (echoes hero) */
.display em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

/* Section heading + intro pairing */
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { margin: 0 0 20px; }
.sec-head p { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); margin: 0; max-width: 56ch; }

/* Hero CTA arrows inherit; small inline svg */
.btn svg { flex: none; }

/* ---------- Quem somos: intro grid + triad ---------- */
.qs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: stretch;
}
.qs-grid image-slot { width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); }
.qs-body p { color: var(--muted); margin: 0 0 22px; max-width: 54ch; }
.qs-body strong { color: var(--fg); font-weight: 600; }
.sec-head .qs-subtitle { color: var(--fg); font-size: clamp(18px, 1.7vw, 23px); font-weight: 500; line-height: 1.4; margin: 18px 0 0; max-width: 52ch; }
.qs-radancy { color: var(--muted); font-size: clamp(16px, 1.35vw, 18px); margin: 24px 0 0; max-width: 62ch; }
.logos-inline { overflow: hidden; margin-block: clamp(44px, 6vw, 78px); }
.logos-inline .marquee { animation-duration: 42s; }
.triad {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: -0.01em;
  margin: 34px 0 22px;
  color: var(--fg);
}
.triad em { font-style: italic; color: var(--accent); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  transition: gap .2s ease;
}
.text-link:hover { gap: 15px; }
.text-link small { color: var(--muted-2); font-weight: 400; margin-left: 4px; }

/* Divider between sub-blocks */
.subdivide {
  border: 0;
  border-top: 1px solid var(--border);
  margin-block: clamp(56px, 8vw, 100px);
}
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 18px;
}
.kicker b { color: var(--accent); font-weight: 700; }

/* ---------- Cases ---------- */
.case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--border);
}
.case:first-of-type { border-top: 0; padding-top: 0; }
.case--reverse .case__media { order: 2; }
.case__media { height: 100%; }
.case__media image-slot { width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); }
.case__media--split {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.case__media--split image-slot { min-height: 0; height: 100%; }
.case__client {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.case__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  margin: 0 0 18px;
}
.case__desc { color: var(--muted); margin: 0 0 14px; max-width: 56ch; font-size: 16px; }
.case__desc strong { color: var(--fg); font-weight: 600; }
.case__results { margin: 26px 0 0; padding: 0; list-style: none; }
.case__results-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-2); margin: 0 0 8px;
}
.result {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--border);
}
.result__arrow { color: var(--accent); flex: none; }
.result__label { color: var(--muted); font-size: 15px; flex: 1; }
.result__value { color: var(--fg); font-weight: 600; font-size: 15px; white-space: nowrap; }
.result__value b { color: var(--accent); font-weight: 700; }

/* Placeholder cases (Boeing, PepsiCo) */
.cases__ph {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: clamp(40px, 6vw, 64px);
}
.case-ph {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  background: var(--surface);
}
.case-ph__client {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 8px;
}
.case-ph__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.case-ph p { color: var(--muted-2); font-size: 14px; margin: 16px 0 0; line-height: 1.55; }

/* ---------- Cases on light background ---------- */
.section--light { background: #f9f9ef; color: #14110d; }
.section--light .eyebrow { color: var(--accent); }
.section--light .display { color: #14110d; }
.section--light .display em { color: var(--accent); }
.section--light .sec-head p { color: #5c554c; }
.section--light .case { border-top-color: rgba(0,0,0,0.12); }
.section--light .case__client { color: var(--accent); }
.section--light .case__title { color: #14110d; }
.section--light .case__desc { color: #4a443c; }
.section--light .case__desc strong { color: #14110d; }
.section--light .case__results-label { color: #8a8276; }
.section--light .result { border-top-color: rgba(0,0,0,0.12); }
.section--light .result__arrow { color: var(--accent); }
.section--light .result__label { color: #5c554c; }
.section--light .result__value { color: #14110d; }
.section--light .result__value b { color: var(--accent); }
.section--light .case-ph { background: #ffffff; border-color: rgba(0,0,0,0.16); }
.section--light .case-ph__client { color: #14110d; }
.section--light .case-ph__tag { color: var(--accent); }
.section--light .case-ph p { color: #8a8276; }

/* ============================================================
   CASE ACCORDION — expandable rich case (dark card on light section)
   ============================================================ */
.case-acc{
  margin-top: clamp(40px, 6vw, 64px);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b0907;
  box-shadow: 0 36px 70px -34px rgba(0,0,0,.55);
}
.case-acc__bar{
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 46px);
  padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 44px);
  background: #0b0907;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: background .25s ease;
}
.case-acc__bar:hover{ background: #15110d; }
.case-acc__logo{ width: clamp(92px, 12vw, 142px); flex: none; }
.case-acc__heads{ flex: 1; min-width: 0; }
.case-acc__kicker{
  display: block;
  font-weight: 600;
  font-size: clamp(12px, 1.25vw, 15px);
  letter-spacing: .01em;
  color: var(--accent);
  margin-bottom: 7px;
}
.case-acc__title{
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(21px, 3vw, 40px);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: #f9f9ef;
}
.case-acc__toggle{
  flex: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: #f9f9ef;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), background .25s ease, color .25s ease, border-color .25s ease;
}
.case-acc__bar:hover .case-acc__toggle{ background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.case-acc.is-open .case-acc__toggle{ transform: rotate(135deg); }

.case-acc__panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .6s cubic-bezier(.22,.61,.36,1);
}
.case-acc.is-open .case-acc__panel{
  max-height: 4200px;
  transition-duration: .9s;
}
.case-acc__clip{ overflow: hidden; }
.case-acc__inner{
  padding: clamp(24px, 3.5vw, 46px) clamp(20px, 4vw, 44px) clamp(34px, 5vw, 58px);
  border-top: 1px solid var(--border);
  color: #f9f9ef;
}

.acc-hero{
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.acc-grid2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 54px);
  margin-bottom: clamp(26px, 4vw, 42px);
}
.acc-block{ display: flex; gap: 16px; }
.acc-block__n{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  color: var(--accent);
  flex: none;
}
.acc-block__body h4{
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: #f9f9ef;
  margin: 2px 0 8px;
}
.acc-block__body p{
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted);
  margin: 0;
}
.acc-imgs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: clamp(26px, 4vw, 42px);
}
.acc-imgs img{
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.acc-split{
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(26px, 4vw, 42px);
}
.acc-split__media{ display: grid; place-items: center; }
.acc-split__media img{ width: 100%; max-width: 360px; display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); }
.acc-single{ margin-bottom: clamp(24px, 4vw, 38px); max-width: 70ch; }

.acc-results{
  margin-top: clamp(10px, 2vw, 18px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--border);
}
.acc-results__label{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 20px;
}
.acc-results__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.acc-stat{
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  background: rgba(255,255,255,.025);
}
.acc-stat__v{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -.01em;
}
.acc-stat__l{ font-size: 14px; color: var(--muted); margin-top: 9px; }

@media (max-width: 760px){
  .acc-grid2, .acc-imgs, .acc-split{ grid-template-columns: 1fr; }
  .acc-results__grid{ grid-template-columns: 1fr 1fr; }
  .case-acc__title{ font-size: clamp(20px, 6vw, 28px); }
}
@media (max-width: 460px){
  .acc-results__grid{ grid-template-columns: 1fr; }
  .case-acc__logo{ width: 80px; }
}

/* ---------- Hero background image ---------- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.95) 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.95) 40%, transparent 100%);
  pointer-events: none;
}
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(12,10,9,0.86) 0%, rgba(12,10,9,0.42) 46%, rgba(12,10,9,0.08) 76%, rgba(12,10,9,0) 100%);
  z-index: 2;
}

/* ---------- Scroll-reveal entrance + counters ---------- */
html.js-anim .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
html.js-anim .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-anim .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- Contato confirmation ---------- */
.contact-confirm {
  margin-top: 18px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s ease, transform .3s ease;
}
.contact-confirm.show { opacity: 1; transform: translateY(0); }

/* ---------- Graphic-element toggles (via Tweaks) ---------- */
body.no-glow .hero__glow,
body.no-glow .hero__orbit { display: none; }

body.num-filled .method-step__num {
  color: var(--accent);
  -webkit-text-stroke: 0;
}
body.num-filled .method-step:hover .method-step__num { color: var(--accent-2); }

/* ============================================================
   O MÉTODO EBB — scroll-pinned step-through (01→04)
   ============================================================ */
.metodo { background: var(--bg-alt); position: relative; }
.metodo__track { height: 420vh; position: relative; }
.metodo__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.metodo__inner { position: relative; width: 100%; height: 100%; }
.metodo__eyebrow {
  position: absolute;
  top: clamp(80px, 12vh, 130px);
  left: var(--gutter);
  margin: 0;
  white-space: nowrap;
}
.metodo__stage {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
}
.metodo__step {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-40%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1);
}
.metodo__step.is-active {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}
.metodo__ghost {
  position: absolute;
  left: 0;
  bottom: 100%;
  transform: translateY(38%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(180px, 26vw, 420px);
  line-height: 0.8;
  color: var(--fg);
  opacity: 0.035;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}
.metodo__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(52px, 10vw, 150px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin: 0 0 26px;
}
.metodo__desc {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 42ch;
}
.metodo__dots {
  position: absolute;
  left: 50%;
  bottom: clamp(48px, 9vh, 90px);
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 3;
}
.metodo__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
}
.metodo__dot.is-on {
  background: var(--accent);
  transform: scale(1.25);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.metodo__advance {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: clamp(40px, 7vh, 70px) var(--gutter) clamp(40px, 7vh, 70px) clamp(40px, 6vw, 90px);
  background: linear-gradient(120deg, transparent, var(--surface) 60%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.metodo__advance svg { color: var(--accent); }

/* Reduced motion / no-pin fallback: stack the 4 steps statically */
@media (prefers-reduced-motion: reduce) {
  .metodo__track { height: auto; }
  .metodo__pin { position: static; height: auto; display: block; padding-block: clamp(64px, 9vw, 120px); }
  .metodo__eyebrow { position: static; margin-bottom: 48px; }
  .metodo__stage { position: static; transform: none; }
  .metodo__step { position: static; opacity: 1; transform: none; padding-block: 40px; border-top: 1px solid var(--border); }
  .metodo__step:first-of-type { border-top: 0; }
  .metodo__ghost { display: none; }
  .metodo__dots, .metodo__advance { display: none; }
}
@media (max-width: 700px) {
  .metodo__desc { max-width: 90%; }
}

/* ---------- Responsive (V3) ---------- */
@media (max-width: 900px) {
  .qs-grid,
  .case,
  .cases__ph { grid-template-columns: 1fr; }
  .case--reverse .case__media { order: 0; }
}

/* Fallback for "O Método EBB" on mobile/tablet (<= 768px) */
@media (max-width: 768px) {
  .metodo__track { height: auto !important; }
  .metodo__pin { position: static !important; height: auto !important; display: block !important; padding-block: clamp(60px, 8vw, 100px) !important; }
  .metodo__eyebrow { position: static !important; margin-bottom: 32px !important; }
  .metodo__stage { position: static !important; transform: none !important; }
  .metodo__step { position: static !important; opacity: 1 !important; transform: none !important; padding-block: 30px !important; border-top: 1px solid var(--border) !important; pointer-events: auto !important; }
  .metodo__step:first-of-type { border-top: 0 !important; }
  .metodo__ghost { display: none !important; }
  .metodo__dots, .metodo__advance { display: none !important; }

  /* Logos marquee masks fix: widen the opaque center on mobile */
  .logos {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%) !important;
            mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%) !important;
  }
  .logos-inline {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%) !important;
            mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%) !important;
  }
}

@media (max-width: 560px) {
  .cases__ph { grid-template-columns: 1fr; }
  .newsletter__form input { width: 100% !important; box-sizing: border-box !important; }
}

/* Prevent horizontal scroll on small devices */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  .scroll-hint span { animation: none; }
  html { scroll-behavior: auto; }
}
