/* ==========================================================================
   Miguel Maio - Design System
   Identidade própria (não reutiliza a paleta indigo do Querio)
   Base: ink navy · Brand: teal · Accent: amber
   ========================================================================== */

/* ---------- Fonts (self-hosted, subconjunto latino) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/grotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/grotesk-600.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/grotesk-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Neutrals */
  --ink:        #0B1220;
  --ink-2:      #111B2E;
  --ink-3:      #17233b;
  --text:       #1A2233;
  --text-muted: #5B6577;
  --text-inv:   #E8EEF6;
  --surface:    #FFFFFF;
  --surface-2:  #F6F8FB;
  --surface-3:  #EEF2F8;
  --border:     #E4E9F1;
  --border-2:   #D5DCE7;

  /* Brand */
  --brand:      #FBB05B;
  --brand-600:  #E09A3D;
  --brand-700:  #8A5A16;
  --brand-050:  #FFF7EC;
  --brand-glow: rgba(251,176,91,0.30);

  /* Accent */
  --accent:     #24B6F5;
  --accent-600: #1892CC;

  /* Feedback */
  --danger:     #E5484D;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Space Grotesk", var(--font-sans);

  /* Radii & shadows */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11,18,32,.06), 0 1px 3px rgba(11,18,32,.05);
  --shadow-md: 0 8px 24px rgba(11,18,32,.08);
  --shadow-lg: 0 24px 60px rgba(11,18,32,.14);
  --shadow-brand: 0 18px 48px var(--brand-glow);

  /* Layout */
  --maxw: 1160px;
  --gutter: 24px;
  --section-y: 56px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); font-weight: 600; }
strong { font-weight: 600; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: 64px; }
.section--muted { background: var(--surface-2); }
.section--ink { background: var(--ink); color: var(--text-inv); }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section--ink .eyebrow { color: var(--brand); }

.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; }
.section-head p { color: var(--text-muted); font-size: 18px; margin-top: 16px; }
.section--ink .section-head p { color: #AFBBCD; }
.section--ink .checks li { color: #C6D2E2; }
.section--ink .checks li::after { border-color: var(--brand); }
.section--ink p a, .section--ink li a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #3A2600; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-600); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--on-ink { background: #fff; color: var(--ink); }
.btn--on-ink-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--on-ink-ghost:hover { border-color: #fff; }
.btn--lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--ink); color: var(--brand); font-weight: 700; font-size: 16px; box-shadow: var(--shadow-sm); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--text); }
.nav__links a:hover { color: var(--brand-700); text-decoration: none; }
.nav__right { display: flex; align-items: center; gap: 16px; }
.lang-switch { font-size: 13px; font-weight: 600; color: var(--text-muted); font-family: var(--font-head); }
.lang-switch a { color: var(--text-muted); }
.lang-switch a.is-active { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--brand-700); border: 1px solid var(--border-2); border-radius: 999px; padding: 5px 11px; text-decoration: none; line-height: 1; }
.lang-switch:hover { background: #FFF7EC; border-color: var(--brand-600); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.lang-switch--mobile { display: none; }
.lang-switch--foot { color: #C6D2E2; border-color: #33415c; }
.lang-switch--foot:hover { background: rgba(255,255,255,.06); border-color: #5a6c8a; color: #fff; }
@media (max-width: 720px){
  .nav__right .lang-switch { display: none; }
  .nav.is-open .nav__links .lang-switch--mobile { display: inline-flex; margin-top: 6px; }
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 520px at 78% -10%, rgba(251,176,91,.20), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(36,182,245,.12), transparent 55%),
              var(--ink);
  color: var(--text-inv);
  padding-block: clamp(72px, 10vw, 128px);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05; }
.hero h1 .grad { background: linear-gradient(100deg, var(--brand), #FFDFA6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); color: #B7C2D4; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
.hero__stat b { display: block; font-family: var(--font-head); font-size: 26px; color: #fff; }
.hero__stat span { font-size: 13.5px; color: #92A0B5; }

/* Hero portrait / card */
.hero__panel {
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-xl);
  padding: 26px; box-shadow: var(--shadow-lg); backdrop-filter: blur(4px);
}
.hero__panel h3 { color: #fff; font-size: 17px; }
.hero__panel .kv { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14.5px; }
.hero__panel .kv:last-child { border-bottom: 0; }
.hero__panel .kv span { color: #92A0B5; }
.hero__panel .kv b { color: #E8EEF6; font-weight: 600; }

/* ---------- Badges / chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; font-family: var(--font-head); background: var(--brand-050); color: var(--brand-700); }
.chip--ink { background: rgba(255,255,255,.08); color: #C6D2E2; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-050); color: var(--brand-700); margin-bottom: 18px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15.5px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--brand-700); }

/* Feature list with checks */
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-050); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 10px; width: 6px; height: 3px; border-left: 2px solid var(--brand-700); border-bottom: 2px solid var(--brand-700); transform: rotate(-45deg); }

/* ---------- Logos / proof strip ---------- */
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; }
.proof span { font-family: var(--font-head); font-weight: 600; color: var(--text-muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--r-xl); background: radial-gradient(700px 300px at 85% 0%, rgba(251,176,91,.24), transparent 60%), var(--ink); color: #fff; padding: clamp(40px, 6vw, 68px); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); }
.cta-band p { color: #B7C2D4; max-width: 560px; margin: 16px auto 30px; }

/* ---------- Article / prose ---------- */
.prose { max-width: 720px; }
.prose p { margin-bottom: 20px; color: var(--text); }
.prose h2 { font-size: 28px; margin: 40px 0 16px; }
.prose h3 { font-size: 21px; margin: 28px 0 12px; }
.prose ul { margin: 0 0 20px; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--text); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 22px; margin-bottom: 14px; background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--brand-700); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 14px; color: var(--text-muted); font-size: 15.5px; }
.faq details p a { color: var(--brand-700); font-weight: 600; text-decoration: none; white-space: nowrap; }
.faq details p a:hover { text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; background: var(--ink); color: #E8EEF6; border: 1px solid #26344d; border-radius: var(--r-md); box-shadow: 0 12px 40px rgba(0,0,0,.32); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__in { max-width: 1080px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie-banner__txt { margin: 0; font-size: 14.5px; color: #C6D2E2; flex: 1 1 420px; line-height: 1.5; }
.cookie-banner__txt a { color: var(--brand); font-weight: 600; }
.cookie-banner__btns { display: flex; gap: 10px; flex: 0 0 auto; }
.btn--cookie-ghost { background: transparent; color: #E8EEF6; border: 1px solid #3a4a66; }
.btn--cookie-ghost:hover { border-color: #5a6c8a; background: rgba(255,255,255,.04); }
@media (max-width: 560px){ .cookie-banner__btns { width: 100%; } .cookie-banner__btns .btn { flex: 1; } }

/* ---------- Testemunhos ---------- */
.testis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px){ .testis { grid-template-columns: 1fr; } }
.testi { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 24px; }
.testi blockquote { margin: 0 0 14px; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.testi blockquote::before { content: "\201C"; color: var(--brand-600); font-size: 26px; font-family: var(--font-head); margin-right: 2px; }
.testi figcaption { display: flex; flex-direction: column; gap: 2px; }
.testi figcaption strong { font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.testi figcaption span { font-size: 13px; color: var(--text-muted); }

/* ---------- Tabela comparativa ---------- */
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 4px; }
.cmp th, .cmp td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.cmp thead th { border-bottom: 2px solid var(--border-2); font-family: var(--font-head); }
.cmp tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cmp-wrap { overflow-x: auto; }

/* ---------- Byline ---------- */
.byline { font-size: 14px; color: var(--text-muted); margin: 4px 0 0; }
.byline a { color: var(--brand-700); font-weight: 600; text-decoration: none; }

/* ---------- Links no corpo (visibilidade) ---------- */
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; font-weight: 500; }
.prose a:hover { color: var(--brand-600); text-decoration-thickness: 2px; }
.prose .byline a { text-decoration: none; }

/* ---------- Figuras / diagramas ---------- */
.figure { margin: 26px 0; }
.figure img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; display: block; }
.figure figcaption { margin-top: 8px; font-size: 13.5px; color: var(--text-muted); }

/* ---------- Eyebrow como link de categoria ---------- */
a.eyebrow { text-decoration: none; cursor: pointer; }
a.eyebrow:hover { text-decoration: underline; }

/* ---------- Ferramentas recomendadas ---------- */
.tools { list-style: none; padding: 0; margin: 10px 0 4px; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
@media (max-width: 640px){ .tools { grid-template-columns: 1fr; } }
.tools li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; }
.tools li a { font-weight: 700; }
.tools li span { display: block; font-size: 13.5px; color: var(--text-muted); margin-top: 3px; }

/* ---------- Caixa de prompt ---------- */
.prompt { background: var(--ink); color: #E8EEF6; border-radius: var(--r-md); padding: 18px 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.55; white-space: pre-wrap; border: 1px solid #26344d; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.prompt-hint { font-size: 13px; color: var(--text-muted); margin: 6px 0 0; }

/* ---------- Títulos de card clicáveis ---------- */
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--brand-700); }
.list-card h3 a { color: inherit; text-decoration: none; }
.list-card h3 a:hover { color: var(--brand-700); }

/* ---------- Artigos: destaques + lista ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 34px; }
@media (max-width: 720px){ .feature-grid { grid-template-columns: 1fr; } }
.feature { border: 1px solid var(--border-2); border-radius: var(--r-md); padding: 24px; background: linear-gradient(180deg, #FFF7EC, #ffffff); box-shadow: var(--shadow-sm); }
.feature .flag { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-700); }
.feature h3 { font-size: 20px; margin: 8px 0 8px; line-height: 1.25; }
.feature h3 a { color: var(--ink); text-decoration: none; }
.feature h3 a:hover { color: var(--brand-700); }
.feature p { color: var(--text-muted); font-size: 14.5px; margin: 0 0 14px; }
.employer-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.svc-icon-lg { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(180deg, #FFF7EC, #ffffff); border: 1px solid var(--border-2); color: var(--brand-700); margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.svc-icon-lg svg { width: 30px; height: 30px; }
.card .card__icon { color: var(--brand-700); }
.card--ico { display: block; }
.feature__icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(180deg, #FFF7EC, #ffffff); border: 1px solid var(--border-2); color: var(--brand-700); margin-bottom: 12px; }
.feature__icon svg { width: 22px; height: 22px; }
.rel-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(180deg, #FFF7EC, #ffffff); border: 1px solid var(--border-2); color: var(--brand-700); margin-bottom: 10px; }
.rel-ico svg { width: 19px; height: 19px; }
.feat-thumb { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); background: #fff; margin-bottom: 14px; }
.article-hero { margin: 8px 0 22px; }
.article-hero img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); }
/* ---------- Painel de dados (stat cards + tabela citada) ---------- */
.data-panel { margin: 30px 0; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2, #f7f9fc); }
.data-panel .dp-h { font-family: var(--font-head); font-size: 20px; margin: 0 0 16px; }
.dp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.dp-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-align: left; }
.dp-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.05; color: var(--brand-700); letter-spacing: -.01em; }
.dp-lbl { display: block; font-size: 13px; color: var(--text-muted); margin-top: 6px; line-height: 1.35; }
.dp-tablewrap { overflow-x: auto; }
.dp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.dp-table caption { text-align: left; font-weight: 600; font-size: 13px; color: var(--text-muted); padding: 10px 12px 8px; caption-side: top; }
.dp-table th, .dp-table td { padding: 10px 12px; border-top: 1px solid var(--border); text-align: left; vertical-align: top; }
.dp-table th[scope="row"] { font-weight: 500; color: var(--ink); width: 62%; }
.dp-table td { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.dp-note { font-size: 12.5px; color: var(--text-muted); font-style: italic; margin: 12px 0 0; line-height: 1.45; }
.dp-src { font-size: 12.5px; color: var(--text-muted); margin: 10px 0 0; }
.dp-src a { color: var(--brand-700); }
@media (max-width: 640px) { .dp-cards { grid-template-columns: 1fr; } .dp-table th[scope="row"] { width: 58%; } }
/* ---------- Vídeo de referência (facade lazy, YouTube nocookie) ---------- */
.vref { margin: 20px 0 26px; }
.vref__cap { font-size: 13.5px; color: var(--text-muted); margin-bottom: 8px; line-height: 1.4; }
.vref__cap .eyebrow { display: inline-block; margin-right: 6px; }
.yt-facade { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; cursor: pointer; background: #000; }
.yt-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s ease, transform .3s ease; }
.yt-facade:hover img, .yt-facade:focus-visible img { opacity: 1; transform: scale(1.03); }
.yt-facade .yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 10px rgba(0,0,0,.4)); transition: transform .2s ease; }
.yt-facade:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-facade .yt-play svg { display: block; }
.vref iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }
.yt-facade:focus-visible { outline: 3px solid var(--brand-700); outline-offset: 2px; }
.chart { margin: 20px 0 24px; }
.chart img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.chart figcaption { color: var(--text-muted); font-size: 13.5px; margin-top: 9px; }
.article-list li { display: flex; gap: 16px; align-items: flex-start; }
.article-list li .li-thumb { flex: 0 0 auto; width: 92px; height: auto; border-radius: 8px; border: 1px solid var(--border); background: #fff; }
.article-list li > div { flex: 1 1 auto; }
@media (max-width: 560px){ .article-list li .li-thumb { display: none; } }
.logo-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.logo-grid .logo-card { width: 176px; height: 92px; padding: 14px 20px; border-radius: 10px; }
@media (max-width: 720px){ .logo-grid .logo-card { width: calc(50% - 6px); } }
.employer-bar .logo-carousel { padding: 2px 2px 6px; gap: 10px; }
.employer-bar .logo-card { width: 168px; height: 84px; padding: 12px 20px; border-radius: 10px; }
.employer-bar .logo-card img { transition: transform .2s ease; }
.employer-bar .logo-card:hover img { transform: scale(1.04); }
.feature--hero { display: block; width: 100%; padding: 32px 34px; border: 2px solid var(--brand); margin-bottom: 24px; }
.feature--hero .flag { font-size: 13px; }
.feature--hero h3 { font-size: clamp(24px, 3.2vw, 32px); margin: 10px 0 12px; }
.feature--hero p { font-size: 16px; max-width: 72ch; margin-bottom: 18px; }
.article-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.article-list li { border-bottom: 1px solid var(--border); padding-bottom: 15px; }
.article-list h3 { font-size: 17px; margin: 0 0 4px; }
.article-list h3 a { color: var(--ink); text-decoration: none; }
.article-list h3 a:hover { color: var(--brand-700); text-decoration: underline; }
.article-list p { margin: 0; color: var(--text-muted); font-size: 14.5px; }
/* ícone temático por artigo (substitui thumbnails) */
.art-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; display: inline-grid; place-items: center; background: linear-gradient(180deg,#FFF7EC,#ffffff); border: 1px solid var(--border-2); color: var(--brand-700); }
.art-ico svg { width: 21px; height: 21px; }
.feature .art-ico { margin-bottom: 12px; }
.article-list .li-meta { font-size: 12px; color: var(--text-muted); margin: 0 0 5px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; font-family: var(--font-head); }
/* paginação */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 30px 0 0; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 10px; display: inline-grid; place-items: center; border: 1px solid var(--border); border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.pagination a:hover { border-color: var(--brand-700); color: var(--brand-700); }
.pagination .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
/* espaçamento consistente: títulos do hub e títulos antes de listas/grelhas (site todo) */
.hub-h { font-family: var(--font-head); margin: 34px 0 18px; }
h2 + ul, h2 + ol, h2 + .article-list, h2 + .feature-grid, h2 + .grid, h2 + .checks, h3 + ul, h3 + ol { margin-top: 16px; }

/* ---------- Tabela Do / Don't ---------- */
.dodont { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0; }
.dodont th, .dodont td { padding: 11px 14px; border: 1px solid var(--border); vertical-align: top; width: 50%; }
.dodont thead th { font-family: var(--font-head); font-size: 15px; }
.dodont th.no, .dodont td.no { background: rgba(214, 69, 69, 0.06); }
.dodont th.yes, .dodont td.yes { background: rgba(34, 139, 76, 0.06); }
.dodont td.no { color: #7a2a2a; }
.dodont td.yes { color: #1f5334; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A9B5C8; padding-block: 40px 20px; }
.site-footer a { color: #C6D2E2; }
.site-footer a:hover { color: #fff; }
/* Google Partner badge */
.partner-badge { display: inline-block; line-height: 0; }
.partner-badge img { height: 64px; width: auto; display: block; border-radius: 0; }
.footer__brandrow { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.footer__brandrow .partner-badge { flex: 0 0 auto; }
.footer__brandrow p { margin-top: 0; }
.partner-badge--lg { background: transparent; padding: 0; }
.partner-badge--lg img { height: 104px; }
.cred-badge { display: flex; align-items: center; gap: 18px; margin: 6px 0 20px; }
.cred-badge span { font-size: 14.5px; color: var(--text-muted); max-width: 340px; line-height: 1.45; }
@media (max-width: 520px) { .cred-badge { flex-direction: column; align-items: flex-start; gap: 12px; } }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer__brand .brand { color: #fff; }
.footer__brand p { margin-top: 16px; font-size: 14.5px; color: #8593A8; max-width: 300px; }
.footer h4 { font-family: var(--font-head); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #97A4BA; margin-bottom: 10px; }
.footer li { margin-bottom: 6px; font-size: 14.5px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: #97A4BA; }
.social { display: flex; gap: 12px; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.social a:hover { background: var(--brand); color: var(--ink); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --section-y: 52px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav__links, .nav__right .btn { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--border); padding: 12px var(--gutter) 20px; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .nav.is-open .nav__links a { padding: 11px 0; text-align: left; justify-content: flex-start; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Nav dropdown (mega-menu Marketing Digital) ---------- */
.nav__item { position: relative; display: inline-flex; align-items: center; gap: 5px; }
.nav__item > a { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.caret { box-sizing: border-box; width: 24px; height: 24px; padding: 0; margin: 0; border: 1.5px solid var(--border-2); border-radius: 50%; background: var(--surface-2); color: var(--ink); line-height: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.caret__icon { width: 13px; height: 13px; transition: transform .2s ease; }
@media (min-width: 721px) {
  .caret { pointer-events: none; }
  .nav__item:hover .caret, .nav__item:focus-within .caret { background: var(--brand-050); border-color: var(--brand-600); color: var(--brand-600); }
  .nav__item:hover .caret__icon, .nav__item:focus-within .caret__icon { transform: rotate(180deg); }
}
.dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px); width: 560px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility 0s linear .2s; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; z-index: 60; }
/* ponte invisível que cobre o espaço entre o item e o submenu (mantém o hover) */
.dropdown::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition: opacity .16s ease, transform .16s ease, visibility 0s; }
.dropdown--simple { width: 320px; grid-template-columns: 1fr; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 10px; }
.dropdown a:hover { background: var(--surface-2); text-decoration: none; }
.dropdown a b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.dropdown a span { font-size: 12.5px; color: var(--text-muted); }

/* ---------- Breadcrumb ---------- */
.crumbs { padding: 14px 0 0; }
.breadcrumb { padding-top: 4px; font-size: 13.5px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb b { color: var(--text); font-weight: 500; }

/* ---------- Prose helpers ---------- */
.lead { font-size: 19px; color: var(--text-muted); max-width: 720px; }
.tldr { background: var(--brand-050); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 24px; margin: 24px 0; }
.tldr h3 { font-size: 15px; margin-bottom: 10px; }

/* ---------- Stacked list cards ---------- */
.stack { display: grid; gap: 14px; }
.list-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }
.list-card .meta { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; color: var(--brand-700); text-transform: uppercase; letter-spacing: .06em; }
.list-card h3 { font-size: 18px; margin: 6px 0 8px; }
.list-card p { color: var(--text-muted); font-size: 15px; margin: 0; }
.list-card a.more { display: inline-block; margin-top: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--brand-700); }

/* ---------- Glossary ---------- */
.terms { max-width: 780px; }
.term { padding: 18px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.term:target h3 { color: var(--brand-700); }
.term h3 { font-size: 18px; margin-bottom: 6px; }
.term p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ---------- Brand gallery ---------- */
.brand-gallery { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; }
.brand-gallery img { width: 100%; display: block; }

/* ---------- Forms ---------- */
.form { max-width: 640px; }
.form .field { margin-bottom: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; border: 1px solid var(--border-2); border-radius: 10px; padding: 12px 13px; font-family: var(--font-sans); font-size: 15px; color: var(--text); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-050); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-muted); }
/* Contacto: formulário + coluna de confiança */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; margin-top: 8px; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--surface-2, #f7f9fc); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.contact-card h3 { font-family: var(--font-head); font-size: 17px; margin: 0 0 12px; }
.contact-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.5; margin: 0; }
.contact-card .contact-note { margin-top: 10px; font-weight: 600; color: var(--ink); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 0 0 12px 34px; color: var(--text-muted); font-size: 14.5px; line-height: 1.45; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-050); color: var(--brand-700); font-family: var(--font-head); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.contact-testi { margin: 0; }
.contact-testi blockquote { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink); font-style: italic; }
.contact-testi blockquote::before { content: "\201C"; color: var(--brand-700); font-weight: 700; margin-right: 1px; }
.contact-testi figcaption { margin-top: 12px; font-size: 13px; line-height: 1.35; }
.contact-testi figcaption strong { display: block; color: var(--ink); font-family: var(--font-head); }
.contact-testi figcaption span { color: var(--text-muted); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }
.form .consent input { width: auto; margin-top: 3px; }
.form .hp { position: absolute; left: -9999px; }
.form button { margin-top: 6px; }

/* ---------- Notice / success ---------- */
.notice { background: var(--brand-050); border: 1px solid var(--border); border-radius: 18px; padding: clamp(36px, 6vw, 60px); text-align: center; max-width: 640px; margin: 0 auto; }
.notice h1 { font-size: clamp(26px, 4vw, 36px); }
.notice p { color: var(--text-muted); margin: 14px 0 24px; }

@media (max-width: 720px) {
  .nav__item { width: 100%; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 4px; }
  .caret { width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; margin: -4px 0; border: 1.5px solid var(--border-2); border-radius: 50%; background: var(--surface-2); }
  .caret__icon { width: 17px; height: 17px; }
  .nav__item.open .caret { background: var(--brand-050); border-color: var(--brand-600); color: var(--brand-600); }
  .nav__item.open .caret__icon { transform: rotate(180deg); }
  .dropdown { display: none; }
  .nav__item.open .dropdown { display: block; position: static; opacity: 1; visibility: visible; transform: none; width: 100%; border: 0; box-shadow: none; border-radius: 0; padding: 2px 0 6px 16px; margin: 0; grid-template-columns: 1fr; }
  .dropdown::before { display: none; }
  .dropdown a { padding: 8px 0; }
  .dropdown a b { font-weight: 500; font-size: 15px; }
  .dropdown a span { display: none; }
  .form .row2 { grid-template-columns: 1fr; }
}

/* ---------- Logo carousel (marcas, a cores, arrastável) ---------- */
.logo-carousel-wrap { position: relative; }
.logo-carousel { display: flex; flex-wrap: nowrap; width: 100%; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; padding: 4px 2px 14px; cursor: grab; -webkit-overflow-scrolling: touch; touch-action: pan-x; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.logo-carousel > * { flex: 0 0 auto; }
.logo-carousel.drag { cursor: grabbing; scroll-snap-type: none; }
.logo-carousel::-webkit-scrollbar { height: 8px; }
.logo-carousel::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 4px; }
.logo-card { flex: 0 0 auto; width: 248px; height: 156px; border: 1px solid var(--border); border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 26px 30px; scroll-snap-align: start; }
.logo-card img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.carousel-btn { position: absolute; top: 42%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-2); background: #fff; box-shadow: var(--shadow-md); cursor: pointer; font-family: var(--font-head); font-size: 22px; color: var(--ink); line-height: 1; z-index: 2; }
.carousel-btn.prev { left: -6px; } .carousel-btn.next { right: -6px; }
@media (max-width: 720px) { .carousel-btn { display: none; } }

/* ---------- Hero photo ---------- */
.hero__visual { display: block; }
.hero__photo { width: 100%; border-radius: 20px; display: block; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); margin-bottom: 14px; }

/* ---------- Media (vídeos + cartões) ---------- */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-item { margin: 0; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--ink); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-item figcaption { font-size: 14px; color: var(--text-muted); margin-top: 10px; line-height: 1.5; }
@media (max-width: 720px) { .media-grid { grid-template-columns: 1fr; } }

/* ---------- Publicação com capa ---------- */
.pub { display: grid; grid-template-columns: 128px 1fr; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; }
.pub__cover { display: block; }
.pub__cover img { width: 128px; height: auto; border-radius: 8px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: block; }
.pub__body h3 { font-size: 18px; margin: 6px 0 8px; }
.pub__body p { color: var(--text-muted); font-size: 15px; margin: 0; }
.pub__body .more { display: inline-block; margin-top: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--brand-700); }
@media (max-width: 520px) { .pub { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.term-link { display: inline-block; margin-top: 8px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--brand-700); text-decoration: none; }
.term-link:hover { text-decoration: underline; }

/* A6 - indice (TOC) dos artigos */
.toc { background:#f6f8fb; border:1px solid var(--border); border-radius:12px; padding:16px 20px; margin:24px 0; }
.toc__h { font-family:var(--font-head); font-weight:600; font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--brand-700); margin:0 0 8px; }
.toc ul { margin:0; padding-left:18px; columns:2; column-gap:28px; }
.toc li { margin:4px 0; }
.toc a { color:inherit; text-decoration:none; font-size:14px; }
.toc a:hover { color:var(--brand-700); text-decoration:underline; }
@media (max-width:620px){ .toc ul { columns:1; } }
