/* Quartier Les Regals — mesures relevées sur la frame Home (1440 × 6191). */

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat-latin.woff2') format('woff2');
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--rg-olive: #44542C;
	--rg-gris: #777777;
	--rg-or: #BFB049;
	--rg-or-fonce: #A99B3A;
	--rg-vert: #115429;
	--rg-vert-fonce: #093C1B;
	--rg-sable: #F0E5D8;
	--rg-creme: #FEF7F0;
	--rg-largeur: 1172px;
	--rg-gouttiere: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.rg-menu-ouvert { overflow: hidden; }

body {
	margin: 0;
	background: var(--rg-creme);
	color: var(--rg-gris);
	font: 300 20px/22px 'Montserrat', Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
section[id] { scroll-margin-top: 24px; }

.rg-conteneur {
	width: min(var(--rg-largeur), 100% - 2 * var(--rg-gouttiere));
	margin-inline: auto;
}

.rg-page { padding-block: 60px; }

.rg-invisible,
.rg-evitement:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
.rg-evitement:focus {
	position: fixed;
	z-index: 100;
	top: 8px;
	left: 8px;
	padding: 8px 16px;
	background: #fff;
	color: var(--rg-olive);
}

:focus-visible { outline: 2px solid var(--rg-or); outline-offset: 2px; }

/* Titres de section */
.rg-surtitre {
	color: var(--rg-or);
	font-size: 20px;
	line-height: 22px;
	text-transform: uppercase;
}
.rg-h2 {
	color: var(--rg-olive);
	font-size: 35px;
	font-weight: 700;
	line-height: 35px;
}
.rg-entete-section .rg-h2 { margin-top: 12px; }
.rg-entete-section--centre { text-align: center; }

/* Boutons : hauteur 43, rayon 60 */
.rg-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 43px;
	padding: 0 17px;
	border: 2px solid transparent;
	border-radius: 60px;
	font: 600 16px/20px 'Montserrat', Arial, sans-serif;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.rg-cta svg { flex: none; width: 24px; height: 24px; }
.rg-cta--or { background: var(--rg-or); border-color: var(--rg-or); color: #fff; }
.rg-cta--or:hover { background: var(--rg-or-fonce); border-color: var(--rg-or-fonce); color: #fff; }
.rg-cta--vert { background: var(--rg-vert); border-color: var(--rg-vert); color: #fff; }
.rg-cta--vert:hover { background: var(--rg-vert-fonce); border-color: var(--rg-vert-fonce); color: #fff; }
.rg-cta--contour { background: transparent; border-color: var(--rg-or); color: var(--rg-olive); }
.rg-cta--contour:hover { background: var(--rg-or); color: #fff; }

.rg-fleche { flex: none; width: 19px; height: 19px; transition: transform .2s; }
.rg-fleche path { fill: currentColor; }

/* En-tête */
.rg-entete {
	display: flex;
	align-items: center;
	padding: 35px 50px 0;
}
.rg-entete__logo { flex: none; width: 243px; }
.rg-menu { margin-left: 145px; margin-top: 5px; }
.rg-menu ul { display: flex; gap: 24px; }
.rg-menu a {
	color: var(--rg-olive);
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	text-decoration: none;
	white-space: nowrap;
}
.rg-menu a:hover { color: var(--rg-or); }
.rg-entete__cta { margin-left: auto; margin-top: 5px; padding: 0 15px 0 11px; white-space: nowrap; }

.rg-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 10px;
	border: 0;
	background: none;
	color: var(--rg-olive);
	cursor: pointer;
	position: relative;
	z-index: 60;
}
.rg-burger span { display: block; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.rg-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.rg-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rg-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.rg-panneau {
	position: fixed;
	z-index: 50;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 32px;
	padding: 90px 24px 32px;
	background: var(--rg-creme);
	overflow-y: auto;
	text-align: center;
}
.rg-panneau ul { display: grid; gap: 24px; }
.rg-panneau a:not(.rg-cta) { color: var(--rg-olive); font-size: 22px; font-weight: 500; line-height: 28px; text-decoration: none; }

/* Haut de page */
.rg-hero { padding-top: 106px; }
.rg-hero__haut {
	display: grid;
	grid-template-columns: minmax(0, 520fr) minmax(0, 581fr);
	gap: 71px;
	align-items: start;
}
.rg-hero__texte { padding-top: 24px; }
.rg-hero__titre {
	color: var(--rg-olive);
	font-size: 45px;
	font-weight: 700;
	line-height: 45px;
}
.rg-hero__chapo { margin-top: 26px; }
.rg-hero .rg-cta { margin-top: 26px; padding-inline: 15px; }

.rg-video {
	position: relative;
	aspect-ratio: 581 / 410;
	overflow: hidden;
	border-radius: 20px;
	background: var(--rg-sable);
}
.rg-video::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .2);
	pointer-events: none;
}
.rg-video:has(video[controls])::after { display: none; }
.rg-video__media { width: 100%; height: 100%; object-fit: cover; }
.rg-video__play {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 75px;
	height: 75px;
	padding: 0 0 0 5px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .6);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	cursor: pointer;
	transform: translate(-50%, -50%);
	transition: background-color .2s;
}
.rg-video__play:hover { background: rgba(255, 255, 255, .85); }

/* Chiffres clés : colonnes de 422, filet de 2 px à 47 px avant la colonne suivante */
.rg-chiffres {
	display: grid;
	grid-template-columns: 375fr 375fr 328fr;
	column-gap: 47px;
	margin-top: 54px;
}
.rg-chiffre {
	position: relative;
	display: flex;
	gap: 10px;
	padding-block: 17px 23px;
}
.rg-chiffre:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 0;
	right: -24px;
	bottom: 0;
	width: 2px;
	background: var(--rg-sable);
}
.rg-chiffre__icone {
	flex: none;
	display: grid;
	place-items: center;
	width: 75px;
	height: 75px;
	border-radius: 50%;
	background: var(--rg-sable);
}
.rg-chiffre__texte { padding-top: 26px; font-size: 16px; line-height: 18px; }
.rg-chiffre__texte strong {
	display: block;
	margin-bottom: 6px;
	color: var(--rg-olive);
	font-size: 25px;
	font-weight: 700;
	line-height: 25px;
}

/* Localisation : carte qui déborde du fond sable */
.rg-loc { padding-top: 54px; }
.rg-loc__carte-fond {
	position: relative;
	display: flow-root;
	padding-top: 48px;
	min-height: 576px;
	border-radius: 20px;
	background: var(--rg-sable);
}
.rg-loc__corps {
	display: grid;
	grid-template-columns: minmax(0, 773fr) minmax(0, 347fr);
	gap: 22px;
	margin-top: 38px;
	margin-right: 30px;
	margin-bottom: -132px;
}
.rg-atouts { display: grid; gap: 5px; align-content: start; padding-top: 78px; }
.rg-atout { border-radius: 10px; background: #fff; color: var(--rg-olive); }
.rg-atout--or { background: var(--rg-or); }
.rg-atout--vert { background: var(--rg-vert); color: var(--rg-sable); }
.rg-atout__titre { font-size: 18px; font-weight: 700; line-height: 25px; }
.rg-atout__titre button,
.rg-atout__ligne {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 57px;
	padding: 16px 17px 16px 21px;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
}
.rg-atout__titre button { cursor: pointer; }
.rg-atout__titre button:hover .rg-fleche { transform: translateX(3px); }
.rg-atout.is-open .rg-atout__titre button:hover .rg-fleche,
.rg-atout.is-open .rg-fleche { transform: rotate(90deg); }
.rg-atout.is-open .rg-atout__titre button { min-height: 0; padding-block: 19px 10px; cursor: default; }
.rg-atout__texte { padding: 0 28px 21px 21px; color: var(--rg-gris); font-size: 14px; line-height: 18px; }

/* Vivre aux Regals : photo 665 × 472, encoche crème 207 de large */
.rg-vivre { padding-top: 150px; }
.rg-profil {
	position: relative;
	min-height: 512px;
	margin-top: 75px;
}
.rg-profil__photo {
	position: absolute;
	top: 0;
	left: 0;
	width: 56.74%;
	aspect-ratio: 665 / 472;
	overflow: hidden;
	border-radius: 20px;
}
.rg-profil__photo img { width: 100%; height: 100%; object-fit: cover; }
.rg-profil__encoche {
	position: absolute;
	top: 120px;
	left: 43.26%;
	width: 207px;
	height: 392px;
	border-radius: 20px;
	background: var(--rg-creme);
}
.rg-profil__feuille { position: absolute; top: 84px; left: calc(43.26% + 116px); }
.rg-profil__texte {
	position: relative;
	margin-left: 47.61%;
	padding-top: 199px;
}
.rg-profil__surtitre { color: var(--rg-vert); text-transform: uppercase; }
.rg-profil__titre {
	max-width: 444px;
	margin-top: 15px;
	color: var(--rg-or);
	font-size: 30px;
	font-weight: 700;
	line-height: 30px;
}
.rg-profil__corps { margin-top: 22px; }

.rg-profil--inverse { margin-top: 73px; min-height: 529px; }
.rg-profil--inverse .rg-profil__photo { left: auto; right: 0; }
.rg-profil--inverse .rg-profil__encoche { top: 133px; left: 39.08%; height: 396px; }
.rg-profil--inverse .rg-profil__feuille { top: 93px; left: 39.08%; }
.rg-profil--inverse .rg-profil__texte {
	margin-left: 0;
	margin-right: 47.61%;
	padding-top: 202px;
	text-align: right;
}
.rg-profil--inverse .rg-profil__titre { margin-left: auto; }

/* Le projet : le fond sable commence 386 px sous le haut de la carte */
.rg-projet {
	padding-top: 104px;
	background: linear-gradient(var(--rg-creme) 490px, var(--rg-sable) 490px);
}
.rg-projet__carte {
	padding: 64px 16px 16px;
	border-radius: 20px;
	background: var(--rg-vert);
	color: #fff;
}
.rg-projet__carte .rg-h2 { max-width: 707px; margin-inline: auto; color: #fff; }
.rg-projet__intro { max-width: 614px; margin: 27px auto 0; color: #C6BFA5; }
.rg-piliers {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 31px;
}
.rg-pilier {
	padding: 33px 25px 17px;
	min-height: 268px;
	border-radius: 15px;
	background: rgba(254, 247, 240, .2);
}
.rg-pilier__num {
	display: grid;
	place-items: center;
	width: 55px;
	height: 55px;
	margin-bottom: 28px;
	border-radius: 50%;
	background: rgba(240, 229, 216, .2);
	color: rgba(254, 247, 240, .3);
	font-size: 25px;
	line-height: 25px;
}
.rg-pilier__valeur { display: block; color: var(--rg-sable); font-size: 25px; font-weight: 700; line-height: 25px; }
.rg-pilier__sous { display: block; margin-top: 6px; color: var(--rg-or); font-size: 18px; font-weight: 500; line-height: 20px; }
.rg-pilier__texte { margin-top: 10px; color: #F5F5F5; font-size: 14px; line-height: 18px; }

/* Les parcelles */
.rg-parcelles { padding-block: 103px 106px; background: var(--rg-sable); }
.rg-parcelles__intro { max-width: 497px; margin-top: 12px; }
.rg-parcelles__plan { max-width: 1133px; margin-top: 53px; margin-left: -1px; }
.rg-parcelles__plan img { width: 100%; }
.rg-lots {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	align-items: start;
	margin-top: 24px;
}
.rg-lots__colonne { border-bottom: 1px solid var(--rg-olive); }
.rg-lot { border-top: 1px solid var(--rg-olive); }
.rg-lot__titre { font-size: 18px; font-weight: 700; line-height: 25px; }
.rg-lot__titre button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 64px;
	padding: 0 12px 0 14px;
	border: 0;
	background: none;
	color: var(--rg-olive);
	font: inherit;
	text-align: left;
	text-transform: uppercase;
	cursor: pointer;
}
.rg-lot__titre button:hover .rg-fleche { transform: translateX(3px); }
.rg-lot.is-open .rg-lot__titre button:hover .rg-fleche,
.rg-lot.is-open .rg-fleche { transform: rotate(90deg); }
.rg-lot__titre .rg-fleche { width: 20px; height: 21px; }
.rg-lot__details {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 5px 42px 32px 14px;
}
.rg-lot__details dl { margin: 0; font-size: 16px; line-height: 30px; }
.rg-lot__details dl > div { display: flex; flex-wrap: wrap; gap: 0 5px; }
.rg-lot__details dt { font-weight: 700; text-transform: uppercase; }
.rg-lot__details dd { margin: 0; }
.rg-lot__statut--disponible { color: #2B914F; }
.rg-lot__statut--option { color: #A9761B; }
.rg-lot__statut--vendu { color: #A33A2A; }
.rg-lot__cta { flex: none; padding: 0 15px 0 11px; color: #fff; white-space: nowrap; }
.rg-parcelles__mention { margin-top: 16px; font-size: 12px; line-height: 16px; }

/* Contact */
.rg-contact { padding-block: 70px; background: var(--rg-vert); color: var(--rg-creme); }
.rg-contact__grille {
	display: grid;
	grid-template-columns: minmax(0, 581fr) minmax(0, 581fr);
	gap: 10px;
	align-items: start;
}
.rg-contact__personne { display: flex; gap: 43px; padding-top: 12px; }
.rg-contact__photo { flex: none; width: 126px; height: 126px; border-radius: 50%; object-fit: cover; }
.rg-contact__titre { max-width: 370px; color: #fff; }
.rg-contact__texte { max-width: 328px; margin-top: 25px; }
.rg-contact__nom { margin-top: 22px; color: var(--rg-or); font-weight: 700; }
.rg-contact__fonction { margin-top: 12px; font-size: 12px; line-height: 14px; text-transform: uppercase; }

.rg-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	padding: 32px 39px 39px;
	border-radius: 20px;
	background: rgba(240, 229, 216, .2);
}
.rg-form__surtitre { padding-left: 6px; font-size: 16px; line-height: 22px; text-transform: uppercase; }
.rg-form__titre { margin: -5px 0 8px; padding-left: 7px; color: var(--rg-or); font-size: 30px; font-weight: 700; line-height: 30px; }

/* Gravity Forms (thème « gravity-theme ») : champs de 53 px, gouttières 9 × 12 */
.rg-form .gform_wrapper.gravity-theme { margin: 0; }
.rg-form .gform_wrapper.gravity-theme .gform_required_legend { display: none; }
.rg-form .gform_wrapper.gravity-theme .gform_fields { grid-column-gap: 9px; grid-row-gap: 12px; }
.rg-form .gform_wrapper.gravity-theme .gfield { margin: 0; padding: 0; }
.rg-form .gform_wrapper.gravity-theme .gfield--width-half { grid-column: span 6; }
.rg-form .gform_wrapper.gravity-theme .gfield_label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.rg-form .gform_wrapper.gravity-theme .gfield_radio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.rg-form .gform_wrapper.gravity-theme .gchoice { position: relative; display: block; margin: 0; border-radius: 30px; background: rgba(255, 255, 255, .1); transition: background-color .2s; }
.rg-form .gform_wrapper.gravity-theme .gchoice input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rg-form .gform_wrapper.gravity-theme .gchoice label { display: flex; align-items: center; gap: 14px; max-width: none; height: 53px; margin: 0; padding: 0 11px; color: inherit; font-size: 16px; line-height: 22px; }
.rg-form .gform_wrapper.gravity-theme .gchoice label::before { content: ''; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(217, 217, 217, .2); }
.rg-form .gform_wrapper.gravity-theme .gchoice:has(input:checked) { background: rgba(191, 176, 73, .3); }
.rg-form .gform_wrapper.gravity-theme .gchoice input:checked + label::before { background: url('../img/coche-rond.svg') center / 32px no-repeat; }
.rg-form .gform_wrapper.gravity-theme .gchoice:has(input:focus-visible) { outline: 2px solid var(--rg-or); outline-offset: 2px; }

.rg-form .gform_wrapper.gravity-theme input[type="text"],
.rg-form .gform_wrapper.gravity-theme input[type="tel"],
.rg-form .gform_wrapper.gravity-theme input[type="email"],
.rg-form .gform_wrapper.gravity-theme select {
	width: 100%;
	height: 53px;
	padding: 0 27px;
	border: 0;
	border-radius: 30px;
	background: rgba(255, 255, 255, .1);
	color: var(--rg-creme);
	font: 300 16px/18px 'Montserrat', Arial, sans-serif;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .2s;
}
.rg-form .gform_wrapper.gravity-theme input::placeholder { color: var(--rg-creme); opacity: 1; }
.rg-form .gform_wrapper.gravity-theme select { padding-right: 56px; cursor: pointer; }
.rg-form .gform_wrapper.gravity-theme select option { color: #222; }
.rg-form .gform_wrapper.gravity-theme input:focus,
.rg-form .gform_wrapper.gravity-theme select:focus { background: rgba(255, 255, 255, .18); }
.rg-form .gform_wrapper.gravity-theme .ginput_container_select { position: relative; }
.rg-form .gform_wrapper.gravity-theme .ginput_container_select::after {
	content: '';
	position: absolute;
	top: 16px;
	right: 22px;
	width: 20px;
	height: 21px;
	background: var(--rg-creme);
	-webkit-mask: url('../img/fleche-bas.svg') center / contain no-repeat;
	mask: url('../img/fleche-bas.svg') center / contain no-repeat;
	pointer-events: none;
}

.rg-form .gform_wrapper.gravity-theme .gfield--type-consent { margin-top: 12px; }
.rg-form .gform_wrapper.gravity-theme .ginput_container_consent { position: relative; display: block; }
.rg-form .gform_wrapper.gravity-theme .ginput_container_consent input { position: absolute; z-index: 1; top: 0; left: 0; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.rg-form .gform_wrapper.gravity-theme .gfield_consent_label { display: flex; align-items: center; gap: 6px; margin: 0; color: inherit; font-size: 12px; line-height: 22px; cursor: pointer; }
.rg-form .gform_wrapper.gravity-theme .gfield_consent_label::before { content: ''; flex: none; width: 24px; height: 24px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--rg-or); }
.rg-form .gform_wrapper.gravity-theme .ginput_container_consent input:checked + label::before { background: url('../img/coche-case.svg') center / 24px no-repeat; box-shadow: none; }
.rg-form .gform_wrapper.gravity-theme .ginput_container_consent input:focus-visible + label::before { outline: 2px solid var(--rg-or); outline-offset: 2px; }
/* Gravity Forms impose l'indicateur « (Nécessaire) » ; aria-required reste sur le champ */
.rg-form .gform_wrapper.gravity-theme .gfield_required { display: none !important; }

.rg-form .gform_wrapper.gravity-theme .gform_footer { margin: 35px 0 0; padding: 0; }
.rg-form .gform_wrapper.gravity-theme .gform_ajax_spinner { display: none; }
.rg-form .gform_wrapper.gravity-theme .rg-form__envoi { width: 100%; min-height: 53px; margin: 0; border-radius: 30px; }

.rg-form .gform_wrapper.gravity-theme .gform_validation_errors { margin: 0 0 12px; padding: 12px 16px; border: 0; border-radius: 15px; background: rgba(255, 255, 255, .1); box-shadow: none; }
.rg-form .gform_wrapper.gravity-theme .gform_validation_errors .gform_submission_error { color: var(--rg-creme); font: 500 14px/18px 'Montserrat', Arial, sans-serif; }
.rg-form .gform_wrapper.gravity-theme .gform_validation_errors .gform-icon { display: none; }
.rg-form .gform_wrapper.gravity-theme .gfield_error input,
.rg-form .gform_wrapper.gravity-theme .gfield_error select { box-shadow: inset 0 0 0 1.5px #FFB9A8; }
.rg-form .gform_wrapper.gravity-theme .gfield_validation_message,
.rg-form .gform_wrapper.gravity-theme .validation_message { margin: 4px 0 0; padding: 0 27px; border: 0; background: none; color: #FFD9CF; font-size: 13px; line-height: 16px; }
.rg-form .gform_wrapper.gravity-theme .gfield--type-consent .validation_message { padding: 0; }
.rg-form .gform_confirmation_message { color: var(--rg-creme); font-size: 18px; line-height: 24px; }

/* Pied de page */
.rg-pied { min-height: 209px; padding-block: 40px; background: var(--rg-vert-fonce); color: var(--rg-sable); }
.rg-pied__grille { display: grid; grid-template-columns: 338px 422px 1fr; align-items: start; }
.rg-pied__logo { display: block; width: 243px; }
.rg-pied__texte { padding-top: 21px; font-size: 14px; line-height: 18px; }
.rg-pied__menu { padding-top: 5px; }
.rg-pied__menu a { font-size: 12px; line-height: 30px; text-decoration: none; text-transform: uppercase; }
.rg-pied__menu a:hover { color: var(--rg-or); }

/* Bloc flottant : 289 × 149, toujours en bas à droite */
.rg-flottant {
	position: fixed;
	z-index: 40;
	right: 69px;
	bottom: 31px;
	display: grid;
	grid-template-columns: 75px minmax(0, 1fr);
	column-gap: 16px;
	align-items: center;
	width: 289px;
	padding: 12px 11px 12px 12px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}
.rg-flottant__photo { width: 75px; height: 75px; border-radius: 50%; object-fit: cover; }
.rg-flottant__texte { font-size: 14px; line-height: 18px; }
.rg-flottant__texte strong { font-weight: 700; }
.rg-flottant__cta { grid-column: 1 / -1; margin-top: 7px; }
html.rg-menu-ouvert .rg-flottant { display: none; }

/* Entre 1024 et 1300 : tout se resserre pour tenir sur une ligne */
@media (max-width: 1300px) {
	.rg-entete { padding-inline: 32px; }
	.rg-entete__logo { width: 190px; }
	.rg-menu { margin-left: 32px; }
	.rg-menu ul { gap: 16px; }
	.rg-menu a { font-size: 15px; }
	.rg-hero__titre { font-size: clamp(36px, 3.5vw, 45px); line-height: 1; }
	.rg-hero__haut { gap: 40px; }
	.rg-chiffre__texte strong { font-size: 22px; }
	.rg-profil__corps, .rg-hero__chapo, .rg-parcelles__intro { font-size: 18px; line-height: 21px; }
	.rg-profil { min-height: 0; padding-bottom: 24px; }
	.rg-profil__encoche { width: 17.6%; height: calc(100% - 120px); }
	.rg-pilier { padding-inline: 16px; }
	.rg-pied__grille { grid-template-columns: 290px 1fr auto; column-gap: 32px; }
}

/* Sous 1024 : hamburger, sections empilées */
@media (max-width: 1023.98px) {
	:root { --rg-gouttiere: 24px; }
	.rg-menu, .rg-entete__cta { display: none; }
	.rg-burger { display: flex; }
	.rg-entete { padding: 20px 24px 0; }

	.rg-hero { padding-top: 40px; }
	.rg-hero__haut { grid-template-columns: minmax(0, 1fr); }
	.rg-hero__texte { padding-top: 0; }
	.rg-hero__titre br, .rg-hero__chapo br { display: none; }
	.rg-chiffres { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
	.rg-chiffre { padding-block: 16px; border-bottom: 2px solid var(--rg-sable); }
	.rg-chiffre:last-child { border-bottom: 0; }
	.rg-chiffre:not(:last-child)::after { display: none; }

	.rg-loc__carte-fond { padding: 40px 16px 16px; min-height: 0; }
	.rg-loc__corps { grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 24px 0 0; }
	.rg-atouts { padding-top: 0; }

	.rg-vivre { padding-top: 64px; }
	.rg-profil, .rg-profil--inverse { min-height: 0; margin-top: 40px; padding: 0; }
	.rg-profil__photo, .rg-profil--inverse .rg-profil__photo { position: static; width: 100%; }
	.rg-profil__encoche, .rg-profil__feuille { display: none; }
	.rg-profil__texte, .rg-profil--inverse .rg-profil__texte { margin: 0; padding-top: 24px; text-align: left; }
	.rg-profil--inverse .rg-profil__titre { margin-left: 0; }
	.rg-profil__titre br { display: none; }

	.rg-projet { padding-top: 64px; background: linear-gradient(var(--rg-creme) 50%, var(--rg-sable) 50%); }
	.rg-projet__carte { padding-top: 40px; }
	.rg-piliers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rg-h2 br { display: none; }

	.rg-parcelles { padding-block: 64px; }
	.rg-lots { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.rg-lots__colonne:not(:last-child) { border-bottom: 0; }

	.rg-contact__grille { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.rg-contact { padding-block: 56px; }

	.rg-pied__grille { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.rg-pied__texte, .rg-pied__menu { padding-top: 0; }
	.rg-pied { padding-bottom: 110px; }

	.rg-flottant { right: 24px; bottom: 16px; }
}

/* Sous 768 : tout est centré, bloc flottant réduit à la photo et au bouton */
@media (max-width: 767.98px) {
	:root { --rg-gouttiere: 16px; }
	body { text-align: center; }
	.rg-entete { padding-inline: 16px; }
	.rg-entete__logo { width: 180px; }
	.rg-entete { text-align: left; }

	.rg-h2 { font-size: 28px; line-height: 30px; }
	.rg-surtitre { font-size: 16px; line-height: 20px; }
	.rg-hero__titre { font-size: 32px; line-height: 34px; }
	.rg-hero__chapo, .rg-profil__corps, .rg-parcelles__intro, .rg-projet__intro, .rg-contact__texte { font-size: 16px; line-height: 20px; }
	.rg-profil__titre { font-size: 24px; line-height: 26px; }

	.rg-hero .rg-cta { width: 100%; max-width: 316px; height: auto; padding-block: 10px; }
	.rg-chiffre { flex-direction: column; align-items: center; }
	.rg-chiffre__texte { padding-top: 0; }

	.rg-atout__titre button, .rg-atout__ligne { text-align: center; justify-content: center; }
	.rg-atout__titre button span, .rg-atout__ligne span { flex: 1; }

	.rg-profil__texte, .rg-profil--inverse .rg-profil__texte { text-align: center; }
	.rg-profil__titre, .rg-profil--inverse .rg-profil__titre { margin-inline: auto; }

	.rg-piliers { grid-template-columns: minmax(0, 1fr); }
	.rg-pilier { min-height: 0; padding-block: 24px; }
	.rg-pilier__num { margin-inline: auto; margin-bottom: 16px; }

	.rg-parcelles__intro { margin-inline: auto; }
	.rg-lot__titre button { justify-content: center; gap: 12px; }
	.rg-lot__details { flex-direction: column; align-items: center; padding: 4px 8px 24px; }
	.rg-lot__details dl > div { justify-content: center; }

	.rg-contact__personne { flex-direction: column; align-items: center; gap: 24px; }
	.rg-contact__titre, .rg-contact__texte { margin-inline: auto; }
	.rg-form { padding: 24px 16px; }
	.rg-form__surtitre, .rg-form__titre { padding-left: 0; }
	.rg-form__titre { font-size: 24px; line-height: 28px; }
	.rg-form .gform_wrapper.gravity-theme .gfield_consent_label { text-align: left; }
	.rg-form .gform_wrapper.gravity-theme input[type="text"],
	.rg-form .gform_wrapper.gravity-theme input[type="tel"],
	.rg-form .gform_wrapper.gravity-theme input[type="email"],
	.rg-form .gform_wrapper.gravity-theme select { text-align: center; }
	.rg-form .gform_wrapper.gravity-theme .gfield_validation_message,
	.rg-form .gform_wrapper.gravity-theme .validation_message { padding-inline: 0; text-align: center; }

	.rg-pied__grille { justify-items: center; }

	.rg-flottant {
		left: 16px;
		right: 16px;
		bottom: 12px;
		width: auto;
		grid-template-columns: 44px minmax(0, 1fr);
		column-gap: 10px;
		padding: 8px 12px 8px 8px;
		border-radius: 60px;
	}
	.rg-flottant__photo { width: 44px; height: 44px; }
	.rg-flottant__texte { display: none; }
	.rg-flottant__cta { grid-column: auto; margin-top: 0; }
}

/* Haut de page masqué jusqu'au départ de l'animation (classes posées seulement si GSAP est là) */
.rg-anime:not(.rg-anime-pret) .rg-hero__texte > *,
.rg-anime:not(.rg-anime-pret) .rg-video,
.rg-anime:not(.rg-anime-pret) .rg-chiffre,
.rg-anime:not(.rg-anime-pret) .rg-flottant { visibility: hidden; }

/* Transitions communes */
.rg-cta { transition: background-color .2s, border-color .2s, color .2s, transform .25s, box-shadow .25s; }
.rg-cta svg { transition: transform .25s; }
.rg-menu a { position: relative; transition: color .2s; }
.rg-menu a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -5px;
	height: 2px;
	background: var(--rg-or);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s;
}
.rg-pied__menu a { transition: color .2s; }
.rg-video__media { transition: scale .6s; }
.rg-chiffre__icone { transition: background-color .25s; }
.rg-chiffre__icone svg { transition: transform .3s; }
.rg-atout { transition: background-color .3s, color .3s, transform .25s, box-shadow .25s; }
.rg-atout__titre button { transition: padding .3s, min-height .3s; }
.rg-profil__photo img { transition: scale .6s; }
.rg-profil__feuille { transition: rotate .5s; }
.rg-pilier { transition: background-color .25s, transform .25s; }
.rg-pilier__num { transition: background-color .25s, color .25s; }
.rg-lot__titre button { transition: background-color .2s; }
.rg-lot__titre button span { transition: transform .25s; }
.rg-flottant { transition: transform .25s, box-shadow .25s; }
.rg-flottant__photo { transition: transform .3s; }

/* Halo discret du bouton de lecture */
.rg-video__play::before {
	content: '';
	position: absolute;
	inset: 0;
	border: 1px solid #fff;
	border-radius: 50%;
	animation: rg-halo 2.6s ease-out infinite;
	pointer-events: none;
}
@keyframes rg-halo {
	from { opacity: .7; transform: scale(1); }
	to { opacity: 0; transform: scale(1.55); }
}
.rg-video__play { transition: background-color .2s, transform .25s; }

/* Survols : seulement avec une vraie souris */
@media (hover: hover) {
	.rg-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(68, 84, 44, .2); }
	.rg-cta:hover svg { transform: rotate(-10deg) scale(1.08); }
	.rg-menu a:hover::after { transform: scaleX(1); }
	.rg-video:not(:has(video[controls])):hover .rg-video__media { scale: 1.03; }
	.rg-video__play:hover { transform: translate(-50%, -50%) scale(1.08); }
	.rg-chiffre:hover .rg-chiffre__icone { background: #E8D9C6; }
	.rg-chiffre:hover .rg-chiffre__icone svg { transform: scale(1.1); }
	.rg-atout:has(button):not(.is-open):hover { transform: translateX(-4px); box-shadow: 0 6px 16px rgba(68, 84, 44, .15); }
	.rg-profil:hover .rg-profil__photo img { scale: 1.03; }
	.rg-profil:hover .rg-profil__feuille { rotate: 6deg; }
	.rg-pilier:hover { background: rgba(254, 247, 240, .28); transform: translateY(-4px); }
	.rg-pilier:hover .rg-pilier__num { background: rgba(191, 176, 73, .35); color: var(--rg-sable); }
	.rg-lot__titre button:hover { background: rgba(255, 255, 255, .4); }
	.rg-lot__titre button:hover span { transform: translateX(6px); }
	.rg-form .gform_wrapper.gravity-theme .gchoice:not(:has(input:checked)):hover { background: rgba(255, 255, 255, .16); }
	.rg-form .gform_wrapper.gravity-theme input[type="text"]:hover,
	.rg-form .gform_wrapper.gravity-theme input[type="tel"]:hover,
	.rg-form .gform_wrapper.gravity-theme input[type="email"]:hover,
	.rg-form .gform_wrapper.gravity-theme select:hover { background: rgba(255, 255, 255, .16); }
	.rg-flottant:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
	.rg-flottant:hover .rg-flottant__photo { transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; animation: none !important; }
}
