/* ==========================================================================
   LOTENET — Reformulação 2026
   Design tokens • Mobile first • Accessible • Performance oriented
   ========================================================================== */

:root {
  /* Brand */
  --brand: #F88806;
  --brand-600: #E07A00;
  --brand-700: #C46A00;
  --brand-soft: #FEF3E6;

  /* Neutrals (warm) */
  --ink-900: #1A0F0B;
  --ink-800: #2C2424;
  --ink-700: #3D3128;
  --ink-500: #6B5A50;
  --ink-300: #C9BFB7;
  --ink-200: #E8E1DA;
  --ink-100: #F4EFE9;
  --paper:   #FBF8F4;
  --white:   #FFFFFF;

  /* Semantic */
  --bg:        var(--paper);
  --text:      var(--ink-900);
  --text-mute: var(--ink-500);
  --surface:   var(--white);
  --border:    var(--ink-200);

  /* Scrolled-header (dark glass over hero) */
  --header-dark-bg:     rgba(26,15,11,.82);
  --header-dark-border: rgba(255,255,255,.08);
  --header-dark-link:   rgba(255,255,255,.9);

  /* Type */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing scale (8pt base) */
  --space-1: .25rem; --space-2: .5rem;  --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem;   --space-8: 3rem;   --space-10: 4rem;
  --space-12: 6rem;  --space-16: 8rem;

  /* Radii */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26,15,11,.06), 0 1px 4px rgba(26,15,11,.04);
  --shadow-md: 0 8px 24px -8px rgba(26,15,11,.18), 0 4px 8px -4px rgba(26,15,11,.08);
  --shadow-lg: 0 24px 48px -16px rgba(26,15,11,.28), 0 8px 24px -8px rgba(26,15,11,.12);
  --shadow-glow: 0 24px 60px -20px rgba(248,136,6,.5);

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --t-fast: 150ms;
  --t-base: 240ms;
  --t-slow: 480ms;

  /* Layout */
  --container: 1200px;
  --header-h: 76px;
}

/* ----- Reset ----- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
ul, ol { list-style: none; padding: 0; }
input, textarea, button, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----- Utilities ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.text-brand { color: var(--brand); }
.text-light { color: var(--white); }

.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--ink-900); color: #fff;
  padding: .75rem 1.25rem; border-radius: var(--r-sm);
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.display, .h-display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
.display {
  font-size: clamp(2rem, 5.5vw + .5rem, 4.8rem);
}
.h-display {
  font-size: clamp(2rem, 3.5vw + .5rem, 3.2rem);
}
h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.25rem;
}
.eyebrow .dot {
  flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(248,136,6,.18);
}
.eyebrow-dark { color: var(--ink-800); }
.eyebrow-dark .dot { background: var(--ink-800); box-shadow: 0 0 0 4px rgba(44,36,36,.12); }

.lede { font-size: clamp(1.05rem, 1vw + .8rem, 1.25rem); color: rgba(255,255,255,.8); max-width: 56ch; }
.lede-dark { font-size: clamp(1.05rem, 1vw + .8rem, 1.2rem); color: var(--text-mute); max-width: 60ch; }
.lede-light { font-size: clamp(1.05rem, 1vw + .8rem, 1.2rem); color: rgba(255,255,255,.72); max-width: 60ch; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1rem 1.6rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  transition: transform var(--t-base) var(--ease),
              background var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              color var(--t-base) var(--ease);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
@media (max-width: 600px) {
  .btn { white-space: normal; }
}
.btn-primary {
  background: var(--brand); color: var(--ink-900);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: #FF9A1F;
  transform: translateY(-2px);
  box-shadow: 0 30px 70px -20px rgba(248,136,6,.6);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  display: inline-flex; align-items: center; gap: .55rem;
}
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-dark {
  background: var(--ink-900); color: #fff;
}
.btn-dark:hover { background: var(--ink-800); transform: translateY(-2px); }
.btn-sm { padding: .65rem 1.15rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(251,248,244,.0);
  backdrop-filter: blur(0);
  transition: background var(--t-base) var(--ease),
              backdrop-filter var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--header-dark-bg);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom-color: var(--header-dark-border);
}
.nav-wrap {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  transition: opacity var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.brand:hover { opacity: .85; }
.site-header.scrolled .brand { color: var(--white); }
.brand-mark {
  width: 140px;
  height: auto;
  display: block;
}

.primary-nav ul {
  display: flex; gap: clamp(1.25rem, 2.5vw, 2.25rem);
}
.primary-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  color: rgba(255,255,255,.92);
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .25rem .25rem;
}
.site-header.scrolled .primary-nav a { color: var(--header-dark-link); }

/* Header CTA secundário sobre hero (sem competir com CTA primário do hero) */
.site-header:not(.scrolled) .nav-cta {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.55);
  box-shadow: none;
}
.site-header:not(.scrolled) .nav-cta:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  transform: none;
}
.primary-nav a::after {
  content: ''; position: absolute;
  left: 0; right: 100%; bottom: -4px;
  height: 2px; background: var(--brand);
  transition: right var(--t-base) var(--ease);
}
.primary-nav a:hover { color: var(--brand); }
.primary-nav a:hover::after { right: 0; }

@media (max-width: 900px) {
  .primary-nav, .nav-cta { display: none; }
}

.menu-toggle {
  display: none;
  background: transparent; border: 0;
  width: 44px; height: 44px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.site-header.scrolled .menu-toggle span { background: var(--white); }
.site-header.menu-open .brand { color: var(--ink-900); }
.site-header.menu-open .menu-toggle span { background: var(--ink-900); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(251,248,244,.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform var(--t-slow) var(--ease);
  padding: calc(var(--header-h) + 1rem) clamp(1.25rem, 4vw, 2.5rem) 2rem;
}
@media (max-width: 900px) {
  .mobile-nav { display: block; }
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink-800);
  padding: .5rem 0;
}
.mobile-nav li:has(> .btn) { margin-top: .75rem; }
.mobile-nav .btn {
  display: flex;
  width: 100%;
  padding: 1.05rem 1.5rem;
  font-size: 1rem;
  box-shadow: none;
}
.mobile-nav .btn:hover {
  box-shadow: none;
  transform: none;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: linear-gradient(160deg, var(--ink-900) 0%, var(--ink-800) 60%, #3a1f10 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 80vw; max-width: 900px; aspect-ratio: 1;
  top: -10%; right: -15%;
  background: radial-gradient(circle at center, rgba(248,136,6,.45), rgba(248,136,6,0) 60%);
  filter: blur(20px);
  animation: float 12s ease-in-out infinite;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(248,136,6,.08) 0, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(248,136,6,.06) 0, transparent 40%);
  opacity: .9;
}
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-30px,30px) scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 4rem; }
}

.hero-copy .eyebrow { color: var(--brand); }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: 520px;
}
.hero-trust li { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.hero-trust strong {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw + .8rem, 1.7rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -.02em;
}
.hero-trust span {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Hero visual */
.hero-visual { position: relative; }
.card-stack {
  position: relative;
  display: grid; gap: 1.25rem;
}
.vcard {
  position: relative;
  background:
    radial-gradient(circle at 20% 0%, rgba(248,136,6,.12), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}
.vcard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(248,136,6,.35), transparent 40%, transparent 60%, rgba(248,136,6,.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.vcard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
  position: relative;
}
.vcard-title {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.live-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2BD584;
  box-shadow: 0 0 0 0 rgba(43,213,132,.5);
  animation: liveDot 2s ease-out infinite;
}
@keyframes liveDot {
  0%   { box-shadow: 0 0 0 0 rgba(43,213,132,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(43,213,132,0); }
  100% { box-shadow: 0 0 0 0 rgba(43,213,132,0); }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(248,136,6,.12);
  border: 1px solid rgba(248,136,6,.3);
  padding: .35rem .7rem;
  border-radius: var(--r-pill);
}
.badge-soft { color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }

.map-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .25rem .5rem;
  cursor: pointer;
  perspective: 800px;
  isolation: isolate;
}
.map-img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(248,136,6,.28));
  transition: transform var(--t-slow) var(--ease),
              filter var(--t-slow) var(--ease);
  will-change: transform, filter;
  position: relative;
  z-index: 2;
}
.map-wrap:hover .map-img,
.map-wrap:focus-visible .map-img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 28px rgba(248,136,6,.5));
}
@media (prefers-reduced-motion: reduce) {
  .map-wrap:hover .map-img { transform: none; }
}

.vcard-foot {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  padding-top: .25rem;
}
.vcard-foot svg { color: var(--brand); flex-shrink: 0; }

/* Variante "tile de marca" — quando o conteúdo (ex: mapa) já traz o fundo laranja oficial */
.vcard-map--brand {
  background: var(--brand);
  border-color: rgba(255,255,255,.18);
  box-shadow:
    0 30px 60px -30px rgba(196,106,0,.55),
    0 12px 24px -16px rgba(248,136,6,.45),
    inset 0 1px 0 rgba(255,255,255,.18);
  padding: 0;
  overflow: hidden;
}
.vcard-map--brand::before {
  background: linear-gradient(135deg, rgba(255,255,255,.35), transparent 40%, transparent 60%, rgba(255,255,255,.18));
}
.vcard-map--brand .map-wrap {
  padding: 0;
  perspective: none;
}
.vcard-map--brand .map-img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  filter: none;
  transform: none;
}
.vcard-map--brand .map-wrap:hover .map-img,
.vcard-map--brand .map-wrap:focus-visible .map-img {
  transform: none;
  filter: none;
}
.vcard-foot--on-brand {
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.18);
  padding: .75rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.18);
  font-weight: 500;
}
.vcard-foot--on-brand svg { color: #fff; }

.vcard-stat { padding: 1.75rem; }
.stat-label {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.65);
  margin-bottom: .5rem;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-value span { font-size: 1.75rem; color: rgba(255,255,255,.6); margin-left: .25rem; }
.stat-value small { display: block; font-family: var(--font-body); font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.6); letter-spacing: 0; margin-top: .35rem; }
.stat-bar {
  height: 8px; background: rgba(255,255,255,.08);
  border-radius: var(--r-pill);
  margin: 1rem 0 .75rem;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brand), #FFB74A);
  border-radius: var(--r-pill);
  animation: fillBar 1.6s var(--ease) .8s forwards;
}
@keyframes fillBar { to { width: 87%; } }
.stat-foot { font-size: .85rem; color: rgba(255,255,255,.55); }

.scroll-cue {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 14px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-cue span {
  width: 4px; height: 8px;
  background: var(--brand);
  border-radius: 2px;
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}
@media (max-width: 960px) { .scroll-cue { display: none; } }

/* ==========================================================================
   LOGO BAR
   ========================================================================== */
.logo-bar {
  background: #fff;
  padding: 3rem 0 3.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-bar-label {
  text-align: center;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--text-mute);
  margin-bottom: 2rem;
}
.logo-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  justify-items: center;
}
.logo-track img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  opacity: .72;
  filter: grayscale(25%);
  transition: opacity var(--t-base) var(--ease), filter var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.logo-track img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}
@media (max-width: 960px) { .logo-track { grid-template-columns: repeat(3, 1fr); row-gap: 1.5rem; } }
@media (max-width: 520px) { .logo-track { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-head .lede-light, .section-head .lede-dark { margin-inline: auto; margin-top: 1rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ----- SOBRE ----- */
.sobre { background: var(--paper); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.sobre + .ecossistema { padding-top: clamp(2.5rem, 5vw, 4rem); }
.sobre .two-col { align-items: start; }

/* Vídeo institucional — placeholder elegante (em breve)
   Quando o vídeo for aprovado, substituir o bloco interno por <iframe> YouTube. */
.video-institucional {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1a0f0b 0%, #2c1a10 50%, #3a2418 100%);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.45), 0 0 0 1px rgba(248,136,6,.18);
}
.video-institucional-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 70% 30%, rgba(248,136,6,.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(229,149,50,.14), transparent 65%);
  pointer-events: none;
}
.video-institucional-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
}
.video-institucional-tag {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.5rem;
  padding: .4rem 1rem;
  border: 1px solid rgba(248,136,6,.35);
  border-radius: var(--r-pill);
  background: rgba(248,136,6,.06);
  backdrop-filter: blur(8px);
}
.video-institucional-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse-soft 2s ease-in-out infinite;
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.25); }
}
.video-institucional-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .85rem;
  max-width: 18ch;
}
.video-institucional-lede {
  font-size: clamp(.95rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,.7);
  line-height: 1.55;
  max-width: 44ch;
  margin: 0 0 2rem;
}
.video-institucional-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
}
.video-institucional-play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}
@media (max-width: 560px) {
  .video-institucional { aspect-ratio: 4 / 3; }
  .video-institucional-play { width: 56px; height: 56px; }
  .video-institucional-play svg { width: 22px; height: 22px; }
}
.sobre .reveal:first-child { padding-top: 0; }
.check-list {
  display: grid; gap: .9rem;
  margin: 1.75rem 0 1.5rem;
}
.check-list li {
  display: flex; align-items: center; gap: .85rem;
  font-weight: 500;
  color: var(--ink-800);
}
.check-list svg {
  flex-shrink: 0;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px;
  border-radius: 50%;
  width: 28px; height: 28px;
}

/* Link contextual com seta — alternativa ao botão para CTAs secundárias */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 1px solid rgba(248,136,6,.4);
  padding-bottom: 2px;
  transition: color var(--t-base) var(--ease), border-color var(--t-base) var(--ease), gap var(--t-base) var(--ease);
}
.link-arrow svg { color: var(--brand); transition: transform var(--t-base) var(--ease); }
.link-arrow:hover {
  color: var(--brand);
  border-color: var(--brand);
  gap: .75rem;
}
.link-arrow:hover svg { transform: translateX(2px); }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.metric { min-width: 0; }
.metric-num, .metric-lbl { overflow-wrap: anywhere; }
.metric {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: left;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.metric:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.metric-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
  color: var(--ink-900);
  letter-spacing: -.03em;
  line-height: 1;
}
.metric-lbl {
  font-size: .9rem;
  color: var(--text-mute);
  margin-top: .75rem;
  line-height: 1.4;
}
.metric-accent {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}
.metric-accent .metric-num { color: var(--brand); }
.metric-accent .metric-lbl { color: rgba(255,255,255,.7); }

/* ----- PROCESSO ----- */
.processo {
  background: var(--ink-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.processo::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(248,136,6,.15), transparent 60%);
  pointer-events: none;
}
/* ----- JORNADA: timeline horizontal de 9 etapas ----- */
/* ----- JORNADA — Timeline (4 fases · 9 etapas) ----- */
.journey-timeline {
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
.journey-phases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
}
.journey-phase {
  flex: var(--phase-weight, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 .5rem;
  border-radius: var(--r-md);
  position: relative;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
}
.journey-phase[data-phase="2"] { background: rgba(248,136,6,.02); border-color: rgba(248,136,6,.1); }
.journey-phase[data-phase="3"] { background: rgba(248,136,6,.04); border-color: rgba(248,136,6,.18); }
.journey-phase[data-phase="4"] { background: rgba(248,136,6,.08); border-color: rgba(248,136,6,.28); }

.journey-phase-head {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: 0 1rem;
}
.journey-phase-key {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.journey-phase-label {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  line-height: 1.25;
}

.journey-steps {
  list-style: none;
  margin: 0;
  padding: .5rem .75rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  gap: .5rem;
  position: relative;
}
/* Conector horizontal entre os steps de uma fase */
.journey-steps::before {
  content: '';
  position: absolute;
  top: calc(.5rem + 30px);
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: rgba(248,136,6,.35);
  z-index: 0;
}
.journey-phase[data-phase="4"] .journey-steps::before { display: none; }

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  min-width: 0;
}
.journey-step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--brand);
  background: var(--ink-900);
  border: 2px solid rgba(248,136,6,.45);
  box-shadow: 0 0 0 5px var(--ink-900);
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.journey-phase[data-phase="2"] .journey-step-num { border-color: rgba(248,136,6,.6); }
.journey-phase[data-phase="3"] .journey-step-num { border-color: rgba(248,136,6,.85); }
.journey-phase[data-phase="4"] .journey-step-num { border-color: var(--brand); background: rgba(248,136,6,.12); }
.journey-step:hover .journey-step-num {
  transform: scale(1.08);
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}
.journey-step-name {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  line-height: 1.3;
  max-width: 14ch;
}

/* ----- Mobile: timeline vertical agrupada por fase ----- */
@media (max-width: 760px) {
  .journey-phases {
    flex-direction: column;
    gap: 1rem;
  }
  .journey-phase {
    flex: 1 1 auto;
    padding: 1.1rem 1.1rem 1rem;
    gap: .75rem;
  }
  .journey-phase-head {
    padding: 0;
    flex-direction: row;
    align-items: baseline;
    gap: .6rem;
  }
  .journey-phase-label { font-size: .88rem; }

  .journey-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
  .journey-steps::before { display: none; }

  .journey-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: .9rem;
    padding: .45rem 0;
    position: relative;
  }
  /* Conector vertical entre os steps */
  .journey-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 21px; /* center of 42px circle */
    top: calc(.45rem + 42px);
    bottom: -.05rem;
    width: 2px;
    background: rgba(248,136,6,.3);
  }
  .journey-step-num {
    width: 42px; height: 42px;
    font-size: .85rem;
    box-shadow: none;
    flex-shrink: 0;
  }
  .journey-step-name {
    text-align: left;
    max-width: none;
    flex: 1;
    font-size: .9rem;
  }
}

/* ----- 4 FASES executivas ----- */
.phases {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  position: relative;
}
@media (max-width: 760px) { .phases { grid-template-columns: 1fr; } }

.phase {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  overflow: hidden;
}
/* faixa lateral colorida progressiva por fase (espelha a timeline) */
.phase::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand);
  opacity: var(--phase-accent, .35);
}
.phase:nth-child(1) { --phase-accent: .35; }
.phase:nth-child(2) { --phase-accent: .55; }
.phase:nth-child(3) { --phase-accent: .75; }
.phase:nth-child(4) { --phase-accent: 1; }
.phase:hover {
  transform: translateY(-4px);
  background: rgba(248,136,6,.05);
  border-color: rgba(248,136,6,.32);
}
.phase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.phase-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .85rem;
  color: var(--brand);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.phase-tag {
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-pill);
  padding: .25rem .55rem;
  white-space: nowrap;
}
.phase-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
  margin: 0;
}
.phase-lede {
  font-size: .94rem;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
  margin: 0;
}
.phase-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin: .5rem 0 0;
  padding-top: .85rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.phase-items li {
  position: relative;
  padding-left: 1.2rem;
  font-size: .88rem;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
}
.phase-items li::before {
  content: '';
  position: absolute;
  left: 0; top: .55rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .7;
}

/* tag-link (Etapa 09 → 3P) */
.phase-tag--link {
  text-decoration: none;
  background: rgba(248,136,6,.08);
  border-color: rgba(248,136,6,.32);
  color: rgba(255,255,255,.78);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.phase-tag--link strong { color: var(--brand); font-weight: 700; }
.phase-tag--link:hover {
  background: rgba(248,136,6,.18);
  border-color: var(--brand);
  color: #fff;
}

/* CTA ao fim do Processo */
.processo-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(135deg, rgba(248,136,6,.12) 0%, rgba(248,136,6,.04) 100%);
  border: 1px solid rgba(248,136,6,.22);
  border-radius: var(--r-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.processo-cta-lede {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  color: #fff;
  margin: 0;
  flex: 1 1 280px;
  line-height: 1.3;
}
.processo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}
.processo-cta-btn svg { transition: transform var(--t-base) var(--ease); }
.processo-cta-btn:hover svg { transform: translateX(3px); }

/* Foco Imobi — esfera tem padding interno no PNG, compensar */
.eco-card:nth-child(3) .eco-brand img { max-height: 56px; }

/* ----- CASES ----- */
.cases { background: var(--ink-100); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: stretch;
}
.cases-grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) {
  .cases-grid { grid-template-columns: 1fr; }
  .cases-grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Página /cases/ (arquivo) ---------- */
.cases-archive { background: var(--ink-100); }
.cases-archive-hero {
  background: linear-gradient(180deg, var(--ink-900) 0%, #1f120c 100%);
  color: #fff;
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(3rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.cases-archive-hero .case-breadcrumb {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color var(--t-base) var(--ease);
}
.cases-archive-hero .case-breadcrumb:hover { color: var(--brand); }
.cases-archive-hero .case-breadcrumb svg { width: 16px; height: 16px; }
.cases-archive-hero .eyebrow { display: inline-flex; }
.cases-archive-hero .h-display { margin: .85rem 0 1rem; max-width: 18ch; }
.cases-archive-hero .lede-light { margin-top: 0; }
.cases-archive-list { background: var(--ink-100); padding-top: clamp(2.5rem, 5vw, 4rem); }
.cases-grid-archive { grid-template-columns: repeat(2, 1fr); margin-bottom: 1.5rem; }
@media (max-width: 960px) { .cases-grid-archive { grid-template-columns: 1fr; } }
.cases-archive-note {
  text-align: center;
  font-size: .9rem;
  color: var(--text-mute);
  font-style: italic;
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
}
.cases-archive-cta { background: var(--ink-900); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 5vw, 4.5rem); }

/* Cases tail — credibilidade quieta, não duplica o CTA do Processo */
.cases-tail {
  text-align: center;
  margin: clamp(1rem, 2vw, 1.5rem) 0 0;
  font-size: .92rem;
  color: var(--text-mute);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem .75rem;
  line-height: 1.5;
}
.case-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.case-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.case-pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.case-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(0,0,0,.5);
  color: #fff;
  padding: .4rem .8rem;
  border-radius: var(--r-pill);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
}
.case-tag-light { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.3); }

/* ============ Case card spotlight (v3) ============ */
.case-spotlight {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, #1A0F0B 0%, #2C1A10 60%, #3a2416 100%);
  color: #fff;
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.case-spotlight-solid {
  background: linear-gradient(135deg, #F88806 0%, #E57405 55%, #C46A00 100%);
  color: #fff;
}
.case-spotlight-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}
.case-spotlight-head-overlay {
  position: absolute;
  top: 1rem; left: 1rem; right: 1rem;
  z-index: 3;
}
.case-loc {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  font-variant-numeric: tabular-nums;
}
.case-loc-dark { color: rgba(255,255,255,.92); }
.case-loc-light { color: rgba(255,255,255,.92); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.case-type-dark { background: rgba(26,15,11,.92); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.case-spotlight-metric {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.case-spotlight-metric strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: .05rem;
}
.case-spotlight-metric strong em {
  font-size: .5em;
  font-style: normal;
  color: rgba(248,136,6,.72);
  font-weight: 700;
}
.case-spotlight-metric-dark strong { color: #fff; }
.case-spotlight-metric-dark strong em { color: rgba(255,255,255,.75); }
.case-spotlight-metric span {
  font-size: .88rem;
  line-height: 1.35;
  color: rgba(255,255,255,.78);
  max-width: 90%;
}
.case-spotlight-metric-dark span { color: rgba(255,255,255,.92); }
.case-deco {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: .9;
  transition: opacity var(--t-base) var(--ease), transform var(--t-slow) var(--ease);
}
.case-card-featured {
  box-shadow: var(--shadow-lg), 0 24px 60px -22px rgba(248,136,6,.4);
  border-color: rgba(248,136,6,.32);
  position: relative;
}
.case-card-featured::after {
  content: 'Destaque';
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 16px -4px rgba(248,136,6,.5);
  z-index: 3;
  pointer-events: none;
}
.case-card-featured:hover { box-shadow: var(--shadow-lg), 0 32px 80px -20px rgba(248,136,6,.5); }
.case-card:hover .case-deco { opacity: 1; transform: scale(1.03); }
.case-card:hover .case-spotlight { filter: brightness(1.05); }

/* New case card structure (v2) */
.case-trigger {
  all: unset;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  cursor: pointer;
  color: inherit;
  box-sizing: border-box;
}
.case-trigger:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: var(--r-lg); }
.case-type {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(248,136,6,.95);
  color: #fff;
  padding: .4rem .85rem;
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(248,136,6,.35);
}
.case-type-light { background: rgba(255,255,255,.95); color: var(--ink-900); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.case-meta {
  font-size: .78rem;
  color: var(--text-mute);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.case-result {
  color: var(--text-mute);
  margin-bottom: 1.5rem;
  line-height: 1.55;
  font-size: .95rem;
}
.case-hero-metric {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(248,136,6,.08), rgba(248,136,6,.02));
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-bottom: 1.25rem;
}
.case-hero-metric strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.case-hero-metric span {
  font-size: .88rem;
  color: var(--text-mute);
  line-height: 1.3;
}
.case-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}
.case-partner {
  font-size: .75rem;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: .35rem;
}
.case-partner::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .6;
}
.case-cta-hint {
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: .35rem;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
  transition: transform var(--t-base) var(--ease);
}
.case-card:hover .case-cta-hint { transform: translateX(3px); }

/* Video thumb (for hercilio card) */
.case-video-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1A0F0B;
}
.case-video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease), filter var(--t-base) var(--ease);
  filter: brightness(.88);
}
.case-card:hover .case-video-thumb img { transform: scale(1.05); filter: brightness(1); }
.case-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}
.case-play svg {
  width: 64px; height: 64px;
  background: rgba(248,136,6,.95);
  border-radius: 50%;
  padding: 16px 14px 16px 18px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  transition: transform var(--t-base) var(--ease);
}
.case-card:hover .case-play svg { transform: scale(1.08); }

@media (max-width: 640px) {
  .case-footer { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
.case-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-body h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.case-body p { color: var(--text-mute); margin-bottom: 1.5rem; }
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.case-stats div { display: flex; flex-direction: column; gap: .15rem; }
.case-stats strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.case-stats span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-mute);
}

/* ----- DEPOIMENTOS ----- */
.depoimentos {
  background: var(--ink-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.depoimentos::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(248,136,6,.12), transparent 60%);
  pointer-events: none;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}
@media (max-width: 960px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem 1.75rem;
  margin: 0;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(248,136,6,.35);
  background: rgba(248,136,6,.05);
}
.quote-mark {
  width: 36px; height: 36px;
  color: var(--brand);
  opacity: .9;
  margin-bottom: 1rem;
}
.testimonial blockquote {
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  margin: 0 0 1.75rem;
  font-weight: 400;
}
.testimonial figcaption { padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  color: #fff;
}
.testimonial-author span {
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-top: .15rem;
}

/* Avatar circular usado nos depoimentos */
.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g1, #F88806), var(--g2, #C46A00));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: .03em;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 20px -8px rgba(0,0,0,.35);
}
.team-avatar::before {
  content: attr(data-initials);
}
.team-avatar.small {
  width: 44px; height: 44px;
  font-size: .9rem;
}

/* ----- NEWSLETTER (faixa slim escura — extensão visual do podcast) ----- */
.newsletter-strip {
  background: linear-gradient(180deg, var(--ink-900) 0%, #14090b 100%);
  color: rgba(255,255,255,.92);
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
}
.newsletter-strip::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 50%; height: 200%;
  background: radial-gradient(circle, rgba(248,136,6,.08), transparent 65%);
  pointer-events: none;
}
.newsletter-strip-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) {
  .newsletter-strip-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
}

.newsletter-strip .h-display { margin-bottom: .85rem; max-width: 24ch; }
.newsletter-strip .lede-light { max-width: 58ch; margin-bottom: 1.25rem; }
.newsletter-strip-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
}
.newsletter-strip-tags li {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill);
  padding: .3rem .7rem;
}

.newsletter-strip-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem;
  align-items: stretch;
}
.newsletter-strip-form input[type="email"] {
  grid-column: 1 / 2;
  min-width: 0;
  padding: .95rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.newsletter-strip-form input[type="email"]::placeholder { color: rgba(255,255,255,.4); }
.newsletter-strip-form input[type="email"]:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(248,136,6,.18);
}
.newsletter-strip-form .btn {
  grid-column: 2 / 3;
  white-space: nowrap;
}
.newsletter-strip-form .newsletter-feedback {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.1em;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}
.newsletter-feedback[data-state="success"] { color: #7dd39a; }
.newsletter-feedback[data-state="error"]   { color: #f59393; }
.newsletter-strip-fineprint {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  font-style: italic;
}
@media (max-width: 520px) {
  .newsletter-strip-form { grid-template-columns: 1fr; }
  .newsletter-strip-form .btn { grid-column: 1 / -1; }
}

/* visually-hidden util (acessibilidade — esconde visualmente, mantém p/ leitor de tela) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ----- ECOSSISTEMA (5 marcas conectadas) ----- */
.ecossistema { background: var(--paper); }
.ecossistema .section-head { max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Grid em 2 fileiras hierárquicas:
   Linha 1 — Marcas de Coordenação (Lotenet + Eleva²): 2 cards grandes
   Linha 2 — Especialidades (Foco Imobi, 3P, Jornada): 3 cards normais
   Eleva² compartilha o pilar Coordenação e literalmente declara "powered by Lotenet". */
.eco-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin: 0;
}
.eco-grid > li:nth-child(1),
.eco-grid > li:nth-child(2) { grid-column: span 3; }
.eco-grid > li:nth-child(3),
.eco-grid > li:nth-child(4),
.eco-grid > li:nth-child(5) { grid-column: span 2; }

@media (max-width: 960px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-grid > li:nth-child(n) { grid-column: auto; }
}
@media (max-width: 560px) {
  .eco-grid { grid-template-columns: 1fr; gap: 1rem; }
}

.eco-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(248,136,6,.32);
}

/* Marcas de Coordenação (Lotenet + Eleva²) — destaque visual sutil
   (borda lateral acento + sombra base levemente mais profunda) */
.eco-grid > li:nth-child(1),
.eco-grid > li:nth-child(2) {
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 8px 24px -16px rgba(248,136,6,.18);
}
.eco-grid > li:nth-child(1)::before,
.eco-grid > li:nth-child(2)::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand) 0%, rgba(248,136,6,0) 100%);
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.eco-card-anchor {
  background: linear-gradient(160deg, var(--ink-900) 0%, #2c1a10 100%);
  color: #fff;
  border-color: transparent;
}
.eco-card-anchor::after {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(248,136,6,.18), transparent 60%);
  pointer-events: none;
}
.eco-card-anchor .eco-card-tag { color: var(--brand); border-color: rgba(248,136,6,.4); background: rgba(248,136,6,.1); }
.eco-card-anchor .eco-card-role { color: rgba(255,255,255,.78); }
.eco-card-anchor .eco-card-role strong { color: #fff; }
.eco-card-anchor .eco-card-kicker { color: rgba(255,255,255,.55); }
.eco-card-anchor .eco-brand-text { color: #fff; }

.eco-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 44px;
}

/* Logo image as the brand identifier (Foco Imobi, 3P) */
/* Container padronizado: garante que todas as logos tenham o mesmo "peso visual"
   independente de ter tagline embutida (Lotenet com CRECI, Eleva² com Powered by)
   ou ser só wordmark/ícone (Foco Imobi, 3P, Jornada). */
.eco-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 64px;
  max-width: 100%;
}
.eco-brand img {
  height: auto;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
/* Wordmark image — Jornada (logo já contém o nome, ocupa mais altura) */
/* Modifiers: padronizados pelo container .eco-brand acima (height: 64px).
   Logos com tagline (logo-full) usam toda a altura; ícones simples (wordmark) usam menos. */
.eco-brand--wordmark img { max-height: 44px; }
.eco-brand--logo-full img { max-height: 64px; }

/* Brand identifier as styled wordmark text (Lotenet, Eleva²) */
.eco-brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -.025em;
  line-height: 1;
  color: var(--ink-900);
  margin: 0;
}
.eco-brand-text sup {
  font-size: .6em;
  vertical-align: super;
  color: var(--brand);
  margin-left: 1px;
  font-weight: 700;
}

/* Kicker — pequeno rótulo de função entre o brand e a descrição */
.eco-card-kicker {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0;
}
.eco-card-tag {
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: rgba(0,0,0,.03);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: .28rem .6rem;
  white-space: nowrap;
}
.eco-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.01em;
  color: var(--ink-900);
  margin: 0;
  position: relative;
  z-index: 1;
}
.eco-card-anchor .eco-card-name { color: #fff; }
.eco-card-name sup { font-size: .62em; vertical-align: super; color: var(--brand); margin-left: 1px; }
.eco-card-role {
  font-size: .94rem;
  line-height: 1.55;
  color: var(--text-mute);
  margin: 0;
  position: relative;
  z-index: 1;
}
.eco-card-role strong { color: var(--ink-900); font-weight: 600; }

.eco-foot {
  margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0;
  padding: 0;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--text-mute);
  text-align: center;
  letter-spacing: .01em;
}
.eco-foot span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-900);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .eco-foot { display: none; }
}

/* shared row helper (used by other section heads) */
.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  max-width: none;
  margin-bottom: 3rem;
}
.section-head-row .h-display { margin-top: .25rem; }
@media (max-width: 720px) {
  .section-head-row { flex-direction: column; align-items: flex-start; }
}

/* ----- PODCAST ----- */
.podcast {
  background: linear-gradient(160deg, var(--ink-800) 0%, var(--ink-900) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.podcast::before {
  content: '';
  position: absolute;
  bottom: -300px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(248,136,6,.18), transparent 60%);
  pointer-events: none;
}
.podcast-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}
@media (max-width: 760px) {
  .podcast-wrap { grid-template-columns: 1fr; text-align: center; }
  .podcast-art { margin-inline: auto; }
  .podcast-copy .eyebrow { justify-content: center; }
}
.podcast-art {
  width: 280px; max-width: 100%;
  filter: drop-shadow(0 24px 40px rgba(248,136,6,.3));
}
.podcast-disc { animation: spin 20s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .podcast-disc { animation: none; } }

.podcast-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: .25rem;
}
.podcast-alt-platforms {
  display: flex;
  gap: .5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(255,255,255,.16);
  padding-left: 1rem;
}
.podcast-alt-platforms a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  transition: color var(--t-base) var(--ease), background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.podcast-alt-platforms a:hover {
  color: var(--brand);
  background: rgba(248,136,6,.1);
  border-color: rgba(248,136,6,.4);
  transform: translateY(-2px);
}
/* Logo em PNG renderizada como máscara → herda currentColor como os ícones SVG
   (70% branco normal, laranja no hover), mantendo o padrão da fileira. */
.platform-logo-mask {
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}
.platform-logo-mask--amazon {
  width: 34px; height: 20px;
  -webkit-mask-image: url("assets/logos/logo-amazon-music.png");
          mask-image: url("assets/logos/logo-amazon-music.png");
}
@media (max-width: 760px) {
  .podcast-actions { justify-content: center; }
  .podcast-alt-platforms { border-left: 0; padding-left: 0; }
}

/* ----- CONTATO ----- */
.contato { background: var(--paper); }
.contact-info {
  display: grid; gap: 1.25rem;
  margin-top: 2.5rem;
}
.contact-info li {
  display: flex; align-items: flex-start; gap: 1rem;
  font-weight: 500;
}
.contact-info svg {
  flex-shrink: 0;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 8px;
  border-radius: var(--r-md);
  width: 40px; height: 40px;
}
.contact-info a:hover { color: var(--brand); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
  display: grid; gap: 1.25rem;
}
.field { display: grid; gap: .5rem; }
.field label {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.field input, .field textarea {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: .9rem 1.1rem;
  font-size: 1rem;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  width: 100%;
  font-family: inherit;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(248,136,6,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #DC2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,.12);
}
.form-success {
  background: var(--brand-soft);
  color: var(--ink-800);
  border: 1px solid var(--brand);
  padding: 1rem;
  border-radius: var(--r-md);
  font-weight: 500;
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink-900);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.brand-mark-footer { width: 130px; }
.footer-tag { margin-top: 1rem; max-width: 28ch; font-size: .92rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h3 {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
.site-footer ul { display: grid; gap: .75rem; }
.site-footer a { font-size: .92rem; }
.site-footer a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.social-list {
  display: flex !important;
  flex-direction: row;
  gap: .6rem !important;
  margin-top: 1.25rem;
}
.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  transition: background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}
.social-list a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
}
.social-list svg { width: 18px; height: 18px; display: block; }

/* ==========================================================================
   WHATSAPP FAB (botão flutuante)
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.55), 0 6px 16px -6px rgba(0,0,0,.2);
  z-index: 90;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 40px -10px rgba(37,211,102,.7), 0 8px 20px -6px rgba(0,0,0,.25);
}
.whatsapp-fab:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.4s var(--ease) infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .55; }
  80%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-pulse { animation: none; } }
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate(8px, -50%);
  background: var(--ink-900);
  color: #fff;
  padding: .55rem .9rem;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  box-shadow: var(--shadow-md);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--ink-900);
}
@media (max-width: 720px) {
  .whatsapp-tooltip { display: none; }
  .whatsapp-fab {
    width: 52px;
    height: 52px;
    right: max(.85rem, env(safe-area-inset-right));
    bottom: max(.85rem, env(safe-area-inset-bottom));
  }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
/* Reveal: opt-in via data-reveal attribute set by JS for elements still off-screen at load */
.reveal {
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal[data-reveal="hidden"] {
  opacity: 0;
  transform: translateY(24px);
}
.reveal[data-reveal="in"] {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal[data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============ CASE PAGE (dedicated page per case) ============ */

.case-hero {
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(248,136,6,.16), transparent 60%),
    radial-gradient(ellipse 100% 80% at 20% 100%, rgba(94,44,20,.35), transparent 70%),
    var(--ink-900);
  color: #fff;
  padding: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)) 0 clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.case-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color var(--t-base) var(--ease);
}
.case-breadcrumb:hover { color: var(--brand); }
.case-breadcrumb svg { width: 16px; height: 16px; }
.case-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: .75rem;
  max-width: 780px;
}
.case-hero-type {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: .35rem .9rem;
  border-radius: var(--r-pill);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.case-hero-lede {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.82);
  max-width: 640px;
  line-height: 1.55;
  margin-bottom: 2rem;
}
.case-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.case-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-pill);
  font-size: .8rem;
  color: rgba(255,255,255,.88);
}
.case-chip strong { color: #fff; font-weight: 700; }

/* Video hero embed */
.case-video-hero {
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.5);
}
.case-video-hero iframe { width: 100%; height: 100%; border: 0; }
.case-video-link {
  position: relative;
  display: block;
  cursor: pointer;
  text-decoration: none;
}
.case-video-link img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.82);
  transition: filter var(--t-base) var(--ease), transform var(--t-slow) var(--ease);
}
.case-video-link:hover img { filter: brightness(1); transform: scale(1.03); }
.case-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}
.case-video-play svg {
  width: 92px; height: 92px;
  background: rgba(248,136,6,.98);
  border-radius: 50%;
  padding: 22px 20px 22px 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  transition: transform var(--t-base) var(--ease);
}
.case-video-link:hover .case-video-play svg { transform: scale(1.08); }
.case-video-badge {
  position: absolute;
  bottom: 1rem; right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(20,10,6,.85);
  color: #fff;
  padding: .55rem .95rem;
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
}
.case-video-badge svg { color: #FF0000; }

/* Case page content */
.case-content {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--paper);
}
.case-content .container { max-width: 860px; }
.case-section + .case-section { margin-top: 2.75rem; }

/* Hero das páginas de case v2 — grid 2 colunas: texto + vídeo */
.case-hero-v2 {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 880px) {
  .case-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.case-hero-text { min-width: 0; }
.case-hero-video { min-width: 0; }

.case-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--brand);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.case-hero-eyebrow-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(248,136,6,.18);
}

.case-hero-v2 .case-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  margin-bottom: 1rem;
}
.case-hero-v2 .case-hero-lede {
  margin-bottom: 1.75rem;
}

.case-hero-meta {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.case-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.65);
  font-size: .85rem;
}
.case-hero-meta-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--brand);
}

/* Embed de vídeo YouTube nas páginas de case */
.case-video-embed { margin: 0 0 clamp(2rem, 4vw, 3rem); }
.case-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.5), 0 0 0 1px rgba(248,136,6,.18);
}
.case-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Section "placeholder" enquanto dados completos do case não chegaram */
.case-section-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(248,136,6,.07) 0%, rgba(248,136,6,.02) 100%);
  border: 1px solid rgba(248,136,6,.22);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.6rem;
  margin-top: 2.75rem;
}
.case-note-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(248,136,6,.14);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.case-note-icon svg { width: 20px; height: 20px; }
.case-note-body { min-width: 0; }
.case-note-title {
  display: block;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: .25rem;
  font-size: 1rem;
}
.case-note-lede {
  margin: 0;
  color: var(--ink-700);
  font-size: .92rem;
  line-height: 1.6;
}

/* Cards "outros cases" v2 — thumb maior, play overlay, info melhor estruturada */
.case-related-card-v2 {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.case-related-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(248,136,6,.32);
}
.case-related-card-v2 .case-related-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--ink-100);
}
.case-related-card-v2 .case-related-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.45) 100%);
  pointer-events: none;
}
.case-related-play {
  position: absolute;
  bottom: .85rem;
  right: .85rem;
  z-index: 1;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.case-related-play svg { width: 16px; height: 16px; margin-left: 2px; }
.case-related-card-v2:hover .case-related-play {
  background: var(--brand);
  color: #fff;
  transform: scale(1.08);
}
.case-related-info {
  padding: 1rem 1.1rem 1.15rem;
}
.case-related-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .35rem;
}
.case-related-card-v2 strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-900);
  line-height: 1.25;
}
.case-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin-bottom: .85rem;
  color: var(--ink-900);
}
.case-section h2 .num {
  display: inline-block;
  width: 36px; height: 36px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  font-size: .9rem;
  font-weight: 800;
  margin-right: .6rem;
  vertical-align: middle;
}
.case-section p { color: var(--text); line-height: 1.7; font-size: 1.03rem; }
.case-section ul { list-style: none; padding: 0; }
.case-section ul li {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .65rem 0;
  color: var(--text);
  line-height: 1.6;
}
.case-section ul li::before {
  content: '';
  flex-shrink: 0;
  width: 10px; height: 10px;
  margin-top: .55rem;
  border-radius: 50%;
  background: var(--brand);
}

/* Before/after compare */
.case-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin: 1.5rem 0;
}
.case-compare-side {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  text-align: center;
}
.case-compare-side.after { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(248,136,6,.12); }
.case-compare-lbl {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: .5rem;
}
.case-compare-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  color: var(--ink-900);
  line-height: 1;
  margin-bottom: .4rem;
}
.case-compare-side.after .case-compare-val { color: var(--brand); }
.case-compare-sub { font-size: .85rem; color: var(--text-mute); }
.case-compare-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--brand);
}
@media (max-width: 720px) {
  .case-compare { grid-template-columns: 1fr; }
  .case-compare-arrow { transform: rotate(90deg); }
}

/* Results metrics grid */
.case-results {
  background: var(--ink-900);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  margin-top: 3.5rem;
  border-radius: var(--r-lg);
}
.case-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 720px) { .case-results-grid { grid-template-columns: 1fr; } }
.case-result-item { text-align: center; }
.case-result-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--brand);
  line-height: 1;
  margin-bottom: .4rem;
  font-variant-numeric: tabular-nums;
}
.case-result-item span {
  display: block;
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  line-height: 1.4;
}

/* Bottom CTA strip */
.case-cta-strip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-md);
}
.case-cta-strip h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  margin-bottom: .35rem;
  color: var(--ink-900);
}
.case-cta-strip p { color: var(--text-mute); font-size: .95rem; }
.case-cta-strip .btn-row { display: flex; gap: .6rem; flex-wrap: wrap; }

/* Related cases */
.case-related {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #fff;
  border-top: 1px solid var(--border);
}
.case-related h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 1.5rem;
}
.case-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 720px) { .case-related-grid { grid-template-columns: 1fr; } }
.case-related-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.case-related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.case-related-thumb {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: var(--r-md);
  background-size: cover; background-position: center;
}
.case-related-card strong { display: block; font-weight: 700; color: var(--ink-900); margin-bottom: .15rem; }
.case-related-card span { font-size: .82rem; color: var(--text-mute); }

/* Global reduced-motion fallback — cobre animações novas sem precisar editar cada keyframe */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   BLOG — Editorial experience (listagem + post individual)
   ========================================================================== */
:root {
  --font-editorial: 'Lora', Georgia, 'Times New Roman', serif;
}

/* Reading progress bar (fixed top) */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), #FFB74A);
  z-index: 150;
  transition: width 60ms linear;
}

