/* ==========================================================
   Yaah Studio — estilos
   Identidade: Brand Book YAAH (Figma, página 02) e estudo da curva (página 03).
   Paleta oficial: Vinho 40% · Azul névoa 25% · Manteiga 15% · Silence 15% ·
   Potting Soil 5% (só em textos longos). Pares permitidos: Vinho × Azul névoa,
   Vinho × Silence, Manteiga × Vinho, Silence × Vinho.
   Tipografia: Playfair Display Itálico (títulos) + Montserrat (texto e rótulos).
   Layout: coluna editorial, títulos em itálico à esquerda, faixas de cor
   alternando as frentes; a curva do "y" marca destaques.
   ========================================================== */
:root {
  /* Cor — paleta oficial */
  --vinho: #500E10;
  --azul-nevoa: #B9D1DB;
  --manteiga: #F4ECC2;
  --silence: #EDE6DA;
  --potting-soil: #54392D;

  /* Papéis */
  --paper: var(--silence);
  --surface: #F7F2EA;                 /* Silence clareado para cartões e telas */
  --ink: var(--vinho);                /* títulos, marca, botões */
  --text: var(--potting-soil);        /* textos longos */
  --ink-soft: #6E5548;                /* Potting Soil suavizado para notas */
  --line: #D5C5B6;
  --band: var(--azul-nevoa);          /* faixas claras: azul névoa (pedido da Gabriela: azul e bordô dominantes) */
  --band-ia: var(--azul-nevoa);       /* faixa da frente IA */
  --accent: var(--vinho);
  --accent-ink: var(--silence);
  --ok: var(--vinho);                 /* já demonstrável */
  --ok-bg: var(--vinho);
  --wip: var(--potting-soil);         /* em implantação */
  --wip-bg: var(--manteiga);

  /* Tipografia */
  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --mono: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2rem, 4.5vw, 3rem);
  --step-4: clamp(2.5rem, 6.5vw, 5.25rem);

  --radius: 18px;
  --wrap: 72rem;
  --measure: 38rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--vinho); outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-style: italic; letter-spacing: -0.01em; line-height: 1.08; color: var(--ink); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-family: var(--body); font-size: var(--step-1); font-weight: 600; line-height: 1.3; color: var(--ink); }
p { margin: 0; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: var(--measure); }
.prose { max-width: var(--measure); display: grid; gap: 1rem; }
.eyebrow {
  font-family: var(--body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--ink);
}
em.serif { font-family: var(--display); font-style: italic; font-size: 1.08em; }

/* Header */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--paper);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-block; color: var(--ink); text-decoration: none; line-height: 0; }
.logo { display: block; width: 7.5rem; height: auto; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* A curva: assinatura da marca (cauda do "y"). Uma por composição. */
.curva { display: block; width: 9rem; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; align-items: center; }
.site-nav a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.site-nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--vinho); border-radius: 999px; padding: 0.45rem 1rem; font: inherit; font-weight: 600; font-size: 0.85rem; color: var(--vinho); cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem max(20px, env(safe-area-inset-right, 0px)) 1rem max(20px, env(safe-area-inset-left, 0px)); }
  .site-nav li a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; justify-content: center;
  padding: 0.95rem 1.5rem; border-radius: 999px; text-decoration: none; font-weight: 600; letter-spacing: 0.01em;
  font-size: 1rem; line-height: 1.2; border: 1px solid var(--vinho); transition: background .2s, color .2s;
}
.btn-primary { background: var(--vinho); color: var(--silence); border-color: var(--vinho); }
.btn-primary:hover { background: var(--potting-soil); border-color: var(--potting-soil); color: var(--silence); }
.btn-ghost { background: transparent; color: var(--vinho); border-color: var(--vinho); }
.btn-ghost:hover { background: var(--vinho); color: var(--silence); }
.btn .arrow { font-family: var(--body); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Seções */
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band { background: var(--band); }
.band-ia { background: var(--band-ia); }
.ink-band { background: var(--vinho); color: var(--silence); }
.ink-band h2 { color: var(--azul-nevoa); }
.ink-band .lead, .ink-band .eyebrow { color: var(--silence); }
.ink-band .btn-primary { background: var(--azul-nevoa); color: var(--vinho); border-color: var(--azul-nevoa); }
.ink-band .btn-primary:hover { background: var(--silence); border-color: var(--silence); color: var(--vinho); }
.ink-band .btn-ghost { color: var(--silence); border-color: var(--silence); }
.ink-band .btn-ghost:hover { background: var(--silence); color: var(--vinho); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }

/* Hero */
.hero { padding-block: clamp(3rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); }
.hero h1 { max-width: 16ch; }
.hero .curva { margin-top: 0.75rem; margin-left: clamp(1rem, 6vw, 5rem); width: clamp(6rem, 14vw, 10rem); }
.hero .lead { margin-top: 1.75rem; }
.hero .actions { margin-top: 2.25rem; }
.page-hero h1 { max-width: 18ch; }

/* Duas frentes (home) */
.fronts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.front { padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius); display: grid; gap: 1rem; align-content: start; min-width: 0; background: var(--azul-nevoa); }
.front + .front { background: var(--azul-nevoa); }
.front h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.front ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; color: var(--text); }
.front ul li::before { content: "— "; }
.front .btn { justify-self: start; margin-top: 0.5rem; }
@media (max-width: 760px) {
  .fronts { grid-template-columns: 1fr; }
}

/* Duas colunas genéricas */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Fundadora */
.founder-mark {
  aspect-ratio: 4 / 5; max-width: 100%; background: var(--surface); border: 1px dashed var(--ink-soft); border-radius: var(--radius);
  display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--ink-soft);
  font-family: var(--body); font-size: 0.8rem; letter-spacing: 0.05em;
}

.founder-photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #000; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }

/* Serviços criativos */
.services { display: grid; border-top: 1px solid var(--vinho); }
.service { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(1.25rem, 4vw, 3rem); padding-block: 2.25rem; border-bottom: 1px solid var(--line); }
.service h3 { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--ink); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.service ul li { padding-left: 1rem; position: relative; }
.service ul li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--vinho); }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; gap: 0.9rem; } }

/* Como trabalhamos */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); counter-reset: step; }
.step { display: grid; gap: 0.6rem; align-content: start; border-top: 1px solid var(--vinho); padding-top: 1.25rem; }
.step .eyebrow { counter-increment: step; }
.step .eyebrow::before { content: counter(step, decimal-leading-zero) "  "; }
.step ul { margin: 0.25rem 0 0; padding-left: 1.1rem; color: var(--text); display: grid; gap: 0.3rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Portfólio */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.portfolio-item { margin: 0; display: grid; gap: 1rem; }
.portfolio-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.portfolio-media img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-item figcaption { display: grid; gap: 0.3rem; }
@media (max-width: 640px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* Formulário que compõe mensagem */
.compose { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field .hint { font-size: 0.85rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 0.9rem; width: 100%;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.compose-out { display: grid; gap: 0.6rem; }
.compose-preview {
  font-family: var(--body); font-size: 0.85rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin: 0; color: var(--text);
}
.note { font-size: 0.875rem; color: var(--ink-soft); }
.panel { background: var(--azul-nevoa); border: 0; border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.25rem); }

/* IA — processos */
.processes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--vinho); }
.process { padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.process:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.process .before-after { display: grid; gap: 0.35rem; font-size: 0.95rem; color: var(--text); }
.process .before-after b { color: var(--vinho); font-weight: 600; }
@media (max-width: 760px) {
  .processes { grid-template-columns: 1fr; }
  .process:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* IA — fluxo da Yaah */
.flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 0; position: relative; }
.flow-stage { display: grid; gap: 1rem; align-content: start; padding: 0 1.25rem 0 0; min-width: 0; }
.flow-stage:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.flow-stage header { display: grid; gap: 0.5rem; }
.flow-stage h3 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 2rem; line-height: 1.05; }
.status {
  justify-self: start; font-family: var(--body); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 999px; border: 1px solid currentColor;
}
[data-status="funciona"] .status { color: var(--silence); background: var(--vinho); border-color: var(--vinho); }
[data-status="teste"] .status { color: var(--potting-soil); background: var(--manteiga); border-style: dashed; }
[data-status="teste"] .screen { opacity: 0.78; border-style: dashed; }

@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; gap: 2.5rem; }
  .flow-stage, .flow-stage:nth-child(even) { padding: 0; border-left: 0; }
}
.legend { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-bottom: 2rem; font-size: 0.9rem; }
.legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend i { width: 0.8rem; height: 0.8rem; border-radius: 50%; display: inline-block; }
.legend .l-ok i { background: var(--vinho); }
.legend .l-wip i { background: var(--manteiga); border: 1.5px dashed var(--potting-soil); }

/* Telas de demonstração */
.screen {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  font-size: 0.82rem; line-height: 1.45; color: var(--text);
}
.screen-bar { display: flex; justify-content: space-between; gap: 0.5rem; align-items: center; padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--line); font-family: var(--body); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--silence); }
.demo-tag { color: var(--potting-soil); font-weight: 500; white-space: nowrap; }
.screen-body { padding: 0.8rem; display: grid; gap: 0.55rem; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; align-items: center; padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: 8px; }
.row strong { display: block; font-size: 0.85rem; color: var(--ink); }
.row small { color: var(--ink-soft); }
.chip { font-family: var(--body); font-size: 0.68rem; font-weight: 500; padding: 0.2rem 0.55rem; border-radius: 999px; background: var(--azul-nevoa); color: var(--vinho); white-space: nowrap; }
.preview-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.preview-card .swatch { height: 64px; background: linear-gradient(90deg, var(--vinho) 0 40%, var(--azul-nevoa) 40% 65%, var(--manteiga) 65% 80%, var(--silence) 80%); }
.preview-card .pc-body { padding: 0.6rem; display: grid; gap: 0.25rem; }
.pc-lines span { display: block; height: 6px; background: var(--line); border-radius: 3px; margin-top: 5px; }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
.kanban .col { background: var(--silence); border-radius: 8px; padding: 0.4rem; display: grid; gap: 0.35rem; align-content: start; min-width: 0; }
.kanban .col > span { font-family: var(--body); font-weight: 600; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.kanban .card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0.35rem 0.4rem; font-size: 0.72rem; overflow-wrap: anywhere; }

/* Etapas da implementação (IA) */
.phase { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(1rem, 4vw, 3rem); padding-block: 2rem; border-bottom: 1px solid var(--line); }
.phase:first-child { border-top: 1px solid var(--vinho); }
.phase h3 { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--ink); font-size: clamp(1.9rem, 3.5vw, 2.5rem); line-height: 1; }
.phase .deliver { font-size: 0.95rem; }
.phase .deliver ul { margin: 0.4rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; }
@media (max-width: 860px) { .phase { grid-template-columns: 1fr; gap: 0.75rem; } }

/* Produtos */
.produtos-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.produtos-list a { display: grid; gap: 0.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }

/* Contato */
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.channel { display: grid; gap: 0.4rem; padding: 1.75rem; border-radius: var(--radius); text-decoration: none; background: var(--azul-nevoa); align-content: start; min-width: 0; }
.channel + .channel { background: var(--vinho); }
.channel + .channel strong, .channel + .channel .eyebrow { color: var(--azul-nevoa); }
.channel + .channel .note { color: var(--silence); }
.channel:hover { outline: 2px solid var(--vinho); outline-offset: -2px; }
.channel strong { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; overflow-wrap: anywhere; }
@media (max-width: 640px) { .channels { grid-template-columns: 1fr; } }
.facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.75rem 2rem; }
.facts dt { font-family: var(--body); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink); padding-top: 0.3rem; }
.facts dd { margin: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 0.2rem; } .facts dd { margin-bottom: 0.9rem; } }

/* Footer */
.site-footer { background: var(--azul-nevoa); color: var(--vinho); padding-block: 3.5rem 2.5rem; font-size: 0.92rem; }
.site-footer .note { color: var(--vinho); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.site-footer .logo { width: 10rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .legal { grid-column: 1 / -1; color: var(--vinho); font-size: 0.82rem; border-top: 1px solid rgba(80, 14, 16, 0.2); padding-top: 1.25rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Acessibilidade */
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 40; background: var(--paper); padding: 0.5rem 1rem; border: 1px solid var(--ink); }
.ink-band .note { color: var(--silence); }
.ink-band .note a { color: var(--azul-nevoa); }

/* Padrão nascido da logo: "o miolo" (anel do "a"). Usado em uma faixa por página. */
.miolo-band { position: relative; overflow: hidden; }
.miolo-band::after {
  content: ""; position: absolute; right: -24px; top: 0; bottom: 0; width: min(30%, 260px); pointer-events: none;
  background: radial-gradient(circle at center, transparent 0 15px, var(--azul-nevoa) 15.5px 29px, transparent 29.5px) 0 0 / 72px 72px;
  opacity: 0.9;
}
.miolo-band .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) { .miolo-band::after { display: none; } .founder-mark, .founder-photo { max-width: 320px; } }

/* ---------- Estrutura v3 ---------- */
/* Três caminhos (home) */
.fronts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fronts-3 .front:nth-child(1) { background: var(--azul-nevoa); }
.fronts-3 .front:nth-child(2) { background: var(--vinho); color: var(--silence); }
.fronts-3 .front:nth-child(2) h2 { color: var(--azul-nevoa); }
.fronts-3 .front:nth-child(2) .eyebrow, .fronts-3 .front:nth-child(2) ul { color: var(--silence); }
.fronts-3 .front:nth-child(2) .btn-ghost { color: var(--silence); border-color: var(--silence); }
.fronts-3 .front:nth-child(2) .btn-ghost:hover { background: var(--silence); color: var(--vinho); }
.fronts-3 .front:nth-child(3) { background: var(--azul-nevoa); }
.front .btn { align-self: end; }
@media (max-width: 960px) { .fronts-3 { grid-template-columns: 1fr; } }

/* Destaque de sites */
.highlight { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 5vw, 3.5rem); }
.highlight .actions { justify-content: flex-start; }
@media (max-width: 860px) { .highlight { grid-template-columns: 1fr; } }

/* Lista de entregas */
.deliverables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.deliverable { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.deliverable ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; }
@media (max-width: 860px) { .deliverables { grid-template-columns: 1fr; } }

/* Caso de branding: a própria Yaah */
.brand-case { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.bc-tile { border-radius: var(--radius); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 1.25rem; position: relative; min-width: 0; }
.bc-tile img { width: 78%; height: auto; }
.bc-tile figcaption { position: absolute; left: 1rem; bottom: 0.8rem; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.bc-tile.t1 { background: var(--azul-nevoa); color: var(--vinho); }
.bc-tile.t2 { background: var(--silence); color: var(--vinho); border: 1px solid var(--line); }
.bc-tile.t3 { background: var(--vinho); color: var(--silence); }
.bc-tile.t4 { background: var(--surface); color: var(--vinho); }
.bc-wide { grid-column: span 2; aspect-ratio: auto; min-height: 220px; align-content: center; justify-items: start; gap: 0.5rem; }
.bc-wide h3 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.palette-bar { display: flex; height: 56px; border-radius: 12px; overflow: hidden; width: 100%; }
.palette-bar span { display: grid; place-items: center; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; }
.type-sample { display: grid; gap: 0.3rem; }
.type-sample .ts-display { font-family: var(--display); font-style: italic; font-size: 2rem; color: var(--vinho); line-height: 1; }
.type-sample .ts-label { font-weight: 600; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--vinho); }
.rings { width: 100%; height: 100%; border-radius: var(--radius);
  background: radial-gradient(circle at center, transparent 0 13px, var(--vinho) 13.5px 26px, transparent 26.5px) 0 0 / 64px 64px, var(--azul-nevoa); }
@media (max-width: 860px) { .brand-case { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Problemas (IA) */
.problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.problem { background: var(--surface); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.problem .q { font-family: var(--display); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.2; color: var(--vinho); }
.problem .tag { justify-self: start; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--vinho); background: var(--azul-nevoa); padding: 0.3rem 0.7rem; border-radius: 999px; }
.problem:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) { .problems { grid-template-columns: 1fr; } }

/* Reel e vídeo */
.reel-frame { border-radius: var(--radius); overflow: hidden; background: var(--vinho); aspect-ratio: 16 / 9; max-width: 100%; }
.reel-frame video, .portfolio-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-item figcaption a { color: var(--vinho); font-weight: 600; font-size: 0.9rem; }
@media (max-width: 640px) { .portfolio-grid { gap: 1.25rem; } }
/* Galeria com vídeos: horizontal ocupa a linha toda, verticais lado a lado */
.portfolio-grid.has-video { grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); justify-content: center; }
.portfolio-item.is-horizontal { grid-column: 1 / -1; }
.portfolio-item.is-horizontal .portfolio-media { aspect-ratio: 16 / 9; }
.portfolio-item.is-vertical .portfolio-media { aspect-ratio: 9 / 16; }
.portfolio-item video { object-fit: contain; background: #000; }
@media (max-width: 640px) { .portfolio-grid.has-video { grid-template-columns: minmax(0, 1fr); } .portfolio-item.is-vertical { max-width: 340px; width: 100%; justify-self: center; } }

/* Direção de imagem */
.image-direction { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.image-direction div { border-top: 1px solid var(--vinho); padding-top: 1rem; display: grid; gap: 0.4rem; align-content: start; }
@media (max-width: 860px) { .image-direction { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .image-direction { grid-template-columns: 1fr; } }

/* Contato por serviço */
.service-ctas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.service-cta { display: grid; gap: 0.5rem; align-content: start; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); min-width: 0; }
.service-cta .btn { justify-self: start; margin-top: 0.5rem; }
@media (max-width: 960px) { .service-ctas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .service-ctas { grid-template-columns: 1fr; } }

/* ---------- Layout inspirado na referência (abertura dividida, cartões grandes) ---------- */
.hero-split .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-split h1 { max-width: 14ch; }
.hero-split .hero-text { min-width: 0; }
.hero-visual { position: relative; aspect-ratio: 4 / 4.4; max-width: 100%; border-radius: 28px; overflow: hidden; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: -18% -30% auto auto; width: 75%; aspect-ratio: 1; border-radius: 50%; background: var(--azul-nevoa); opacity: 0.55; z-index: -1; }
.hv-vinho { background: var(--vinho); }
.hv-azul { background: var(--azul-nevoa); }
.hv-azul::before { background: var(--silence); opacity: 0.6; }
.hero-visual .hv-logo { position: absolute; left: 10%; top: 12%; width: 58%; height: auto; }
.hero-visual .hv-curva { position: absolute; right: -22%; bottom: -8%; width: 120%; height: auto; }
.hero-visual .hv-caption { position: absolute; left: 1.25rem; bottom: 1.1rem; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; }
.hv-vinho .hv-caption { color: var(--silence); }
.hv-azul .hv-caption { color: var(--vinho); }
.hv-rings { background: radial-gradient(circle at center, transparent 0 22px, var(--azul-nevoa) 22.5px 44px, transparent 44.5px) 0 0 / 104px 104px, var(--vinho); }
.hv-rings::before { display: none; }
.hv-hastes { background: repeating-linear-gradient(90deg, var(--vinho) 0 34px, transparent 34px 58px), var(--azul-nevoa); }
.hv-hastes::before { display: none; }
.hv-hastes::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0 62%, var(--azul-nevoa) 62% 100%); }
.hv-hastes .hv-symbol { position: absolute; left: 12%; bottom: 10%; width: 34%; z-index: 1; }
.hv-browser { background: var(--azul-nevoa); display: grid; place-items: center; padding: 8%; }
.hv-browser::before { display: none; }
.browser { width: 100%; background: var(--silence); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(80, 14, 16, 0.18); }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--surface); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-body { padding: 8% 8% 10%; display: grid; gap: 10px; }
.browser-body img { width: 40%; height: auto; }
.browser-body .bl { height: 10px; border-radius: 5px; background: var(--line); }
.browser-body .bb { justify-self: start; width: 38%; height: 26px; border-radius: 999px; background: var(--vinho); margin-top: 6px; }
.browser-body .bh { font-family: var(--display); font-style: italic; color: var(--vinho); font-size: clamp(1.1rem, 2.4vw, 1.6rem); line-height: 1.1; }
@media (max-width: 860px) {
  .hero-split .wrap { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 4 / 3; }
}
.section-head.center { justify-items: center; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.front .front-visual { height: 120px; border-radius: 14px; margin: -0.25rem 0 0.5rem; overflow: hidden; position: relative; }
.fv-curva { background: var(--vinho); }
.fv-curva img { position: absolute; width: 85%; right: -10%; bottom: -15%; }
.fv-vinho { background: var(--vinho); display: grid; place-items: center; }
.fv-vinho img { height: 58%; width: auto; }
.fv-silence { background: var(--silence); display: grid; place-items: center; }
.fv-silence img { width: 52%; height: auto; }
.closing { text-align: center; }
.closing .wrap { display: grid; justify-items: center; gap: 1rem; }
.closing .actions { justify-content: center; }
.band .panel { background: var(--surface); }
.hv-vinho::before { display: none; }

/* Sem padrões decorativos (pedido da Gabriela, 22/11/2026) */
.hero-visual::before, .miolo-band::after { display: none !important; }
.service ul li { padding-left: 1.4rem; }
.deliverables ul, .phase .deliver ul { list-style: none; padding-left: 0; }
.deliverables ul li, .phase .deliver ul li { position: relative; padding-left: 1.4rem; }
.deliverables ul li::before, .phase .deliver ul li::before { content: "—"; position: absolute; left: 0; color: var(--vinho); }
.hero-visual:has(.hv-curva) .hv-caption { top: 1.1rem; bottom: auto; right: 1.25rem; left: auto; }
.portfolio-item.is-tela .portfolio-media { aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.portfolio-item.is-tela img { object-position: top; }

/* ==========================================================
   Página de IA: tema claro e tecnológico (azul e branco).
   Pedido da Gabriela em 22/11/2026. Só vale dentro de .pg-ia.
   ========================================================== */
:is(.pg-ia, .pg-crm) {
  --vinho: #500E10;            /* azul profundo no lugar do vinho nesta página */
  --ink: #500E10;
  --ink-soft: #54392D;
  --text: #54392D;
  --potting-soil: #54392D;
  --paper: #FFFFFF;
  --surface: #B9D1DB;
  --line: #B9D1DB;
  --band-ia: #B9D1DB;
  --manteiga: #B9D1DB;
  --tech: #500E10;             /* azul de destaque para dados e status */
  background: var(--paper);
}
:is(.pg-ia, .pg-crm) h1, :is(.pg-ia, .pg-crm) h2, :is(.pg-ia, .pg-crm) h3, :is(.pg-ia, .pg-crm) .problem .q, :is(.pg-ia, .pg-crm) .phase h3, :is(.pg-ia, .pg-crm) .flow-stage h3 {
  font-family: var(--body); font-style: normal; font-weight: 600; letter-spacing: -0.02em;
}
:is(.pg-ia, .pg-crm) .problem { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(80, 14, 16, 0.06); }
:is(.pg-ia, .pg-crm) .problem .q { font-size: clamp(1.1rem, 2vw, 1.35rem); }
:is(.pg-ia, .pg-crm) .problem .tag, :is(.pg-ia, .pg-crm) .chip { background: #B9D1DB; color: var(--tech); }
:is(.pg-ia, .pg-crm) .screen { background: var(--paper); box-shadow: 0 10px 30px rgba(80, 14, 16, 0.06); }
:is(.pg-ia, .pg-crm) .screen-bar { background: var(--surface); }
:is(.pg-ia, .pg-crm) [data-status="funciona"] .status { background: var(--tech); border-color: var(--tech); color: #fff; }
:is(.pg-ia, .pg-crm) .legend .l-ok i { background: var(--tech); }
:is(.pg-ia, .pg-crm) .site-footer { background: var(--band-ia); }

/* Painel demonstrativo no topo da página de IA */
.hv-tech { background: var(--azul-nevoa); display: grid; place-items: center; padding: clamp(1rem, 4vw, 2rem); }
.tech-app { width: 100%; background: #fff; border-radius: 16px; box-shadow: 0 24px 50px rgba(80, 14, 16, 0.18); padding: 1rem; display: grid; gap: 0.85rem; font-size: 0.8rem; color: var(--text); }
.tech-bar { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.tech-tab { font-weight: 600; font-size: 0.68rem; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--surface); color: var(--ink-soft); }
.tech-tab.is-on { background: var(--ink); color: #fff; }
.tech-demo { margin-left: auto; font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.tech-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.tech-kpis div { background: var(--surface); border-radius: 10px; padding: 0.55rem 0.65rem; display: grid; gap: 0.1rem; min-width: 0; }
.tech-kpis small { font-size: 0.62rem; color: var(--ink-soft); }
.tech-kpis strong { font-size: 1.35rem; color: var(--ink); line-height: 1.1; }
.tech-pipe { display: grid; gap: 0.3rem; }
.tech-pipe span { display: block; background: var(--tech); color: #fff; font-size: 0.62rem; font-weight: 600; padding: 0.3rem 0.6rem; border-radius: 6px; }
.tech-pipe span:nth-child(2) { background: #B9D1DB; }
.tech-pipe span:nth-child(3) { background: #B9D1DB; color: var(--ink); }
.tech-chat { display: grid; gap: 0.45rem; border-top: 1px solid var(--line); padding-top: 0.75rem; }
.tech-chat .msg { margin: 0; padding: 0.5rem 0.7rem; border-radius: 12px; max-width: 85%; line-height: 1.4; }
.tech-chat .msg.in { background: var(--surface); justify-self: start; }
.tech-chat .msg.out { background: var(--ink); color: #fff; justify-self: end; }
.tech-chat .msg.out b { display: block; font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; margin-bottom: 0.15rem; }
.tech-log { margin: 0; font-size: 0.64rem; color: var(--tech); font-weight: 600; }
.hv-tech::before { display: none; }
@media (max-width: 860px) { .hv-tech { aspect-ratio: auto; } }
:is(.pg-ia, .pg-crm) h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; }
:is(.pg-ia, .pg-crm) h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
:is(.pg-ia, .pg-crm) .phase h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); overflow-wrap: anywhere; }
:is(.pg-ia, .pg-crm) .flow-stage h3 { font-size: 1.5rem; }
.legend { display: none; }

/* ==========================================================
   Página de CRM (referência: página de CRM de vendas do ActiveCampaign)
   ========================================================== */
.crm-hero { background: #500E10; color: #fff; padding-block: clamp(3rem, 8vw, 6rem); }
.crm-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.crm-hero .eyebrow { color: #B9D1DB; }
body .crm-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.05; margin-top: 1rem; }
.crm-hero .lead { color: #EDE6DA; margin-top: 1.25rem; max-width: 46ch; }
.crm-hero .actions { margin-top: 1.75rem; }
.crm-hero .btn-primary { background: #fff; color: #500E10; border-color: #fff; }
.crm-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.crm-hero-visual { background: #B9D1DB; border-radius: 24px; padding: clamp(1.25rem, 4vw, 2.5rem); }
.crm-flow { position: relative; display: grid; gap: 0.6rem; }
.crm-step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem; align-items: center; background: #fff; border-radius: 12px; padding: 0.7rem 0.9rem; box-shadow: 0 12px 28px rgba(80, 14, 16, 0.18); color: #500E10; max-width: 88%; }
.crm-step:nth-child(even) { margin-left: 12%; }
.crm-step i { font-style: normal; font-weight: 600; font-size: 0.72rem; width: 1.9rem; height: 1.9rem; border-radius: 8px; display: grid; place-items: center; background: #B9D1DB; color: #500E10; }
.crm-step.is-on { outline: 2px solid #500E10; }
.crm-step.is-on i { background: #500E10; color: #fff; }
.crm-step strong { display: block; font-size: 0.88rem; }
.crm-step small { color: #54392D; font-size: 0.74rem; }
.crm-demo { justify-self: end; font-size: 0.6rem; letter-spacing: .1em; text-transform: uppercase; color: #500E10; opacity: .7; margin-top: .25rem; }
.crm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.crm-visual-soft { background: #B9D1DB; border-radius: 24px; padding: clamp(1.25rem, 4vw, 2.5rem); }
.crm-accs { display: grid; margin-top: 1.25rem; border-top: 1px solid var(--line); }
.crm-acc { border-bottom: 1px solid var(--line); }
.crm-acc summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 600; color: var(--ink); position: relative; }
.crm-acc summary::-webkit-details-marker { display: none; }
.crm-acc summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; font-size: 1.2rem; color: var(--tech); }
.crm-acc[open] summary::after { content: "−"; }
.crm-acc p { margin: 0 0 1rem; color: var(--text); }
.crm-band { background: var(--band-ia); }
.crm-checks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.5rem; }
.crm-checks li { position: relative; padding-left: 1.6rem; }
.crm-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--tech); font-weight: 600; }
.crm-board { background: #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(80, 14, 16, 0.12); overflow: hidden; }
.crm-board-bar { display: flex; justify-content: space-between; gap: .5rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .85rem; }
.crm-board-bar span { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); align-self: center; }
.crm-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; padding: .8rem; }
.crm-col { background: var(--surface); border-radius: 10px; padding: .5rem; display: grid; gap: .4rem; align-content: start; min-width: 0; }
.crm-col p { margin: 0; font-size: .64rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); display: flex; justify-content: space-between; }
.crm-col p b { color: var(--tech); }
.crm-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .5rem; display: grid; gap: .1rem; min-width: 0; overflow-wrap: anywhere; }
.crm-card strong { font-size: .72rem; color: var(--ink); }
.crm-card small { font-size: .64rem; color: var(--ink-soft); }
.crm-card.is-hot { border-color: var(--tech); }
.crm-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.crm-feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; display: grid; gap: .6rem; align-content: start; box-shadow: 0 10px 30px rgba(80, 14, 16, 0.06); }
.crm-ico { justify-self: start; font-weight: 600; font-size: .75rem; color: #fff; background: var(--tech); border-radius: 8px; padding: .35rem .55rem; }
.pg-crm .crm-feature h3 { font-size: 1.1rem; }
.crm-feature p { margin: 0; font-size: .92rem; }
.crm-includes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.crm-includes li { background: #fff; border-radius: 12px; padding: 1rem 1.1rem 1rem 2.6rem; position: relative; font-weight: 500; color: var(--ink); }
.crm-includes li::before { content: "✓"; position: absolute; left: 1rem; color: var(--tech); font-weight: 600; }
@media (max-width: 960px) { .crm-features, .crm-includes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .crm-hero .wrap, .crm-split { grid-template-columns: 1fr; }
  .crm-split-rev > :first-child { order: 0; }
}
@media (max-width: 560px) {
  .crm-features, .crm-includes { grid-template-columns: 1fr; }
  .crm-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crm-step, .crm-step:nth-child(even) { max-width: 100%; margin-left: 0; }
}
.crm-contact { background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(80, 14, 16, 0.12); padding: 1.1rem; display: grid; gap: .9rem; color: var(--text); }
.crm-contact-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: center; }
.crm-avatar { width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .8rem; }
.crm-contact-head strong { display: block; color: var(--ink); }
.crm-contact-head small { color: var(--ink-soft); font-size: .75rem; }
.crm-stage { font-size: .66rem; font-weight: 600; color: #fff; background: var(--tech); padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.crm-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.crm-meta div { background: var(--surface); border-radius: 10px; padding: .55rem .7rem; display: grid; gap: .1rem; min-width: 0; }
.crm-meta small { font-size: .64rem; color: var(--ink-soft); }
.crm-meta b { font-size: .8rem; color: var(--ink); font-weight: 600; }
.crm-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; border-left: 2px solid var(--line); }
.crm-timeline li { padding-left: .8rem; font-size: .8rem; }
.crm-timeline b { display: block; font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--tech); }
.crm-contact .crm-demo { justify-self: end; }

/* ==========================================================
   Página Agentes de IA (referência: página de agentes de IA da Infobip)
   ========================================================== */
.ag-config { background: #500E10; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 1rem; display: grid; gap: .55rem; box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.ag-config-head { display: flex; align-items: center; gap: .6rem; color: #fff; padding: .25rem .25rem .5rem; }
.ag-config-head strong { font-size: 1.05rem; }
.ag-config-head .crm-demo { margin-left: auto; color: #B9D1DB; opacity: 1; margin-top: 0; }
.ag-dot { width: 2rem; height: 2rem; border-radius: 8px; background: #500E10; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .72rem; }
.ag-field { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: .65rem .8rem; display: grid; gap: .3rem; }
.ag-field small { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #B9D1DB; }
.ag-field b { color: #fff; font-weight: 500; font-size: .9rem; }
.ag-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.ag-tags i { font-style: normal; font-size: .7rem; font-weight: 600; background: #500E10; color: #fff; padding: .2rem .55rem; border-radius: 6px; }
.ag-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ag-benefit { background: #B9D1DB; border-radius: 18px; padding: 1.5rem; display: grid; gap: .6rem; align-content: start; }
.pg-ia .ag-benefit h3 { font-size: 1.15rem; }
.ag-benefit p { margin: 0; font-size: .92rem; }
.ag-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ag-case { background: #fff; border-radius: 20px; padding: 1.25rem; display: grid; gap: .75rem; align-content: start; box-shadow: 0 10px 30px rgba(80, 14, 16, 0.06); }
.pg-ia .ag-case h3 { font-size: 1.2rem; margin-top: .25rem; }
.ag-case > p { margin: 0; font-size: .92rem; }
.ag-chat { background: #B9D1DB; border-radius: 14px; padding: 1rem; display: grid; gap: .5rem; font-size: .8rem; min-height: 150px; align-content: center; }
.ag-chat .msg { margin: 0; padding: .5rem .7rem; border-radius: 12px; max-width: 88%; line-height: 1.4; }
.ag-chat .msg.in { background: #fff; justify-self: start; color: var(--text); }
.ag-chat .msg.out { background: #500E10; color: #fff; justify-self: end; }
.ag-log { margin: 0; font-size: .66rem; font-weight: 600; color: #500E10; justify-self: end; }
.ag-handoff { background: #500E10; border-radius: 24px; padding: clamp(1.25rem, 4vw, 2rem); display: grid; gap: .75rem; }
.ag-handoff-row { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: .85rem 1rem; color: #fff; display: grid; gap: .3rem; }
.ag-handoff-row p { margin: 0; font-size: .9rem; color: #EDE6DA; }
.ag-handoff-row.is-human { background: #fff; }
.ag-handoff-row.is-human p { color: var(--text); }
.ag-who { font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #B9D1DB; }
.ag-handoff-row.is-human .ag-who { color: #500E10; }
.ag-handoff-arrow { color: #B9D1DB; font-size: .78rem; text-align: center; }
.ag-integrations { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.ag-integrations li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.2rem; font-weight: 600; color: var(--ink); font-size: .9rem; }
@media (max-width: 960px) { .ag-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ag-cases { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ag-benefits { grid-template-columns: 1fr; } }

/* Paleta oficial apenas (22/11/2026): sobre o vinho, destaques em azul névoa */
.ag-tags i, .ag-dot { background: #B9D1DB; color: #500E10; }
.ag-config { background: rgba(255,255,255,.06); border-color: rgba(185,209,219,.35); box-shadow: none; }
.crm-hero-visual .crm-step.is-on { outline-color: #500E10; }

/* Retratos por ensaio */
.retratos { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.ensaio { display: grid; gap: 1.1rem; }
.ensaio-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.ensaio-head h3 { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--ink); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; margin: 0; }
.ensaio-head p { margin: 0; color: var(--ink-soft); max-width: 36rem; }
.ensaio-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.5rem, 1.2vw, 1rem); }
.ensaio-grid a { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.ensaio-grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; transition: transform .5s ease; }
.ensaio-grid a:hover img { transform: scale(1.03); }
@media (max-width: 860px) { .ensaio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ensaio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ensaio-grid a:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 4.4; } }

/* Case de branding com galeria */
.portfolio-item.is-case { grid-column: 1 / -1; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; }
.portfolio-item.is-case .portfolio-media { aspect-ratio: 1125 / 838; }
.portfolio-item.is-case figcaption p { max-width: 34rem; }
.case-gallery { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: clamp(.5rem, 1.2vw, 1rem); }
.case-gallery a { flex: 1 1 260px; display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .portfolio-item.is-case { grid-template-columns: 1fr; } }

/* ==========================================================
   Páginas de tecnologia (CRM e Agentes de IA): azul névoa e branco
   como cores principais; vinho só em detalhes. Pedido da Gabriela, 22/11/2026.
   ========================================================== */
:is(.pg-ia, .pg-crm) { --ink: #54392D; --ink-soft: #54392D; --text: #54392D; }
.crm-hero { background: #B9D1DB; color: #54392D; }
body .crm-hero h1 { color: #54392D; }
.crm-hero .eyebrow { color: #500E10; }
.crm-hero .lead { color: #54392D; }
.crm-hero .btn-primary { background: #500E10; color: #fff; border-color: #500E10; }
.crm-hero .btn-ghost { color: #54392D; border-color: #54392D; }
.crm-hero-visual { background: transparent; padding: 0; }
.crm-step { box-shadow: 0 12px 28px rgba(84, 57, 45, 0.10); color: #54392D; }
.crm-step.is-on, .crm-hero-visual .crm-step.is-on { outline: 2px solid #500E10; }
.crm-board, .crm-contact { box-shadow: 0 18px 40px rgba(84, 57, 45, 0.10); }
.ag-config { background: #fff; border: 0; box-shadow: 0 24px 50px rgba(84, 57, 45, 0.12); }
.ag-config-head { color: #54392D; }
.ag-config-head .crm-demo { color: #500E10; }
.ag-field { background: rgba(185, 209, 219, 0.35); border: 1px solid #B9D1DB; }
.ag-field small { color: #500E10; }
.ag-field b { color: #54392D; }
.ag-handoff { background: #B9D1DB; }
.ag-handoff-row { background: #fff; border: 1px solid #fff; color: #54392D; }
.ag-handoff-row p { color: #54392D; }
.ag-who { color: #54392D; }
.ag-handoff-row.is-human { border-color: #500E10; }
.ag-handoff-row.is-human .ag-who { color: #500E10; }
.ag-handoff-arrow { color: #54392D; }

/* ==========================================================
   Efeitos e layout inspirados na referência enviada pela Gabriela (22/11/2026).
   Só cores da paleta: degradê Azul névoa → Manteiga.
   ========================================================== */
.fx-gradient { background: linear-gradient(180deg, #B9D1DB 0%, #B9D1DB 38%, #F4ECC2 100%); }
.fx-hero { padding: 0 clamp(8px, 1.2vw, 14px); }
.fx-hero-panel {
  position: relative; min-height: calc(100svh - 92px); border-radius: clamp(18px, 2.4vw, 28px); overflow: hidden;
  background: linear-gradient(180deg, #B9D1DB 0%, #B9D1DB 40%, #F4ECC2 100%);
  display: grid; place-items: center; padding: 4.5rem 1.25rem;
}
.fx-hero-mark { display: grid; justify-items: center; gap: clamp(.5rem, 2vw, 1.25rem); will-change: transform, opacity; }
.fx-hero-logo { width: min(62vw, 760px); height: auto; opacity: 0; transform: translateY(24px); animation: fxIn 1.2s cubic-bezier(.2,.7,.2,1) .15s forwards; }
.fx-hero-curva { width: min(26vw, 260px); height: auto; opacity: 0; animation: fxIn 1.2s cubic-bezier(.2,.7,.2,1) .45s forwards; }
.fx-corner { position: absolute; font-size: .78rem; letter-spacing: .04em; color: var(--vinho); text-decoration: none; opacity: 0; animation: fxFade .9s ease .8s forwards; }
.fx-corner.tl { top: 1.25rem; left: 1.4rem; } .fx-corner.tr { top: 1.25rem; right: 1.4rem; }
.fx-corner.bl { bottom: 1.25rem; left: 1.4rem; } .fx-corner.br { bottom: 1.25rem; right: 1.4rem; }
@keyframes fxIn { to { opacity: 1; transform: none; } }
@keyframes fxFade { to { opacity: 1; } }

.fx-marker { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding-block: .9rem; margin-bottom: clamp(2rem, 6vw, 4.5rem); }
.fx-marker span:nth-child(2) { text-align: center; }
.fx-intro { padding-top: clamp(3rem, 8vw, 6rem); }
.fx-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.fx-tag { display: flex; gap: 2.5rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0; }
.fx-intro h1 { font-size: clamp(2.4rem, 6.4vw, 5.6rem); line-height: 1.02; max-width: 15ch; }
.fx-intro-side { justify-self: end; max-width: 30rem; margin-top: clamp(1rem, 4vw, 3rem); }
.fx-intro-side .actions { margin-top: 1.25rem; }

/* palavras que acendem com a rolagem */
[data-words] .w { opacity: .16; transition: opacity .35s ease; }
[data-words] .w.on { opacity: 1; }
.fx-statement { padding-block: clamp(4rem, 10vw, 8rem); }
.fx-big { font-family: var(--display); font-style: italic; color: var(--ink); text-align: center; font-size: clamp(2rem, 5.2vw, 4.4rem); line-height: 1.12; max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.fx-pill { display: inline-block; width: 1.45em; height: .95em; border-radius: 999px; overflow: hidden; vertical-align: -.08em; background: #B9D1DB; }
.fx-pill img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-pill-ia img { object-fit: contain; padding: .12em; }

/* mídia que cresce até ocupar a tela */
.fx-expand { height: 220vh; position: relative; padding: 0; }
.fx-expand-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.fx-expand-media {
  --p: 0; position: relative; overflow: hidden; background: #000;
  width: calc(52vw + 48vw * var(--p)); height: calc(56vh + 44vh * var(--p)); border-radius: calc(28px * (1 - var(--p)));
}
.fx-expand-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-expand-text { position: absolute; inset: 0; display: grid; align-content: end; padding: clamp(1.25rem, 4vw, 3rem); background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.45)); color: #fff; }
.fx-expand-title { font-family: var(--display); font-style: italic; font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1; margin: 0; opacity: calc(var(--p) * 1.6 - .4); transform: translateY(calc(30px * (1 - var(--p)))); }
.fx-expand-cap { margin: .75rem 0 0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: calc(var(--p) * 1.6 - .5); }
@media (max-width: 760px) { .fx-expand-media { width: calc(84vw + 16vw * var(--p)); height: calc(46vh + 54vh * var(--p)); } }

/* trabalho selecionado */
.fx-work-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem); }
.fx-work-grid .fx-card:nth-child(3) { grid-column: 1; } 
.fx-work-grid .fx-card:nth-child(4) { grid-column: 2; }
.fx-work-grid .fx-card:nth-child(2) .fx-card-media, .fx-work-grid .fx-card:nth-child(3) .fx-card-media { aspect-ratio: 4 / 3.3; }
.fx-work-grid .fx-card:nth-child(3) { grid-column: 1 / 2; }
.fx-card { display: grid; gap: .8rem; text-decoration: none; color: var(--ink); }
.fx-card-media { display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 11; background: var(--surface); }
.fx-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.fx-card:hover .fx-card-media img { transform: scale(1.04); }
.fx-card-info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; }
.fx-card-info strong { font-weight: 600; font-size: .98rem; }
.fx-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.fx-chips i { font-style: normal; font-size: .7rem; font-weight: 500; color: var(--vinho); background: #B9D1DB; border-radius: 999px; padding: .25rem .65rem; }
@media (max-width: 760px) { .fx-work-grid { grid-template-columns: 1fr; } .fx-work-grid .fx-card:nth-child(n) { grid-column: auto; } }

/* fechamento */
.fx-closing { padding: clamp(3rem, 8vw, 6rem) clamp(8px, 1.2vw, 14px) clamp(8px, 1.2vw, 14px); }
.fx-closing-panel { border-radius: clamp(18px, 2.4vw, 28px); background: linear-gradient(180deg, #B9D1DB 0%, #B9D1DB 35%, #F4ECC2 100%); padding: clamp(4rem, 12vw, 9rem) 1.25rem; display: grid; justify-items: center; text-align: center; gap: 1.25rem; }
.fx-stack { display: grid; justify-items: center; gap: .5rem; margin: .5rem 0; font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: 1; }
.fx-stack span { background: #fff; border-radius: clamp(14px, 2vw, 24px); padding: .12em .4em .2em; }
.fx-stack span:first-child { background: #F4ECC2; }
.fx-closing-lead { max-width: 40ch; margin: 0; }
.fx-closing .actions { justify-content: center; }
.fx-closing .note { margin: 0; }

/* barra flutuante */
.fx-float { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 30; transform: translate(-50%, 160%); transition: transform .6s cubic-bezier(.2,.7,.2,1);
  display: flex; align-items: center; gap: .35rem; background: rgba(255,255,255,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(185,209,219,.9); border-radius: 14px; padding: .35rem .35rem .35rem .8rem; box-shadow: 0 14px 34px rgba(84,57,45,.14); }
.fx-float.show { transform: translate(-50%, 0); }
.fx-float img { height: 1.35rem; width: auto; display: block; margin-right: .6rem; }
.fx-float a { text-decoration: none; font-size: .82rem; color: var(--ink); padding: .5rem .7rem; border-radius: 10px; white-space: nowrap; }
.fx-float a.fx-float-cta { background: var(--vinho); color: #fff; font-weight: 500; }

/* revelação ao rolar */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

@media (prefers-reduced-motion: reduce) {
  .fx-hero-logo, .fx-hero-curva, .fx-corner { animation: none; opacity: 1; transform: none; }
  .js .reveal { transform: none; transition: opacity .8s ease; }
  .fx-expand { height: auto; padding: 0 clamp(8px, 1.2vw, 14px); }
  .fx-expand-stage { position: static; height: auto; }
  .fx-expand-media { --p: 1; width: 100%; height: 80vh; border-radius: 24px; }
}
.fx-float > a:first-child { flex: none; padding-left: .2rem; }
.fx-float img { max-width: none; width: auto; }
.fx-float.at-end { transform: translate(-50%, 160%); }

/* ==========================================================
   Cases de sites (referência: página de case enviada pela Gabriela, 22/11/2026)
   ========================================================== */
.mock-laptop { width: 100%; max-width: 980px; margin: 0 auto; will-change: transform; }
.mock-screen { border: clamp(6px, 1vw, 12px) solid #0E0E0E; border-bottom-width: clamp(10px, 1.6vw, 18px); border-radius: clamp(10px, 1.4vw, 18px) clamp(10px, 1.4vw, 18px) 0 0; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.mock-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.mock-base { height: clamp(8px, 1.2vw, 16px); width: 112%; margin-left: -6%; background: linear-gradient(180deg, #EDE6DA, #cfc6b8); border-radius: 0 0 14px 14px; box-shadow: 0 24px 40px rgba(84,57,45,.22); }
.mock-phone { width: min(300px, 62%); margin: 0 auto; aspect-ratio: 390 / 844; border: clamp(6px, .9vw, 10px) solid #0E0E0E; border-radius: clamp(28px, 4vw, 44px); overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(84,57,45,.25); will-change: transform; }
.mock-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.mock-browser { width: 100%; max-width: 1040px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.28); will-change: transform; }
.mock-bar { background: #EDE6DA; padding: .55rem; display: flex; justify-content: center; }
.mock-bar span { background: #fff; border-radius: 8px; font-size: .72rem; color: #54392D; padding: .25rem 1.25rem; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; }

.case-top { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-bottom: clamp(2.5rem, 7vw, 5rem); }
.case-meta > div { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.case-meta small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.case-meta b { font-weight: 500; color: var(--ink); }
.case-meta a { color: var(--vinho); font-weight: 600; }
.case-title { font-size: clamp(2.6rem, 8vw, 7rem); line-height: .98; max-width: 14ch; }
.case-lead { max-width: 40rem; margin-top: 1.5rem; }
.case-boards { display: grid; gap: clamp(8px, 1.2vw, 14px); padding: 0 clamp(8px, 1.2vw, 14px); }
.case-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.2vw, 14px); }
.case-board { border-radius: clamp(18px, 2.4vw, 28px); overflow: hidden; padding: clamp(2rem, 7vw, 6rem) clamp(1rem, 6vw, 6rem); display: grid; place-items: center; min-height: min(80vh, 760px); }
.case-row .case-board { min-height: min(90vh, 820px); }
.b-grad { background: linear-gradient(180deg, #B9D1DB 0%, #B9D1DB 40%, #F4ECC2 100%); }
.b-azul { background: #B9D1DB; }
.b-silence { background: #EDE6DA; }
.b-manteiga { background: #F4ECC2; }
.b-vinho { background: #500E10; }
.case-next { padding-top: clamp(4rem, 9vw, 7rem); }
.case-next-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1rem, 4vw, 3rem); align-items: center; text-decoration: none; color: var(--ink); }
.case-next-media { display: block; border-radius: 22px; overflow: hidden; padding: clamp(1.25rem, 4vw, 3rem); }
.case-next-media img { width: 100%; display: block; border-radius: 10px; box-shadow: 0 20px 40px rgba(84,57,45,.18); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.case-next-card:hover .case-next-media img { transform: scale(1.03); }
.case-next-text { display: grid; gap: .6rem; justify-items: start; }
.case-next-text small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.case-next-text strong { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; }
.pg-case .fx-float:not(.fx-float-case) { display: none; }
.fx-float-name { font-size: .8rem; color: var(--ink-soft); padding: 0 .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
@media (max-width: 760px) {
  .case-meta { grid-template-columns: 1fr 1fr; }
  .case-row { grid-template-columns: 1fr; }
  .case-board, .case-row .case-board { min-height: 0; padding: 2.5rem 1rem; }
  .mock-phone { width: min(260px, 72%); }
  .case-next-card { grid-template-columns: 1fr; }
  .fx-float-name { display: none; }
}

/* galeria de sites: tela dentro do notebook */
.portfolio-item.is-tela .portfolio-media { aspect-ratio: auto; border: 0; background: linear-gradient(180deg, #B9D1DB 0%, #B9D1DB 40%, #F4ECC2 100%); padding: clamp(1.5rem, 5vw, 3rem) clamp(1.5rem, 6vw, 3.5rem) clamp(2rem, 5vw, 3rem); display: block; border-radius: 22px; }
.portfolio-item.is-tela .mock-screen img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.portfolio-item.is-tela .portfolio-media:hover .mock-screen img { transform: scale(1.03); }
.portfolio-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.portfolio-links a { color: var(--vinho); font-weight: 600; font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { [data-parallax] { transform: none !important; } }

/* Visualizador sem rolagem própria (página esticada): efeitos de rolagem viram animações de entrada */
.fx-embed .fx-expand { height: auto; padding: 0 clamp(8px, 1.2vw, 14px); }
.fx-embed .fx-expand-stage { position: static; height: auto; }
.fx-embed .fx-expand-media { width: 100%; height: min(80vw, 760px); border-radius: 24px; }
.fx-embed .fx-hero-panel { min-height: min(92vw, 820px); }
.fx-embed .fx-float { display: none; }
.fx-embed [data-words] .w { transition: opacity .6s ease; }
.fx-embed .case-board, .fx-embed .case-row .case-board { min-height: 0; }
.fx-hero-panel { min-height: min(calc(100svh - 92px), 980px); }
@media (prefers-reduced-motion: no-preference) { .fx-expand { height: min(220vh, 2400px); } }
.fx-expand-stage { max-height: 1100px; }

/* Abertura: barra de trabalhos e cursor "Você" (referência enviada pela Gabriela) */
.fx-dock { position: absolute; top: clamp(.9rem, 3vh, 1.6rem); left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: flex-start; gap: .45rem; padding: .45rem; border-radius: 16px; background: rgba(255,255,255,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(84,57,45,.12); opacity: 0; animation: fxFade .9s ease .6s forwards; }
.fx-dock a { position: relative; display: block; width: 52px; height: 52px; border-radius: 10px; overflow: visible; transition: transform .35s cubic-bezier(.2,.7,.2,1); transform-origin: 50% 0; }
.fx-dock img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; box-shadow: 0 2px 6px rgba(84,57,45,.15); }
.fx-dock-label { position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, -4px); white-space: nowrap; font-size: .68rem; font-weight: 600; color: #fff; background: var(--vinho); padding: .3rem .6rem; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.fx-dock a:hover, .fx-dock a:focus-visible { transform: translateY(10px) scale(1.25); z-index: 2; }
.fx-dock a:hover .fx-dock-label, .fx-dock a:focus-visible .fx-dock-label { opacity: 1; transform: translate(-50%, 0) scale(.8); }
.fx-dock a.near { transform: translateY(4px) scale(1.1); }
.fx-hero .fx-corner.tl, .fx-hero .fx-corner.tr { top: 1.25rem; }
@media (max-width: 760px) { .fx-dock { gap: .3rem; padding: .3rem; top: 3rem; } .fx-dock a { width: 38px; height: 38px; } .fx-dock a:nth-child(n+7) { display: none; } }
.fx-cursor { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; display: none; align-items: flex-start; will-change: transform; }
.fx-cursor span { margin: 16px 0 0 2px; font-size: .72rem; font-weight: 600; color: #fff; background: var(--vinho); padding: .2rem .55rem; border-radius: 7px; border: 1.5px solid #fff; box-shadow: 0 4px 14px rgba(84,57,45,.35); }
@media (hover: hover) and (pointer: fine) {
  .fx-hero-panel.has-cursor { cursor: none; }
  .fx-hero-panel.has-cursor a { cursor: none; }
  .fx-hero-panel.has-cursor .fx-cursor { display: flex; }
}

/* Website no formato de case */
.case-board { position: relative; }
.board-tag { position: absolute; left: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem); z-index: 2; display: inline-flex; gap: .6rem; align-items: center; font-size: .78rem; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border-radius: 10px; padding: .45rem .75rem; text-decoration: none; }
.board-tag span { color: var(--vinho); font-weight: 500; }
.b-vinho .board-tag { background: rgba(255,255,255,.92); }
.site-info { padding-top: clamp(4rem, 9vw, 7rem); }
.site-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.site-cols > div { border-top: 1px solid var(--line); padding-top: 1.1rem; display: grid; gap: .6rem; align-content: start; }
.site-cols small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.site-cols h3 { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; margin: 0; }
.site-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.site-cols p { margin: 0; }
.site-info .note { margin-top: 1.5rem; }
.info-drawer { position: fixed; left: clamp(10px, 1.5vw, 18px); top: 86px; z-index: 25; }
.info-drawer summary { list-style: none; cursor: pointer; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(84,57,45,.55); color: #fff; display: grid; place-items: center; font-size: 1.3rem; line-height: 1; backdrop-filter: blur(8px); transition: transform .3s ease; }
.info-drawer summary::-webkit-details-marker { display: none; }
.info-drawer[open] summary { transform: rotate(45deg); }
.info-panel { margin-top: .5rem; width: min(320px, calc(100vw - 2rem)); background: rgba(84,57,45,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; border-radius: 14px; padding: 1rem 1.1rem; display: grid; gap: .8rem; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.info-panel small { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #B9D1DB; margin-bottom: .15rem; }
.info-panel b { font-weight: 500; }
.info-panel p { margin: 0; font-size: .88rem; line-height: 1.5; color: #EDE6DA; }
#quero-um-site { padding-top: clamp(4rem, 9vw, 7rem); }
@media (max-width: 760px) { .site-cols { grid-template-columns: 1fr; } .board-tag { font-size: .7rem; } .pg-sites .case-board { padding-bottom: 4.25rem; } .info-drawer { top: 74px; } }

/* Símbolos inteiros nos cartões de serviço (sem corte) */
.front .front-visual.fv-curva, .front .front-visual.fv-vinho, .front .front-visual.fv-silence { display: flex; align-items: center; justify-content: center; padding: 14px; }
.fv-curva img { position: static; width: auto; height: 76px; max-width: 80%; }
.fv-vinho img { height: 76px; width: auto; max-width: 80%; }

/* Rastro de trabalhos atrás do cursor (referência enviada pela Gabriela) */
.fx-trail { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; border-radius: inherit; }
.fx-trail-img { position: absolute; width: clamp(150px, 17vw, 290px); aspect-ratio: 4 / 3; object-fit: cover; translate: -18% -22%; scale: .72; opacity: 0; box-shadow: 0 18px 40px rgba(84,57,45,.25); transition: scale .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease; }
.fx-trail-img.on { scale: 1; opacity: 1; }
.fx-trail-img.off { scale: .82; opacity: 0; transition: scale .8s ease, opacity .8s ease; }
.fx-hero-mark { position: relative; z-index: 2; }
.fx-dock { z-index: 3; }
@media (prefers-reduced-motion: reduce) { .fx-trail-img, .fx-trail-img.on, .fx-trail-img.off { scale: 1; } }

/* Branding: pranchas empilhadas (referência: case enviado pela Gabriela) */
.pr-stack { display: flex; flex-direction: column; padding: clamp(10px, 1.6vw, 24px); padding-bottom: 0; }
.prancha { margin: 0; position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #EDE6DA; container-type: inline-size; }
.prancha > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-contain { background: linear-gradient(160deg, #0f1524 0%, #22325a 100%); padding: 0 2%; }
.pr-contain > img { position: relative; object-fit: contain; }
.prancha.pr-blur > img { filter: blur(24px); scale: 1.06; transition: filter 1.1s ease, scale 1.4s cubic-bezier(.2,.8,.2,1); }
.prancha.pr-blur.pr-loaded > img { filter: blur(0); scale: 1; }
.pr-divider { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: clamp(2.5rem, 6vw, 5rem) clamp(.5rem, 3vw, 3rem); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--vinho); }
.pr-divider span:nth-child(2) { height: 1px; background: rgba(80,14,16,.2); }
.pr-yaah { display: grid; place-items: center; }
.pr-yaah > img { width: 46%; height: auto; object-fit: contain; }
.pr-y1 { background: linear-gradient(180deg, #B9D1DB 0%, #F4ECC2 100%); }
.pr-y2 { background: #500E10; }
.pr-y2 .pr-y2-logo { width: 40%; }
.pr-y2 .pr-y2-curva { position: absolute; width: 22%; right: 7%; bottom: 10%; }
.pr-y3 { display: flex; align-items: stretch; }
.pr-y3 span { display: flex; flex-direction: column; justify-content: flex-end; padding: 3.2cqw 2.4cqw; gap: .4cqw; }
.pr-y3 b { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 3cqw; }
.pr-y3 i { font-style: normal; font-size: 1.4cqw; letter-spacing: .1em; }
.pr-y4 { background: #F4ECC2; grid-template-rows: auto auto auto; align-content: center; gap: 2.2cqw; }
.pr-y4 > img { width: 12%; }
.pr-y4 .pr-type { margin: 0; font-family: var(--display); font-style: italic; font-size: 6.4cqw; line-height: 1; color: #500E10; }
.pr-y4 .pr-y4-curva { width: 18%; }
.pr-cta { display: flex; justify-content: center; padding: clamp(3rem, 7vw, 5.5rem) 1rem; }
@media (prefers-reduced-motion: reduce) { .prancha.pr-blur > img { scale: 1; transition: filter .8s ease; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Pranchas do manual de marca (4:3) */
.prancha.pr-43 { aspect-ratio: 4 / 3; background: #fff; max-width: min(100%, 124vh); width: 100%; margin-left: auto; margin-right: auto; }

/* ===== v4 (2026-11-25): copy nova, PT/EN ===== */
.site-nav { margin-left: auto; }
@media (min-width: 761px) and (max-width: 1180px) { .site-nav ul { gap: 1.1rem; } .site-nav a { font-size: .82rem; } }
.site-nav .nav-cta a { color: var(--vinho); font-weight: 600; border: 1px solid var(--vinho); border-radius: 999px; padding: .45rem .95rem; }
.site-nav .nav-cta a:hover { background: var(--vinho); color: var(--silence); }
.lang-switch { display: flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-soft); }
.lang-switch a { color: var(--ink-soft); text-decoration: none; padding: .3rem .15rem; }
.lang-switch a[aria-current] { color: var(--vinho); text-decoration: underline; text-underline-offset: 5px; }
.lang-switch a:hover { color: var(--vinho); }
@media (max-width: 760px) {
  .site-nav { margin-left: 0; }
  .lang-switch { margin-left: auto; }
  .site-nav .nav-cta a { border: 0; border-radius: 0; padding: .85rem 0; }
}
.fronts-4 .front:nth-child(1) { background: var(--azul-nevoa); }
.fronts-4 .front:nth-child(2) { background: var(--vinho); color: var(--silence); }
.fronts-4 .front:nth-child(2) h2 { color: var(--azul-nevoa); }
.fronts-4 .front:nth-child(2) .eyebrow { color: var(--silence); }
.fronts-4 .front:nth-child(2) .btn-ghost { color: var(--silence); border-color: var(--silence); }
.fronts-4 .front:nth-child(2) .btn-ghost:hover { background: var(--silence); color: var(--vinho); }
.fronts-4 .front:nth-child(3) { background: var(--manteiga); }
.fronts-4 .front:nth-child(4) { background: var(--azul-nevoa); }
.fronts-4 .front h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.fronts-4 .front .btn { align-self: end; }
.site-cols.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .site-cols.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-cols.cols-4 { grid-template-columns: 1fr; } }
.site-info .split { margin-bottom: clamp(2rem, 5vw, 3rem); }
.site-info .split h2, .band .split h2 { margin-top: .75rem; }
.fx-statement-text { max-width: 44rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); margin-left: auto; }
.page-hero h1 em { font-style: italic; color: var(--vinho); }
.hv-photo { background: var(--vinho); }
.hv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.compose-done { border-radius: var(--radius); background: var(--azul-nevoa); color: var(--vinho); padding: 1.1rem 1.25rem; }
.compose-done p { margin: 0; }
.compose-done-title { font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.2; margin-bottom: .4rem !important; }
.portfolio-item figcaption .eyebrow:empty { display: none; }
.site-footer .wrap { grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); }
.foot-call { display: grid; gap: 1rem; align-content: start; }
.foot-title { font-family: var(--display); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; margin: 0; color: var(--vinho); }
.foot-call .btn { justify-self: start; }
@media (max-width: 960px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .foot-call { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.site-cols.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .site-cols.cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .site-cols.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-cols.cols-5 { grid-template-columns: 1fr; } }

/* ===== v6 (2026-11-25): revisão final ===== */
/* 1. Só o menu do topo */
.fx-float, .fx-float-case { display: none !important; }
/* 2. Um único ritmo entre faixas */
main > section { padding-block: 120px !important; }
main > section[style*="padding-top:0"], main > section.case-boards, main > section.pr-stack, main > #retratos, main > #projetos-filmes { padding-top: 0 !important; }
main > section.fx-hero { padding: 0 !important; }
main > section.fx-expand { padding-block: 0 !important; }
main > section.fx-closing { padding: 0 clamp(8px, 1.2vw, 14px) 120px !important; }
main > section.crm-hero, main > section.case-top { padding-top: 96px !important; }
@media (max-width: 760px) {
  main > section { padding-block: 72px !important; }
  main > section.fx-closing { padding: 0 8px 72px !important; }
  main > section.crm-hero, main > section.case-top { padding-top: 56px !important; }
}
.site-info .split { margin-bottom: 0; }
.site-info .split + .site-cols, .site-info .section-head + .site-cols { margin-top: 3rem; }
/* rodapé em vinho, separado do fechamento */
.site-footer, :is(.pg-ia, .pg-crm) .site-footer { background: var(--vinho) !important; color: var(--silence); }
.site-footer a, .site-footer .note, .site-footer .legal, .site-footer .foot-title { color: var(--silence) !important; }
.site-footer .legal { border-top-color: rgba(237, 230, 218, .25); }
.site-footer .btn-primary { background: var(--silence); color: var(--vinho) !important; border-color: var(--silence); }
.site-footer .btn-primary:hover { background: var(--azul-nevoa); }
/* 3. Sem numeração dupla */
.fx-marker { grid-template-columns: 1fr; }
.fx-marker span:first-child, .fx-marker span:last-child { display: none; }
.fx-tag span:first-child { display: none; }
/* 4. Faixa "Yaah." alinhada pelo topo */
@media (min-width: 900px) {
  .fx-intro-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; column-gap: clamp(2rem, 5vw, 5rem); }
  .fx-intro-grid .fx-tag { grid-column: 1 / -1; }
  .fx-intro-side { justify-self: start; margin-top: .6rem; max-width: 34rem; }
}
/* 5. Portfólio da home: mesma proporção, legendas alinhadas */
.fx-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.fx-work-grid .fx-card:nth-child(n) { grid-column: auto; }
.fx-work-grid .fx-card .fx-card-media, .fx-work-grid .fx-card:nth-child(n) .fx-card-media { aspect-ratio: 4 / 3; }
.fx-work-grid .fx-card-media img { object-position: 50% 30%; }
/* 6. Sobre */
.about-band .split { align-items: center; }
.about-band .founder-photo { max-width: 420px; }
.about-quote { font-family: var(--display); font-style: italic; color: var(--vinho); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.25; margin: .25rem 0 .5rem; }
.about-band .actions { margin-top: 1.25rem; }
/* 7. Contato: 5 cards em linha ou 3+2 centralizados, botões iguais */
.service-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.service-cta { flex: 1 1 calc(20% - 1rem); min-width: 200px; max-width: 320px; grid-template-rows: auto 1fr auto; }
.service-cta .btn { justify-self: stretch; justify-content: center; text-align: center; width: 100%; }
@media (max-width: 1180px) { .service-cta { flex-basis: calc(33.333% - 1rem); } }
@media (max-width: 560px) { .service-cta { flex-basis: 100%; max-width: none; } }
/* 8. Retratos ocupam a largura toda */
@media (min-width: 861px) { .ensaio-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
/* 9. Branding: manual completo recolhido */
.pr-more { width: 100%; }
.pr-more > summary { list-style: none; cursor: pointer; display: flex; justify-content: center; margin: 1rem auto 2rem; }
.pr-more > summary::-webkit-details-marker { display: none; }
.pr-more[open] > summary { display: none; }
.pr-more-list { display: grid; gap: inherit; }
/* 10. Títulos de fechamento só com tipografia */
.fx-stack span, .fx-stack span:first-child { background: none !important; padding: 0 !important; border-radius: 0 !important; }
.service-cta .btn { font-size: .82rem; padding: .8rem 1rem; border-radius: 999px; white-space: normal; line-height: 1.2; letter-spacing: 0; min-height: 3.2rem; }
.service-cta .btn .arrow { display: none; }
@media (min-width: 1181px) { .service-ctas { flex-wrap: nowrap; } .service-cta { min-width: 0; } }
