/* ==========================================================================
   Pericoco Martech — main.css
   1. Tokens
   2. Reset & base
   3. Layout primitives
   4. Typography
   5. Components (buttons, eyebrow, cards, forms, tags)
   6. Header / Nav
   7. Front page sections
   8. Blog / Single / Archive
   9. Footer
   10. Motion & utilities
   ========================================================================== */

/* ----------------------------------- 1. Tokens ---------------------------- */
:root {
  /* Marca */
  --pc-blue: #0033ff;
  --pc-blue-600: #002ad6;
  --pc-blue-050: #e8ecff;
  --pc-white: #ffffff;

  /* Complementares */
  --pc-orange: #fe7040;
  --pc-purple: #b800ff;
  --pc-amber: #ff9837;

  /* Neutros derivados do azul (evita cinza morto) */
  --pc-ink: #06060e;
  --pc-ink-800: #14162a;
  --pc-ink-600: #3a3f5c;
  --pc-ink-400: #6e7492;
  --pc-mist: #f3f5ff;
  --pc-mist-200: #e6eaff;
  --pc-line: rgba(6, 6, 14, 0.1);
  --pc-line-strong: rgba(6, 6, 14, 0.22);
  --pc-line-invert: rgba(255, 255, 255, 0.16);

  /* Tipografia */
  --pc-font-display: "Host Grotesk", "Host Grotesk Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pc-font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pc-font-mono: ui-monospace, "SFMono-Regular", "Roboto Mono", monospace;

  /* Escala fluida (clamp: min 360px → max 1440px) */
  --pc-fs-eyebrow: 0.6875rem;
  --pc-fs-xs: 0.8125rem;
  --pc-fs-sm: 0.9375rem;
  --pc-fs-base: 1rem;
  --pc-fs-lg: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
  --pc-fs-xl: clamp(1.25rem, 1.1rem + 0.65vw, 1.5rem);
  --pc-fs-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --pc-fs-h2: clamp(1.875rem, 1.35rem + 2.3vw, 3.25rem);
  --pc-fs-h1: clamp(2.5rem, 1.5rem + 4.4vw, 5rem);
  --pc-fs-display: clamp(3rem, 1.4rem + 6.8vw, 7rem);

  /* Ritmo */
  --pc-shell: 1280px;
  --pc-gutter: clamp(1.25rem, 4vw, 4rem);
  --pc-section-y: clamp(4.5rem, 8vw, 9rem);
  /* Cantos retos em todo o sistema. Alterar aqui muda o site inteiro. */
  --pc-radius: 0;
  --pc-radius-lg: 0;

  /* Movimento */
  --pc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --pc-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --pc-dur: 0.42s;

  /* Tons claros do azul, para uso sobre fundo escuro */
  --pc-blue-300: #6d8bff;
  --pc-blue-400: #4d70ff;

  /* Tons derivados do laranja, para estados de erro */
  --pc-orange-100: #fff1eb;
  --pc-orange-300: #ffb08c;
  --pc-orange-700: #b03b12;

  /* Chassi do notebook — escala própria, do metal à sombra */
  --pc-metal-100: #3a3f56;
  --pc-metal-200: #2b2f42;
  --pc-metal-700: #1a1d2c;
  --pc-metal-800: #10121f;
  --pc-metal-900: #0d0f1a;
  --pc-night: #0b1030;

  /* Elevação — sombras azuladas, nunca cinza neutro */
  --pc-shadow-sm: 0 1px 2px rgba(6, 6, 30, 0.06), 0 4px 12px rgba(0, 51, 255, 0.05);
  --pc-shadow-md: 0 2px 6px rgba(6, 6, 30, 0.07), 0 18px 40px -18px rgba(0, 51, 255, 0.28);
  --pc-shadow-lg: 0 4px 10px rgba(6, 6, 30, 0.08), 0 40px 80px -32px rgba(0, 51, 255, 0.35);

  --pc-header-h: 76px;
}

/* Fallbacks com métricas próximas, para eliminar CLS enquanto as webfonts carregam */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Host Grotesk Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ------------------------------ 2. Reset & base --------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--pc-header-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--pc-white);
  color: var(--pc-ink);
  font-family: var(--pc-font-body);
  font-size: var(--pc-fs-base);
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
img { background-color: var(--pc-mist); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--pc-blue);
  outline-offset: 3px;
  border-radius: 0;
}
:where(.pc-invert) :focus-visible { outline-color: var(--pc-white); }

::selection { background: var(--pc-blue); color: var(--pc-white); }

.pc-skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--pc-ink);
  color: var(--pc-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--pc-radius);
  font-size: var(--pc-fs-sm);
  transition: top 0.2s var(--pc-ease);
}
.pc-skip-link:focus { top: 1rem; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------- 3. Layout primitives ------------------------- */
.pc-shell {
  width: 100%;
  max-width: var(--pc-shell);
  margin-inline: auto;
  padding-inline: var(--pc-gutter);
}

.pc-section { padding-block: var(--pc-section-y); }
.pc-section--tight { padding-block: clamp(3rem, 5vw, 5rem); }

.pc-invert { background: var(--pc-ink); color: var(--pc-white); }
.pc-invert .pc-lede,
.pc-invert .pc-muted { color: rgba(255, 255, 255, 0.72); }

.pc-mist { background: var(--pc-mist); }

.pc-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.pc-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.pc-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }

/* ------------------------------ 4. Typography ----------------------------- */
.pc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--pc-font-body);
  font-size: var(--pc-fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pc-blue);
  margin: 0 0 1.5rem;
}
.pc-eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: currentColor;
  flex: none;
}
.pc-invert .pc-eyebrow { color: var(--pc-orange); }
.pc-invert .pc-turn { color: var(--pc-blue-400); }

.pc-display,
.pc-h1, .pc-h2, .pc-h3,
h1, h2, h3, h4 {
  font-family: var(--pc-font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.pc-display { font-size: var(--pc-fs-display); }
.pc-h1, h1 { font-size: var(--pc-fs-h1); }
.pc-h2, h2 { font-size: var(--pc-fs-h2); }
.pc-h3, h3 { font-size: var(--pc-fs-h3); line-height: 1.18; letter-spacing: -0.02em; }
h4 { font-size: var(--pc-fs-xl); line-height: 1.25; letter-spacing: -0.015em; }

/* O segundo movimento do título: peso leve, azul. Marca a virada da frase. */
.pc-turn {
  display: block;
  color: var(--pc-blue);
  font-weight: 400;
}

.pc-lede {
  font-size: var(--pc-fs-lg);
  line-height: 1.6;
  color: var(--pc-ink-600);
  max-width: 46ch;
  text-wrap: pretty;
}

.pc-muted { color: var(--pc-ink-400); }
.pc-measure { max-width: 62ch; }

/* ------------------------------ 5. Components ----------------------------- */
.pc-btn {
  --btn-bg: var(--pc-ink);
  --btn-fg: var(--pc-white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9375rem 1.375rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--pc-radius);
  font-size: var(--pc-fs-sm);
  font-weight: 550;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--pc-dur) var(--pc-ease-out), box-shadow var(--pc-dur) var(--pc-ease-out);
}
/* Preenchimento que sobe a partir da base no hover */
.pc-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pc-blue);
  transform: translateY(101%);
  transition: transform var(--pc-dur) var(--pc-ease-out);
}
.pc-btn:hover::before,
.pc-btn:focus-visible::before { transform: translateY(0); }
.pc-btn:hover { transform: translateY(-2px); box-shadow: var(--pc-shadow-md); }
.pc-btn:active { transform: translateY(0); }
.pc-btn .pc-btn__icon { flex: none; transition: transform var(--pc-dur) var(--pc-ease-out); }
.pc-btn:hover .pc-btn__icon { transform: translate(3px, -3px); }

.pc-btn--blue { --btn-bg: var(--pc-blue); --btn-fg: var(--pc-white); }
.pc-btn--blue::before { background: var(--pc-ink); }
.pc-btn--ghost { --btn-bg: transparent; --btn-fg: var(--pc-ink); border-color: var(--pc-line-strong); }
.pc-btn--ghost::before { background: var(--pc-ink); }
.pc-btn--ghost:hover { --btn-fg: var(--pc-white); }
.pc-btn--block { width: 100%; }

/* Link com regra que se preenche da esquerda para a direita */
.pc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  font-size: var(--pc-fs-sm);
  font-weight: 550;
  text-decoration: none;
}
.pc-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
}
.pc-link::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--pc-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--pc-dur) var(--pc-ease-out);
}
.pc-link:hover::before,
.pc-link:focus-visible::before { transform: scaleX(1); }
.pc-invert .pc-link::before { background: var(--pc-orange); }

.pc-tag {
  display: inline-block;
  padding: 0.3125rem 0.625rem;
  border: 1px solid var(--pc-line);
  border-radius: 0;
  background: var(--pc-white);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pc-ink-600);
  text-decoration: none;
  transition: border-color 0.2s var(--pc-ease), color 0.2s var(--pc-ease);
}
a.pc-tag:hover { border-color: var(--pc-blue); color: var(--pc-blue); }
.pc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Formulários */
.pc-field { display: block; }
.pc-field__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: var(--pc-fs-xs);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.pc-field__req { color: var(--pc-orange); }
.pc-input,
.pc-select,
.pc-textarea {
  width: 100%;
  padding: 0.8125rem 0.9375rem;
  background: var(--pc-white);
  border: 1px solid var(--pc-line-strong);
  border-radius: var(--pc-radius);
  font-size: var(--pc-fs-sm);
  transition: border-color 0.2s var(--pc-ease), box-shadow 0.2s var(--pc-ease);
}
.pc-input::placeholder,
.pc-textarea::placeholder { color: var(--pc-ink-400); }
.pc-input:focus,
.pc-select:focus,
.pc-textarea:focus {
  outline: none;
  border-color: var(--pc-blue);
  box-shadow: 0 0 0 3px var(--pc-blue-050);
}
.pc-textarea { min-height: 7.5rem; resize: vertical; }
.pc-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e7492' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9375rem center;
  padding-right: 2.5rem;
}
.pc-check {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: var(--pc-fs-xs);
  color: var(--pc-ink-600);
  cursor: pointer;
}
.pc-check input { margin-top: 0.2em; accent-color: var(--pc-blue); flex: none; width: 1rem; height: 1rem; }

.pc-form__note { font-size: var(--pc-fs-xs); color: var(--pc-ink-400); text-align: center; }
.pc-form__status { font-size: var(--pc-fs-sm); padding: 0.75rem 1rem; border-radius: var(--pc-radius); }
.pc-form__status[data-state="ok"] { background: var(--pc-blue-050); color: var(--pc-blue-600); }
.pc-form__status[data-state="error"] { background: var(--pc-orange-100); color: var(--pc-orange-700); }
.pc-form[aria-busy="true"] { opacity: 0.6; pointer-events: none; }
/* honeypot */
.pc-hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; }

/* ---------------------------- 6. Header / Nav ----------------------------- */
.pc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--pc-ease), background 0.3s var(--pc-ease);
}
.pc-header[data-scrolled="true"] {
  border-bottom-color: var(--pc-line);
  background: rgba(255, 255, 255, 0.94);
}
.pc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--pc-header-h);
}

.pc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--pc-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  flex: none;
}
.pc-brand__mark {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 1.5px solid currentColor;
  font-size: 0.8125rem;
  letter-spacing: 0;
}
.pc-brand__accent { color: var(--pc-blue); }
.pc-brand img { max-height: 38px; width: auto; }

.pc-nav { display: none; }
.pc-nav ul { display: flex; align-items: center; gap: 0.25rem; }
.pc-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: var(--pc-fs-sm);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--pc-radius);
  transition: color 0.2s var(--pc-ease), background 0.2s var(--pc-ease);
}
.pc-nav a:hover { color: var(--pc-blue); background: var(--pc-mist); }
.pc-nav .current-menu-item > a,
.pc-nav .current-menu-ancestor > a { color: var(--pc-blue); }

/* Submenu */
.pc-nav li { position: relative; }
.pc-nav .sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 17rem;
  display: block;
  padding: 0.5rem;
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius-lg);
  box-shadow: var(--pc-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--pc-ease), transform 0.22s var(--pc-ease), visibility 0.22s;
}
.pc-nav li:hover > .sub-menu,
.pc-nav li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.pc-nav .sub-menu a { padding: 0.5625rem 0.75rem; }
.pc-menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0.5em; height: 0.5em;
  margin-left: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg);
  opacity: 0.5;
}

.pc-header__cta { display: none; }

.pc-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.pc-burger span {
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--pc-ease-out), opacity 0.2s var(--pc-ease);
}
.pc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.pc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Painel mobile */
.pc-drawer {
  position: fixed;
  inset: var(--pc-header-h) 0 0;
  z-index: 99;
  background: var(--pc-white);
  padding: 2rem var(--pc-gutter) 3rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--pc-ease), transform 0.28s var(--pc-ease-out), visibility 0.28s;
}
.pc-drawer[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.pc-drawer ul { display: block; }
.pc-drawer > ul > li { border-bottom: 1px solid var(--pc-line); }
.pc-drawer a {
  display: block;
  padding: 0.9375rem 0;
  font-family: var(--pc-font-display);
  font-size: 1.25rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.pc-drawer .sub-menu { padding: 0 0 0.75rem 0.875rem; border-left: 1px solid var(--pc-line); margin-bottom: 0.75rem; }
.pc-drawer .sub-menu a { font-family: var(--pc-font-body); font-size: 0.9375rem; font-weight: 450; padding: 0.4375rem 0; color: var(--pc-ink-600); }
.pc-drawer__cta { margin-top: 2rem; }

@media (min-width: 62rem) {
  .pc-nav { display: block; }
  .pc-header__cta { display: inline-flex; }
  .pc-burger, .pc-drawer { display: none; }
}

/* ------------------------- 7. Front page sections ------------------------- */

/* 7.1 Hero */
.pc-hero {
  position: relative;
  background: linear-gradient(150deg, var(--pc-white) 0%, var(--pc-white) 38%, var(--pc-mist) 100%);
  overflow: hidden;
}
.pc-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 7rem);
}
.pc-hero__title { margin-bottom: 1.75rem; }
.pc-hero__lede { margin-bottom: 2.5rem; }
.pc-hero__lede strong { font-weight: 600; color: var(--pc-ink); box-shadow: inset 0 -0.42em 0 var(--pc-blue-050); }
.pc-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }

@media (min-width: 60rem) {
  .pc-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

/* 7.2 Assinatura: diagrama orbital "arquitetura" */
.pc-orbit {
  position: relative;
  width: min(100%, 34rem);
  margin-inline: auto;
  aspect-ratio: 1;
}
.pc-orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-orbit__ring { fill: none; stroke: var(--pc-line); stroke-width: 1; }

.pc-orbit__core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-content: center;
  gap: 0.1rem;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pc-ink);
  color: var(--pc-white);
  text-align: center;
  font-size: clamp(0.5rem, 1.25vw, 0.6875rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  box-shadow: var(--pc-shadow-lg);
}
.pc-orbit__core span { display: block; }
.pc-orbit__core em { font-style: normal; color: var(--pc-orange); }

/*
  Os nós são posicionados por top/left (percentuais do CONTAINER) e só depois
  centrados com translate(-50%, -50%). Usar percentuais dentro de translate()
  não funciona: ali eles se resolvem contra o próprio elemento, e todos os
  rótulos acabam empilhados no centro.
*/
.pc-orbit__node {
  position: absolute;
  top: var(--top);
  left: var(--left);
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.375rem 0.6875rem;
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: 0;
  box-shadow: var(--pc-shadow-sm);
  font-size: clamp(0.5625rem, 1.15vw, 0.625rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  animation: pc-node-float 7s var(--pc-ease) infinite;
  animation-delay: var(--delay, 0s);
}
.pc-orbit__node::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--dot, var(--pc-blue));
  flex: none;
}
@keyframes pc-node-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, calc(-50% - 7px)); }
}

/* Partículas que percorrem a órbita */
.pc-orbit__dot { fill: var(--pc-blue); }
.pc-orbit__dot--alt { fill: var(--pc-orange); }
.pc-orbit__spin { transform-origin: 50% 50%; animation: pc-spin 26s linear infinite; }
.pc-orbit__spin--slow { animation-duration: 42s; animation-direction: reverse; }
@keyframes pc-spin { to { transform: rotate(360deg); } }

/* 7.3 Faixa de tese */
.pc-thesis {
  background: var(--pc-blue);
  color: var(--pc-white);
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}
.pc-thesis__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 2.5rem;
}
.pc-thesis__label {
  font-size: var(--pc-fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
  flex: none;
}
.pc-thesis__line {
  font-family: var(--pc-font-display);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.pc-thesis__line em { font-style: italic; font-weight: 400; }

/* 7.4 Prova social / logos */
.pc-logos { border-bottom: 1px solid var(--pc-line); }
.pc-logos__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2rem, 4vw, 2.75rem);
}
.pc-logos__label {
  font-size: var(--pc-fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pc-ink-400);
  max-width: 14rem;
}
.pc-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.pc-marquee__track { display: flex; width: max-content; gap: clamp(2.5rem, 5vw, 4.5rem); animation: pc-marquee 42s linear infinite; }
.pc-marquee:hover .pc-marquee__track { animation-play-state: paused; }
@keyframes pc-marquee { to { transform: translateX(-50%); } }
/*
   Todas as logos vêm num arquivo de 300x88 com a marca já centralizada e
   opticamente equilibrada. O item tem tamanho fixo e a imagem usa
   object-fit: contain — assim nenhuma marca estoura a faixa, independente
   da proporção original.
*/
.pc-logos__item {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(6.5rem, 11vw, 9.375rem);
  height: 2.75rem;
}
.pc-logos__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: none;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter 0.35s var(--pc-ease), opacity 0.35s var(--pc-ease);
}
.pc-logos__item:hover img { filter: none; opacity: 1; }

@media (min-width: 56rem) {
  .pc-logos__inner { grid-template-columns: 14rem minmax(0, 1fr); gap: 3rem; }
}

/* 7.5 Grid de soluções */
.pc-section__head {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 56rem) {
  .pc-section__head { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 4rem; }
  .pc-section__head .pc-lede { text-align: right; margin-left: auto; }
}

.pc-solutions {
  display: grid;
  gap: 1px;
  background: var(--pc-line);
  border: 1px solid var(--pc-line);
}
@media (min-width: 48rem) { .pc-solutions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .pc-solutions { grid-template-columns: repeat(6, 1fr); } }

.pc-solution {
  --accent: var(--pc-blue);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--pc-white);
  text-decoration: none;
  overflow: hidden;
  transition: background 0.35s var(--pc-ease);
}
.pc-solution::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--pc-ease-out);
}
.pc-solution:hover::before,
.pc-solution:focus-visible::before { transform: scaleX(1); }
.pc-solution:hover { background: var(--pc-mist); }

@media (min-width: 64rem) {
  .pc-solution { grid-column: span 2; }
  .pc-solution--wide { grid-column: span 3; }
}

.pc-solution__index {
  font-family: var(--pc-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--pc-ink-400);
}
.pc-solution__title { font-size: var(--pc-fs-h3); }
.pc-solution__text { font-size: var(--pc-fs-sm); color: var(--pc-ink-600); flex: 1; }
.pc-solution__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--pc-line);
  font-size: var(--pc-fs-sm);
  font-weight: 550;
}
.pc-solution__foot svg { color: var(--accent); transition: transform 0.35s var(--pc-ease-out); }
.pc-solution:hover .pc-solution__foot svg { transform: translate(3px, -3px); }

/* Variantes escuras da segunda linha */
.pc-solution--blue { background: var(--pc-blue); color: var(--pc-white); --accent: var(--pc-white); }
.pc-solution--blue:hover { background: var(--pc-blue-600); }
.pc-solution--blue .pc-solution__index,
.pc-solution--blue .pc-solution__text { color: rgba(255, 255, 255, 0.78); }
.pc-solution--blue .pc-solution__foot,
.pc-solution--ink .pc-solution__foot { border-top-color: var(--pc-line-invert); }
.pc-solution--blue .pc-tag,
.pc-solution--ink .pc-tag { background: transparent; border-color: var(--pc-line-invert); color: rgba(255, 255, 255, 0.85); }
.pc-solution--ink { background: var(--pc-ink); color: var(--pc-white); --accent: var(--pc-orange); }
.pc-solution--ink:hover { background: var(--pc-ink-800); }
.pc-solution--ink .pc-solution__index,
.pc-solution--ink .pc-solution__text { color: rgba(255, 255, 255, 0.72); }

/* 7.6 Métricas / mentalidade */
.pc-mind { display: grid; gap: clamp(3rem, 6vw, 5rem); }
@media (min-width: 60rem) { .pc-mind { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.pc-stat {
  display: grid;
  grid-template-columns: minmax(6rem, 8rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--pc-line-invert);
}
.pc-stat:first-child { border-top: 1px solid var(--pc-line-invert); }
.pc-stat__value {
  font-family: var(--pc-font-display);
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--pc-blue);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pc-invert .pc-stat__value { color: var(--pc-blue-400); }
.pc-stat__label { font-size: var(--pc-fs-sm); }

/* 7.7 CTA + formulário */
.pc-cta { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 60rem) { .pc-cta { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

.pc-steps { counter-reset: step; margin-top: 2.5rem; }
.pc-steps li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  padding-block: 0.9375rem;
  border-top: 1px solid var(--pc-line);
  font-size: var(--pc-fs-sm);
}
.pc-steps li:last-child { border-bottom: 1px solid var(--pc-line); }
.pc-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--pc-font-mono);
  font-size: 0.6875rem;
  color: var(--pc-orange);
}

.pc-formcard {
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--pc-shadow-md);
  display: grid;
  gap: 1.25rem;
}
.pc-formcard__row { display: grid; gap: 1.25rem; }
@media (min-width: 34rem) { .pc-formcard__row { grid-template-columns: 1fr 1fr; } }

/* ------------------------ 8. Blog / Single / Archive ---------------------- */
.pc-pagehead {
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--pc-line);
  background: linear-gradient(180deg, var(--pc-mist), var(--pc-white));
}
.pc-pagehead__title { margin-bottom: 1.25rem; }

.pc-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: var(--pc-fs-xs);
  color: var(--pc-ink-400);
}
.pc-breadcrumbs a { text-decoration: none; }
.pc-breadcrumbs a:hover { color: var(--pc-blue); }
.pc-breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.pc-breadcrumbs li { display: inline; }

.pc-posts { display: grid; gap: clamp(1.5rem, 3vw, 2rem); }
@media (min-width: 44rem) { .pc-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 66rem) { .pc-posts { grid-template-columns: repeat(3, 1fr); } }

.pc-card {
  display: flex;
  flex-direction: column;
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--pc-ease-out), box-shadow 0.4s var(--pc-ease-out), border-color 0.4s var(--pc-ease);
}
.pc-card:hover { transform: translateY(-4px); box-shadow: var(--pc-shadow-md); border-color: transparent; }
.pc-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pc-mist); }
.pc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--pc-ease-out); }
.pc-card:hover .pc-card__media img { transform: scale(1.04); }
.pc-card__body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.375rem; flex: 1; }
.pc-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: var(--pc-ink-400);
}
.pc-card__cat {
  color: var(--pc-blue);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  text-decoration: none;
}
.pc-card__title { font-size: 1.125rem; line-height: 1.25; letter-spacing: -0.02em; }
.pc-card__title a { text-decoration: none; }
.pc-card__title a::after { content: ""; position: absolute; inset: 0; } /* área clicável total */
.pc-card { position: relative; }
.pc-card__excerpt { font-size: var(--pc-fs-sm); color: var(--pc-ink-600); flex: 1; }
.pc-card__foot { font-size: var(--pc-fs-xs); color: var(--pc-ink-400); }

/* Destaque do primeiro post do arquivo */
@media (min-width: 66rem) {
  .pc-posts--featured > .pc-card:first-child { grid-column: span 3; flex-direction: row; }
  .pc-posts--featured > .pc-card:first-child .pc-card__media { width: 55%; aspect-ratio: auto; }
  .pc-posts--featured > .pc-card:first-child .pc-card__body { justify-content: center; padding: clamp(2rem, 4vw, 3rem); gap: 1rem; }
  .pc-posts--featured > .pc-card:first-child .pc-card__title { font-size: var(--pc-fs-h2); }
  .pc-posts--featured > .pc-card:first-child .pc-card__excerpt { font-size: var(--pc-fs-lg); max-width: 46ch; }
}

/* Artigo */
.pc-article { padding-block: clamp(2.5rem, 5vw, 4rem); }
.pc-article__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 64rem) {
  .pc-article__grid { grid-template-columns: minmax(0, 1fr) 17rem; align-items: start; }
}
.pc-article__hero { margin-bottom: clamp(2rem, 4vw, 3rem); border-radius: var(--pc-radius-lg); overflow: hidden; }

.pc-prose { font-size: var(--pc-fs-lg); line-height: 1.75; color: var(--pc-ink-800); max-width: 68ch; }
.pc-prose > * + * { margin-top: 1.5em; }
.pc-prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem); margin-top: 2.25em; }
.pc-prose h3 { font-size: var(--pc-fs-h3); margin-top: 1.9em; }
.pc-prose h2 + *, .pc-prose h3 + * { margin-top: 0.85em; }
.pc-prose a { color: var(--pc-blue); text-decoration: underline; text-decoration-color: var(--pc-blue-050); transition: text-decoration-color 0.2s var(--pc-ease); }
.pc-prose a:hover { text-decoration-color: currentColor; }
.pc-prose ul, .pc-prose ol { padding-left: 1.5rem; }
.pc-prose ul { list-style: none; }
.pc-prose ul li { position: relative; }
.pc-prose ul li::before {
  content: "";
  position: absolute;
  left: -1.15rem; top: 0.72em;
  width: 6px; height: 1.5px;
  background: var(--pc-blue);
}
.pc-prose ol { list-style: decimal; }
.pc-prose li + li { margin-top: 0.5em; }
.pc-prose blockquote {
  margin-inline: 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid var(--pc-blue);
  font-family: var(--pc-font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.pc-prose img, .pc-prose figure { border-radius: var(--pc-radius-lg); }
.pc-prose figcaption { margin-top: 0.75rem; font-size: var(--pc-fs-xs); color: var(--pc-ink-400); }
.pc-prose code {
  font-family: var(--pc-font-mono);
  font-size: 0.875em;
  background: var(--pc-mist);
  padding: 0.15em 0.4em;
  border-radius: 0;
}
.pc-prose pre { background: var(--pc-ink); color: #e8ecff; padding: 1.25rem; border-radius: var(--pc-radius-lg); overflow-x: auto; font-size: 0.875rem; }
.pc-prose pre code { background: none; padding: 0; }
.pc-prose table { width: 100%; border-collapse: collapse; font-size: var(--pc-fs-sm); }
.pc-prose th, .pc-prose td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--pc-line); text-align: left; }
.pc-prose th { font-weight: 600; background: var(--pc-mist); }

.pc-aside { position: sticky; top: calc(var(--pc-header-h) + 2rem); display: grid; gap: 2rem; }
.pc-aside__title {
  font-size: var(--pc-fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pc-ink-400);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--pc-line);
  margin-bottom: 1rem;
}
.pc-toc a { display: block; padding: 0.375rem 0; font-size: var(--pc-fs-sm); color: var(--pc-ink-600); text-decoration: none; border-left: 2px solid transparent; padding-left: 0.75rem; margin-left: -0.75rem; transition: color 0.2s var(--pc-ease), border-color 0.2s var(--pc-ease); }
.pc-toc a:hover { color: var(--pc-blue); }
.pc-toc a[aria-current="true"] { color: var(--pc-blue); border-color: var(--pc-blue); }
.pc-toc .is-h3 { padding-left: 1.75rem; font-size: var(--pc-fs-xs); }

.pc-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 101;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--pc-blue), var(--pc-purple));
}

.pc-share { display: flex; gap: 0.5rem; }
.pc-share a {
  display: grid; place-items: center;
  width: 2.375rem; height: 2.375rem;
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  transition: border-color 0.2s var(--pc-ease), color 0.2s var(--pc-ease);
}
.pc-share a:hover { border-color: var(--pc-blue); color: var(--pc-blue); }

.pc-postmeta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem;
  font-size: var(--pc-fs-sm); color: var(--pc-ink-400);
}
.pc-author { display: flex; align-items: center; gap: 0.625rem; }
.pc-author img { width: 2rem; height: 2rem; }

.pc-pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: clamp(3rem, 5vw, 4rem); }
.pc-pagination .page-numbers {
  display: grid; place-items: center;
  min-width: 2.5rem; height: 2.5rem;
  padding-inline: 0.75rem;
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  font-size: var(--pc-fs-sm);
  text-decoration: none;
  transition: border-color 0.2s var(--pc-ease), background 0.2s var(--pc-ease), color 0.2s var(--pc-ease);
}
.pc-pagination .page-numbers:hover { border-color: var(--pc-blue); color: var(--pc-blue); }
.pc-pagination .current { background: var(--pc-ink); border-color: var(--pc-ink); color: var(--pc-white); }

.pc-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pc-filters a {
  padding: 0.4375rem 0.875rem;
  border: 1px solid var(--pc-line);
  border-radius: 0;
  font-size: var(--pc-fs-xs);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s var(--pc-ease), background 0.2s var(--pc-ease), color 0.2s var(--pc-ease);
}
.pc-filters a:hover { border-color: var(--pc-blue); color: var(--pc-blue); }
.pc-filters a[aria-current="page"] { background: var(--pc-ink); border-color: var(--pc-ink); color: var(--pc-white); }

.pc-empty { padding-block: clamp(3rem, 6vw, 5rem); text-align: center; }

/* --------------------------------- 9. Footer ------------------------------ */
.pc-footer { background: var(--pc-ink); color: var(--pc-white); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.pc-footer__top { display: grid; gap: clamp(2.5rem, 5vw, 4rem); padding-bottom: 3rem; border-bottom: 1px solid var(--pc-line-invert); }
@media (min-width: 56rem) { .pc-footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.pc-footer__tagline { color: rgba(255, 255, 255, 0.62); font-size: var(--pc-fs-sm); max-width: 30ch; margin-top: 1.25rem; }
.pc-footer__col h2, .pc-footer__col .pc-footer__coltitle {
  font-family: var(--pc-font-body);
  font-size: var(--pc-fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
}
.pc-footer__col li + li { margin-top: 0.625rem; }
.pc-footer__col a { font-size: var(--pc-fs-sm); color: rgba(255, 255, 255, 0.82); text-decoration: none; transition: color 0.2s var(--pc-ease); }
.pc-footer__col a:hover { color: var(--pc-white); }
.pc-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
  padding-top: 2rem;
  font-size: var(--pc-fs-xs);
  color: rgba(255, 255, 255, 0.5);
}
.pc-footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.pc-footer__legal a { text-decoration: none; }
.pc-footer__legal a:hover { color: var(--pc-white); }
.pc-social { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.pc-social a {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border: 1px solid var(--pc-line-invert);
  border-radius: var(--pc-radius);
  color: rgba(255, 255, 255, 0.75);
  transition: border-color 0.2s var(--pc-ease), color 0.2s var(--pc-ease), background 0.2s var(--pc-ease);
}
.pc-social a:hover { border-color: var(--pc-blue); background: var(--pc-blue); color: var(--pc-white); }

/* --------------------------- 10. Motion & utilities ----------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--pc-ease-out), transform 0.7s var(--pc-ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Sem JS: nada fica escondido */
.no-js [data-reveal] { opacity: 1; transform: none; }

.pc-cookie {
  position: fixed;
  left: var(--pc-gutter);
  bottom: 1.25rem;
  z-index: 120;
  max-width: min(26rem, calc(100vw - 2 * var(--pc-gutter)));
  padding: 1.25rem;
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius-lg);
  box-shadow: var(--pc-shadow-lg);
  font-size: var(--pc-fs-xs);
  color: var(--pc-ink-600);
  display: grid;
  gap: 1rem;
  transform: translateY(140%);
  transition: transform 0.5s var(--pc-ease-out);
}
.pc-cookie[data-open="true"] { transform: none; }
.pc-cookie__actions { display: flex; gap: 0.625rem; }
.pc-cookie .pc-btn { padding: 0.625rem 1rem; font-size: var(--pc-fs-xs); }

.pc-whats {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 110;
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem;
  background: #25d366;
  color: #fff;
  box-shadow: var(--pc-shadow-md);
  transition: transform 0.3s var(--pc-ease-out);
}
.pc-whats:hover { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .pc-header, .pc-footer, .pc-aside, .pc-cookie, .pc-whats, .pc-progress { display: none !important; }
  .pc-prose { font-size: 11pt; }
}

/* ------------------------------ 11. Idiomas ------------------------------- */
.pc-lang { position: relative; flex: none; }

.pc-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.625rem;
  background: none;
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  font-size: var(--pc-fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s var(--pc-ease), color 0.2s var(--pc-ease);
}
.pc-lang__toggle:hover { border-color: var(--pc-blue); color: var(--pc-blue); }

.pc-lang__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 10;
  min-width: 11rem;
  padding: 0.375rem;
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius-lg);
  box-shadow: var(--pc-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--pc-ease), transform 0.2s var(--pc-ease), visibility 0.2s;
}
/*
   Com JS ativo, quem manda é o data-open (o script marca a caixa com
   .is-enhanced). Sem JS, o menu ainda abre por foco ou hover — continua
   sendo uma lista de links comum, então funciona de qualquer jeito.
*/
.pc-lang.is-enhanced[data-open="true"] .pc-lang__menu,
.pc-lang:not(.is-enhanced):focus-within .pc-lang__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

@media (hover: hover) {
  .pc-lang:hover .pc-lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
}
.pc-lang__menu a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: var(--pc-radius);
  font-size: var(--pc-fs-sm);
  text-decoration: none;
  transition: background 0.2s var(--pc-ease);
}
.pc-lang__menu a:hover { background: var(--pc-mist); }
.pc-lang__menu a[aria-current="true"] { color: var(--pc-blue); font-weight: 550; }
.pc-lang__short {
  display: grid;
  place-items: center;
  min-width: 1.75rem;
  padding: 0.125rem 0.25rem;
  border: 1px solid var(--pc-line);
  border-radius: 0;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* No painel mobile o seletor abre para baixo e ocupa a largura toda. */
.pc-lang--drawer { width: 100%; margin-top: 1.5rem; }
.pc-lang--drawer .pc-lang__toggle { width: 100%; justify-content: center; padding: 0.75rem; }
.pc-lang--drawer .pc-lang__menu { right: auto; left: 0; width: 100%; }

.pc-drawer__lang { margin-top: 0.5rem; }

@media (max-width: 61.9375rem) {
  .pc-lang--header { display: none; }
}

/* --------------------------- 12. Marca em SVG ----------------------------- */
.pc-brand--svg { gap: 0; }
.pc-brand--svg svg {
  height: 30px;
  width: auto;
  max-width: 190px;
}
.pc-footer .pc-brand--svg svg { height: 34px; max-width: 210px; }

@media (max-width: 30rem) {
  .pc-brand--svg svg { height: 26px; max-width: 150px; }
}
