/* ============================================
   MGB - Mina de Casa Branca
   Custom Overrides & New Components
   Loaded AFTER main.css
   ============================================ */

/* ------------------------------------------
   WhatsApp Floating Button
   ------------------------------------------ */
.whatsapp-float {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background-color: #25D366;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	z-index: 9999;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	transition: all 0.3s ease;
	text-decoration: none;
}

.whatsapp-float:hover {
	background-color: #128C7E;
	color: #fff;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {
	line-height: 1;
}

@keyframes whatsapp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
	70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
	animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
	animation: none;
}

@media (max-width: 767px) {
	.whatsapp-float {
		bottom: 20px;
		right: 20px;
		width: 50px;
		height: 50px;
		font-size: 24px;
	}
}

/* ------------------------------------------
   Logo adjustments (PNG instead of SVG)
   ------------------------------------------ */
.logo-wrap img,
.logo-wrap-2 img,
.off-canvas-logo img,
.footer-logo img {
	max-height: 131px;
	max-width: 264px;
	width: auto;
}

.logo-wrap-2 img {
	max-height: 75px;
	max-width: 260px;
}

/* ------------------------------------------
   Benefits list fix (multi-line overlap)
   ------------------------------------------ */
.benefits ul {
	gap: 24px;
}
.benefits ul li {
	align-items: flex-start;
	line-height: 1.8;
	padding-top: 4px;
	padding-bottom: 4px;
}
.benefits ul li::before,
.benefits ul li::after {
	top: 10px;
	transform: none;
}
.benefits ul li::after {
	top: 17px;
}

/* ------------------------------------------
   Footer contact icons - round style
   ------------------------------------------ */
.get-in-touch .footer-address .icon,
.get-in-touch .email .icon,
.get-in-touch .phone .icon {
	width: 54px;
	height: 54px;
	min-width: 54px;
	background: rgba(255, 255, 255, 0.15);
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
}
.get-in-touch .footer-address .icon i,
.get-in-touch .email .icon i,
.get-in-touch .phone .icon i {
	font-size: 22px;
}

/* ------------------------------------------
   Barragem Page - Dam Info Cards
   ------------------------------------------ */
.dam-card {
	background: #fff;
	border-radius: 12px;
	padding: 40px;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
	border-left: 5px solid var(--theme-color);
	margin-bottom: 30px;
	transition: all 0.3s ease;
}

.dam-card:hover {
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
	transform: translateY(-3px);
}

.dam-card .dam-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--title-color);
	margin-bottom: 20px;
}

.dam-card .dam-status {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 15px;
}

.dam-card .dam-status.inactive {
	background: rgba(133, 191, 24, 0.15);
	color: var(--theme-color);
}

.dam-card .dam-specs {
	list-style: none;
	padding: 0;
	margin: 0;
}

.dam-card .dam-specs li {
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.dam-card .dam-specs li:last-child {
	border-bottom: none;
}

.dam-card .dam-specs li .label {
	color: var(--body-color);
	font-weight: 500;
}

.dam-card .dam-specs li .value {
	color: var(--title-color);
	font-weight: 700;
}

.paebm-download-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 30px;
	background: var(--theme-color);
	color: #fff;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	margin-top: 20px;
}

.paebm-download-btn:hover {
	background: var(--theme-color-3);
	color: #fff;
	transform: translateY(-2px);
}

.paebm-download-btn i {
	font-size: 20px;
}

/* ------------------------------------------
   Biblioteca Tecnica - Download Cards
   ------------------------------------------ */
.download-card {
	background: #fff;
	border-radius: 10px;
	padding: 25px;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}

.download-card:hover {
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.download-card .file-icon {
	width: 55px;
	height: 55px;
	border-radius: 10px;
	background: rgba(133, 191, 24, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.download-card .file-icon i {
	font-size: 24px;
	color: var(--theme-color);
}

.download-card .file-info {
	flex: 1;
}

.download-card .file-info h5 {
	font-size: 16px;
	font-weight: 600;
	color: var(--title-color);
	margin-bottom: 5px;
}

.download-card .file-info p {
	font-size: 14px;
	color: var(--body-color);
	margin: 0;
}

.download-card .file-download {
	flex-shrink: 0;
}

.download-card .file-download a {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: var(--theme-color);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	transition: all 0.3s ease;
}

.download-card .file-download a:hover {
	background: var(--theme-color-3);
}

/* ------------------------------------------
   Gallery Page - Filter & Grid
   ------------------------------------------ */
.gallery-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
	justify-content: center;
}

.gallery-filter .filter-btn {
	padding: 8px 24px;
	border: 2px solid #e8e8e8;
	border-radius: 50px;
	background: transparent;
	color: var(--title-color);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.gallery-filter .filter-btn:hover,
.gallery-filter .filter-btn.active {
	background: var(--theme-color);
	border-color: var(--theme-color);
	color: #fff;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.gallery-item {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
}

.gallery-item img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-item .gallery-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 69, 64, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

.gallery-item .gallery-overlay i {
	font-size: 30px;
	color: #fff;
}

@media (max-width: 991px) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

/* ------------------------------------------
   Project Timeline (O Projeto page)
   ------------------------------------------ */
.project-timeline {
	position: relative;
	padding: 40px 0;
}

.project-timeline::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--theme-color);
	transform: translateX(-50%);
}

.timeline-item {
	position: relative;
	width: 50%;
	padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
	margin-left: 0;
	text-align: right;
}

.timeline-item:nth-child(even) {
	margin-left: 50%;
}

.timeline-item::before {
	content: '';
	position: absolute;
	top: 30px;
	width: 20px;
	height: 20px;
	background: var(--theme-color);
	border: 4px solid #fff;
	border-radius: 50%;
	z-index: 1;
	box-shadow: 0 0 0 4px var(--theme-color);
}

.timeline-item:nth-child(odd)::before {
	right: -10px;
}

.timeline-item:nth-child(even)::before {
	left: -10px;
}

.timeline-content {
	background: #fff;
	border-radius: 12px;
	padding: 25px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.timeline-content .year {
	display: inline-block;
	padding: 4px 14px;
	background: var(--theme-color);
	color: #fff;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 10px;
}

.timeline-content h4 {
	font-size: 18px;
	font-weight: 700;
	color: var(--title-color);
	margin-bottom: 8px;
}

.timeline-content p {
	font-size: 14px;
	color: var(--body-color);
	margin: 0;
}

@media (max-width: 991px) {
	.project-timeline::before {
		left: 20px;
	}

	.timeline-item {
		width: 100%;
		padding-left: 60px;
		padding-right: 20px;
		text-align: left;
	}

	.timeline-item:nth-child(even) {
		margin-left: 0;
	}

	.timeline-item::before,
	.timeline-item:nth-child(odd)::before,
	.timeline-item:nth-child(even)::before {
		left: 10px;
	}
}

/* ------------------------------------------
   Progress Stage Cards (O Projeto)
   ------------------------------------------ */
.stage-card {
	background: #fff;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
	text-align: center;
	transition: all 0.3s ease;
	height: 100%;
}

.stage-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stage-card .stage-number {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--theme-color);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	margin: 0 auto 20px;
}

.stage-card h4 {
	font-size: 18px;
	font-weight: 700;
	color: var(--title-color);
	margin-bottom: 12px;
}

.stage-card p {
	font-size: 14px;
	color: var(--body-color);
}

/* ------------------------------------------
   Legal Reference Box
   ------------------------------------------ */
.legal-box {
	background: linear-gradient(135deg, var(--theme-color-3) 0%, #00332e 100%);
	border-radius: 12px;
	padding: 30px;
	color: #fff;
}

.legal-box h5 {
	color: var(--theme-color);
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 15px;
}

.legal-box ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.legal-box ul li {
	padding: 8px 0;
	padding-left: 25px;
	position: relative;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
}

.legal-box ul li::before {
	content: '\f00c';
	font-family: 'Font Awesome 6 Pro';
	position: absolute;
	left: 0;
	color: var(--theme-color);
	font-weight: 900;
}

/* ------------------------------------------
   Placeholder content markers
   ------------------------------------------ */
.placeholder-content {
	background: repeating-linear-gradient(
		45deg,
		#fafafa,
		#fafafa 10px,
		#f5f5f5 10px,
		#f5f5f5 20px
	);
	border: 2px dashed #ddd;
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	color: #999;
}

.placeholder-content p {
	margin: 0;
	font-style: italic;
}

/* ------------------------------------------
   Cookie Consent Banner (LGPD)
   ------------------------------------------ */
.cookie-consent {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%) translateY(120%);
	width: calc(100% - 40px);
	max-width: 960px;
	background: var(--theme-color-3);
	color: rgba(255, 255, 255, 0.9);
	padding: 0;
	z-index: 99999;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.cookie-consent.show {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
	visibility: visible;
}
.cookie-consent-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 24px 28px;
}
.cookie-consent-icon {
	width: 52px;
	height: 52px;
	min-width: 52px;
	background: rgba(133, 191, 24, 0.15);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: var(--theme-color);
}
.cookie-consent-text {
	flex: 1;
}
.cookie-consent-text strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 4px;
}
.cookie-consent-text p {
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}
.cookie-consent-text a {
	color: var(--theme-shade-color);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.cookie-consent-text a:hover {
	color: var(--theme-color);
}
.cookie-consent-buttons {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}
.cookie-consent-buttons .btn-accept {
	background: var(--theme-color);
	color: #fff;
	border: none;
	padding: 12px 28px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}
.cookie-consent-buttons .btn-accept:hover {
	background: var(--theme-shade-color);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(133, 191, 24, 0.4);
}
.cookie-consent-buttons .btn-decline {
	background: transparent;
	color: rgba(255, 255, 255, 0.6);
	border: 1.5px solid rgba(255, 255, 255, 0.2);
	padding: 12px 28px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}
.cookie-consent-buttons .btn-decline:hover {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
	transform: translateY(-1px);
}
@media (max-width: 767px) {
	.cookie-consent {
		bottom: 12px;
		width: calc(100% - 24px);
		border-radius: 14px;
	}
	.cookie-consent-inner {
		flex-direction: column;
		text-align: center;
		gap: 16px;
		padding: 20px;
	}
	.cookie-consent-icon {
		margin: 0 auto;
	}
	.cookie-consent-buttons {
		width: 100%;
		justify-content: center;
	}
	.cookie-consent-buttons .btn-accept,
	.cookie-consent-buttons .btn-decline {
		flex: 1;
		padding: 12px 16px;
	}
}
/* Ajustar WhatsApp button quando cookie banner visível */
.cookie-consent.show ~ .whatsapp-float {
	bottom: 110px;
	transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Página Projeto — arredondar as 2 fotos do Hero (não o shape decorativo) */
.projeto-hero-thumb .thumb-1 > img,
.projeto-hero-thumb .thumb-2 > img {
	border-radius: 12px;
}

/* Página /about — seção "Construindo um Futuro Sustentável"
 * Limita o tamanho das 3 imagens (thumbs do bloco why-us-section-6) para que
 * qualquer foto subida pelo admin respeite o layout do tema, independente da
 * resolução do arquivo. Sem essa regra, fotos grandes (> ~400px) "explodem"
 * em telas ≥ 1400px porque o CSS original do tema só controla largura no
 * breakpoint 1200–1399px. Originais do tema: 399x458, 318x394, 328x205.
 */
.why-us-section-6 .thumb .thumb-1 > img {
	max-width: 400px;
	width: 100%;
	height: auto;
	object-fit: cover;
}
.why-us-section-6 .thumb .thumb-2 img {
	max-width: 320px;
	width: 100%;
	height: auto;
	object-fit: cover;
}
.why-us-section-6 .thumb .thumb-3 img {
	max-width: 330px;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* Badge amarela "5+ Prazo para descaracterizar" — o tema limitava o texto
 * a 92px, cortando "descaracterizar". Aumenta para caber as 2 palavras. */
.why-us-section-6 .thumb .thumb-3 .shape-wrapped-thumb .experience-shape p {
	max-width: 150px;
}

/* HOME — mesma badge amarela "5+ Prazo para descaracterizar" na seção
 * "about-us-section". Aqui o tema usa outra classe (.experience-shape-2 dentro
 * de .shape-wrapped-thumb-1) e limitava o <p> a 92px, cortando o texto.
 * Alarga a caixa e o texto para caber "Prazo para descaracterizar". */
.shape-wrapped-thumb-1 .experience-shape-2 {
	padding-right: 30px;
}
.shape-wrapped-thumb-1 .experience-shape-2 p {
	max-width: 170px;
}

/* ============================================================
 * Sistema de crop — rede de segurança no frontend.
 * Garante que as fotos preencham a moldura na proporção certa
 * mesmo se a imagem enviada tiver proporção diferente (imagens
 * antigas, anteriores ao crop). Para imagens já recortadas no
 * admin é no-op. Não toca o template Econest.
 * ============================================================ */

/* HOME — seção "Sobre" (about-us-section) */
.about-us-section .shape-wrapped-thumb-1 > img {
	aspect-ratio: 434 / 604;
	object-fit: cover;
	width: 100%;
	height: auto;
}
.about-us-section .shape-wrapped-thumb-2 .video-thumb > img {
	aspect-ratio: 326 / 470;
	object-fit: cover;
	width: 100%;
	height: auto;
}

/* ============================================================
 * HOME/Blog — cards de notícia (.blog-card): padroniza tudo.
 * Cliente reclamou que os cards ficavam assimétricos (imagem,
 * título e resumo de tamanhos diferentes). Aqui travamos:
 *   - imagem em 1:1 (quadrada)
 *   - título em 2 linhas / resumo em 3 linhas (com reticências)
 *   - botão "Ler Mais" ancorado no rodapé do card
 * Resultado: todos os cards com altura idêntica. Só display —
 * não altera o conteúdo salvo no banco nem o markup Econest.
 * ============================================================ */

/* 1) Imagem quadrada 1:1 (4/4), preenche a moldura sem distorcer */
.blog-card .thumb img {
	aspect-ratio: 4 / 4;
	object-fit: cover;
	width: 100%;
	height: auto;
	display: block;
}

/* 2) Card e conteúdo em coluna → botão sempre grudado embaixo */
.blog-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}
.blog-card .content {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}
.blog-card .content .content-bottom {
	margin-top: auto;
}

/* 3) Título travado em 2 linhas (reserva a altura mesmo se for 1) */
.blog-card .content .title h3 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 72px;               /* 2 × line-height 36px */
}
@media (max-width: 991px) {
	.blog-card .content .title h3 {
		min-height: 50px;           /* 2 × ~25px (18px/1.4) */
	}
}

/* 4) Resumo travado em 3 linhas com reticências */
.blog-card .content .text p {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.6;
	min-height: calc(1.6em * 3);    /* reserva 3 linhas */
	margin-bottom: 0;
}

/* ============================================================
 * RODADA 8 (12/08/2026) — ajustes reportados pela cliente
 * ============================================================ */

/* A5 — HOME, seção "Por que Confiar em Nós" (.why-us-section)
 * As 3 imagens (why_us.imagem_1/2/3) estouravam mesmo com o crop do upload,
 * porque o tema Econest não fixa moldura para elas (só controla largura no
 * breakpoint 1200–1399px). Aqui damos moldura fixa + object-fit usando as
 * proporções originais do tema, mantendo a composição sobreposta, porém
 * sem "explodir". Não toca o main.css. */
/* NOTA: as thumbs 2 e 3 da home são position:absolute com largura shrink-to-fit;
 * usar width:100% aqui as colapsa (largura ~0). Então limitamos só por max-width
 * + height:auto — mantém a proporção natural, apenas evita a imagem "explodir". */
.why-us-section .thumb .thumb-1 > img {
	max-width: 400px;
	height: auto;
}
.why-us-section .thumb .thumb-2 img {
	max-width: 320px;
	height: auto;
}
.why-us-section .thumb .thumb-3 img {
	max-width: 330px;
	height: auto;
}

/* A8 — /about, seção "Algumas Razões para Confiar" (.why-us-section-6)
 * A cliente pediu para as imagens ficarem LADO A LADO em vez de sobrepostas,
 * porque a imagem da frente escondia a de fundo. Removemos o position:absolute
 * do tema e organizamos as 3 thumbs num grid: a 1ª ocupa a linha inteira em
 * cima, a 2ª e a 3ª lado a lado embaixo. A badge "Prazo para descaracterizar"
 * é reposicionada para o canto da imagem, sem estourar. */
.why-us-section-6 .thumb {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	position: relative;
}
.why-us-section-6 .thumb .thumb-1 { grid-column: 1 / -1; }
.why-us-section-6 .thumb .thumb-2 { grid-column: 1 / 2; }
.why-us-section-6 .thumb .thumb-3 { grid-column: 2 / 3; }
.why-us-section-6 .thumb .thumb-1,
.why-us-section-6 .thumb .thumb-2,
.why-us-section-6 .thumb .thumb-3 {
	position: static;
	top: auto; right: auto; bottom: auto; left: auto;
	margin: 0;
	text-align: left;
	z-index: auto;
}
.why-us-section-6 .thumb .thumb-1 > img {
	max-width: 100%;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 10px;
}
.why-us-section-6 .thumb .thumb-2 img,
.why-us-section-6 .thumb .thumb-3 img {
	max-width: 100%;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
}
/* shape decorativo flutuante só fazia sentido na sobreposição — esconde */
.why-us-section-6 .thumb .thumb-1 .s-shape {
	display: none;
}
/* badge reposicionada para o canto inferior direito, dentro da 3ª imagem */
.why-us-section-6 .thumb .thumb-3 .shape-wrapped-thumb {
	position: relative;
}
.why-us-section-6 .thumb .thumb-3 .shape-wrapped-thumb .experience-shape {
	position: absolute;
	top: auto;
	left: auto;
	right: 12px;
	bottom: 12px;
}
@media (max-width: 575px) {
	.why-us-section-6 .thumb {
		grid-template-columns: 1fr;
	}
	.why-us-section-6 .thumb .thumb-2,
	.why-us-section-6 .thumb .thumb-3 {
		grid-column: 1 / -1;
	}
}

/* ============================================================
 * RODADA 8.1 (12/08/2026) — ajustes de UI/UX reportados
 * ============================================================ */

/* A — HOME, seção "Algumas Razões" (.about-us-section): a imagem estava
 * ocupando a largura toda da coluna (~666px) e ficava enorme. Voltamos o
 * bloco ao tamanho de projeto (mais compacto) e limitamos a altura. */
@media (min-width: 992px) {
	.about-us-section .shape-wrapped-thumb-1 {
		max-width: 470px;
		margin-left: auto;
		margin-right: auto;
	}
}
.about-us-section .shape-wrapped-thumb-1 > img {
	aspect-ratio: 434 / 520;
	object-fit: cover;
	width: 100%;
	height: auto;
}
.about-us-section .shape-wrapped-thumb-2 .video-thumb > img,
.about-us-section .positioned-shape .video-thumb > img {
	aspect-ratio: 326 / 400;
	object-fit: cover;
	width: 100%;
	height: auto;
}

/* B — HOME, lista "Localização / Estrutura / ..." (.benefits): o rótulo e o
 * valor ficavam em linhas separadas e muito distantes. Junta na mesma linha
 * e reduz o espaçamento, deixando a leitura limpa. */
.about-us-section .benefits ul { gap: 10px; padding-left: 0; margin: 8px 0 0; }
.about-us-section .benefits ul li {
	display: block;          /* era flex-row: jogava o valor para a direita */
	line-height: 1.55;
	margin-bottom: 0;
	padding-left: 30px;      /* espaço do marcador (bullet) */
}
.about-us-section .benefits ul li br { display: none; }   /* rótulo + valor na mesma linha */

/* D — Conteúdo de Blog/Notícia: impede que um texto colado sem espaços
 * (ex.: URL longa) estoure o layout e quebre a responsividade. */
.blog-card-5 .content .text,
.blog-card-5 .content .text p,
.details-content .text,
.details-content .text p,
.about-us-content .text p,
.blog-card-5 .content .text a,
.off-canvas-text,
.off-canvas-text p {
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* E — Título do cabeçalho (breadcrumb): 62px era grande demais para títulos
 * longos (ex.: notícias), deixando o banner desproporcional. Reduz de forma
 * responsiva e melhora a quebra de linha. */
.breadcrumb-title h2 {
	font-size: clamp(28px, 3.2vw, 46px);
	line-height: 1.15;
	overflow-wrap: break-word;
}

/* ============================================================
 * RODADA 8.3 (20/08/2026) — ajustes reportados
 * ============================================================ */

/* Item 3a — /about (Quem Somos), seção "Algumas Razões" (.why-us-section-6):
 * a foto 1 ("Rota de fuga") ficava muito cortada (16/9). Deixa mais alta
 * (mostra mais da imagem). */
.why-us-section-6 .thumb .thumb-1 > img {
	aspect-ratio: 3 / 2;
}

/* Item 3b — mesma seção: badge "5+ Prazo para descaracterizar" fina (selo),
 * para não tampar a foto. */
.why-us-section-6 .thumb .thumb-3 .shape-wrapped-thumb .experience-shape {
	padding: 6px 14px;
	gap: 8px;
	border-width: 2px;
	border-radius: 8px;
	right: 10px;
	bottom: 10px;
}
.why-us-section-6 .thumb .thumb-3 .shape-wrapped-thumb .experience-shape h3 {
	font-size: 22px;
	line-height: 1;
}
.why-us-section-6 .thumb .thumb-3 .shape-wrapped-thumb .experience-shape p {
	max-width: 130px;
	font-size: 12px;
	line-height: 1.2;
	margin-bottom: 0;
}

/* Item 3c — HOME "Sobre Nós" (.about-us-section): remover a imagem de fundo,
 * deixar só o vídeo. */
.about-us-section .shape-wrapped-thumb-1 > img { display: none; }
.about-us-section .shape-wrapped-thumb-1 .box-shape,
.about-us-section .shape-wrapped-thumb-1 .award-shape { display: none; }
.about-us-section .positioned-shape { position: static; }
.about-us-section .shape-wrapped-thumb-2 { position: static; }

/* ============================================================
 * RODADA 8.4 (21/08/2026) — blog: link externo + detalhe limpo
 * ============================================================ */

/* Pedido 3 — Imagem principal do DETALHE (blog-details e noticia):
 * o tamanho variava conforme a foto enviada. Fixa a moldura (16/9) para
 * TODA postagem ficar igual, independentemente da imagem. Só display. */
.blog-card-5 .thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

/* Pedido 2 — com o cabeçalho grande oculto no detalhe do blog, dá um respiro
 * no topo do conteúdo (o breadcrumb antes reservava esse espaço). */
.services-details-section { padding-top: 60px; }
@media (max-width: 767px) { .services-details-section { padding-top: 40px; } }
