:root {
	--brand: #0f5a37;
	--brand-dark: #0a3f27;
	--brand-soft: #e8efe9;
	--cta: #f26a1b;
	--cta-dark: #d4560d;
	--ink: #232323;
	--muted: #5f5f5f;
	--line: #dcdcdc;
	--soft: #f3f1ec;
	--font-main: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html, body { overflow-x: hidden; }

body {
	margin: 0;
	font-family: var(--font-main);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--ink);
	background: #ffffff;
}

img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
	font-weight: 700;
	line-height: 1.6;
	margin: 0 0 14px;
	color: var(--brand);
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 7px; }
strong { font-weight: 700; }

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--brand);
	color: #fff;
	padding: 10px 16px;
	z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }

/* ----------------------------------------------------------- Boutons */
.btn {
	display: inline-block;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	border: 0;
	border-radius: 6px;
	padding: 14px 26px;
	cursor: pointer;
	transition: background-color 0.18s ease;
}
.btn-cta { background: var(--cta); color: #ffffff; }
.btn-cta:hover { background: var(--cta-dark); color: #ffffff; }
.btn-ghost {
	background: transparent;
	color: var(--brand);
	border: 2px solid var(--brand);
	padding: 12px 24px;
}
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ----------------------------------------------------------- En-tete */
.site-header {
	position: relative;
	background: #ffffff;
	border-bottom: 1px solid var(--line);
}
.header-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.site-logo { display: inline-flex; flex-shrink: 0; }
.site-logo img { height: 50px; width: auto; }

.main-nav .nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 26px;
}
.main-nav .nav-list li { margin: 0; }
.main-nav a {
	text-decoration: none;
	color: var(--ink);
	font-size: 1rem;
	padding: 6px 0;
}
.main-nav a:hover { color: var(--brand); }
.main-nav .nav-cta a,
.main-nav .menu-item-cta a {
	background: var(--cta);
	color: #ffffff;
	padding: 11px 20px;
	border-radius: 6px;
}
.main-nav .nav-cta a:hover,
.main-nav .menu-item-cta a:hover { background: var(--cta-dark); }

.nav-burger { display: none; }
.nav-burger span {
	display: block;
	width: 26px;
	height: 3px;
	background: var(--brand);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger span + span { margin-top: 5px; }

/* --------------------------------------------------------------- Hero */
.hero {
	position: relative;
	background-color: var(--brand-dark);
	background-image: url("img/hero.jpg");
	background-size: cover;
	background-position: center;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(9, 46, 28, 0.74);
}
.hero-inner {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	padding: 56px 24px 64px;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 44px;
	align-items: start;
}
.hero-text { color: #f3f3f0; padding-top: 12px; }
.hero-text h1 { color: #ffffff; font-size: 2.5rem; margin-bottom: 16px; }
.hero-sub {
	font-size: 1.15rem;
	color: #e4e7e2;
	margin-bottom: 24px;
}
.hero-points { list-style: none; margin: 0; padding: 0; }
.hero-points li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 13px;
	color: #ffffff;
	font-size: 1.03rem;
}
.hero-points svg { color: var(--cta); flex-shrink: 0; margin-top: 1px; }

/* ------------------------------------------------ Carte formulaire */
.form-card {
	background: #ffffff;
	border-radius: 12px;
	padding: 28px 26px 26px;
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}
.form-title { font-size: 1.4rem; margin-bottom: 8px; }
.form-intro { font-size: 0.97rem; color: var(--muted); margin-bottom: 18px; }

.devis-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.form-field { margin-bottom: 14px; }
.form-field label {
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 5px;
}
.form-field input {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	padding: 11px 12px;
	border: 1px solid #c9c9c9;
	border-radius: 6px;
	background: #fcfcfb;
	color: var(--ink);
}
.form-field input:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(15, 90, 55, 0.16);
}
.form-field-cp { max-width: 100%; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.devis-form .btn-block { margin-top: 6px; }
.form-legal {
	font-size: 0.82rem;
	color: #8a8a8a;
	margin-top: 12px;
	margin-bottom: 0;
}
.form-feedback {
	font-size: 0.95rem;
	padding: 12px 14px;
	border-radius: 8px;
	margin-bottom: 16px;
}
.form-feedback-ok { background: var(--brand-soft); color: var(--brand-dark); }
.form-feedback-err { background: #fbe6dd; color: #b14310; }

/* ----------------------------------------------------- Contenu page */
.page-content { background: #ffffff; }
.content-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}
.section { padding: 60px 0; }
.section-alt { background: var(--soft); }
.section-brand { background: var(--brand-dark); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.07rem; }
.lead { font-size: 1.12rem; }

.prose p { margin-bottom: 16px; }
.prose-center { text-align: center; max-width: 680px; margin: 0 auto; }

/* Bloc texte + image cote a cote */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}
.split.section { padding: 60px 0; }
.split-media img { border-radius: 12px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14); }
.split-text h2 { margin-bottom: 16px; }

/* Etapes */
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
	gap: 22px;
}
.step {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 24px 22px;
}
.step-num {
	display: inline-block;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--cta);
	margin-bottom: 6px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin-bottom: 0; font-size: 0.98rem; }

/* Grille de bornes */
.borne-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 26px;
}
.borne-card {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.borne-card img { width: 100%; height: 200px; object-fit: cover; }
.borne-card .borne-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.borne-card h3 { margin-bottom: 8px; }
.borne-card p { color: var(--muted); font-size: 0.97rem; }
.borne-price {
	margin-top: auto;
	padding-top: 14px;
	font-size: 1.05rem;
	color: var(--ink);
}
.borne-price strong { font-size: 1.45rem; color: var(--brand); }

/* Tableau de prix */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; }
.price-table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	min-width: 540px;
}
.price-table caption {
	caption-side: bottom;
	font-size: 0.85rem;
	color: var(--muted);
	padding-top: 10px;
	text-align: left;
}
.price-table th, .price-table td {
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid var(--line);
}
.price-table thead th {
	background: var(--brand);
	color: #ffffff;
	font-size: 0.95rem;
}
.price-table tbody th { font-weight: 700; color: var(--ink); }
.price-table tbody tr:nth-child(even) { background: #faf9f6; }
.price-table .price-cell { font-weight: 700; color: var(--brand); white-space: nowrap; }

/* Comparateur de choix */
.choice-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 22px;
}
.choice-card {
	background: #ffffff;
	border: 1px solid var(--line);
	border-top: 5px solid var(--brand);
	border-radius: 10px;
	padding: 24px 22px;
}
.choice-card h3 { margin-bottom: 6px; }
.choice-card .choice-for { color: var(--cta-dark); font-weight: 700; font-size: 0.95rem; margin-bottom: 12px; }
.choice-card ul { padding-left: 20px; margin-bottom: 0; }
.choice-card li { color: var(--muted); font-size: 0.97rem; }

/* Figures photo */
.figure { margin: 0; }
.figure img { border-radius: 12px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.13); }
.figure figcaption {
	font-size: 0.9rem;
	color: var(--muted);
	margin-top: 10px;
}
.media-duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

/* Liste avantages */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin-bottom: 12px;
	color: var(--ink);
}
.check-list svg { color: var(--brand); flex-shrink: 0; margin-top: 3px; }

/* Encart aides */
.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
	gap: 22px;
}
.info-card {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 24px 22px;
}
.info-card h3 { margin-bottom: 10px; }
.info-card p { color: var(--muted); font-size: 0.98rem; }
.info-card p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { max-width: 840px; }
.faq-item {
	border-bottom: 1px solid var(--line);
	padding: 22px 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-item h3 { margin-bottom: 8px; }
.faq-item p { color: var(--muted); margin-bottom: 0; }

/* Bande CTA */
.cta-band {
	background: var(--brand-dark);
	color: #ffffff;
	border-radius: 14px;
	padding: 40px 38px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
}
.cta-band h2, .cta-band p, .cta-band span, .cta-band li { color: #ffffff; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin-bottom: 0; color: #dfe6e0; }
.cta-band .cta-band-text { max-width: 620px; }

/* Zones */
.zones-list {
	columns: 3;
	column-gap: 32px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.zones-list li {
	padding: 7px 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
}

/* Sections sombres : lisibilite des descendants */
.section-brand,
.section-brand h2, .section-brand h3, .section-brand h4,
.section-brand p, .section-brand li, .section-brand span, .section-brand strong {
	color: #ffffff;
}
.section-brand .section-head p { color: #d8e0d9; }

/* --------------------------------------------------------- Pied de page */
.site-footer { background: var(--brand-dark); color: #e7ece8; }
.footer-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 50px 24px 36px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 34px;
}
.footer-col p { color: #cdd6cf; font-size: 0.96rem; }
.footer-logo {
	height: 46px;
	width: auto;
	margin-bottom: 14px;
	background: #ffffff;
	border-radius: 8px;
	padding: 7px 10px;
}
.footer-col-title {
	display: block;
	font-weight: 700;
	font-size: 1.05rem;
	color: #ffffff;
	margin-bottom: 14px;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li {
	color: #cdd6cf;
	font-size: 0.95rem;
	padding: 5px 0;
}
.footer-col .btn { margin-top: 6px; }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	max-width: 1180px;
	margin: 0 auto;
	padding: 20px 24px 30px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.footer-bottom span { color: #aeb9b0; font-size: 0.86rem; }
.footer-note { max-width: 900px; }

/* ----------------------------------------------------------- Responsive */
@media (max-width: 980px) {
	.hero-inner { grid-template-columns: 1fr; gap: 34px; }
	.split { grid-template-columns: 1fr; gap: 28px; }
	.split-media { order: -1; }
	.footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
	.zones-list { columns: 2; }
}

@media (max-width: 900px) {
	.nav-burger {
		display: block;
		cursor: pointer;
		padding: 6px;
		background: transparent;
		border: 0;
	}
	.main-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: #ffffff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 16px 26px rgba(0, 0, 0, 0.12);
		z-index: 90;
	}
	.nav-toggle:checked ~ .main-nav { display: block; }
	.main-nav .nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 24px 18px;
	}
	.main-nav .nav-list li { border-bottom: 1px solid var(--line); }
	.main-nav .nav-list li:last-child { border-bottom: 0; }
	.main-nav a { display: block; padding: 14px 0; }
	.main-nav .nav-cta a,
	.main-nav .menu-item-cta a {
		text-align: center;
		margin: 14px 0 4px;
		padding: 13px 20px;
	}
	.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
	.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	h1 { font-size: 1.7rem; }
	.hero-text h1 { font-size: 1.95rem; }
	h2 { font-size: 1.42rem; }
	.hero-inner { padding: 40px 20px 46px; }
	.header-inner { padding: 12px 20px; }
	.content-wrap { padding: 0 20px; }
	.section { padding: 44px 0; }
	.split.section { padding: 44px 0; }
	.devis-form .form-row { grid-template-columns: 1fr; gap: 0; }
	.media-duo { grid-template-columns: 1fr; }
	.zones-list { columns: 1; }
	.footer-inner { grid-template-columns: 1fr; gap: 26px; }
	.cta-band { padding: 30px 24px; }
	.form-card { padding: 22px 18px; }
	.site-logo img { height: 42px; }
}
