
/*
 * Chevalier Gutenberg Home
 * Uses only native WordPress/Gutenberg blocks.
 */

.chev-home,
.chev-home * {
	box-sizing: border-box;
}

.chev-home {
	--chev-bg: #f4f5f7;
	--chev-paper: #ffffff;
	--chev-ink: #08090c;
	--chev-muted: #696d74;
	--chev-line: #dfe2e7;
	--chev-dark: #08090c;
	--chev-max: 1440px;
	color: var(--chev-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.chevalier-home-page .entry-header {
	display: none !important;
}

body.chevalier-home-page .site-main,
body.chevalier-home-page main#main {
	padding-top: 0 !important;
}

.chev-home > .wp-block-group,
.chev-home > .wp-block-cover {
	margin-block-start: 0;
}

.chev-eyebrow {
	margin: 0 0 16px !important;
	font-size: 11px !important;
	line-height: 1.2 !important;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #44484f;
}

.chev-section-title {
	margin: 0 !important;
	font-size: clamp(25px, 2.7vw, 38px) !important;
	line-height: 1 !important;
	letter-spacing: -.035em;
	font-weight: 650;
}

.chev-section {
	padding: 58px 32px;
	background: var(--chev-bg);
}

.chev-section-white {
	background: #fff;
}

.chev-section-inner {
	max-width: var(--chev-max) !important;
	margin-inline: auto !important;
}

.chev-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	margin-bottom: 20px !important;
}

.chev-small-link {
	margin: 0 !important;
	font-size: 10px !important;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.chev-small-link a {
	color: #111;
	text-decoration: none;
}

.chev-hero {
	position: relative;
	min-height: 650px;
	padding: 0 32px;
	overflow: hidden;
	background: #eef0f3;
}

.chev-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(244,245,247,.94) 0%, rgba(244,245,247,.76) 40%, rgba(244,245,247,.1) 72%, rgba(244,245,247,0) 100%);
}

.chev-hero-bg {
	position: absolute !important;
	z-index: 0;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

.chev-hero-bg img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.chev-hero-columns {
	position: relative;
	z-index: 2;
	min-height: 650px;
	max-width: var(--chev-max) !important;
	margin-inline: auto !important;
	margin-bottom: 0 !important;
	align-items: center !important;
}

.chev-hero-copy {
	padding: 70px 20px 70px 24px;
}

.chev-hero-title {
	margin: 0 !important;
	max-width: 700px;
	font-size: clamp(52px, 7vw, 112px) !important;
	line-height: .88 !important;
	letter-spacing: -.06em;
	font-weight: 720;
	text-transform: uppercase;
}

.chev-hero-text {
	max-width: 470px;
	margin: 24px 0 0 !important;
	color: #41454c;
	font-size: 15px !important;
	line-height: 1.65 !important;
}

.chev-primary-button {
	margin-top: 28px !important;
}

.chev-primary-button .wp-block-button__link {
	padding: 15px 25px !important;
	border-radius: 999px !important;
	background: #08090c !important;
	color: #fff !important;
	font-size: 10px !important;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.chev-hero-person {
	margin: auto auto -26px !important;
	max-width: 670px !important;
}

.chev-hero-person img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 22px 24px rgba(0,0,0,.12));
}

.chev-collection-grid {
	gap: 14px !important;
	margin-bottom: 0 !important;
}

.chev-collection-card {
	position: relative;
	overflow: hidden;
	min-width: 0;
	border-radius: 22px;
	background: #e8eaed;
}

.chev-collection-card figure {
	margin: 0 !important;
}

.chev-collection-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform .4s ease;
}

.chev-collection-card:hover img {
	transform: scale(1.025);
}

.chev-card-caption {
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 14px;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin: 0 !important;
	color: white !important;
	text-shadow: 0 2px 12px rgba(0,0,0,.6);
	font-size: 14px !important;
	font-weight: 700;
	letter-spacing: .08em;
}

.chev-drop {
	padding: 30px 32px 0;
	background: #050506;
}

.chev-drop-inner {
	max-width: var(--chev-max) !important;
	min-height: 470px;
	margin-inline: auto !important;
	overflow: hidden;
	border-radius: 30px;
	background: radial-gradient(circle at 75% 25%, #292a2f 0%, #0c0c0e 44%, #050506 78%);
}

.chev-drop-columns {
	min-height: 470px;
	margin-bottom: 0 !important;
}

.chev-drop-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 50px 20px 50px 54px;
}

.chev-drop-title {
	margin: 0 !important;
	color: #fff !important;
	font-size: clamp(42px, 5.3vw, 76px) !important;
	line-height: .9 !important;
	letter-spacing: -.05em;
	text-transform: uppercase;
}

.chev-drop-text {
	max-width: 430px;
	color: #afb2b8 !important;
	line-height: 1.65 !important;
}

.chev-drop .chev-primary-button .wp-block-button__link {
	background: #fff !important;
	color: #050506 !important;
}

.chev-drop-media {
	height: 100%;
	margin: 0 !important;
}

.chev-drop-media img {
	display: block;
	width: 100%;
	height: 470px;
	object-fit: cover;
}

.chev-product-grid {
	gap: 18px !important;
	margin-bottom: 18px !important;
}

.chev-product-card figure {
	margin: 0 0 12px !important;
	overflow: hidden;
	border-radius: 20px;
	background: #e7e9eb;
}

.chev-product-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.chev-product-name {
	margin: 0 !important;
	font-size: 13px !important;
	line-height: 1.2 !important;
	letter-spacing: .055em;
}

.chev-product-price {
	margin: 6px 0 0 !important;
	color: #686c73;
	font-size: 12px !important;
}

.chev-benefits {
	padding: 40px 32px;
	background: #fff;
}

.chev-benefit-grid {
	max-width: var(--chev-max) !important;
	margin: 0 auto !important;
	gap: 0 !important;
	border-top: 1px solid var(--chev-line);
	border-bottom: 1px solid var(--chev-line);
}

.chev-benefit {
	padding: 26px 22px;
	border-right: 1px solid var(--chev-line);
}

.chev-benefit:last-child {
	border-right: 0;
}

.chev-benefit-title {
	margin: 0 !important;
	font-size: 10px !important;
	letter-spacing: .11em;
	text-transform: uppercase;
	font-weight: 700;
}

.chev-benefit-text {
	margin: 6px 0 0 !important;
	color: #777b82;
	font-size: 11px !important;
	line-height: 1.5 !important;
}

.chev-story {
	padding: 68px 32px;
	background: #08090c;
	color: #fff;
}

.chev-story-columns {
	max-width: var(--chev-max) !important;
	margin: 0 auto !important;
	gap: 20px !important;
	align-items: stretch !important;
}

.chev-story-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 44px 42px;
}

.chev-story-title {
	margin: 0 !important;
	color: #fff !important;
	font-size: clamp(43px, 5.3vw, 78px) !important;
	line-height: .93 !important;
	letter-spacing: -.05em;
}

.chev-story-text {
	max-width: 540px;
	color: #aeb2b9 !important;
	line-height: 1.75 !important;
}

.chev-story-media {
	height: 100%;
	margin: 0 !important;
	overflow: hidden;
	border-radius: 28px;
}

.chev-story-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 500px;
	object-fit: cover;
}

.chev-instagram-grid {
	gap: 10px !important;
	margin-bottom: 0 !important;
}

.chev-instagram-grid figure {
	margin: 0 !important;
}

.chev-instagram-grid img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 16px;
}

/* Blocksy header polish without replacing the native editable header. */
body.chevalier-home-page #header [data-row*="middle"] {
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(12px);
}

body.chevalier-home-page #header a {
	letter-spacing: .04em;
}

/* Gutenberg editor: make full-width blocks easier to understand. */
.editor-styles-wrapper .chev-home {
	max-width: none !important;
}

@media (max-width: 767px) {
	.chev-section {
		padding: 38px 12px;
	}

	.chev-section-head {
		margin-bottom: 12px !important;
	}

	.chev-section-title {
		font-size: 22px !important;
	}

	.chev-hero {
		min-height: 590px;
		padding: 0 12px;
	}

	.chev-hero::after {
		background: linear-gradient(180deg, rgba(244,245,247,.98) 0%, rgba(244,245,247,.83) 38%, rgba(244,245,247,.12) 68%, rgba(244,245,247,0) 100%);
	}

	.chev-hero-columns {
		min-height: 590px;
		display: block !important;
	}

	.chev-hero-copy {
		position: relative;
		z-index: 3;
		padding: 42px 6px 0;
	}

	.chev-hero-title {
		font-size: 50px !important;
		max-width: 355px;
	}

	.chev-hero-text {
		max-width: 315px;
		margin-top: 16px !important;
		font-size: 13px !important;
	}

	.chev-hero-person {
		width: min(100%, 490px) !important;
		margin: -12px auto -25px !important;
	}

	/* Explicitly keep all four collection blocks side by side on mobile. */
	.chev-collection-grid {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 6px !important;
	}

	.chev-collection-grid > .wp-block-column {
		min-width: 0 !important;
		flex-basis: auto !important;
	}

	.chev-collection-card {
		border-radius: 10px;
	}

	.chev-collection-card img {
		aspect-ratio: 1 / 1;
	}

	.chev-card-caption {
		left: 7px;
		right: 7px;
		bottom: 7px;
		font-size: 7px !important;
		letter-spacing: .02em;
	}

	.chev-card-caption span:last-child {
		display: none;
	}

	.chev-drop {
		padding: 16px 12px 0;
	}

	.chev-drop-inner {
		border-radius: 18px;
	}

	.chev-drop-columns {
		display: flex !important;
		flex-direction: column-reverse !important;
	}

	.chev-drop-copy {
		padding: 32px 22px 38px;
	}

	.chev-drop-title {
		font-size: 44px !important;
	}

	.chev-drop-media img {
		height: 330px;
	}

	.chev-product-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
	}

	.chev-product-grid > .wp-block-column {
		min-width: 0 !important;
		flex-basis: auto !important;
	}

	.chev-product-card figure {
		border-radius: 12px;
	}

	.chev-product-name {
		font-size: 10px !important;
	}

	.chev-product-price {
		font-size: 10px !important;
	}

	.chev-benefits {
		padding: 32px 12px;
	}

	.chev-benefit-grid {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.chev-benefit {
		border-right: 1px solid var(--chev-line);
		border-bottom: 1px solid var(--chev-line);
	}

	.chev-benefit:nth-child(2n) {
		border-right: 0;
	}

	.chev-benefit:nth-last-child(-n+2) {
		border-bottom: 0;
	}

	.chev-story {
		padding: 42px 12px;
	}

	.chev-story-columns {
		display: block !important;
	}

	.chev-story-copy {
		padding: 20px 7px 34px;
	}

	.chev-story-title {
		font-size: 44px !important;
	}

	.chev-story-media {
		border-radius: 18px;
	}

	.chev-story-media img {
		min-height: 340px;
	}

	.chev-instagram-grid {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 6px !important;
	}

	.chev-instagram-grid > .wp-block-column {
		min-width: 0 !important;
		flex-basis: auto !important;
	}

	.chev-instagram-grid img {
		border-radius: 10px;
	}
}


/* ===== Chevalier header refinement v1.1 ===== */

/* Logo is the Home button. */
body.chevalier-home-page #header [data-id="logo"] a,
body.chevalier-home-page #header .site-logo-container a,
body.chevalier-home-page #header .site-logo a {
	display: inline-flex;
	align-items: center;
}

body.chevalier-home-page #header .site-logo-container img,
body.chevalier-home-page #header .site-logo img,
body.chevalier-home-page #header [data-id="logo"] img {
	width: clamp(180px, 17vw, 250px) !important;
	max-height: 58px !important;
	height: auto !important;
	object-fit: contain;
}

/* Editorial navigation instead of generic template navigation. */
body.chevalier-home-page #header .menu > li > a,
body.chevalier-home-page #header nav a {
	font-size: 11px !important;
	font-weight: 500 !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
	color: #08090c !important;
}

body.chevalier-home-page #header .menu > li,
body.chevalier-home-page #header nav li {
	margin-inline: 14px !important;
}

body.chevalier-home-page #header .menu > li > a:hover,
body.chevalier-home-page #header .menu > li.current-menu-item > a,
body.chevalier-home-page #header nav a:hover {
	color: #6d7178 !important;
}

body.chevalier-home-page #header [data-row*="middle"] {
	min-height: 76px;
	background: rgba(255,255,255,.97) !important;
	border-bottom: 1px solid rgba(8,9,12,.06);
	box-shadow: none !important;
}

@media (max-width: 999px) {
	body.chevalier-home-page #header .site-logo-container img,
	body.chevalier-home-page #header .site-logo img,
	body.chevalier-home-page #header [data-id="logo"] img {
		width: 185px !important;
		max-height: 50px !important;
	}
}


/* ===== Chevalier header logo fallback v1.2 =====
 * Blocksy may output the Home link but omit the image when its internal logo setting
 * is not configured. The existing anchor remains the actual clickable Home link.
 */
#header a[href="https://chevallier.com.br/"]:empty,
#header a[href="https://www.chevallier.com.br/"]:empty {
	display: block !important;
	width: clamp(210px, 19vw, 285px) !important;
	height: 64px !important;
	flex: 0 0 auto !important;
	background-image: url("../images/logo-chevalier-header.png") !important;
	background-repeat: no-repeat !important;
	background-position: left center !important;
	background-size: contain !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Keep the logo on the left and let the menu breathe in the center. */
#header [data-row*="middle"] .ct-container,
#header [data-row*="middle"] > div {
	align-items: center;
}

/* Prevent any legacy/empty site title mark from competing with the logo. */
#header .site-title:empty,
#header .site-description:empty {
	display: none !important;
}

@media (max-width: 999px) {
	#header a[href="https://chevallier.com.br/"]:empty,
	#header a[href="https://www.chevallier.com.br/"]:empty {
		width: 190px !important;
		height: 54px !important;
	}
}

#header .chev-header-home-logo {
	display: inline-flex !important;
	align-items: center;
	width: clamp(210px, 19vw, 285px) !important;
	height: 64px !important;
}
#header .chev-header-home-logo-img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-height: 64px !important;
	object-fit: contain !important;
	object-position: left center !important;
}
@media (max-width: 999px) {
	#header .chev-header-home-logo {
		width: 190px !important;
		height: 54px !important;
	}
	#header .chev-header-home-logo-img {
		max-height: 54px !important;
	}
}


/* ===== Hero banner refinement v1.3 ===== */
.chev-hero-banner {
	min-height: 720px;
	padding: 0 32px;
	background: #eef0f3;
}

.chev-hero-banner .chev-hero-bg {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

.chev-hero-banner .chev-hero-bg img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center center !important;
}

.chev-hero-banner::after {
	background: linear-gradient(90deg, rgba(244,245,247,.72) 0%, rgba(244,245,247,.66) 20%, rgba(244,245,247,.28) 38%, rgba(244,245,247,0) 58%);
}

.chev-hero-inner {
	position: relative;
	z-index: 2;
	min-height: 720px;
	max-width: var(--chev-max) !important;
	margin-inline: auto !important;
	display: flex;
	align-items: center;
}

.chev-hero-copy-banner {
	max-width: 560px;
	padding: 70px 0;
}

.chev-hero-copy-banner .chev-hero-title {
	max-width: 520px;
}

.chev-hero-copy-banner .chev-hero-text {
	max-width: 420px;
}

/* Ensure the old split hero image can't visually interfere after the update. */
.chev-hero-person,
.chev-hero-columns {
	display: none !important;
}

@media (max-width: 767px) {
	.chev-hero-banner {
		min-height: 620px;
		padding: 0 12px;
	}

	.chev-hero-banner::after {
		background: linear-gradient(180deg, rgba(244,245,247,.9) 0%, rgba(244,245,247,.74) 28%, rgba(244,245,247,.2) 56%, rgba(244,245,247,0) 82%);
	}

	.chev-hero-inner {
		min-height: 620px;
		display: block;
	}

	.chev-hero-copy-banner {
		padding: 42px 6px 0;
		max-width: 340px;
	}

	.chev-hero-banner .chev-hero-bg img {
		object-position: 64% center !important;
	}
}


/* ===== Mobile-first refinement v1.4 ===== */

/* Header actions must remain visible on the white header. */
#header,
#header a,
#header button,
#header [role="button"],
#header .ct-icon-container,
#header .ct-cart-item,
#header .ct-account-item,
#header .ct-search-item {
	color: #08090c !important;
}

#header svg,
#header svg *,
#header .ct-icon,
#header .ct-icon * {
	fill: currentColor !important;
	stroke: currentColor !important;
}

#header a:hover,
#header button:hover,
#header [role="button"]:hover {
	color: #6d7178 !important;
}

/* Never let the page develop horizontal scroll on phones. */
html,
body,
.chev-home {
	max-width: 100%;
	overflow-x: hidden;
}

/* Tap targets: phone first. */
.chev-primary-button .wp-block-button__link {
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 767px) {
	/* Compact, legible mobile header. */
	#header [data-row*="middle"] {
		min-height: 64px !important;
	}

	#header [data-row*="middle"] .ct-container {
		min-height: 64px !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	#header .chev-header-home-logo,
	#header a[href="https://chevallier.com.br/"]:empty,
	#header a[href="https://www.chevallier.com.br/"]:empty {
		width: 150px !important;
		height: 44px !important;
	}

	#header .chev-header-home-logo-img {
		max-height: 44px !important;
	}

	/* Keep utility icons obvious and finger-friendly. */
	#header button,
	#header [role="button"],
	#header .ct-header-cart,
	#header .ct-header-search,
	#header .ct-header-account {
		min-width: 42px !important;
		min-height: 42px !important;
	}

	/* Hero is designed for a phone viewport first. */
	.chev-hero-banner {
		min-height: 650px !important;
		padding: 0 14px !important;
	}

	.chev-hero-inner {
		min-height: 650px !important;
		padding: 0 !important;
	}

	.chev-hero-copy-banner {
		position: relative;
		z-index: 3;
		max-width: 82vw !important;
		padding: 30px 0 0 !important;
		margin: 0 !important;
	}

	.chev-hero-copy-banner .chev-eyebrow {
		font-size: 9px !important;
		letter-spacing: .16em !important;
		margin-bottom: 12px !important;
	}

	.chev-hero-copy-banner .chev-hero-title {
		font-size: clamp(38px, 12vw, 52px) !important;
		line-height: .9 !important;
		letter-spacing: -.055em !important;
		max-width: 330px !important;
	}

	.chev-hero-copy-banner .chev-hero-text {
		font-size: 13px !important;
		line-height: 1.5 !important;
		max-width: 285px !important;
		margin-top: 16px !important;
	}

	.chev-hero-copy-banner .chev-primary-button {
		margin-top: 20px !important;
	}

	.chev-hero-copy-banner .chev-primary-button .wp-block-button__link {
		padding: 13px 20px !important;
		font-size: 9px !important;
	}

	/* Put the model in frame on narrow screens, without creating a second image layer. */
	.chev-hero-banner .chev-hero-bg img {
		object-position: 69% center !important;
	}

	.chev-hero-banner::after {
		background: linear-gradient(180deg,
			rgba(244,245,247,.88) 0%,
			rgba(244,245,247,.72) 29%,
			rgba(244,245,247,.25) 52%,
			rgba(244,245,247,0) 78%) !important;
	}

	/* Section rhythm on mobile. */
	.chev-section {
		padding: 34px 10px !important;
	}

	.chev-section-head {
		gap: 8px !important;
		margin-bottom: 12px !important;
		align-items: center !important;
	}

	.chev-section-title {
		font-size: 21px !important;
	}

	.chev-small-link {
		font-size: 8px !important;
	}

	/* User preference: all four collections remain side-by-side and square. */
	.chev-collection-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 5px !important;
	}

	.chev-collection-card {
		border-radius: 8px !important;
	}

	.chev-card-caption {
		left: 5px !important;
		right: 5px !important;
		bottom: 5px !important;
		font-size: 6.5px !important;
	}

	/* Product cards: two columns, large enough to shop from a phone. */
	.chev-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 9px !important;
		margin-bottom: 9px !important;
	}

	.chev-product-card figure {
		border-radius: 10px !important;
	}

	.chev-product-name {
		font-size: 10px !important;
		line-height: 1.25 !important;
	}

	.chev-product-price {
		font-size: 10px !important;
	}

	/* Drop becomes an image-led phone card. */
	.chev-drop {
		padding: 10px 10px 0 !important;
	}

	.chev-drop-inner {
		border-radius: 16px !important;
	}

	.chev-drop-media img {
		height: 300px !important;
		object-position: center !important;
	}

	.chev-drop-copy {
		padding: 26px 18px 32px !important;
	}

	.chev-drop-title {
		font-size: 40px !important;
	}

	.chev-drop-text {
		font-size: 13px !important;
	}

	/* Benefits stay 2x2, not four unreadably thin columns. */
	.chev-benefits {
		padding: 28px 10px !important;
	}

	.chev-benefit {
		padding: 18px 12px !important;
	}

	.chev-benefit-title {
		font-size: 9px !important;
	}

	.chev-benefit-text {
		font-size: 10px !important;
	}

	/* Manifesto and Instagram: phone-friendly vertical flow. */
	.chev-story {
		padding: 38px 10px !important;
	}

	.chev-story-copy {
		padding: 14px 6px 28px !important;
	}

	.chev-story-title {
		font-size: 40px !important;
	}

	.chev-story-text {
		font-size: 13px !important;
	}

	.chev-story-media img {
		min-height: 320px !important;
		object-position: center top !important;
	}

	.chev-instagram-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 6px !important;
	}
}


/* ===== Header + hero + footer refinement v1.5 ===== */

/* Shrink the white header area so the hero starts sooner. */
body.chevalier-home-page #header [data-row*="middle"] {
	min-height: 66px !important;
}

body.chevalier-home-page #header [data-row*="middle"] .ct-container {
	min-height: 66px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.chevalier-home-page #header .site-logo-container img,
body.chevalier-home-page #header .site-logo img,
body.chevalier-home-page #header [data-id="logo"] img,
#header .chev-header-home-logo-img {
	max-height: 46px !important;
}

/* Make sure utility icons stay visible on the white header. */
body.chevalier-home-page #header .ct-header-cart,
body.chevalier-home-page #header .ct-header-cart *,
body.chevalier-home-page #header .ct-header-account,
body.chevalier-home-page #header .ct-header-account *,
body.chevalier-home-page #header .ct-header-search,
body.chevalier-home-page #header .ct-header-search *,
body.chevalier-home-page #header .cb__icon,
body.chevalier-home-page #header .ct-icon,
body.chevalier-home-page #header svg,
body.chevalier-home-page #header button,
body.chevalier-home-page #header button * {
	color: #08090c !important;
	fill: #08090c !important;
	stroke: #08090c !important;
	opacity: 1 !important;
}

/* Bring the model slightly down so the forehead doesn't get clipped. */
.chev-hero-banner {
	min-height: 690px !important;
}

.chev-hero-inner {
	min-height: 690px !important;
}

.chev-hero-banner .chev-hero-bg img {
	object-position: 71% 60% !important;
}

.chev-hero-copy-banner {
	padding-top: 46px !important;
}

/* Hide the old Gadget/Blocksy footer on the homepage. */
body.chevalier-home-page #footer,
body.chevalier-home-page footer.ct-footer,
body.chevalier-home-page .ct-footer {
	display: none !important;
}

/* Custom Chevalier footer in pt-BR. */
.chev-site-footer {
	background: #08090c;
	color: #ffffff;
	padding: 56px 24px 28px !important;
}

.chev-site-footer-columns {
	max-width: var(--chev-max) !important;
	margin: 0 auto !important;
	gap: 24px !important;
	align-items: flex-start !important;
}

.chev-site-footer .wp-block-image.chev-footer-logo {
	margin: 0 0 14px !important;
}

.chev-site-footer .chev-footer-logo img {
	width: clamp(170px, 18vw, 240px) !important;
	height: auto !important;
	object-fit: contain;
}

.chev-footer-heading {
	margin: 0 0 14px !important;
	font-size: 11px !important;
	line-height: 1.2 !important;
	letter-spacing: .14em !important;
	text-transform: uppercase;
	color: #ffffff !important;
}

.chev-footer-text,
.chev-footer-link,
.chev-footer-copy {
	margin: 0 0 8px !important;
	font-size: 12px !important;
	line-height: 1.8 !important;
	color: #b7bbc2 !important;
}

.chev-footer-tagline {
	color: #ffffff !important;
	font-weight: 600;
}

.chev-footer-link a {
	color: #b7bbc2 !important;
	text-decoration: none;
}

.chev-footer-link a:hover {
	color: #ffffff !important;
}

.chev-footer-copy {
	max-width: var(--chev-max) !important;
	margin: 24px auto 0 !important;
	padding-top: 18px !important;
	border-top: 1px solid rgba(255,255,255,.10);
	font-size: 10px !important;
	letter-spacing: .12em !important;
	text-transform: uppercase;
	color: #8b9198 !important;
}

@media (max-width: 767px) {
	body.chevalier-home-page #header [data-row*="middle"] {
		min-height: 58px !important;
	}

	body.chevalier-home-page #header [data-row*="middle"] .ct-container {
		min-height: 58px !important;
		padding-left: 12px !important;
		padding-right: 12px !important;
	}

	#header .chev-header-home-logo,
	#header a[href="https://chevallier.com.br/"]:empty,
	#header a[href="https://www.chevallier.com.br/"]:empty {
		width: 142px !important;
		height: 40px !important;
	}

	#header .chev-header-home-logo-img,
	body.chevalier-home-page #header .site-logo-container img,
	body.chevalier-home-page #header .site-logo img,
	body.chevalier-home-page #header [data-id="logo"] img {
		max-height: 40px !important;
	}

	.chev-hero-banner {
		min-height: 620px !important;
		padding: 0 12px !important;
	}

	.chev-hero-inner {
		min-height: 620px !important;
	}

	.chev-hero-copy-banner {
		padding-top: 20px !important;
		max-width: 80vw !important;
	}

	.chev-hero-banner .chev-hero-bg img {
		object-position: 67% 56% !important;
	}

	.chev-site-footer {
		padding: 40px 14px 22px !important;
	}

	.chev-site-footer-columns {
		display: block !important;
	}

	.chev-site-footer-columns > .wp-block-column {
		margin-bottom: 18px !important;
	}

	.chev-footer-copy {
		margin-top: 8px !important;
		font-size: 9px !important;
		line-height: 1.6 !important;
	}
}


/* ===== Collection caption readability fix v1.6 ===== */
.chev-card-caption {
	gap: 4px !important;
}

.chev-card-caption span {
	display: block;
	line-height: 1.08 !important;
}

.chev-card-caption span:first-child {
	font-weight: 700;
	letter-spacing: .06em !important;
}

.chev-card-caption span:last-child {
	font-size: 10px !important;
	letter-spacing: .12em !important;
	opacity: .95;
}

@media (max-width: 767px) {
	.chev-card-caption {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: flex-end !important;
		gap: 1px !important;
	}

	.chev-card-caption span:first-child {
		font-size: 6px !important;
		letter-spacing: .035em !important;
		line-height: 1 !important;
	}

	.chev-card-caption span:last-child {
		display: block !important;
		font-size: 5.1px !important;
		letter-spacing: .08em !important;
		line-height: 1 !important;
		opacity: .92;
	}
}


/* ===== Full homepage audit + floating header pass v1.7 ===== */

/* 1) Remove the white bar and let header elements float over the hero. */
body.chevalier-home-page #header {
	position: absolute !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 110 !important;
	background: transparent !important;
}

body.chevalier-home-page.admin-bar #header {
	top: 32px;
}

body.chevalier-home-page #header [data-row*="middle"],
body.chevalier-home-page #header [class*="header-row"],
body.chevalier-home-page #header .ct-container {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

/* No visual white strip under the header on the homepage. */
body.chevalier-home-page #main,
body.chevalier-home-page .site-main,
body.chevalier-home-page main#main {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* 2) Compact floating header proportions. */
body.chevalier-home-page #header [data-row*="middle"] {
	min-height: 58px !important;
}

body.chevalier-home-page #header [data-row*="middle"] .ct-container {
	min-height: 58px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
}

body.chevalier-home-page #header .site-logo-container img,
body.chevalier-home-page #header .site-logo img,
body.chevalier-home-page #header [data-id="logo"] img,
#header .chev-header-home-logo-img {
	max-height: 42px !important;
}

/* 3) Ensure floating header items remain readable. */
body.chevalier-home-page #header .menu > li > a,
body.chevalier-home-page #header nav a,
body.chevalier-home-page #header .ct-header-cart,
body.chevalier-home-page #header .ct-header-cart *,
body.chevalier-home-page #header .ct-header-account,
body.chevalier-home-page #header .ct-header-account *,
body.chevalier-home-page #header .ct-header-search,
body.chevalier-home-page #header .ct-header-search *,
body.chevalier-home-page #header .cb__icon,
body.chevalier-home-page #header .ct-icon,
body.chevalier-home-page #header svg,
body.chevalier-home-page #header button,
body.chevalier-home-page #header button * {
	color: #08090c !important;
	fill: #08090c !important;
	stroke: #08090c !important;
	opacity: 1 !important;
}

/* 4) Hero: less top waste, better framing, mobile-first. */
.chev-hero-banner {
	min-height: 670px !important;
	padding: 0 20px !important;
}

.chev-hero-inner {
	min-height: 670px !important;
}

.chev-hero-copy-banner {
	max-width: 520px !important;
	padding-top: 78px !important;
	padding-bottom: 36px !important;
}

.chev-hero-banner .chev-hero-bg img {
	object-position: 71% 62% !important;
}

.chev-hero-banner::after {
	background: linear-gradient(90deg,
		rgba(244,245,247,.70) 0%,
		rgba(244,245,247,.58) 18%,
		rgba(244,245,247,.24) 38%,
		rgba(244,245,247,0) 58%) !important;
}

/* 5) Spacing audit across sections. */
.chev-section,
.chev-benefits,
.chev-story,
.chev-instagram,
.chev-site-footer {
	scroll-margin-top: 80px;
}

.chev-section {
	padding: 42px 18px !important;
}

.chev-section-head {
	margin-bottom: 14px !important;
	gap: 10px !important;
}

.chev-drop {
	padding: 18px 18px 0 !important;
}

.chev-drop-copy {
	padding-top: 36px !important;
	padding-bottom: 36px !important;
}

.chev-benefits {
	padding: 30px 18px !important;
}

.chev-story {
	padding: 44px 18px !important;
}

.chev-site-footer {
	padding: 38px 18px 22px !important;
}

/* 6) Collection captions: keep 2026 visible and aligned. */
.chev-collection-grid {
	gap: 8px !important;
}

.chev-card-caption {
	left: 6px !important;
	right: 6px !important;
	bottom: 6px !important;
}

/* 7) Product/card rhythm on phones. */
.chev-product-grid {
	gap: 10px !important;
	margin-bottom: 10px !important;
}

.chev-product-card figure {
	margin-bottom: 10px !important;
}

.chev-footer-heading {
	margin-bottom: 10px !important;
}

.chev-footer-text,
.chev-footer-link {
	margin-bottom: 6px !important;
}

@media (max-width: 782px) {
	body.chevalier-home-page.admin-bar #header {
		top: 46px;
	}
}

@media (max-width: 767px) {
	/* True phone-first floating header. */
	body.chevalier-home-page #header [data-row*="middle"] {
		min-height: 50px !important;
	}

	body.chevalier-home-page #header [data-row*="middle"] .ct-container {
		min-height: 50px !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	#header .chev-header-home-logo,
	#header a[href="https://chevallier.com.br/"]:empty,
	#header a[href="https://www.chevallier.com.br/"]:empty {
		width: 136px !important;
		height: 36px !important;
	}

	#header .chev-header-home-logo-img,
	body.chevalier-home-page #header .site-logo-container img,
	body.chevalier-home-page #header .site-logo img,
	body.chevalier-home-page #header [data-id="logo"] img {
		max-height: 36px !important;
	}

	.chev-hero-banner {
		min-height: 590px !important;
		padding: 0 10px !important;
	}

	.chev-hero-inner {
		min-height: 590px !important;
	}

	.chev-hero-copy-banner {
		max-width: 82vw !important;
		padding-top: 58px !important;
		padding-bottom: 20px !important;
	}

	.chev-hero-copy-banner .chev-eyebrow {
		margin-bottom: 10px !important;
	}

	.chev-hero-copy-banner .chev-hero-title {
		font-size: clamp(36px, 11.5vw, 48px) !important;
		max-width: 310px !important;
	}

	.chev-hero-copy-banner .chev-hero-text {
		max-width: 270px !important;
		margin-top: 14px !important;
	}

	.chev-hero-banner .chev-hero-bg img {
		object-position: 67% 58% !important;
	}

	.chev-hero-banner::after {
		background: linear-gradient(180deg,
			rgba(244,245,247,.82) 0%,
			rgba(244,245,247,.66) 24%,
			rgba(244,245,247,.22) 50%,
			rgba(244,245,247,0) 76%) !important;
	}

	.chev-section {
		padding: 30px 10px !important;
	}

	.chev-section-head {
		margin-bottom: 10px !important;
	}

	.chev-drop {
		padding: 12px 10px 0 !important;
	}

	.chev-drop-copy {
		padding: 28px 18px 30px !important;
	}

	.chev-benefits {
		padding: 26px 10px !important;
	}

	.chev-story {
		padding: 34px 10px !important;
	}

	.chev-site-footer {
		padding: 32px 12px 18px !important;
	}

	.chev-collection-grid {
		gap: 4px !important;
	}

	.chev-card-caption {
		left: 4px !important;
		right: 4px !important;
		bottom: 4px !important;
		gap: 0 !important;
	}

	.chev-card-caption span:first-child {
		font-size: 5.6px !important;
		letter-spacing: .025em !important;
	}

	.chev-card-caption span:last-child {
		font-size: 4.8px !important;
		letter-spacing: .05em !important;
	}

	.chev-product-grid {
		gap: 8px !important;
		margin-bottom: 8px !important;
	}

	.chev-footer-heading {
		margin-bottom: 8px !important;
	}
}


/* ===== Asset sharpness + footer logo + collection caption fix v1.8 ===== */

/* Use the new footer logo cleanly. */
body.chevalier-home-page .chev-site-footer .wp-block-image.chev-footer-logo img {
	width: clamp(190px, 20vw, 260px) !important;
	max-width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	image-rendering: auto;
}

/* Collections: stack label + year to stop right-side clipping. */
body.chevalier-home-page .chev-collection-card .chev-card-caption {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-end !important;
	left: 8px !important;
	right: auto !important;
	bottom: 8px !important;
	width: auto !important;
	max-width: calc(100% - 16px) !important;
	gap: 1px !important;
}

body.chevalier-home-page .chev-collection-card .chev-card-caption span {
	display: block !important;
	white-space: nowrap !important;
}

body.chevalier-home-page .chev-collection-card .chev-card-caption span:first-child {
	font-size: 6.4px !important;
	letter-spacing: .02em !important;
	line-height: 1 !important;
}

body.chevalier-home-page .chev-collection-card .chev-card-caption span:last-child {
	font-size: 5.1px !important;
	letter-spacing: .04em !important;
	line-height: 1 !important;
	opacity: .95 !important;
}

/* Sharpen card/media presentation by guaranteeing the fresh HD assets are used at full width. */
body.chevalier-home-page .chev-collection-card img,
body.chevalier-home-page .chev-product-card img,
body.chevalier-home-page .chev-instagram-grid img,
body.chevalier-home-page .chev-drop-media img,
body.chevalier-home-page .chev-story-media img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	image-rendering: auto;
	transform: translateZ(0);
	backface-visibility: hidden;
}

/* Slightly taller product and collection imagery on phones so compression artifacts are less noticeable. */
@media (max-width: 767px) {
	body.chevalier-home-page .chev-collection-card .chev-card-caption {
		left: 5px !important;
		bottom: 5px !important;
		max-width: calc(100% - 10px) !important;
	}

	body.chevalier-home-page .chev-collection-card .chev-card-caption span:first-child {
		font-size: 5.8px !important;
	}

	body.chevalier-home-page .chev-collection-card .chev-card-caption span:last-child {
		font-size: 4.8px !important;
	}

	body.chevalier-home-page .chev-product-card figure,
	body.chevalier-home-page .chev-collection-card {
		overflow: hidden !important;
	}
}


/* ===== Visual polish + Novo Drop repair v2.0 ===== */

/* Collections: clear stacked title/year instead of tiny clipped text. */
body.chevalier-home-page .chev-collection-card .chev-card-caption {
	display: inline-flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-end !important;
	left: 10px !important;
	right: auto !important;
	bottom: 10px !important;
	padding: 6px 8px !important;
	max-width: calc(100% - 20px) !important;
	background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.16)) !important;
	backdrop-filter: blur(4px);
	border-radius: 10px !important;
	gap: 2px !important;
}

body.chevalier-home-page .chev-collection-card .chev-card-caption span:first-child {
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: .04em !important;
	line-height: 1 !important;
}

body.chevalier-home-page .chev-collection-card .chev-card-caption span:last-child {
	font-size: 9px !important;
	font-weight: 600 !important;
	letter-spacing: .10em !important;
	line-height: 1 !important;
	opacity: .96 !important;
}

/* New Drop: make it structurally robust and visually cleaner. */
body.chevalier-home-page .chev-drop {
	padding: 16px 10px 0 !important;
}

body.chevalier-home-page .chev-drop-inner {
	border-radius: 22px !important;
	overflow: hidden !important;
	background: radial-gradient(circle at 78% 22%, #2b2d33 0%, #111214 42%, #050506 80%) !important;
}

body.chevalier-home-page .chev-drop-columns {
	gap: 0 !important;
	align-items: stretch !important;
}

body.chevalier-home-page .chev-drop-copy {
	padding: 34px 22px !important;
}

body.chevalier-home-page .chev-drop-title {
	font-size: clamp(36px, 9vw, 58px) !important;
	line-height: .92 !important;
}

body.chevalier-home-page .chev-drop-text {
	max-width: 360px !important;
	font-size: 13px !important;
	line-height: 1.55 !important;
}

body.chevalier-home-page .chev-drop-media {
	margin: 0 !important;
	height: 100% !important;
}

body.chevalier-home-page .chev-drop-media img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 420px !important;
	object-fit: cover !important;
	object-position: center 22% !important;
}

/* Sharper media blocks overall. */
body.chevalier-home-page .chev-collection-card img,
body.chevalier-home-page .chev-product-card img,
body.chevalier-home-page .chev-instagram-grid img,
body.chevalier-home-page .chev-story-media img {
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
}

@media (max-width: 767px) {
	body.chevalier-home-page .chev-collection-card .chev-card-caption {
		left: 4px !important;
		bottom: 4px !important;
		padding: 3px 5px !important;
		border-radius: 7px !important;
		max-width: calc(100% - 8px) !important;
		gap: 1px !important;
	}

	body.chevalier-home-page .chev-collection-card .chev-card-caption span:first-child {
		font-size: 6.2px !important;
		letter-spacing: .015em !important;
	}

	body.chevalier-home-page .chev-collection-card .chev-card-caption span:last-child {
		font-size: 5.6px !important;
		letter-spacing: .06em !important;
	}

	body.chevalier-home-page .chev-drop {
		padding: 12px 8px 0 !important;
	}

	body.chevalier-home-page .chev-drop-inner {
		border-radius: 16px !important;
	}

	body.chevalier-home-page .chev-drop-columns {
		display: flex !important;
		flex-direction: column-reverse !important;
	}

	body.chevalier-home-page .chev-drop-copy {
		padding: 24px 16px 26px !important;
	}

	body.chevalier-home-page .chev-drop-title {
		font-size: 34px !important;
	}

	body.chevalier-home-page .chev-drop-text {
		max-width: 100% !important;
		font-size: 12px !important;
	}

	body.chevalier-home-page .chev-drop-media img {
		min-height: 280px !important;
		object-position: center 26% !important;
	}
}
