/* ==========================================================================
   Sistemas Digitais – Prof. José Fernandes
   Tema: Toque Media, Lda
   ========================================================================== */

:root {
	--sd-primary: #F7C51E;
	--sd-dark: #0F1B2D;
	--sd-accent: #2B5C8F;
	--sd-light: #EEF2F7;
	--sd-overlay: .72;

	--sd-text: #2A3647;
	--sd-muted: #5E6B7D;
	--sd-border: #D9E0E8;
	--sd-white: #fff;
	--sd-radius: 6px;
	--sd-container: 1180px;
	--sd-gutter: 24px;
	--sd-card-w: 340px;
	--sd-font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--sd-shadow: 0 18px 50px rgba(8, 18, 34, .22);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--sd-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--sd-text);
	background: var(--sd-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--sd-accent); }
a:hover { color: var(--sd-dark); }
h1, h2, h3, h4 { color: var(--sd-dark); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--sd-primary); outline-offset: 2px; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sd-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
	background: var(--sd-primary); color: var(--sd-dark); font-weight: 700; border-radius: 4px; text-decoration: none;
}
.sd-skip:focus { top: 12px; }

.sd-container {
	width: 100%;
	max-width: calc(var(--sd-container) + var(--sd-gutter) * 2);
	margin: 0 auto;
	padding-left: var(--sd-gutter);
	padding-right: var(--sd-gutter);
}
.sd-icon { width: 1em; height: 1em; flex-shrink: 0; }

/* ---------- Botões ---------- */
.sd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 22px; border: 2px solid transparent; border-radius: 5px;
	font-size: 14px; font-weight: 800; letter-spacing: .03em; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s, color .15s;
}
.sd-btn .sd-icon { width: 18px; height: 18px; }
.sd-btn:hover { transform: translateY(-1px); }
.sd-btn--primary { background: var(--sd-primary); color: var(--sd-dark); box-shadow: 0 6px 18px rgba(247, 197, 30, .28); }
.sd-btn--primary:hover { color: var(--sd-dark); filter: brightness(1.05); }
.sd-btn--dark { background: var(--sd-dark); color: #fff; }
.sd-btn--dark:hover { color: #fff; background: #000; }
.sd-btn--outline { background: transparent; border-color: var(--sd-dark); color: var(--sd-dark); padding: 11px 20px; font-size: 13px; }
.sd-btn--outline:hover { background: var(--sd-dark); color: #fff; }
.sd-btn--lg { padding: 17px 28px; font-size: 15px; }
.sd-btn--block { width: 100%; }
.sd-btn[disabled] { opacity: .7; cursor: wait; transform: none; }

.sd-eyebrow {
	color: var(--sd-primary); font-size: 14px; font-weight: 800; letter-spacing: .14em;
	text-transform: uppercase; margin: 0 0 10px;
}
.sd-h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 14px; }
.sd-h3 { font-size: clamp(20px, 2vw, 24px); margin-bottom: 18px; }
.sd-text p { color: var(--sd-text); font-size: 15.5px; }
.sd-text p:last-child { margin-bottom: 0; }

/* ---------- Cabeçalho ---------- */
.sd-header { position: relative; z-index: 20; background: var(--sd-dark); }
.sd-landing .sd-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.sd-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.sd-header__right { display: flex; align-items: center; gap: 28px; }
.sd-header__tagline { margin: 0; color: #fff; font-size: 14px; font-weight: 500; opacity: .95; }

.sd-logo { display: inline-flex; flex-direction: column; color: #fff; text-decoration: none; line-height: 1.1; }
.sd-logo:hover { color: #fff; }
.sd-logo__line1 { font-size: 20px; font-weight: 900; letter-spacing: .02em; }
.sd-logo__line2 { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; margin-top: 3px; opacity: .9; }
.sd-logo__img { max-height: 56px; width: auto; }

.sd-nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.sd-nav__list a { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.sd-nav__list a:hover { color: var(--sd-primary); }
.sd-nav__list .sub-menu { display: none; }
.sd-menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.sd-menu-toggle .sd-icon { width: 28px; height: 28px; }
.sd-menu-toggle__close { display: none; }

/* ---------- Hero ---------- */
.sd-hero {
	position: relative;
	background-color: var(--sd-dark);
	background-image: url("../img/circuit.svg");
	background-size: cover;
	background-position: center right;
	color: #fff;
	padding: 118px 0 44px;
}
.sd-hero.has-image { background-position: center; }
.sd-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(10, 18, 32, .95) 0%, rgba(10, 18, 32, .75) 45%, rgba(10, 18, 32, .35) 100%);
	background: linear-gradient(90deg, var(--sd-dark) 20%, color-mix(in srgb, var(--sd-dark) 55%, transparent) 60%, color-mix(in srgb, var(--sd-dark) 25%, transparent) 100%);
	opacity: var(--sd-overlay);
}
.sd-hero:not(.has-image)::before { opacity: .7; }
.sd-hero__grid {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: minmax(0, 1fr) var(--sd-card-w); gap: 56px; align-items: start;
}
.sd-hero__content { padding-top: 8px; min-width: 0; }
.sd-hero__title { color: #fff; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.01em; margin-bottom: 16px; }
.sd-hero__subtitle { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: rgba(255, 255, 255, .92); margin-bottom: 34px; max-width: 560px; }

.sd-info { display: flex; flex-wrap: wrap; row-gap: 16px; list-style: none; margin: 0 0 34px; padding: 0; }
@media (min-width: 981px) { .sd-hero .sd-info { flex-wrap: nowrap; } }
.sd-info__item { display: flex; align-items: flex-start; gap: 10px; padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, .22); }
.sd-info__item:first-child { padding-left: 0; border-left: 0; }
.sd-info__icon { width: 26px; height: 26px; color: var(--sd-primary); margin-top: 2px; }
.sd-info__text { display: flex; flex-direction: column; line-height: 1.3; }
.sd-info__label { font-size: 13px; font-weight: 700; color: #fff; }
.sd-info__value { font-size: 13px; color: rgba(255, 255, 255, .82); white-space: nowrap; }

/* ---------- Cartão de inscrição ---------- */
.sd-card {
	position: relative; z-index: 5;
	background: #fff; color: var(--sd-text);
	border-radius: var(--sd-radius); box-shadow: var(--sd-shadow);
	padding: 24px 22px 20px;
	margin-top: -52px;
	margin-bottom: -110px;
	scroll-margin-top: 24px;
}
.no-overlap .sd-card { margin-bottom: 0; }
.sd-card__label { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--sd-dark); margin: 0; text-transform: uppercase; }
.sd-card__price { font-size: 30px; font-weight: 900; color: var(--sd-dark); line-height: 1.1; margin: 2px 0 2px; letter-spacing: -.01em; }
.sd-card__sub { font-size: 13px; color: var(--sd-accent); margin: 0 0 16px; }
.sd-card__spots { display: inline-block; font-size: 12px; font-weight: 700; color: var(--sd-dark); background: color-mix(in srgb, var(--sd-primary) 30%, #fff); padding: 3px 10px; border-radius: 20px; margin: -6px 0 14px; }

.sd-form__alert { background: #FDECEC; color: #8A1F1F; border-radius: 4px; padding: 10px 12px; font-size: 13px; margin-bottom: 12px; }
.sd-field { position: relative; margin-bottom: 10px; }
.sd-field input[type="text"], .sd-field input[type="email"], .sd-field input[type="tel"], .sd-field select {
	width: 100%; height: 44px; padding: 10px 12px;
	border: 1px solid var(--sd-border); border-radius: 4px; background: #fff;
	font-size: 14px; color: var(--sd-dark); transition: border-color .15s, box-shadow .15s;
}
.sd-field input::placeholder { color: #7C8797; font-size: 13px; }
.sd-field input:focus, .sd-field select:focus { outline: none; border-color: var(--sd-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sd-accent) 18%, transparent); }
.sd-field [aria-invalid="true"] { border-color: #C0392B !important; }
.sd-field__error { display: block; color: #B3261E; font-size: 12px; margin-top: 4px; }
.sd-field--select .sd-field__label { position: absolute; left: 13px; top: 6px; font-size: 10.5px; color: #7C8797; pointer-events: none; }
.sd-field--select select { height: 52px; padding: 20px 34px 4px 12px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.sd-field__chevron { position: absolute; right: 12px; top: 18px; width: 16px; height: 16px; color: var(--sd-dark); pointer-events: none; }
.sd-form__total { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 10px; font-size: 13px; color: var(--sd-muted); }
.sd-form__total strong { font-size: 16px; color: var(--sd-dark); }
.sd-field--check { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; margin: 4px 0 16px; }
.sd-field--check input { width: 15px; height: 15px; margin: 3px 0 0; accent-color: var(--sd-accent); flex-shrink: 0; }
.sd-field--check label { flex: 1; font-size: 12px; color: var(--sd-accent); line-height: 1.45; }
.sd-field--check .sd-field__error { flex-basis: 100%; }
.sd-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sd-form__note { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 11.5px; color: var(--sd-accent); }
.sd-form__note .sd-icon { width: 14px; height: 14px; color: var(--sd-dark); }

.sd-success { text-align: center; padding: 8px 0 4px; outline: none; }
.sd-success__icon { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--sd-primary); color: var(--sd-dark); stroke-width: 2.4; margin-bottom: 10px; }
.sd-success__msg { font-weight: 700; color: var(--sd-dark); font-size: 15px; }
.sd-success__pay { text-align: left; font-size: 13px; line-height: 1.55; background: var(--sd-light); border-left: 3px solid var(--sd-primary); padding: 12px 14px; border-radius: 4px; word-break: break-word; }
.sd-closed { background: var(--sd-light); border-radius: 4px; padding: 16px; font-weight: 600; color: var(--sd-dark); font-size: 14px; }
.sd-closed p { margin: 0; }

/* ---------- Secções ---------- */
.sd-section { padding: 64px 0; }

/* Sobre a aula */
.sd-sobre { padding-top: 84px; }
.sd-sobre__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 56px; }
.sd-sobre__learn { border-left: 1px solid var(--sd-border); padding-left: 56px; }
.sd-sobre__highlight { font-weight: 800; color: var(--sd-accent); font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.sd-benefits { display: flex; flex-wrap: wrap; list-style: none; margin: 28px 0 0; padding: 0; }
.sd-benefits__item { display: flex; align-items: center; gap: 12px; padding: 4px 20px; border-left: 1px solid var(--sd-border); font-size: 12.5px; color: var(--sd-accent); line-height: 1.35; }
.sd-benefits__item:first-child { padding-left: 0; border-left: 0; }
.sd-benefits__item .sd-icon { width: 30px; height: 30px; color: var(--sd-dark); }
.sd-checklist { list-style: none; margin: 0; padding: 0; }
.sd-checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--sd-accent); margin-bottom: 18px; line-height: 1.45; }
.sd-checklist .sd-icon { width: 20px; height: 20px; color: var(--sd-primary); stroke-width: 3; margin-top: 1px; }

/* Autor */
.sd-autor { background: var(--sd-light); }
.sd-autor__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }
.sd-autor__content { max-width: 720px; }
.sd-autor__photo { margin: 0; border-radius: var(--sd-radius); overflow: hidden; background: #d9e0e8; aspect-ratio: 1 / 1.02; }
.sd-autor__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-autor__name { font-size: 22px; font-weight: 800; color: var(--sd-dark); margin: 0 0 2px; }
.sd-autor__role { font-size: 14px; font-weight: 700; color: var(--sd-accent); margin: 0 0 18px; }
.sd-autor__more { margin-top: 1em; }
.sd-autor .sd-btn { margin-top: 24px; }
.sd-autor .sd-btn[aria-expanded="true"] .sd-icon { transform: rotate(-90deg); }

/* Para quem */
.sd-publico { padding: 48px 0 56px; }
.sd-publico .sd-h2 { margin-bottom: 4px; }
.sd-publico__sub { color: var(--sd-accent); margin-bottom: 30px; }
.sd-publico__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.sd-publico__item { display: flex; align-items: center; gap: 18px; padding: 6px 24px; border-left: 1px solid var(--sd-border); font-size: 14.5px; color: var(--sd-accent); line-height: 1.45; }
.sd-publico__item:first-child { padding-left: 0; border-left: 0; }
.sd-publico__item .sd-icon { width: 36px; height: 36px; color: var(--sd-dark); }

/* Bloco inscrições + FAQ */
.sd-bloco { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--sd-border); }
.sd-bloco__media {
	position: relative; color: #fff;
	background-color: var(--sd-dark); background-image: url("../img/circuit.svg");
	background-size: cover; background-position: center;
}
.sd-bloco__media::before { content: ""; position: absolute; inset: 0; background: var(--sd-dark); opacity: .72; }
.sd-bloco__media:not(.has-image)::before { opacity: .5; }
.sd-bloco__media .sd-bloco__inner { position: relative; z-index: 1; }
.sd-bloco__inner { padding: 52px 64px 44px max(var(--sd-gutter), calc((100vw - var(--sd-container)) / 2)); }
.sd-bloco__faq .sd-bloco__inner { padding: 52px max(var(--sd-gutter), calc((100vw - var(--sd-container)) / 2)) 52px 64px; }
.sd-bloco__title { color: #fff; font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 8px; }
.sd-bloco__text { color: rgba(255, 255, 255, .9); font-size: 16px; margin-bottom: 28px; }
.sd-bloco .sd-info { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.sd-bloco__price { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.sd-bloco__price p { margin: 0; }
.sd-bloco__value-label { font-size: 14px; font-weight: 700; }
.sd-bloco__value { font-size: 30px; font-weight: 900; line-height: 1.15; }
.sd-bloco__value-sub { font-size: 14px; opacity: .9; }
.sd-bloco__badge { display: flex; align-items: center; gap: 10px; font-size: 12.5px; line-height: 1.35; }
.sd-bloco__badge .sd-icon { width: 26px; height: 26px; color: var(--sd-primary); }

.sd-faq__item { border: 1px solid var(--sd-border); border-radius: 4px; margin-bottom: 8px; background: #fff; }
.sd-faq__item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 12px 14px; cursor: pointer; list-style: none; font-size: 14.5px; color: var(--sd-accent); font-weight: 500;
}
.sd-faq__item summary::-webkit-details-marker { display: none; }
.sd-faq__item summary .sd-icon { width: 16px; height: 16px; color: var(--sd-dark); transition: transform .2s; }
.sd-faq__item[open] summary { color: var(--sd-dark); font-weight: 700; }
.sd-faq__item[open] summary .sd-icon { transform: rotate(180deg); }
.sd-faq__answer { padding: 0 14px 14px; font-size: 14.5px; color: var(--sd-text); }
.sd-faq__answer p:last-child { margin-bottom: 0; }

/* CTA */
.sd-cta { position: relative; background: var(--sd-primary); text-align: center; padding: 40px 0 44px; overflow: hidden; }
.sd-cta::after {
	content: ""; position: absolute; right: -40px; top: -30px; width: 360px; height: 220px; opacity: .12;
	background: url("../img/circuit-dark.svg") no-repeat center / contain; pointer-events: none;
}
.sd-cta .sd-container { position: relative; z-index: 1; }
.sd-cta__title { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 4px; }
.sd-cta__text { color: var(--sd-dark); font-size: 15.5px; margin-bottom: 20px; }

/* Rodapé */
.sd-footer { background: var(--sd-dark); color: rgba(255, 255, 255, .8); padding: 30px 0 22px; }
.sd-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.sd-footer__contacts, .sd-footer__social { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.sd-footer__contacts { gap: 30px; }
.sd-footer__contacts a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 14px; }
.sd-footer__contacts a:hover { color: var(--sd-primary); }
.sd-footer__contacts .sd-icon { width: 22px; height: 22px; }
.sd-footer__social { gap: 18px; }
.sd-footer__social a { color: #fff; display: inline-flex; }
.sd-footer__social a:hover { color: var(--sd-primary); }
.sd-footer__social .sd-icon { width: 21px; height: 21px; }
.sd-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); font-size: 14px; }
.sd-footer__widgets a { color: #fff; }
.sd-widget__title { color: #fff; font-size: 15px; margin-bottom: 10px; }
.sd-widget ul { list-style: none; margin: 0; padding: 0; }
.sd-footer__bottom { text-align: center; padding-top: 18px; font-size: 12.5px; }
.sd-footer__bottom p { margin: 0 0 4px; }
.sd-footer__credit { opacity: .6; font-size: 11.5px; }
.sd-footer__nav ul { display: flex; justify-content: center; gap: 18px; list-style: none; margin: 0 0 10px; padding: 0; }
.sd-footer__nav a { color: rgba(255, 255, 255, .8); text-decoration: none; }

/* ---------- Páginas interiores ---------- */
.sd-page-hero {
	background-color: var(--sd-dark); background-image: url("../img/circuit.svg"); background-size: cover; background-position: right center;
	padding: 56px 0; color: #fff;
}
.sd-page-hero__title { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 0; }
.sd-page-hero__meta { color: var(--sd-primary); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.sd-page-hero__meta a { color: inherit; }
.sd-content-area { padding-top: 48px; padding-bottom: 72px; max-width: calc(820px + var(--sd-gutter) * 2); }
.sd-entry__thumb { margin: 0 0 28px; }
.sd-entry__thumb img { border-radius: var(--sd-radius); }
.sd-entry__content { font-size: 17px; }
.sd-entry__content h2 { font-size: 24px; margin-top: 1.6em; }
.sd-entry__content h3 { font-size: 20px; margin-top: 1.4em; }
.sd-entry__content img { border-radius: 4px; }
.sd-entry__content blockquote { border-left: 4px solid var(--sd-primary); margin: 1.5em 0; padding: 4px 0 4px 20px; font-style: italic; }
.sd-posts { display: grid; gap: 28px; }
.sd-post-card { display: grid; grid-template-columns: 240px 1fr; gap: 24px; border-bottom: 1px solid var(--sd-border); padding-bottom: 28px; }
.sd-post-card:not(.has-post-thumbnail) { grid-template-columns: 1fr; }
.sd-post-card__thumb img { border-radius: var(--sd-radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.sd-post-card__meta { font-size: 13px; color: var(--sd-muted); margin: 0 0 4px; }
.sd-post-card__title { font-size: 22px; margin-bottom: 8px; }
.sd-post-card__title a { color: var(--sd-dark); text-decoration: none; }
.sd-post-card__title a:hover { color: var(--sd-accent); }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.nav-links a, .nav-links span { padding: 8px 14px; border: 1px solid var(--sd-border); border-radius: 4px; text-decoration: none; }
.nav-links .current { background: var(--sd-dark); color: #fff; border-color: var(--sd-dark); }
.post-navigation .nav-links { justify-content: space-between; }
.sd-comments { margin-top: 48px; }
.sd-comments__list { padding-left: 0; list-style: none; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea, .search-form input[type="search"] {
	width: 100%; padding: 10px 12px; border: 1px solid var(--sd-border); border-radius: 4px;
}
.comment-form .submit, .search-form .search-submit {
	background: var(--sd-primary); color: var(--sd-dark); border: 0; padding: 12px 22px; border-radius: 5px; font-weight: 800; cursor: pointer;
}
.search-form { display: flex; gap: 8px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--sd-muted); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1140px) {
	:root { --sd-card-w: 320px; }
	.sd-hero__grid { gap: 36px; }
	.sd-info__item { padding: 0 12px; }
	.sd-sobre__grid { gap: 0 32px; }
	.sd-sobre__learn { padding-left: 32px; }
	.sd-info__item { padding: 0 10px; }
	.sd-info__label, .sd-info__value { font-size: 12px; }
	.sd-bloco__inner { padding-right: 40px; }
	.sd-bloco__faq .sd-bloco__inner { padding-left: 40px; }
}

@media (max-width: 980px) {
	.sd-landing .sd-header { position: relative; background: var(--sd-dark); }
	.sd-hero { padding: 48px 0 56px; }
	.sd-hero__grid { grid-template-columns: 1fr; }
	.sd-hero__content { max-width: none; }
	.sd-card { margin: 8px auto 0; max-width: 520px; width: 100%; }
	.sd-sobre { padding-top: 56px; }
	.sd-sobre__grid { grid-template-columns: 1fr; gap: 40px; }
	.sd-sobre__learn { border-left: 0; padding-left: 0; border-top: 1px solid var(--sd-border); padding-top: 36px; }
	.sd-autor__grid { grid-template-columns: 240px 1fr; gap: 28px; }
	.sd-publico__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
	.sd-publico__item:nth-child(3) { padding-left: 0; border-left: 0; }
	.sd-bloco { grid-template-columns: 1fr; }
	.sd-bloco__inner, .sd-bloco__faq .sd-bloco__inner { padding: 48px var(--sd-gutter); max-width: calc(760px + var(--sd-gutter) * 2); margin: 0 auto; }

	.sd-menu-toggle { display: inline-flex; }
	.sd-menu-toggle[aria-expanded="true"] .sd-menu-toggle__open { display: none; }
	.sd-menu-toggle[aria-expanded="true"] .sd-menu-toggle__close { display: block; }
	.sd-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--sd-dark); padding: 8px var(--sd-gutter) 20px; border-top: 1px solid rgba(255,255,255,.1); }
	.sd-nav.is-open { display: block; }
	.sd-nav__list { flex-direction: column; gap: 0; }
	.sd-nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
	.sd-nav__list .sub-menu { display: block; padding-left: 16px; list-style: none; }
	.sd-header__right { gap: 12px; }
	.sd-header__right .sd-header__tagline { display: none; }
}

@media (max-width: 640px) {
	:root { --sd-gutter: 18px; }
	body { font-size: 15.5px; }
	.sd-header__inner { padding-top: 16px; padding-bottom: 16px; }
	.sd-logo__line1 { font-size: 17px; }
	.sd-hero { padding: 36px 0 44px; }
	.sd-info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
	.sd-info__item, .sd-info__item:first-child { padding: 0; border-left: 0; }
	.sd-btn--lg { width: 100%; }
	.sd-card { padding: 22px 18px 18px; }
	.sd-section { padding: 48px 0; }
	.sd-benefits { display: grid; gap: 16px; }
	.sd-benefits__item, .sd-benefits__item:first-child { padding: 0; border-left: 0; }
	.sd-autor__grid { grid-template-columns: 1fr; }
	.sd-autor__photo { max-width: 300px; }
	.sd-autor .sd-btn { width: 100%; }
	.sd-publico__list { grid-template-columns: 1fr; gap: 18px; }
	.sd-publico__item, .sd-publico__item:first-child { padding: 0; border-left: 0; }
	.sd-bloco__price { align-items: flex-start; flex-direction: column; }
	.sd-cta .sd-btn { width: 100%; }
	.sd-footer__top { flex-direction: column; align-items: flex-start; }
	.sd-footer__contacts { flex-direction: column; align-items: flex-start; gap: 12px; }
	.sd-post-card { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Área do Professor
   ========================================================================== */

/* ---------- Navegação ---------- */
.sd-header__right { gap: 30px; }
.sd-nav__list { gap: 26px; }
.sd-nav__list > li { position: relative; }
.sd-nav__list a { display: inline-block; padding: 6px 0; font-size: 14.5px; border-bottom: 2px solid transparent; }
.sd-nav__list .current-menu-item > a,
.sd-nav__list .current_page_item > a,
.sd-nav__list .current_page_parent > a,
.sd-nav__list .current-menu-ancestor > a { color: var(--sd-primary); border-bottom-color: var(--sd-primary); }
@media (min-width: 981px) {
	.sd-nav__list .sub-menu {
		display: block; position: absolute; top: 100%; left: -14px; min-width: 220px; padding: 8px 0; margin: 0;
		list-style: none; background: var(--sd-dark); border-radius: 0 0 6px 6px; box-shadow: var(--sd-shadow);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s;
	}
	.sd-nav__list li:hover > .sub-menu, .sd-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.sd-nav__list .sub-menu a { display: block; padding: 8px 16px; border: 0; }
}
/* Página da aula: o cartão começa abaixo do cabeçalho. */
@media (min-width: 981px) { .sd-event .sd-card { margin-top: -8px; } }

/* ---------- Elementos comuns ---------- */
.sd-btn--sm { padding: 10px 16px; font-size: 13px; }
.sd-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.sd-btn--ghost:hover { color: var(--sd-dark); background: #fff; border-color: #fff; }
.sd-textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--sd-accent); text-decoration: none; }
.sd-textlink .sd-icon { width: 18px; height: 18px; transition: transform .15s; }
.sd-textlink:hover { color: var(--sd-dark); }
.sd-textlink:hover .sd-icon { transform: translateX(3px); }

.sd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 8px; font-size: 13px; color: var(--sd-muted); }
.sd-meta .sd-tag { margin-right: -6px; }
.sd-meta__cat { color: var(--sd-accent); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.sd-meta__cat:hover { color: var(--sd-dark); }
.sd-meta--light { color: rgba(255, 255, 255, .78); }
.sd-meta--light .sd-meta__cat { color: var(--sd-primary); }
.sd-tag { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.sd-tag--featured { background: var(--sd-primary); color: var(--sd-dark); }
.sd-tag--past { background: #E4E8EE; color: #5E6B7D; }

.sd-thumb-empty {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%;
	background: var(--sd-dark) url("../img/circuit.svg") center / cover; color: rgba(255, 255, 255, .85);
	font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 16px;
}
.sd-thumb-empty .sd-icon { width: 38px; height: 38px; color: var(--sd-primary); }

.sd-admin-hint { background: #FFFBEA; border: 1px dashed #E2C35A; border-radius: 6px; padding: 14px 16px; font-size: 14px; color: #5B4A0C; }
.sd-admin-hint small { color: #8C7A3A; }

.sd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sd-grid + .sd-groupttl { margin-top: 48px; }
.sd-groupttl { display: flex; align-items: center; gap: 16px; font-size: 18px; margin: 8px 0 20px; }
.sd-groupttl::after { content: ""; flex: 1; height: 1px; background: var(--sd-border); }

/* ---------- Apresentação (início) ---------- */
.sd-phero {
	position: relative; color: #fff; background: var(--sd-dark) url("../img/circuit.svg") right center / cover;
	padding: 132px 0 84px; overflow: hidden;
}
.sd-phero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sd-dark) 30%, color-mix(in srgb, var(--sd-dark) 40%, transparent)); opacity: .9; }
.sd-phero.has-image { background-position: center; }
.sd-phero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: center; }
.sd-phero__name { color: #fff; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.015em; margin-bottom: 14px; }
.sd-phero__special { font-size: 17px; font-weight: 700; color: color-mix(in srgb, var(--sd-primary) 55%, #fff); margin-bottom: 18px; }
.sd-phero__intro p { font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 600px; margin-bottom: 30px; }
.sd-phero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sd-phero__photo { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 400px; }
.sd-phero__photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--sd-primary); border-radius: var(--sd-radius); }
.sd-phero__photo img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--sd-radius); background: #d9e0e8; box-shadow: var(--sd-shadow); }

.sd-eventbar { background: color-mix(in srgb, var(--sd-primary) 16%, #fff); border-bottom: 1px solid color-mix(in srgb, var(--sd-primary) 45%, #fff); }
.sd-eventbar__inner { display: flex; align-items: center; gap: 20px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.sd-eventbar__label { background: var(--sd-dark); color: var(--sd-primary); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.sd-eventbar__text { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin: 0; flex: 1; font-size: 14.5px; color: var(--sd-text); }
.sd-eventbar__text strong { color: var(--sd-dark); font-size: 15.5px; }
.sd-eventbar__text span { display: inline-flex; align-items: center; gap: 6px; }
.sd-eventbar__text .sd-icon { width: 17px; height: 17px; color: var(--sd-accent); }
.sd-eventbar .sd-textlink { color: var(--sd-dark); }

/* ---------- Secções do início ---------- */
.sd-hsec { padding: 72px 0; }
.sd-hsec--light { background: var(--sd-light); }
.sd-hsec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.sd-hsec__head .sd-h2 { margin: 0; }

/* Cartões de artigo */
.sd-pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.sd-pcard:hover { box-shadow: 0 14px 34px rgba(15, 27, 45, .1); border-color: #C9D3DF; }
.sd-pcard.is-featured { box-shadow: inset 0 3px 0 var(--sd-primary); }
.sd-pcard.is-featured:hover { box-shadow: inset 0 3px 0 var(--sd-primary), 0 14px 34px rgba(15, 27, 45, .1); }
.sd-pcard__media { display: block; aspect-ratio: 16 / 10; background: var(--sd-dark); overflow: hidden; }
.sd-pcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sd-pcard:hover .sd-pcard__media img { transform: scale(1.03); }
.sd-pcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.sd-pcard__title { font-size: 19px; line-height: 1.3; margin: 0 0 10px; }
.sd-pcard__title a { color: var(--sd-dark); text-decoration: none; }
.sd-pcard__title a:hover { color: var(--sd-accent); }
.sd-pcard__excerpt { font-size: 14.5px; color: var(--sd-text); line-height: 1.55; margin-bottom: 16px; }
.sd-pcard .sd-textlink { margin-top: auto; }
.sd-pcard--plain .sd-pcard__body { padding: 22px; }

.sd-feature { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sd-feature--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-auto-rows: auto; }
.sd-feature--split .sd-pcard--large { grid-row: span 2; }
.sd-pcard--large .sd-pcard__media { aspect-ratio: 16 / 9; }
.sd-pcard--large .sd-pcard__title { font-size: clamp(22px, 2.2vw, 28px); }
.sd-pcard--large .sd-pcard__body { padding: 26px 28px 28px; }
.sd-pcard--side { flex-direction: row; }
.sd-pcard--side .sd-pcard__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 100%; }
.sd-pcard--side .sd-pcard__body { padding: 18px 20px; }
.sd-pcard--side .sd-pcard__title { font-size: 17.5px; }
.sd-pcard--side .sd-pcard__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; margin-bottom: 12px; }
.sd-feature > .sd-pcard--side:nth-child(n+4) { display: none; }

/* Cartões de curso */
.sd-ccard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius); overflow: hidden; scroll-margin-top: 90px; transition: box-shadow .2s; }
.sd-ccard:hover { box-shadow: 0 14px 34px rgba(15, 27, 45, .1); }
.sd-ccard.is-featured:not(.is-past) { border-color: color-mix(in srgb, var(--sd-primary) 70%, #fff); box-shadow: inset 0 3px 0 var(--sd-primary); }
.sd-ccard__media { position: relative; aspect-ratio: 16 / 10; background: var(--sd-dark); }
.sd-ccard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-ccard__date {
	position: absolute; left: 16px; top: 16px; display: flex; flex-direction: column; align-items: center; min-width: 58px;
	padding: 7px 8px 6px; background: #fff; border-radius: 5px; box-shadow: 0 6px 18px rgba(8, 18, 34, .25); line-height: 1; color: var(--sd-dark);
	border-top: 4px solid var(--sd-primary);
}
.sd-ccard__day { font-size: 24px; font-weight: 900; }
.sd-ccard__month { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.sd-ccard__year { font-size: 10.5px; color: var(--sd-muted); margin-top: 2px; }
.sd-ccard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.sd-ccard__title { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.sd-ccard__when { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--sd-muted); margin: 0 0 16px; }
.sd-ccard__when .sd-icon { width: 16px; height: 16px; color: var(--sd-accent); }
.sd-ccard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--sd-border); }
.sd-price { font-size: 18px; font-weight: 900; color: var(--sd-dark); }
.sd-price.is-free { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #17653A; background: #E2F3E7; padding: 5px 10px; border-radius: 3px; }
.sd-ccard .sd-btn--sm { margin-left: auto; }
.sd-ccard.is-past .sd-ccard__media img { filter: grayscale(.65); opacity: .85; }
.sd-ccard.is-past .sd-ccard__date { border-top-color: #A3AEBC; }
.sd-ccard.is-past .sd-price:not(.is-free) { color: var(--sd-muted); }

/* Áreas de especialização */
.sd-areas { position: relative; background: var(--sd-dark) url("../img/circuit.svg") center / cover; color: #fff; padding: 76px 0; }
.sd-areas::before { content: ""; position: absolute; inset: 0; background: var(--sd-dark); opacity: .88; }
.sd-areas .sd-container { position: relative; }
.sd-areas .sd-h2 { color: #fff; margin-bottom: 34px; }
.sd-areas__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; list-style: none; margin: 0; padding: 0; counter-reset: sdarea; }
.sd-areas__item { counter-increment: sdarea; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 22px; position: relative; }
.sd-areas__item::before { content: counter(sdarea, decimal-leading-zero); position: absolute; top: -12px; right: 0; background: var(--sd-dark); padding-left: 10px; font-size: 13px; font-weight: 800; color: var(--sd-primary); letter-spacing: .08em; }
.sd-areas__icon { width: 32px; height: 32px; color: var(--sd-primary); margin-bottom: 14px; }
.sd-areas__title { color: #fff; font-size: 19px; margin-bottom: 8px; }
.sd-areas__desc { font-size: 14.5px; color: rgba(255, 255, 255, .76); line-height: 1.55; }
.sd-areas__links { display: flex; gap: 16px; flex-wrap: wrap; margin: 0; }
.sd-areas__links a { color: var(--sd-primary); font-size: 13px; font-weight: 800; text-decoration: none; letter-spacing: .03em; }
.sd-areas__links a::after { content: " →"; }
.sd-areas__links a:hover { color: #fff; }

/* Recursos */
.sd-reslist { border-top: 1px solid var(--sd-border); }
.sd-reslist--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
.sd-reslist--cols .sd-res:nth-child(-n+2) { border-top: 1px solid var(--sd-border); }
.sd-res { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--sd-border); }
.sd-res__icon { width: 56px; height: 56px; border-radius: var(--sd-radius); background: var(--sd-light); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--sd-accent); }
.sd-res__icon .sd-icon { width: 28px; height: 28px; }
.sd-res__icon img { width: 100%; height: 100%; object-fit: cover; }
.sd-res__body .sd-meta { margin-bottom: 4px; font-size: 12.5px; }
.sd-res__title { font-size: 17px; margin: 0 0 4px; line-height: 1.35; }
.sd-res__title a { color: var(--sd-dark); text-decoration: none; }
.sd-res__title a:hover { color: var(--sd-accent); }
.sd-res__desc { margin: 0; font-size: 14px; color: var(--sd-text); }
.sd-res__action { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.sd-res__action .sd-btn .sd-icon { width: 16px; height: 16px; }
.sd-res__size { font-size: 12px; color: var(--sd-muted); }
.sd-reslist--cols .sd-res__desc, .sd-reslist--cols .sd-res .sd-meta time { display: none; }

.sd-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.sd-cta .sd-btn--outline:hover { background: var(--sd-dark); color: #fff; }

/* ---------- Listagens ---------- */
.sd-page-hero__intro { color: rgba(255, 255, 255, .85); font-size: 17px; max-width: 680px; margin: 12px 0 0; }
.sd-page-hero .sd-eyebrow { margin-bottom: 8px; }
.sd-listing { padding-top: 36px; padding-bottom: 80px; }
.sd-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; margin-bottom: 32px; background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius); box-shadow: 0 4px 14px rgba(15, 27, 45, .04); }
.sd-filters__search { position: relative; flex: 1 1 260px; }
.sd-filters__search .sd-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--sd-muted); pointer-events: none; }
.sd-filters input[type="search"], .sd-filters select {
	width: 100%; height: 42px; border: 1px solid var(--sd-border); border-radius: 4px; background: #fff; color: var(--sd-dark); font-size: 14px;
}
.sd-filters input[type="search"] { padding: 8px 12px 8px 38px; }
.sd-filters select { padding: 8px 34px 8px 12px; appearance: none; -webkit-appearance: none; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1B2D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
.sd-filters input:focus, .sd-filters select:focus { outline: none; border-color: var(--sd-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sd-accent) 18%, transparent); }
.sd-filters__field { flex: 0 1 230px; }
.sd-filters .sd-btn { height: 42px; }
.sd-filters__clear { font-size: 13.5px; font-weight: 700; color: var(--sd-muted); }
.sd-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--sd-light); border-radius: 6px; margin-right: auto; }
.sd-tabs__tab { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 4px; font-size: 14px; font-weight: 700; color: var(--sd-dark); text-decoration: none; }
.sd-tabs__tab span { font-size: 11.5px; background: #fff; color: var(--sd-muted); padding: 1px 7px; border-radius: 10px; }
.sd-tabs__tab:hover { color: var(--sd-accent); }
.sd-tabs__tab.is-active { background: var(--sd-dark); color: #fff; }
.sd-tabs__tab.is-active span { background: var(--sd-primary); color: var(--sd-dark); }
.sd-results-count { color: var(--sd-muted); font-size: 14px; margin: -12px 0 20px; }
.sd-empty { text-align: center; padding: 56px 24px; border: 1px dashed #C6D0DC; border-radius: var(--sd-radius); color: var(--sd-muted); }
.sd-empty > .sd-icon { width: 40px; height: 40px; color: #A3AEBC; margin-bottom: 8px; }
.sd-empty p { font-size: 16px; }

.pagination { margin-top: 44px; }
.pagination .nav-links { justify-content: center; gap: 6px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; color: var(--sd-dark); font-weight: 700; }
.pagination .page-numbers .sd-icon { width: 18px; height: 18px; }
.pagination a.page-numbers:hover { border-color: var(--sd-dark); }
.pagination .dots { border: 0; }

/* ---------- Artigo ---------- */
.sd-article__narrow { max-width: calc(760px + var(--sd-gutter) * 2); }
.sd-article__head { background: var(--sd-dark) url("../img/circuit.svg") right center / cover; color: #fff; padding: 40px 0 56px; position: relative; }
.sd-article__head::before { content: ""; position: absolute; inset: 0; background: var(--sd-dark); opacity: .82; }
.sd-article__head > * { position: relative; }
.sd-article__head.has-cover { padding-bottom: 150px; }
.sd-article__back { margin: 0 0 22px; }
.sd-article__back a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 14px; font-weight: 700; }
.sd-article__back a:hover { color: var(--sd-primary); }
.sd-article__back .sd-icon { width: 16px; height: 16px; }
.sd-article__title { color: #fff; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; letter-spacing: -.01em; margin: 6px 0 16px; }
.sd-article__lead { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .86); margin-bottom: 22px; }
.sd-article__byline { display: flex; align-items: center; gap: 12px; margin: 0; color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.sd-article__byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .3); }
.sd-article__byline strong { color: #fff; }
.sd-article__cover { margin: -110px auto 0; position: relative; z-index: 1; }
.sd-article__cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--sd-radius); box-shadow: var(--sd-shadow); display: block; }
.sd-article__cover figcaption { text-align: center; margin-top: 10px; }
.sd-article__content { padding-top: 44px; }

.sd-prose { font-size: 18px; line-height: 1.75; color: #243042; overflow-wrap: break-word; }
.sd-prose > * + * { margin-top: 0; }
.sd-prose p { margin: 0 0 1.3em; }
.sd-prose h2 { font-size: 27px; margin: 1.9em 0 .6em; }
.sd-prose h3 { font-size: 21px; margin: 1.6em 0 .5em; }
.sd-prose h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.sd-prose a { color: var(--sd-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sd-prose a:hover { color: var(--sd-dark); }
.sd-prose ul, .sd-prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.sd-prose li { margin-bottom: .45em; }
.sd-prose li::marker { color: var(--sd-accent); }
.sd-prose blockquote, .sd-prose .wp-block-quote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--sd-primary); font-size: 20px; line-height: 1.6; color: var(--sd-dark); }
.sd-prose blockquote cite { display: block; font-size: 14px; font-style: normal; color: var(--sd-muted); margin-top: 8px; }
.sd-prose img { border-radius: 4px; height: auto; }
.sd-prose figure { margin: 2em 0; }
.sd-prose figcaption { font-size: 14px; text-align: center; margin-top: 8px; }
.sd-prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 1.6em 0; display: block; overflow-x: auto; }
.sd-prose th, .sd-prose td { border: 1px solid var(--sd-border); padding: 9px 12px; text-align: left; }
.sd-prose th { background: var(--sd-light); color: var(--sd-dark); }
.sd-prose code { background: var(--sd-light); padding: 2px 6px; border-radius: 3px; font-size: .88em; }
.sd-prose pre { background: var(--sd-dark); color: #E6ECF3; padding: 18px 20px; border-radius: 6px; overflow-x: auto; font-size: 14.5px; line-height: 1.6; }
.sd-prose pre code { background: none; padding: 0; }
.sd-prose hr { border: 0; height: 1px; background: var(--sd-border); margin: 2.4em 0; }
.sd-prose iframe, .sd-prose video { max-width: 100%; }
@media (min-width: 1100px) {
	.sd-prose .alignwide { width: 1000px; max-width: none; margin-left: calc(50% - 500px); }
}
.sd-prose .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.sd-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.sd-prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.sd-prose .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.sd-prose::after { content: ""; display: table; clear: both; }

.sd-article__foot { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--sd-border); padding-bottom: 64px; }
.sd-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; }
.sd-chips li { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .92); }
.sd-chips--light li { border: 0; padding: 0; }
.sd-chips--light a { display: inline-block; padding: 5px 12px; border-radius: 20px; background: var(--sd-light); color: var(--sd-accent); text-decoration: none; }
.sd-chips--light a:hover { background: var(--sd-dark); color: #fff; }
.sd-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.sd-share__label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--sd-muted); margin-right: 6px; }
.sd-share a, .sd-share button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sd-border); background: #fff; color: var(--sd-dark); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.sd-share .sd-icon { width: 18px; height: 18px; }
.sd-share a:hover, .sd-share button:hover { background: var(--sd-dark); color: #fff; border-color: var(--sd-dark); }
.sd-share__copy.is-done { background: #E2F3E7; border-color: #9BD3AE; color: #17653A; }
.sd-authorbox { display: flex; gap: 20px; align-items: flex-start; background: var(--sd-light); border-radius: var(--sd-radius); padding: 24px; }
.sd-authorbox img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sd-authorbox__label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--sd-muted); margin: 0 0 4px; }
.sd-authorbox__name { font-size: 19px; font-weight: 800; color: var(--sd-dark); margin: 0; }
.sd-authorbox__role, .sd-authorbox__bio { font-size: 14.5px; color: var(--sd-accent); margin: 2px 0 10px; }
.sd-related { border-top: 1px solid var(--sd-border); }
.sd-page-body { padding-top: 44px; padding-bottom: 72px; }

/* ---------- Sobre o Professor ---------- */
.sd-about-hero { position: relative; background: var(--sd-dark) url("../img/circuit.svg") right center / cover; color: #fff; padding: 56px 0; }
.sd-about-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sd-dark) 35%, color-mix(in srgb, var(--sd-dark) 55%, transparent)); }
.sd-about-hero__grid { position: relative; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 52px; align-items: center; }
.sd-about-hero__photo { margin: 0; }
.sd-about-hero__photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--sd-radius); border-bottom: 5px solid var(--sd-primary); background: #d9e0e8; }
.sd-about-hero__name { color: #fff; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; margin: 0 0 10px; }
.sd-about-hero__role { font-size: 18px; color: rgba(255, 255, 255, .86); margin-bottom: 22px; }
.sd-about-social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.sd-about-social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.sd-about-social a:hover { background: var(--sd-primary); border-color: var(--sd-primary); color: var(--sd-dark); }
.sd-about-social .sd-icon { width: 18px; height: 18px; }
.sd-about { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding-top: 56px; padding-bottom: 80px; }
.sd-about__nav { position: sticky; top: 24px; align-self: start; }
.sd-about__nav-title { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sd-muted); margin-bottom: 10px; }
.sd-about__nav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--sd-border); }
.sd-about__nav a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--sd-text); text-decoration: none; font-size: 14.5px; }
.sd-about__nav a:hover { color: var(--sd-accent); border-left-color: var(--sd-primary); }
.sd-about__main { max-width: 760px; }
.sd-about__block { margin-bottom: 56px; scroll-margin-top: 24px; }
.sd-about__h { font-size: 24px; margin-bottom: 20px; }
.sd-about__h::before { content: ""; display: block; width: 36px; height: 4px; background: var(--sd-primary); margin-bottom: 12px; border-radius: 2px; }
.sd-about-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; list-style: none; margin: 0; padding: 0; }
.sd-about-areas li { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--sd-border); border-radius: var(--sd-radius); }
.sd-about-areas .sd-icon { width: 28px; height: 28px; color: var(--sd-accent); margin-top: 2px; }
.sd-about-areas h3 { font-size: 17px; margin: 0 0 4px; }
.sd-about-areas p { font-size: 14.5px; margin: 0; color: var(--sd-text); }
.sd-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sd-border); }
.sd-timeline__item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--sd-border); }
.sd-timeline__item.no-when { grid-template-columns: 14px minmax(0, 1fr); }
.sd-timeline__item.no-when::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sd-primary); margin-top: 9px; }
.sd-timeline__when { font-size: 14px; font-weight: 800; color: var(--sd-accent); padding-top: 2px; }
.sd-timeline__title { margin: 0; font-size: 16.5px; font-weight: 700; color: var(--sd-dark); line-height: 1.45; }
.sd-timeline__title a { color: var(--sd-dark); }
.sd-timeline__detail { margin: 3px 0 0; font-size: 15px; color: var(--sd-muted); }
.sd-about-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sd-about-contacts li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.sd-about-contacts .sd-icon { width: 20px; height: 20px; color: var(--sd-accent); }

/* ---------- Responsivo (Área do Professor) ---------- */
@media (max-width: 1140px) {
	.sd-areas__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 36px; }
	.sd-phero__grid { gap: 48px; }
}
@media (max-width: 980px) {
	.sd-phero { padding: 48px 0 64px; }
	.sd-phero__grid { grid-template-columns: 1fr; gap: 44px; }
	.sd-phero__photo { justify-self: start; max-width: 340px; order: -1; }
	.sd-grid, .sd-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-feature--split { grid-template-columns: 1fr; }
	.sd-feature--split .sd-pcard--large { grid-row: auto; }
	.sd-reslist--cols { grid-template-columns: 1fr; }
	.sd-reslist--cols .sd-res:nth-child(2) { border-top: 0; }
	.sd-about { grid-template-columns: 1fr; gap: 0; }
	.sd-about__nav { display: none; }
	.sd-about-hero__grid { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; }
	.sd-hsec { padding: 56px 0; }
	.sd-nav__list { gap: 0; }
	.sd-nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.sd-nav__list .current-menu-item > a, .sd-nav__list .current_page_item > a, .sd-nav__list .current_page_parent > a { border-bottom-color: rgba(255, 255, 255, .08); }
	.sd-header { z-index: 50; }
}
@media (max-width: 640px) {
	.sd-grid, .sd-feature { grid-template-columns: 1fr; gap: 20px; }
	.sd-pcard--side { flex-direction: column; }
	.sd-pcard--side .sd-pcard__media { flex: none; aspect-ratio: 16 / 10; }
	.sd-phero__photo { max-width: 260px; }
	.sd-phero__photo::before { inset: 14px -14px -14px 14px; }
	.sd-phero__actions .sd-btn { flex: 1 1 auto; }
	.sd-phero__actions .sd-btn--lg { width: 100%; }
	.sd-hsec__head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.sd-areas__list { grid-template-columns: 1fr; }
	.sd-res { grid-template-columns: 48px minmax(0, 1fr); }
	.sd-res__icon { width: 48px; height: 48px; }
	.sd-res__action { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
	.sd-filters { padding: 10px; }
	.sd-filters__field, .sd-filters .sd-btn { flex: 1 1 100%; }
	.sd-tabs { width: 100%; }
	.sd-tabs__tab { flex: 1; justify-content: center; padding: 7px 8px; }
	.sd-article__head.has-cover { padding-bottom: 90px; }
	.sd-article__cover { margin-top: -60px; }
	.sd-prose { font-size: 17px; }
	.sd-prose .alignleft, .sd-prose .alignright { float: none; margin: 1em 0; max-width: 100%; }
	.sd-authorbox { flex-direction: column; }
	.sd-about-hero__grid { grid-template-columns: 1fr; }
	.sd-about-hero__photo { max-width: 220px; }
	.sd-about-areas { grid-template-columns: 1fr; }
	.sd-timeline__item { grid-template-columns: 1fr; gap: 2px; }
	.sd-eventbar__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
	.sd-eventbar__text { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---------- Verificação de certificados ---------- */
.sd-verify { max-width: calc(760px + var(--sd-gutter) * 2); padding-top: 40px; padding-bottom: 80px; }
.sd-verify__form { background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius); padding: 22px; box-shadow: 0 4px 14px rgba(15, 27, 45, .05); }
.sd-verify__form label { display: block; font-weight: 800; color: var(--sd-dark); margin-bottom: 8px; }
.sd-verify__row { display: flex; gap: 10px; }
.sd-verify__row input { flex: 1; min-width: 0; height: 50px; padding: 10px 14px; border: 1px solid var(--sd-border); border-radius: 4px; font-size: 20px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sd-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.sd-verify__row input:focus { outline: none; border-color: var(--sd-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sd-accent) 18%, transparent); }
.sd-verify__row .sd-btn { height: 50px; }
.sd-verify__row .sd-icon { width: 18px; height: 18px; }
.sd-verify__result { margin-top: 28px; }
.sd-vcard { border: 1px solid var(--sd-border); border-radius: var(--sd-radius); overflow: hidden; background: #fff; }
.sd-vcard__status { display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.sd-vcard__status > .sd-icon { width: 44px; height: 44px; flex-shrink: 0; padding: 9px; border-radius: 50%; }
.sd-vcard__label { font-size: 20px; font-weight: 900; margin: 0; }
.sd-vcard__sub { margin: 2px 0 0; font-size: 14.5px; }
.sd-vcard.is-valid .sd-vcard__status { background: #E7F5EC; color: #145C34; }
.sd-vcard.is-valid .sd-vcard__status > .sd-icon { background: #1F7A45; color: #fff; }
.sd-vcard.is-revoked .sd-vcard__status { background: #FBE9E9; color: #8A1F1F; }
.sd-vcard.is-revoked .sd-vcard__status > .sd-icon { background: #B3261E; color: #fff; }
.sd-vcard.is-unknown .sd-vcard__status { background: var(--sd-light); color: var(--sd-dark); }
.sd-vcard.is-unknown .sd-vcard__status > .sd-icon { background: #fff; color: var(--sd-muted); }
.sd-vcard.is-revoked .sd-vcard__data dd { text-decoration: line-through; text-decoration-color: rgba(179, 38, 30, .5); }
.sd-vcard__data { margin: 0; padding: 8px 22px 6px; }
.sd-vcard__data > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--sd-border); }
.sd-vcard__data > div:last-child { border-bottom: 0; }
.sd-vcard__data dt { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--sd-muted); padding-top: 2px; }
.sd-vcard__data dd { margin: 0; font-size: 16px; color: var(--sd-dark); font-weight: 600; }
.sd-vcard__data code { font-size: 15px; letter-spacing: .08em; background: var(--sd-light); padding: 2px 8px; border-radius: 3px; }
.sd-vcard__actions { padding: 4px 22px 22px; margin: 0; }
.sd-vcard__actions .sd-icon { width: 16px; height: 16px; }
.sd-verify__content { margin-top: 40px; }
@media (max-width: 640px) {
	.sd-verify__row { flex-direction: column; }
	.sd-verify__row input { font-size: 17px; }
	.sd-vcard__data > div { grid-template-columns: 1fr; gap: 2px; }
}

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

@media print {
	.sd-header, .sd-card, .sd-cta, .sd-footer__social { display: none; }
	.sd-hero, .sd-bloco__media { background: none !important; color: #000; }
	.sd-hero__title, .sd-bloco__title { color: #000; }
}
