:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --page: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f1f4f8;
  --surface-strong: #e8edf5;
  --line: rgba(20, 28, 45, 0.12);
  --text: #121726;
  --heading: #07111f;
  --muted: #596275;
  --soft: #7a8496;
  --brand: #6557f5;
  --brand-strong: #5144d9;
  --cyan: #0891b2;
  --green: #12865a;
  --coral: #ff6b5f;
  --coral-strong: #f25549;
  --shadow: 0 22px 70px rgba(20, 28, 45, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
body.is-nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.narrow-container { width: min(860px, calc(100% - 40px)); }
.section { padding: 92px 0; }
.skip-link, .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; }
.skip-link:focus { z-index: 100; width: auto; height: auto; margin: 16px; padding: 10px 14px; clip: auto; background: var(--text); color: #fff; }

.site-header { --tw-bg-opacity: 1; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgb(20 21 42 / var(--tw-bg-opacity, 1)); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand-logo-combo { display: inline-flex; align-items: center; gap: 18px; }
.site-logo-image { width: 150px; max-height: 42px; object-fit: contain; object-position: left center; }
.footer-brand { display: inline-flex; align-items: center; margin-bottom: 14px; }
.footer-logo-image { display: block; width: 150px; max-height: 42px; object-fit: contain; object-position: left center; }
.footer-logo-fallback { color: var(--ink); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.04em; }
.brand-section-label { position: relative; display: inline-flex; align-items: center; min-height: 30px; padding-left: 18px; color: rgba(255, 255, 255, 0.86); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.01em; }
.brand-section-label::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 2px; border-radius: 999px; background: linear-gradient(180deg, #818cf8, #4f46e5); box-shadow: 0 0 14px rgba(79, 70, 229, 0.2); }
.primary-nav, .header-actions { display: flex; align-items: center; gap: 24px; }
.primary-nav li, .site-footer li { display: contents; list-style: none; }
.primary-nav { color: rgba(255, 255, 255, 0.72); font-size: 0.94rem; }
.primary-nav a, .login-link { transition: color 160ms ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .login-link:hover { color: #ffffff; }
.primary-nav > li { display: block; list-style: none; }
.primary-nav > .menu-item-has-children { position: relative; display: flex; align-items: center; gap: 4px; }
.primary-nav > .menu-item-has-children::before { content: ""; position: absolute; top: 100%; right: -12px; left: -12px; z-index: 99; height: 16px; }
.primary-nav > .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 160ms ease; }
.primary-nav .sub-menu { position: absolute; top: calc(100% + 14px); left: -12px; z-index: 100; display: grid; width: max-content; min-width: 220px; gap: 4px; margin: 0; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 12px; background: #1d1f3c; padding: 10px; list-style: none; box-shadow: 0 18px 40px rgba(7, 9, 23, 0.35); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity 160ms ease, transform 160ms ease; }
.primary-nav .sub-menu li { display: block; list-style: none; }
.primary-nav .sub-menu a { display: block; border-radius: 8px; padding: 9px 12px; color: rgba(255, 255, 255, 0.82); font-size: 0.9rem; font-weight: 750; white-space: nowrap; }
.primary-nav .sub-menu a:hover, .primary-nav .sub-menu a:focus-visible, .primary-nav .sub-menu a[aria-current="page"] { background: rgba(101, 87, 245, 0.2); color: #ffffff; }
.primary-nav > .menu-item-has-children:hover > .sub-menu, .primary-nav > .menu-item-has-children:focus-within > .sub-menu, .primary-nav > .menu-item-has-children.is-submenu-open > .sub-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.primary-nav > .menu-item-has-children:hover > a::after, .primary-nav > .menu-item-has-children:focus-within > a::after, .primary-nav > .menu-item-has-children.is-submenu-open > a::after { margin-bottom: -1px; transform: rotate(225deg); }
.submenu-toggle { display: none; }
.header-actions { gap: 10px; }
.icon-button { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; background: rgba(255, 255, 255, 0.06); color: #ffffff; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.icon-button:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.12); }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.login-link { color: rgba(255, 255, 255, 0.78); font-weight: 750; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid transparent; border-radius: 8px; padding: 0 18px; font-weight: 800; line-height: 1; cursor: pointer; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 14px 30px rgba(101, 87, 245, 0.22); }
.button-primary:hover { background: var(--brand-strong); }
.button-secondary { border-color: var(--line); background: #fff; color: var(--text); }
.button-secondary:hover { border-color: rgba(101, 87, 245, 0.32); box-shadow: 0 12px 26px rgba(20, 28, 45, 0.08); }
.button-coral { background: var(--coral); border-color: var(--coral-strong); color: #fff; box-shadow: 0 14px 30px rgba(255, 107, 95, 0.28); }
.button-coral:hover { background: var(--coral-strong); }
.full-button { width: 100%; }
.button-mobile-cta { display: none; }

.nav-toggle { display: none; position: relative; width: 40px; height: 40px; border: 1px solid rgba(126, 112, 255, 0.62); border-radius: 10px; background: rgba(101, 87, 245, 0.16); color: #ffffff; cursor: pointer; transition: background 160ms ease, border-color 160ms ease, transform 160ms ease; }
.nav-toggle:hover { border-color: rgba(255, 255, 255, 0.38); background: rgba(101, 87, 245, 0.26); }
.nav-toggle span:not(.sr-only) { position: absolute; left: 50%; display: block; width: 18px; height: 2px; border-radius: 999px; margin: 0; background: currentColor; transform: translateX(-50%); transition: transform 180ms ease, opacity 180ms ease, top 180ms ease; }
.nav-toggle span:not(.sr-only):nth-child(1) { top: 14px; }
.nav-toggle span:not(.sr-only):nth-child(2) { top: 19px; }
.nav-toggle span:not(.sr-only):nth-child(3) { top: 24px; }

.eyebrow { margin: 0 0 14px; color: var(--cyan); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 860px; margin-bottom: 22px; color: var(--heading); font-size: clamp(2.55rem, 4.25vw, 4.25rem); line-height: 1.07; letter-spacing: 0; }
h2 { margin-bottom: 16px; color: var(--text); font-size: clamp(1.85rem, 3vw, 2.85rem); line-height: 1.08; letter-spacing: 0; }
h3 { margin-bottom: 10px; color: var(--text); font-size: 1.18rem; line-height: 1.25; }
.hero-lead, .section-heading p, .archive-hero p { color: var(--muted); font-size: 1.1rem; line-height: 1.48; }

.hero { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid rgba(8, 145, 178, 0.12); }
.hero::before { content: ""; position: absolute; left: -156px; bottom: -182px; width: 420px; height: 420px; border-radius: 50%; border: 76px solid rgba(19, 201, 226, 0.12); }
.hero::after { content: ""; position: absolute; top: -160px; right: -120px; width: 420px; height: 520px; border-radius: 0 0 0 80px; background: linear-gradient(160deg, rgba(19, 201, 226, 0.18), rgba(101, 87, 245, 0.12)); transform: rotate(7deg); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: center; min-height: 610px; }
.hero-copy { max-width: 780px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-panel { border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.92); padding: 28px; box-shadow: var(--shadow); }
.panel-label { display: inline-flex; margin-bottom: 18px; border-radius: 999px; background: #13c9e2; padding: 6px 12px; color: #fff; font-size: 0.74rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.lead-hero { position: relative; overflow: hidden; background: linear-gradient(130deg, #12152e, #262264 58%, #096f8c); color: #ffffff; }
.lead-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 92%, rgba(19, 201, 226, 0.24), transparent 34%), radial-gradient(circle at 92% 4%, rgba(129, 140, 248, 0.3), transparent 30%); }
.lead-hero.has-lead-hero-image { background-image: linear-gradient(102deg, rgba(11, 13, 32, 0.95) 0%, rgba(17, 18, 48, 0.82) 52%, rgba(17, 18, 48, 0.62) 100%), var(--lead-hero-image); background-position: center; background-size: cover; }
.lead-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr); gap: clamp(36px, 7vw, 96px); align-items: center; min-height: 440px; padding: 72px 0; }
.lead-hero .eyebrow { color: #7dd3fc; }
.lead-hero h1 { max-width: 720px; margin-bottom: 18px; color: #ffffff; font-size: clamp(2.45rem, 4.4vw, 4.8rem); }
.lead-hero-body { max-width: 660px; margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 1.12rem; line-height: 1.6; }
.lead-form-card { border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 16px; background: rgba(255, 255, 255, 0.1); box-shadow: 0 22px 70px rgba(7, 9, 23, 0.3); padding: 28px; backdrop-filter: blur(14px); }
.lead-form-kicker { margin: 0 0 16px; color: #a5f3fc; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.lead-capture-form { display: grid; gap: 14px; }
.lead-capture-form > label:not(.lead-consent) { color: #ffffff; font-size: 0.86rem; font-weight: 800; }
.lead-capture-form input[type="email"] { width: 100%; min-height: 50px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 9px; background: rgba(7, 9, 23, 0.2); color: #ffffff; padding: 0 14px; outline: 0; }
.lead-capture-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.55); }
.lead-capture-form input[type="email"]:focus { border-color: #a5f3fc; box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.16); }
.lead-consent { display: flex; gap: 9px; align-items: flex-start; color: rgba(255, 255, 255, 0.76); font-size: 0.78rem; line-height: 1.45; }
.lead-consent input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: #13c9e2; }
.lead-capture-form .button { width: 100%; margin-top: 2px; background: #ffffff; color: #292468; box-shadow: none; }
.lead-capture-form .button:hover { background: #e8e6ff; }
.lead-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.lead-form-status { margin: 16px 0 0; border-radius: 8px; padding: 10px 12px; font-size: 0.86rem; font-weight: 700; }
.lead-form-status.is-success, .lead-form-status.is-exists { background: rgba(16, 185, 129, 0.18); color: #d1fae5; }
.lead-form-status.is-error { background: rgba(248, 113, 113, 0.18); color: #fee2e2; }
.flow-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.flow-list li { display: grid; grid-template-columns: 1fr; gap: 2px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.flow-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.flow-list strong { color: var(--text); }
.flow-list span { color: var(--muted); font-size: 0.94rem; }

.cluster-section, .tools-section { background: var(--surface-soft); }
.section-heading { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-heading.align-left { margin-inline: 0; text-align: left; }
.cluster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cluster-card, .post-card, .sidebar-block, .tool-card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 12px 34px rgba(20, 28, 45, 0.06); }
.cluster-card { display: grid; gap: 10px; min-height: 156px; align-content: start; padding: 22px; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.cluster-card:hover, .post-card:hover, .tool-card:hover { transform: translateY(-2px); border-color: rgba(101, 87, 245, 0.28); box-shadow: 0 18px 42px rgba(20, 28, 45, 0.09); }
.cluster-card span, .tool-card span, .post-meta a, .post-meta span { color: var(--cyan); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.cluster-card strong { color: var(--text); line-height: 1.32; }
.blog-category-section { background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%); padding: 58px 0 70px; }
.blog-category-inner { display: grid; justify-items: center; }
.blog-category-heading { margin-bottom: 28px; text-align: center; }
.blog-category-heading h1, .blog-category-heading h2 { position: relative; display: inline-block; margin: 0; color: #050b18; font-size: clamp(2rem, 3vw, 3rem); font-weight: 900; line-height: 1.05; }
.blog-category-heading h1::after, .blog-category-heading h2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.03em; z-index: -1; height: 0.22em; background: linear-gradient(90deg, var(--coral), var(--brand), var(--cyan)); }
.blog-category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; }
.blog-category-tabs a { display: inline-flex; align-items: center; min-height: 46px; border: 1px solid rgba(20, 28, 45, 0.07); border-radius: 6px; background: #fff; padding: 0 18px; color: #475467; font-size: 0.9rem; font-weight: 650; box-shadow: 0 10px 26px rgba(20, 28, 45, 0.045); transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.blog-category-tabs a:hover { transform: translateY(-1px); border-color: rgba(101, 87, 245, 0.24); color: #14152a; box-shadow: 0 14px 30px rgba(20, 28, 45, 0.07); }
.blog-category-tabs a.is-active { border-color: var(--brand); background: linear-gradient(135deg, var(--brand), var(--cyan)); color: #fff; box-shadow: 0 14px 28px rgba(101, 87, 245, 0.24); }

.content-section { background: transparent; }
.content-layout, .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.home-content-layout { grid-template-columns: 1fr; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.post-card { overflow: hidden; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.post-card-featured { grid-row: span 2; }
.post-media img { width: 100%; aspect-ratio: 1.62; object-fit: cover; background: var(--surface-strong); }
.post-body { padding: 24px; }
.post-card h3 { margin-top: 8px; font-size: 1.26rem; }
.post-card-featured h3 { font-size: 1.58rem; }
.post-card p, .sidebar-block p, .tool-card p, .site-footer p { color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.home-post-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.home-post-grid .post-card { position: relative; display: grid; grid-template-rows: auto 1fr; border-color: rgba(20, 28, 45, 0.1); background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%); box-shadow: 0 18px 48px rgba(20, 28, 45, 0.08); }
.home-post-grid .post-card::before { content: ""; position: absolute; inset: 0; border-radius: 8px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72); }
.home-post-grid .post-card:hover { transform: translateY(-4px); border-color: rgba(8, 145, 178, 0.3); box-shadow: 0 24px 62px rgba(20, 28, 45, 0.12); }
.home-post-grid .post-media { position: relative; overflow: hidden; background: var(--surface-strong); }
.home-post-grid .post-media::after { content: ""; position: absolute; inset: auto 0 0; height: 44%; background: linear-gradient(180deg, rgba(7, 17, 31, 0), rgba(7, 17, 31, 0.32)); opacity: 0.78; transition: opacity 160ms ease; }
.home-post-grid .post-media img { transition: transform 240ms ease, filter 240ms ease; }
.home-post-grid .post-card:hover .post-media img { transform: scale(1.035); filter: saturate(1.04) contrast(1.02); }
.home-post-grid .post-card:hover .post-media::after { opacity: 1; }
.home-post-grid .post-body { display: grid; grid-template-rows: auto auto 1fr auto; gap: 13px; padding: 24px; }
.home-post-grid .post-meta { gap: 8px; }
.home-post-grid .post-meta a, .home-post-grid .post-meta span { display: inline-flex; align-items: center; min-height: 26px; border-radius: 999px; padding: 0 10px; background: #eef9fc; color: #087f9c; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.055em; }
.home-post-grid .post-meta span { background: #fff1ef; color: var(--coral-strong); }
.home-post-grid .post-card h3 { display: -webkit-box; min-height: calc(1.12rem * 1.32 * 2); margin: 0; overflow: hidden; color: #111827; font-size: 1.12rem; font-weight: 850; line-height: 1.32; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-post-grid .post-card h3 a { transition: color 160ms ease; }
.home-post-grid .post-card h3 a:hover { color: var(--brand); }
.home-post-grid .post-card p { display: -webkit-box; margin: 0; overflow: hidden; color: #667085; font-size: 0.95rem; line-height: 1.62; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-post-grid .post-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 4px; color: #667085; font-size: 0.82rem; }
.home-post-grid .post-author, .home-post-grid .post-date { display: inline-flex; align-items: center; min-width: 0; }
.home-post-grid .post-author { gap: 9px; color: #344054; font-weight: 760; }
.home-post-grid .post-author img { flex: 0 0 auto; width: 34px; height: 34px; border: 2px solid #ffffff; border-radius: 50%; box-shadow: 0 6px 16px rgba(20, 28, 45, 0.12); }
.home-post-grid .post-author span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-post-grid .post-date { flex: 0 0 auto; gap: 6px; color: #7a8496; font-weight: 700; }
.home-post-grid .post-date svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-post-grid .post-card-featured { grid-row: auto; grid-template-rows: auto 1fr; }
.home-post-grid .post-card-featured .post-media img { height: auto; aspect-ratio: 1.62; }
.home-post-grid .post-card-featured .post-body { padding: 30px; }
.home-post-grid .post-card-featured h3 { font-size: 1.12rem; }
.sidebar { position: sticky; top: 94px; display: grid; gap: 16px; }
.sidebar-block { padding: 22px; }
.sidebar-block h2 { font-size: 1.45rem; line-height: 1.14; }

/* Home editorial: feed horizontal com lateral de descoberta e mídia. */
.home-content-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 42px; }
.home-feed { min-width: 0; }
.home-feed-heading { margin-bottom: 26px; }
.home-feed-heading .eyebrow { margin-bottom: 8px; }
.home-feed-heading h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.home-feed-list { display: grid; gap: 20px; }
.home-feed-card { display: grid; grid-template-columns: minmax(190px, 34%) minmax(0, 1fr); overflow: hidden; border: 1px solid rgba(20, 28, 45, 0.1); border-radius: 12px; background: linear-gradient(135deg, #ffffff, #fbfcff); box-shadow: 0 14px 36px rgba(20, 28, 45, 0.07); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.home-feed-card:hover { transform: translateY(-3px); border-color: rgba(101, 87, 245, 0.3); box-shadow: 0 22px 46px rgba(20, 28, 45, 0.11); }
.home-feed-card-media { min-height: 100%; overflow: hidden; background: var(--surface-strong); }
.home-feed-card-media img { width: 100%; height: 100%; min-height: 225px; object-fit: cover; transition: transform 220ms ease; }
.home-feed-card:hover .home-feed-card-media img { transform: scale(1.035); }
.home-feed-card-content { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 24px; }
.home-feed-card-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.home-feed-card-meta a, .home-feed-card-meta span { display: inline-flex; align-items: center; min-height: 24px; border-radius: 999px; padding: 0 9px; background: #eef9fc; color: #087f9c; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.055em; text-transform: uppercase; }
.home-feed-card-meta span { background: #fff1ef; color: var(--coral-strong); }
.home-feed-card h2 { margin: 0 0 9px; font-size: clamp(1.14rem, 2vw, 1.42rem); line-height: 1.26; }
.home-feed-card h2 a { transition: color 160ms ease; }
.home-feed-card h2 a:hover { color: var(--brand); }
.home-feed-card p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: 0.94rem; line-height: 1.58; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-feed-card-footer { display: flex; width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: auto; padding-top: 18px; color: var(--soft); font-size: 0.8rem; font-weight: 700; }
.home-sidebar { position: sticky; top: 94px; display: grid; align-self: start; gap: 18px; }
.home-sidebar-block, .home-ad-slot, .home-ad-banner { border: 1px solid rgba(20, 28, 45, 0.1); border-radius: 12px; background: #fff; box-shadow: 0 14px 36px rgba(20, 28, 45, 0.06); }
.home-sidebar-block { padding: 22px; }
.home-sidebar-block .eyebrow { margin-bottom: 7px; }
.home-sidebar-block h2 { margin-bottom: 18px; font-size: 1.28rem; }
.home-sidebar-posts { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.home-sidebar-posts a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; }
.home-sidebar-posts img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--surface-strong); }
.home-sidebar-posts span { display: grid; gap: 5px; min-width: 0; }
.home-sidebar-posts strong { display: -webkit-box; overflow: hidden; color: var(--text); font-size: 0.88rem; line-height: 1.32; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-sidebar-posts small { color: var(--soft); font-size: 0.72rem; font-weight: 700; }
.home-ad-slot { display: grid; place-content: center; min-height: 180px; padding: 22px; border-style: dashed; border-color: rgba(101, 87, 245, 0.35); background: linear-gradient(135deg, #f7f6ff, #effbfc); text-align: center; }
.home-ad-slot-tall { min-height: 360px; }
.site-banner { position: relative; overflow: hidden; }
.site-banner-content { position: relative; z-index: 1; }
.site-banner.has-banner-image { background-color: #17233a; background-image: var(--banner-image); background-position: center; background-size: cover; }
.site-banner.has-banner-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(7, 17, 31, 0.8), rgba(7, 17, 31, 0.46)); }
.site-banner-label { color: var(--brand); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.home-ad-slot .site-banner-content { display: grid; justify-items: center; gap: 8px; text-align: center; }
.home-ad-slot h2 { margin: 0; color: var(--text); font-size: 1rem; }
.home-ad-slot.has-banner-image .site-banner-label, .home-ad-slot.has-banner-image h2, .home-ad-slot.has-banner-image p { color: #fff; }
.home-ad-banner { display: grid; gap: 10px; margin-top: 28px; padding: 28px 30px; background: linear-gradient(100deg, #14152a, #2d2870 58%, #087f9c); color: #fff; }
.home-ad-banner .site-banner-content { display: grid; gap: 10px; }
.home-ad-banner .site-banner-label { color: #a5f3fc; }
.home-ad-banner h2 { max-width: 640px; margin: 0; color: #fff; font-size: 1.3rem; }
.home-ad-banner p { max-width: 640px; margin: 0; color: rgba(255, 255, 255, 0.82); }
.home-ad-banner a { width: max-content; margin-top: 4px; color: #fff; font-size: 0.9rem; font-weight: 850; text-decoration: underline; text-underline-offset: 0.2em; }
.home-ad-banner.has-banner-image { background-image: var(--banner-image); }

/* Compatibilidade com a prévia HTML estática da home. */
.home-feed-list .post-card { display: grid; grid-template-columns: minmax(190px, 34%) minmax(0, 1fr); overflow: hidden; border: 1px solid rgba(20, 28, 45, 0.1); border-radius: 12px; background: linear-gradient(135deg, #ffffff, #fbfcff); box-shadow: 0 14px 36px rgba(20, 28, 45, 0.07); }
.home-feed-list .post-card:hover { transform: translateY(-3px); border-color: rgba(101, 87, 245, 0.3); box-shadow: 0 22px 46px rgba(20, 28, 45, 0.11); }
.home-feed-list .post-media img { width: 100%; height: 100%; min-height: 225px; aspect-ratio: auto; object-fit: cover; }
.home-feed-list .post-body { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; }
.home-feed-list .post-meta { margin-bottom: 10px; }
.home-feed-list .post-meta a, .home-feed-list .post-meta span { display: inline-flex; align-items: center; min-height: 24px; border-radius: 999px; padding: 0 9px; background: #eef9fc; color: #087f9c; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.055em; }
.home-feed-list .post-meta span { background: #fff1ef; color: var(--coral-strong); }
.home-feed-list .post-card h3 { margin: 0 0 9px; font-size: clamp(1.14rem, 2vw, 1.42rem); }
.home-feed-list .post-card p { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-feed-list .post-card-footer { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; color: var(--soft); font-size: 0.8rem; font-weight: 700; }
.home-feed-list .post-author, .home-feed-list .post-date { display: inline-flex; align-items: center; gap: 8px; }
.home-feed-list .post-author img { width: 34px; height: 34px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 6px 16px rgba(20, 28, 45, 0.12); }
.home-feed-list .post-date svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plain-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding-left: 24px; color: var(--text); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }

.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { padding: 24px; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.tool-card a, .entry-content a { color: var(--brand); font-weight: 850; }
.feature-banner-section { background: transparent; padding-top: 28px; }
.feature-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); min-height: 340px; border: 1px solid rgba(20, 28, 45, 0.08); border-radius: 8px; background: #fff; box-shadow: 0 22px 70px rgba(20, 28, 45, 0.08); }
.feature-banner-copy { position: relative; display: grid; align-content: center; justify-items: start; padding: 58px 48px; }
.feature-ribbon { display: inline-flex; align-items: center; width: max-content; min-height: 28px; border-radius: 999px; background: #eef0ff; padding: 0 10px; color: var(--brand); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }

.feature-banner-copy h2 { max-width: 560px; margin-bottom: 16px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.05; }
.feature-banner-copy p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.feature-banner-copy a { display: inline-flex; align-items: center; gap: 16px; width: min(100%, 430px); margin-top: 22px; color: #667085; font-weight: 800; }
.feature-banner-copy a::after { content: ""; flex: 1 1 auto; height: 1px; background: rgba(20, 28, 45, 0.24); }
.feature-banner-copy a:hover { color: var(--brand); }
.feature-banner-visual { position: relative; display: block; min-height: 340px; overflow: hidden; background: #111225; color: #fff; }
.feature-banner-visual img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform 280ms ease, filter 280ms ease; }
.feature-banner-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,18,37,0.04), rgba(17,18,37,0.38)); pointer-events: none; }
.feature-banner:hover .feature-banner-visual img { transform: scale(1.035); filter: saturate(1.04) contrast(1.03); }
.feature-image-badge { position: absolute; left: 24px; bottom: 24px; z-index: 1; border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; background: rgba(20, 21, 42, 0.74); padding: 12px 14px; color: #fff; font-size: 0.86rem; font-weight: 850; backdrop-filter: blur(10px); }
.feature-banner-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.feature-banner-dots span { width: 11px; height: 11px; border: 2px solid var(--brand); border-radius: 50%; }
.feature-banner-dots span.is-active { background: var(--brand); }

.archive-hero, .single-hero { background: #fff; border-bottom: 1px solid var(--line); }
.category-hero { background: #fff; border-bottom: 1px solid rgba(20, 28, 45, 0.08); padding: 44px 0 54px; }
.category-hero-inner { display: grid; justify-items: center; text-align: center; }
.category-hero h1 { position: relative; display: inline-block; margin: 0 0 14px; font-size: clamp(2.35rem, 4vw, 4.25rem); line-height: 1.02; }
.category-heading-block { position: relative; z-index: 1; max-width: 780px; margin: 30px auto 30px; }
.category-heading-block p { margin: 0 auto; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.category-breadcrumb { justify-self: start; display: flex; align-items: center; gap: 10px; color: #98a0af; font-size: 0.8rem; font-weight: 700; }
.category-breadcrumb a { color: #667085; transition: color 160ms ease; }
.category-breadcrumb a:hover { color: var(--brand); }
.category-breadcrumb a:first-child { display: inline-flex; color: var(--brand); }
.category-breadcrumb svg { width: 15px; height: 15px; fill: currentColor; }
.category-tabs { max-width: 1040px; }
.category-post-section { padding-top: 58px; }
.category-post-grid { grid-template-columns: repeat(3, 1fr); }
.single-cover { margin-top: -42px; margin-bottom: 48px; }
.single-cover img { width: 100%; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.entry-content { color: #20283a; font-size: 1.08rem; }
.entry-content > * { max-width: 720px; }
.entry-content h2 { margin-top: 44px; font-size: 2rem; }
.entry-content blockquote { margin: 32px 0; border-left: 4px solid var(--cyan); padding: 8px 0 8px 20px; color: var(--muted); }
.inline-cta { display: inline-flex; border-radius: 8px; background: #f0efff; padding: 12px 14px; text-decoration: none; }
.search-form { display: flex; gap: 10px; margin-top: 24px; }
.search-form input { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; }
.search-form button { min-height: 50px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; padding: 0 20px; font-weight: 850; }
body.is-search-open { overflow: hidden; }
.search-modal[hidden] { display: none; }
.search-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: start center; padding: 92px 20px 32px; opacity: 0; pointer-events: none; transition: opacity 160ms ease; }
.search-modal.is-open { opacity: 1; pointer-events: auto; }
.search-modal-backdrop { position: fixed; inset: 0; background: rgba(7, 17, 31, 0.62); backdrop-filter: blur(8px); }
.search-modal-panel { position: relative; width: min(680px, 100%); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px; background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%); padding: 32px; box-shadow: 0 32px 90px rgba(7, 17, 31, 0.28); transform: translateY(-8px); transition: transform 160ms ease; }
.search-modal.is-open .search-modal-panel { transform: translateY(0); }
.search-modal-close { position: absolute; top: 18px; right: 18px; display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(20, 28, 45, 0.08); border-radius: 8px; background: #fff; color: #667085; cursor: pointer; }
.search-modal-close:hover { color: var(--brand); border-color: rgba(101, 87, 245, 0.24); }
.search-modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-modal-panel h2 { max-width: 540px; margin-bottom: 22px; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.08; }
.search-modal-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.search-modal-form input { width: 100%; min-height: 54px; border: 1px solid rgba(20, 28, 45, 0.12); border-radius: 8px; background: #fff; padding: 0 16px; color: var(--text); outline: none; }
.search-modal-form input:focus { border-color: rgba(101, 87, 245, 0.44); box-shadow: 0 0 0 4px rgba(101, 87, 245, 0.12); }
.search-modal-form button { min-height: 54px; border: 0; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--cyan)); color: #fff; padding: 0 22px; font-weight: 850; cursor: pointer; }
.search-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.search-modal-tags a { display: inline-flex; align-items: center; min-height: 34px; border: 1px solid rgba(101, 87, 245, 0.12); border-radius: 999px; background: #fff; padding: 0 12px; color: #475467; font-size: 0.82rem; font-weight: 750; }
.search-modal-tags a:hover { border-color: rgba(101, 87, 245, 0.3); color: var(--brand); }
.contact-page-section { position: relative; overflow: hidden; background: linear-gradient(135deg, #5144d9 0%, #6557f5 48%, #0891b2 100%); color: #fff; padding: 88px 0 76px; }
.contact-page-section::before { content: ""; position: absolute; right: -120px; top: -180px; width: 440px; height: 440px; border: 78px solid rgba(255,255,255,0.1); border-radius: 50%; }
.contact-page-section::after { content: ""; position: absolute; left: -160px; bottom: -220px; width: 460px; height: 460px; border-radius: 50%; background: rgba(19, 201, 226, 0.14); }
.contact-page-inner { position: relative; z-index: 1; }
.contact-page-heading { max-width: 980px; margin: 0 auto 64px; text-align: center; }
.contact-page-heading .eyebrow { color: rgba(255,255,255,0.72); }
.contact-page-heading h1 { max-width: none; margin-bottom: 20px; color: #fff; font-size: clamp(3rem, 7vw, 6.4rem); line-height: 0.95; }
.contact-page-heading p { max-width: 760px; margin: 0 auto; color: rgba(255,255,255,0.82); font-size: 1.16rem; line-height: 1.55; }
.contact-form-panel { display: grid; gap: 34px; max-width: 1080px; margin: 0 auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; padding: 0; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 40px; }
.contact-form-panel label { display: grid; gap: 10px; color: #fff; font-size: 0.9rem; font-weight: 700; }
.contact-form-panel input, .contact-form-panel select, .contact-form-panel textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,0.78); border-radius: 0; background: transparent; color: #fff; padding: 0 0 16px; outline: none; }
.contact-form-panel input, .contact-form-panel select { min-height: 48px; }
.contact-form-panel textarea { min-height: 140px; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.12); padding: 20px; resize: vertical; }
.contact-form-panel input:focus, .contact-form-panel select:focus { border-color: #fff; box-shadow: 0 2px 0 rgba(255,255,255,0.26); }
.contact-form-panel textarea:focus { border-color: rgba(255,255,255,0.72); box-shadow: 0 0 0 4px rgba(255,255,255,0.08); }
.contact-form-panel select option { color: var(--text); }
.contact-message-field { gap: 12px; }
.contact-consent { max-width: 860px; margin: -6px 0 0; color: rgba(255,255,255,0.72); font-size: 0.72rem; line-height: 1.65; }
.contact-submit-row { display: flex; justify-content: flex-end; }
.contact-submit-row button { min-height: 60px; border: 0; border-radius: 4px; background: #fff; color: var(--brand); padding: 0 30px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease; }
.contact-submit-row button:hover { transform: translateY(-1px); box-shadow: 0 18px 38px rgba(7, 17, 31, 0.18); }
.site-footer { border-top: 1px solid var(--line); background: #fff; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 42px; }
.footer-grid h2 { margin-bottom: 14px; font-size: 0.9rem; }
.footer-grid nav { display: grid; align-content: start; gap: 10px; }
.footer-grid a { color: var(--muted); font-size: 0.94rem; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom { margin-top: 42px; border-top: 1px solid var(--line); padding: 24px 0; color: var(--soft); font-size: 0.9rem; text-align: center; }

@media (max-width: 940px) {
  .site-header { z-index: 70; }
  .site-header::before { content: ""; position: fixed; inset: 0; z-index: 60; background: rgba(7, 9, 23, 0.56); opacity: 0; pointer-events: none; backdrop-filter: blur(3px); transition: opacity 180ms ease; }
  .site-header.is-open::before { opacity: 1; pointer-events: auto; }
  .header-inner { position: relative; z-index: 90; min-height: 58px; }
  .nav-toggle { z-index: 92; display: inline-grid; place-items: center; }
  .site-header.is-open .nav-toggle { background: rgba(101, 87, 245, 0.24); }
  .site-header.is-open .nav-toggle span:not(.sr-only):nth-child(1) { top: 19px; transform: translateX(-50%) rotate(45deg); }
  .site-header.is-open .nav-toggle span:not(.sr-only):nth-child(2) { opacity: 0; transform: translateX(-50%) scaleX(0.35); }
  .site-header.is-open .nav-toggle span:not(.sr-only):nth-child(3) { top: 19px; transform: translateX(-50%) rotate(-45deg); }
  .primary-nav { position: fixed; top: 67px; left: 10px; right: 10px; z-index: 80; display: grid; gap: 7px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; background: #14152a; padding: 20px 16px 112px; color: rgba(255, 255, 255, 0.78); box-shadow: 0 24px 70px rgba(7, 9, 23, 0.42); opacity: 0; pointer-events: none; transform: translateY(-10px) scale(0.985); transform-origin: top center; transition: opacity 180ms ease, transform 180ms ease; }
  .primary-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 0 14px; color: #e8e9f7; font-size: 0.95rem; font-weight: 900; line-height: 1; }
  .primary-nav a::after { content: ">"; color: rgba(255, 255, 255, 0.52); font-size: 1rem; font-weight: 900; }
  .primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #ffffff; }
  .primary-nav > .menu-item-has-children { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 0; }
  .primary-nav > .menu-item-has-children::before { display: none; }
  .primary-nav > .menu-item-has-children > a::after { content: none; }
  .submenu-toggle { display: inline-grid; grid-column: 2; grid-row: 1; place-items: center; width: 42px; min-height: 34px; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, 0.72); cursor: pointer; }
  .submenu-toggle::before { content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 160ms ease, margin 160ms ease; }
  .primary-nav > .menu-item-has-children.is-submenu-open > .submenu-toggle { color: #ffffff; background: rgba(101, 87, 245, 0.22); }
  .primary-nav > .menu-item-has-children.is-submenu-open > .submenu-toggle::before { margin-top: 4px; transform: rotate(225deg); }
  .primary-nav .sub-menu { position: static; grid-column: 1 / -1; display: grid; width: auto; min-width: 0; max-height: 0; gap: 4px; margin: 0; border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; overflow: hidden; opacity: 0; pointer-events: none; transform: none; transition: max-height 180ms ease, opacity 180ms ease, padding 180ms ease; }
  .primary-nav > .menu-item-has-children.is-submenu-open > .sub-menu { max-height: 240px; padding: 4px 0 8px 12px; opacity: 1; pointer-events: auto; }
  .primary-nav .sub-menu a { min-height: 32px; padding: 0 12px; color: rgba(255, 255, 255, 0.68); font-size: 0.88rem; font-weight: 750; }
  .primary-nav .sub-menu a::after { content: none; }
  .header-actions { position: fixed; top: 342px; left: 26px; right: 26px; z-index: 81; display: grid; gap: 10px; opacity: 0; pointer-events: none; transform: translateY(-10px) scale(0.985); transform-origin: top center; transition: opacity 180ms ease, transform 180ms ease; }
  .header-actions .icon-button { display: none; }
  .header-actions .button { width: 100%; min-height: 46px; border-radius: 12px; font-weight: 900; }
  .header-actions .button-primary:not(.button-mobile-cta) { border-color: rgba(255, 255, 255, 0.12); background: transparent; color: #ffffff; box-shadow: none; }
  .header-actions .button-mobile-cta { display: inline-flex; background: #6557f5; color: #ffffff; box-shadow: 0 14px 30px rgba(101, 87, 245, 0.34); }
  .site-header.is-open .primary-nav, .site-header.is-open .header-actions { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
  .hero-grid, .lead-hero-grid, .content-layout, .article-layout, .feature-banner { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 86px 0; }
  .lead-hero-grid { min-height: auto; padding: 58px 0; }
  .cluster-grid, .post-grid, .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .home-post-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: static; }
}
@media (max-width: 640px) {
  .container, .narrow-container { width: min(100% - 28px, 1240px); }
  .brand-logo-combo { gap: 12px; }
  .brand-logo-combo img { width: 132px; }
  .brand-section-label { padding-left: 12px; font-size: 0.86rem; }
  .section { padding: 72px 0; }
  h1 { font-size: clamp(2.25rem, 9.5vw, 3rem); }
  .hero::after, .hero::before { display: none; }
  .hero-grid { padding: 72px 0; }
  .lead-hero-grid { gap: 28px; padding: 48px 0; }
  .lead-hero h1 { font-size: clamp(2.2rem, 10vw, 3.1rem); }
  .lead-hero-body { font-size: 1rem; }
  .lead-form-card { padding: 22px; }
  .hero-actions, .search-form, .search-modal-form { flex-direction: column; align-items: stretch; }
  .search-modal-form { display: flex; }
  .hero-actions .button, .search-form button, .search-modal-form button { width: 100%; }
  .contact-submit-row { justify-content: stretch; }
  .contact-submit-row button { width: 100%; }
  .cluster-grid, .post-grid, .tool-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-banner-copy { padding: 34px 22px; }
  .feature-banner-visual, .feature-banner-visual img { min-height: 280px; }
  .post-card-featured { grid-row: auto; }
  .home-post-grid .post-card-featured { grid-template-rows: auto 1fr; }
  .home-post-grid .post-card-featured .post-media img { height: auto; aspect-ratio: 1.62; }
  .blog-category-section { padding: 44px 0 56px; }
  .blog-category-tabs { gap: 9px; }
  .blog-category-tabs a { min-height: 40px; padding: 0 13px; font-size: 0.82rem; }
  .single-cover { margin-top: 28px; }
}
.article-shell { background: #ffffff; padding: 54px 0 44px; }
.article-top-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 76px; align-items: start; }
.article-main-head h1 { max-width: 680px; margin: 26px 0 32px; font-size: clamp(1.85rem, 2.65vw, 2.55rem); line-height: 1.16; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; max-width: 760px; color: #98a0af; font-size: 0.8rem; font-weight: 700; }
.breadcrumb a { color: #667085; transition: color 160ms ease; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb a:first-child { display: inline-flex; align-items: center; color: var(--brand); }
.breadcrumb > span:last-child { max-width: min(100%, 380px); overflow: hidden; color: #98a0af; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb-separator { color: #c7ceda; font-weight: 800; }
.breadcrumb svg { width: 15px; height: 15px; fill: currentColor; }
.article-byline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; margin-bottom: 38px; }
.author-card-mini { display: flex; align-items: center; gap: 12px; }
.author-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #eef0ff; color: var(--brand); font-size: 0.78rem; font-weight: 900; }
.author-card-mini strong, .author-card-mini span { display: block; }
.author-card-mini strong { color: var(--text); font-size: 0.94rem; }
.author-card-mini span { color: var(--muted); font-size: 0.82rem; }
.article-facts { display: grid; gap: 6px; margin: 0; color: #98a0af; font-size: 0.78rem; text-align: right; }
.article-facts div { display: flex; justify-content: flex-end; gap: 8px; }
.article-facts dt { margin: 0; }
.article-facts dd { margin: 0; color: #727b8d; }
.article-cover { margin: 0; }
.article-cover img { width: 100%; aspect-ratio: 1.32; object-fit: cover; border-radius: 8px; box-shadow: 0 18px 48px rgba(20, 28, 45, 0.12); }
.article-aside { position: sticky; top: 100px; display: grid; gap: 22px; }
.capture-card, .toc-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 12px 34px rgba(20, 28, 45, 0.06); overflow: hidden; }
.capture-card { position: relative; isolation: isolate; padding: 24px; background: linear-gradient(160deg, rgb(20 21 42 / 1), #22233f); color: #fff; }
.capture-card::before { content: ""; position: absolute; top: 18px; right: 18px; z-index: -1; width: 86px; height: 86px; border-radius: 50%; background: rgba(19, 201, 226, 0.22); }
.capture-card::after { content: ""; position: absolute; right: 54px; bottom: 88px; z-index: -1; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 107, 95, 0.18); transform: rotate(10deg); }
.capture-card .eyebrow { color: #13c9e2; }
.capture-card h2 { margin-bottom: 20px; color: #fff; font-size: 1.5rem; line-height: 1.15; }
.capture-form { display: grid; gap: 12px; }
.capture-form label { display: grid; gap: 6px; }
.capture-form label span { color: rgba(255, 255, 255, 0.72); font-size: 0.78rem; font-weight: 850; }
.capture-form input, .capture-form select { width: 100%; min-height: 44px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: #fff; padding: 0 12px; outline: none; }
.capture-form input::placeholder { color: rgba(255, 255, 255, 0.48); }
.capture-form select option { color: var(--text); }
.capture-form input:focus, .capture-form select:focus { border-color: rgba(19, 201, 226, 0.72); box-shadow: 0 0 0 3px rgba(19, 201, 226, 0.14); }
.capture-form button { min-height: 46px; border: 0; border-radius: 8px; background: var(--coral); color: #fff; font-weight: 900; cursor: pointer; }
.capture-card small { display: block; margin-top: 12px; color: rgba(255, 255, 255, 0.66); font-weight: 700; }
.toc-card { position: relative; isolation: isolate; padding: 22px; border-color: rgba(101, 87, 245, 0.18); background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%); box-shadow: 0 18px 42px rgba(20, 28, 45, 0.08); }
.toc-card::before { content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: 4px; background: linear-gradient(90deg, #818cf8, var(--brand), var(--cyan)); }
.toc-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 14px; }
.toc-head h2 { margin: 0; color: #14152a; font-size: 1.02rem; font-weight: 900; line-height: 1.2; }
.share-row { display: flex; gap: 6px; font-size: 0.68rem; font-weight: 900; text-transform: uppercase; }
.share-row a { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(101, 87, 245, 0.14); border-radius: 50%; background: #fff; color: #667085; box-shadow: 0 8px 18px rgba(20, 28, 45, 0.05); }
.share-row a:hover { border-color: rgba(101, 87, 245, 0.34); color: var(--brand); }
.toc-card ol { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.toc-card li { counter-increment: toc; }
.toc-card li a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 42px; border: 1px solid rgba(20, 28, 45, 0.06); border-radius: 8px; background: rgba(255, 255, 255, 0.72); padding: 8px 10px; color: #475467; font-size: 0.88rem; font-weight: 720; line-height: 1.25; transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease; }
.toc-card li a::before { content: counter(toc, decimal-leading-zero); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #eef0ff; color: var(--brand); font-size: 0.68rem; font-weight: 900; }
.toc-card li a:hover { transform: translateX(2px); border-color: rgba(101, 87, 245, 0.22); background: #fff; color: #14152a; }
.article-content-layout { display: grid; grid-template-columns: minmax(0, 680px) 370px; gap: 76px; align-items: start; background: #fff; padding-bottom: 90px; }
.article-entry { grid-column: 1; }
.article-entry .lead-paragraph { color: #384255; font-size: 1.16rem; line-height: 1.7; }

@media (max-width: 940px) {
  .article-top-layout, .article-content-layout { grid-template-columns: 1fr; gap: 36px; }
  .article-aside { position: static; }
  .article-byline { grid-template-columns: 1fr; }
  .article-facts { text-align: left; }
  .article-facts div { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .article-shell { padding-top: 38px; }
  .article-main-head h1 { margin-top: 22px; }
}
.brand-strip { min-height: 40px; background: linear-gradient(90deg, #ff6b5f, #6557f5); color: #fff; }
.brand-strip .site-banner-content { display: flex; justify-content: center; gap: 12px; align-items: center; min-height: 40px; padding: 8px 14px; }
.brand-strip .site-banner-label { display: none; }
.brand-strip h2, .brand-strip p { margin: 0; color: inherit; font-size: 0.9rem; }
.brand-strip h2 { font-weight: 800; }
.brand-strip p { font-weight: 650; opacity: 0.9; }
.brand-strip a { color: inherit; font-size: 0.85rem; font-weight: 800; text-decoration: underline; text-underline-offset: 0.18em; }
.article-page { background: #fff; }
.article-main-head { position: relative; }
.author-avatar { background: linear-gradient(135deg, #e8e6ff, #dff9fd); color: var(--brand-strong); }
.product-cta { margin-top: 42px; border: 1px solid rgba(101, 87, 245, 0.16); border-radius: 8px; background: linear-gradient(135deg, #f5f7ff, #ffffff 48%, #edfafd); padding: 30px; }
.product-cta h2 { max-width: 560px; margin-bottom: 12px; font-size: 1.8rem; }
.product-cta p:not(.eyebrow) { max-width: 590px; color: var(--muted); }
.product-cta .button { margin-top: 8px; text-decoration: none; }

@media (max-width: 640px) {
  .brand-strip .site-banner-content { align-items: flex-start; flex-direction: column; gap: 0; }
}






/* Responsive usability polish */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(19, 201, 226, 0.56); outline-offset: 3px; }
.post-card, .tool-card, .cluster-card, .feature-banner { content-visibility: auto; contain-intrinsic-size: 420px; }
.post-card a, .tool-card a, .blog-category-tabs a, .footer-grid a { text-underline-offset: 0.18em; }
.entry-content h2, .product-cta, .category-hero, .archive-hero { scroll-margin-top: 92px; }

@media (max-width: 1180px) {
  .container { width: min(100% - 32px, 1120px); }
  .home-post-grid, .category-post-grid { gap: 18px; }
  .article-top-layout, .article-content-layout { gap: 44px; }
}

@media (max-width: 760px) {
  body { line-height: 1.55; }
  .container, .narrow-container { width: min(100% - 24px, 1240px); }
  .site-header { position: sticky; }
  .brand-logo-combo img { width: 136px; }
  .brand-section-label { min-height: 26px; padding-left: 12px; font-size: 0.84rem; }
  .primary-nav { top: 64px; left: 12px; right: 12px; max-height: calc(100dvh - 84px); overflow-y: auto; padding: 18px 14px 112px; }
  .header-actions { top: auto; bottom: 28px; left: 28px; right: 28px; }
  .blog-category-section { padding: 34px 0 38px; }
  .blog-category-heading { margin-bottom: 18px; }
  .blog-category-heading h1, .blog-category-heading h2 { font-size: clamp(1.8rem, 8vw, 2.45rem); }
  .blog-category-tabs { justify-content: flex-start; flex-wrap: nowrap; width: 100%; overflow-x: auto; padding: 2px 0 12px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .blog-category-tabs a { flex: 0 0 auto; scroll-snap-align: start; }
  .content-section, .tools-section, .feature-banner-section, .category-post-section { padding-top: 42px; padding-bottom: 54px; }
  .home-post-grid, .category-post-grid, .post-grid, .tool-grid, .cluster-grid { grid-template-columns: 1fr; gap: 16px; }
  .post-card, .tool-card, .cluster-card, .feature-banner, .product-cta { border-radius: 10px; }
  .post-body, .home-post-grid .post-body, .home-post-grid .post-card-featured .post-body { padding: 18px; }
  .home-post-grid .post-card h3 { min-height: auto; -webkit-line-clamp: 3; }
  .post-card-footer { align-items: flex-start; flex-direction: column; }
  .home-post-grid .post-card-footer { align-items: flex-start; gap: 10px; }
  .home-post-grid .post-date { flex: 1 1 auto; }
  .feature-banner-copy { padding: 28px 18px; }
  .feature-banner-copy h2 { font-size: clamp(1.55rem, 7vw, 2.1rem); }
  .feature-banner-copy a { width: 100%; }
  .feature-image-badge { left: 16px; right: 16px; bottom: 16px; width: auto; }
  .category-hero { padding: 30px 0 38px; }
  .category-breadcrumb, .breadcrumb { gap: 7px; overflow-wrap: anywhere; }
  .category-heading-block { margin: 22px auto 24px; }
  .category-heading-block p, .archive-hero p, .hero-lead { font-size: 1rem; }
  .search-form { display: grid; grid-template-columns: 1fr; }
  .search-form input, .search-form button { min-height: 52px; width: 100%; }
  .search-modal { padding: 76px 12px 20px; }
  .search-modal-panel { padding: 24px 16px 18px; }
  .search-modal-panel h2 { padding-right: 40px; font-size: 1.5rem; }
  .contact-page-section { padding: 56px 0 50px; }
  .contact-page-heading { margin-bottom: 36px; text-align: left; }
  .contact-page-heading h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .contact-form-panel { gap: 24px; }
  .contact-form-grid { gap: 24px; }
  .contact-form-panel textarea { min-height: 128px; }
  .footer-grid { gap: 26px; }
  .footer-bottom { margin-top: 26px; }
}

@media (max-width: 480px) {
  .container, .narrow-container { width: min(100% - 20px, 1240px); }
  .header-inner { gap: 12px; }
  .brand-logo-combo { gap: 9px; }
  .brand-logo-combo img { width: 124px; }
  .brand-section-label { font-size: 0.78rem; }
  .nav-toggle { width: 38px; height: 38px; }
  .primary-nav { left: 10px; right: 10px; border-radius: 16px; padding: 16px 12px 106px; }
  .primary-nav a { min-height: 33px; padding: 0 10px; font-size: 0.92rem; }
  .header-actions { left: 22px; right: 22px; bottom: 24px; }
  .header-actions .button { min-height: 44px; }
  .section { padding: 54px 0; }
  h1 { font-size: clamp(2rem, 10.5vw, 2.65rem); }
  h2 { font-size: clamp(1.45rem, 7.5vw, 2rem); }
  .post-media img, .home-post-grid .post-card-featured .post-media img { aspect-ratio: 1.35; }
  .post-meta { gap: 7px; }
  .post-card-footer { font-size: 0.78rem; }
  .article-shell { padding-top: 28px; }
  .article-main-head h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .article-byline { gap: 18px; margin-bottom: 26px; }
  .article-cover img { aspect-ratio: 1.18; }
  .article-content-layout { padding-bottom: 58px; }
  .entry-content { font-size: 1rem; }
  .entry-content h2 { margin-top: 34px; font-size: 1.55rem; }
  .product-cta { padding: 22px 18px; }
  .capture-card, .toc-card { padding: 18px; }
  .contact-page-heading p { font-size: 1rem; }
  .contact-submit-row button { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
/* Mobile close button fix */
@media (max-width: 940px) {
  .site-header.is-open .nav-toggle {
    position: fixed;
    top: 78px;
    right: 24px;
    z-index: 96;
    width: 38px;
    height: 38px;
    border-color: rgba(126, 112, 255, 0.72);
    background: rgba(101, 87, 245, 0.2);
    box-shadow: 0 10px 28px rgba(7, 9, 23, 0.28);
  }

  .site-header.is-open .nav-toggle span:not(.sr-only):nth-child(1),
  .site-header.is-open .nav-toggle span:not(.sr-only):nth-child(3) {
    top: 18px;
  }

  .primary-nav {
    padding-top: 58px;
  }
}

@media (max-width: 760px) {
  .home-feed-card, .home-feed-list .post-card { grid-template-columns: 1fr; }
  .home-feed-card-media img, .home-feed-list .post-media img { min-height: 0; height: auto; aspect-ratio: 1.55; }
  .home-feed-card-content, .home-feed-list .post-body { padding: 20px; }
  .home-ad-banner { padding: 24px 22px; }
}

/* Post individual: coluna editorial com lateral contextual, como na home. */
.single-content-layout { display: grid; grid-template-columns: minmax(0, 700px) minmax(340px, 420px); justify-content: space-between; gap: 72px; align-items: start; }
.single-post-main { min-width: 0; }
.single-post-main .breadcrumb { margin-bottom: 26px; }
.single-post-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; padding: 0; list-style: none; }
.single-post-tags a { display: inline-flex; align-items: center; min-height: 25px; border-radius: 5px; background: var(--coral); padding: 0 9px; color: #fff; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.045em; text-transform: uppercase; transition: background 160ms ease, transform 160ms ease; }
.single-post-tags a:hover { background: var(--coral-strong); transform: translateY(-1px); }
.single-post-header h1 { max-width: none; margin-bottom: 26px; font-size: clamp(1.75rem, 2.7vw, 2.55rem); line-height: 1.15; }
.single-author-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.single-author { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.single-author-avatar { display: inline-grid; flex: 0 0 auto; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(101, 87, 245, 0.18); border-radius: 50%; background: linear-gradient(135deg, #e8e6ff, #dff9fd); color: var(--brand-strong); font-size: 0.74rem; font-weight: 900; }
.single-author > span:last-child { display: grid; gap: 2px; }
.single-author strong { color: var(--text); font-size: 0.9rem; }
.single-author small { color: var(--soft); font-size: 0.76rem; }
.single-post-facts { display: grid; gap: 4px; margin: 0; color: var(--soft); font-size: 0.74rem; text-align: right; }
.single-post-facts div { display: flex; justify-content: flex-end; gap: 8px; }
.single-post-facts dt { font-weight: 600; }
.single-post-facts dd { margin: 0; color: #5f697a; font-weight: 750; }
.single-post-cover { margin: 30px 0 0; overflow: hidden; border-radius: 10px; background: var(--surface-strong); }
.single-post-cover img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.single-post-divider { height: 1px; margin: 34px 0; background: var(--line); }
.single-post-entry { max-width: 720px; color: #20283a; font-size: 1.08rem; }
.single-post-entry > :last-child { margin-bottom: 0; }
.single-post-entry h2 { margin-top: 42px; font-size: clamp(1.5rem, 3vw, 2rem); }
.single-post-entry p { color: #3d4759; line-height: 1.76; }
.single-post-entry blockquote { margin: 30px 0; border-left: 4px solid var(--coral); padding: 8px 0 8px 20px; color: var(--muted); font-size: 1.1rem; font-style: italic; }
.single-post-sidebar { position: sticky; top: 94px; display: grid; align-self: start; gap: 18px; }
.single-promo-card { display: grid; justify-items: center; min-height: 430px; border: 1px solid rgba(20, 28, 45, 0.1); border-radius: 12px; background: linear-gradient(145deg, #f8fbff 0%, #edf3ff 54%, #fff5f2 100%); padding: 44px 34px; text-align: center; box-shadow: 0 16px 40px rgba(20, 28, 45, 0.06); }
.single-promo-card .site-banner-content { display: grid; justify-items: center; height: 100%; text-align: center; }
.single-promo-card .site-banner-label { margin-bottom: 14px; }
.single-promo-card h2 { margin: 0; color: #17233a; font-size: clamp(1.9rem, 3vw, 2.65rem); line-height: 1.06; }
.single-promo-card h2::after { content: ""; display: block; width: 42px; height: 3px; margin: 26px auto; border-radius: 999px; background: var(--coral); }
.single-promo-card p { margin: 0; color: #4c5a70; line-height: 1.65; }
.single-promo-card a { align-self: end; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 24px; border-radius: 8px; background: var(--brand); padding: 0 18px; color: #fff; font-weight: 800; transition: background 160ms ease, transform 160ms ease; }
.single-promo-card a:hover { background: var(--brand-strong); transform: translateY(-1px); }
.single-promo-card.has-banner-image .site-banner-label, .single-promo-card.has-banner-image h2, .single-promo-card.has-banner-image p { color: #fff; }
.single-related-section > .eyebrow { margin-bottom: 7px; }
.single-related-section > h2 { margin-bottom: 14px; font-size: 1.28rem; }
.single-related-list { display: grid; gap: 12px; }
.single-related-card { overflow: hidden; border: 1px solid rgba(20, 28, 45, 0.1); border-radius: 10px; background: #fff; box-shadow: 0 12px 28px rgba(20, 28, 45, 0.06); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.single-related-card:hover { transform: translateY(-2px); border-color: rgba(101, 87, 245, 0.3); box-shadow: 0 18px 34px rgba(20, 28, 45, 0.1); }
.single-related-card a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; }
.single-related-card img { width: 88px; height: 88px; border-radius: 7px; object-fit: cover; background: var(--surface-strong); }
.single-related-card span { display: grid; gap: 6px; min-width: 0; }
.single-related-card strong { display: -webkit-box; overflow: hidden; color: var(--text); font-size: 0.88rem; line-height: 1.32; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.single-related-card small { color: var(--soft); font-size: 0.72rem; font-weight: 700; }

@media (max-width: 940px) {
  .single-content-layout { grid-template-columns: 1fr; }
  .single-post-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-post-sidebar .single-related-section { grid-column: 1 / -1; }
  .single-promo-card { min-height: 300px; }
}

@media (max-width: 640px) {
  .single-post-main .breadcrumb { margin-bottom: 20px; }
  .single-post-header h1 { font-size: clamp(1.65rem, 7vw, 2.1rem); }
  .single-author-row { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 26px; }
  .single-post-facts { text-align: left; }
  .single-post-facts div { justify-content: flex-start; }
  .single-post-cover { margin-top: 24px; }
  .single-post-entry { font-size: 1rem; }
  .single-post-entry h2 { margin-top: 34px; }
  .single-post-sidebar { grid-template-columns: 1fr; }
  .single-post-sidebar .single-related-section { grid-column: auto; }
  .single-promo-card { min-height: 0; padding: 34px 24px; }
}

@media (max-width: 760px) {
  .site-header.is-open .nav-toggle {
    top: 76px;
    right: 24px;
  }

  .primary-nav {
    padding-top: 58px;
  }
}

@media (max-width: 480px) {
  .site-header.is-open .nav-toggle {
    top: 76px;
    right: 20px;
    width: 36px;
    height: 36px;
  }

  .site-header.is-open .nav-toggle span:not(.sr-only):nth-child(1),
  .site-header.is-open .nav-toggle span:not(.sr-only):nth-child(3) {
    top: 17px;
  }

  .primary-nav {
    padding-top: 54px;
  }
}
/* Mobile actions inside menu card */
@media (max-width: 940px) {
  .primary-nav {
    min-height: 430px;
    padding-bottom: 138px;
  }

  .header-actions {
    top: 386px;
    bottom: auto;
    left: 32px;
    right: 32px;
    z-index: 82;
  }
}

@media (max-width: 760px) {
  .primary-nav {
    min-height: 430px;
    padding-bottom: 138px;
  }

  .header-actions {
    top: 378px;
    bottom: auto;
    left: 32px;
    right: 32px;
  }
}

@media (max-width: 480px) {
  .primary-nav {
    min-height: 424px;
    padding-bottom: 132px;
  }

  .header-actions {
    top: 374px;
    bottom: auto;
    left: 22px;
    right: 22px;
  }
}
/* Mobile dropdown menu behavior */
@media (max-width: 940px) {
  body.is-nav-open {
    overflow: auto;
  }

  .site-header {
    overflow: visible;
  }

  .site-header::before,
  .site-header.is-open::before {
    display: none;
  }

  .header-inner {
    position: relative;
  }

  .site-header.is-open .nav-toggle {
    position: relative;
    top: auto;
    right: auto;
    width: 40px;
    height: 40px;
    box-shadow: none;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 90;
    min-height: 402px;
    max-height: none;
    overflow: visible;
    padding: 20px 18px 132px;
    transform: translateY(-8px);
  }

  .primary-nav a {
    min-height: 39px;
    padding: 0 6px;
  }

  .header-actions {
    position: absolute;
    top: calc(100% + 284px);
    left: 18px;
    right: 18px;
    bottom: auto;
    z-index: 91;
  }
}

@media (max-width: 760px) {
  .primary-nav {
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    min-height: 402px;
    padding: 20px 18px 132px;
  }

  .header-actions {
    top: calc(100% + 284px);
    left: 18px;
    right: 18px;
    bottom: auto;
  }
}

@media (max-width: 480px) {
  .site-header.is-open .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .primary-nav {
    left: 0;
    right: 0;
    min-height: 394px;
    padding: 18px 14px 126px;
  }

  .primary-nav a {
    min-height: 37px;
  }

  .header-actions {
    top: calc(100% + 276px);
    left: 14px;
    right: 14px;
    bottom: auto;
  }
}
