/* ==========================================================================
   Isabela Almeida — Medical Writer
   Identidade: papel creme + azul-marinho + areia. Serifada editorial nos
   títulos, sans nas interfaces. Vidro fosco sobre papel, não sobre neon.

   Sumário:
     01. Tokens
     02. Reset e base
     03. Tipografia
     04. Utilitários (container, papel, botões, rótulos)
     05. Cabeçalho
     06. Hero
     07. A ponte (evidência → medical writer → públicos)
     08. Tipos de conteúdo
     09. Sobre
     10. Credenciais
     11. Grade de artigos
     12. Painel de contato
     13. Artigo individual
     14. Listagens, busca, 404, paginação
     15. Rodapé
     16. Movimento e responsivo
   ========================================================================== */

/* 01. Tokens ------------------------------------------------------------- */

:root {
	/* Papel */
	--paper:        #f7f2ea;
	--paper-2:      #fbf8f3;
	--paper-3:      #efe6d8;
	--paper-line:   rgba(27, 58, 92, 0.12);

	/* Azul-marinho — a cor da autoridade neste sistema */
	--navy:         #1b3a5c;
	--navy-deep:    #10293f;
	--navy-mid:     #2c5580;
	--navy-soft:    #dbe4ee;

	/* Areia — acento quente, herdado do blazer e dos livros da referência */
	--sand:         #c79a5b;
	--sand-soft:    #e8d7bd;
	--sand-ink:     #8a6529; /* versão escura o bastante para virar texto */

	/* Texto — contrastes conferidos sobre --paper (AA ou melhor) */
	--ink:          #16232e; /* 14.4:1 */
	--ink-2:        #1b3a5c; /* 10.4:1 */
	--muted:        #52626f; /*  5.7:1 */
	--muted-2:      #6b7a86; /*  4.6:1 — só para texto grande e rótulos */

	/* Vidro */
	--glass:        rgba(255, 255, 255, 0.62);
	--glass-strong: rgba(255, 255, 255, 0.86);
	--glass-brd:    rgba(255, 255, 255, 0.8);

	/* Raios */
	--r-sm:   10px;
	--r-md:   18px;
	--r-lg:   26px;
	--r-xl:   34px;
	--r-pill: 999px;

	/* Sombras — quentes, não azuis: sombra sobre papel puxa para o marrom */
	--shadow-sm: 0 1px 3px rgba(60, 44, 26, 0.07);
	--shadow-md: 0 10px 30px rgba(60, 44, 26, 0.10);
	--shadow-lg: 0 24px 60px rgba(45, 34, 20, 0.14);

	/* Tipografia */
	--font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	/* Escala fluida — razão ~1.25 no celular, ~1.33 no desktop */
	--step--2: clamp(0.72rem, 0.70rem + 0.10vw, 0.78rem);
	--step--1: clamp(0.83rem, 0.80rem + 0.14vw, 0.92rem);
	--step-0:  clamp(1.00rem, 0.97rem + 0.16vw, 1.09rem);
	--step-1:  clamp(1.16rem, 1.10rem + 0.30vw, 1.36rem);
	--step-2:  clamp(1.38rem, 1.26rem + 0.58vw, 1.78rem);
	--step-3:  clamp(1.66rem, 1.44rem + 1.05vw, 2.37rem);
	--step-4:  clamp(2.00rem, 1.63rem + 1.80vw, 3.16rem);
	--step-5:  clamp(2.40rem, 1.80rem + 2.90vw, 4.21rem);

	--wrap: 1140px;
	--wrap-text: 68ch;
	--gap: clamp(1rem, 2.2vw, 1.6rem);
	--section-y: clamp(3.5rem, 8vw, 6.5rem);
}

/* 02. Reset e base ------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.65;
	color: var(--ink);
	background-color: var(--paper);
	/* Manchas quentes muito discretas: dão profundidade sem virar gradiente óbvio. */
	background-image:
		radial-gradient(52rem 38rem at 8% -6%, rgba(255, 255, 255, 0.9), transparent 62%),
		radial-gradient(44rem 34rem at 96% 2%, rgba(232, 215, 189, 0.5), transparent 64%),
		radial-gradient(60rem 44rem at 50% 104%, rgba(219, 228, 238, 0.55), transparent 66%);
	background-attachment: fixed;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

/* 03. Tipografia --------------------------------------------------------- */

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--ink-2);
	line-height: 1.14;
	letter-spacing: -0.014em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 { font-size: var(--step-5); line-height: 1.05; letter-spacing: -0.022em; }
h2 { font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.018em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p {
	margin: 0 0 1.15em;
	text-wrap: pretty;
}

a {
	color: var(--navy-mid);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover { color: var(--navy-deep); }

strong, b { font-weight: 600; color: var(--ink); }

small { font-size: var(--step--1); }

::selection {
	background: var(--navy);
	color: var(--paper-2);
}

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

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 1rem;
	z-index: 999;
	background: var(--navy);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: var(--r-pill);
}

.skip-link:focus { left: 1rem; }

/* 04. Utilitários -------------------------------------------------------- */

.wrap {
	width: min(100% - 2.5rem, var(--wrap));
	margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--tight { padding-top: 0; }

/* Cartão de papel com vidro fosco. É a superfície padrão do site. */
.paper {
	background: var(--glass);
	-webkit-backdrop-filter: blur(18px) saturate(130%);
	backdrop-filter: blur(18px) saturate(130%);
	border: 1px solid var(--glass-brd);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
}

/* Rótulo em caixa alta — o "EVIDÊNCIAS CIENTÍFICAS" da referência. */
.label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1.05rem;
	border-radius: var(--r-pill);
	font-family: var(--font-body);
	font-size: var(--step--2);
	font-weight: 600;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	background: var(--navy);
	color: #fff;
	border: 0;
	text-decoration: none;
}

.label svg { width: 0.95rem; height: 0.95rem; }

.label--quiet {
	background: var(--glass-strong);
	color: var(--navy);
	border: 1px solid var(--paper-line);
	box-shadow: var(--shadow-sm);
}

.label--sand {
	background: var(--sand-soft);
	color: var(--sand-ink);
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.9rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--r-pill);
	font-family: var(--font-body);
	font-size: var(--step-0);
	font-weight: 550;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
	background: var(--navy);
	color: #fff;
	box-shadow: 0 8px 22px rgba(16, 41, 63, 0.28);
}

.btn--primary:hover {
	background: var(--navy-deep);
	color: #fff;
	box-shadow: 0 14px 32px rgba(16, 41, 63, 0.36);
}

.btn--ghost {
	background: var(--glass-strong);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-color: var(--paper-line);
	color: var(--navy);
	box-shadow: var(--shadow-sm);
}

.btn--ghost:hover { color: var(--navy-deep); box-shadow: var(--shadow-md); }

.arrow-dot {
	display: grid;
	place-items: center;
	width: 2.3rem;
	height: 2.3rem;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--sand);
	color: #2a1c07;
	transition: transform 0.3s ease;
}

.arrow-dot svg { width: 1rem; height: 1rem; }

.btn:hover .arrow-dot,
a:hover > .arrow-dot { transform: rotate(45deg); }

.arrow-dot--light { background: var(--paper-2); color: var(--navy); }

.section-head {
	max-width: 44rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-head .label { margin-bottom: 1.1rem; }

.section-head p {
	color: var(--muted);
	font-size: var(--step-1);
	margin-bottom: 0;
	max-width: 46ch;
}

.section-head--center p { margin-inline: auto; }

.lede {
	font-size: var(--step-1);
	line-height: 1.55;
	color: var(--muted);
}

/* 05. Cabeçalho ---------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding-block: 1rem;
	transition: padding 0.3s ease;
}

.site-header.is-stuck { padding-block: 0.5rem; }

.header-bar {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 0.65rem 0.65rem 0.65rem 1.4rem;
	border-radius: var(--r-pill);
	background: rgba(251, 248, 243, 0.78);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	border: 1px solid var(--glass-brd);
	box-shadow: var(--shadow-md);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin-right: auto;
	text-decoration: none;
	color: var(--ink-2);
}

.brand__mark {
	display: grid;
	place-items: center;
	width: 2.3rem;
	height: 2.3rem;
	flex: 0 0 auto;
	border-radius: 0.7rem;
	background: var(--navy);
	color: var(--paper-2);
}

.brand__mark svg { width: 1.15rem; height: 1.15rem; }

.brand__name {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.12rem;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.brand__role {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.nav__list {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav__list a {
	position: relative;
	display: inline-block;
	padding-block: 0.3rem;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--ink-2);
	text-decoration: none;
}

.nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--sand);
	transition: width 0.28s ease;
}

.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .current_page_item > a::after { width: 100%; }

.nav__list .current-menu-item > a,
.nav__list .current_page_item > a { font-weight: 600; }

.nav__list li { position: relative; }

.nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 13rem;
	margin-top: 0.7rem;
	padding: 0.5rem;
	list-style: none;
	border-radius: var(--r-md);
	background: rgba(251, 248, 243, 0.96);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border: 1px solid var(--paper-line);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav__list .sub-menu a { display: block; padding: 0.5rem 0.8rem; border-radius: var(--r-sm); }
.nav__list .sub-menu a:hover { background: var(--paper-3); }
.nav__list .sub-menu a::after { display: none; }

.header-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.35rem 0.35rem 0.35rem 1.25rem;
	border-radius: var(--r-pill);
	background: var(--navy);
	color: #fff;
	font-weight: 550;
	font-size: 0.92rem;
	text-decoration: none;
	transition: transform 0.22s ease, background-color 0.22s ease;
}

.header-cta:hover { transform: translateY(-2px); background: var(--navy-deep); color: #fff; }
.header-cta .arrow-dot { width: 2.1rem; height: 2.1rem; }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.8rem;
	height: 2.8rem;
	border: 1px solid var(--paper-line);
	border-radius: 50%;
	background: var(--paper-2);
	color: var(--navy);
	cursor: pointer;
}

.nav-toggle svg { width: 1.2rem; height: 1.2rem; }

/* 06. Hero --------------------------------------------------------------- */

.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 4rem); }

.hero__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.hero__title {
	margin-bottom: 1.1rem;
	font-size: clamp(3rem, 2.1rem + 4.2vw, 6rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
}

/* ------------------------------------------------------------------
   A assinatura da casa.
   A referência Nuvica joga com uma linha vazada no título. Aqui o mesmo
   gesto acontece numa serifada em itálico, sobre papel creme: fica o
   contraste tipográfico de uma, com a credibilidade editorial da outra.
   ------------------------------------------------------------------ */
.hero__title em {
	display: block;
	font-style: italic;
	color: var(--navy-mid);
}

@supports (-webkit-text-stroke: 1px currentColor) {
	.hero__title em {
		color: transparent;
		-webkit-text-stroke: 1.5px var(--navy);
		paint-order: stroke fill;
	}
}

/* Arco desenhado sob o título — o motivo da "ponte", reaproveitado como
   divisor ao longo do site. */
.arc {
	display: block;
	width: clamp(8rem, 22vw, 15rem);
	height: auto;
	margin-bottom: 1.75rem;
	color: var(--sand);
}

.arc--center { margin-inline: auto; }

.hero__text {
	max-width: 40ch;
	margin-bottom: 2rem;
	color: var(--muted);
	font-size: var(--step-1);
	line-height: 1.55;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 2.25rem;
}

/* Selos de credibilidade abaixo do CTA */
.hero__proof {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--paper-line);
}

.hero__proof div { min-width: 7rem; }

.hero__proof b {
	display: block;
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 600;
	color: var(--navy);
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.hero__proof span {
	font-size: var(--step--1);
	color: var(--muted);
}

.hero__visual {
	position: relative;
	display: grid;
	place-items: end center;
}

/* Forma orgânica atrás do retrato — a bolha da Nuvica, redesenhada na
   paleta de papel. O recorte "sem fundo" repousa sobre ela. */
.hero__disc {
	position: absolute;
	inset: auto 0 0;
	aspect-ratio: 1;
	border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
	background:
		radial-gradient(58% 52% at 34% 28%, rgba(255, 255, 255, 0.95), transparent 70%),
		linear-gradient(155deg, var(--sand-soft), var(--navy-soft) 72%);
	box-shadow: var(--shadow-lg);
	animation: blob-morph 18s ease-in-out infinite;
}

@keyframes blob-morph {
	0%, 100% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
	50%      { border-radius: 56% 44% 58% 42% / 44% 56% 44% 56%; }
}

.hero__portrait {
	position: relative;
	width: min(100%, 25rem);
	filter: drop-shadow(0 18px 34px rgba(45, 34, 20, 0.18));
}

.float-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.7rem 1rem;
	border-radius: var(--r-md);
	background: rgba(251, 248, 243, 0.9);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	border: 1px solid var(--glass-brd);
	box-shadow: var(--shadow-lg);
	animation: float-y 7s ease-in-out infinite;
	max-width: 15rem;
}

.float-card__icon {
	display: grid;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	flex: 0 0 auto;
	border-radius: 0.65rem;
	background: var(--navy);
	color: var(--paper-2);
}

.float-card__icon svg { width: 1.1rem; height: 1.1rem; }

.float-card b {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ink-2);
	line-height: 1.2;
}

.float-card span { font-size: 0.75rem; color: var(--muted); }

.float-card--a { top: 8%; left: -6%; animation-delay: -1.5s; }
.float-card--b { bottom: 22%; right: -6%; animation-delay: -4s; }

@keyframes float-y {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-10px); }
}

/* 07. A ponte ------------------------------------------------------------ */

.bridge {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: clamp(1rem, 2.5vw, 2rem);
	align-items: center;
}

.bridge__panel {
	padding: clamp(1.4rem, 2.5vw, 2rem);
	border-radius: var(--r-lg);
	background: var(--glass);
	-webkit-backdrop-filter: blur(18px) saturate(130%);
	backdrop-filter: blur(18px) saturate(130%);
	border: 1px solid var(--glass-brd);
	box-shadow: var(--shadow-md);
}

.bridge__panel > .label { margin-bottom: 1.25rem; }

.bridge__list { list-style: none; margin: 0; padding: 0; }

.bridge__list li {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding-block: 0.75rem;
	font-size: var(--step--1);
	line-height: 1.35;
	color: var(--ink);
}

.bridge__list li + li { border-top: 1px dashed var(--paper-line); }

.bridge__list i {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--paper-2);
	color: var(--navy);
	box-shadow: var(--shadow-sm);
}

.bridge__list i svg { width: 1.15rem; height: 1.15rem; }

/* Núcleo: o cartão "Medical Writer" com as setas de entrada e saída. */
.bridge__core {
	position: relative;
	display: grid;
	place-items: center;
	text-align: center;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--r-lg);
	background: var(--paper-2);
	border: 1px solid var(--paper-line);
	box-shadow: var(--shadow-lg);
	max-width: 20rem;
}

.bridge__core h3 {
	font-size: var(--step-3);
	margin-bottom: 0.35rem;
}

.bridge__core p {
	margin: 0;
	font-size: var(--step--1);
	color: var(--muted);
}

.bridge__arrow {
	position: absolute;
	top: 50%;
	width: 3.5rem;
	height: 2px;
	background: var(--navy);
	transform: translateY(-50%);
}

.bridge__arrow::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -1px;
	width: 0.7rem;
	height: 0.7rem;
	border-top: 2px solid var(--navy);
	border-right: 2px solid var(--navy);
	transform: translateY(-50%) rotate(45deg);
}

.bridge__arrow--in { left: -3.9rem; }
.bridge__arrow--out { right: -3.9rem; }

/* 08. Tipos de conteúdo -------------------------------------------------- */

.types {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: var(--gap);
}

.type-card {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.5rem;
	border-radius: var(--r-lg);
	background: var(--glass);
	-webkit-backdrop-filter: blur(16px) saturate(130%);
	backdrop-filter: blur(16px) saturate(130%);
	border: 1px solid var(--glass-brd);
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.type-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.type-card__icon {
	display: grid;
	place-items: center;
	width: 3.1rem;
	height: 3.1rem;
	border-radius: 50%;
	background: var(--paper-2);
	color: var(--navy);
	box-shadow: var(--shadow-sm);
}

.type-card__icon svg { width: 1.5rem; height: 1.5rem; }

.type-card h3 {
	font-size: var(--step-1);
	margin: 0;
}

.type-card p {
	margin: 0;
	font-size: var(--step--1);
	color: var(--muted);
}

/* Variante escura para quebrar o ritmo da grade */
.type-card--dark {
	background: linear-gradient(150deg, var(--navy-mid), var(--navy-deep));
	border-color: transparent;
}

.type-card--dark h3 { color: var(--paper-2); }
.type-card--dark p { color: rgba(251, 248, 243, 0.82); }
.type-card--dark .type-card__icon { background: rgba(255, 255, 255, 0.14); color: var(--paper-2); }

/* 09. Sobre -------------------------------------------------------------- */

.about__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.about__media {
	position: relative;
	border-radius: var(--r-xl);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background:
		radial-gradient(70% 60% at 30% 20%, rgba(255, 255, 255, 0.9), transparent 65%),
		linear-gradient(160deg, var(--sand-soft), var(--navy-soft));
	box-shadow: var(--shadow-lg);
	display: grid;
	place-items: end center;
}

.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media .hero__portrait { width: 92%; }

.about__badge {
	position: absolute;
	left: 1.15rem;
	bottom: 1.15rem;
	right: 1.15rem;
	padding: 1.1rem 1.25rem;
	border-radius: var(--r-md);
	background: rgba(251, 248, 243, 0.86);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
	backdrop-filter: blur(20px) saturate(140%);
	border: 1px solid var(--glass-brd);
	box-shadow: var(--shadow-md);
}

.about__badge small {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.3rem;
}

.about__badge p {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--step-1);
	line-height: 1.3;
	color: var(--ink-2);
}

.about__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
	margin-top: 1.75rem;
}

.about__contact { display: flex; align-items: center; gap: 0.75rem; }

.about__contact-icon {
	display: grid;
	place-items: center;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	background: var(--paper-2);
	border: 1px solid var(--paper-line);
	color: var(--navy);
}

.about__contact small { display: block; font-size: var(--step--1); color: var(--muted); }
.about__contact b { color: var(--ink-2); font-size: 0.95rem; }

/* 10. Credenciais -------------------------------------------------------- */

.creds {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: var(--gap);
	padding: clamp(1.75rem, 3.5vw, 2.75rem);
	border-radius: var(--r-xl);
	background: linear-gradient(150deg, var(--navy), var(--navy-deep));
	box-shadow: var(--shadow-lg);
	text-align: center;
}

.cred b {
	display: block;
	font-family: var(--font-display);
	font-size: var(--step-4);
	font-weight: 600;
	line-height: 1;
	color: var(--paper-2);
	margin-bottom: 0.35rem;
	font-variant-numeric: tabular-nums;
}

.cred span {
	display: block;
	font-size: var(--step--1);
	line-height: 1.35;
	color: rgba(251, 248, 243, 0.78);
}

/* 11. Grade de artigos --------------------------------------------------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr));
	gap: var(--gap);
}

.post-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--r-lg);
	background: var(--glass);
	-webkit-backdrop-filter: blur(16px) saturate(130%);
	backdrop-filter: blur(16px) saturate(130%);
	border: 1px solid var(--glass-brd);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.post-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(150deg, var(--sand-soft), var(--navy-soft));
}

.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }

.post-card__placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--navy);
	opacity: 0.5;
}

.post-card__placeholder svg { width: 3rem; height: 3rem; }

.post-card__cat {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	padding: 0.3rem 0.8rem;
	border-radius: var(--r-pill);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--navy);
	color: #fff;
	text-decoration: none;
}

.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.7rem;
	padding: 1.3rem;
}

.post-card__title { font-size: var(--step-1); line-height: 1.25; margin: 0; }

.post-card__title a {
	color: var(--ink-2);
	text-decoration: none;
	background-image: linear-gradient(var(--sand), var(--sand));
	background-size: 0 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.3s ease;
}

.post-card__title a:hover { background-size: 100% 2px; }

.post-card__excerpt {
	margin: 0;
	font-size: var(--step--1);
	color: var(--muted);
	flex: 1;
}

.post-card__meta {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding-top: 0.8rem;
	border-top: 1px solid var(--paper-line);
	font-size: 0.78rem;
	color: var(--muted);
}

.post-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

.post-grid--featured .post-card:first-child { grid-column: span 2; flex-direction: row; }
.post-grid--featured .post-card:first-child .post-card__media { flex: 0 0 46%; aspect-ratio: auto; }
.post-grid--featured .post-card:first-child .post-card__body { justify-content: center; padding: 2rem; }
.post-grid--featured .post-card:first-child .post-card__title { font-size: var(--step-2); }

/* 12. Painel de contato -------------------------------------------------- */

.cta-panel {
	position: relative;
	padding: clamp(2.25rem, 5vw, 4rem);
	border-radius: var(--r-xl);
	background: linear-gradient(145deg, var(--navy), var(--navy-deep));
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	text-align: center;
	color: var(--paper-2);
}

.cta-panel::after {
	content: "";
	position: absolute;
	right: -5rem;
	bottom: -7rem;
	width: 20rem;
	height: 20rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(199, 154, 91, 0.3), transparent 66%);
}

.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: var(--paper-2); }
.cta-panel p { color: rgba(251, 248, 243, 0.84); max-width: 44ch; margin-inline: auto; }

.cta-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	justify-content: center;
	max-width: 30rem;
	margin: 2rem auto 0;
}

.cta-form input[type="email"] {
	flex: 1 1 15rem;
	padding: 0.95rem 1.3rem;
	border: 1px solid rgba(251, 248, 243, 0.3);
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: #fff;
	font: inherit;
}

.cta-form input::placeholder { color: rgba(251, 248, 243, 0.7); }
.cta-form .btn { background: var(--paper-2); color: var(--navy); }
.cta-form .btn:hover { background: #fff; color: var(--navy-deep); }

.cta-note { margin: 1rem 0 0; font-size: var(--step--1); color: rgba(251, 248, 243, 0.7); }

/* 13. Artigo individual -------------------------------------------------- */

.entry-hero { padding-block: clamp(2rem, 5vw, 3.25rem) 0; text-align: center; }
.entry-hero .label { margin-bottom: 1.15rem; }
.entry-hero h1 { max-width: 20ch; margin-inline: auto; }

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	margin-top: 1.4rem;
	font-size: var(--step--1);
	color: var(--muted);
}

.entry-meta .avatar { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid var(--paper-2); }
.entry-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

.entry-cover {
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	border-radius: var(--r-xl);
	overflow: hidden;
	aspect-ratio: 21 / 9;
	box-shadow: var(--shadow-lg);
	background: linear-gradient(150deg, var(--sand-soft), var(--navy-soft));
}

.entry-cover img { width: 100%; height: 100%; object-fit: cover; }

.entry-shell {
	max-width: 46rem;
	margin: clamp(2rem, 4vw, 3rem) auto 0;
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: var(--r-xl);
	background: var(--glass);
	-webkit-backdrop-filter: blur(18px) saturate(130%);
	backdrop-filter: blur(18px) saturate(130%);
	border: 1px solid var(--glass-brd);
	box-shadow: var(--shadow-md);
}

/* Texto de leitura: medida controlada, corpo maior, entrelinha generosa. */
.entry-content {
	max-width: var(--wrap-text);
	margin-inline: auto;
	font-size: clamp(1.06rem, 1.02rem + 0.2vw, 1.16rem);
	line-height: 1.75;
	color: var(--ink);
}

.entry-content > * + * { margin-top: 1.3em; }
.entry-content h2 { margin-top: 1.9em; font-size: var(--step-3); }
.entry-content h3 { margin-top: 1.6em; font-size: var(--step-2); }
.entry-content a { font-weight: 500; }
.entry-content img,
.entry-content figure { border-radius: var(--r-md); overflow: hidden; }

.entry-content blockquote {
	margin: 1.9em 0;
	padding: 1.35rem 1.6rem;
	border: 0;
	border-left: 3px solid var(--sand);
	border-radius: var(--r-md);
	background: var(--paper-2);
	font-family: var(--font-display);
	font-size: var(--step-1);
	font-style: italic;
	line-height: 1.5;
	color: var(--ink-2);
}

.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content ul,
.entry-content ol { padding-left: 1.3rem; }
.entry-content li + li { margin-top: 0.45em; }
.entry-content li::marker { color: var(--sand-ink); }

.entry-content code {
	padding: 0.15em 0.45em;
	border-radius: 6px;
	background: var(--paper-3);
	font-size: 0.9em;
}

.entry-content pre {
	padding: 1.2rem;
	border-radius: var(--r-md);
	background: var(--navy-deep);
	color: #e8eef6;
	overflow-x: auto;
}

.entry-content hr { border: 0; height: 1px; background: var(--paper-line); margin: 2.4em 0; }

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	max-width: var(--wrap-text);
	margin: 2.4rem auto 0;
	padding-top: 1.6rem;
	border-top: 1px solid var(--paper-line);
}

.entry-tags a {
	padding: 0.3rem 0.85rem;
	border-radius: var(--r-pill);
	background: var(--paper-3);
	font-size: 0.8rem;
	color: var(--navy);
	text-decoration: none;
}

.entry-tags a:hover { background: var(--sand-soft); color: var(--sand-ink); }

.entry-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: var(--gap);
	margin-top: clamp(2rem, 4vw, 3rem);
}

.entry-nav a {
	display: block;
	padding: 1.15rem 1.4rem;
	border-radius: var(--r-lg);
	background: var(--glass);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border: 1px solid var(--glass-brd);
	box-shadow: var(--shadow-sm);
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry-nav a:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.entry-nav small { display: block; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.3rem; }
.entry-nav b { display: block; color: var(--ink-2); font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.entry-nav .is-next { text-align: right; }

/* 14. Listagens, busca, 404, paginação ---------------------------------- */

.page-hero {
	padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 2.5vw, 2rem);
	text-align: center;
}

.page-hero .lede { max-width: 48ch; margin-inline: auto; }

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.filter-bar a {
	padding: 0.5rem 1.1rem;
	border-radius: var(--r-pill);
	background: var(--glass-strong);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border: 1px solid var(--paper-line);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--ink-2);
	text-decoration: none;
	transition: transform 0.22s ease, background-color 0.22s ease;
}

.filter-bar a:hover { transform: translateY(-2px); }
.filter-bar a.is-active { background: var(--navy); border-color: transparent; color: #fff; }

.search-form { display: flex; gap: 0.5rem; max-width: 28rem; margin-inline: auto; }

.search-form input[type="search"] {
	flex: 1;
	padding: 0.9rem 1.25rem;
	border: 1px solid var(--paper-line);
	border-radius: var(--r-pill);
	background: var(--glass-strong);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	font: inherit;
	color: var(--ink);
}

.pagination { display: flex; justify-content: center; gap: 0.35rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.7rem;
	height: 2.7rem;
	padding-inline: 0.7rem;
	border-radius: var(--r-pill);
	background: var(--glass-strong);
	border: 1px solid var(--paper-line);
	color: var(--ink-2);
	font-weight: 600;
	text-decoration: none;
}

.pagination .page-numbers.current { background: var(--navy); border-color: transparent; color: #fff; }

.empty-state {
	max-width: 32rem;
	margin-inline: auto;
	padding: clamp(2rem, 4vw, 3rem);
	border-radius: var(--r-xl);
	background: var(--glass);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border: 1px solid var(--glass-brd);
	box-shadow: var(--shadow-md);
	text-align: center;
}

.notice-demo {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	max-width: 44rem;
	margin: 0 auto clamp(1.5rem, 3vw, 2rem);
	padding: 0.8rem 1.2rem;
	border-radius: var(--r-pill);
	background: var(--glass-strong);
	border: 1px dashed var(--sand);
	font-size: 0.85rem;
	color: var(--muted);
}

.notice-demo svg { width: 1.05rem; height: 1.05rem; color: var(--sand-ink); flex: 0 0 auto; }

/* 15. Rodapé ------------------------------------------------------------- */

.site-footer {
	margin-top: var(--section-y);
	padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem;
	background: linear-gradient(180deg, transparent, rgba(239, 230, 216, 0.7));
	border-top: 1px solid var(--paper-line);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	margin-bottom: 2.25rem;
}

.footer-grid p { color: var(--muted); max-width: 34ch; font-size: var(--step--1); }

.footer-col h4 {
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.9rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 0.55rem; }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: var(--navy-mid); text-decoration: underline; }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--paper-line);
	font-size: 0.82rem;
	color: var(--muted);
}

.social { display: flex; gap: 0.45rem; }

.social a {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background: var(--paper-2);
	border: 1px solid var(--paper-line);
	color: var(--navy);
	transition: transform 0.22s ease;
}

.social a:hover { transform: translateY(-3px); }
.social svg { width: 1rem; height: 1rem; }

/* 16. Movimento e responsivo -------------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
	.bridge { grid-template-columns: 1fr; justify-items: stretch; }
	.bridge__core { max-width: none; }
	/* No empilhamento, as setas viram verticais entre os blocos. */
	.bridge__arrow { top: auto; left: 50%; width: 2px; height: 2.5rem; transform: translateX(-50%); }
	.bridge__arrow::after { top: auto; right: auto; bottom: -1px; left: 50%; transform: translateX(-50%) rotate(135deg); }
	.bridge__arrow--in { top: -3.2rem; }
	.bridge__arrow--out { bottom: -3.2rem; top: auto; }
}

@media (max-width: 1024px) {
	.hero__grid,
	.about__grid { grid-template-columns: 1fr; }
	.hero__visual { order: -1; }
	.hero__portrait { width: min(78%, 20rem); }
	.float-card--a { left: 0; }
	.float-card--b { right: 0; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.post-grid--featured .post-card:first-child { grid-column: span 1; flex-direction: column; }
	.post-grid--featured .post-card:first-child .post-card__media { flex: none; aspect-ratio: 16 / 10; }
}

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }

	.site-nav {
		position: absolute;
		top: calc(100% + 0.7rem);
		left: 0;
		right: 0;
		padding: 0.9rem;
		border-radius: var(--r-lg);
		background: rgba(251, 248, 243, 0.97);
		-webkit-backdrop-filter: blur(20px);
		backdrop-filter: blur(20px);
		border: 1px solid var(--paper-line);
		box-shadow: var(--shadow-lg);
		display: none;
	}

	.site-nav.is-open { display: block; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
	.nav__list a { padding: 0.7rem 0.9rem; border-radius: var(--r-sm); }
	.nav__list a::after { display: none; }
	.nav__list a:hover { background: var(--paper-3); }

	.nav__list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		background: transparent;
		margin: 0;
		padding-left: 0.7rem;
	}

	.header-bar { position: relative; padding-left: 1rem; }
	.header-cta { display: none; }
}

@media (max-width: 640px) {
	.footer-grid { grid-template-columns: 1fr; }
	.float-card { max-width: 12rem; }
	.hero__proof { gap: 1rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.reveal { opacity: 1; transform: none; }
}
