/* ==========================================================================
   Eduardo Gonçalves — Psicologia · base layer (all screens)
   Values come from Personalizar site (CSS variables printed inline).
   desktop.css and mobile.css are loaded with media queries built from the
   breakpoint chosen in the panel.

   1. Reset and base          7. Section components
   2. Typography              8. Content area (block editor)
   3. Layout helpers          9. Footer, pre-footer, bars
   4. Buttons and links      10. Overlays: peek panel, lightbox
   5. Header (shared)        11. Animations
   6. Banners and slider     12. Utilities
   ========================================================================== */

/* 1. Reset and base ======================================================= */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: var(--fs-base);
	line-height: var(--lh);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	--c-line: color-mix(in srgb, var(--c-text) 14%, transparent);
	--c-line-strong: color-mix(in srgb, var(--c-text) 28%, transparent);
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--h1: calc(var(--fs-base) * var(--scale) * var(--scale) * var(--scale) * var(--scale) * var(--scale));
	--h2: calc(var(--fs-base) * var(--scale) * var(--scale) * var(--scale) * var(--scale));
	--h3: calc(var(--fs-base) * var(--scale) * var(--scale));
	--h4: calc(var(--fs-base) * var(--scale));
	--small: calc(var(--fs-base) * .82);
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	display: block;
	height: auto;
}

a {
	color: inherit;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--c-primary);
	outline-offset: 3px;
}

::selection {
	background: var(--c-secondary);
	color: var(--c-text);
}

.egt-main:focus {
	outline: none;
}

.egt-gray img:not(.egt-logo__img) {
	filter: grayscale(1);
}

/* 2. Typography =========================================================== */

h1,
h2,
h3,
h4,
.egt-head__title,
.egt-heading__title {
	font-family: var(--f-heading);
	font-weight: var(--heading-weight);
	text-transform: var(--heading-case);
	letter-spacing: var(--heading-track);
	line-height: 1.08;
	margin: 0 0 .5em;
	text-wrap: balance;
}

h1 {
	font-size: var(--h1);
}

h2,
.egt-head__title {
	font-size: var(--h2);
}

h3 {
	font-size: var(--h3);
	line-height: 1.18;
}

h4 {
	font-size: var(--h4);
	line-height: 1.25;
}

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

.egt-kicker,
.egt-label {
	font-family: var(--f-menu);
	font-size: var(--small);
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	color: var(--c-muted);
	margin: 0 0 1.2em;
}

.egt-note {
	font-size: var(--small);
	color: var(--c-muted);
}

/* 3. Layout helpers ======================================================= */

.egt-wrap {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.egt-site-encaixotado .egt-site {
	max-width: calc(var(--container) + 2 * var(--gutter) + 80px);
	margin-inline: auto;
	box-shadow: 0 0 0 1px var(--c-line);
}

.egt-head {
	max-width: 44rem;
	margin-bottom: clamp(32px, 4vw, 64px);
}

.egt-head--row {
	max-width: none;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 32px;
}

.egt-head--row .egt-head__title {
	margin: 0;
}

.egt-head__intro {
	color: var(--c-muted);
	font-size: calc(var(--fs-base) * 1.08);
	max-width: 40em;
}

.egt-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.egt-actions--center {
	justify-content: center;
}

.egt-actions--right {
	justify-content: flex-end;
}

/* 4. Buttons and links ===================================================== */

.egt-btn {
	--b-bg: var(--c-btn-bg);
	--b-fg: var(--c-btn-text);
	--b-bd: var(--c-btn-bg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	border: 1px solid var(--b-bd);
	border-radius: var(--btn-radius);
	background: var(--b-bg);
	color: var(--b-fg);
	font-family: var(--f-menu);
	font-size: var(--menu-size);
	font-weight: 500;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: color .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}

.egt-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: currentColor;
	opacity: 0;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .5s var(--ease-out), opacity .3s;
}

.egt-btn:hover::before {
	opacity: .1;
	transform: scaleX(1);
}

.egt-btn .egt-icon {
	width: 1.2em;
	height: 1.2em;
}

.egt-btn--outline,
.egt-btn-linha .egt-btn--solid {
	--b-bg: transparent;
	--b-fg: var(--c-text);
	--b-bd: var(--c-line-strong);
}

.egt-btn--light {
	--b-bg: #fff;
	--b-fg: #161a12;
	--b-bd: #fff;
}

.egt-btn--outline-light {
	--b-bg: transparent;
	--b-fg: #fff;
	--b-bd: rgba(255, 255, 255, .6);
}

.egt-btn--text {
	--b-bg: transparent;
	--b-fg: var(--c-text);
	--b-bd: transparent;
	padding-inline: 0;
	min-height: 40px;
	text-decoration: underline;
	text-underline-offset: .45em;
	text-decoration-thickness: 1px;
}

.egt-btn--text::before {
	display: none;
}

.egt-btn--header {
	--b-bg: transparent;
	--b-fg: var(--c-header-text);
	--b-bd: color-mix(in srgb, var(--c-header-text) 45%, transparent);
}

.egt-link {
	font-family: var(--f-menu);
	font-size: var(--menu-size);
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 4px;
	transition: background-size .5s var(--ease-out);
}

.egt-link:hover {
	background-size: 30% 1px;
}

.egt-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--btn-radius);
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color .3s, color .3s;
}

.egt-icon-btn:hover {
	background: var(--c-text);
	color: var(--c-bg);
}

.egt-icon-btn:disabled {
	opacity: .35;
	cursor: default;
}

/* 5. Header (shared) ======================================================= */

.egt-skip {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 1000;
	padding: 12px 16px;
	background: var(--c-text);
	color: var(--c-bg);
}

.egt-skip:focus {
	top: 12px;
}

.egt-header {
	z-index: 100;
	background: var(--c-header-bg);
	color: var(--c-header-text);
}

.egt-header a:not(.egt-btn) {
	color: inherit;
}

.egt-header a {
	text-decoration: none;
}

.egt-logo {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.05;
	text-decoration: none;
}

.egt-logo__img {
	height: var(--logo-h);
	width: auto;
	max-width: 260px;
	object-fit: contain;
}

.egt-logo__name {
	font-family: var(--f-heading);
	font-size: calc(var(--logo-h) * .58);
	font-weight: var(--heading-weight);
	letter-spacing: var(--heading-track);
}

.egt-logo__role {
	font-family: var(--f-menu);
	font-size: 11px;
	text-transform: var(--menu-case);
	letter-spacing: .22em;
	opacity: .7;
	margin-top: 6px;
}

.egt-menu,
.egt-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.egt-menu a {
	font-family: var(--f-menu);
	font-size: var(--menu-size);
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	position: relative;
}

.egt-menu .current-menu-item > a,
.egt-menu .current_page_item > a,
.egt-menu .current-menu-ancestor > a {
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
}

.egt-sub-toggle {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	opacity: .75;
}

.egt-sub-toggle::before {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .3s var(--ease);
}

.egt-sub-toggle[aria-expanded="true"]::before {
	transform: translateY(2px) rotate(-135deg);
}

.egt-menu-btn,
.egt-peek-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 4px;
	border: 0;
	background: transparent;
	color: inherit;
	font-family: var(--f-menu);
	font-size: 12px;
	text-transform: var(--menu-case);
	letter-spacing: .2em;
	cursor: pointer;
}

.egt-menu-btn__lines {
	display: grid;
	gap: 5px;
	width: 26px;
}

.egt-menu-btn__lines span {
	height: 1.5px;
	background: currentColor;
	transition: transform .35s var(--ease), opacity .2s;
}

.egt-menu-btn[aria-expanded="true"] .egt-menu-btn__lines span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}

.egt-menu-btn[aria-expanded="true"] .egt-menu-btn__lines span:nth-child(2) {
	opacity: 0;
}

.egt-menu-btn[aria-expanded="true"] .egt-menu-btn__lines span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

.egt-header__bio {
	font-size: 13px;
	line-height: 1.7;
	opacity: .78;
}

.egt-header__bio-title {
	font-family: var(--f-menu);
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	font-size: 12px;
	opacity: .85;
	margin-bottom: .6em;
}

.egt-social {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.egt-social a {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	color: inherit;
	opacity: .85;
	transition: opacity .2s, transform .3s var(--ease);
}

.egt-social a:hover {
	opacity: 1;
	transform: translateY(-2px);
}

.egt-search {
	display: flex;
	align-items: center;
	border-bottom: 1px solid currentColor;
	max-width: 22rem;
}

.egt-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 10px 0;
}

.egt-search input:focus {
	outline: none;
}

.egt-search button {
	border: 0;
	background: transparent;
	padding: 8px;
	cursor: pointer;
	color: inherit;
}

/* 6. Banners and slider ==================================================== */

.egt-banner {
	position: relative;
	display: grid;
	min-height: var(--bh, 100vh);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
	background: var(--c-header-bg);
}

.egt-banner__media,
.egt-banner__overlay {
	position: absolute;
	inset: 0;
}

.egt-banner__media {
	z-index: -2;
}

.egt-banner__media img,
.egt-banner__media picture {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--fx) var(--fy);
}

.egt-banner__overlay {
	z-index: -1;
	background: var(--ov);
	opacity: var(--ovo);
}

.egt-banner--ov-gradiente-baixo .egt-banner__overlay {
	background: linear-gradient(to top, var(--ov), transparent 80%);
	opacity: min(1, calc(var(--ovo) * 2.2));
}

.egt-banner--ov-gradiente-lado .egt-banner__overlay {
	background: linear-gradient(to right, var(--ov), transparent 85%);
	opacity: min(1, calc(var(--ovo) * 2.2));
}

.egt-banner--ov-gradiente-lado.egt-banner--h-right .egt-banner__overlay {
	background: linear-gradient(to left, var(--ov), transparent 85%);
}

.egt-banner--ov-nenhuma .egt-banner__overlay {
	display: none;
}

.egt-banner--text-escuro {
	color: #171b13;
}

.egt-banner__inner {
	display: grid;
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding: calc(var(--header-h) + 32px) var(--gutter) clamp(48px, 7vw, 110px);
}

.egt-banner--v-top .egt-banner__inner {
	align-items: start;
}

.egt-banner--v-center .egt-banner__inner {
	align-items: center;
}

.egt-banner--v-bottom .egt-banner__inner {
	align-items: end;
}

.egt-banner--h-center .egt-banner__inner {
	justify-items: center;
	text-align: center;
}

.egt-banner--h-right .egt-banner__inner {
	justify-items: end;
	text-align: right;
}

.egt-banner__content {
	max-width: 46rem;
}

.egt-banner__title {
	font-family: var(--f-heading);
	font-size: var(--fs-display);
	font-weight: var(--heading-weight);
	text-transform: var(--heading-case);
	letter-spacing: var(--heading-track);
	line-height: 1.02;
	margin: 0 0 .35em;
	color: inherit;
}

p.egt-banner__title {
	margin-bottom: .35em;
}

.egt-banner__text {
	font-size: calc(var(--fs-base) * 1.12);
	max-width: 36em;
	opacity: .92;
	margin-bottom: 28px;
}

.egt-banner--h-center .egt-banner__text {
	margin-inline: auto;
}

.egt-banner--h-center .egt-banner__actions {
	justify-content: center;
}

.egt-banner--h-right .egt-banner__actions {
	justify-content: flex-end;
}

.egt-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.egt-banner--text-escuro .egt-btn--outline-light {
	--b-fg: #171b13;
	--b-bd: rgba(23, 27, 19, .5);
}

.egt-slider {
	position: relative;
	background: var(--c-header-bg);
}

.egt-slider__track {
	display: grid;
}

.egt-slider__slide {
	grid-area: 1 / 1;
	visibility: hidden;
	opacity: 0;
	transition: opacity 1.2s var(--ease), visibility 0s 1.2s;
}

.egt-slider__slide.is-active {
	visibility: visible;
	opacity: 1;
	transition-delay: 0s;
	z-index: 1;
}

.egt-slider--slide .egt-slider__slide {
	opacity: 1;
	transform: translateX(100%);
	transition: transform 1s var(--ease-out), visibility 0s 1s;
}

.egt-slider--slide .egt-slider__slide.is-active {
	transform: none;
	transition-delay: 0s;
}

.egt-slider--slide .egt-slider__slide.is-prev {
	transform: translateX(-100%);
	visibility: visible;
}

.egt-slider__slide.is-active .egt-banner__media img {
	animation: egt-kb 9s var(--ease) both;
}

.egt-slider__controls {
	position: absolute;
	right: var(--gutter);
	bottom: clamp(20px, 3vw, 44px);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
}

.egt-slider__arrow,
.egt-slider__pause {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: var(--btn-radius);
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color .3s;
}

.egt-slider__arrow:hover,
.egt-slider__pause:hover {
	background: rgba(255, 255, 255, .14);
}

.egt-slider__pause-ico {
	width: 10px;
	height: 12px;
	border-left: 3px solid currentColor;
	border-right: 3px solid currentColor;
}

.egt-slider__pause[aria-pressed="true"] .egt-slider__pause-ico {
	border: 0;
	width: 0;
	height: 0;
	border-left: 10px solid currentColor;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
}

.egt-slider__count {
	font-family: var(--f-menu);
	font-size: 13px;
	letter-spacing: .18em;
	min-width: 64px;
	text-align: center;
}

.egt-slider__dots {
	display: flex;
	gap: 6px;
	margin-left: 8px;
}

.egt-slider__dots button {
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	position: relative;
}

.egt-slider__dots button::before {
	content: "";
	position: absolute;
	left: 3px;
	right: 3px;
	top: 50%;
	height: 2px;
	background: rgba(255, 255, 255, .4);
}

.egt-slider__dots button[aria-current="true"]::before {
	background: #fff;
}

/* Page banner (pages, blog, articles) */
.egt-pagebanner {
	position: relative;
	display: grid;
	isolation: isolate;
	overflow: hidden;
}

.egt-pagebanner--foto {
	min-height: var(--banner-h);
	color: #fff;
	background: var(--c-header-bg);
}

.egt-pagebanner__media,
.egt-pagebanner__overlay {
	position: absolute;
	inset: 0;
}

.egt-pagebanner__media {
	z-index: -2;
}

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

.egt-pagebanner__overlay {
	z-index: -1;
	background: linear-gradient(to top, var(--c-overlay), color-mix(in srgb, var(--c-overlay) 25%, transparent) 70%);
	opacity: .85;
}

.egt-pagebanner__inner {
	align-self: end;
	padding-top: calc(var(--header-h) + 48px);
	padding-bottom: clamp(40px, 6vw, 96px);
}

.egt-pagebanner--center .egt-pagebanner__inner {
	text-align: center;
}

.egt-pagebanner--center .egt-crumbs ol,
.egt-pagebanner--center .egt-actions {
	justify-content: center;
}

.egt-pagebanner--center .egt-pagebanner__lead {
	margin-inline: auto;
}

.egt-pagebanner--texto {
	background: var(--c-surface);
	border-bottom: 1px solid var(--c-line);
}

.egt-pagebanner--texto .egt-pagebanner__inner {
	padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px));
}

.egt-pagebanner__title {
	overflow-wrap: break-word;
	font-size: calc(var(--fs-display) * .92);
	line-height: 1.03;
	margin: 0 0 .35em;
	max-width: 18ch;
	color: inherit;
}

.egt-pagebanner--center .egt-pagebanner__title {
	margin-inline: auto;
}

.egt-pagebanner__lead {
	font-size: calc(var(--fs-base) * 1.12);
	max-width: 38em;
	opacity: .9;
}

.egt-pagebanner__meta {
	font-family: var(--f-menu);
	font-size: 13px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	opacity: .85;
}

.egt-pagebanner__meta a {
	color: inherit;
}

.egt-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	font-family: var(--f-menu);
	font-size: 12px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	opacity: .78;
}

.egt-crumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 6px;
	opacity: .6;
}

.egt-crumbs a {
	color: inherit;
	text-decoration: none;
}

.egt-crumbs a:hover {
	text-decoration: underline;
}

/* 7. Section components ===================================================== */

.egt-c {
	padding-block: var(--section);
}

.egt-c--full,
.egt-c--banner,
.egt-c--slider {
	padding-block: 0;
}

.egt-c--carousel {
	padding-block: calc(var(--section) * .6);
}

.egt-pt-nenhum {
	padding-top: 0 !important;
}

.egt-pb-nenhum {
	padding-bottom: 0 !important;
}

.egt-pt-pequeno {
	padding-top: calc(var(--section) * .4) !important;
}

.egt-pb-pequeno {
	padding-bottom: calc(var(--section) * .4) !important;
}

.egt-pt-grande {
	padding-top: calc(var(--section) * 1.6) !important;
}

.egt-pb-grande {
	padding-bottom: calc(var(--section) * 1.6) !important;
}

.egt-bg-surface {
	background: var(--c-surface);
}

.egt-bg-secondary {
	background: var(--c-secondary);
}

.egt-bg-primary,
.egt-bg-dark {
	background: var(--c-primary);
	color: #fff;
	--c-text: #fff;
	--c-muted: rgba(255, 255, 255, .72);
	--c-line: rgba(255, 255, 255, .18);
	--c-line-strong: rgba(255, 255, 255, .4);
}

.egt-bg-dark {
	background: var(--c-header-bg);
	color: var(--c-header-text);
	--c-text: var(--c-header-text);
}

.egt-bg-primary .egt-btn--solid,
.egt-bg-dark .egt-btn--solid {
	--b-bg: #fff;
	--b-fg: #161a12;
	--b-bd: #fff;
}

/* Carousel (horizontal strip) */
.egt-carousel__head {
	margin-bottom: 32px;
}

.egt-carousel__viewport {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	cursor: grab;
}

.egt-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.egt-carousel__viewport.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.egt-carousel__viewport.is-dragging a {
	pointer-events: none;
}

.egt-carousel__track {
	display: flex;
	gap: var(--gap);
	list-style: none;
	margin: 0;
	padding: 0;
}

.egt-carousel__item {
	flex: none;
	width: var(--iw, 30vw);
	scroll-snap-align: start;
}

.egt-carousel--w-estreito {
	--iw: 22vw;
}

.egt-carousel--w-largo {
	--iw: 44vw;
}

.egt-carousel__card {
	position: relative;
	display: block;
	color: inherit;
	text-decoration: none;
}

.egt-carousel__media {
	display: block;
	height: var(--ih, 78vh);
	overflow: hidden;
	background: var(--c-surface);
}

.egt-carousel--h-tela {
	--ih: calc(100vh - var(--section) * 1.2);
}

.egt-carousel--h-media {
	--ih: 56vh;
}

.egt-carousel__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease-out), filter .8s var(--ease);
}

a.egt-carousel__card:hover .egt-carousel__media img {
	transform: scale(1.05);
}

.egt-carousel__caption {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 16px;
}

.egt-carousel--cap-hover .egt-carousel__caption,
.egt-carousel--cap-sempre .egt-carousel__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 24px 24px;
	color: #fff;
	background: linear-gradient(to top, rgba(10, 12, 8, .78), transparent);
}

.egt-carousel__title {
	font-family: var(--f-heading);
	font-size: var(--h3);
	line-height: 1.1;
}

.egt-carousel__text {
	font-size: var(--small);
	opacity: .85;
}

.egt-carousel__nav {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 24px;
}

.egt-carousel__progress {
	flex: 1;
	height: 1px;
	background: var(--c-line);
	position: relative;
}

.egt-carousel__progress span {
	position: absolute;
	left: 0;
	top: -1px;
	height: 3px;
	width: var(--p, 20%);
	background: var(--c-text);
	transition: width .3s;
}

/* Gallery */
.egt-gallery {
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 12px;
}

.egt-gallery--grade {
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
}

.egt-gallery--grade img {
	aspect-ratio: 1;
	width: 100%;
	object-fit: cover;
}

.egt-gallery--alvenaria {
	columns: var(--cols);
	column-gap: 12px;
}

.egt-gallery--alvenaria .egt-gallery__item {
	break-inside: avoid;
	margin-bottom: 12px;
}

.egt-gallery--faixa {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.egt-gallery--faixa .egt-gallery__item {
	flex: none;
	width: min(70vw, 420px);
	scroll-snap-align: start;
}

.egt-gallery figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--img-radius);
}

.egt-gallery a {
	display: block;
	overflow: hidden;
}

.egt-gallery img {
	width: 100%;
	transition: transform 1.2s var(--ease-out);
}

.egt-gallery a:hover img {
	transform: scale(1.04);
}

.egt-gallery figcaption {
	font-size: var(--small);
	color: var(--c-muted);
	padding-top: 8px;
}

/* Profile and media + text */
.egt-profile,
.egt-mt {
	display: grid;
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
}

.egt-profile__media,
.egt-mt__media {
	margin: 0;
	overflow: hidden;
	border-radius: var(--img-radius);
}

.egt-profile__media img,
.egt-mt__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 3 / 4;
}

.egt-profile--quadrado .egt-profile__media img,
.egt-mt--quadrado .egt-mt__media img {
	aspect-ratio: 1;
}

.egt-mt--paisagem .egt-mt__media img {
	aspect-ratio: 3 / 2;
}

.egt-profile--arco .egt-profile__media,
.egt-mt--arco .egt-mt__media {
	border-radius: 999px 999px var(--img-radius) var(--img-radius) / 50vw 50vw var(--img-radius) var(--img-radius);
}

.egt-profile__name {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-family: var(--f-heading);
	font-size: var(--h3);
	font-style: italic;
	margin-bottom: 24px;
}

.egt-profile__name span {
	font-family: var(--f-menu);
	font-style: normal;
	font-size: 12px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	color: var(--c-muted);
}

.egt-profile__text,
.egt-mt__text {
	color: var(--c-muted);
	max-width: 38em;
	margin-bottom: 28px;
}

.egt-mt {
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Cards (services) */
.egt-cards {
	display: grid;
	gap: clamp(16px, 2vw, 28px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.egt-card {
	display: flex;
	flex-direction: column;
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
}

.egt-cards--cartao .egt-card {
	background: var(--c-surface);
}

.egt-card__media img {
	width: 100%;
	aspect-ratio: 7 / 5;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out);
}

.egt-card:hover .egt-card__media img {
	transform: scale(1.04);
}

.egt-card__media {
	overflow: hidden;
}

.egt-card__body {
	padding: clamp(22px, 2.5vw, 34px);
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.egt-cards--linha .egt-card__body {
	padding-inline: 0;
	border-top: 1px solid var(--c-line-strong);
}

.egt-card__title {
	font-size: var(--h3);
	margin: 0;
}

.egt-card__title a {
	text-decoration: none;
}

.egt-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.egt-card__text {
	color: var(--c-muted);
	margin: 0;
}

.egt-card__more {
	margin-top: auto;
	padding-top: 10px;
	font-family: var(--f-menu);
	font-size: 12px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
}

.egt-cards--foto .egt-card {
	min-height: 420px;
	color: #fff;
	justify-content: flex-end;
}

.egt-cards--foto .egt-card__media {
	position: absolute;
	inset: 0;
}

.egt-cards--foto .egt-card__media img {
	height: 100%;
	aspect-ratio: auto;
}

.egt-cards--foto .egt-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 12, 8, .8), transparent 70%);
}

.egt-cards--foto .egt-card__body {
	position: relative;
	flex: none;
}

.egt-cards--foto .egt-card__text {
	color: rgba(255, 255, 255, .85);
}

/* Specialties */
.egt-spec {
	list-style: none;
	margin: 0;
	padding: 0;
}

.egt-spec__link {
	display: grid;
	text-decoration: none;
	color: inherit;
}

.egt-spec__num {
	font-family: var(--f-menu);
	font-size: 13px;
	letter-spacing: .2em;
	color: var(--c-muted);
}

.egt-spec__title {
	font-family: var(--f-heading);
	font-weight: var(--heading-weight);
	text-transform: var(--heading-case);
	letter-spacing: var(--heading-track);
	font-size: var(--h3);
	line-height: 1.1;
}

.egt-spec__text {
	color: var(--c-muted);
}

.egt-spec__more {
	font-family: var(--f-menu);
	font-size: 12px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
}

.egt-spec__media {
	display: block;
	overflow: hidden;
}

.egt-spec__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out);
}

.egt-spec--editorial .egt-spec__item {
	border-top: 1px solid var(--c-line-strong);
}

.egt-spec--editorial .egt-spec__item:last-child {
	border-bottom: 1px solid var(--c-line-strong);
}

.egt-spec--editorial .egt-spec__link {
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 8px 16px;
	padding: 28px 0;
	position: relative;
}

.egt-spec--editorial .egt-spec__media {
	display: none;
}

.egt-spec--editorial .egt-spec__body {
	display: grid;
	gap: 8px;
}

.egt-spec--fotos {
	display: grid;
	gap: clamp(16px, 2vw, 28px);
}

.egt-spec--fotos .egt-spec__link {
	gap: 14px;
}

.egt-spec--fotos .egt-spec__media img {
	aspect-ratio: 3 / 4;
}

.egt-spec--fotos .egt-spec__link:hover .egt-spec__media img {
	transform: scale(1.05);
}

.egt-spec--fotos .egt-spec__body {
	display: grid;
	gap: 8px;
}

.egt-spec--faixa {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding-bottom: 12px;
}

.egt-spec--faixa .egt-spec__item {
	flex: none;
	width: min(78vw, 360px);
	scroll-snap-align: start;
}

.egt-spec--faixa .egt-spec__media img {
	aspect-ratio: 3 / 4;
}

.egt-spec--faixa .egt-spec__link {
	gap: 12px;
}

.egt-spec--faixa .egt-spec__body {
	display: grid;
	gap: 6px;
}

/* Steps */
.egt-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 40px 32px;
}

.egt-step {
	position: relative;
	padding-top: 28px;
	border-top: 1px solid var(--c-line-strong);
}

.egt-step__num {
	display: block;
	font-family: var(--f-heading);
	font-size: calc(var(--h2) * 1.15);
	font-weight: 300;
	line-height: 1;
	margin-bottom: 20px;
	color: var(--c-primary);
}

.egt-bg-primary .egt-step__num,
.egt-bg-dark .egt-step__num {
	color: inherit;
	opacity: .6;
}

.egt-step__title {
	font-size: var(--h4);
	margin-bottom: 8px;
}

.egt-step__text {
	color: var(--c-muted);
	font-size: calc(var(--fs-base) * .94);
	margin: 0;
}

.egt-steps--vertical {
	max-width: 46rem;
}

.egt-steps--vertical .egt-step {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	column-gap: 24px;
	border-top: 0;
	border-left: 1px solid var(--c-line-strong);
	padding: 0 0 8px 28px;
}

.egt-steps--vertical .egt-step__num {
	grid-row: span 2;
}

/* FAQ */
.egt-faq {
	display: grid;
	gap: 32px;
}

.egt-faq__item {
	border-top: 1px solid var(--c-line-strong);
}

.egt-faq__item:last-child {
	border-bottom: 1px solid var(--c-line-strong);
}

.egt-faq__item summary {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	align-items: center;
	list-style: none;
	cursor: pointer;
	padding: 24px 0;
	font-family: var(--f-heading);
	font-size: var(--h4);
	line-height: 1.3;
}

.egt-faq__item summary::-webkit-details-marker {
	display: none;
}

.egt-faq__icon {
	position: relative;
	flex: none;
	width: 16px;
	height: 16px;
}

.egt-faq__icon::before,
.egt-faq__icon::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1.5px;
	background: currentColor;
	transition: transform .35s var(--ease);
}

.egt-faq__icon::after {
	transform: rotate(90deg);
}

.egt-faq__item[open] .egt-faq__icon::after {
	transform: rotate(0);
}

.egt-faq__answer {
	color: var(--c-muted);
	padding: 0 48px 24px 0;
	max-width: 46em;
}

/* Form */
.egt-form {
	max-width: 52rem;
}

.egt-form__grid {
	display: grid;
	gap: 8px 28px;
}

.egt-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 14px;
}

.egt-field label {
	font-family: var(--f-menu);
	font-size: 12px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	color: var(--c-muted);
}

.egt-field__opt {
	text-transform: none;
	letter-spacing: 0;
}

.egt-field input,
.egt-field select,
.egt-field textarea {
	width: 100%;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--c-line-strong);
	border-radius: 0;
	background: transparent;
	font-size: calc(var(--fs-base) * 1.04);
	transition: border-color .3s;
}

.egt-field textarea {
	resize: vertical;
}

.egt-field input:focus,
.egt-field select:focus,
.egt-field textarea:focus {
	outline: none;
	border-bottom-color: var(--c-text);
	box-shadow: 0 1px 0 0 var(--c-text);
}

.egt-field [aria-invalid="true"] {
	border-bottom-color: #a1301f;
}

.egt-field__err {
	color: #a1301f;
	font-size: 13px;
}

.egt-field__err:empty {
	display: none;
}

.egt-form__note {
	font-size: var(--small);
	color: var(--c-muted);
}

.egt-consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: var(--small);
	margin: 10px 0 24px;
}

.egt-consent input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	accent-color: var(--c-primary);
	flex: none;
}

.egt-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.egt-form__status {
	min-height: 1.5em;
}

.egt-form__status.is-error {
	color: #a1301f;
}

.egt-form__status.is-ok {
	padding: 16px 20px;
	background: var(--c-surface);
	color: var(--c-text);
}

/* Posts */
.egt-posts {
	display: grid;
	gap: clamp(28px, 3vw, 48px) clamp(16px, 2.5vw, 36px);
}

.egt-post__media {
	display: block;
	overflow: hidden;
	border-radius: var(--img-radius);
	background: var(--c-surface);
}

.egt-post__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 1.4s var(--ease-out), filter .8s;
}

.egt-post:hover .egt-post__media img {
	transform: scale(1.04);
}

.egt-post__body {
	padding-top: 18px;
}

.egt-post__meta {
	font-family: var(--f-menu);
	font-size: 12px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	color: var(--c-muted);
	margin-bottom: 10px;
}

.egt-post__meta a {
	color: inherit;
	text-decoration: none;
}

.egt-post__title {
	font-size: var(--h3);
	line-height: 1.12;
	margin-bottom: 10px;
}

.egt-post__title a {
	text-decoration: none;
}

.egt-post__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .15em;
}

.egt-post__excerpt {
	color: var(--c-muted);
	font-size: calc(var(--fs-base) * .95);
	margin: 0;
}

.egt-posts--alvenaria {
	display: block;
	columns: var(--cols);
	column-gap: clamp(16px, 2.5vw, 36px);
}

.egt-posts--alvenaria .egt-post {
	break-inside: avoid;
	margin-bottom: clamp(28px, 3vw, 56px);
}

.egt-posts--alvenaria .egt-post:nth-child(3n + 1) .egt-post__media img {
	aspect-ratio: 4 / 5;
}

.egt-posts--alvenaria .egt-post:nth-child(3n + 2) .egt-post__media img {
	aspect-ratio: 1;
}

.egt-posts--lista .egt-post {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 24px 40px;
	align-items: center;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--c-line);
}

.egt-posts--lista .egt-post__body {
	padding-top: 0;
}

/* Video */
.egt-video__frame {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: #0d100b;
	border-radius: var(--img-radius);
}

.egt-ratio-16-9 {
	aspect-ratio: 16 / 9;
}

.egt-ratio-4-3 {
	aspect-ratio: 4 / 3;
}

.egt-ratio-9-16 {
	aspect-ratio: 9 / 16;
	max-width: 420px;
	margin-inline: auto;
}

.egt-video--texto {
	max-width: calc(var(--prose) + 2 * var(--gutter));
}

.egt-video__frame iframe,
.egt-video__frame video,
.egt-video__play img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.egt-video__play {
	position: absolute;
	inset: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: #fff;
}

.egt-video__btn {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 26px;
	background: rgba(12, 15, 10, .62);
	backdrop-filter: blur(6px);
	font-family: var(--f-menu);
	font-size: 13px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	transition: background-color .3s;
}

.egt-video__play:hover .egt-video__btn {
	background: rgba(12, 15, 10, .85);
}

.egt-video__note {
	position: absolute;
	left: 12px;
	bottom: 10px;
	font-size: 11px;
	color: rgba(255, 255, 255, .75);
	pointer-events: none;
}

.egt-video__frame figcaption {
	position: relative;
	color: var(--c-muted);
	font-size: var(--small);
}

/* Map */
.egt-map__frame {
	position: relative;
	height: var(--h);
	background: var(--c-surface);
	overflow: hidden;
	border-radius: var(--img-radius);
}

.egt-map__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(.6) contrast(1.05);
}

.egt-map__consent {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	text-align: center;
	gap: 6px;
	padding: 24px;
	color: var(--c-muted);
}

.egt-map__consent p {
	max-width: 32em;
}

.egt-map__card {
	position: absolute;
	left: 16px;
	bottom: 16px;
	max-width: 340px;
	padding: 20px 22px;
	background: var(--c-bg);
	box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .35);
}

/* Testimonials */
.egt-testi__item {
	margin: 0;
	text-align: center;
	max-width: 46rem;
	margin-inline: auto;
}

.egt-testi__item .egt-icon {
	color: var(--c-primary);
	margin: 0 auto 16px;
}

.egt-testi__item blockquote {
	margin: 0 0 20px;
	font-family: var(--f-heading);
	font-size: var(--h3);
	font-style: italic;
	line-height: 1.35;
}

.egt-testi__item figcaption {
	font-family: var(--f-menu);
	font-size: 12px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	color: var(--c-muted);
}

.egt-testi--slider .egt-testi__list {
	display: grid;
}

.egt-testi--slider .egt-testi__item {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s var(--ease), visibility 0s .8s;
}

.egt-testi--slider .egt-testi__item.is-active {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

.egt-testi__nav {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 28px;
}

.egt-testi--grade .egt-testi__list {
	display: grid;
	gap: 40px;
}

.egt-testi .egt-note {
	text-align: center;
	max-width: 46rem;
	margin: 32px auto 0;
}

/* Reviews */
.egt-stars {
	--size: 16px;
	display: inline-block;
	width: calc(var(--size) * 5);
	height: var(--size);
	vertical-align: -2px;
	background: linear-gradient(90deg, #b8892b calc(var(--r) / 5 * 100%), var(--c-line-strong) 0);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.8 6.4.9-4.6 4.5 1.1 6.3L12 17.3l-5.7 3 1.1-6.3-4.6-4.5 6.4-.9z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.8 6.4.9-4.6 4.5 1.1 6.3L12 17.3l-5.7 3 1.1-6.3-4.6-4.5 6.4-.9z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
}

.egt-reviews__summary {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 32px;
}

.egt-reviews__score {
	font-family: var(--f-heading);
	font-size: var(--h2);
	line-height: 1;
}

.egt-reviews__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 24px;
}

.egt-review {
	padding: 28px;
	background: var(--c-surface);
	border-radius: var(--radius);
}

.egt-review__head {
	display: flex;
	justify-content: space-between;
	font-size: var(--small);
	color: var(--c-muted);
}

.egt-review__author {
	font-family: var(--f-menu);
	font-size: 12px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	margin: 0;
}

.egt-reviews__source {
	margin-top: 24px;
	font-size: var(--small);
	color: var(--c-muted);
}

/* Call to action */
.egt-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.egt-c--cta:not([class*="egt-bg-"]) {
	background: var(--c-surface);
}

.egt-cta--image {
	color: #fff;
	--c-text: #fff;
	--c-muted: rgba(255, 255, 255, .85);
	--c-line-strong: rgba(255, 255, 255, .5);
}

.egt-c--cta:has(.egt-cta--image) {
	padding-block: 0;
}

.egt-cta--image .egt-cta__inner {
	padding-block: var(--section);
}

.egt-cta__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

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

.egt-cta__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--c-overlay);
	opacity: .62;
}

.egt-cta--image .egt-btn--solid {
	--b-bg: #fff;
	--b-fg: #161a12;
	--b-bd: #fff;
}

.egt-cta__inner {
	display: grid;
	gap: 28px;
}

.egt-cta--centro .egt-cta__inner {
	text-align: center;
	justify-items: center;
}

.egt-cta--centro .egt-actions {
	justify-content: center;
}

.egt-cta__text {
	max-width: 42rem;
}

.egt-cta__text p {
	color: var(--c-muted);
}

/* Contacts */
.egt-contacts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 20px;
}

.egt-contacts li {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	column-gap: 14px;
}

.egt-contacts .egt-icon {
	grid-row: span 2;
	margin-top: 2px;
	opacity: .75;
}

.egt-contacts__label {
	font-family: var(--f-menu);
	font-size: 11px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	opacity: .7;
}

.egt-contacts__value {
	overflow-wrap: anywhere;
}

.egt-contacts a {
	text-decoration-thickness: 1px;
	text-underline-offset: .25em;
}

.egt-contact .egt-social {
	margin-top: 24px;
}

/* Heading block */
.egt-heading--center {
	text-align: center;
}

.egt-heading--center .egt-heading__title,
.egt-heading--center .egt-heading__text {
	margin-inline: auto;
}

.egt-heading--right {
	text-align: right;
}

.egt-heading__title {
	max-width: 20ch;
}

.egt-heading--destaque .egt-heading__title {
	font-size: var(--fs-display);
	line-height: 1.02;
}

.egt-heading--medio .egt-heading__title {
	font-size: var(--h3);
}

.egt-heading__text {
	color: var(--c-muted);
	max-width: 40em;
	font-size: calc(var(--fs-base) * 1.08);
}

.egt-empty-note,
.egt-admin-hint {
	padding: 18px 22px;
	border: 1px dashed var(--c-line-strong);
	background: color-mix(in srgb, var(--c-secondary) 35%, transparent);
	font-size: 14px;
	color: var(--c-text);
	max-width: 52rem;
	margin: 0 auto;
}

/* 8. Content area =========================================================== */

.egt-content {
	padding-block: clamp(40px, 6vw, 96px) var(--section);
}

.egt-content--full {
	padding: 0;
}

.egt-content > :where(:not(.egt-c):not(.alignfull):not(.alignwide):not(script):not(style)) {
	width: min(var(--prose), calc(100% - 2 * var(--gutter)));
	margin-left: auto;
	margin-right: auto;
}

.egt-content > .alignwide {
	width: min(var(--container), calc(100% - 2 * var(--gutter)));
	margin-left: auto;
	margin-right: auto;
}

.egt-content > .alignfull {
	width: 100%;
}

.egt-content:not(.egt-content--full) > .egt-c:first-child:not(.egt-c--full):not([class*="egt-bg-"]) {
	padding-top: 0;
}

.egt-content > .egt-c:last-child:not([class*="egt-bg-"]) {
	padding-bottom: 0;
}

.egt-content--full > .egt-c:last-child {
	padding-bottom: var(--section);
}

.egt-content--full > .egt-c:last-child[class*="egt-bg-"],
.egt-content--full > .egt-c--full:last-child {
	padding-bottom: initial;
}

.egt-content--narrow {
	--prose: 40rem;
}

.egt-content h2 {
	margin-top: 1.6em;
}

.egt-content > .egt-c h2,
.egt-content > .egt-c h3 {
	margin-top: 0;
}

.egt-content h3 {
	margin-top: 1.5em;
}

.egt-content a:not([class]) {
	color: var(--c-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}

.egt-content ul:not([class]),
.egt-content ol:not([class]),
.egt-content .wp-block-list {
	padding-left: 1.3em;
	margin: 0 auto 1.4em;
}

.egt-content li {
	margin-bottom: .45em;
}

.egt-content blockquote:not([class]),
.egt-content .wp-block-quote {
	margin: 2em auto;
	padding-left: 24px;
	border-left: 1px solid var(--c-text);
	font-family: var(--f-heading);
	font-size: var(--h4);
	font-style: italic;
}

.egt-content .wp-block-pullquote {
	border: 0;
	padding: 1em 0;
	text-align: left;
}

.egt-content .wp-block-pullquote p {
	font-family: var(--f-heading);
	font-size: var(--h3);
	font-style: italic;
	line-height: 1.3;
}

.egt-content figure {
	margin: 2em auto;
}

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

.egt-content .wp-block-image figcaption {
	font-size: var(--small);
	color: var(--c-muted);
}

.egt-content .wp-block-separator {
	border: 0;
	height: 1px;
	background: var(--c-line-strong);
	margin: 3em auto;
}

.egt-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--small);
}

.egt-content th,
.egt-content td {
	text-align: left;
	padding: 12px;
	border-bottom: 1px solid var(--c-line);
}

.egt-content .wp-block-details {
	border-top: 1px solid var(--c-line-strong);
	padding: 18px 0;
}

.egt-content .wp-block-details summary {
	font-family: var(--f-heading);
	font-size: var(--h4);
	cursor: pointer;
}

.egt-content .wp-block-button__link {
	border-radius: var(--btn-radius);
	background: var(--c-btn-bg);
	color: var(--c-btn-text);
	font-family: var(--f-menu);
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	font-size: var(--menu-size);
	padding: 14px 26px;
}

.egt-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
}

.egt-tags a {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--c-line-strong);
	font-family: var(--f-menu);
	font-size: 12px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	text-decoration: none;
}

.egt-author {
	display: grid !important;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	padding: 24px;
	margin-top: 48px !important;
	background: var(--c-surface);
}

.egt-author__photo img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 50%;
}

.egt-author p {
	margin: 0;
}

.egt-author__name {
	font-family: var(--f-heading);
	font-size: var(--h4);
}

.egt-author__sig {
	font-size: var(--small);
	color: var(--c-muted);
}

.egt-postnav {
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter) var(--section);
}

.egt-postnav .nav-links {
	display: grid;
	gap: 16px;
	border-top: 1px solid var(--c-line);
	padding-top: 32px;
}

.egt-postnav a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-decoration: none;
}

.egt-postnav__label {
	font-family: var(--f-menu);
	font-size: 12px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	color: var(--c-muted);
}

.egt-postnav__title {
	font-family: var(--f-heading);
	font-size: var(--h4);
}

.egt-related {
	background: var(--c-surface);
	padding-block: var(--section);
}

.egt-listing {
	padding-block: clamp(40px, 5vw, 80px) var(--section);
}

.egt-listing__tools {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px 32px;
	align-items: center;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.egt-filters ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.egt-filters a {
	font-family: var(--f-menu);
	font-size: var(--menu-size);
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	text-decoration: none;
	color: var(--c-muted);
	padding-bottom: 4px;
}

.egt-filters a[aria-current],
.egt-filters a:hover {
	color: var(--c-text);
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
}

.egt-pagination ul {
	display: flex;
	justify-content: center;
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 48px 0 0;
}

.egt-pagination a,
.egt-pagination span {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--c-line);
	text-decoration: none;
	font-family: var(--f-menu);
	font-size: 13px;
}

.egt-pagination .current {
	background: var(--c-text);
	color: var(--c-bg);
}

.egt-with-sidebar {
	display: grid;
	gap: 48px;
	padding-block: clamp(40px, 6vw, 96px) var(--section);
}

.egt-content--inline {
	padding: 0;
}

.egt-content--inline > * {
	width: auto !important;
}

.egt-sidebar .egt-widget {
	padding: 28px;
	background: var(--c-surface);
	margin-bottom: 24px;
}

.egt-widget__title {
	font-family: var(--f-menu);
	font-size: 12px;
	font-weight: 500;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	margin: 0 0 18px;
}

.egt-404 {
	padding-block: 48px var(--section);
}

.egt-comments {
	padding-bottom: var(--section);
	max-width: calc(var(--prose) + 2 * var(--gutter));
}

.egt-comments input[type="text"],
.egt-comments input[type="email"],
.egt-comments input[type="url"],
.egt-comments textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--c-line-strong);
	background: transparent;
}

/* 9. Footer, pre-footer, bars ================================================ */

.egt-prefooter {
	background: var(--c-surface);
	padding-block: calc(var(--section) * .8);
}

.egt-prefooter__inner {
	display: grid;
	gap: 28px;
	align-items: end;
}

.egt-prefooter__title {
	font-size: var(--h2);
	max-width: 16ch;
	margin-bottom: .3em;
}

.egt-prefooter p {
	color: var(--c-muted);
	max-width: 36em;
	margin: 0;
}

.egt-prefooter .egt-btn--light {
	--b-bg: var(--c-btn-bg);
	--b-fg: var(--c-btn-text);
	--b-bd: var(--c-btn-bg);
}

.egt-prefooter .egt-btn--outline-light {
	--b-fg: var(--c-text);
	--b-bd: var(--c-line-strong);
}

.egt-footer {
	background: var(--c-footer-bg);
	color: var(--c-footer-text);
	font-size: calc(var(--fs-base) * .9);
	padding-top: clamp(48px, 6vw, 96px);
	--c-line: color-mix(in srgb, var(--c-footer-text) 16%, transparent);
}

.egt-footer a:not(.egt-btn) {
	color: inherit;
}

.egt-footer__cols {
	display: grid;
	gap: 40px;
}

.egt-footer__brand {
	margin-bottom: 18px;
}

.egt-footer__text {
	opacity: .8;
	max-width: 30em;
}

.egt-footer__sig {
	font-family: var(--f-menu);
	font-size: 12px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	opacity: .7;
}

.egt-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.egt-footer__menu a {
	text-decoration: none;
	opacity: .85;
}

.egt-footer__menu a:hover {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: .25em;
}

.egt-footer .egt-widget__title {
	opacity: .7;
}

.egt-footer__emergency {
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--c-line);
	font-size: 13px;
	opacity: .78;
}

.egt-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding-block: 24px 32px;
	font-size: 12px;
	opacity: .75;
}

.egt-footer__bottom p {
	margin: 0;
}

.egt-footer__legal {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.egt-totop {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--f-menu);
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	text-decoration: none;
}

.egt-footer-centralizado .egt-footer__cols {
	text-align: center;
	justify-items: center;
}

.egt-footer-centralizado .egt-social,
.egt-footer-centralizado .egt-footer__bottom {
	justify-content: center;
}

.egt-footer-centralizado .egt-contacts li {
	grid-template-columns: 1fr;
	justify-items: center;
}

.egt-footer-centralizado .egt-contacts .egt-icon {
	grid-row: auto;
}

.egt-bottombar {
	display: none;
}

.egt-float-wa {
	display: none;
}

.egt-landing__header {
	padding: 24px var(--gutter);
	background: var(--c-header-bg);
	color: var(--c-header-text);
}

.egt-landing__footer {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-block: 32px;
	font-size: 13px;
	color: var(--c-muted);
}

/* 10. Overlays: peek panel, lightbox ========================================= */

.egt-peek {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 300;
	width: min(420px, 92vw);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--c-header-bg);
	color: var(--c-header-text);
	transform: translateX(-102%);
	transition: transform .7s var(--ease-out);
}

.egt-peek[hidden] {
	display: block;
	visibility: hidden;
}

.egt-peek.is-open {
	transform: none;
	visibility: visible;
}

.egt-peek__inner {
	padding: 72px 40px 48px;
	display: grid;
	gap: 6px;
}

.egt-peek__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.egt-peek__photo {
	margin: 0 0 28px;
}

.egt-peek__photo img {
	width: 100%;
	aspect-ratio: 7 / 5;
	object-fit: cover;
}

.egt-peek__title,
.egt-peek__heading {
	font-family: var(--f-menu);
	font-size: 13px;
	font-weight: 500;
	text-transform: var(--menu-case);
	letter-spacing: .2em;
	margin: 0 0 14px;
}

.egt-peek__heading {
	margin-top: 32px;
}

.egt-peek__name {
	display: flex;
	flex-direction: column;
	font-family: var(--f-heading);
	font-size: var(--h4);
	margin-bottom: 10px;
}

.egt-peek__name span {
	font-family: var(--f-menu);
	font-size: 11px;
	text-transform: var(--menu-case);
	letter-spacing: var(--menu-track);
	opacity: .7;
	margin-top: 4px;
}

.egt-peek__bio {
	font-size: 14px;
	line-height: 1.8;
	opacity: .82;
}

.egt-peek a:not(.egt-btn) {
	color: inherit;
}

.egt-peek__posts {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 14px;
}

.egt-peek__posts a {
	display: block;
	text-decoration: none;
	font-family: var(--f-heading);
	font-size: calc(var(--fs-base) * 1.1);
}

.egt-peek__posts time {
	font-size: 12px;
	opacity: .65;
}

.egt-peek__cta {
	margin-top: 32px;
}

.egt-peek-backdrop {
	position: fixed;
	inset: 0;
	z-index: 250;
	background: rgba(8, 10, 6, .55);
	opacity: 0;
	transition: opacity .5s;
}

.egt-peek-backdrop.is-open {
	opacity: 1;
}

.egt-site {
	transition: transform .7s var(--ease-out);
}

body.egt-peek-open {
	overflow: hidden;
}

body.egt-peek-open .egt-site {
	transform: translateX(min(140px, 12vw));
}

.egt-lightbox {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: grid;
	place-items: center;
	padding: 56px 72px;
	background: rgba(8, 10, 6, .94);
	color: #fff;
}

.egt-lightbox[hidden] {
	display: none;
}

.egt-lightbox figure {
	margin: 0;
	max-height: 100%;
	display: grid;
	gap: 12px;
	justify-items: center;
}

.egt-lightbox img {
	max-height: calc(100vh - 140px);
	width: auto;
	object-fit: contain;
}

.egt-lightbox figcaption {
	font-size: 14px;
	opacity: .8;
}

.egt-lightbox button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.egt-lightbox__close {
	top: 12px;
	right: 12px;
}

.egt-lightbox__prev {
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
}

.egt-lightbox__next {
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
}

/* 11. Animations ===============================================================
   html.egt-anim is set by main.js only when animations are on and the
   visitor has not asked for reduced motion. Without it, all text shows.
   ============================================================================ */

.egt-split__w {
	display: inline-block;
	white-space: nowrap;
}

.egt-split__u {
	display: inline-block;
}

@keyframes egt-kb {
	from {
		transform: scale(1.08);
	}

	to {
		transform: scale(1);
	}
}

@keyframes egt-failsafe {
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: no-preference) {

	.egt-anim .egt-banner__title:not(.is-split):not(.is-in),
	.egt-anim .egt-pagebanner__title:not(.is-split):not(.is-in) {
		opacity: 0;
		animation: egt-failsafe 0s 2.5s forwards;
	}

	.egt-anim .is-split .egt-split__u {
		opacity: 0;
		filter: blur(var(--anim-blur));
		transform: translateY(.3em);
		transition:
			opacity calc(1s * var(--anim-dur)) var(--ease),
			filter calc(1.2s * var(--anim-dur)) var(--ease),
			transform calc(1s * var(--anim-dur)) var(--ease-out);
		transition-delay: calc(var(--n, 0) * var(--st, 60ms) + var(--sd, 0ms));
	}

	.egt-anim .is-split.is-chars .egt-split__u {
		transform: none;
		--st: 18ms;
	}

	.egt-anim .is-split.is-block .egt-split__u {
		--st: 0ms;
	}

	.egt-anim .is-split.is-in .egt-split__u {
		opacity: 1;
		filter: none;
		transform: none;
	}

	.egt-anim [data-egt-intro] {
		opacity: 0;
		filter: blur(calc(var(--anim-blur) * .5));
		transform: translateY(14px);
		transition: opacity calc(1s * var(--anim-dur)) var(--ease), filter calc(1s * var(--anim-dur)) var(--ease), transform calc(1s * var(--anim-dur)) var(--ease-out);
		transition-delay: var(--intro, .6s);
	}

	.egt-anim [data-egt-intro="2"] {
		transition-delay: calc(var(--intro, .6s) + .15s);
	}

	.egt-anim .is-in-intro [data-egt-intro],
	.egt-anim [data-egt-intro].is-in {
		opacity: 1;
		filter: none;
		transform: none;
	}

	.egt-anim .egt-no-anim [data-egt-reveal],
	.egt-anim .egt-no-anim .egt-split__u {
		opacity: 1 !important;
		filter: none !important;
		transform: none !important;
	}

	.egt-anim [data-egt-reveal]:not(.is-in) {
		opacity: 0;
		filter: blur(calc(var(--anim-blur) * .6));
		transform: translateY(24px);
	}

	.egt-anim [data-egt-reveal] {
		transition: opacity calc(1.1s * var(--anim-dur)) var(--ease), filter calc(1.1s * var(--anim-dur)) var(--ease), transform calc(1.1s * var(--anim-dur)) var(--ease-out);
		transition-delay: calc(var(--d, 0) * 110ms);
	}

	/* Image entrances */
	.egt-anim.egt-img-desfoque .egt-reveal-img:not(.is-in) img,
	.egt-anim.egt-img-desfoque .egt-post:not(.is-in) img {
		filter: blur(18px);
		transform: scale(1.06);
	}

	.egt-anim.egt-img-desfoque .egt-reveal-img img,
	.egt-anim.egt-img-desfoque .egt-post img {
		transition: filter calc(1.4s * var(--anim-dur)) var(--ease), transform calc(1.6s * var(--anim-dur)) var(--ease-out);
	}

	.egt-anim.egt-img-zoom .egt-reveal-img:not(.is-in) img {
		transform: scale(1.18);
	}

	.egt-anim.egt-img-zoom .egt-reveal-img img {
		transition: transform calc(1.8s * var(--anim-dur)) var(--ease-out);
	}

	.egt-anim.egt-img-cortina .egt-reveal-img {
		clip-path: inset(0 0 0 0);
		transition: clip-path calc(1.4s * var(--anim-dur)) var(--ease-out), opacity .6s, filter .6s, transform .6s !important;
	}

	.egt-anim.egt-img-cortina .egt-reveal-img:not(.is-in) {
		clip-path: inset(100% 0 0 0);
		filter: none;
		transform: none;
	}

	/* Banner animations */
	.egt-anim .egt-banner--anim-desfoque .egt-banner__media img {
		animation: egt-unblur calc(1.8s * var(--anim-dur)) var(--ease) both;
	}

	.egt-anim .egt-banner--anim-zoom .egt-banner__media img {
		animation: egt-kb 12s var(--ease) both;
	}

	.egt-anim .egt-banner--anim-cortina .egt-banner__media {
		animation: egt-curtain calc(1.6s * var(--anim-dur)) var(--ease-out) both;
	}

	.egt-anim .egt-banner--anim-subida .egt-banner__content {
		animation: egt-rise calc(1.2s * var(--anim-dur)) var(--ease-out) .2s both;
	}

	.egt-anim .egt-pagebanner__media img {
		animation: egt-unblur calc(1.6s * var(--anim-dur)) var(--ease) both;
	}

	@keyframes egt-unblur {
		from {
			filter: blur(24px);
			transform: scale(1.08);
		}

		to {
			filter: none;
			transform: none;
		}
	}

	@keyframes egt-curtain {
		from {
			clip-path: inset(0 0 100% 0);
		}

		to {
			clip-path: inset(0 0 0 0);
		}
	}

	@keyframes egt-rise {
		from {
			opacity: 0;
			transform: translateY(40px);
		}

		to {
			opacity: 1;
			transform: none;
		}
	}

	/* Scroll-linked drift (supporting browsers only) */
	@supports (animation-timeline: view()) {
		.egt-parallax .egt-pagebanner__media img,
		.egt-parallax .egt-banner:not(.egt-slider__slide *) .egt-banner__media img {
			animation: egt-drift linear both;
			animation-timeline: view();
			animation-range: exit 0% exit 100%;
		}

		.egt-parallax .egt-mt__media img,
		.egt-parallax .egt-profile__media img {
			animation: egt-drift-in linear both;
			animation-timeline: view();
			animation-range: cover;
		}
	}

	@keyframes egt-drift {
		to {
			transform: translateY(14%) scale(1.04);
		}
	}

	@keyframes egt-drift-in {
		from {
			transform: scale(1.12) translateY(-4%);
		}

		to {
			transform: scale(1.12) translateY(4%);
		}
	}

	.egt-anim.egt-page-fade body {
		animation: egt-page-in .7s var(--ease) both;
	}

	@keyframes egt-page-in {
		from {
			opacity: 0;
		}
	}

	.egt-anim.is-leaving body {
		opacity: 0;
		transition: opacity .35s var(--ease);
	}
}

/* 12. Utilities ================================================================ */

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

.egt-icon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

.egt-agenda-missing {
	padding: 24px;
	background: var(--c-surface);
}

.alignleft {
	float: left;
	margin: .3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: .3em 0 1em 1.5em;
}

.wp-caption-text,
.gallery-caption {
	font-size: var(--small);
	color: var(--c-muted);
}

.sticky,
.bypostauthor {
	display: block;
}

/* EG Agenda plugin, restyled with the theme variables */
body .ega {
	--ega-accent: var(--c-primary);
	--ega-accent-ink: #fff;
	--ega-accent-soft: color-mix(in srgb, var(--c-primary) 14%, var(--c-bg));
	--ega-ink: var(--c-text);
	--ega-muted: var(--c-muted);
	--ega-surface: var(--c-bg);
	--ega-surface-2: var(--c-surface);
	--ega-line: var(--c-line-strong);
	--ega-radius: var(--radius);
	--ega-radius-sm: var(--radius);
	--ega-font: var(--f-body);
	--ega-font-display: var(--f-heading);
}

.egt-content > .ega,
.egt-content > .wp-block-eg-agenda-booking,
.egt-content > .wp-block-agenda-atendimentos-agenda {
	width: min(var(--container), calc(100% - 2 * var(--gutter))) !important;
}

@media print {
	.egt-header,
	.egt-footer,
	.egt-prefooter,
	.egt-bottombar,
	.egt-peek {
		display: none !important;
	}

	.egt-site {
		margin: 0 !important;
	}
}

/* Text the professional still has to write (starter pages) */
.egt-placeholder {
	padding: 14px 18px;
	border-left: 3px solid #b8892b;
	background: color-mix(in srgb, #b8892b 10%, transparent);
	font-size: var(--small);
}

/* Room for the slider controls under the banner text */
.egt-slider .egt-banner__inner {
	padding-bottom: calc(clamp(48px, 7vw, 110px) + 72px);
}
