/**
 * Renovexo — heroes. Inner pages: one compact sky-blue band (rv_hero()) ending in rounded corners with a
 * graphite edge and press shadow, like the cards. Homepage: « la coupe de la maison », an illustrated cutaway whose labelled pins open the rubriques. Footer styles live here too (loaded everywhere).
 * Top padding leaves room for the header badge that hangs over the band.
 */

/* ---- Inner-page hero -------------------------------------------------------------------------------------- */

.rv-hero,
.rv-home-hero {
	/* a discreet sky: deep ultramarine at the top, lighter towards the roof, a soft glow behind the content */
	background:
		radial-gradient(ellipse 55% 65% at 82% 28%, rgba(128, 146, 255, .32), transparent 70%),
		radial-gradient(ellipse 45% 55% at 8% 0%, rgba(14, 18, 71, .35), transparent 70%),
		linear-gradient(180deg, #1F2AA0 0%, var(--rv-blue) 52%, #4256DA 100%);
}
.rv-hero { position: relative; overflow: hidden; }
.rv-hero__inner {
	position: relative;
	max-width: calc(var(--rv-wide) + 2 * var(--rv-gutter));
	margin-inline: auto;
	padding: clamp(76px, 9vw, 128px) var(--rv-gutter) clamp(40px, 5vw, 64px);
	box-sizing: border-box;
}
.rv-hero__main > * { max-width: 920px; }
.rv-hero__aside { display: none; }
@media (min-width: 1024px) {
	.rv-hero.has-aside .rv-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: center; }
	.rv-hero__aside { display: block; }
}

/* Right-hand card (quote, or the 404 note) */
.rv-hero-card {
	display: grid;
	gap: 14px;
	padding: 24px;
	border: var(--rv-border);
	border-radius: 22px;
	background: linear-gradient(180deg, #FFFFFF 0%, #F6F6F2 100%);
	box-shadow: 0 7px 0 var(--rv-ink);
	color: var(--rv-ink);
	transform: rotate(1.2deg);
}
.rv-hero-card .rv-sticker-icon { margin: 4px 0 4px 4px; }
.rv-hero-card__title { margin: 0; font-family: var(--rv-font-head); font-size: 1.2rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.rv-hero-card__trade { margin: -4px 0 0; padding: 4px 12px; justify-self: start; border: 1.5px solid var(--rv-ink); border-radius: 999px; background: var(--rv-yellow-soft); font-size: .85rem; }
.rv-hero-card__checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .95rem; font-weight: 700; }
.rv-hero-card__checks li { display: flex; align-items: center; gap: 10px; }
.rv-hero-card__checks li::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--rv-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231C1F26' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
	box-shadow: 0 0 0 1.5px var(--rv-ink);
}
.rv-hero-card--404 { justify-items: center; text-align: center; padding-block: 32px; }
.rv-hero-card__big { color: var(--rv-blue); font-family: var(--rv-font-head); font-size: 5rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.rv-hero .rv-breadcrumbs { color: var(--rv-white); }
.rv-hero__chip {
	display: inline-block;
	margin-bottom: 16px;
	padding: 5px 14px;
	border: var(--rv-border);
	border-radius: 999px;
	background: var(--rv-yellow);
	color: var(--rv-ink);
	font-weight: 700;
	font-size: .88rem;
	text-decoration: none;
	box-shadow: 0 3px 0 var(--rv-ink);
}
a.rv-hero__chip:hover { background: var(--rv-white); color: var(--rv-ink); }
.rv-hero__title {
	margin: 0;
	color: var(--rv-white);
	font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3.1rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.025em;
}
.rv-hero__intro { margin-top: 18px; max-width: 68ch; color: var(--rv-calque); font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); line-height: 1.65; }
.rv-hero__intro p { margin: 0; }
.rv-hero__intro a { color: var(--rv-yellow); }
.rv-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.rv-hero__meta li {
	padding: 4px 12px;
	border: 1.5px solid rgba(255, 255, 255, .5);
	border-radius: 999px;
	font-size: .88rem;
	font-weight: 700;
}
.rv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.rv-hero--404 .rv-hero__inner { padding-block: clamp(72px, 10vw, 128px); }

/* ---- Homepage hero ---------------------------------------------------------------------------------------- */

.rv-home-hero { position: relative; overflow: hidden; }
.rv-home-hero__inner {
	display: grid;
	gap: 36px;
	max-width: calc(var(--rv-wide) + 2 * var(--rv-gutter));
	margin-inline: auto;
	padding: clamp(76px, 9vw, 128px) var(--rv-gutter) clamp(40px, 5vw, 64px);
	box-sizing: border-box;
	align-items: center;
}
@media (min-width: 1024px) {
	.rv-home-hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; }
}
.rv-home-hero__title {
	margin: 0;
	color: var(--rv-white);
	font-size: clamp(2.1rem, 1.25rem + 3.9vw, 4.1rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.035em;
}
.rv-home-hero__lead { margin: 22px 0 0; max-width: 52ch; color: var(--rv-calque); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; }
/* Quote starter: the hero's one main action */
.rv-starter {
	margin-top: 30px;
	max-width: 560px;
	padding: 20px 20px 16px;
	border: var(--rv-border);
	border-radius: 18px;
	background: linear-gradient(180deg, #FFFFFF 0%, #F6F6F2 100%);
	box-shadow: 0 6px 0 var(--rv-ink);
	color: var(--rv-ink);
}
.rv-starter__label { display: block; margin-bottom: 12px; font-family: var(--rv-font-head); font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.rv-starter__row { display: grid; gap: 10px; }
@media (min-width: 560px) { .rv-starter__row { grid-template-columns: 1fr auto; } }
.rv-starter__select {
	width: 100%;
	min-height: 52px;
	padding: 0 44px 0 14px;
	border: var(--rv-border);
	border-radius: var(--rv-radius-sm);
	background: var(--rv-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%231C1F26' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center / 14px no-repeat;
	color: var(--rv-ink);
	font: 700 1rem var(--rv-font-body);
	appearance: none;
	cursor: pointer;
	box-sizing: border-box;
}
.rv-starter__select:focus-visible { border-color: var(--rv-blue); }
.rv-starter__go { min-height: 52px; }
.rv-starter__promises { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .9rem; font-weight: 700; }
.rv-starter__promises li { display: flex; align-items: center; gap: 7px; }
.rv-starter__promises li::before {
	content: "";
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--rv-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231C1F26' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
	box-shadow: 0 0 0 1.5px var(--rv-ink);
}
.rv-home-hero__alt { margin: 18px 0 0; color: var(--rv-calque); font-size: .98rem; }
.rv-home-hero__alt a { color: var(--rv-white); font-weight: 700; text-decoration-color: var(--rv-yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.rv-home-hero__alt a:hover { color: var(--rv-yellow); }

/* Real figures as stickers around the drawing */
.rv-coupe__sticker {
	position: absolute;
	z-index: 2;
	display: none;
	padding: 8px 14px;
	border: var(--rv-border);
	border-radius: 14px;
	background: var(--rv-yellow);
	color: var(--rv-ink);
	font-weight: 700;
	font-size: .9rem;
	line-height: 1.1;
	text-align: center;
	box-shadow: 0 4px 0 var(--rv-ink);
}
.rv-coupe__sticker strong { display: block; font-family: var(--rv-font-head); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.rv-coupe__sticker--a { left: 2%; top: 4%; transform: rotate(-6deg); }
.rv-coupe__sticker--b { right: 0; top: 10%; transform: rotate(5deg); background: var(--rv-white); }
@media (min-width: 640px) { .rv-coupe__sticker { display: block; } }

/* The cross-section */
.rv-coupe { margin: 0; }
.rv-coupe__frame { position: relative; max-width: 660px; margin-inline: auto; padding-top: 24px; }
.rv-coupe__svg { display: block; width: 100%; height: auto; overflow: visible; }
.rv-coupe__ink :is(path, rect, circle) { stroke: var(--rv-ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.rv-coupe__ink .rv-coupe__fine { fill: none; stroke-width: 1.6; opacity: .45; }
.rv-coupe__part { transition: transform .2s ease; transform-box: fill-box; transform-origin: center bottom; }
.rv-coupe__part :is(path, rect, circle) { transition: fill .15s ease; }

/* Hovering or focusing a pin lifts its part and paints it signal yellow. */
.rv-coupe__frame:has(.rv-coupe__pin--toiture:is(:hover, :focus-visible)) .rv-coupe__part--toiture,
.rv-coupe__frame:has(.rv-coupe__pin--isolation:is(:hover, :focus-visible)) .rv-coupe__part--isolation,
.rv-coupe__frame:has(.rv-coupe__pin--bain:is(:hover, :focus-visible)) .rv-coupe__part--bain,
.rv-coupe__frame:has(.rv-coupe__pin--fenetre:is(:hover, :focus-visible)) .rv-coupe__part--fenetre,
.rv-coupe__frame:has(.rv-coupe__pin--chauffage:is(:hover, :focus-visible)) .rv-coupe__part--chauffage,
.rv-coupe__frame:has(.rv-coupe__pin--sols:is(:hover, :focus-visible)) .rv-coupe__part--sols,
.rv-coupe__frame:has(.rv-coupe__pin--grosoeuvre:is(:hover, :focus-visible)) .rv-coupe__part--grosoeuvre,
.rv-coupe__frame:has(.rv-coupe__pin--exterieur:is(:hover, :focus-visible)) .rv-coupe__part--exterieur { transform: translateY(-4px); }
.rv-coupe__frame:has(.rv-coupe__pin--toiture:is(:hover, :focus-visible)) .rv-coupe__part--toiture :is(path, rect, circle):not(.rv-coupe__fine),
.rv-coupe__frame:has(.rv-coupe__pin--isolation:is(:hover, :focus-visible)) .rv-coupe__part--isolation :is(path, rect, circle):not(.rv-coupe__fine),
.rv-coupe__frame:has(.rv-coupe__pin--bain:is(:hover, :focus-visible)) .rv-coupe__part--bain :is(path, rect, circle):not(.rv-coupe__fine),
.rv-coupe__frame:has(.rv-coupe__pin--fenetre:is(:hover, :focus-visible)) .rv-coupe__part--fenetre :is(path, rect, circle):not(.rv-coupe__fine),
.rv-coupe__frame:has(.rv-coupe__pin--chauffage:is(:hover, :focus-visible)) .rv-coupe__part--chauffage :is(path, rect, circle):not(.rv-coupe__fine),
.rv-coupe__frame:has(.rv-coupe__pin--sols:is(:hover, :focus-visible)) .rv-coupe__part--sols :is(path, rect, circle):not(.rv-coupe__fine),
.rv-coupe__frame:has(.rv-coupe__pin--grosoeuvre:is(:hover, :focus-visible)) .rv-coupe__part--grosoeuvre :is(path, rect, circle):not(.rv-coupe__fine),
.rv-coupe__frame:has(.rv-coupe__pin--exterieur:is(:hover, :focus-visible)) .rv-coupe__part--exterieur :is(path, rect, circle):not(.rv-coupe__fine) { fill: var(--rv-yellow); }

/* Pins: a target dot on the part, a sticker label beside it */
.rv-coupe__pin {
	position: absolute;
	display: none;
	align-items: center;
	gap: 8px;
	transform: translate(-11px, -50%);
	color: var(--rv-ink);
	text-decoration: none;
	z-index: 1;
}
.rv-coupe__pin--l { flex-direction: row-reverse; transform: translate(calc(-100% + 11px), -50%); }
.rv-coupe__dot {
	flex: none;
	width: 14px;
	height: 14px;
	border: 3px solid var(--rv-white);
	border-radius: 50%;
	background: var(--rv-minium);
	box-shadow: 0 0 0 2px var(--rv-ink);
}
.rv-coupe__label {
	padding: 5px 11px;
	border: 2px solid var(--rv-ink);
	border-radius: 999px;
	background: var(--rv-white);
	font-size: .85rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	box-shadow: 0 3px 0 var(--rv-ink);
	transition: background-color .15s ease, transform .15s ease;
}
.rv-coupe__pin:hover .rv-coupe__label,
.rv-coupe__pin:focus-visible .rv-coupe__label { background: var(--rv-yellow); transform: translateY(-2px); }
.rv-coupe__pin:focus-visible { outline: none; box-shadow: none; }
.rv-coupe__pin:focus-visible .rv-coupe__label { outline: 3px solid var(--rv-white); outline-offset: 2px; }

.rv-coupe__caption { margin-top: 14px; color: var(--rv-calque); font-size: .92rem; text-align: center; }
.rv-coupe__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.rv-coupe__chips a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border: 2px solid var(--rv-ink);
	border-radius: 999px;
	background: var(--rv-white);
	color: var(--rv-ink);
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none;
	box-shadow: 0 3px 0 var(--rv-ink);
}
.rv-coupe__chips a:hover { background: var(--rv-yellow); }

@media (min-width: 640px) {
	.rv-coupe__pin { display: inline-flex; }
	.rv-coupe__chips { display: none; }
}

/* ---- Band edges: the coloured bands end like the site's cards — rounded corners, graphite edge, press shadow --- */

.rv-hero,
.rv-home-hero {
	border-bottom: var(--rv-border);
	border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
	box-shadow: 0 8px 0 var(--rv-ink);
	margin-bottom: 8px;
}

/* ---- Footer ----------------------------------------------------------------------------------------------- */

.rv-site-footer { margin: 0; }
.rv-footer {
	margin-top: 16px;
	border-top: var(--rv-border);
	border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
	box-shadow: 0 -8px 0 var(--rv-ink);
	background:
		radial-gradient(ellipse 50% 70% at 92% 100%, rgba(66, 86, 218, .35), transparent 70%),
		linear-gradient(180deg, var(--rv-night) 0%, #0E1247 100%);
	color: var(--rv-calque);
	padding-bottom: 32px;
}
.rv-footer__inner {
	display: grid;
	gap: 36px;
	padding-block: clamp(48px, 7vw, 80px) 40px;
}
@media (min-width: 700px) { .rv-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .rv-footer__inner { grid-template-columns: 1.3fr 1.5fr 1fr 1fr; gap: 48px; } }
.rv-footer__brand img { display: block; width: 210px; height: auto; margin-bottom: 22px; }
.rv-footer__brand p { margin: 0 0 22px; max-width: 38ch; line-height: 1.6; }
.rv-footer__title {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(255, 255, 255, .2);
	color: var(--rv-white);
	font-family: var(--rv-font-head);
	font-size: 1rem;
	font-weight: 700;
}
.rv-footer__list { margin: 0; padding: 0; list-style: none; }
.rv-footer__list--two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.rv-footer__list a {
	display: inline-block;
	padding: 6px 0;
	color: var(--rv-calque);
	font-weight: 600;
	text-decoration: none;
	line-height: 1.35;
}
.rv-footer__list a:hover { color: var(--rv-yellow); text-decoration: underline; text-underline-offset: 4px; }
.rv-footer__list .rv-footer__strong { color: var(--rv-yellow); font-weight: 700; }

/* Cartouche: the title block of an architect's plan */
.rv-cartouche {
	display: grid;
	border: 2px solid rgba(255, 255, 255, .5);
	border-radius: 6px;
	font-size: .85rem;
	line-height: 1.5;
}
@media (min-width: 900px) { .rv-cartouche { grid-template-columns: 1.1fr .9fr 2fr; } }
.rv-cartouche__cell { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; }
.rv-cartouche__cell + .rv-cartouche__cell { border-top: 2px solid rgba(255, 255, 255, .5); }
@media (min-width: 900px) {
	.rv-cartouche__cell + .rv-cartouche__cell { border-top: 0; border-left: 2px solid rgba(255, 255, 255, .5); }
}
.rv-cartouche__k { color: var(--rv-yellow); font-size: .78rem; font-weight: 700; }
.rv-cartouche__v { color: var(--rv-calque); }
.rv-cartouche__cell--main .rv-cartouche__v { color: var(--rv-white); font-family: var(--rv-font-head); font-weight: 600; }
