/**
 * Theme styles. Requires tokens.css.
 *
 * Table of contents:
 *  1. Base
 *  2. Layout objects
 *  3. Accessibility helpers
 *  4. Shared components (section titles, buttons, cards)
 *  5. Site header (incl. mobile drawer + header search)
 *  6. Hero slider
 *  7. Home sections (intro/pillars, clients strip, cases, why, news)
 *  8. Site footer
 *  9. Cookie notice (LGPD)
 * 10. Generic content templates
 * 11. Forms
 * 12. Internal pages (page header + breadcrumb)
 * 13. Blog & search (layout, sidebar, share links)
 * 14. CPT singles (banner, tabs, media slider, related, datasheet, CTA band)
 * 15. Account forms & contact (cascade containers, offices map)
 * 16. Trainings & downloads (data tables, download defs, venue)
 */

/* -------------------------------------------------------------------------
 * 1. Base
 * ---------------------------------------------------------------------- */

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

body {
	margin: 0;
	background: var(--color-white);
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--color-brand);
	text-decoration: none;
}

a:hover {
	color: var(--color-brand-dark);
}

img {
	max-width: 100%;
	height: auto;
}

button {
	font-family: inherit;
}

:focus-visible {
	outline: 2px solid var(--color-brand);
	outline-offset: 2px;
}

/* On dark surfaces the blue outline is invisible. */
.hero :focus-visible,
.site-header__utility :focus-visible,
.site-footer :focus-visible {
	outline-color: var(--color-white);
}

/* -------------------------------------------------------------------------
 * 2. Layout objects
 * ---------------------------------------------------------------------- */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-gutter);
}

.container--narrow {
	max-width: var(--container-narrow);
}

/* -------------------------------------------------------------------------
 * 3. Accessibility helpers
 * ---------------------------------------------------------------------- */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 16px;
	clip-path: none;
	background: var(--color-white);
	color: var(--color-brand);
	box-shadow: var(--shadow-card-hover);
	white-space: normal;
}

/* -------------------------------------------------------------------------
 * 4. Shared components
 * ---------------------------------------------------------------------- */

.section-title {
	font-family: var(--font-display);
	font-size: clamp(30px, 3.6vw, 40px);
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--color-brand);
	text-align: center;
	margin: 0 0 44px;
}

.section-title--light {
	color: var(--color-white);
}

/* Outline call-to-action ("Confira mais cases" / "Mais notícias").
 * background/cursor are set so the same class works on <button>. */
.btn {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: transparent;
	border: 2px solid var(--color-brand);
	color: var(--color-brand);
	padding: 13px 36px;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
	background: var(--color-brand);
	color: var(--color-white);
	box-shadow: var(--shadow-btn-hover);
}

.btn i {
	margin-right: 8px;
}

/* Solid variant: the primary CTA on internal pages. */
.btn--solid {
	background: var(--color-brand);
	border-color: var(--color-brand);
	color: var(--color-white);
}

.btn--solid:hover {
	background: var(--color-brand-dark);
	border-color: var(--color-brand-dark);
	color: var(--color-white);
}

/* For dark surfaces (CTA bands, banners) — same family as .hero__cta. */
.btn--light {
	border-color: rgba(255, 255, 255, 0.6);
	color: var(--color-white);
}

.btn--light:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--color-white);
	color: var(--color-white);
	box-shadow: none;
}

/* Compact variant for table rows and list items. */
.btn--sm {
	padding: 9px 20px;
	font-size: 13px;
}

.btn:disabled,
.btn.is-disabled {
	opacity: 0.5;
	pointer-events: none;
}

.section-cta {
	text-align: center;
	margin-top: 44px;
}

/* Card grids: auto-fit keeps the two-column desktop layout and collapses on
 * its own; min() prevents overflow on viewports narrower than the minimum. */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
	gap: 32px;
}

.card-grid--news {
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
}

/* Three-column listing grid (produtos, indústrias, related grids). */
.card-grid--three {
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

/* Case card (vertical, image on top). */
.case-card {
	display: flex;
	flex-direction: column;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	color: inherit;
	box-shadow: var(--shadow-card-base);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-card:hover {
	color: inherit;
	transform: translateY(-4px);
	border-color: var(--color-border-strong);
	box-shadow: var(--shadow-card-hover);
}

.case-card__image {
	display: block;
	width: 100%;
	height: 230px;
	object-fit: cover;
	background: var(--color-surface-alt);
	border-bottom: 1px solid var(--color-border);
}

.case-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 32px 32px;
	text-align: center;
}

.case-card__title {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
	color: var(--color-ink);
	line-height: 1.2;
	text-wrap: pretty;
}

.case-card__excerpt {
	font-size: 14px;
	line-height: 1.65;
	color: var(--color-text);
}

.case-card__more {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-brand);
}

/* Three-up cards (produtos, indústrias) run narrower than the two-column case
 * cards, so the 230px crop reads as a tall banner. The legacy site capped these
 * at 150px with tighter body spacing — keep that, the case grid keeps its own. */
.card-grid--three .case-card__image {
	height: 150px;
}

.card-grid--three .case-card__body {
	gap: 8px;
	padding: 18px 24px 22px;
}

/* News card (horizontal, thumb on the left). */
.news-card {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 24px;
	color: inherit;
	box-shadow: var(--shadow-card-base);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-card:hover {
	color: inherit;
	transform: translateY(-3px);
	border-color: var(--color-brand-light);
	box-shadow: var(--shadow-card-hover-soft);
}

.news-card__thumb {
	display: block;
	width: 150px;
	height: 108px;
	object-fit: cover;
	border-radius: var(--radius);
	flex-shrink: 0;
	background: var(--color-surface-alt);
	border: 1px solid var(--color-border);
}

.news-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.news-card__title {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 600;
	color: var(--color-ink);
	line-height: 1.2;
}

.news-card__date {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	color: var(--color-accent);
}

.news-card__excerpt {
	font-size: 13px;
	line-height: 1.6;
	color: var(--color-text);
}

@media (max-width: 560px) {
	.news-card {
		flex-direction: column;
	}

	.news-card__thumb {
		width: 100%;
		height: 160px;
	}
}

/* -------------------------------------------------------------------------
 * 5. Site header
 * ---------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--color-white);
	box-shadow: var(--shadow-header);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

/* Utility bar (dark). */
.site-header__utility {
	background: var(--color-ink);
}

.site-header__utility-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 40px;
	flex-wrap: wrap;
}

.utility-nav {
	display: flex;
	gap: 20px;
}

.utility-nav a {
	font-size: 11px;
	color: var(--color-gray-light);
	transition: color 0.15s ease;
}

.utility-nav a:hover {
	color: var(--color-white);
}

.utility-actions {
	display: flex;
	gap: 18px;
	align-items: center;
}

.utility-actions__login {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--color-white);
	transition: color 0.15s ease;
}

.utility-actions__login:hover {
	color: var(--color-brand-light);
}

.utility-actions__register {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	background: var(--color-accent);
	color: var(--color-white);
	padding: 5px 14px;
	border-radius: var(--radius);
	transition: background-color 0.15s ease;
}

.utility-actions__register:hover {
	background: var(--color-accent-dark);
	color: var(--color-white);
}

.lang-switcher {
	display: flex;
	gap: 4px;
	align-items: center;
}

.lang-switcher__item {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	padding: 3px 6px;
	color: var(--color-gray);
	transition: color 0.15s ease;
}

.lang-switcher__item:hover {
	color: var(--color-white);
}

.lang-switcher__item.is-active {
	color: var(--color-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lang-switcher__divider {
	color: var(--color-text);
	font-size: 10px;
}

/* Main bar (white). */
.site-header__main {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 74px;
	padding-block: 12px;
	flex-wrap: wrap;
}

.site-logo {
	display: block;
	flex-shrink: 0;
}

.site-logo img {
	display: block;
	height: 32px;
	width: auto;
}

.site-nav {
	margin-left: auto;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav a {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--color-text);
	line-height: 1;
	padding: 8px 8px 6px;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	transition: color 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
	color: var(--color-brand);
	border-bottom-color: var(--color-brand);
}

/* The theme doesn't design dropdowns (the site's menus are flat — verified);
 * if an editor ever nests items, the children are simply not shown on desktop
 * and render indented inside the drawer instead of breaking the bar. */
.site-nav .sub-menu {
	display: none;
}

/* Header search: magnifier toggles a full-width panel under the header. */
.header-search-toggle {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--color-text);
	font-size: 15px;
	padding: 8px 10px;
	margin-left: 4px;
	transition: color 0.15s ease;
}

.header-search-toggle:hover,
.header-search-toggle[aria-expanded='true'] {
	color: var(--color-brand);
}

.header-search {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--color-white);
	border-top: 1px solid var(--color-border);
	box-shadow: var(--shadow-header);
	padding-block: 16px;
}

/* Hamburger (hidden on desktop). */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	margin-left: auto;
	background: none;
	border: none;
	cursor: pointer;
}

.nav-toggle__bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--color-ink);
	border-radius: 1px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer: full-width panel under the sticky header. */
.site-drawer {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--color-white);
	border-top: 1px solid var(--color-border);
	box-shadow: 0 12px 24px rgba(10, 24, 33, 0.15);
	max-height: calc(100vh - 100%);
	overflow-y: auto;
}

.site-drawer__inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-block: 24px 32px;
}

/* The primary nav rendered inside the drawer becomes a vertical list. */
.site-drawer .site-nav {
	margin-left: 0;
}

.site-drawer .site-nav__list {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.site-drawer .site-nav a {
	display: block;
	padding: 12px 0;
	font-size: 16px;
	border-bottom: 1px solid var(--color-border);
	white-space: normal;
}

.site-drawer .site-nav .sub-menu {
	display: block;
	list-style: none;
	margin: 0;
	padding-left: 16px;
}

.site-drawer__utility {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.site-drawer__utility a {
	font-size: 13px;
	color: var(--color-gray);
}

.site-drawer__utility a:hover {
	color: var(--color-brand);
}

.site-drawer__account {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
}

.site-drawer__account a {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-brand);
}

.site-drawer__register {
	background: var(--color-accent);
	color: var(--color-white) !important;
	padding: 8px 18px;
	border-radius: var(--radius);
}

.site-drawer__register:hover {
	background: var(--color-accent-dark);
}

/* Language switcher inherits dark-bar colors; lift them for the white drawer. */
.site-drawer .lang-switcher__item {
	font-size: 12px;
	color: var(--color-gray);
}

.site-drawer .lang-switcher__item.is-active {
	color: var(--color-brand);
}

/* Breakpoint: below 1080px (matches .why__grid) the dark utility bar and the
 * inline nav give way to the hamburger + drawer. */
@media (max-width: 1080px) {
	.site-header__utility {
		display: none;
	}

	.site-header__main > .site-nav {
		display: none;
	}

	.header-search-toggle {
		display: none;
	}

	.nav-toggle {
		display: flex;
	}
}

@media (min-width: 1081px) {
	.site-drawer {
		display: none;
	}
}

/* -------------------------------------------------------------------------
 * 6. Hero slider
 * ---------------------------------------------------------------------- */

.hero {
	position: relative;
	height: clamp(280px, 19vw, 360px);
	overflow: hidden;
	background: var(--color-ink) linear-gradient(150deg, var(--color-ink-2) 0%, var(--color-ink) 100%);
}

/* Radial glow + technical grid overlay. */
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(ellipse 90% 100% at 78% 25%, rgba(77, 163, 212, 0.16) 0%, transparent 60%),
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 100% 100%, var(--grid-cell) var(--grid-cell), var(--grid-cell) var(--grid-cell);
}

/* Each slide sets --slide-accent / --slide-overlay and, when it has a
 * photo, its background-image (dark gradient + photo) inline. */
.hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.7s ease;
	pointer-events: none;
}

.hero__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
	.hero__slide {
		transition: none;
	}
}

.hero__wash {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 75%;
	min-width: 520px;
	background: linear-gradient(80deg, var(--slide-overlay) 0%, var(--slide-overlay) 30%, transparent 95%);
	opacity: 0.5;
}

.hero__content {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 16px;
	text-align: left;
}

/* Legacy-banner slides, artwork rendered verbatim (photo left, band right):
 * the content flips onto the band. No wash, no scrim: the artwork is its
 * own contrast layer, as on the legacy home. */
.hero__slide--right .hero__content {
	align-items: flex-end;
	text-align: right;
}

.hero__slide--right .hero__wash {
	display: none;
}

.hero__brand {
	font-family: var(--font-brand);
	font-size: clamp(32px, 3.2vw, 46px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	color: var(--color-white);
}

.hero__brand-product {
	color: var(--slide-accent);
}

.hero__headline {
	font-family: var(--font-display);
	font-size: clamp(19px, 1.9vw, 26px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-white);
	margin: 0;
	white-space: pre-line;
	/* Reserve the height of the tallest headline so the CTA never jumps. */
	min-height: 3.75em;
}

/* Ghost button (handoff v2 replaced the underlined link). */
.hero__cta {
	font-family: var(--font-mono);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-white);
	border: 1px solid rgba(255, 255, 255, 0.45);
	padding: 10px 24px;
	border-radius: var(--radius);
	margin-top: 8px;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero__cta:hover {
	color: var(--color-white);
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--color-white);
}

.hero__controls {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	gap: 12px;
	align-items: center;
}

.hero__arrow {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.55);
	padding: 4px 6px;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	transition: color 0.15s ease;
}

.hero__arrow:hover {
	color: var(--color-white);
}

.hero__dots {
	display: flex;
	gap: 8px;
	align-items: center;
}

/* Pill dots: the active one stretches into a bar. */
.hero__dot {
	width: 8px;
	height: 8px;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	padding: 0;
	background: rgba(255, 255, 255, 0.35);
	transition: width 0.3s ease, background-color 0.3s ease;
}

.hero__dot.is-active {
	width: 26px;
	background: var(--color-accent);
}

/* -------------------------------------------------------------------------
 * 7. Home sections
 * ---------------------------------------------------------------------- */

/* Section rhythm (post-porte review 2026-08-12): the ported home read much
 * taller than the legacy one, whose section gaps were 45px single-sided
 * (no legacy home section carried bottom margin/padding). One uniform 40px
 * everywhere — section padding AND the home title/CTA margins below — so no
 * element sits closer to one neighbour than the other. */

/* "Make decisions in real time" — title, text, three spheres. */
.intro {
	background: var(--color-white);
	text-align: center;
	padding-block: 40px;
}

.intro .section-title {
	margin-bottom: 24px;
}

.intro__text {
	font-size: 17px;
	line-height: 1.75;
	color: var(--color-text);
	margin: 0;
	text-wrap: pretty;
}

/* The three discs stay on a single row at every viewport and shrink
 * fluidly instead of wrapping (owner decision 2026-08-04; the handoff only
 * specifies desktop). Desktop keeps the handoff v2 geometry: 260px column,
 * 190px disc, space-between. */
.pillars {
	display: flex;
	gap: clamp(20px, 4vw, 48px);
	justify-content: space-between;
	margin-top: 40px;
}

.pillar {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(10px, 2.4vw, 18px);
	flex: 0 1 260px;
	min-width: 0;
	color: inherit;
}

.pillar:hover {
	color: inherit;
}

/* Photo discs (handoff v2, minus the wash halo — owner 2026-08-05): photo
 * under the blue overlay with a soft blue drop shadow; hover darkens the
 * photo instead of moving the disc. */
.pillar__sphere {
	display: block;
	width: min(190px, 100%);
	aspect-ratio: 1;
	border-radius: 50%;
	box-shadow: var(--shadow-sphere);
}

.pillar__photo {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: var(--color-brand);
	/* Overlay stops = --color-brand-bright / --color-brand at the handoff
	 * alphas (rgba needed, so the hex tokens can't be referenced here). */
	background-image: linear-gradient(165deg, rgba(30, 155, 224, 0.78) 0%, rgba(0, 114, 184, 0.82) 100%), var(--pillar-photo, none);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: clamp(8px, 2.2vw, 20px);
	transition: filter 0.4s ease;
}

.pillar:hover .pillar__photo,
.pillar:focus-visible .pillar__photo {
	filter: brightness(0.82) saturate(1.15);
}

.pillar__label {
	font-family: var(--font-display);
	font-size: clamp(13px, 3.6vw, 24px);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-white);
	letter-spacing: 0.06em;
	line-height: 1.1;
}

.pillar__caption {
	font-size: clamp(12px, 3.4vw, 14px);
	line-height: 1.6;
	color: var(--color-brand);
	transition: color 0.4s ease;
}

.pillar:hover .pillar__caption {
	color: var(--color-brand-darker);
}

/* Clients strip. White background (most client logos are white-boxed
 * bitmaps, not transparent) framed by brand-blue borders — owner decision
 * 2026-08-04, replacing the handoff's gray surface + hairline borders. */
.clients-strip {
	background: var(--color-white);
	border-top: 2px solid var(--color-brand);
	border-bottom: 2px solid var(--color-brand);
	text-align: center;
	padding-block: 32px;
}

.clients-strip__line {
	font-family: var(--font-display);
	font-size: clamp(22px, 2.4vw, 26px);
	font-weight: 600;
	/* Brand blue, not the handoff's near-black: on the white band with
	 * brand borders the ink read detached (owner, 2026-08-04). */
	color: var(--color-brand);
	margin: 0;
	text-wrap: balance;
}

/* Rotating client logos under the sentence. The JS shows one group at a
 * time and fades between groups; without JS the full list simply wraps. */
.clients-strip__logos {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px 48px;
	flex-wrap: wrap;
	min-height: 56px; /* keeps the band height stable while groups swap */
	opacity: 1;
	/* Gentle cross-cycle: slow ease-out entrance… */
	transition: opacity 0.8s ease-out;
}

.clients-strip__logos.is-fading {
	opacity: 0;
	/* …and a slightly quicker ease-in exit. Duration must match
	 * FADE_OUT_MS in assets/js/main.js. */
	transition-duration: 0.5s;
	transition-timing-function: ease-in;
}

.clients-strip__logos li {
	display: flex;
	align-items: center;
	justify-content: center;
}

.clients-strip__logos.is-rotating li {
	display: none;
}

.clients-strip__logos.is-rotating li.is-shown {
	display: flex;
}

.clients-strip__logos img {
	display: block;
	width: auto;
	height: auto;
	max-height: 52px;
	max-width: 150px;
	object-fit: contain;
}

/* Success cases / latest news share the plain section rhythm. */
.cases,
.news {
	background: var(--color-white);
	padding-block: 40px;
}

/* Why Elipse (blue band). */
.why {
	background: var(--color-brand-deep) linear-gradient(140deg, var(--color-brand-deep) 0%, var(--color-brand-dark) 115%);
	padding-block: 40px;
}

/* The shared 44px title/CTA rhythm (.section-title / .section-cta) also
 * serves page-cases and the CPT singles — tighten it home-only. */
.cases .section-title,
.why .section-title,
.news .section-title {
	margin-bottom: 40px;
}

.cases .section-cta,
.news .section-cta {
	margin-top: 40px;
}

/* Six in a single row on desktop, as in the handoff. Below the width where
 * six fit (the handoff's own 150px-minimum threshold) it collapses straight
 * to the owner-approved 3×2 — never the 4-2 wrap plain auto-fit produced
 * (owner decisions 2026-08-04/05). */
.why__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 36px 24px;
}

@media (max-width: 1080px) {
	.why__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.why__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
}

.why__icon {
	width: 64px;
	height: 64px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-white);
	font-size: 24px;
}

.why__label {
	font-family: var(--font-display);
	font-size: clamp(13px, 3.6vw, 18px);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.96);
	line-height: 1.3;
}

/* -------------------------------------------------------------------------
 * 8. Site footer
 * ---------------------------------------------------------------------- */

.site-footer {
	background: var(--color-ink);
	color: var(--color-gray-light);
}

.site-footer__top {
	display: flex;
	gap: 48px;
	flex-wrap: wrap;
	padding-block: 72px 56px;
}

.footer-columns {
	flex: 2 1 560px;
	min-width: 320px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 36px 28px;
}

.footer-col__title {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-white);
	margin: 0 0 16px;
}

.footer-col__title--stacked {
	margin-top: 28px;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links a {
	font-size: 12.5px;
	color: var(--color-gray-light);
	line-height: 1.45;
	transition: color 0.15s ease;
}

.footer-links a:hover {
	color: var(--color-white);
}

.footer-links__more {
	font-size: 12px;
	color: var(--color-brand-light);
	margin-top: 4px;
	display: inline-block;
	transition: color 0.15s ease;
}

.footer-links__more:hover {
	color: var(--color-white);
}

/* Newsletter column. */
.footer-newsletter {
	flex: 1 1 280px;
	min-width: 260px;
}

.footer-newsletter__title {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--color-white);
	margin: 0 0 16px;
}

.newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.newsletter-form input {
	width: 100%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--radius);
	padding: 11px 14px;
	font-size: 13px;
	color: var(--color-white);
	font-family: var(--font-body);
	outline: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.newsletter-form input::placeholder {
	color: var(--color-gray-light);
}

.newsletter-form input:focus {
	border-color: var(--color-brand-light);
	background: rgba(255, 255, 255, 0.1);
}

.newsletter-form__row {
	display: flex;
	gap: 8px;
}

.newsletter-form__row input {
	flex: 1;
	min-width: 0;
}

.newsletter-form__submit {
	background: var(--color-accent);
	border: none;
	border-radius: var(--radius);
	color: var(--color-white);
	padding: 0 18px;
	cursor: pointer;
	font-size: 15px;
	transition: background-color 0.15s ease;
}

.newsletter-form__submit:hover {
	background: var(--color-accent-light);
}

.newsletter-form__status {
	font-size: 12px;
	line-height: 1.5;
	margin: 6px 0 0;
}

.newsletter-form__status.is-success {
	color: var(--color-brand-light);
}

.newsletter-form__status.is-error {
	color: var(--color-accent-light);
}

.newsletter-form__status.is-info {
	color: var(--color-gray-light);
}

.footer-awards {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-top: 28px;
	flex-wrap: wrap;
}

.footer-awards img {
	display: block;
	height: 44px;
	width: auto;
	background: var(--color-white);
	border-radius: var(--radius);
	padding: 4px;
}

.footer-social {
	display: flex;
	gap: 16px;
	margin-top: 24px;
}

.footer-social a {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-gray-light);
	transition: color 0.15s ease;
}

.footer-social a:hover {
	color: var(--color-white);
}

/* Offices + copyright band. */
.site-footer__offices-band {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom {
	padding-block: 36px 32px;
}

.offices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 24px;
}

.office__city {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--color-white);
	margin: 0;
}

.office__phone {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--color-gray-light);
	margin-top: 6px;
}

.office__email {
	font-size: 11.5px;
	color: var(--color-brand-light);
	transition: color 0.15s ease;
}

.office__email:hover {
	color: var(--color-white);
}

.site-footer__copyright {
	text-align: center;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 12px;
	color: var(--color-gray);
}

/* -------------------------------------------------------------------------
 * 9. Cookie notice (LGPD)
 * ---------------------------------------------------------------------- */

/* Bottom bar over the page (header is z-50); revealed by JS until the
 * visitor dismisses it. */
.cookie-notice {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 60;
	background: var(--color-ink);
	box-shadow: 0 -4px 16px rgba(10, 24, 33, 0.2);
}

.cookie-notice__inner {
	display: flex;
	align-items: center;
	gap: 12px 24px;
	flex-wrap: wrap;
	padding-block: 14px;
}

.cookie-notice__text {
	flex: 1 1 320px;
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--color-gray-light);
}

.cookie-notice__more {
	color: var(--color-brand-light);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.15s ease;
}

.cookie-notice__more:hover {
	color: var(--color-white);
}

.cookie-notice__accept {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--color-accent);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius);
	padding: 9px 22px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.cookie-notice__accept:hover {
	background: var(--color-accent-light);
}

/* -------------------------------------------------------------------------
 * 10. Generic content templates (page.php / single.php / index.php / 404.php)
 * ---------------------------------------------------------------------- */

.entry {
	padding-block: 56px 72px;
}

.entry__title {
	font-family: var(--font-display);
	font-size: clamp(28px, 3.2vw, 36px);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-brand);
	line-height: 1.15;
	margin: 0 0 24px;
}

.entry__meta {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin: -12px 0 24px;
}

.entry__content {
	color: var(--color-text);
	line-height: 1.75;
	max-width: 820px;
}

.entry__content h2,
.entry__content h3,
.entry__content h4 {
	font-family: var(--font-display);
	color: var(--color-ink);
	line-height: 1.2;
	margin: 1.6em 0 0.6em;
}

.entry__content p {
	margin: 0 0 1.2em;
}

.entry__content a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry__content img {
	border-radius: var(--radius);
}

.entry__content ul,
.entry__content ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}

.entry__content li {
	margin-bottom: 0.4em;
}

.entry__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.6em;
	font-size: 14px;
	line-height: 1.5;
}

.entry__content th,
.entry__content td {
	border: 1px solid var(--color-border);
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
}

.entry__content th {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--color-ink);
	background: var(--color-surface);
}

/* Post listings (archives, search). */
.archive-list {
	padding-block: 56px 72px;
}

.archive-list .card-grid {
	margin-top: 0;
}

.pagination {
	margin-top: 44px;
	display: flex;
	gap: 12px;
	justify-content: center;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pagination .page-numbers {
	padding: 6px 10px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	color: var(--color-brand);
}

.pagination .page-numbers.current {
	background: var(--color-brand);
	border-color: var(--color-brand);
	color: var(--color-white);
}

/* 404. */
.error-404 {
	text-align: center;
	padding-block: 96px;
}

.error-404 .section-title {
	margin-bottom: 16px;
}

.error-404__text {
	color: var(--color-text);
	margin: 0 0 32px;
}

/* -------------------------------------------------------------------------
 * 11. Forms
 *
 * Two layers. (1) A low-specificity base on the raw elements so markup the
 * theme does not control (Contact Form 7 output, the legacy [countryfield]
 * tag) is presentable out of the box. (2) A `.form` component for layout and
 * states. The footer's `.newsletter-form` keeps its own dark styles — its
 * class-scoped rules win over this element base by design.
 * ---------------------------------------------------------------------- */

input[type='text'],
input[type='email'],
input[type='password'],
input[type='tel'],
input[type='search'],
input[type='url'],
input[type='number'],
input[type='date'],
select,
textarea {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-ink);
	background: var(--color-white);
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius);
	padding: 11px 14px;
	max-width: 100%;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type='text']:focus-visible,
input[type='email']:focus-visible,
input[type='password']:focus-visible,
input[type='tel']:focus-visible,
input[type='search']:focus-visible,
input[type='url']:focus-visible,
input[type='number']:focus-visible,
input[type='date']:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: none;
	border-color: var(--color-brand);
	box-shadow: 0 0 0 3px var(--color-brand-wash);
}

input::placeholder,
textarea::placeholder {
	color: var(--color-gray-light);
}

textarea {
	min-height: 140px;
	resize: vertical;
}

select {
	appearance: none;
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%233D4B57' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

input[type='checkbox'],
input[type='radio'] {
	accent-color: var(--color-brand);
	width: 16px;
	height: 16px;
}

/* Layout component. */
.form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 700px) {
	.form__row {
		grid-template-columns: 1fr;
	}
}

.form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.form__field input,
.form__field select,
.form__field textarea {
	width: 100%;
}

.form__label {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--color-ink);
}

.form__label abbr {
	color: var(--color-accent-dark);
	text-decoration: none;
}

.form__check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--color-text);
}

.form__check input {
	flex-shrink: 0;
	margin-top: 2px;
}

.form__hint {
	font-size: 12px;
	color: var(--color-gray);
}

/* Per-field validation message (shown/hidden by forms.js). */
.form__error {
	font-size: 12.5px;
	color: var(--color-accent-dark);
}

.form .is-invalid {
	border-color: var(--color-accent-dark);
}

/* Form-level status message ([data-form-status]); mirrors the newsletter's
 * kind classes so JS can share the notice() helper. */
.form-status {
	border-radius: var(--radius);
	padding: 12px 16px;
	font-size: 14px;
	line-height: 1.55;
}

.form-status.is-info {
	background: var(--color-surface);
	color: var(--color-text);
}

.form-status.is-success {
	background: var(--color-brand-wash);
	color: var(--color-brand-dark);
}

.form-status.is-error {
	background: #FBEEE3; /* accent at ~12% over white; no wash token exists for orange */
	color: var(--color-accent-dark);
}

/* Site search form (searchform.php: header panel + drawer). */
.search-form {
	display: flex;
	gap: 8px;
}

.search-form__field {
	flex: 1;
	min-width: 0;
}

.search-form__submit {
	background: var(--color-brand);
	border: none;
	border-radius: var(--radius);
	color: var(--color-white);
	padding: 0 18px;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.15s ease;
}

.search-form__submit:hover {
	background: var(--color-brand-dark);
}

/* -------------------------------------------------------------------------
 * 12. Internal pages (page header + breadcrumb)
 * ---------------------------------------------------------------------- */

.page-header {
	padding-block: 40px 8px;
}

.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-gray);
}

.breadcrumb__list a {
	color: var(--color-gray);
	transition: color 0.15s ease;
}

.breadcrumb__list a:hover {
	color: var(--color-brand);
}

.breadcrumb__list li + li::before {
	content: '›';
	margin-inline: 6px 10px;
	color: var(--color-gray-light);
}

.page-header__title {
	font-family: var(--font-display);
	font-size: clamp(28px, 3.2vw, 36px);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-brand);
	line-height: 1.15;
	margin: 0;
}

.page-header__intro {
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-text);
	max-width: 820px;
	margin: 16px 0 0;
}

/* When the page header precedes an .entry, the entry's own top padding
 * would double the gap. */
.page-header + .entry,
.page-header + .archive-list {
	padding-block-start: 24px;
}

/* GET filter bar (vagas, parceiros). */
.filter-bar {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 0 36px;
}

.filter-bar select {
	min-width: min(280px, 100%);
}

/* Job openings rows, grouped under a .section-subtitle per city. */
.vacancies {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

.vacancy-row {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	border-bottom: 1px solid var(--color-border);
}

.vacancy-row__text strong {
	font-family: var(--font-display);
	font-size: 17px;
	color: var(--color-ink);
}

.vacancy-row__text p {
	margin: 4px 0 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--color-text);
}

.vacancy-row > .btn {
	flex-shrink: 0;
}

@media (max-width: 700px) {
	.vacancy-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}

/* Partner directory cards. */
.partners {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.partner-card {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 24px 28px;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card-base);
}

/* Betoneira-authored HTML: keep its inner rhythm tame. */
.partner-card__text {
	flex: 1 1 320px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--color-text);
}

.partner-card__text p {
	margin: 0 0 0.5em;
}

.partner-card__certs {
	display: flex;
	gap: 14px;
	align-items: center;
	flex-wrap: wrap;
}

.partner-card__certs img {
	display: block;
	max-height: 64px;
	width: auto;
}

/* Action buttons row above/below entry content (e.g. company PDFs). */
.entry__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 0 36px;
}

/* Left-accented sub-heading inside internal pages (legacy
 * title-type-three-blue-border-left). */
.section-subtitle {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--color-brand);
	border-left: 3px solid var(--color-accent);
	padding-left: 14px;
	line-height: 1.2;
	margin: 44px 0 20px;
}

/* Support shortcuts (page-suporte): icon cards. */
.support-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
	gap: 20px;
	list-style: none;
	margin: 0 0 36px;
	padding: 0;
}

.support-links__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 28px 16px;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card-base);
	color: var(--color-ink);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.support-links__item:hover {
	color: var(--color-brand);
	transform: translateY(-3px);
	border-color: var(--color-brand-light);
	box-shadow: var(--shadow-card-hover-soft);
}

.support-links__item i {
	font-size: 32px;
	color: var(--color-brand);
}

.support-links__item span {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Full-width CTA band on internal pages (same family as the .why band). */
.page-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 44px 24px;
	margin: 0 0 36px;
	border-radius: var(--radius);
	background: var(--color-brand-deep) linear-gradient(140deg, var(--color-brand-deep) 0%, var(--color-brand-dark) 115%);
}

/* Login card. */
.login-card {
	max-width: 440px;
}

.login-card .form-status {
	margin-bottom: 20px;
}

.login-card__links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin: 20px 0 0;
	font-size: 13.5px;
}

/* -------------------------------------------------------------------------
 * 13. Blog & search (layout, sidebar, share links)
 * ---------------------------------------------------------------------- */

.blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
	gap: 48px;
	padding-block: 24px 72px;
}

@media (max-width: 1080px) {
	.blog-layout {
		grid-template-columns: 1fr;
	}
}

/* One card per row inside the narrower main column. */
.blog-layout__grid {
	grid-template-columns: 1fr;
}

/* Sticky under the sticky header (74px main bar + breathing room); sticks
 * only when the column is shorter than the viewport, which position:sticky
 * handles on its own — theia-sticky-sidebar is gone.  */
.blog-sidebar {
	position: sticky;
	top: 98px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.sidebar-panel {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 22px 24px;
}

.sidebar-panel__title {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-brand);
	margin: 0 0 14px;
}

.sidebar-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sidebar-links a {
	font-size: 13.5px;
	color: var(--color-text);
	transition: color 0.15s ease;
}

.sidebar-links a:hover {
	color: var(--color-brand);
}

.sidebar-posts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sidebar-post {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sidebar-post__thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	margin-bottom: 8px;
}

.sidebar-post__title {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
	transition: color 0.15s ease;
}

.sidebar-post__title:hover {
	color: var(--color-brand);
}

.sidebar-post__date {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	color: var(--color-accent);
}

/* Share links (single post, CPT singles). */
.share-links {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--color-border);
}

.share-links__label {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-gray);
}

.share-links a {
	font-size: 22px;
	color: var(--color-gray);
	transition: color 0.15s ease;
}

.share-links a:hover {
	color: var(--color-brand);
}

/* Search results page. */
.search-page__form {
	max-width: 560px;
	margin: 0 0 36px;
}

.news-card__badge {
	align-self: flex-start;
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-brand-dark);
	background: var(--color-brand-wash);
	border-radius: var(--radius);
	padding: 3px 8px;
}

/* -------------------------------------------------------------------------
 * 14. CPT singles (banner, tabs, media slider, related, datasheet, CTA band)
 * ---------------------------------------------------------------------- */

.single-cpt {
	padding-block: 24px 56px;
	display: flex;
	flex-direction: column;
	gap: 44px;
}

.single-cpt .breadcrumb__list {
	margin-bottom: 0;
}

/* Intro row: lead paragraph + action buttons (produto) or client logo (case). */
.single-cpt__intro {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
}

.single-cpt__lead {
	flex: 1 1 480px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--color-text);
	max-width: 820px;
}

.single-cpt__lead p {
	margin: 0;
}

.single-cpt__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 0 1 300px;
}

.single-cpt__actions .btn {
	text-align: center;
}

.single-cpt__client-logo {
	flex: 0 1 260px;
	display: flex;
	justify-content: center;
}

.single-cpt__client-logo img {
	max-height: 120px;
	width: auto;
}

/* Internal banner (solução/indústria): photo under the brand gradient. */
.page-banner {
	position: relative;
	background-color: var(--color-brand-deep);
	background-size: cover;
	background-position: center;
	min-height: 320px;
	display: flex;
	align-items: center;
}

.page-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	/* Gradient stops mirror the hero wash (brand-deep/brand-dark, rgba). */
	background: linear-gradient(80deg, rgba(1, 46, 77, 0.92) 0%, rgba(0, 90, 148, 0.55) 55%, rgba(1, 46, 77, 0.15) 100%);
}

.page-banner__inner {
	position: relative;
	padding-block: 56px;
	max-width: var(--container-max);
}

.page-banner__kicker {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-brand-light);
	margin: 0 0 8px;
}

.page-banner__title {
	font-family: var(--font-display);
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-white);
	line-height: 1.1;
	margin: 0;
}

.page-banner__subtitle {
	font-family: var(--font-display);
	font-size: clamp(17px, 1.8vw, 22px);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
	margin: 10px 0 0;
}

.page-banner__text {
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
	max-width: 560px;
	margin: 18px 0 0;
}

.page-banner :focus-visible {
	outline-color: var(--color-white);
}

/* Tabs. */
.tabs__strip {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: thin;
	border-bottom: 2px solid var(--color-border);
}

.tabs__tab {
	flex-shrink: 0;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-text);
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 12px 20px 10px;
	margin-bottom: -2px;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.tabs__tab:hover,
.tabs__tab.is-active {
	color: var(--color-brand);
	border-bottom-color: var(--color-brand);
}

.tabs__panel {
	padding-top: 24px;
}

/* Media slider: scroll-snap track + floating arrows. */
.media-slider {
	position: relative;
}

.media-slider__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	list-style: none;
	margin: 0;
	padding: 0;
}

.media-slider__slide {
	flex: 0 0 100%;
	scroll-snap-align: center;
}

.media-slider__slide img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
}

.media-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(10, 24, 33, 0.55);
	color: var(--color-white);
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.media-slider__arrow:hover {
	background: rgba(10, 24, 33, 0.8);
}

.media-slider__arrow--prev {
	left: 12px;
}

.media-slider__arrow--next {
	right: 12px;
}

/* YouTube facade. */
.yt-facade {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	border: none;
	border-radius: var(--radius);
	overflow: hidden;
	cursor: pointer;
	background: var(--color-ink);
}

.yt-facade img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.yt-facade:hover img {
	opacity: 1;
}

.yt-facade__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: var(--color-white);
}

.yt-facade__play i {
	width: 68px;
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(232, 119, 34, 0.92); /* accent at banner alpha */
}

.yt-facade__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Related links columns. */
.related-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 8px 48px;
}

.related-links__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.related-links__col a {
	font-size: 14.5px;
}

.related-links__col a::before {
	content: '›';
	margin-right: 8px;
	color: var(--color-accent);
}

/* CTA band (testimonial + buttons). */
.cta-band {
	background: var(--color-brand-deep) linear-gradient(140deg, var(--color-brand-deep) 0%, var(--color-brand-dark) 115%);
	padding-block: 52px;
}

.cta-band__inner {
	display: flex;
	gap: 40px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.cta-band__inner--centered {
	justify-content: center;
}

.cta-band__quote {
	flex: 1 1 420px;
	margin: 0;
}

.cta-band__quote p {
	font-family: var(--font-display);
	font-size: clamp(17px, 1.9vw, 22px);
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-white);
	margin: 0 0 14px;
}

.cta-band__quote footer strong {
	display: block;
	font-size: 14px;
	color: var(--color-brand-light);
}

.cta-band__quote footer span {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.75);
}

.cta-band__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cta-band :focus-visible {
	outline-color: var(--color-white);
}

/* Related case items: card + meta footer. */
.related-case {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.related-case__meta {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--color-gray);
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.related-case__meta div {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.related-case__meta dt {
	font-weight: 600;
	color: var(--color-text);
}

.related-case__meta dd {
	margin: 0;
}

/* Datasheet (case "ficha técnica"). */
.datasheet {
	margin: 0;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.datasheet__row {
	display: grid;
	grid-template-columns: minmax(140px, 240px) 1fr;
	gap: 16px;
	padding: 12px 18px;
	font-size: 14px;
	line-height: 1.6;
}

.datasheet__row:nth-child(odd) {
	background: var(--color-surface);
}

.datasheet__row dt {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--color-ink);
}

.datasheet__row dd {
	margin: 0;
	color: var(--color-text);
}

@media (max-width: 560px) {
	.datasheet__row {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

/* -------------------------------------------------------------------------
 * 15. Account forms & contact (cascade containers, offices map)
 * ---------------------------------------------------------------------- */

.account-form {
	max-width: 880px;
}

/* Optional form area behind a native <details> (billing on signup/profile:
 * only the purchase/invoice flows ever need it, so it starts collapsed and
 * the form stays short). Fields inside still serialize when closed. */
.form-disclosure {
	margin-top: 36px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-surface);
}

.form-disclosure__summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none; /* Firefox marker */
}

.form-disclosure__summary::-webkit-details-marker {
	display: none;
}

.form-disclosure__summary::after {
	content: '\203A';
	margin-left: auto;
	font-size: 24px;
	line-height: 1;
	color: var(--color-gray);
	transition: transform 0.2s ease;
}

.form-disclosure[open] .form-disclosure__summary::after {
	transform: rotate(90deg);
}

.form-disclosure__title {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--color-brand);
	margin: 0;
}

.form-disclosure__tag {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-gray);
	border: 1px solid var(--color-border-strong);
	border-radius: 999px;
	padding: 3px 10px;
}

.form-disclosure__body {
	padding: 4px 20px 20px;
}

.form-disclosure__note {
	font-size: 13px;
	line-height: 1.6;
	color: var(--color-gray);
	margin: 0 0 16px;
}

.form__section-title {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--color-text);
	margin: 20px 0 4px;
}

/* Markup injected by the legacy loader_billing/loader_uf endpoints comes
 * with the old grid classes; inside .result_billing everything simply
 * stacks with the base input styles. */
.result_billing input,
.result_billing select {
	width: 100%;
	margin-bottom: 12px;
}

.result_billing p {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--color-text);
	margin: 20px 0 8px;
}

/* Busy state while a cascade fragment loads. */
.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

/* Offices map (contato). */
.offices-map {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
	gap: 32px;
	margin-top: 8px;
}

@media (max-width: 900px) {
	.offices-map {
		grid-template-columns: 1fr;
	}
}

.offices-map__canvas {
	min-height: 380px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.offices-map__canvas:empty::after {
	content: '';
	display: block;
}

.offices-map__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 16px;
	align-content: start;
}

.office-card {
	text-align: left;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 16px 18px;
	cursor: pointer;
	font-family: var(--font-body);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.office-card:hover {
	border-color: var(--color-brand-light);
}

.office-card.is-selected {
	border-color: var(--color-brand);
	box-shadow: 0 0 0 2px var(--color-brand-wash);
}

.office-card h3 {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-brand);
	margin: 0 0 6px;
}

.office-card p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--color-text);
}

/* File-upload label (trabalhe-conosco). */
.file-upload {
	display: inline-block;
	width: auto;
}

input.screen-reader-text:focus-visible + .form__hint,
#curriculum:focus-visible ~ .file-upload {
	outline: 2px solid var(--color-brand);
	outline-offset: 2px;
}

/* -------------------------------------------------------------------------
 * 16. Trainings & downloads (data tables, download defs, venue)
 * ---------------------------------------------------------------------- */

/* Wide tables scroll inside their own container. */
.table-wrap {
	overflow-x: auto;
	margin: 0 0 24px;
}

.data-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.5;
}

.data-table th,
.data-table td {
	border-bottom: 1px solid var(--color-border);
	padding: 12px 14px;
	text-align: left;
	vertical-align: top;
	white-space: nowrap;
}

.data-table td:first-child,
.data-table th:first-child {
	white-space: normal;
}

.data-table th {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-ink);
	background: var(--color-surface);
}

.data-table tbody tr:hover {
	background: var(--color-surface);
}

/* Download definitions. */
.download-def {
	padding: 20px 0;
	border-bottom: 1px solid var(--color-border);
}

.download-def__title {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 700;
	color: var(--color-ink);
	margin: 0 0 6px;
}

.download-def__desc {
	font-size: 14px;
	color: var(--color-text);
	margin: 0 0 16px;
}

.download-def__more {
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--font-mono);
	font-size: 11.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-brand);
	padding: 4px 0;
}

.download-def__more:hover {
	color: var(--color-brand-dark);
}

/* Training venue: address + embedded map side by side. */
.training-venue {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 32px;
	margin-top: 8px;
}

.training-venue__map iframe {
	width: 100%;
	min-height: 300px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

/* CPF/passport radio pair (confirmação de dados). */
.identifier-toggle {
	display: flex;
	gap: 20px;
	margin-bottom: 8px;
	font-size: 14px;
	color: var(--color-text);
}

.identifier-toggle label {
	display: flex;
	gap: 6px;
	align-items: center;
}
