/*
Theme Name: CDV — Blocos e Pisos de Concreto
Theme URI: https://cdvblocosepisos.com.br
Author: CDV
Author URI: https://cdvblocosepisos.com.br
Description: Tema institucional clássico para a CDV — fabricante de blocos e pisos de concreto. Homepage pixel-perfect com CSS puro, sem frameworks externos. Cores da marca (azul #222C5F e dourado #E5C24C) e tipografia Hanken Grotesk.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cdv-blocos
Tags: business, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
	--cdv-navy: #222C5F;
	--cdv-navy-2: #2c3872;
	--cdv-navy-3: #333e7c;
	--cdv-gold: #E5C24C;
	--cdv-gold-2: #D3A852;
	--cdv-gold-hover: #d9b53c;
	--cdv-white: #ffffff;
	--cdv-bg-alt: #F4F5F8;
	--cdv-line: #e9ebf1;
	--cdv-line-2: #eef0f4;
	--cdv-text: #4A4E5A;
	--cdv-text-dark: #2f3444;
	--cdv-muted: #8b90a0;
	--cdv-wa: #25D366;
	--cdv-gold-grad: linear-gradient(180deg, var(--cdv-gold-2), var(--cdv-gold));
	--cdv-gold-grad-h: linear-gradient(90deg, var(--cdv-gold-2), var(--cdv-gold));
	--cdv-container: 1260px;
	--cdv-header-h: 80px;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	color: var(--cdv-text);
	background: var(--cdv-white);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.nav-lock { overflow: hidden; }

h1, h2, h3, h4, h5, h6 { font-family: inherit; }

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

a { color: var(--cdv-navy); text-decoration: none; }
a:hover { color: var(--cdv-gold-2); }

button { font-family: inherit; }

iframe { max-width: 100%; }

/* Accessibility helpers */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 9999;
	background: var(--cdv-navy);
	color: #fff;
	padding: 12px 18px;
	border-radius: 0 0 8px 0;
	font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   3. UTILITIES
   ========================================================================== */
.container {
	max-width: var(--cdv-container);
	margin: 0 auto;
	padding: 0 24px;
	width: 100%;
}

.section { padding: 100px 0; }
.section--alt { padding: 90px 0; background: var(--cdv-bg-alt); }

/* Section heads */
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 52px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }

.section-title {
	margin: 0;
	font-size: 36px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: -0.5px;
	color: var(--cdv-navy);
}
.section-subtitle { margin: 14px 0 0; font-size: 18px; color: var(--cdv-text); }

/* Underlined text link */
.link-underline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	font-size: 16px;
	color: var(--cdv-navy);
	border-bottom: 3px solid var(--cdv-gold);
	padding-bottom: 3px;
}
.link-underline:hover { color: var(--cdv-gold-2); }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 800;
	font-size: 16px;
	line-height: 1;
	padding: 15px 30px;
	border-radius: 11px;
	border: 0;
	cursor: pointer;
	text-align: center;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn--lg { font-size: 17px; padding: 18px 32px; }

.btn--gold { background: var(--cdv-gold); color: var(--cdv-navy); box-shadow: 0 10px 26px rgba(229, 194, 76, .35); }
.btn--gold:hover { background: var(--cdv-gold-hover); color: var(--cdv-navy); }

.btn--navy { background: var(--cdv-navy); color: #fff; }
.btn--navy:hover { background: var(--cdv-navy-2); color: var(--cdv-gold); }

.btn--outline { background: transparent; border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.btn--outline:hover { border-color: var(--cdv-gold); color: var(--cdv-gold); }
.btn--outline.btn--lg { padding: 16px 30px; }

/* ==========================================================================
   5. BRAND MARK (CSS wordmark)
   ========================================================================== */
.brand-mark { display: inline-flex; flex-direction: column; }
.brand-mark__row { display: flex; align-items: baseline; gap: 7px; }
.brand-mark__name { font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -1px; color: var(--cdv-navy); }
.brand-mark__reg { font-size: 11px; color: var(--cdv-navy); align-self: flex-start; }
.brand-mark__tag { font-weight: 700; font-size: 8px; letter-spacing: 2.4px; color: var(--cdv-text); margin-top: 3px; text-transform: uppercase; }

.brand-mark--light .brand-mark__name,
.brand-mark--light .brand-mark__reg { color: #fff; }
.brand-mark--light .brand-mark__tag { color: rgba(255, 255, 255, .7); }

/* Image logo (bundled brand asset) */
.site-brand__img { max-height: 52px; width: auto; display: block; }
.footer-brand { display: inline-block; }
.footer-brand__img { height: 62px; width: auto; display: block; }

/* ==========================================================================
   6. HEADER
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	box-shadow: 0 2px 14px rgba(34, 44, 95, .07);
}
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(34, 44, 95, .12); }
.site-header__accent { height: 4px; background: var(--cdv-gold-grad-h); }
.site-header__inner {
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-brand { display: inline-flex; align-items: center; gap: 12px; }
.site-brand--logo img,
.site-brand .custom-logo { max-height: 52px; width: auto; display: block; }

.main-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 34px;
}
.main-nav .menu-item { margin: 0; }
.main-nav .menu-item a {
	position: relative;
	display: inline-block;
	font-weight: 600;
	font-size: 15px;
	padding: 6px 0;
	color: var(--cdv-text);
}
.main-nav .menu-item a:hover { color: var(--cdv-navy); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a { color: var(--cdv-navy); }
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 3px;
	border-radius: 2px;
	background: var(--cdv-gold-grad-h);
}

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.site-header__cta { padding: 13px 22px; font-size: 15px; border-radius: 10px; box-shadow: 0 6px 16px rgba(229, 194, 76, .35); }

.nav-toggle { display: none; background: none; border: 0; color: var(--cdv-navy); cursor: pointer; padding: 8px 4px; font-size: 15px; font-weight: 800; }

.nav-overlay { position: fixed; inset: var(--cdv-header-h) 0 0 0; background: rgba(34, 44, 95, .35); z-index: 90; }

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(34, 44, 95, .94) 0%, rgba(34, 44, 95, .78) 55%, rgba(34, 44, 95, .55) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-top: 130px; padding-bottom: 120px; }
.hero__content { max-width: 720px; }
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(229, 194, 76, .14);
	border: 1px solid rgba(229, 194, 76, .35);
	color: var(--cdv-gold);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 8px 16px;
	border-radius: 30px;
}
.hero__title { margin: 24px 0 0; font-size: 62px; line-height: 1.03; font-weight: 900; letter-spacing: -1.5px; color: #fff; }
.hero__title-accent { color: var(--cdv-gold); }
.hero__subtitle { margin: 24px 0 0; font-size: 20px; line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 560px; }
.hero__highlight {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 0;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	border-left: 3px solid var(--cdv-gold);
	padding-left: 14px;
	max-width: 560px;
}
.hero__actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

/* ==========================================================================
   8. APRESENTAÇÃO
   ========================================================================== */
.apresentacao__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.apresentacao__text { position: relative; }
.apresentacao .section-title { font-size: 40px; letter-spacing: -1px; }
.apresentacao__text p { margin: 20px 0 0; font-size: 18px; line-height: 1.75; }
.apresentacao__text .link-underline { margin-top: 28px; font-size: 17px; }
.apresentacao__media { position: relative; }
.apresentacao__img { position: relative; z-index: 1; width: 100%; height: 420px; object-fit: cover; border-radius: 14px; display: block; }
.stat-badge {
	position: absolute;
	bottom: -22px;
	left: -22px;
	z-index: 2;
	background: var(--cdv-navy);
	color: #fff;
	border-radius: 12px;
	padding: 20px 26px;
	box-shadow: 0 14px 34px rgba(34, 44, 95, .25);
}
.stat-badge__number { display: block; font-size: 32px; font-weight: 900; color: var(--cdv-gold); line-height: 1; }
.stat-badge__label { display: block; font-size: 13px; letter-spacing: .5px; color: rgba(255, 255, 255, .75); margin-top: 4px; }

/* Decorative brand accents (ellipses/dots) — purely visual, non-content. */
.apresentacao__deco { position: absolute; pointer-events: none; user-select: none; }
.apresentacao__deco--ring { top: -70px; right: -70px; width: 190px; height: 190px; z-index: 0; }
.apresentacao__deco--dots { top: -44px; left: -44px; width: 135px; height: auto; z-index: 0; opacity: .85; }

/* ==========================================================================
   9. DIFERENCIAIS
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
	background: #fff;
	border-radius: 14px;
	padding: 32px 26px;
	box-shadow: 0 8px 24px rgba(34, 44, 95, .06);
	border-top: 4px solid transparent;
	transition: border-top-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { border-top-color: var(--cdv-gold); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(34, 44, 95, .12); }
.feature-card__title { margin: 0; font-size: 19px; font-weight: 800; color: var(--cdv-navy); }
.feature-card__text { margin: 10px 0 0; font-size: 15px; line-height: 1.6; }

/* ==========================================================================
   9b. PILARES
   ========================================================================== */
.pilares { background: var(--cdv-navy); }
.pilares .section-title { color: #fff; }
.pilares .section-subtitle { color: rgba(255, 255, 255, .78); }
.pilar-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px 44px;
}
.pilar-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 17px;
	font-weight: 800;
	color: #fff;
}
.pilar-item__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--cdv-gold);
	color: var(--cdv-navy);
	font-size: 14px;
	font-weight: 900;
}

/* ==========================================================================
   10. PRODUTOS
   ========================================================================== */
.produtos .section-title { font-size: 40px; letter-spacing: -1px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(34, 44, 95, .07);
	color: var(--cdv-text);
}
.product-card__media { height: 190px; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card__body { padding: 22px; }
.product-card__title { margin: 0; font-size: 18px; font-weight: 800; color: var(--cdv-navy); }
.product-card__desc { margin: 8px 0 0; font-size: 14px; line-height: 1.55; }

/* ==========================================================================
   10b. CERTIFICADOS
   ========================================================================== */
.cert-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 28px;
}
.cert-card {
	position: relative;
	z-index: 0;
	flex: 1 1 260px;
	max-width: 340px;
	display: block;
	color: var(--cdv-text);
	text-decoration: none;
	transition: transform .25s ease;
}
.cert-card:hover { transform: translateY(-4px); }
.cert-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--cdv-line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(34, 44, 95, .07);
	transition: box-shadow .25s ease, border-color .25s ease;
}
.cert-card:hover .cert-card__inner {
	box-shadow: 0 16px 36px rgba(34, 44, 95, .14);
	border-color: var(--cdv-gold);
}
/* Decorative rings, anchored to the corner of the first/last certificate card. */
.cert-card__deco { position: absolute; pointer-events: none; user-select: none; z-index: -1; }
.cert-card__deco--dots { top: -39px; left: -39px; width: 125px; height: auto; opacity: .9; }
.cert-card__deco--ring-yellow { bottom: -42px; right: -42px; width: 165px; height: 165px; }
.cert-card__media {
	height: 200px;
	overflow: hidden;
	background: var(--cdv-bg-alt);
	display: flex;
	align-items: center;
	justify-content: center;
}
.cert-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Fallback document icon for certificates without a cover image. */
.cert-card__icon { display: flex; align-items: center; justify-content: center; }
.cert-card__doc {
	position: relative;
	width: 76px;
	height: 96px;
	border-radius: 8px;
	background: #fff;
	border: 2px solid var(--cdv-line);
	box-shadow: 0 8px 20px rgba(34, 44, 95, .10);
	display: flex;
	align-items: center;
	justify-content: center;
}
.cert-card__doc::before {
	content: "";
	position: absolute;
	top: -2px;
	right: -2px;
	width: 24px;
	height: 24px;
	background: var(--cdv-bg-alt);
	border-left: 2px solid var(--cdv-line);
	border-bottom: 2px solid var(--cdv-line);
	border-bottom-left-radius: 8px;
}
.cert-card__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.cert-card__title { font-size: 18px; font-weight: 800; color: var(--cdv-navy); }
.cert-card__desc { font-size: 14px; line-height: 1.55; color: var(--cdv-muted); }
.cert-card__cta { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--cdv-gold-2); }
.cert-card:hover .cert-card__cta { color: var(--cdv-navy); }

/* ==========================================================================
   11. GALERIA
   ========================================================================== */
.galeria { background: url('assets/images/deco-galeria-bg.png') center / cover no-repeat; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 16px; }
.gallery-item { position: relative; z-index: 0; margin: 0; }
.gallery-item__frame { display: block; width: 100%; height: 100%; border-radius: 12px; overflow: hidden; }
.gallery-item__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-item:hover .gallery-item__frame img { transform: scale(1.06); }
/* Decorative brand accents, anchored to the corner of a specific photo. */
.galeria__deco { position: absolute; pointer-events: none; user-select: none; z-index: -1; }
.galeria__deco--dots { top: -33px; right: -33px; width: 125px; height: auto; opacity: .9; }
.galeria__deco--ring { bottom: -45px; left: -45px; width: 150px; height: 150px; }
.g-a { grid-column: 1 / 2; grid-row: 1 / 3; }
.g-b { grid-column: 2 / 3; grid-row: 1 / 2; }
.g-c { grid-column: 3 / 4; grid-row: 1 / 2; }
.g-d { grid-column: 4 / 5; grid-row: 1 / 3; }
.g-e { grid-column: 2 / 4; grid-row: 2 / 3; }

/* ==========================================================================
   12. FAIXA CTA
   ========================================================================== */
.cta-band { position: relative; background: var(--cdv-navy); overflow: hidden; }
.cta-band__inner {
	position: relative;
	z-index: 1;
	padding-top: 72px;
	padding-bottom: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}
.cta-band__title { margin: 0; font-size: 38px; font-weight: 900; letter-spacing: -0.5px; color: #fff; max-width: 620px; line-height: 1.1; }
.cta-band__subtitle { margin: 14px 0 0; font-size: 18px; color: rgba(255, 255, 255, .78); }
.cta-band__bricks { display: block; margin-top: 22px; width: min(480px, 100%); height: auto; }

/* ==========================================================================
   13. DEPOIMENTOS
   ========================================================================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--cdv-bg-alt); border-radius: 16px; padding: 34px 30px; margin: 0; }
.testimonial__stars { color: var(--cdv-gold); font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial__quote { margin: 0; font-size: 17px; line-height: 1.65; color: var(--cdv-text-dark); }
.testimonial__quote::before { content: "\201C"; }
.testimonial__quote::after { content: "\201D"; }
.testimonial__author { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.testimonial__avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--cdv-navy);
	color: var(--cdv-gold);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	flex-shrink: 0;
}
.testimonial__name { display: block; font-weight: 800; font-size: 15px; color: var(--cdv-navy); }
.testimonial__company { display: block; font-size: 13px; color: var(--cdv-muted); }

/* ==========================================================================
   14. INSTAGRAM
   ========================================================================== */
.instagram .section-title { font-size: 34px; }
.instagram-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.instagram-item { display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; }
.instagram-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.instagram-item:hover img { transform: scale(1.07); }
.instagram__cta { text-align: center; margin-top: 40px; }

/* ==========================================================================
   15. LOCALIZAÇÃO
   ========================================================================== */
.localizacao .section-title { font-size: 38px; letter-spacing: -1px; }
.localizacao__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.info-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.info-list__label { display: block; font-weight: 800; color: var(--cdv-navy); font-size: 15px; }
.info-list__value { display: block; margin-top: 4px; font-size: 16px; }
.localizacao__info .btn { margin-top: 30px; }
.localizacao__map { min-height: 380px; border-radius: 16px; overflow: hidden; background: var(--cdv-bg-alt); }
.localizacao__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.site-footer { background: var(--cdv-navy); color: #fff; }
.site-footer__accent { height: 4px; background: var(--cdv-gold-grad-h); }
.site-footer__inner {
	padding-top: 64px;
	padding-bottom: 40px;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
	gap: 48px;
}
.footer-about { margin: 20px 0 0; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .72); max-width: 300px; }
.footer-col__title { margin: 0 0 18px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cdv-gold); font-weight: 800; }
.footer-col__title--map { margin-top: 12px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-menu-item a { color: rgba(255, 255, 255, .82); }
.footer-menu-item a:hover { color: var(--cdv-gold); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, .82); }
.footer-contact a { color: rgba(255, 255, 255, .82); }
.footer-contact a:hover { color: var(--cdv-gold); }
.footer-contact__address { line-height: 1.6; }
.footer-social { color: rgba(255, 255, 255, .82); font-size: 15px; display: inline-block; margin-bottom: 16px; }
.footer-social:hover { color: var(--cdv-gold); }
.footer-map {
	height: 200px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--cdv-navy-2);
}
.footer-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.footer-map__link { display: inline-block; margin-top: 12px; color: rgba(255, 255, 255, .82); font-size: 13px; font-weight: 700; }
.footer-map__link:hover { color: var(--cdv-gold); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom-inner {
	padding-top: 22px;
	padding-bottom: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
	color: rgba(255, 255, 255, .55);
}

/* ==========================================================================
   17. WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 200;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--cdv-wa);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
	animation: cdvpulse 2.2s infinite;
}
.whatsapp-float:hover { transform: scale(1.05); }
@keyframes cdvpulse {
	0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
	70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   18. GENERIC CONTENT (index.php / inner pages)
   ========================================================================== */
.entry { margin-bottom: 48px; }
.entry__title { font-size: 32px; font-weight: 900; letter-spacing: -0.5px; color: var(--cdv-navy); line-height: 1.15; margin: 0 0 16px; }
.entry__title a { color: inherit; }
.entry__title a:hover { color: var(--cdv-gold-2); }
.entry__thumb { margin: 0 0 24px; border-radius: 14px; overflow: hidden; }
.entry__thumb img { width: 100%; height: auto; display: block; }
.entry__content { font-size: 17px; line-height: 1.75; }
.entry__content a { text-decoration: underline; }
.entry__content h2 { font-size: 26px; color: var(--cdv-navy); }
.entry__content img { border-radius: 10px; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 9px;
	background: var(--cdv-bg-alt);
	color: var(--cdv-navy);
	font-weight: 700;
}
.pagination .page-numbers.current { background: var(--cdv-navy); color: #fff; }

.entry__content .wp-block-search__inside-wrapper,
.search-form { display: flex; gap: 8px; margin-top: 16px; }
.search-form .search-field { flex: 1; padding: 12px 14px; border: 1px solid var(--cdv-line); border-radius: 9px; font-size: 15px; }
.search-form .search-submit { background: var(--cdv-gold); color: var(--cdv-navy); border: 0; padding: 0 20px; border-radius: 9px; font-weight: 800; cursor: pointer; }

/* ==========================================================================
   19. FAQ ACCORDION (inner pages)
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--cdv-line); }
.faq-question {
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 22px 0;
	font-size: 18px;
	font-weight: 800;
	color: var(--cdv-navy);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.faq-question::after { content: "+"; font-size: 24px; color: var(--cdv-gold-2); transition: transform .2s ease; }
.faq-item.is-open .faq-question::after { content: "\2212"; }
.faq-answer { padding: 0 0 22px; font-size: 16px; line-height: 1.7; }

/* ==========================================================================
   20. INNER PAGES — PRODUTOS, CONTATO, SOBRE
   ========================================================================== */

/* Orange accent (already present in brand assets — deco-dots.png, deco-ring-orange.png) */
:root {
	--cdv-orange: #CC6A1E;
	--cdv-orange-2: #B15A17;
	--cdv-orange-tint: rgba(204, 106, 30, .10);
}

/* Page banner (inner-page header, e.g. Produtos, Sobre) */
.page-banner { position: relative; background: var(--cdv-navy); overflow: hidden; min-height: 260px; display: flex; align-items: center; }
.page-banner__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.page-banner__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(34, 44, 95, .97) 0%, rgba(34, 44, 95, .93) 100%); }
.page-banner__inner { position: relative; z-index: 1; width: 100%; padding-top: 56px; padding-bottom: 56px; }
.page-banner__title { margin: 0; color: #fff; font-size: 42px; font-weight: 900; letter-spacing: -1px; line-height: 1.15; max-width: 720px; }

/* Orange text eyebrow (used instead of the gold bars on inner pages) */
.eyebrow-orange {
	display: inline-block;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--cdv-orange);
}

/* Buttons: full-width variant */
.btn--block { width: 100%; }

/* ---- CONTATO ---- */
.contato { position: relative; overflow: hidden; }
.contato__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; padding-top: 100px; padding-bottom: 100px; }
/*
 * Anchored to .contato__grid (the centered .container) instead of the raw
 * viewport, so the left edge always lines up with the start of the form
 * column; `right` uses the classic full-bleed trick to still reach the
 * true viewport edge regardless of container width.
 */
.contato__bg {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 70%;
	right: calc(-50vw + 50%);
	background-color: var(--cdv-gold);
	background-size: contain;
	background-position: center;
}
.contato__info { position: relative; }
.contato__title { position: relative; margin: 0 0 16px; font-size: 44px; line-height: 1.15; font-weight: 900; letter-spacing: -1px; color: var(--cdv-navy); max-width: 620px; }
.contato__lead { position: relative; margin: 0 0 40px; font-size: 20px; line-height: 1.45; font-weight: 600; color: var(--cdv-navy); max-width: 620px; }

.info-card-row { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: var(--cdv-bg-alt); border-radius: 14px; padding: 26px 28px; }
.info-card__title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 15px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--cdv-navy); }
.info-card__title svg { flex-shrink: 0; color: var(--cdv-orange); }
.info-card__line { margin: 0 0 4px; font-size: 16px; color: var(--cdv-text); }
.info-card__line:last-child { margin-bottom: 0; }
.info-card__line strong { color: var(--cdv-orange); font-weight: 800; }
.info-card__address { font-size: 16px; line-height: 1.6; color: var(--cdv-text-dark); text-decoration: underline; display: inline-flex; align-items: center; gap: 6px; }
.info-card__address:hover { color: var(--cdv-orange); }
.info-card__address svg { flex-shrink: 0; color: var(--cdv-orange); }

.contato__phone-line { margin: 28px 0 0; font-size: 17px; color: var(--cdv-text-dark); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.contato__phone-link { font-weight: 800; color: var(--cdv-orange); text-decoration: underline; }
.contato__phone-link:hover { color: var(--cdv-orange-2); }
.contato__wa { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cdv-orange); color: #fff; flex-shrink: 0; }

.contato__form-wrap { position: relative; }
.contato__deco-dots { position: absolute; top: -34px; right: -20px; width: 150px; height: auto; z-index: 0; opacity: .95; pointer-events: none; }
.contato__form-card { position: relative; z-index: 1; background: #fff; border-radius: 18px; padding: 40px 36px; box-shadow: 0 24px 60px rgba(34, 44, 95, .16); }
.contato__form-title { margin: 0 0 26px; font-size: 24px; font-weight: 900; letter-spacing: -.5px; color: var(--cdv-navy); }

.form-notice { margin: 0 0 20px; padding: 14px 16px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.form-notice--success { background: rgba(37, 211, 102, .12); color: #1a8f4d; }
.form-notice--error { background: rgba(204, 40, 40, .1); color: #b32323; }

.orcamento-form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field__label { font-size: 14px; font-weight: 800; color: var(--cdv-navy); }
.form-field input,
.form-field select {
	width: 100%;
	font: inherit;
	font-size: 15px;
	color: var(--cdv-text-dark);
	padding: 13px 16px;
	border: 1px solid var(--cdv-line);
	border-radius: 9px;
	background: #fff;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.form-field input::placeholder { color: var(--cdv-muted); }
.form-field input:focus,
.form-field select:focus {
	outline: none;
	border-color: var(--cdv-gold-2);
	box-shadow: 0 0 0 3px rgba(229, 194, 76, .25);
}
.form-field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b90a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	padding-right: 40px;
	cursor: pointer;
}
.form-field select:invalid { color: var(--cdv-muted); }
.orcamento-form .btn { margin-top: 6px; }

/* Honeypot (hidden from real visitors, kept in the tab/DOM flow for basic spam protection) */
.cdv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.orcamento-form .g-recaptcha { min-height: 78px; }
@media (max-width: 380px) {
	.orcamento-form .g-recaptcha { transform: scale(.88); transform-origin: 0 0; }
}

/* ---- PRODUTOS ---- */
.produtos-feature { padding: 88px 0; }
.produtos-feature + .produtos-feature { border-top: 1px solid var(--cdv-line-2); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row--reverse .feature-text { order: 2; }
.feature-row--reverse .feature-media { order: 1; }
.feature-text .section-title { font-size: 42px; letter-spacing: -1px; line-height: 1.15; margin: 0; }
.feature-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.feature-list li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.6; color: var(--cdv-text); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--cdv-gold-grad); transform: rotate(45deg); }

.feature-media { display: flex; gap: 18px; }
.feature-media__main { flex: 1 1 62%; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 34px rgba(34, 44, 95, .1); }
.feature-media__main img { display: block; width: 100%; height: 560px; object-fit: cover; }
.feature-media__thumbs { flex: 1 1 38%; display: flex; flex-direction: column; gap: 18px; }
.feature-thumb { flex: 1; border-radius: 14px; overflow: hidden; position: relative; }
.feature-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature-thumb--navy { background: var(--cdv-navy); }
.feature-thumb--navy img { mix-blend-mode: luminosity; opacity: .55; }
.feature-thumb--gold { background: var(--cdv-gold-grad); }
.feature-thumb--gold img { mix-blend-mode: multiply; opacity: .75; }

/* Single pre-composed product visual (e.g. pallet + detail chips baked into one image) */
.feature-visual { display: flex; align-items: center; justify-content: center; }
.feature-visual img { width: 100%; height: auto; display: block; }

.catalogo { background: var(--cdv-bg-alt); }
.catalogo .feature-text p { margin: 18px 0 0; font-size: 16px; line-height: 1.7; }
.catalogo .btn { margin-top: 26px; }
.catalogo__preview { position: relative; display: flex; gap: 16px; }
.catalogo__deco { position: absolute; top: -30px; right: -20px; width: 130px; height: auto; opacity: .9; z-index: 0; }
.catalogo__card { position: relative; z-index: 1; flex: 1; }
.catalogo__card img { width: 100%; height: auto; display: block; }
.catalogo__card:last-child { margin-top: 34px; }

.closing-cta {
	border-top: 1px solid var(--cdv-line);
	padding: 64px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.closing-cta__title { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -.5px; color: var(--cdv-navy); }
.closing-cta__subtitle { margin: 10px 0 0; font-size: 16px; color: var(--cdv-text); }

/* ---- SOBRE ---- */
/* Light variant of the shared .cta-band (Home keeps its navy version). */
.cta-band--light { background: #fff; border-top: 1px solid var(--cdv-line); }
.cta-band--light .cta-band__title { color: var(--cdv-navy); }
.cta-band--light .cta-band__subtitle { color: var(--cdv-text); }

/* ==========================================================================
   21. RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
	.hero__title { font-size: 56px; }
}

@media (max-width: 1024px) {
	.section { padding: 84px 0; }
	.section--alt { padding: 76px 0; }
	.hero__inner { padding-top: 110px; padding-bottom: 96px; }
	.hero__title { font-size: 50px; }
	.section-title,
	.apresentacao .section-title,
	.produtos .section-title,
	.localizacao .section-title { font-size: 34px; }
	.cta-band__title { font-size: 32px; }
	.apresentacao__grid,
	.localizacao__grid { grid-template-columns: 1fr; gap: 40px; }
	.stat-badge { left: 22px; }
	.feature-grid,
	.product-grid { grid-template-columns: repeat(2, 1fr); }
	.testimonial-grid { grid-template-columns: 1fr; }
	.instagram-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Header → mobile menu */
@media (max-width: 860px) {
	.main-nav {
		position: fixed;
		top: var(--cdv-header-h);
		right: 16px;
		width: 240px;
		background: #fff;
		border-radius: 14px;
		box-shadow: 0 20px 50px rgba(34, 44, 95, .25);
		z-index: 95;
		padding: 12px;
		display: none;
	}
	.site-header.is-nav-open .main-nav { display: block; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 4px; }
	.main-nav .menu-item a { padding: 13px 14px; border-radius: 9px; font-weight: 700; font-size: 16px; }
	.main-nav .menu-item a:hover { background: var(--cdv-bg-alt); }
	.main-nav .current-menu-item > a::after,
	.main-nav .current_page_item > a::after { display: none; }
	.nav-toggle { display: block; }
	.footer .site-footer__inner,
	.site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
	.section { padding: 72px 0; }
	.section--alt { padding: 64px 0; }
	.apresentacao__text { text-align: center; }
	.section-head--split { align-items: flex-start; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
	.g-a, .g-b, .g-c, .g-d, .g-e { grid-column: auto; grid-row: auto; }
	.g-a, .g-d { grid-row: span 2; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.apresentacao__deco--dots,
	.galeria__deco--dots { display: none; }
	.apresentacao__deco--ring { width: 100px; height: 100px; top: -28px; right: -24px; }
	.galeria__deco--ring { width: 110px; height: 110px; bottom: -28px; left: -24px; }
	.cert-card__deco--dots { width: 85px; }
	.cert-card__deco--ring-yellow { width: 100px; height: 100px; }
	.cta-band__bricks { width: min(340px, 100%); }
}

@media (max-width: 600px) {
	.container { padding: 0 18px; }
	.cta-band__inner { padding: 52px 28px 56px; gap: 28px; }
	.site-footer__inner { padding: 52px 28px 56px; }
	.site-footer__bottom-inner { padding: 24px 28px 96px; }
	.footer-map { height: 220px; }
	.hero__inner { padding-top: 96px; padding-bottom: 80px; }
	.hero__title { font-size: 40px; letter-spacing: -1px; }
	.hero__subtitle { font-size: 18px; }
	.hero__actions .btn { width: 100%; }
	.section-title,
	.apresentacao .section-title,
	.produtos .section-title,
	.localizacao .section-title { font-size: 28px; }
	.feature-grid,
	.product-grid { grid-template-columns: 1fr; }
	.instagram-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.site-footer__inner { grid-template-columns: 1fr; gap: 36px; }
	.site-header__cta { padding: 11px 16px; font-size: 14px; }
	.brand-mark__name { font-size: 26px; }
	.stat-badge { padding: 16px 20px; left: 16px; bottom: -18px; }
	.cta-band__title { font-size: 27px; }
}

@media (max-width: 400px) {
	.site-header__cta { display: none; }
}

/* ==========================================================================
   22. RESPONSIVE — INNER PAGES
   ========================================================================== */
@media (max-width: 1024px) {
	.page-banner__title { font-size: 36px; }
	.contato__bg { left: 0; opacity: .5; }
	.contato__grid { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; gap: 40px; }
	.contato__form-wrap { max-width: 480px; }
	.feature-media__main img { height: 420px; }
	.feature-row,
	.feature-row--reverse .feature-text,
	.feature-row--reverse .feature-media { grid-template-columns: 1fr; order: initial; }
	.feature-row { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
	.produtos-feature { padding: 64px 0; }
	.page-banner__inner { padding-top: 44px; padding-bottom: 44px; }
	.page-banner__title { font-size: 30px; }
	.feature-text .section-title { font-size: 32px; }
	.contato__title { font-size: 32px; }
	.contato__lead { font-size: 17px; }
	.contato__form-card { padding: 30px 24px; }
	.feature-media { flex-direction: column; }
	.feature-media__main img { height: 300px; }
	.feature-media__thumbs { flex-direction: row; height: 150px; }
	.catalogo__preview { max-width: 420px; }
	.closing-cta { padding: 48px 0; }
	.closing-cta__title { font-size: 25px; }
}

@media (max-width: 600px) {
	.contato__deco-dots,
	.catalogo__deco { display: none; }
	.contato__bg { opacity: .35; }
	.feature-text .section-title { font-size: 27px; }
	.info-card { padding: 22px 20px; }
	.closing-cta { flex-direction: column; align-items: flex-start; }
	.closing-cta .btn { width: 100%; }
}

/* Home institutional video */
.video-institucional { background: var(--cdv-bg-alt); overflow: hidden; }
.video-institucional__layout { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 56px; }
.video-institucional__text, .video-institucional__frame { position: relative; z-index: 1; }
.video-institucional__deco { position: absolute; z-index: 0; pointer-events: none; user-select: none; }
.video-institucional__deco--dots { top: -38px; right: -34px; width: 135px; height: auto; opacity: .85; }
.video-institucional__text .section-title { margin: 0; }
.video-institucional__text .section-subtitle { margin-top: 16px; }
.video-institucional__frame { width: min(100%, 360px); justify-self: start; min-width: 0; overflow: hidden; border-radius: 18px; background: #111; box-shadow: 0 22px 55px rgba(34, 44, 95, .18); }
.video-institucional__frame video { display: block; width: 100%; height: auto; max-height: 620px; aspect-ratio: 9 / 16; object-fit: cover; }
.video-institucional__frame video.is-playing { object-fit: contain; }
.video-institucional__frame video:fullscreen,
.video-institucional__frame video:-webkit-full-screen { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; aspect-ratio: auto; object-fit: contain; }

@media (max-width: 768px) {
	.video-institucional__layout { grid-template-columns: 1fr; gap: 28px; }
	.video-institucional__text { text-align: center; }
	.video-institucional__frame { justify-self: center; }
}
