/* =====================================================================
   FLOW RENOV — charte graphique, en-tête, pied de page, formulaire,
   et classes utilitaires pour Elementor.
   ===================================================================== */

:root {
	--fr-ink: #111111;
	--fr-body: #374151;
	--fr-muted: #6b7280;
	--fr-muted-soft: #898989;
	--fr-hairline: #e5e7eb;
	--fr-hairline-soft: #f3f4f6;
	--fr-canvas: #ffffff;
	--fr-soft: #f8f9fa;
	--fr-card: #f5f5f5;
	--fr-dark: #101010;
	--fr-dark-2: #1a1a1a;
	--fr-dark-line: #262626;
	--fr-on-dark-soft: #a1a1aa;
	--fr-accent: #ba962b;
	--fr-accent-hover: #cfa83a;
	--fr-accent-ink: #8a6d17;
	--fr-accent-soft: #f6f0dc;
	--fr-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--fr-font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--fr-radius: 8px;
	--fr-radius-lg: 12px;
	--fr-header-h: 92px;
	--fr-ease: cubic-bezier(0.2, 0, 0, 1);
}

html {
	scroll-padding-top: calc(var(--fr-header-h) + 16px);
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--fr-canvas);
	color: var(--fr-body);
	font-family: var(--fr-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
::selection { background: var(--fr-accent-soft); }
a { color: var(--fr-ink); }
a:hover { color: var(--fr-ink); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--fr-display); font-weight: 400; color: var(--fr-ink); }
img { max-width: 100%; height: auto; }

/* Hello Elementor : pas de titre de page au-dessus du contenu Elementor */
.elementor-page .page-header,
.elementor-page .entry-header { display: none; }
.site-main { padding: 0; }

/* ---------------------------------------------------------------------
   Boutons (en-tête, formulaire). Les boutons Elementor sont stylés
   dans Elementor (réglages du site + widgets).
   --------------------------------------------------------------------- */
.fr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	padding: 0 20px;
	border-radius: var(--fr-radius);
	border: 1px solid transparent;
	font-family: var(--fr-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s var(--fr-ease), color 0.15s, border-color 0.15s;
}
.fr-btn:hover { text-decoration: none; }
.fr-btn--lg { height: 48px; padding: 0 24px; font-size: 15px; }
.fr-btn--accent { background: var(--fr-accent); color: var(--fr-ink); }
.fr-btn--accent:hover { background: var(--fr-accent-hover); color: var(--fr-ink); }
.fr-btn--primary { background: var(--fr-ink); color: #fff; }
.fr-btn--primary:hover { background: #242424; color: #fff; }
.fr-btn--secondary { background: #fff; color: var(--fr-ink); border-color: var(--fr-hairline); }
.fr-btn--secondary:hover { background: var(--fr-soft); color: var(--fr-ink); }
.fr-btn:focus-visible { outline: 2px solid var(--fr-accent); outline-offset: 2px; }

/* ---------------------------------------------------------------------
   En-tête
   --------------------------------------------------------------------- */
.fr-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--fr-header-h);
	background: var(--fr-ink);
	color: #fff;
}
.fr-header__inner {
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	gap: 24px;
}
.fr-header__logo { display: flex; flex: none; }
.fr-logo { width: auto; display: block; border-radius: 6px; }
.fr-nav { flex: 1; height: 100%; display: flex; justify-content: flex-end; align-items: stretch; }
.fr-nav__list { list-style: none; margin: 0; padding: 0; height: 100%; display: flex; gap: 4px; }
.fr-nav__list li { display: flex; margin: 0; }
.fr-nav__list a {
	display: flex;
	align-items: center;
	padding: 0 12px;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
	transition: color 0.15s;
}
.fr-nav__list a:hover { color: var(--fr-accent); text-decoration: none; }
.fr-nav__list .current-menu-item > a,
.fr-nav__list .current_page_item > a,
.fr-nav__list .current-menu-ancestor > a {
	color: var(--fr-accent);
	font-weight: 600;
	border-bottom-color: var(--fr-accent);
}
.fr-nav__cta { display: none; }
.fr-header__cta { flex: none; }
.fr-burger { display: none; }

@media (max-width: 900px) {
	.fr-header__inner { gap: 12px; }
	.fr-header .fr-logo { height: 52px !important; }
	.fr-header__cta { display: none; }
	.fr-burger {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		margin-left: auto;
		height: 40px;
		padding: 0 14px;
		border: 1px solid #3a3a3a;
		border-radius: 8px;
		background: transparent;
		color: #fff;
		font: 600 14px/1 var(--fr-font);
		cursor: pointer;
	}
	.fr-burger__icon { position: relative; display: block; width: 18px; height: 2px; background: currentColor; transition: background 0.15s; }
	.fr-burger__icon::before,
	.fr-burger__icon::after {
		content: '';
		position: absolute;
		left: 0;
		width: 18px;
		height: 2px;
		background: currentColor;
		transition: transform 0.2s var(--fr-ease), top 0.2s var(--fr-ease);
	}
	.fr-burger__icon::before { top: -6px; }
	.fr-burger__icon::after { top: 6px; }
	.is-open .fr-burger__icon { background: transparent; }
	.is-open .fr-burger__icon::before { top: 0; transform: rotate(45deg); }
	.is-open .fr-burger__icon::after { top: 0; transform: rotate(-45deg); }

	.fr-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: var(--fr-header-h);
		height: auto;
		max-height: calc(100vh - var(--fr-header-h));
		overflow: auto;
		flex-direction: column;
		padding: 8px 24px 24px;
		background: #fff;
		border-top: 1px solid var(--fr-hairline-soft);
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
	}
	.is-open .fr-nav { display: flex; }
	.fr-nav__list { flex-direction: column; gap: 0; height: auto; }
	.fr-nav__list a {
		min-height: 52px;
		padding: 0;
		font-size: 16px;
		color: var(--fr-ink);
		border: 0;
		border-bottom: 1px solid var(--fr-hairline-soft);
	}
	.fr-nav__list .current-menu-item > a,
	.fr-nav__list .current_page_item > a { color: var(--fr-accent); border-bottom-color: var(--fr-hairline-soft); }
	.fr-nav__cta { display: block; padding-top: 16px; }
	.fr-nav__cta .fr-btn { width: 100%; }
	.fr-menu-open body { overflow: hidden; }
}

/* ---------------------------------------------------------------------
   Pied de page
   --------------------------------------------------------------------- */
.fr-footer {
	background: var(--fr-dark);
	color: var(--fr-on-dark-soft);
	padding: 64px 24px 24px;
	font-size: 14px;
	line-height: 1.6;
}
.fr-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
	gap: 48px;
}
.fr-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.fr-footer__tagline { margin: 0; max-width: 380px; }
.fr-footer__title {
	margin: 0 0 16px;
	font: 600 13px/1.4 var(--fr-font);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #fff;
}
.fr-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fr-footer__list li { margin: 0; }
.fr-footer__list a { color: var(--fr-on-dark-soft); text-decoration: none; }
.fr-footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fr-footer__list .current-menu-item > a { color: #fff; }
.fr-footer__legal a { color: var(--fr-on-dark-soft); text-decoration: none; }
.fr-footer__legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fr-footer__legal {
	max-width: 1200px;
	margin: 48px auto 0;
	padding-top: 24px;
	border-top: 1px solid var(--fr-dark-line);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	font-size: 13px;
}
@media (max-width: 800px) {
	.fr-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
	.fr-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.fr-footer__inner { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Formulaire de contact ([flow_renov_contact_form])
   --------------------------------------------------------------------- */
.fr-form {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin: 0;
}
.fr-form__title { grid-column: 1 / -1; margin: 0 0 4px; font-size: 28px; letter-spacing: -0.5px; }
.fr-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 14px; font-weight: 500; color: var(--fr-ink); }
.fr-field--full { grid-column: 1 / -1; }
.fr-field input,
.fr-field select,
.fr-field textarea {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--fr-hairline);
	border-radius: var(--fr-radius);
	background: #fff;
	color: var(--fr-ink);
	font: 400 16px/1.4 var(--fr-font);
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color 0.12s, box-shadow 0.12s;
}
.fr-field select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.fr-field textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; }
.fr-field input:focus,
.fr-field select:focus,
.fr-field textarea:focus {
	outline: none;
	border-color: var(--fr-ink);
	box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}
.fr-field input::placeholder,
.fr-field textarea::placeholder { color: var(--fr-muted-soft); }
.fr-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fr-form__footer { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fr-form__note { margin: 0; font-size: 13px; line-height: 1.5; font-weight: 400; color: var(--fr-muted); }
.fr-form__error {
	grid-column: 1 / -1;
	margin: 0;
	padding: 12px 14px;
	border-radius: var(--fr-radius);
	background: #fef2f2;
	color: #991b1b;
	font-size: 14px;
}
.fr-form--sent { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.fr-form__check {
	width: 48px;
	height: 48px;
	border-radius: var(--fr-radius);
	background: var(--fr-dark);
	color: var(--fr-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}
.fr-form__sent-title { margin: 0; font-size: 28px; letter-spacing: -0.5px; }
.fr-form--sent p { margin: 0; font-size: 16px; line-height: 1.6; }

/* ---------------------------------------------------------------------
   Classes utilitaires utilisées dans les pages Elementor
   (Avancé > Classes CSS)
   --------------------------------------------------------------------- */

/* Colonne collante (page Méthode : sommaire ; page Vous : photo) */
@media (min-width: 1025px) {
	.fr-sticky { position: sticky; top: calc(var(--fr-header-h) + 24px); }
}

/* Frise des 8 étapes (page d'accueil, section sombre) */
.fr-frise { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.fr-frise > .e-con-inner,
.fr-frise.e-con-full { min-width: 0; }
.fr-frise-item { min-width: 130px; }
.fr-frise-line { display: block; position: relative; height: 14px; margin-right: -20px; }
.fr-frise-line::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: #333; }
.fr-frise-line::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--fr-accent);
	box-shadow: 0 0 0 4px var(--fr-dark);
}
.fr-frise-item a { color: inherit; text-decoration: none; }
.fr-frise-item a:hover { color: var(--fr-accent); }
@media (max-width: 1024px) {
	.fr-frise-line { margin-right: 0; }
}

/* Étapes numérotées (page Méthode) */
.fr-step { position: relative; }
.fr-step:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 27px;
	top: 56px;
	bottom: 0;
	width: 2px;
	background: var(--fr-hairline);
}
.fr-step-num .elementor-heading-title {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--fr-dark);
	color: var(--fr-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--fr-display);
	font-size: 20px;
	line-height: 1;
	position: relative;
	z-index: 1;
}
@media (max-width: 767px) {
	.fr-step:not(:last-child)::after { display: none; }
}

/* Sommaire des étapes (page Méthode) */
.fr-steps-nav .elementor-icon-list-item { border-radius: 8px; transition: background 0.15s; }
.fr-steps-nav .elementor-icon-list-item:hover { background: var(--fr-card); }
.fr-steps-nav .elementor-icon-list-item a { padding: 10px 12px; width: 100%; }
.fr-steps-nav .elementor-icon-list-text { white-space: normal; }

/* Lignes de contact (page Contact) */
.fr-contact-line { border-bottom: 1px solid var(--fr-hairline); }
.fr-contact-line:last-child { border-bottom: 0; }

/* Cartes « Ils nous font confiance » */
.fr-partner-tag .elementor-heading-title {
	font-family: ui-monospace, 'JetBrains Mono', Menlo, monospace;
	font-size: 10px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--fr-muted);
}

/* Réalisations : zoom léger au survol */
.fr-ref img { transition: transform 0.3s var(--fr-ease); }
.fr-ref:hover img { transform: scale(1.02); }

/* ---------------------------------------------------------------------
   Bandeau cookies (Google Analytics avec consentement)
   --------------------------------------------------------------------- */
.fr-cookies {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 200;
	max-width: 560px;
	margin: 0 auto;
	padding: 20px 24px;
	background: var(--fr-dark);
	color: #fff;
	border: 1px solid var(--fr-dark-line);
	border-radius: var(--fr-radius-lg);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	font-size: 14px;
	line-height: 1.5;
}
.fr-cookies[hidden] { display: none; }
.fr-cookies__text { margin: 0; flex: 1 1 280px; color: var(--fr-on-dark-soft); }
.fr-cookies__text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fr-cookies__actions { display: flex; gap: 8px; flex: none; }
.fr-cookies__manage { color: inherit; }
@media (max-width: 480px) {
	.fr-cookies { padding: 16px; }
	.fr-cookies__actions { width: 100%; }
	.fr-cookies__actions .fr-btn { flex: 1; }
}
