/* ==========================================================================
   Trans4mar — estilos do tema
   Mobile-first. Breakpoints: 640px, 960px, 1200px.
   ========================================================================== */

/* Fontes ------------------------------------------------------------------ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }

/* Tokens ------------------------------------------------------------------ */
:root {
	--navy: #00142b;
	--petrol: #004556;
	--blue: #016087;
	--accent: #2bb3c0;
	--gray-50: #f3f5f6;
	--gray-200: #d0d7de;
	--gray-600: #55606c;
	--text: #1b2430;
	--white: #fff;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 6px;
	--radius-lg: 10px;
	--container: 1200px;
	--gutter: 16px;
	--shadow: 0 2px 12px rgba(0, 20, 43, .08);
	--shadow-hover: 0 8px 28px rgba(0, 20, 43, .14);
	--header-h: 72px;
	--ease: .2s ease;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --header-h: 80px; } }

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--petrol); }
h1, h2, h3, h4, h5, h6 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Acessibilidade ------------------------------------------------------------ */
.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;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 10px 16px; background: var(--white); color: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow);
}

/* Layout ------------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 56px; }
@media (min-width: 960px) { .section { padding-block: 88px; } }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .85); }
.section--petrol { background: var(--petrol); color: rgba(255, 255, 255, .88); }
.section--navy h1, .section--navy h2, .section--navy h3,
.section--petrol h1, .section--petrol h2, .section--petrol h3 { color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section--navy .kicker, .section--petrol .kicker { color: var(--accent); }

/* Botões -------------------------------------------------------------------- */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border: 2px solid transparent; border-radius: var(--radius);
	font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--accent { background: var(--accent); color: var(--navy); }
.btn--accent:hover { background: #4cc4cf; color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--petrol); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.section--navy .btn--ghost, .section--petrol .btn--ghost { color: var(--white); }
.section--navy .btn--ghost:hover, .section--petrol .btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Cabeçalho ----------------------------------------------------------------- */
.site-header {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100;
	background: var(--navy); color: var(--white);
	transition: background var(--ease), box-shadow var(--ease);
}
.site-header--overlay { position: fixed; left: 0; right: 0; background: transparent; }
.site-header.is-scrolled, .site-header.nav-open { background: var(--navy); box-shadow: 0 2px 16px rgba(0, 0, 0, .25); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height var(--ease); }
@media (min-width: 960px) { .site-header.is-scrolled .site-header__inner { height: 64px; } }
.site-logo { display: inline-flex; align-items: center; flex: none; color: var(--white); text-decoration: none; }
.site-logo .logo-img { width: auto; height: 40px; max-width: 200px; object-fit: contain; }
.logo--invert { filter: brightness(0) invert(1); }
.logo-text { font-weight: 800; font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; }
.site-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: var(--radius); background: transparent; color: inherit; cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn svg { width: 22px; height: 22px; }
.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline; }

/* Navegação: celular (painel em tela cheia) */
.site-nav {
	position: fixed; inset: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px)) 0 0 0;
	background: var(--navy); padding: 24px var(--gutter) 40px; overflow-y: auto;
	transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
}
.nav-open .site-nav { transform: none; visibility: visible; }
.nav-menu, .nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nav-menu a { display: block; padding: 14px 0; color: var(--white); font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.nav-menu a:hover, .nav-menu .current-menu-item > a, .nav-menu .current_page_item > a { color: var(--accent); }
.nav-menu .sub-menu { display: none; padding: 0 0 12px 16px; }
.nav-menu .sub-menu a { font-weight: 400; font-size: 1rem; padding: 8px 0; }
.nav-menu .submenu-open > .sub-menu { display: block; }
.submenu-toggle { position: absolute; top: 6px; right: 0; width: 40px; height: 40px; border: 0; background: none; color: var(--white); cursor: pointer; }
.submenu-toggle svg { width: 20px; height: 20px; transition: transform var(--ease); }
.submenu-open > .submenu-toggle svg { transform: rotate(180deg); }
.nav-menu > li.menu-cta { border: 0; margin-top: 20px; }
.nav-menu > li.menu-cta > a { display: flex; color: var(--navy); }
.nav-menu > li.menu-cta > a:hover { color: var(--navy); }
body.nav-locked { overflow: hidden; }

/* Navegação: desktop */
@media (min-width: 960px) {
	.site-nav { position: static; inset: auto; transform: none; visibility: visible; background: none; padding: 0; overflow: visible; margin-left: auto; }
	.nav-toggle { display: none; }
	.site-header__actions { margin-left: 0; }
	.nav-menu { display: flex; align-items: center; gap: 4px; }
	.nav-menu > li { border: 0; }
	.nav-menu a { font-size: .95rem; padding: 10px 14px; color: rgba(255, 255, 255, .88); }
	.nav-menu > li.menu-cta { margin: 0 0 0 12px; }
	.nav-menu > li.menu-cta > a { padding: 10px 18px; }
	.submenu-toggle { display: none; }
	.nav-menu .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px 0;
		background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-hover);
	}
	.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { display: block; }
	.nav-menu .sub-menu a { color: var(--text); padding: 8px 18px; }
	.nav-menu .sub-menu a:hover { color: var(--blue); background: var(--gray-50); }
}

/* Busca */
.search-overlay { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; }
.search-form { display: flex; gap: 8px; }
.search-form__input {
	flex: 1; min-width: 0; padding: 12px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius);
	font: 1rem var(--font); color: var(--text); background: var(--white);
}
.search-form__input:focus { outline: none; border-color: var(--accent); }
.search-form__submit span { display: none; }
@media (min-width: 640px) { .search-form__submit span { display: inline; } }

/* Rodapé -------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__grid { display: grid; gap: 40px; padding-block: 56px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: 1.3fr .8fr 1.2fr 1.2fr; padding-block: 72px; } }
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-title { color: var(--white); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .footer-posts li { margin-bottom: 10px; }
.footer-posts time { display: block; font-size: .8rem; color: rgba(255, 255, 255, .5); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.footer-social a:hover { background: var(--accent); color: var(--navy); }
.footer-social svg { width: 18px; height: 18px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; font-size: .85rem; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.site-footer__bottom p { margin: 0; }

/* WhatsApp flutuante */
.whatsapp-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; place-items: center;
	width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: var(--white);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform var(--ease);
}
.whatsapp-float:hover { transform: scale(1.06); color: var(--white); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* Faixa de título das páginas ---------------------------------------------- */
.page-hero { padding-block: 48px 52px; }
@media (min-width: 960px) { .page-hero { padding-block: 72px 76px; } }
.page-hero__title { margin: 0; max-width: 22ch; }
.page-hero__desc { margin-top: 14px; max-width: 60ch; font-size: 1.1rem; }
.page-hero__desc p:last-child { margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 18px; color: rgba(255, 255, 255, .6); }
.breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.lead { font-size: 1.15rem; }

/* Etiquetas e metadados */
.tag {
	display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--blue); text-decoration: none; margin-bottom: 10px;
}
.tag--light { color: var(--accent); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: .88rem; color: var(--gray-600); }
.post-meta--light { color: rgba(255, 255, 255, .75); }
.post-meta__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.post-meta__author img { border-radius: 50%; width: 32px; height: 32px; }

/* Cards de post ------------------------------------------------------------- */
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow var(--ease), transform var(--ease); }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-post { display: flex; flex-direction: column; }
.card-post__thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--gray-50); }
.card-post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card-post:hover .card-post__thumb img { transform: scale(1.03); }
.card-post__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.card-post__title { font-size: 1.08rem; line-height: 1.35; margin-bottom: 12px; }
.card-post__title a { color: var(--navy); text-decoration: none; }
.card-post__title a:hover { color: var(--blue); }
.card-post__date { margin-top: auto; font-size: .85rem; color: var(--gray-600); }
.card-post--destaque { margin-bottom: 32px; }
.card-post--destaque .card-post__title { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.card-post--destaque .card-post__body { padding: 24px; gap: 4px; }
.card-post--destaque .post-meta { margin: 6px 0 16px; }
@media (min-width: 960px) {
	.card-post--destaque { flex-direction: row; }
	.card-post--destaque .card-post__thumb { flex: 0 0 56%; aspect-ratio: auto; min-height: 360px; }
	.card-post--destaque .card-post__body { padding: 40px; justify-content: center; }
}
.thumb-fallback {
	display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; aspect-ratio: 3 / 2; padding: 20px;
	background: linear-gradient(135deg, var(--navy) 0%, var(--petrol) 100%); color: rgba(255, 255, 255, .9);
	position: relative; overflow: hidden; text-align: center;
}
.thumb-fallback::after {
	content: ""; position: absolute; right: -15%; bottom: -35%; width: 70%; aspect-ratio: 1; border-radius: 50%;
	border: 28px solid rgba(43, 179, 192, .18);
}
.thumb-fallback span { position: relative; z-index: 1; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.grid-posts { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-posts { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* Filtro de categorias */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 32px; scrollbar-width: thin; }
.chip {
	flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gray-200);
	font-size: .9rem; font-weight: 600; color: var(--text); text-decoration: none; background: var(--white);
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Paginação */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
	border-radius: var(--radius); border: 1px solid var(--gray-200); color: var(--text); text-decoration: none; font-weight: 600;
}
.pagination .page-numbers svg { width: 18px; height: 18px; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pagination .dots { border: 0; }
.empty-state { max-width: 560px; }
.error-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Post individual ------------------------------------------------------------ */
.post-header { padding-block: 48px 120px; }
@media (min-width: 960px) { .post-header { padding-block: 72px 160px; } }
.post-header__title { margin-bottom: 20px; }
.post-cover { margin-top: -88px; margin-bottom: 40px; max-width: calc(980px + 2 * var(--gutter)); }
@media (min-width: 960px) { .post-cover { margin-top: -120px; margin-bottom: 56px; } }
.post-cover img, .post-cover .thumb-fallback { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); aspect-ratio: 1200 / 630; object-fit: cover; }

.entry-content { font-size: 18px; line-height: 1.7; overflow-wrap: anywhere; }
.entry-content > * { max-width: 70ch; }
.entry-content h2 { font-size: 1.6rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius); height: auto; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { font-size: .85rem; color: var(--gray-600); margin-top: 8px; text-align: center; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin: 2em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--accent); font-size: 1.12em; color: var(--navy);
}
.entry-content blockquote cite { display: block; font-size: .85rem; font-style: normal; color: var(--gray-600); margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .92em; }
.entry-content th, .entry-content td { border: 1px solid var(--gray-200); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--gray-50); color: var(--navy); }
.entry-content hr, .entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--gray-200); margin: 2.5em 0; }
.entry-content .alignwide { max-width: min(1100px, 100%); }
.entry-content .alignfull { max-width: none; }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.entry-content::after { content: ""; display: table; clear: both; }
.wp-block-button__link { background: var(--accent); color: var(--navy); }
.wp-block-button__link:hover { background: #4cc4cf; color: var(--navy); }
.is-style-outline .wp-block-button__link { background: transparent; border-color: var(--navy); color: var(--navy); }

/* Compartilhar */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 40px 0; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.share__label { font-weight: 700; color: var(--navy); margin-right: 6px; }
.share__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; min-width: 40px; padding: 0 10px;
	border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); color: var(--navy);
	font: 600 .85rem var(--font); cursor: pointer; text-decoration: none;
}
.share__btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.share__btn svg { width: 18px; height: 18px; }
.share__copy.is-done { background: var(--accent); border-color: var(--accent); color: var(--navy); }

/* Autor */
.author-box { display: flex; gap: 18px; padding: 24px; margin-bottom: 48px; background: var(--gray-50); border-radius: var(--radius-lg); }
.author-box img { border-radius: 50%; flex: none; }
.author-box__label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-600); }
.author-box__name { display: block; color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.author-box p { margin: 0; }
.related h2 { margin-bottom: 28px; }

/* Comentários */
.comments { margin-bottom: 56px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--gray-200); }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); font: 1rem var(--font);
}

/* Chamada final -------------------------------------------------------------- */
.cta-final__inner { display: flex; flex-direction: column; gap: 24px; }
.cta-final h2 { margin-bottom: 8px; }
.cta-final p { margin: 0; max-width: 56ch; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .cta-final__inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Home ---------------------------------------------------------------------- */
.home-hero {
	position: relative; overflow: hidden;
	padding-block: calc(var(--header-h) + 64px) 88px;
	background:
		radial-gradient(ellipse at 85% 20%, rgba(43, 179, 192, .18), transparent 55%),
		radial-gradient(ellipse at 10% 100%, rgba(1, 96, 135, .35), transparent 60%),
		var(--navy);
}
.home-hero.has-image { background: linear-gradient(rgba(0, 20, 43, .78), rgba(0, 20, 43, .78)), var(--hero-bg) center / cover no-repeat, var(--navy); }
@media (min-width: 960px) { .home-hero { padding-block: calc(var(--header-h) + 110px) 140px; } }
.home-hero::after {
	content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; aspect-ratio: 1; border-radius: 50%;
	border: 70px solid rgba(43, 179, 192, .07); pointer-events: none;
}
.home-hero__inner { position: relative; z-index: 1; }
.home-hero__title { font-size: clamp(2.1rem, 5.4vw, 3.6rem); max-width: 18ch; margin-bottom: 20px; }
.home-hero__text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; margin-bottom: 32px; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.areas-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .areas-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.area-card { position: relative; padding: 32px 28px; border: 1px solid #e6eaee; box-shadow: none; }
.area-card:hover { border-color: transparent; }
.area-card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #e6f5f7; color: var(--petrol); margin-bottom: 20px; }
.area-card__icon svg { width: 28px; height: 28px; }
.area-card p { color: var(--gray-600); }
.stretched::before { content: ""; position: absolute; inset: 0; }

.home-clientes { padding-block: 40px 56px; border-top: 1px solid #eef1f3; }
.home-clientes__title { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gray-600); text-align: center; margin-bottom: 28px; }
.clients { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 36px; }
.client-name { font-weight: 700; font-size: 1.02rem; color: #5f6b78; letter-spacing: .01em; transition: color var(--ease); white-space: nowrap; }
.clients__item:hover .client-name { color: var(--navy); }
.clients__logo { max-height: 44px; width: auto; filter: grayscale(1); opacity: .7; transition: filter var(--ease), opacity var(--ease); }
.clients__item:hover .clients__logo { filter: none; opacity: 1; }

.home-apics__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .home-apics__inner { grid-template-columns: 320px 1fr; gap: 64px; } }
.home-apics__logo { display: grid; place-items: center; padding: 40px; border-radius: var(--radius-lg); background: var(--gray-50); }
.home-apics__logo img { width: 220px; height: auto; }
.home-apics h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.home-apics p { color: var(--gray-600); max-width: 64ch; margin-bottom: 24px; }

.carousel-nav { display: flex; gap: 8px; }
.carousel-nav .icon-btn { border: 1px solid rgba(255, 255, 255, .25); color: var(--white); }
.carousel {
	display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 20px; align-items: start;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px;
}
.carousel::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .carousel { grid-auto-columns: calc(50% - 10px); } }
@media (min-width: 1200px) { .carousel { grid-auto-columns: calc(33.333% - 14px); } }
.testimonial {
	scroll-snap-align: start; margin: 0; padding: 28px; border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
	display: flex; flex-direction: column;
}
.testimonial > .icon { width: 32px; height: 32px; color: var(--accent); margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 20px; font-size: .98rem; color: rgba(255, 255, 255, .85); }
.testimonial blockquote p:last-child { margin: 0; }
.testimonial figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.testimonial figcaption strong { display: block; color: var(--white); font-size: .95rem; }
.testimonial__photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* Páginas internas ------------------------------------------------------------ */
.entry-content--full > * { max-width: none; }

/* Contato */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; } }
.contact-card { padding: 32px; border-radius: var(--radius-lg); background: var(--navy); color: rgba(255, 255, 255, .85); }
@media (min-width: 960px) { .contact-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-card h2 { color: var(--white); font-size: 1.3rem; margin-bottom: 20px; }
.contact-card ul { list-style: none; margin: 0; padding: 0; }
.contact-card li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-card li > svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.contact-card small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.contact-card a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact-card a:hover { color: var(--accent); }
.contact-card__social { display: flex; gap: 10px; margin-top: 8px !important; }
.contact-card__social li { margin: 0; }
.contact-card__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.contact-card__social svg { width: 18px; height: 18px; }
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.3); }

/* Casos de sucesso */
.casos-grupo + .casos-grupo { margin-top: 56px; }
.casos-grupo__title { font-size: 1.35rem; padding-bottom: 12px; margin-bottom: 24px; border-bottom: 2px solid var(--gray-50); }
.casos-cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .casos-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .casos-cards { grid-template-columns: repeat(3, 1fr); } }
.caso-card { display: flex; flex-direction: column; padding: 24px; text-decoration: none; border-top: 3px solid var(--accent); }
.caso-card__title { font-size: 1.05rem; line-height: 1.35; margin-bottom: 18px; }
.caso-card .link-arrow { margin-top: auto; }

/* Estilos de bloco e padrões ------------------------------------------------- */
.t4m-grid { gap: 20px; margin-block: 1.5em 2em; }
.is-style-t4m-card { padding: 24px 24px 20px; border-radius: 10px; background: #fff; border: 1px solid #e6eaee; box-shadow: 0 2px 12px rgba(0, 20, 43, .06); }
.is-style-t4m-card > :first-child { margin-top: 0; }
.is-style-t4m-card > :last-child { margin-bottom: 0; }
.is-style-t4m-card h3 { font-size: 1.1rem; margin-bottom: .5em; }
.is-style-t4m-card p { font-size: .98rem; }
.is-style-t4m-navy { padding: 48px 24px; background: #00142b; color: rgba(255, 255, 255, .85); border-radius: 10px; }
.is-style-t4m-navy.alignfull { border-radius: 0; }
.is-style-t4m-navy h2, .is-style-t4m-navy h3 { color: #fff; margin-top: 0; }
.is-style-t4m-navy .is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.is-style-t4m-check { list-style: none; padding-left: 0 !important; }
.is-style-t4m-check li { position: relative; padding-left: 28px; }
.is-style-t4m-check li::before {
	content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
	background: #2bb3c0 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%2300142b%27 stroke-width=%274%27%3E%3Cpath d=%27M5 12l5 5L20 7%27/%3E%3C/svg%3E") center / 10px no-repeat;
}
.is-style-t4m-accent .wp-block-button__link { background: #2bb3c0; color: #00142b; }
.t4m-num { font-size: 1.6rem; font-weight: 800; color: #2bb3c0; line-height: 1; margin-bottom: .4em; }
.t4m-sigla { font-size: 2rem; font-weight: 800; color: #016087; letter-spacing: -.02em; line-height: 1; margin-bottom: .3em; }
.t4m-steps { gap: 16px; margin-block: 1.5em 2em; counter-reset: step; }
.t4m-step { position: relative; padding-top: 8px; border-top: 3px solid #2bb3c0; }
.t4m-step h3 { font-size: 1.1rem; margin: .2em 0 .4em; }
.t4m-step p { font-size: .95rem; }
.t4m-step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; margin: 8px 0 4px; border-radius: 50%; background: #00142b; color: #fff; font-weight: 700; }

/* Contact Form 7 ---------------------------------------------------------------- */
.wpcf7 form p { margin-bottom: 18px; }
.wpcf7 label { display: block; font-weight: 600; color: var(--navy); font-size: .95rem; }
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7 select, .wpcf7 textarea {
	width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius);
	font: 1rem var(--font); color: var(--text); background: var(--white); transition: border-color var(--ease), box-shadow var(--ease);
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(1, 96, 135, .15); }
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7-submit {
	display: inline-flex; padding: 14px 28px; border: 0; border-radius: var(--radius); cursor: pointer;
	background: var(--accent); color: var(--navy); font: 600 1rem var(--font); transition: background var(--ease);
}
.wpcf7-submit:hover { background: #4cc4cf; }
.wpcf7-not-valid-tip { color: #b42318; font-size: .85rem; margin-top: 4px; }
.wpcf7 .wpcf7-not-valid { border-color: #b42318 !important; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--gray-200); }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--accent); background: #e6f5f7; color: var(--navy); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #b42318; background: #fef3f2; color: #7a271a; }
.site-footer .btn--accent, .site-footer .btn--accent:hover { color: var(--navy); }

/* Textos longos sem espaço (URLs, títulos) nunca estouram a largura */
body { overflow-wrap: break-word; }
.site-footer, .card, .caso-card, .contact-card, .testimonial, .page-hero__desc, .post-meta, .author-box, .comments { overflow-wrap: anywhere; }
.site-footer__grid > *, .grid-posts > *, .casos-cards > *, .contact-grid > * { min-width: 0; }

/* Equipe ([t4m_equipe]) */
.entry-content .equipe-grid { max-width: none; }
.equipe-grid { display: grid; gap: 20px; margin: 2em 0; font-size: 1rem; line-height: 1.5; }
@media (min-width: 640px) { .equipe-grid { grid-template-columns: repeat(2, 1fr); } }
.membro { display: flex; gap: 16px; padding: 20px; align-items: flex-start; }
.membro__foto { flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--navy); display: grid; place-items: center; }
.membro__foto img { width: 100%; height: 100%; object-fit: cover; }
.membro__iniciais { color: var(--accent); font-weight: 800; font-size: 1.6rem; }
.membro__body { min-width: 0; }
.membro__nome { font-size: 1.05rem; margin: 0 0 4px; }
.membro__certs { font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--blue); margin: 0 0 4px; }
.membro__cargo { font-size: .92rem; color: var(--gray-600); margin: 0 0 10px; }
.membro__links { list-style: none; margin: 0; padding: 0 !important; font-size: .88rem; }
.membro__links li { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.membro__links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.membro__links svg { width: 16px; height: 16px; flex: none; color: var(--petrol); }
