/* =========================================================
   Luan Riso — Brand Strategy
   Sistema visual inspirado na estrutura da Insany:
   fundo off-white, painéis escuros arredondados, tipografia
   display gigante e cartões brancos.
   ========================================================= */

:root {
  --bg: #F4F4F2;
  --card: #FFFFFF;
  --ink: #0B0B0A;
  --panel: #0D0D0C;
  --panel-2: #181816;
  --panel-3: #22221F;
  --muted: #6F6E69;
  --muted-2: #9A9892;
  --muted-dark: #8A8983;
  --line: rgba(11, 11, 10, .09);
  --line-dark: rgba(255, 255, 255, .1);
  --accent: #A33417;
  --accent-soft: rgba(163, 52, 23, .12);

  --r-section: 24px;  /* painéis e blocos grandes */
  --r-card: 20px;     /* cartões */
  --r-inner: 12px;    /* botões, campos, imagens e caixas dentro de cartões */
  --r-sm: 8px;        /* selos e etiquetas */
  --radius: var(--r-section);
  --radius-sm: var(--r-card);
  --gutter: 40px;
  --inset: 10px;
  --max: 1360px;
  /* borda da coluna de conteúdo (.wrap) medida a partir da lateral da tela */
  --lado: max(var(--inset), calc((100% - var(--max)) / 2 + var(--gutter)));
  --header: 72px;

  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bullet: url("../assets/marca/bullet.svg") center / contain no-repeat; /* bullet com o "o" do logo */
  --seta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 11.5 11.5 4.5M6 4.5h5.5V10'/%3E%3C/svg%3E") center / contain no-repeat;
  --onda: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 3 Q4 0.6 8 3 T16 3' fill='none' stroke='%23A33417' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* AGENTES FORA DO AR (temporário).
   Para voltar: trocar as duas regras abaixo por
   [data-sem-agentes] { display: none !important; }
   e ligar AGENTES = true em js/main.js */
[data-agentes] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 140px 0; }
.section--tight { padding: 96px 0; }
.panel {
  background: var(--panel);
  color: #fff;
  border-radius: var(--radius);
  margin: 0 var(--inset);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.panel .muted { color: var(--muted-dark); }
.panel > :not(.glow):not(.hero-visual):not(.badge-rot):not(.stars):not(.hero-side) { position: relative; z-index: 1; }

/* ---------- Tipografia ---------- */
.display {
  font-size: clamp(64px, 10vw, 150px);
  line-height: .92;
  letter-spacing: -.06em;
  font-weight: 600;
}
.h1 {
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 600;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 600;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 600;
}
.h4 { font-size: 22px; line-height: 1.2; letter-spacing: -.035em; font-weight: 600; }
.lead {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  letter-spacing: -.035em;
  font-weight: 500;
}
.body-lg { font-size: 18px; line-height: 1.6; letter-spacing: -.01em; color: #3A3935; }
.panel .body-lg { color: #BDBCB6; }
.small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.panel .small { color: var(--muted-dark); }
.muted { color: var(--muted-2); }
.accent { color: var(--accent); }
/* "Viva" no verde da fase Raiz */
.viva { color: #6E7614; }


/* Etiqueta com bolinha (● Por que nos escolher) */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  color: var(--ink);
}
.tag::before {
  content: ""; width: 18px; height: 18px;
  background: var(--ink);
  -webkit-mask: var(--bullet); mask: var(--bullet);
  flex: none;
}
.panel .tag { color: #fff; }
.panel .tag::before { background: #fff; }
.tag--accent::before { background: var(--accent) !important; }

.count { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: -.01em; }
.panel .count { color: var(--muted-dark); }

/* ---------- Botões ---------- */
.btn {
  --dot: #fff;
  display: inline-flex; align-items: center; gap: 22px;
  height: 52px; padding: 0 12px 0 24px;
  border-radius: var(--r-inner);
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .15s var(--ease);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ""; width: 28px; height: 28px; border-radius: 50%;
  background: var(--dot);
  -webkit-mask: var(--bullet); mask: var(--bullet);
  transform: scale(.55);
  transition: transform .4s var(--ease), background-color .3s var(--ease);
  flex: none;
}
.btn:hover::after, .btn--light:hover::after, .btn--ghost:hover::after, .panel .btn--ghost:hover::after {
  transform: scale(1); -webkit-mask: none; mask: none;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 18l8-8M11.5 10H18v6.5'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.btn:hover { background: #26251F; }

.btn:active { transform: scale(.97); }
.btn--light { background: #fff; color: var(--ink); --dot: var(--ink); }
.btn--light::after { background: var(--ink); }
.btn--light:hover { background: #EDEDEA; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11,11,10,.18); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { background: rgba(11,11,10,.05); }
.panel .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.panel .btn--ghost::after { background: #fff; }
.panel .btn--ghost:hover { background: rgba(255,255,255,.07); }
.panel .hero-card .btn--ghost, .panel .cta-card .btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11,11,10,.18); }
.panel .hero-card .btn--ghost:not(:hover)::after, .panel .cta-card .btn--ghost:not(:hover)::after { background: var(--ink); }
.panel .hero-card .btn--ghost:hover, .panel .cta-card .btn--ghost:hover { background: rgba(11,11,10,.05); }
.btn--sm { height: 40px; padding: 0 8px 0 18px; font-size: 14px; gap: 16px; }
.btn--sm::after { width: 24px; height: 24px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; letter-spacing: -.02em; padding-bottom: 5px;
  transition: color .2s ease;
}
.link-arrow:hover { color: var(--accent); }

/* ---------- Padrão de link (2026-10-11): sublinhado reto que vira onda terracota no hover + seta arredondada ---------- */
@keyframes onda-corre { to { background-position: 16px 50%; } }
.link-arrow, .foot-link { position: relative; }
.link-arrow::after, .foot-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1.5px; background: currentColor; transition: opacity .25s ease;
}
.link-arrow::before, .foot-link::before, .nav a::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 6px; opacity: 0; pointer-events: none;
  background: var(--onda) repeat-x 0 50% / 16px 6px; transition: opacity .25s ease;
}
.link-arrow:hover::after, .foot-link:hover::after { opacity: 0; }
.link-arrow:hover::before, .foot-link:hover::before, .nav a:hover::before { opacity: 1; animation: onda-corre 1.2s linear infinite; }
/* seta ↗ desenhada em SVG (pontas redondas); o caractere fica só para leitores de tela */
.arr {
  display: inline-block; flex: none; width: 12px; height: 12px; font-size: 0; color: inherit; vertical-align: middle;
  background: currentColor; -webkit-mask: var(--seta); mask: var(--seta);
  transition: transform .35s var(--ease), background-color .2s ease;
}
a:hover > .arr { transform: translate(2px, -2px); background: var(--accent); }

.chip {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px;
  border-radius: var(--r-sm); background: #EDEDEA; color: #3A3935;
  font-size: 14px; font-weight: 500; letter-spacing: -.015em; white-space: nowrap;
}
.panel .chip { background: rgba(255,255,255,.08); color: #D8D7D2; }
.chip--accent { background: var(--accent-soft); color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Logo (SVG novo, 2026-10-11) ---------- */
.logo { display: block; width: auto; flex: none; overflow: visible; }
/* Topo: logo horizontal + assinatura "Design Experience" com a mesma altura das letras.
   --h = altura do logo, --s = tamanho da assinatura */
.brand, .foot-assina { --h: 16px; --s: 7.5px; display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand .logo-h, .foot-assina .logo-h { height: var(--h); }
.brand small {
  display: flex; flex-direction: column; justify-content: space-between;
  height: calc(var(--h) + var(--s) * .3);
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 400;
  font-size: var(--s); line-height: 1; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
/* Logo com ícone e tagline (topo e rodapé, por enquanto) */
.brand .logo-completo { height: 34px; }
/* Rodapé */
.foot-assina { display: inline-flex; color: var(--ink); }
.foot-assina .logo-v { height: clamp(64px, 7.4vw, 124px); }
.foot-assina .logo-completo { height: 34px; } /* mesmo tamanho do topo */

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  background: rgba(244, 244, 242, .82);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transition: box-shadow .25s ease, transform .45s var(--ease);
}
.site-header[data-scrolled="1"] { box-shadow: 0 1px 0 var(--line); }
.site-header[data-hidden="1"] { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: clamp(8px, 3.4vw, 56px); }
.nav a {
  position: relative; font-size: 15px; font-weight: 500; letter-spacing: -.02em; padding: 6px 0;
  color: var(--ink);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transition: opacity .25s ease;
}
.nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover::after { opacity: 0; }
.header-cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute; left: 8px; right: 8px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header) 0 0 0; z-index: 49;
  background: var(--bg);
  display: flex; flex-direction: column; padding: 12px 24px 32px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.m-link {
  font-size: 34px; font-weight: 600; letter-spacing: -.05em; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(12px); opacity: 0; transition: transform .5s var(--ease), opacity .4s ease;
}
.menu-open .mobile-menu a.m-link { transform: none; opacity: 1; }
.mobile-menu a.m-link[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { margin-top: auto; justify-content: space-between; width: 100%; }

/* ---------- Hero (home) ---------- */
.hero {
  min-height: max(700px, calc(100vh - var(--header) - var(--inset)));
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 64px 48px 64px 7vw;
}
.hero-main { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 28px; }
.hero-title {
  font-size: clamp(40px, 5.2vw, 84px); line-height: 1.02; letter-spacing: -.05em; font-weight: 600;
  white-space: nowrap;
}
.word-pill {
  display: inline-flex; align-items: baseline;
  padding: .02em .3em .08em .32em; margin-left: .05em;
  border-radius: .2em; white-space: nowrap; vertical-align: baseline;
  transition: background-color .4s ease, color .4s ease;
}
/* o caractere invisível mantém a altura da pílula quando a palavra está vazia */
.wp-text::after { content: "\200b"; }
/* bullet da marca no fim da palavra, igual ao dos botões, na cor da palavra */
.wp-dot {
  display: inline-block; flex: none; align-self: center;
  width: .24em; height: .24em; margin-left: .14em;
  background: currentColor; -webkit-mask: var(--bullet); mask: var(--bullet);
  transform: translateY(.06em);
}

/* Planeta fica fixo atrás do texto: não se move quando a palavra muda de tamanho */
.hero-visual {
  position: absolute; z-index: 1; pointer-events: none;
  /* posição medida nas referências (944px e 1600px): o planeta começa em ~44% da largura e ~9% do topo */
  top: 9%; left: 44%;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual .tilt { position: relative; width: calc(33.5vw + 204px); will-change: transform; transition: transform .2s linear; }
.hero-visual video, .hero-visual .hero-reserva { width: 100%; height: auto; animation: float 6s ease-in-out infinite; }
.hero-visual [hidden] { display: none; }
@keyframes float { 0%, 100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }

.hero-intro {
  max-width: 34ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; letter-spacing: -.035em; font-weight: 400;
}
.hero-side {
  position: absolute; z-index: 3; right: 36px; bottom: 36px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px; width: clamp(320px, calc(7vw + 268px), 380px);
}
.hero-side-wm { font-size: 30px; color: #fff; margin-right: 26px; }
.hero-card {
  background: #fff; color: var(--ink); border-radius: var(--r-card); padding: clamp(20px, .6vw + 14px, 24px); width: 100%;
  display: flex; flex-direction: column; gap: clamp(16px, .6vw + 10px, 20px);
}
.hero-card p { font-size: clamp(13.5px, .45vw + 9.5px, 15px); line-height: 1.4; letter-spacing: -.01em; color: #3A3935; }
/* Céu de estrelas do hero */
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* Brilho que segue o mouse (painéis escuros): luz cinza, um pouco mais clara que o preto */
.glow {
  position: absolute; left: 0; top: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px;
  border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .03) 38%, transparent 66%);
  transition: opacity .6s ease;
  will-change: transform;
}

/* ---------- Logos ---------- */
.logos { padding: 72px 0 0; }
.logos-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(calc(-50% - 6px), 0, 0); } }
.logo-card {
  width: 208px; height: 124px; flex: none; background: #fff; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; padding: 30px;
}
.logo-card img { max-height: 44px; max-width: 132px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .9; transition: filter .3s ease, opacity .3s ease; }
.logo-card:hover img { filter: none; opacity: 1; }
/* ajuste ótico dos logos para todos terem o mesmo peso na faixa */
.logo-card--quadrado img { max-height: 70px; }                       /* Segredos do Malte: quadrado, precisa de mais altura */
.logo-card--menor img { max-height: 37px; max-width: 112px; }        /* Loginfo, Dedicato, Tomasi, Favolê: ~15% menores */

/* ---------- Cabeçalho de seção ---------- */
.sec-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: 56px;
}
.sec-head .aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 360px; }
.sec-head--split { grid-template-columns: 1.1fr 1fr; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }

/* ---------- Projetos ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
.proj { display: flex; flex-direction: column; gap: 6px; color: inherit; }
.proj--wide { grid-column: 1 / -1; }
.proj-media {
  position: relative; overflow: hidden; border-radius: var(--radius-sm); background: #E4E3DF;
  aspect-ratio: 1.38;
}
.proj--wide .proj-media { aspect-ratio: 2.4; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.proj:hover .proj-media img { transform: scale(1.045); }
/* provisório enquanto não há foto do projeto: logo centralizado */
.proj-media--logo { background: #fff; display: flex; align-items: center; justify-content: center; }
.proj-media--logo img { width: 40%; height: 40%; object-fit: contain; }
/* selo no canto inferior direito, para não cobrir rostos nas fotos */
.proj-media .proj-badge {
  position: absolute; bottom: 16px; right: 16px; z-index: 2;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.proj-cursor {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; letter-spacing: -.02em;
  transform: scale(0); transition: transform .45s var(--ease);
  pointer-events: none;
}
.proj:hover .proj-cursor { transform: scale(1); }
.proj-bar {
  background: #fff; border-radius: var(--r-card); padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.proj-bar .name { font-size: 18px; font-weight: 600; letter-spacing: -.035em; }
.proj-bar .cat { font-size: 14px; color: var(--muted); letter-spacing: -.01em; margin-left: 8px; }
.proj-bar .dots { display: inline-flex; gap: 4px; }
.proj-bar .dots i { width: 5px; height: 5px; border-radius: 50%; background: #C9C8C3; transition: background-color .3s ease; }
.proj:hover .proj-bar .dots i { background: var(--accent); }
.proj-desc { font-size: 15px; color: var(--muted); line-height: 1.5; padding: 4px 20px 0; max-width: 60ch; }
.soon { font-size: 13px; font-weight: 500; color: var(--muted); }

/* ---------- Serviços (acordeão) ---------- */
.services { padding: 120px 48px 56px; }
.services-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 64px; }
.acc { border-top: 1px solid var(--line-dark); }
.acc-item { border-bottom: 1px solid var(--line-dark); }
.acc-btn {
  width: 100%; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 16px;
  padding: 28px 0; text-align: left;
}
.acc-num { font-size: 14px; color: var(--muted-dark); font-weight: 500; }
.acc-title { font-size: clamp(24px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.05em; line-height: 1.1; transition: transform .45s var(--ease), color .3s ease; }
.acc-btn:hover .acc-title { transform: translateX(8px); }
.acc-icon {
  width: 40px; height: 40px; border-radius: 50%; position: relative; flex: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: background-color .3s ease, transform .45s var(--ease);
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px; margin: -.9px 0 0 -7px;
  border-radius: 2px; /* pontas arredondadas, mesmo traço das setas */
  background: #fff; transition: transform .45s var(--ease);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-item.is-open .acc-icon { background: #fff; }
.acc-item.is-open .acc-icon::before, .acc-item.is-open .acc-icon::after { background: var(--ink); }
.acc-item.is-open .acc-icon::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-content {
  display: grid; grid-template-columns: 110px 1fr 1fr; gap: 16px 40px; padding: 0 0 36px;
}
.acc-content > p { grid-column: 2; font-size: 18px; line-height: 1.55; color: #BDBCB6; max-width: 46ch; letter-spacing: -.01em; }
.acc-content .apps { grid-column: 3; display: flex; flex-direction: column; gap: 14px; }
.acc-content .apps > span { font-size: 13px; color: var(--muted-dark); }
.services-foot { display: flex; justify-content: flex-start; padding-top: 48px; }
/* versão clara do acordeão */
.acc--light { border-top-color: var(--line); }
.acc--light .acc-item { border-bottom-color: var(--line); }
.acc--light .acc-num { color: var(--muted); }
.acc--light .acc-icon { box-shadow: inset 0 0 0 1px rgba(11,11,10,.2); }
.acc--light .acc-icon::before, .acc--light .acc-icon::after { background: var(--ink); }
.acc--light .acc-item.is-open .acc-icon { background: var(--ink); }
.acc--light .acc-item.is-open .acc-icon::before, .acc--light .acc-item.is-open .acc-icon::after { background: #fff; }
.acc--light .acc-content > p { color: #3A3935; }

/* ---------- Método (cards) ---------- */
.why { display: grid; grid-template-columns: 1fr 2.2fr; gap: 12px; }
.why-feature {
  background: #E6E5E1; border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 560px;
}
/* imagem 30% menor que o box e sempre centralizada, em qualquer tamanho de tela */
.why-feature img {
  position: absolute; top: 50%; left: 50%; width: 70%; height: 70%; object-fit: contain;
  transform: translate(-50%, -50%); max-width: none; pointer-events: none; transition: transform 1.2s var(--ease);
}
.why-feature:hover img { transform: translate(-50%, -50%) rotate(-6deg) scale(1.04); }
.why-feature .bottom { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.why-feature .bottom .h3 { color: var(--ink); }
.why-feature .top { position: relative; z-index: 1; }
.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.phase {
  background: #fff; border-radius: var(--r-card); padding: 24px; min-height: 274px;
  display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden;
}
.phase-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.phase-top .n { font-size: 13px; color: var(--muted); font-weight: 500; }
.phase-img { width: 108px; height: 108px; border-radius: var(--r-inner); overflow: hidden; margin-top: auto; align-self: flex-end;
  transition: transform .6s var(--ease); transform-origin: bottom right; }
.phase-img img { width: 100%; height: 100%; object-fit: cover; }
.phase:hover .phase-img { transform: scale(1.12) rotate(-3deg); }
.phase p { color: var(--muted); font-size: 15px; line-height: 1.45; max-width: 22ch; }
/* Enxerto (contrato anual) em destaque entre as fases */
.phase--destaque { background: var(--panel); color: #fff; transition: transform .5s var(--ease); }
.phase--destaque:hover { transform: translateY(-4px); }
.phase--destaque .n { color: var(--muted-dark); }
.phase--destaque p { color: #BDBCB6; }
.phase--destaque .chip { align-self: flex-start; height: 28px; font-size: 12.5px; background: rgba(224, 102, 74, .16); color: #F0A48F; }

/* destaques de endomarketing / employer branding no painel escuro de serviços */
.destaque-claro { display: block; margin-top: 12px; color: #fff; font-weight: 600; }
.panel .chip--claro { background: rgba(224, 102, 74, .16); color: #F0A48F; }
.phase-row .body p strong { color: var(--ink); font-weight: 600; }

/* faixa de destaque dentro de uma fase (Método) */
.highlight {
  background: var(--panel); color: #fff; border-radius: var(--r-card); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 12px; max-width: 52ch;
}
.highlight .tag { color: #fff; }
.highlight b { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; }
[id] { scroll-margin-top: calc(var(--header) + 24px); }

/* ---------- Bloco "branco grande" (Quem faz / Como começa) ---------- */
.big-card { background: #fff; border-radius: var(--radius); padding: 56px; margin: 0 var(--inset); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.about-photo { border-radius: var(--radius-sm); overflow: hidden; min-height: 520px; position: relative; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transform-origin: top; transition: transform .9s var(--ease); }
.about-photo:hover img { transform: scale(1.045); }
.about-text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 8px 0; }
/* Home "Quem faz": bloco mais baixo, texto e botão agrupados no meio */
.about-grid--compacto .about-photo { min-height: 420px; }
.about-grid--compacto .about-text { justify-content: center; gap: 32px; }
.statement { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.16; letter-spacing: -.045em; font-weight: 500; }
.statement .muted { color: #A3A29C; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 64px; }
.step {
  background: var(--panel); color: #fff; border-radius: var(--r-card); padding: 28px; min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; overflow: hidden;
}
.step img { width: 128px; height: auto; align-self: flex-end; transition: transform .7s var(--ease); }
.step:hover img { transform: translateY(-6px) rotate(-4deg) scale(1.05); }
.step .n { font-size: 13px; color: var(--muted-dark); }
.step p { color: #BDBCB6; font-size: 15px; line-height: 1.5; }

/* ---------- Repertório (painel escuro) ---------- */
.rep { padding: 120px 48px; }
.rep-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: 72px; }
.rep-head .h2 { font-size: clamp(40px, 5.4vw, 86px); letter-spacing: -.06em; line-height: .98; }
.rep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rep-grid--3 { grid-template-columns: repeat(3, 1fr); }
/* Sobre: título de 3 linhas à esquerda, texto único à direita com a mesma altura */
.rep-head--sobre { grid-template-columns: 1.1fr 1fr; align-items: end; }
.rep-head--sobre .body-lg { color: #BDBCB6; }
.rep-head--sobre .h2 { font-size: clamp(34px, 4.3vw, 70px); }
.rep-card {
  background: var(--panel-2); border-radius: var(--r-card); padding: 12px 12px 24px;
  display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line-dark);
}
.rep-img { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; background: #1f1f1c; display: flex; align-items: center; justify-content: center; }
/* peça em 60% do quadro (40% menor), centralizada, sem cortar */
.rep-img img { width: 60%; height: 60%; object-fit: contain; transition: transform .6s var(--ease); }
.rep-card:hover .rep-img img { transform: scale(1.06); }
.rep-card .h4 { padding: 0 8px; }
.rep-card p { padding: 0 8px; color: #A9A8A2; font-size: 15px; line-height: 1.5; }
/* Azul do repertório (do design original do Claude Design): azul sólido, sem brilho do mouse */
.panel.rep { background: #24456B; }
.panel.rep .glow { display: none; }
.panel.rep .body-lg, .panel.rep .rep-head--sobre .body-lg { color: #CFDAE4; }
.panel.rep .muted { color: #9FB3C8; }
.panel.rep .rep-card { background: #16304C; border-color: rgba(207,218,228,.10); }
.panel.rep .rep-img { background: #1B3958; }
.panel.rep .rep-card p { color: #CFDAE4; }
.badge-rot {
  position: absolute; top: 40px; right: 40px; width: 132px; height: 132px; z-index: 1;
  animation: spin 18s linear infinite; color: #fff; opacity: .85;
}
.badge-rot text { font-size: 9.5px; letter-spacing: .08em; fill: currentColor; font-family: var(--f-sans); font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quote {
  margin: 0; background: #fff; border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.quote-brand { font-size: 20px; font-weight: 600; letter-spacing: -.035em; }
/* nome da marca à esquerda, selo à direita; se não couber, o selo desce */
.quote-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; }
.quote .quote-top .chip { align-self: center; height: 24px; padding: 0 8px; font-size: 11px; letter-spacing: -.01em; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.55; letter-spacing: -.02em; color: #3A3935; }
.quote figcaption { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--muted); }
.quote:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(11,11,10,.25); }
.quote-head { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.avatar {
  width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; letter-spacing: -.02em;
}
.quote-head .who { display: flex; flex-direction: column; }
.quote-head .who b { font-weight: 600; letter-spacing: -.03em; }
.quote-head .who span { font-size: 13px; color: var(--muted); }
.quote p { font-size: 17px; line-height: 1.5; letter-spacing: -.02em; margin-top: auto; }
.quote .chip { align-self: flex-start; height: 28px; font-size: 12.5px; }

/* Destaque de depoimento (painel escuro) */
.featured-quote { padding: 120px 48px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.featured-quote blockquote {
  margin: 0; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -.045em; font-weight: 500;
}

/* ---------- CTA "Vamos conversar" ---------- */
.cta { padding: 96px 48px 48px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; }
/* texto e cartão branco centralizados na altura do painel, com o mesmo respiro em cima e embaixo */
.cta--meio { padding-top: 72px; padding-bottom: 72px; align-items: center; }
.cta--meio .cta-card { align-self: center; }
/* dois botões empilhados à direita */
.cta-botoes { display: flex; flex-direction: column; gap: 10px; align-self: center; justify-self: end; min-width: 260px; }
.cta-botoes .btn { justify-content: space-between; }
.cta .h1 { font-size: clamp(44px, 5.8vw, 92px); }
/* CTA centralizado (final dos cases): título e botão no centro do cartão */
.cta--centro { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 36px; padding: 96px 48px; }
.cta--centro .h1 { max-width: 16ch; }
.cta--centro .stack { align-items: center; }
.cta--centro .btn-row { justify-content: center; }
.cta-points { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 40px; margin-top: 48px; border-top: 1px solid var(--line-dark); }
.cta-points b { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.cta-points b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cta-points p { color: #A9A8A2; font-size: 15px; }
.cta-card {
  background: #fff; color: var(--ink); border-radius: var(--r-card); padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 420px; align-self: stretch;
}
.cta-card .inner { background: #F1F1EE; border-radius: var(--r-inner); padding: 20px; display: flex; flex-direction: column; gap: 18px; }

/* ---------- Footer ---------- */
.site-footer { padding: 120px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-bio { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.foot-bio p { font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; letter-spacing: -.035em; line-height: 1.25; max-width: 24ch; }
.foot-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 18px; letter-spacing: -.03em;
  padding-bottom: 7px; transition: color .2s ease;
}
.foot-link:hover { color: var(--accent); }
.foot-link .arr { color: var(--muted-2); }
/* redes no painel escuro do contato: mesmo formato do rodapé (nome + seta) */
.cta-points .cta-redes { display: flex; flex-direction: column; gap: 2px; }
.cta-redes a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 17px; letter-spacing: -.03em; padding: 2px 0; transition: color .2s ease; }
.cta-redes a:hover { color: var(--accent); }
.cta-redes .arr { width: 11px; height: 11px; color: #8A8983; }
.foot-col h4 { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.foot-col a { display: flex; align-items: center; gap: 6px; font-size: 18px; letter-spacing: -.03em; padding: 3px 0; transition: color .2s ease; }
.foot-col a:hover { color: var(--accent); }
.foot-col a .arr { color: var(--muted-2); }
.foot-big { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 72px 0 40px; }
.foot-big p { font-size: 18px; letter-spacing: -.03em; color: var(--muted); }
.foot-bar { background: var(--ink); color: #fff; }
.foot-bar .wrap { display: flex; justify-content: center; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: 13px; color: #BDBCB6; }

/* ---------- Páginas internas ---------- */
.page-hero { padding: 88px 0 72px; }
.page-hero .h1 { max-width: 16ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end; }
.page-hero-dark { padding: 88px 48px 56px; min-height: calc(88svh - var(--header)); display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.page-hero-dark .visual { align-self: center; position: relative; z-index: 1; }
.page-hero-dark .visual img { width: 100%; max-width: 560px; margin-left: auto; animation: float 7s ease-in-out infinite; }
.page-hero-dark .text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 28px; }

/* Topo do Método: simples, só texto, sem painel escuro */
.metodo-hero { padding: 88px 0 56px; }
.metodo-hero-grid { display: block; }
.metodo-hero .text { display: flex; flex-direction: column; gap: 28px; }
.metodo-hero + .section { padding-top: 0; }
/* linha de separação entre o topo e o conteúdo (mesma do Método) */
.divisor { border: 0; border-top: 1px solid var(--line); margin: 0 0 56px; }

/* Fases do método (linhas) */
.phase-rows { border-top: 1px solid var(--line); }
.phase-row {
  display: grid; grid-template-columns: 300px 1fr 280px; gap: 48px; padding: 56px 0; border-bottom: 1px solid var(--line);
}
.phase-row .id { display: flex; flex-direction: column; gap: 20px; }
.phase-row .id .thumb { width: 132px; height: 132px; border-radius: var(--r-card); overflow: hidden; transition: transform .6s var(--ease); }
.phase-row .id .thumb img { width: 100%; height: 100%; object-fit: cover; }
/* igual à Home: o quadro inteiro cresce e gira, não só a imagem dentro dele */
.phase-row:hover .id .thumb { transform: scale(1.12) rotate(-3deg); }
.phase-row .id .n { font-size: 14px; color: var(--muted); font-weight: 500; }
.phase-row .id .h2 { font-size: clamp(40px, 4.6vw, 68px); }
.phase-row .body { display: flex; flex-direction: column; gap: 20px; }
.phase-row .body p { font-size: 19px; line-height: 1.55; letter-spacing: -.015em; color: #3A3935; max-width: 52ch; }
.phase-row .meta { background: #fff; border-radius: var(--r-card); padding: 22px; align-self: start; display: flex; flex-direction: column; gap: 18px; }
.phase-row .meta span { font-size: 13px; color: var(--muted); display: block; margin-bottom: 4px; }
.phase-row .meta b { font-weight: 600; letter-spacing: -.025em; font-size: 16px; line-height: 1.35; display: block; }

/* Cards 2x2 (agentes) */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card {
  background: #fff; border-radius: var(--r-card); padding: 36px; display: flex; flex-direction: column; gap: 18px; min-height: 320px;
}
.card .body-lg { margin-top: auto; }
/* Trajetória: texto logo abaixo do título, alinhado entre os cartões */
.traj .card { min-height: 0; }
.traj .card .body-lg { margin-top: 0; }
.card-dark { background: var(--panel-2); border: 1px solid var(--line-dark); color: #fff; border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.card-dark img { width: 120px; align-self: flex-end; transition: transform .7s var(--ease); }
.card-dark:hover img { transform: translateY(-6px) rotate(-4deg) scale(1.05); }
.card-dark .n { font-size: 13px; color: var(--muted-dark); }
.card-dark p { color: #A9A8A2; font-size: 15px; line-height: 1.5; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.list-card { background: var(--panel-2); border: 1px solid var(--line-dark); border-radius: var(--r-card); padding: 32px; }
.list-card ul { display: flex; flex-direction: column; margin-top: 18px; }
.list-card li { padding: 14px 0; border-top: 1px solid var(--line-dark); color: #D8D7D2; font-size: 16px; letter-spacing: -.015em; display: flex; gap: 12px; }
.list-card li::before { content: "+"; color: var(--accent); font-weight: 600; }
.list-card--no li::before { content: "–"; color: var(--muted-dark); }

/* Estatísticas (contagem) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stat .num { font-size: clamp(56px, 6.4vw, 96px); font-weight: 500; letter-spacing: -.06em; line-height: 1; display: block; margin-bottom: 18px; }
.stat b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.stat p { font-size: 14px; color: var(--muted); max-width: 20ch; }
.panel .stats { border-bottom-color: var(--line-dark); }

/* ---------- Cases ---------- */
.case-hero { padding: 72px 0 56px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 40px; transition: color .2s ease, gap .3s var(--ease); }
.back:hover { color: var(--ink); gap: 12px; }
.case-hero .display { margin-bottom: 32px; }
.case-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.case-cover { margin: 0 var(--inset); border-radius: var(--radius); overflow: hidden; background: #E4E3DF; }
.case-cover img { width: 100%; height: auto; }
.case-sec { padding: 120px 0 0; }
.case-sec:last-of-type { padding-bottom: 0; }
.row-2 { display: grid; grid-template-columns: 280px 1fr; gap: 56px; }
.row-2 > .label { position: sticky; top: calc(var(--header) + 24px); align-self: start; display: flex; flex-direction: column; gap: 10px; }
.row-2 > .label .kicker { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: -.005em; }
.prose { display: flex; flex-direction: column; gap: 20px; max-width: 68ch; }
.prose p { font-size: 19px; line-height: 1.62; letter-spacing: -.015em; color: #3A3935; }
.prose .h2 + p, .prose .h3 + p { margin-top: 4px; }
.pull, .prose p.pull { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -.04em; font-weight: 500; color: var(--ink); max-width: 36ch; }
.pull--brand, .prose p.pull--brand { color: var(--brand, var(--accent)); }
.panel .pull { color: #fff; }
.figure { border-radius: var(--r-card); overflow: hidden; background: #E4E3DF; }
.figure img { width: 100%; height: auto; }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.figure-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.figure-trio figure, .figure-pair figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.figure-trio figcaption, .figure-pair figcaption { font-size: 13px; color: var(--muted); padding-left: 4px; }
.placeholder {
  border: 1.5px dashed rgba(11,11,10,.2); border-radius: var(--r-card); min-height: 320px;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted); letter-spacing: .02em;
}
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pillar { background: #fff; border-radius: var(--r-card); padding: 28px; min-height: 240px; display: flex; flex-direction: column; gap: 12px; }
.pillar .k { font-size: 13px; color: var(--brand, var(--accent)); font-weight: 600; }
.pillar p { color: var(--muted); margin-top: auto; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.swatch { display: flex; flex-direction: column; gap: 10px; }
.swatch i { height: 150px; border-radius: var(--r-inner); display: block; box-shadow: inset 0 0 0 1px rgba(11,11,10,.06); }
.swatch span { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted); }
.word-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.word-cloud span {
  font-size: clamp(22px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.05em;
  background: #fff; border-radius: var(--r-inner); padding: 10px 26px;
  transition: background-color .3s ease, color .3s ease;
}
.word-cloud span:hover { background: var(--brand, var(--accent)); color: #fff; }
.case-quote { background: #fff; border-radius: var(--radius); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.case-quote blockquote { margin: 0; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; letter-spacing: -.035em; font-weight: 500; }
.case-quote .who { font-size: 14px; color: var(--muted); margin-top: 20px; display: block; }
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.icon-card { border-radius: var(--r-card); padding: 28px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(230, 254, 130, .18); }
.icon-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.icon-card .top span { font-size: 13px; color: rgba(230,254,130,.7); }
.icon-card b { font-size: 20px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }

/* ---------- Case no padrão novo (modelo: favole.html) ---------- */
.cx-hero { padding: 72px 0 72px; }
.cx-sec { padding: 96px 0 0; }
.cx-row { display: grid; grid-template-columns: 280px 1fr; gap: 24px 56px; align-items: start; }
.cx-row > .tag { padding-top: .35em; }
.cx-row > .lead, .cx-txt { max-width: 720px; }
.cx-txt { display: flex; flex-direction: column; gap: 20px; }
.cx-txt p { font-size: 18px; line-height: 1.6; letter-spacing: -.01em; color: #3A3935; }
.cx-txt p strong { color: var(--ink); font-weight: 600; }
.cx-txt .stats { padding: 12px 0 28px; }
.cx-txt .stat .num { font-size: clamp(40px, 4.4vw, 64px); white-space: nowrap; margin-bottom: 12px; }
.cx-txt .pillars { margin: 8px 0; }
.cx-txt .pillar { min-height: 0; }

/* ficha técnica: rótulo à esquerda, valor à direita */
.cx-ficha { margin: 0; border-top: 1px solid var(--line); }
.cx-ficha > div { display: grid; grid-template-columns: 280px 1fr; gap: 56px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cx-ficha dt { font-size: 14px; color: var(--muted); }
.cx-ficha dd { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: -.015em; }
.cx-ficha--curta > div { grid-template-columns: 120px 1fr; gap: 24px; padding: 12px 0; }

/* imagens */
.cx-img { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 1.63; background: #E4E3DF; margin-top: 56px; }
.cx-img img { width: 100%; height: 100%; object-fit: cover; }
.cx-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 56px; }
.cx-trio img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); background: #E4E3DF; }
.cx-lista { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.cx-lista li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; letter-spacing: -.015em; color: #3A3935; position: relative; }
.cx-lista li::before { content: ""; position: absolute; left: 4px; top: 1.3em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand, var(--accent)); }
.cx-lista li b { color: var(--ink); font-weight: 600; }

/* cartões de cor (style guide) */
.cx-cores { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 56px; }
/* cartão de cor chapado: cor da marca + 3 tons (mais clara, a cor no meio, mais escura) */
.cor {
  position: relative; min-height: 200px; border-radius: var(--r-card); padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 4px; color: var(--ink); background: var(--c);
}
.cor small { font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.cor span { font-size: 17px; font-weight: 600; letter-spacing: -.025em; }
.cor .tons { display: flex; gap: 8px; margin: auto 0 16px; }
.cor .tons i { width: 22px; height: 22px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px rgba(11,11,10,.12); }
.cor .tons i:nth-child(1) { background: color-mix(in srgb, var(--c) 50%, #fff); }
.cor .tons i:nth-child(2) { background: var(--c); }
.cor .tons i:nth-child(3) { background: color-mix(in srgb, var(--c) 60%, #000); }
.cor p { display: flex; justify-content: space-between; align-items: baseline; }
.cor p em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .06em; opacity: .7; }
.cor p b { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; font-weight: 500; }
/* preto: texto claro; tons definidos à mão para aparecerem no fundo escuro */
.cor--escura { color: #fff; }
.cor--escura .tons i { box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.cor--preta .tons i:nth-child(1) { background: #6A6A6E; }
.cor--preta .tons i:nth-child(3) { background: #000; }
/* branco: contorno para destacar do fundo da página; tons vão do branco ao cinza claro */
.cor--branca { box-shadow: inset 0 0 0 1px rgba(11,11,10,.1); }
.cor--branca .tons i:nth-child(1) { background: #FFFFFF; }
.cor--branca .tons i:nth-child(2) { background: #F1F1EE; }
.cor--branca .tons i:nth-child(3) { background: #D6D5D0; }/* mostruário de fontes (2 cartões) */
.cx-fontes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.fonte { background: #fff; border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.fonte-topo { display: flex; flex-direction: column; gap: 4px; }
.fonte-topo small { font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fonte-topo span { font-size: 22px; font-weight: 600; letter-spacing: -.035em; }
.fonte img { width: 100%; height: auto; margin-top: auto; }

/* cartões de imagem (padrão Insany): a peça fica inteira sobre um fundo na cor da marca */
.cx-palcos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.palco {
  background: var(--fundo, #E4E3DF); border-radius: var(--r-card); overflow: hidden;
  aspect-ratio: 1.11; display: flex; align-items: center; justify-content: center; padding: 6% 0;
}
.palco--largo { grid-column: 1 / -1; aspect-ratio: 2.07; padding: 3.5% 0; }
.palco img { height: 100%; width: auto; max-width: 90%; object-fit: contain; border-radius: var(--r-inner); box-shadow: 0 24px 48px -28px rgba(11,11,10,.45); transition: transform .8s var(--ease); }
.palco:hover img { transform: translateY(-6px); }
/* peça com fundo transparente (composição): sem sombra nem canto, largura cheia, altura segue a imagem */
.palco--solto img { box-shadow: none; border-radius: 0; }
.palco--largo.palco--solto { aspect-ratio: auto; padding: 4.5% 5%; }
.palco--largo.palco--solto img { width: 100%; max-width: 100%; height: auto; }
.cx-capa { margin-top: 56px; }
/* espaço reservado até chegar a imagem */
.palco--vazio span { font-size: 14px; color: rgba(255,255,255,.7); border: 1.5px dashed rgba(255,255,255,.35); border-radius: var(--r-inner); padding: 10px 16px; }
.palco--vazio[style*="#E6FE82"] span { color: rgba(11,11,10,.55); border-color: rgba(11,11,10,.25); }
.cx-palcos--3 { grid-template-columns: repeat(3, 1fr); }
.cx-palcos--3 .palco { aspect-ratio: .9; padding: 8% 0; }

/* depoimento do cliente (cartão único, sem imagem) */
.cx-depo { margin: 56px 0 0; background: #fff; border-radius: var(--r-card); padding: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 56px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
/* mesmo padrão das seções: rótulo = título .h3; texto = parágrafo de apoio (.cx-txt p) */
.cx-depo-rotulo { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -.05em; font-weight: 600; color: var(--ink); }
.cx-depo blockquote { margin: 0; font-size: 18px; line-height: 1.6; letter-spacing: -.01em; font-weight: 400; color: #3A3935; max-width: 60ch; display: flex; flex-direction: column; gap: 16px; }
.cx-depo figcaption { font-size: 15px; color: var(--muted); }

/* prêmio + depoimento */
.cx-premio { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; margin-top: 56px; }
.cx-premio img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.cx-quote { margin: 0; background: #fff; border-radius: var(--r-card); padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.cx-quote blockquote { margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; letter-spacing: -.035em; font-weight: 500; }
.cx-quote figcaption { font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .cx-row, .cx-ficha > div { grid-template-columns: 1fr; gap: 16px; }
  .cx-ficha > div { gap: 4px; }
  .cx-cores { grid-template-columns: repeat(3, 1fr); }
  .cx-premio { grid-template-columns: 1fr; }
  .cx-fontes { grid-template-columns: 1fr; }
  .cx-premio img { width: 70%; }
}
@media (max-width: 760px) {
  .cx-sec { padding-top: 72px; }
  .cx-img { aspect-ratio: 1.2; margin-top: 40px; }
  .cx-capa { margin-top: 40px; }
  .cta-botoes { justify-self: stretch; min-width: 0; }
  .cx-txt p, .cx-depo blockquote { font-size: 17px; }
  /* trio vira carrossel de deslizar para não empilhar 3 imagens altas */
  .cx-trio { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 40px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .cx-trio::-webkit-scrollbar { display: none; }
  .cx-trio img { flex: 0 0 78%; scroll-snap-align: start; }
  .cx-cores { grid-template-columns: repeat(2, 1fr); }
  .cx-cores > div { min-height: 170px; }
  .cx-quote { padding: 28px; }
  .cx-palcos { grid-template-columns: 1fr; }
  .palco, .palco--largo { aspect-ratio: 1; padding: 8% 0; }
  /* celular: o cartão largo acompanha a proporção da peça (cresce e diminui junto, sem corte) */
  .palco--largo.palco--solto { aspect-ratio: auto; padding: 5% 4%; }
  .cx-palcos--3 { grid-template-columns: 1fr; }
  .cx-palcos--3 .palco { aspect-ratio: 1; }
}

/* ---------- Formulário ---------- */
.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field > span { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 17px; letter-spacing: -.02em; color: var(--ink);
  background: #F1F1EE; border: 1px solid transparent; border-radius: var(--r-inner); padding: 16px 18px; outline: none; resize: vertical;
  transition: border-color .2s ease, background-color .2s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-inner);
  background: #F1F1EE; font-size: 14px; font-weight: 500; letter-spacing: -.015em; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.opt span:hover { background: #E6E5E1; }
.opt input:checked + span { background: var(--ink); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { font-size: 13px; color: var(--muted); }

/* ---------- Abertura (logo letra a letra, estilo Insany) ---------- */
html.intro-on::after { content: ""; position: fixed; inset: 0; z-index: 9998; background: var(--panel); }
.intro {
  position: fixed; inset: 0; z-index: 9999; background: var(--panel);
  display: flex; align-items: center; justify-content: center;
  transition: transform 1s cubic-bezier(.76, 0, .24, 1), border-radius 1s cubic-bezier(.76, 0, .24, 1);
}
.intro.out { transform: translateY(-100%); border-radius: 0 0 48px 48px; }
.intro-wm { display: block; color: #fff; }
.intro-logo { height: clamp(22px, 4.2vw, 58px); }
.intro-wm .il {
  opacity: 0; filter: blur(6px); transform: translateY(60%); transform-box: fill-box;
  transition: opacity .7s var(--ease), filter .7s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i) * 70ms + 150ms);
}
.intro.play .il { opacity: 1; filter: none; transform: none; }
/* logo e "Design Experience" ocupam o mesmo centro: um sai, o outro entra */
.intro-lockup { position: relative; display: flex; align-items: center; justify-content: center; }
.intro-wm { transition: transform .6s var(--ease), opacity .45s ease, filter .45s ease; }
.intro.dx .intro-wm { transform: translateY(-36px); opacity: 0; filter: blur(6px); }
.intro-sub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; color: #fff;
  font-family: "Inter", system-ui, sans-serif; font-weight: 400;
  font-size: clamp(15px, 2vw, 26px); letter-spacing: .24em; text-transform: uppercase;
}
.intro-sub .dl {
  display: inline-block; opacity: 0; filter: blur(5px); transform: translateY(70%);
  transition: opacity .5s var(--ease), filter .5s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i) * 28ms + 180ms);
}
.intro.dx .intro-sub .dl { opacity: 1; filter: none; transform: none; }
.intro.out .intro-lockup { transform: translateY(-40px); opacity: 0; transition: transform .8s var(--ease), opacity .5s ease; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.in .split-line > span, .split-line.in > span { transform: none; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .nav { gap: 20px; }
  .why { grid-template-columns: 1fr; }
  .why-feature { min-height: 380px; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .rep-grid { grid-template-columns: repeat(2, 1fr); }
  .phase-row { grid-template-columns: 220px 1fr; }
  .phase-row .meta { grid-column: 2; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .header-cta .btn--sm { display: inline-flex; }
  /* Tablet: texto à esquerda, planeta à direita, cartão largo embaixo */
  /* texto e planeta centralizados no espaço preto acima do cartão;
     colunas de largura fixa para o planeta não se mover quando a palavra muda */
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto;
    min-height: min(820px, calc(100svh - var(--header) - var(--inset)));
    padding: 32px 24px 24px; gap: 32px 0;
  }
  .hero-main { grid-column: 1; grid-row: 1; align-self: center; padding-left: 28px; }
  .hero-title { font-size: clamp(32px, 5.3vw, 50px); white-space: nowrap; }
  .hero-intro { font-size: clamp(15px, 2.2vw, 19px); font-weight: 400; max-width: 30ch; }
  .hero-visual { position: relative; inset: auto; grid-column: 2; grid-row: 1; align-self: center; justify-content: flex-start; }
  /* medido na referência de 655px: planeta ~275px de largura, começando logo após o texto */
  .hero-visual .tilt { width: min(63vw, 540px); flex: none; margin-left: -9vw; top: 0; }
  .hero-side { position: relative; right: auto; bottom: auto; grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .sec-head, .sec-head--split, .rep-head, .page-hero-grid, .case-hero-grid, .about-grid, .cta, .featured-quote, .page-hero-dark, .metodo-hero-grid { grid-template-columns: 1fr; }
  .metodo-hero { padding: 56px 0 40px; }
  .phase-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; gap: 24px; }
  .row-2 > .label { position: static; }
  .acc-content { grid-template-columns: 1fr; padding-left: 0; }
  .acc-content > p, .acc-content .apps { grid-column: 1; }
  .acc-btn { grid-template-columns: 56px 1fr auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bio { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .case-quote { grid-template-columns: 1fr; }
  .pillars, .icon-grid, .figure-trio { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --inset: 6px; --header: 64px; --r-section: 20px; --r-card: 16px; }
  .section { padding: 88px 0; }
  .section--tight { padding: 64px 0; }
  .brand, .foot-assina { --h: 14px; --s: 6.5px; gap: 10px; }
  .brand .logo-completo { height: 30px; }
  .display { font-size: 17vw; }
  .h2 { font-size: 34px; }
  .services, .rep, .cta, .featured-quote, .page-hero-dark { padding-left: 20px; padding-right: 20px; }
  .services, .rep { padding-top: 80px; }
  .big-card { padding: 28px 20px; }
  .about-photo { min-height: 360px; }
  .body-lg, .prose p { font-size: 17px; }
  .cards-2, .grid-2, .grid-3, .grid-4, .figure-pair { grid-template-columns: 1fr; }
  .card { padding: 28px; min-height: 0; }
  .why-feature { min-height: 300px; padding: 24px; }
  /* carrosséis com swipe */
  .proj-grid, .phase-grid, .rep-grid, .quotes {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  }
  .rep .rep-grid { margin: 0 -20px; padding: 0 20px; }
  .proj-grid::-webkit-scrollbar, .phase-grid::-webkit-scrollbar, .rep-grid::-webkit-scrollbar, .quotes::-webkit-scrollbar { display: none; }
  .proj-grid > *, .phase-grid > *, .rep-grid > *, .quotes > * { flex: 0 0 84%; scroll-snap-align: start; }
  .proj--wide .proj-media { aspect-ratio: 1.38; }
  /* página Projetos: cases um abaixo do outro (sem carrossel) */
  .proj-grid--lista { display: grid; grid-template-columns: 1fr; gap: 16px; overflow: visible; margin: 0; padding: 0; }
  .proj-grid--lista > * { flex: none; }
  .proj-cursor { display: none; }
  .phase-row { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .phase-row .meta { grid-column: 1; }
  .cta-points { grid-template-columns: 1fr; }
  .cta-card { min-height: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-big { flex-direction: column; align-items: flex-start; gap: 12px; padding: 48px 0 32px; }
  .foot-assina .logo-v { height: 64px; }
  .foot-assina .logo-completo { height: 30px; }
  .badge-rot { width: 92px; height: 92px; top: 20px; right: 20px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .case-quote { padding: 28px; }
  .logo-card { width: 160px; height: 96px; padding: 22px; }
  .logo-card img { max-height: 34px; max-width: 104px; }
  .logo-card--menor img { max-height: 29px; max-width: 88px; }
  .logo-card--quadrado { padding: 14px; }
  .logo-card--quadrado img { max-height: 60px; }
}

/* Celular: planeta em cima, depois texto e cartão */
@media (max-width: 600px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; min-height: auto; padding: 8px 20px 20px; gap: 28px; }
  .hero-main, .hero-side { grid-column: 1; grid-row: auto; }
  .hero-main { padding-left: 0; }
  .hero-visual { order: -1; position: relative; inset: auto; grid-column: 1; grid-row: auto; }
  .hero-visual .tilt { width: min(112vw, 480px); flex: none; margin: 0 -20px; top: calc(min(112vw, 480px) * .073); left: -7%; } /* desce 8% da altura do vídeo */
  .hero-title { font-size: 10.6vw; }
  .hero-intro { font-size: 17px; font-weight: 400; }
  .hero-side { grid-column: 1; }
  .hero-card .btn { width: 100%; justify-content: space-between; }
}

/* ---------- Acessibilidade de movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .split-line > span { transform: none; }
  .marquee-track { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3A3935; --muted-2: #55544F; --line: rgba(11,11,10,.3); }
}

/* Sobre: repertório sempre em grade (4 por linha; 2 por linha no celular, sem carrossel) */
@media (max-width: 1100px) { .rep-grid--grade { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) {
  .rep .rep-grid--grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; overflow: visible; margin: 0; padding: 0; }
  .rep-grid--grade > * { flex: none; }
  .rep-grid--grade .rep-card { padding: 8px 8px 16px; gap: 10px; }
  .rep-grid--grade .rep-card .h4 { font-size: 15px; padding: 0 4px; }
  .rep-grid--grade .rep-card p { font-size: 13px; padding: 0 4px; }
}

/* Cabeçalhos em duas colunas (etiqueta + título à esquerda, texto à direita):
   o texto de apoio começa na altura do topo do título, não da etiqueta */
@media (min-width: 901px) {
  .rep-head:has(> .stack > .tag), .sec-head--split:has(> .stack > .tag) { grid-template-rows: auto auto; row-gap: 20px; align-items: start; }
  .rep-head > .stack:has(> .tag), .sec-head--split > .stack:has(> .tag) { display: contents; }
  .rep-head > .stack:has(> .tag) > *, .sec-head--split > .stack:has(> .tag) > * { grid-column: 1; }
  .rep-head:has(> .stack > .tag) > :last-child, .sec-head--split:has(> .stack > .tag) > :last-child { grid-column: 2; grid-row: 2; align-self: start !important; }
}

/* Blocos de fundo (preto/branco) seguem de ponta a ponta; em telas largas o conteúdo de dentro
   se alinha à mesma coluna da área de projetos (.wrap) */
@media (min-width: 1361px) {
  .panel:not(.hero), .big-card { padding-left: max(48px, calc(var(--lado) - var(--inset))); padding-right: max(48px, calc(var(--lado) - var(--inset))); }
}

/* ---------- Mosaicos de imagem dos cases ----------
   Cartões com proporção fixa; a peça fica inteira dentro (contain), sobre a cor de fundo (--fundo).
   Capa (.cx-capa-grid): logo quadrado + elemento/composição / imagem publicitária larga embaixo.
   Internas (.cx-mosaico): quadrado + largo / largo + quadrado; no celular: largo / dois quadrados / largo. */
.mos { position: relative; overflow: hidden; background: var(--fundo, #E4E3DF); border-radius: var(--r-card); min-height: 0; }
.mos img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; transition: transform .8s var(--ease); }
.mos:hover img { transform: scale(1.04); }
.mos--cheia img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mos--solta { background: transparent; border-radius: 0; }
.mos--solta img { object-fit: contain; }
.mos--solta:hover img { transform: none; }
.mos--vazio { display: flex; align-items: center; justify-content: center; }
.mos--vazio span { font-size: 13px; color: rgba(255,255,255,.72); border: 1.5px dashed rgba(255,255,255,.35); border-radius: var(--r-inner); padding: 8px 14px; text-align: center; margin: 12px; }
.mos--vazio.mos--claro span { color: rgba(11,11,10,.55); border-color: rgba(11,11,10,.25); }

.cx-capa-grid { display: grid; grid-template-columns: 3fr 7fr; gap: 12px; margin-top: 56px; }
.cx-capa-grid > :nth-child(1) { aspect-ratio: 1; }
.cx-capa-grid > :nth-child(3) { grid-column: 1 / -1; aspect-ratio: 1.67; }

.cx-mosaico { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 12px; margin-top: 56px; }
.cx-mosaico > :nth-child(1) { grid-column: 1; aspect-ratio: 1; }
.cx-mosaico > :nth-child(2) { grid-column: 2 / 4; }
.cx-mosaico > :nth-child(3) { grid-column: 1 / 3; }
.cx-mosaico > :nth-child(4) { grid-column: 3; aspect-ratio: 1; }

@media (max-width: 760px) {
  .cx-capa-grid { margin-top: 40px; gap: 10px; }
  .cx-mosaico { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
  /* os largos continuam largos e os quadrados continuam quadrados: largo / quadrado + quadrado / largo */
  .cx-mosaico > :nth-child(2) { order: 1; grid-column: 1 / -1; aspect-ratio: 1.53; }
  .cx-mosaico > :nth-child(1) { order: 2; grid-column: 1; aspect-ratio: 1; }
  .cx-mosaico > :nth-child(4) { order: 3; grid-column: 2; aspect-ratio: 1; }
  .cx-mosaico > :nth-child(3) { order: 4; grid-column: 1 / -1; aspect-ratio: 1.53; }
  .mos--vazio span { font-size: 12px; padding: 6px 10px; }
}

/* ---------- Celular: botões de seção e topo ---------- */
.so-mobile { display: none; }
@media (max-width: 760px) {
  .so-desk { display: none !important; }
  .so-mobile { display: block; }
  /* carrosséis só deslizam para os lados: a roda do mouse sobre eles rola a página normalmente */
  .proj-grid, .phase-grid, .rep-grid, .quotes { overflow-y: hidden; overscroll-behavior-x: contain; }
  /* botões de seção na largura toda, centralizados; o respiro embaixo é igual ao das laterais */
  .mob-cta { margin-top: 24px; }
  .btn--cheio { display: flex; width: 100%; justify-content: center; padding: 0 20px; }
  .btn--cheio::after { position: absolute; right: 12px; top: 50%; margin-top: -14px; }
  .services-foot { padding-top: 32px; }
  .services { padding-bottom: 20px; }
  .big-card:has(.btn--cheio) { padding-bottom: 20px; }
  .about-text > div:has(> .btn--cheio) { width: 100%; }
  .about-text:has(.btn--cheio) { padding-bottom: 0; }
  /* topo: mais respiro entre logo, botão e menu */
  .site-header .wrap { gap: 12px; }
  .brand, .foot-assina { --h: 13px; --s: 6px; gap: 9px; }
  .brand .logo-completo, .foot-assina .logo-completo { height: 28px; }
  .header-cta { gap: 14px; }
  .header-cta .btn--sm { height: 36px; padding: 0 6px 0 14px; font-size: 13px; gap: 12px; }
  .header-cta .btn--sm::after { width: 22px; height: 22px; }
  .burger { width: 36px; }
}

/* Sobre: retrato alto no computador; no celular 30% mais baixo */
.about-photo--retrato { min-height: 620px; }
@media (max-width: 760px) {
  .about-photo--retrato { min-height: 434px; }
  /* CTA com cartão: a coluna não pode passar da largura do painel */
  .cta { grid-template-columns: minmax(0, 1fr); }
  /* varredura: todo botão principal das páginas fica na largura toda, texto no centro e bolinha à direita */
  main .btn:not(.btn--sm) { display: flex; width: 100%; justify-content: center; padding: 0 20px; }
  main .btn:not(.btn--sm)::after { position: absolute; right: 12px; top: 50%; margin-top: -14px; }
  main .btn-row, .cta--centro > div, .cta--centro .stack { width: 100%; }
  main .btn-row { flex-direction: column; }
  .cta-card .btn { align-self: stretch !important; }
  /* respiro embaixo do botão igual ao das laterais */
  .big-card { padding-bottom: 20px; }
  .about-text { padding-bottom: 0; }
}

/* Celular: blocos de fechamento (CTA) com a mesma altura enxuta do cartão final do Sobre */
@media (max-width: 760px) {
  .cta, .cta--meio, .cta--centro { padding: 28px 20px 20px; gap: 28px; }
  .cta--centro .small { max-width: none !important; }
  .cta-points { margin-top: 28px; padding-top: 24px; gap: 20px; }
  .cta-card { gap: 24px; padding: 20px; }
  .cta-card .inner { padding: 16px; gap: 14px; }
  .cta .stack-lg { gap: 20px; }
  .cta-botoes { gap: 8px; }
}

/* Celular: todos os blocos pretos (menos o topo da Home) com respiro enxuto e igual */
@media (max-width: 760px) {
  .panel:not(.hero) { padding-top: 28px !important; padding-bottom: 20px !important; }
  .services-head { margin-bottom: 28px; }
  .rep-head { gap: 20px; margin-bottom: 28px; }
  .featured-quote { gap: 20px; }
  .featured-quote .stack-lg { gap: 20px; }
}

/* Celular: espaço entre seções padronizado em 48px (e 48px até o rodapé) */
@media (max-width: 760px) {
  .section, .section--tight { padding-top: 48px !important; padding-bottom: 48px; }
  .cx-sec { padding-top: 48px; }
  .logos { padding-top: 48px; }
  main > section:not([class]) { padding-bottom: 0 !important; }
  main > :last-child { padding-bottom: 0 !important; }
  .site-footer { padding-top: 48px; }
  .metodo-hero + .section { padding-top: 0 !important; }
}

/* Computador e tablet: blocos pretos com respiro mais enxuto e igual em cima e embaixo */
@media (min-width: 761px) {
  .panel:not(.hero) { padding-top: 72px !important; padding-bottom: 72px !important; }
  .services-head { margin-bottom: 48px; }
  .rep-head { margin-bottom: 48px; }
  .section { padding-top: 96px; padding-bottom: 96px; }
  .section--tight { padding-top: 72px; padding-bottom: 72px; }
  .site-footer { padding-top: 96px; }
  main > :last-child { padding-bottom: 0 !important; }
  main > section:not([class]) { padding-bottom: 0 !important; }
}

/* Botão dentro do cartão branco (topo e CTA da Home): ocupa a largura toda, com a mesma margem dos dois lados */
@media (min-width: 761px) {
  .cta-card .btn, .hero-card .btn { align-self: stretch !important; justify-content: space-between; }
}

/* números em caixas coloridas (cores da marca do cliente via --c) */
.stats--cores { gap: 10px; border-bottom: 0; }
.cx-txt .stats--cores { padding: 8px 0 12px; }
.stats--cores .stat { background: var(--c); color: #fff; border-radius: var(--r-card); padding: 20px 18px 18px; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; }
.stats--cores .stat .num, .cx-txt .stats--cores .stat .num { font-size: clamp(32px, 3vw, 46px); margin-bottom: 14px; color: inherit; }
.stats--cores .stat p { color: rgba(255,255,255,.82); font-size: 13.5px; line-height: 1.4; }
.stats--cores .stat--claro { color: #2A1C0E; }
.stats--cores .stat--claro p { color: rgba(42,28,14,.75); }
@media (max-width: 760px) { .stats--cores .stat { min-height: 128px; padding: 16px 14px 14px; } }

/* dentro dos cases, imagens sem zoom ao passar o mouse */
.cx .mos:hover img, .cx .palco:hover img { transform: none; }


/* Editorial MaisMei: posts em grade (largo 1088x673 + alto 537x668), ordem largo+alto / alto+largo */
.cx-mosaico--editorial { grid-template-columns: 537fr 539fr 537fr; gap: 24px 12px; align-items: start; }
.ed-item { display: flex; flex-direction: column; gap: 6px; }
.ed-item .mos { position: relative; }
.cx-mosaico--editorial > :nth-child(1) { grid-column: 1 / 3; } .cx-mosaico--editorial > :nth-child(1) .mos { aspect-ratio: 1088 / 673; }
.cx-mosaico--editorial > :nth-child(2) { grid-column: 3; } .cx-mosaico--editorial > :nth-child(2) .mos { aspect-ratio: 537 / 668; }
.cx-mosaico--editorial > :nth-child(3) { grid-column: 1; } .cx-mosaico--editorial > :nth-child(3) .mos { aspect-ratio: 537 / 668; }
.cx-mosaico--editorial > :nth-child(4) { grid-column: 2 / 4; } .cx-mosaico--editorial > :nth-child(4) .mos { aspect-ratio: 1088 / 673; }
@media (max-width: 760px) {
  .cx-mosaico--editorial { grid-template-columns: 1fr 1fr; }
  .cx-mosaico--editorial > :nth-child(1) { order: 1; grid-column: 1 / -1; } .cx-mosaico--editorial > :nth-child(1) .mos { aspect-ratio: 1088 / 673; }
  .cx-mosaico--editorial > :nth-child(2) { order: 2; grid-column: 1; } .cx-mosaico--editorial > :nth-child(2) .mos { aspect-ratio: 537 / 668; }
  .cx-mosaico--editorial > :nth-child(3) { order: 3; grid-column: 2; } .cx-mosaico--editorial > :nth-child(3) .mos { aspect-ratio: 537 / 668; }
  .cx-mosaico--editorial > :nth-child(4) { order: 4; grid-column: 1 / -1; } .cx-mosaico--editorial > :nth-child(4) .mos { aspect-ratio: 1088 / 673; }
}

@media (max-width: 760px) { .ed-item .proj-bar { padding: 12px 14px; } .ed-item .proj-bar .name { font-size: 14px; line-height: 1.25; } .ed-item .proj-bar .dots { display: none; } .cx-mosaico--editorial { gap: 16px 10px; } }


@media (max-width: 760px) { .ed-item .proj-bar .name .l2 { display: block; white-space: nowrap; } }


/* Editorial: cada linha com a mesma altura. O card largo define a altura (proporção fixa)
   e o alto estica até ela; a peça fica inteira dentro (contain), sem corte */
.cx-mosaico--editorial { align-items: stretch !important; row-gap: 20px; }
.cx-mosaico--editorial > .ed-item { aspect-ratio: auto !important; }
.cx-mosaico--editorial > :nth-child(2) .mos, .cx-mosaico--editorial > :nth-child(3) .mos { aspect-ratio: auto !important; flex: 1; min-height: 0; }
@media (max-width: 760px) {
  .cx-mosaico--editorial { row-gap: 14px; }
}

@media (max-width: 760px) { .cx-mosaico--editorial > :nth-child(2) .mos, .cx-mosaico--editorial > :nth-child(3) .mos { aspect-ratio: 548 / 672 !important; flex: none; } }


/* Editorial: proporções finais (largo 1088x668, alto 539x668, mesma altura) */
.cx-mosaico--editorial { grid-template-columns: 539fr 549fr 539fr; }
.cx-mosaico--editorial > :nth-child(1) .mos, .cx-mosaico--editorial > :nth-child(4) .mos { aspect-ratio: 1088 / 668 !important; }
@media (max-width: 760px) {
  .cx-mosaico--editorial { grid-template-columns: 1fr 1fr; }
  .cx-mosaico--editorial > :nth-child(2) .mos, .cx-mosaico--editorial > :nth-child(3) .mos { aspect-ratio: 539 / 668 !important; }
}

/* pilares em caixas coloridas (cores do cliente via --c) */
.pillars--cores .pillar { background: var(--c); color: #fff; }
.pillars--cores .pillar .k { color: rgba(255,255,255,.8); }
.pillars--cores .pillar p { color: rgba(255,255,255,.88); }
.pillars--cores .pillar--claro { color: #1C1C1E; }
.pillars--cores .pillar--claro .k { color: rgba(28,28,30,.65); }
.pillars--cores .pillar--claro p { color: rgba(28,28,30,.8); }
.stats--3.stats--cores { grid-template-columns: repeat(3, 1fr); }

/* Capa dos cases: foto principal em cima (largura toda), quadrado + largo embaixo */
.cx-capa-grid > :nth-child(3) { order: -1; }

@media (max-width: 760px) { .stats--3.stats--cores { grid-template-columns: 1fr; } .stats--3.stats--cores .stat { min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; } .stats--3.stats--cores .stat .num { margin-bottom: 0; } .stats--3.stats--cores .stat p { max-width: 16ch; text-align: right; } }


/* Cores em dois grupos (Segredos): institucionais (4) + sabores (5), cada grupo com rótulo */
.cx-cores-rotulo { display: block; margin-top: 56px; font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cx-cores-rotulo + .cx-cores { margin-top: 14px; }
.cx-cores--4 { grid-template-columns: repeat(4, 1fr); }
.cx-cores--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .cx-cores--4 { grid-template-columns: repeat(2, 1fr); } .cx-cores--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cx-cores--4, .cx-cores--5 { grid-template-columns: repeat(2, 1fr); } .cx-cores-rotulo { margin-top: 40px; } }
/* Porto das Águas: 7 cores numa linha e lista dentro do cartão de antes/depois */
.cx-cores--7 { grid-template-columns: repeat(7, 1fr); }
.cx-cores--7 .cor span { font-size: 15px; }
@media (max-width: 1100px) { .cx-cores--7 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .cx-cores--7 { grid-template-columns: repeat(2, 1fr); } }
.cx-lista--card { margin: 0; }
.cx-lista--card li { font-size: 15px; }
/* Gradiente (Loginfo): cartão preenchido com o degradê e marcador da transição */
.cx-grad { margin-top: 14px; position: relative; min-height: 200px; border-radius: var(--r-card); padding: 20px 22px; color: #fff; display: flex; flex-direction: column;
  background: linear-gradient(90deg, var(--g1), var(--pos), var(--g2)); }
.cx-grad-topo { display: flex; flex-direction: column; gap: 4px; }
.cx-grad-topo small { font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.cx-grad-topo span { font-size: 17px; font-weight: 600; letter-spacing: -.025em; }
.cx-grad-marca { position: absolute; top: 18px; bottom: 18px; left: var(--pos); display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); }
.cx-grad-marca i { flex: 1; width: 1.5px; background: rgba(255,255,255,.55); }
.cx-grad-marca b { margin-top: 8px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; font-weight: 500; }
.cx-grad p { margin-top: auto; display: flex; justify-content: space-between; }
.cx-grad p em { font-style: normal; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; font-weight: 500; }
@media (max-width: 760px) { .cx-grad { min-height: 170px; } }
.cx-cores > .cx-grad { grid-column: span 2; margin-top: 0; min-height: 0; }
@media (max-width: 760px) { .cx-cores > .cx-grad { min-height: 170px; } }

/* Minha BC: mosaico do símbolo em 3 linhas (quadrado + largo / largo + quadrado / quadrado + largo) */
.cx-mosaico--bc { grid-template-columns: 2fr 1fr 2fr; }
.cx-mosaico--bc > :nth-child(5) { grid-column: 1; aspect-ratio: 1; }
.cx-mosaico--bc > :nth-child(6) { grid-column: 2 / 4; }
@media (max-width: 760px) {
  .cx-mosaico--bc > :nth-child(5) { order: 5; grid-column: 1 / -1; aspect-ratio: 1; }
  .cx-mosaico--bc > :nth-child(6) { order: 6; grid-column: 1 / -1; aspect-ratio: 1.53; }
}
/* Minha BC: editorial em 2 linhas (3 posts quadrados / 1 quadrado + 1 largo) */
.cx-ed-bc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 56px; }
.cx-ed-bc > * { aspect-ratio: 1; }
.cx-ed-bc > :nth-child(5) { grid-column: 2 / 4; aspect-ratio: auto; }
@media (max-width: 760px) {
  .cx-ed-bc { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
  .cx-ed-bc > :nth-child(5) { grid-column: 1 / -1; aspect-ratio: 2.04; }
  .cx-ed-bc > :nth-child(3) { grid-column: 1; }
}
/* Loginfo: iconografia em cartões (4 por linha; 2 no celular) */
.cx-icones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 56px; }
.cx-icones .fonte img { width: 44%; margin: 28px auto 12px; }
@media (max-width: 760px) { .cx-icones { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 40px; } .cx-icones .fonte { padding: 18px; } .cx-icones .fonte img { width: 52%; margin: 20px auto 6px; } }
/* Loginfo redes: capas de destaque (6 numa linha) + feed 3x3 */
.cx-destaques { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 56px; }
.cx-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.cx-destaques > *, .cx-feed > * { aspect-ratio: 1; }
@media (max-width: 760px) { .cx-destaques { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 40px; } .cx-feed { gap: 8px; margin-top: 8px; } }
/* Dedicato: cartela de sensações (4 pilares) e manifesto */
.pillars--4 { grid-template-columns: repeat(4, 1fr); }
.pillars--4 .pillar { min-height: 200px; padding: 22px; }
@media (max-width: 900px) { .pillars--4 { grid-template-columns: repeat(2, 1fr); } }
.cx-manifesto { background: #B8533C; color: #fff; }
.cx-manifesto .cx-depo-rotulo { color: #F3DDB0; }
.cx-manifesto blockquote { color: rgba(255,255,255,.9); }
.cx-manifesto figcaption { color: rgba(255,255,255,.65); }
/* Dedicato: aplicações (3 quadrados + faixa larga) */
.cx-ap-ded { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 56px; }
.cx-ap-ded > * { aspect-ratio: 1; }
.cx-ap-ded > :nth-child(4) { grid-column: 1 / -1; aspect-ratio: 3.06; }
@media (max-width: 760px) { .cx-ap-ded { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; } .cx-ap-ded > :nth-child(3) { grid-column: 1 / -1; aspect-ratio: 2; } .cx-ap-ded > :nth-child(4) { aspect-ratio: 1.5; } }
/* Dedicato: abertura da parte 2 (narrativa digital) */
.cx-capitulo { --respiro: clamp(56px, 7vw, 96px); padding-top: var(--respiro); }
.cx-capitulo .wrap { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid rgba(28,28,30,.12); padding-top: var(--respiro); }
.cx-capitulo .lead { max-width: 46ch; }
/* Dedicato: pilares de conteúdo (5) e bio do perfil */
.pillars--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 56px; }
.pillars--5 .pillar { min-height: 230px; padding: 22px; }
@media (max-width: 1100px) { .pillars--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pillars--5 { grid-template-columns: 1fr 1fr; margin-top: 40px; } .pillars--5 .pillar { min-height: 0; } }
.cx-bio { margin: 0; background: #fff; border-radius: var(--r-card); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.cx-bio b { font-size: 15px; }
.cx-bio p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
/* feed em 4:5 */
.cx-feed--45 { margin-top: 56px; }
.cx-feed--45 > * { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .cx-feed--45 { margin-top: 40px; } }
/* primeira fase logo após a capa: sem linha, o bloco da capa já divide */
.cx-capitulo--primeiro { padding-top: clamp(56px, 6vw, 88px); }
.cx-capitulo--primeiro .wrap { border-top: 0; padding-top: 0; }

/* cartão de cor com textura (ex.: mármore da Dedicato) */
.cor--textura { background-color: var(--c); background-position: center; background-size: cover; background-repeat: no-repeat; box-shadow: inset 0 0 0 1px rgba(11,11,10,.06); }
.cor--textura .tons i:nth-child(3) { background: #C9A77A; }

/* stat com textura de mármore (Dedicato) */
.stats--cores .stat--marmore { background-color: var(--c); background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(11,11,10,.06); }

/* Dedicato: topo com a faixa do logo e quadros de aplicação (imagens inteiras, com cantos e vãos transparentes) */
.cx-capa-logo { display: block; width: 100%; height: auto; margin-top: 56px; }
.cx-quadro { margin-top: 56px; }
.cx-quadro img { display: block; width: 100%; height: auto; }
.cx-quadro img + img { margin-top: 2.06%; } /* = vão interno dos quadros (46 px em 2232) */
@media (max-width: 760px) { .cx-capa-logo, .cx-quadro { margin-top: 40px; } }

/* Dedicato: conceito visual (1 largo, 3 feed, 2 stories, 3 feed) */
.cx-conceito { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 56px; }
.cx-conceito > * { grid-column: span 4; aspect-ratio: 3 / 4; }
.cx-conceito > :nth-child(1) { grid-column: 1 / -1; aspect-ratio: 1.49; }
.cx-conceito > :nth-child(5), .cx-conceito > :nth-child(6) { grid-column: span 6; aspect-ratio: 0.558; }
@media (max-width: 760px) { .cx-conceito { gap: 8px; margin-top: 40px; } }

/* Dedicato: três assinaturas do logo e patterns */
.cx-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 56px; }
.cx-logos-img { height: 220px; display: flex; align-items: center; justify-content: center; }
.cx-logos .cx-logos-img img { margin: 0; width: auto; height: auto; }
/* mesma escala para as três (proporção dos viewBox: 493, 266 e 78 de largura), centralizadas na altura */
.cx-logos { container-type: inline-size; --u: calc((100cqw - 24px) / 3 * 0.8 / 493); }
.cx-logos .fonte:nth-child(1) .cx-logos-img img { width: calc(var(--u) * 493); }
.cx-logos .fonte:nth-child(2) .cx-logos-img img { width: calc(var(--u) * 266); }
.cx-logos .fonte:nth-child(3) .cx-logos-img img { width: calc(var(--u) * 78); }
@media (max-width: 760px) { .cx-logos { grid-template-columns: 1fr 1fr; --u: calc(100cqw * 0.7 / 493); } .cx-logos .fonte:nth-child(1) { grid-column: 1 / -1; } .cx-logos .fonte { padding: 18px; } .cx-logos-img { height: 130px; } }
.cx-patterns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.cx-patterns img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .cx-logos { gap: 10px; margin-top: 40px; } .cx-patterns { grid-template-columns: 1fr; gap: 10px; margin-top: 40px; } }

/* feed em 3:4 (posts 1080x1440) */
.cx-feed--34 { margin-top: 56px; }
.cx-feed--34 > * { aspect-ratio: 3 / 4; }
@media (max-width: 760px) { .cx-feed--34 { margin-top: 40px; } }

/* celular: colunas sem estourar com palavras longas; 5º pilar ocupa a linha inteira */
@media (max-width: 760px) { .pillars--5, .pillars--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pillars--5 .pillar, .pillars--4 .pillar { padding: 16px 14px; } .pillars--5 .h4, .pillars--4 .h4 { font-size: 16px; letter-spacing: -.03em; } .pillars--5 .pillar:last-child { grid-column: 1 / -1; } }

/* chips longos (frases) quebram linha em vez de alargar a coluna */
.cx-txt { min-width: 0; }
.cx-txt .chip { max-width: 100%; white-space: normal; }

/* espaço reservado para imagem ainda não enviada */
.cx-vaga { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; border: 1.5px dashed rgba(28,28,30,.22); border-radius: var(--r-card); background: rgba(28,28,30,.03); color: var(--muted); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .02em; }
.cx-vaga--miolo { width: 72%; height: 64%; }
.cx-quadro > * + * { margin-top: 2.06%; }

/* Segredos: brasão em 2 versões, 6 ícones (3 por linha) e faixa do pattern */
.cx-logos--2 { grid-template-columns: 1fr 1fr; }
.cx-logos--2 .cx-logos-img { height: 300px; }
.cx-logos.cx-logos--2 .fonte .cx-logos-img img { width: auto; height: 78%; }
.cx-icones--3 { grid-template-columns: repeat(3, 1fr); }
.cx-icones--3 .fonte img { width: 38%; }
.cx-pattern-faixa { margin-top: 12px; background: #FFEECD; border-radius: var(--r-card); padding: clamp(24px, 4vw, 56px); }
.cx-pattern-faixa img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .cx-logos--2 .fonte:nth-child(1) { grid-column: auto; }
  .cx-logos--2 .cx-logos-img { height: 150px; }
  .cx-icones--3 { grid-template-columns: repeat(2, 1fr); }
  .cx-icones--3 .fonte img { width: 52%; }
  .cx-pattern-faixa { margin-top: 10px; }
}
/* Linhas de imagens com a mesma altura, sem corte: cada item cresce na proporção da imagem (--r = largura/altura) */
.cx-linhas { display: flex; flex-direction: column; gap: 12px; margin-top: 56px; }
.cx-linha { display: flex; gap: 12px; }
.cx-linha > img { display: block; flex: var(--r) 1 0; min-width: 0; width: 100%; height: auto; border-radius: var(--r-card); }
@media (max-width: 760px) { .cx-linhas, .cx-linha { gap: 10px; } .cx-linhas { margin-top: 40px; } .cx-linha { flex-direction: column; } }
/* Segredos: folhas de logo (brasões e versão digital), uma por card, em largura total */
.cx-logos-folhas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.cx-logos-folha { flex: 1; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 3vw, 40px) 0; }
.cx-logos-folha img { display: block; width: 86%; height: auto; margin: 0; }
.cx-logos-folha--digital img { width: 92%; }
@media (max-width: 760px) { .cx-logos-folhas { grid-template-columns: 1fr; gap: 10px; margin-top: 40px; } .cx-logos-folhas .fonte { padding: 18px; } .cx-logos-folha img, .cx-logos-folha--digital img { width: 100%; } }
/* cantos arredondados lisos: o recorte por clip-path é suavizado pelo navegador (overflow:hidden + zoom no hover serrilhava) */
.mos { clip-path: inset(0 round var(--r-card)); isolation: isolate; }
/* Favolê: 6 logos, um por card (3 por linha; 2 no celular), todos na mesma escala (largura = viewBox x unidade).
   Não circulares alinham pelo topo da área, circulares pela base */
.cx-favlogos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.cx-favlogo { container-type: inline-size; display: flex; justify-content: center; align-items: center; aspect-ratio: 1 / 0.95; padding: 4% 0; --u: calc(100cqw * 0.624 / 150); }
.cx-favlogo img { display: block; width: calc(var(--vb) * var(--u)); height: auto; margin: 0; }
.cx-favlogo--topo { align-items: flex-start; }
.cx-favlogo--base { align-items: flex-end; }
@media (max-width: 760px) {
  .cx-favlogos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
  .cx-favlogos .fonte { padding: 16px; gap: 8px; }
  .cx-favlogos .fonte-topo small { display: none; }
  .cx-favlogos .fonte-topo span { font-size: 15px; line-height: 1.25; min-height: 2.5em; }
  .cx-favlogos > .fonte:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cx-favlogos > .fonte:last-child:nth-child(odd) .cx-favlogo { aspect-ratio: 2 / 0.95; --u: calc(50cqw * 0.624 / 150); }
}
/* Imagem solta na largura do texto (sem fundo) */
.cx-txt-img { display: block; width: 100%; height: auto; margin-top: 40px; }


/* Favolê: Lelê (dois quadrados empilhados + um grande), sem corte */
.cx-lele { display: grid; grid-template-columns: calc((100% - 24px) / 3) 1fr; grid-template-rows: auto auto; gap: 12px; margin-top: 56px; }
.cx-lele > * { display: block; width: 100%; height: auto; border-radius: var(--r-card); }
.cx-lele__a { grid-column: 1; grid-row: 1; }
.cx-lele__b { grid-column: 1; grid-row: 2; }
.cx-lele__c { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 760px) {
  .cx-lele { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
  .cx-lele__c { grid-column: 1 / span 2; grid-row: 1; }
  .cx-lele__a { grid-column: 1; grid-row: 2; }
  .cx-lele__b { grid-column: 2; grid-row: 2; }
}

/* Imagem sozinha na linha: ocupa a largura toda mesmo com proporção vertical (flex-grow < 1 não preenche) */
.cx-linha > img:only-child { flex: 1 1 0; }


/* Linha de imagens dentro da coluna do texto (mesma largura do texto), lado a lado também no celular */
.cx-txt-linha { margin-top: 40px; }
@media (max-width: 760px) { .cx-linha.cx-txt-linha { flex-direction: row; margin-top: 32px; } }


/* Painéis montados (vários blocos numa imagem): o espaço entre um painel e outro acompanha o respiro interno dos blocos (42 px num arquivo de 2232 px) */
.cx-paineis { container-type: inline-size; }
.cx-paineis .cx-linhas { gap: calc(100cqw * 42 / 2232); }


/* Formulário de contato: confirmação depois do envio */
.form-ok { display: flex; flex-direction: column; gap: 14px; padding: 8px 0; }
.form-ok p { color: var(--muted, #6B6B66); }


/* ---------- Fonte de títulos (2026-10-11): Outfit nos títulos, Inter nos textos, IBM Plex Mono nas etiquetas ---------- */
:root { --f-title: "Outfit", "Inter", system-ui, sans-serif; }
h1, h2, h3, h4, .display, .h1, .h2, .h3, .h4, .hero-title, .acc-title, .cx-depo-rotulo, .word-cloud span, .stat .num, .pull, .mobile-menu a.m-link {
  font-family: var(--f-title); word-spacing: .06em;
}
/* Outfit é mais justa que a Inter: espacejamento um pouco menos negativo */
.display, .h1, .h2, .rep-head .h2, .hero-title, .stat .num { letter-spacing: -.04em; word-spacing: .06em; }
.h3, .acc-title, .cx-depo-rotulo, .word-cloud span, .mobile-menu a.m-link { letter-spacing: -.035em; }
.h4 { letter-spacing: -.02em; }
.pull, .prose p.pull { letter-spacing: -.025em; }
