/* ------------------------------------------------------------
   Page Franchise
   ------------------------------------------------------------ */

.fr-page {
	--fr-green: #b9ccba;
	--fr-green-light: #ecf0eb;
	--fr-dark: #1d1d1b;
	--fr-text: #2f2e2e;
	--fr-serif: "Instrument Serif", Georgia, serif;
	margin-top: 100px;
	font-family: "Codec Pro Regular", sans-serif;
	font-weight: 400;
	color: var(--fr-text);
}

@media (min-width: 1024px) {
	.fr-page { margin-top: 200px; }
}

.fr-page img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.fr-page p {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 1em;
}

/* Typo */
.fr-title {
	font-family: var(--fr-serif);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 0 0 20px;
}

.fr-title--xl { font-size: clamp(52px, 7vw, 92px); margin-bottom: 28px; }
.fr-title--lg { font-size: clamp(34px, 3.6vw, 46px); }

.fr-eyebrow {
	font-size: 12px !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 18px !important;
}

.fr-lead {
	font-size: 18px !important;
	max-width: 440px;
}

/* Bouton */
.fr-page .fr-btn {
	display: inline-block;
	margin: 10px 0 0;
	padding: 14px 28px;
	background: var(--fr-green);
	border: 0;
	border-radius: 2px;
	color: var(--fr-text);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .3s ease, opacity .3s ease;
}

.fr-page .fr-btn:hover { background: #a5bca6; color: var(--fr-text); }
.fr-page .fr-btn:disabled { opacity: .6; cursor: wait; }

/* Hero */
.fr-hero { padding: 40px 0 70px; }
.fr-hero__img { aspect-ratio: 1; }

/* Histoire */
.fr-story {
	background: var(--fr-green);
	padding: 70px 0;
}

.fr-story__img {
	aspect-ratio: 1;
	margin-top: 30px;
}

@media (min-width: 992px) {
	.fr-story { padding: 80px 0 70px; }
	.fr-story__text { padding-left: 45px; }
	.fr-story .fr-title { padding-top: 6px; }
}

/* Concept */
.fr-concept { padding: 70px 0; }

.fr-concept__intro { margin-bottom: 40px !important; }

.fr-concept img {
	aspect-ratio: 1;
	margin-bottom: 18px;
}

.fr-concept h3 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 12px;
}

.fr-concept .col-md-4 p {
	font-size: 14px;
	line-height: 1.65;
}

/* Chiffres */
.fr-figures {
	background: var(--fr-dark);
	padding: 70px 0 80px;
}

.fr-figures * { color: #fff; }

.fr-figures .fr-title { margin-bottom: 40px; }

.fr-figures__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px 20px;
}

@media (min-width: 768px) {
	.fr-figures__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
	.fr-figures__grid { grid-template-columns: repeat(5, 1fr); }
}

.fr-figure {
	border-top: 1px solid rgba(255, 255, 255, .3);
	padding-top: 22px;
}

.fr-figure__value {
	display: block;
	font-family: var(--fr-serif);
	font-size: clamp(32px, 3.2vw, 42px);
	line-height: 1;
	white-space: nowrap;
	margin-bottom: 12px;
}

.fr-figure__label {
	display: block;
	font-size: 12px;
	line-height: 1.4;
	color: rgba(255, 255, 255, .8);
}

/* Villes */
.fr-cities { padding: 70px 0; }

.fr-chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 6px;
	padding: 0;
	margin: 0;
}

.fr-page .fr-chip {
	display: inline-block;
	padding: 5px 13px;
	border: 1px solid var(--fr-text);
	border-radius: 999px;
	font-size: 13px;
	color: var(--fr-text);
	text-decoration: none;
	transition: background-color .25s ease;
}

.fr-page .fr-chip:hover { background: var(--fr-green-light); }
.fr-page .fr-chip--other { border-style: dashed; }

/* Formulaire */
.fr-apply {
	background: var(--fr-green-light);
	padding: 70px 20px;
	scroll-margin-top: 90px;
}

.fr-apply__inner {
	max-width: 556px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.fr-apply__inner { max-width: 720px; }
}

@media (min-width: 1024px) {
	.fr-apply__inner { max-width: 1100px; padding: 0 160px; }
	.fr-apply__inner .fr-apply__intro { max-width: 556px; }
}

.fr-apply__intro { font-size: 14px !important; margin-bottom: 28px !important; }

.fr-form__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 15px;
}

@media (min-width: 768px) {
	.fr-form__row { grid-template-columns: 1fr 1fr; }
}

.fr-field {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.fr-field > label:not(.fr-radio),
.fr-field legend {
	display: block;
	float: none;
	width: auto;
	font-size: 11px;
	font-weight: 600;
	margin-bottom: 6px;
}

.fr-form input[type="text"],
.fr-form input[type="email"],
.fr-form input[type="tel"],
.fr-form select,
.fr-form textarea {
	display: block;
	width: 100%;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid #b5b5b5;
	border-radius: 0;
	font-family: inherit;
	font-size: 14px;
	color: var(--fr-text);
	outline: none;
	transition: border-color .2s ease;
}

.fr-form input,
.fr-form select { height: 40px; }
.fr-form textarea { min-height: 100px; resize: vertical; }

.fr-form input:focus,
.fr-form select:focus,
.fr-form textarea:focus { border-color: var(--fr-text); }

.fr-form .is-invalid { border-color: #c0392b !important; }

.fr-radio {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	margin: 8px 0 14px 3px;
	cursor: pointer;
}

.fr-radio input {
	width: 16px;
	height: 16px !important;
	margin: 0;
	accent-color: var(--fr-text);
}

.fr-fieldset-invalid .fr-radio span { color: #c0392b; }

.fr-form .fr-btn { padding: 12px 30px; margin-top: 6px; }

.fr-form__status {
	margin-top: 18px;
	font-size: 14px !important;
}

.fr-form__status.is-error { color: #c0392b; }
.fr-form__status.is-success { color: #3d6b42; }

/* Honeypot */
.fr-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Le footer du thème ajoute une marge : on la supprime pour enchaîner sur la section verte */
body.page-template-page-franchise-php > .footer,
body.franchise > .footer { margin-top: 0; }
