/* ==========================================================
   1. PALETTE DE COULEURS (Gris-bleu anthracite & Beige + Vert)
   ========================================================== */
:root {
	/* MODE SOMBRE (Par défaut) */
	--bg-page: #1e293b;           /* Gris-bleu anthracite */
	--bg-card: #273549;           /* Carte anthracite un peu plus claire */
	--bg-card-hover: #31425a;     /* Survol */
	--text-main: #f5f0e6;         /* Écriture beige */
	--text-muted: #d6cfc2;        /* Détails beige doux */
	--title-color: #f5f0e6;       /* Titres H2 beiges */
	--accent-border: #ccff00;     /* Vert acide pour les bordures */
	--accent-text: #ccff00;       /* Vert acide pour les liens/titres */
	--border-subtle: #334155;     /* Séparateurs */
	--shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);
	--circuit-opacity: 0.06;
}

[data-theme="light"] {
	/* MODE CLAIR (Inversion parfaite) */
	--bg-page: #f5f0e6;           /* Fond beige */
	--bg-card: #ebe3d5;           /* Carte beige soutenu */
	--bg-card-hover: #e0d5c3;     /* Survol */
	--text-main: #1e293b;         /* Écriture gris-bleu anthracite */
	--text-muted: #475569;        /* Détails gris-bleu doux */
	--title-color: #1e293b;       /* Titres H2 gris-bleu anthracite */
	--accent-border: #ccff00;     /* Vert acide conservé sur les bordures */
	--accent-text: #5a7800;       /* Vert olive foncé pour lisibilité sur beige */
	--border-subtle: #d6cfc2;     /* Séparateurs */
	--shadow-card: 0 10px 25px rgba(30, 41, 59, 0.12);
	--circuit-opacity: 0.08;
}

/* ==========================================================
   2. MISE EN PAGE GÉNÉRALE
   ========================================================== */
* {
	box-sizing: border-box;
}

body {
	background-color: var(--bg-page);
	color: var(--text-main);
	font-family: 'Segoe UI', Arial, sans-serif;
	line-height: 1.6;
	max-width: 980px;
	margin: 0 auto;
	padding: 20px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

a {
	color: var(--accent-text);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h2 { 
	color: var(--title-color); 
	margin-top: 45px; 
	margin-bottom: 22px;
	border-left: 6px solid var(--accent-border); 
	padding-left: 15px; 
	text-transform: uppercase;
	font-size: 1.3em;
	letter-spacing: 1px;
	transition: color 0.3s ease;
}

/* ==========================================================
   3. EN-TÊTE & NAVIGATION (Continuité DA Facture)
   ========================================================== */
.site-header {
	position: relative;
	background-color: var(--bg-card);
	border-radius: 10px;
	border-bottom: 4px solid var(--accent-border);
	box-shadow: var(--shadow-card);
	padding: 15px 22px;
	margin-bottom: 35px;
	overflow: hidden;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Filigrane circuit imprimé subtil inspiré de la facture */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://w3.org d='M10 10h30v20h20M80 10v30h30M20 90h40V60h30M90 110V85h20' fill='none' stroke='%2394a3b8' stroke-width='1.5'/%3E%3Ccircle cx='60' cy='30' r='3' fill='none' stroke='%2394a3b8' stroke-width='1.5'/%3E%3Ccircle cx='110' cy='40' r='3' fill='none' stroke='%2394a3b8' stroke-width='1.5'/%3E%3Ccircle cx='20' cy='90' r='3' fill='none' stroke='%2394a3b8' stroke-width='1.5'/%3E%3Ccircle cx='90' cy='110' r='3' fill='none' stroke='%2394a3b8' stroke-width='1.5'/%3E%3C/svg%3E");
	opacity: var(--circuit-opacity);
	pointer-events: none;
}

/* Ajustement alignement header sur 1 seule ligne */
.header-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: nowrap;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.brand-link {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none !important;
}

.brand-logo {
	width: 58px;
	height: 58px;
	border-radius: 8px;
	object-fit: cover;
	border: 1px solid var(--border-subtle);
	background: #ffffff;
}

.brand-text {
	display: flex;
	flex-direction: column;
}

.brand-title {
	font-size: 1.2em;
	font-weight: 800;
	color: var(--title-color);
	letter-spacing: 0.5px;
	line-height: 1.2;
}

.brand-subtitle {
	font-size: 0.74em;
	color: var(--accent-text);
	font-weight: 600;
}

.nav-link {
	padding: 7px 11px;
	border-radius: 6px;
	font-size: 0.88em;
	font-weight: 600;
	color: var(--text-main);
	text-decoration: none !important;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.nav-link:hover {
	background-color: var(--bg-card-hover);
	color: var(--accent-text);
}

.nav-link.active {
	background-color: rgba(204, 255, 0, 0.14);
	color: var(--accent-text);
	box-shadow: inset 0 -2px 0 var(--accent-border);
}

.nav-link.nav-cta {
	background-color: var(--accent-border);
	color: #1e293b;
	font-weight: 700;
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta.active {
	background-color: #d9ff4d;
	color: #1e293b;
	box-shadow: 0 4px 12px rgba(204, 255, 0, 0.25);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.back-btn-mini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: var(--bg-page);
	color: var(--accent-text);
	border: 1px solid var(--border-subtle);
	border-radius: 8px;
	font-weight: bold;
	font-size: 1.1em;
	text-decoration: none !important;
}

.back-btn-mini:hover {
	border-color: var(--accent-border);
}

.theme-switch-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: var(--bg-page);
	color: var(--accent-text);
	border: 1px solid var(--border-subtle);
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.82em;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.25s ease;
}

.theme-switch-btn:hover {
	border-color: var(--accent-border);
	transform: translateY(-1px);
}

/* ==========================================================
   4. BOUTONS GÉNÉRAUX
   ========================================================== */
.btn-bobitec {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: bold;
	font-size: 0.95em;
	text-decoration: none !important;
	transition: all 0.25s ease;
	cursor: pointer;
}

.btn-bobitec-primary {
	background-color: var(--accent-border);
	color: #1e293b;
	border: 2px solid var(--accent-border);
}

.btn-bobitec-primary:hover {
	background-color: transparent;
	color: var(--accent-text);
	transform: translateY(-2px);
}

.btn-bobitec-secondary {
	background-color: transparent;
	color: var(--text-main);
	border: 2px solid var(--border-subtle);
}

.btn-bobitec-secondary:hover {
	border-color: var(--accent-border);
	color: var(--accent-text);
	transform: translateY(-2px);
}

/* ==========================================================
   5. PAGE D'ACCUEIL (Hero, Avantages, Double Expertise, CTA)
   ========================================================== */
.hero-card {
	background: var(--bg-card);
	border-radius: 10px;
	border-left: 6px solid var(--accent-border);
	box-shadow: var(--shadow-card);
	padding: 38px 34px;
	margin-bottom: 35px;
}

.hero-badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 5px;
	font-size: 0.78em;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: var(--accent-text);
	border: 1px solid var(--accent-border);
	background: rgba(204, 255, 0, 0.08);
	margin-bottom: 16px;
}

.hero-card h1 {
	color: var(--title-color);
	font-size: 1.9em;
	line-height: 1.25;
	margin: 0 0 15px 0;
}

.hero-lead {
	color: var(--text-muted);
	font-size: 1.05em;
	max-width: 720px;
	margin: 0 0 26px 0;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Grille des 6 avantages */
.advantages-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.advantage-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-bottom: 3px solid var(--accent-border);
	border-radius: 8px;
	padding: 20px;
	box-shadow: var(--shadow-card);
	transition: transform 0.25s ease, background-color 0.25s ease;
}

.advantage-card:hover {
	transform: translateY(-3px);
	background: var(--bg-card-hover);
}

.adv-icon {
	font-size: 1.6em;
	margin-bottom: 8px;
	line-height: 1;
}

.advantage-card h3 {
	color: var(--accent-text);
	font-size: 1.05em;
	margin: 0 0 8px 0;
}

.advantage-card p {
	color: var(--text-muted);
	font-size: 0.9em;
	margin: 0;
	line-height: 1.5;
}

/* Grille Double Expertise */
.expertise-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.expertise-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 10px;
	padding: 26px;
	box-shadow: var(--shadow-card);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.expertise-tag {
	display: inline-block;
	font-size: 0.75em;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: var(--accent-text);
	margin-bottom: 6px;
}

.expertise-card h3 {
	color: var(--title-color);
	font-size: 1.3em;
	margin: 0 0 16px 0;
}

.expertise-link {
	display: inline-block;
	margin-top: 14px;
	font-weight: bold;
	font-size: 0.95em;
}

/* Bandeau CTA final */
.cta-banner {
	margin-top: 45px;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-left: 6px solid var(--accent-border);
	border-radius: 10px;
	padding: 26px 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	box-shadow: var(--shadow-card);
}

.cta-banner h3 {
	margin: 0 0 6px 0;
	color: var(--title-color);
	font-size: 1.2em;
}

.cta-banner p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.92em;
}

.cta-banner-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* ==========================================================
   6. LISTES & PIED DE PAGE COMPLET
   ========================================================== */
.clean-list {
	list-style-type: '▪ ';
	padding-left: 5px;
}

.clean-list li {
position: relative;
padding-left: 16px;
margin-bottom: 14px;
border-left: 2px solid var(--accent-border);
font-size: 0.94em;
}
.clean-list li strong {
display: block;
margin-bottom: 2px;
color: var(--title-color);
}
.clean-list li::marker {
color: var(--accent-text);
}
.site-footer {
margin-top: 65px;
background: var(--bg-card);
border-top: 4px solid var(--accent-border);
border-radius: 10px;
padding: 32px 28px 20px 28px;
box-shadow: var(--shadow-card);
font-size: 0.9em;
color: var(--text-muted);
}
.footer-grid {
display: grid;
grid-template-columns: 1.4fr 1fr 1.1fr;
gap: 28px;
padding-bottom: 24px;
border-bottom: 1px solid var(--border-subtle);
}
.footer-brand {
font-size: 1.08em;
font-weight: bold;
color: var(--accent-text);
margin: 0 0 10px 0;
}
.footer-desc {
margin: 0 0 12px 0;
line-height: 1.5;
}
.footer-legal {
margin: 0;
font-size: 0.88em;
}
.footer-heading {
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.8px;
font-size: 0.85em;
color: var(--title-color);
margin: 0 0 12px 0;
}
.footer-links,
.footer-contact {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li,
.footer-contact li {
margin-bottom: 8px;
}
.footer-badge-urgence {
margin-top: 14px;
padding: 8px 12px;
background: rgba(204, 255, 0, 0.1);
border: 1px solid var(--accent-border);
border-radius: 6px;
font-size: 0.82em;
font-weight: bold;
color: var(--accent-text);
}
.footer-bottom {
text-align: center;
padding-top: 16px;
font-size: 0.84em;
}
/* ==========================================================
7. STYLES SPÉCIFIQUES AUX CGV (conditions.php)
========================================================== */
.clause-notice {
background-color: var(--text-main);
color: var(--bg-page);
border-left: 5px solid var(--accent-border);
padding: 14px 18px;
margin-bottom: 18px;
border-radius: 0 8px 8px 0;
font-size: 0.92em;
box-shadow: var(--shadow-card);
transition: background-color 0.3s ease, color 0.3s ease;
}
.clause-notice .clause-archive-wrapper {
position: relative;
display: inline-block;
cursor: help;
font-weight: bold;
color: #5a7800;
border-bottom: 1px dashed #5a7800;
}
[data-theme="light"] .clause-notice .clause-archive-wrapper {
color: #ccff00;
border-bottom: 1px dashed #ccff00;
}
.clause-archive-tooltip {
visibility: hidden;
opacity: 0;
width: 340px;
max-width: 85vw;
background-color: var(--bg-card);
color: var(--text-main);
border: 1px solid var(--accent-border);
text-align: left;
border-radius: 6px;
padding: 12px 15px;
position: absolute;
z-index: 100;
bottom: 135%;
left: 50%;
transform: translateX(-50%);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
font-size: 0.9em;
font-weight: normal;
line-height: 1.45;
transition: opacity 0.25s ease, visibility 0.25s ease;
pointer-events: none;
}
.clause-archive-tooltip::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -6px;
border-width: 6px;
border-style: solid;
border-color: var(--accent-border) transparent transparent transparent;
}
.clause-archive-wrapper:hover .clause-archive-tooltip,
.clause-archive-wrapper:focus .clause-archive-tooltip {
visibility: visible;
opacity: 1;
}
.page-hero {
background-color: var(--bg-card);
border: 1px solid var(--border-subtle);
border-left: 6px solid var(--accent-border);
border-radius: 8px;
padding: 24px 28px;
margin-bottom: 35px;
box-shadow: var(--shadow-card);
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.page-hero-top {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 15px;
padding-bottom: 18px;
margin-bottom: 16px;
border-bottom: 1px solid var(--border-subtle);
}
.page-hero h1 {
margin: 0;
font-size: 1.65em;
text-transform: uppercase;
letter-spacing: 1px;
color: var(--title-color);
}
.cgv-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
font-size: 0.9em;
color: var(--text-muted);
}
.cgv-meta strong {
color: var(--accent-text);
}
.cgv-separator {
color: var(--accent-text);
font-weight: bold;
}
.btn-print {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
background-color: var(--bg-page);
color: var(--accent-text);
border: 1px solid var(--accent-border);
border-radius: 6px;
padding: 9px 16px;
font-family: inherit;
font-size: 0.88em;
font-weight: bold;
cursor: pointer;
transition: all 0.25s ease;
}
.btn-print:hover {
background-color: var(--accent-border);
color: #1e293b;
transform: translateY(-2px);
}
/* ==========================================================
8. RESPONSIVE MOBILE & TABLETTE
========================================================== */
@media (max-width: 820px) {
.advantages-grid {
grid-template-columns: repeat(2, 1fr);
}
.footer-grid {
grid-template-columns: 1fr;
gap: 22px;
}
}
@media (max-width: 640px) {
.header-inner {
flex-direction: column;
align-items: stretch;
}
.header-actions {
justify-content: flex-end;
margin-top: -45px;
}
.main-nav {
justify-content: space-between;
padding-top: 10px;
border-top: 1px solid var(--border-subtle);
}
.nav-link {
font-size: 0.85em;
padding: 7px 10px;
}
.hero-card {
padding: 26px 20px;
}
.hero-card h1 {
font-size: 1.45em;
}
.advantages-grid,
.expertise-grid {
grid-template-columns: 1fr;
}
.page-hero {
padding: 20px;
}
.page-hero-top {
flex-direction: column;
align-items: stretch;
}
.page-hero h1 {
font-size: 1.35em;
}
.cgv-meta {
flex-direction: column;
align-items: flex-start;
gap: 4px;
}
.cgv-separator {
display: none;
}
.btn-print {
width: 100%;
padding: 12px;
}
}
/* ==========================================================
9. IMPRESSION / EXPORT PDF
========================================================== */
@media print {
body {
background-color: #ffffff !important;
color: #000000 !important;
max-width: 100%;
padding: 0;
}
.site-header,
.site-footer,
.btn-print {
display: none !important;
}
.cgv-meta {
background-color: #f8fafc !important;
color: #000000 !important;
box-shadow: none !important;
border: 1px solid #cbd5e1 !important;
border-left: 4px solid #1e293b !important;
}
h2,
.cgv-meta strong,
a {
color: #000000 !important;
}
}
/* ==========================================================
   10. ENCART AVERTISSEMENT (Carte Expertise Tech)
   ========================================================== */
.expertise-warning {
	margin-top: 16px;
	padding: 12px 14px;
	background-color: rgba(245, 158, 11, 0.1);
	border-left: 4px solid #f59e0b;
	border-radius: 0 6px 6px 0;
	font-size: 0.85em;
	line-height: 1.45;
	color: var(--text-muted);
}

.expertise-warning strong {
	color: #fbbf24;
}

[data-theme="light"] .expertise-warning strong {
	color: #b45309;
}
/* Encart symétrique côté Toiture */
.expertise-info-pro {
	margin-top: 16px;
	padding: 12px 14px;
	background-color: rgba(204, 255, 0, 0.08);
	border-left: 4px solid var(--accent-border);
	border-radius: 0 6px 6px 0;
	font-size: 0.85em;
	line-height: 1.45;
	color: var(--text-muted);
}

.expertise-info-pro strong {
	color: var(--accent-text);
}

/* Sur tablette/mobile : passage propre sur 2 lignes sans chevauchement */
@media (max-width: 900px) {
	.header-inner {
		flex-direction: column;
		align-items: stretch;
	}
	.main-nav {
		justify-content: flex-start;
		padding-top: 10px;
		border-top: 1px solid var(--border-subtle);
	}
}
/* ==========================================================
   11. PLACEHOLDER "PAGE EN CRÉATION"
   ========================================================== */
.wip-container {
	padding: 20px 0;
}

.wip-card {
	background-color: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-left: 6px solid var(--accent-border);
	border-radius: 10px;
	padding: 45px 35px;
	text-align: center;
	box-shadow: var(--shadow-card);
}

.wip-badge {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 6px;
	font-size: 0.82em;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: var(--accent-text);
	border: 1px solid var(--accent-border);
	background: rgba(204, 255, 0, 0.1);
	margin-bottom: 18px;
}

.wip-card h1 {
	color: var(--title-color);
	font-size: 1.8em;
	margin: 0 0 14px 0;
}

.wip-desc {
	color: var(--text-muted);
	font-size: 1.02em;
	max-width: 640px;
	margin: 0 auto 30px auto;
	line-height: 1.6;
}

.wip-contact-box {
	background-color: var(--bg-page);
	border: 1px solid var(--border-subtle);
	border-radius: 8px;
	padding: 24px 20px;
	max-width: 700px;
	margin: 0 auto;
}

.wip-contact-box p {
	margin: 0 0 18px 0;
	color: var(--title-color);
	font-size: 0.96em;
}

.wip-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
/* ==========================================================
   12. ARRIÈRE-PLANS PHOTO (Hero & Cartes Double Expertise)
   ========================================================== */
.has-bg {
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Voile de lisibilité (Mode sombre par défaut) */
.has-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(30, 41, 59, 0.90) 0%,
		rgba(39, 53, 73, 0.82) 100%
	);
	z-index: 0;
	transition: background 0.3s ease, opacity 0.3s ease;
}

/* Voile de lisibilité (Mode clair) */
[data-theme="light"] .has-bg::before {
	background: linear-gradient(
		135deg,
		rgba(245, 240, 230, 0.92) 0%,
		rgba(235, 227, 213, 0.85) 100%
	);
}

/* Effet subtil au survol des cartes avec photo */
.expertise-card.has-bg:hover::before {
	opacity: 0.92;
}

/* Place tout le contenu texte au-dessus du voile */
.has-bg > * {
	position: relative;
	z-index: 1;
}

/* Images spécifiques */
.hero-bg {
	background-image: url('/assets/img/banner-hero.jpg');
	background-position: center center;
}

.card-bg-toiture {
	background-image: url('/assets/img/bg-toiture.jpg');
}

.card-bg-tech {
	background-image: url('/assets/img/bg-pc.jpg');
	background-position: center 35%;
}
/* ==========================================================
   13. PAGE CONTACT & FORMULAIRE
   ========================================================== */
.contact-hero-sub {
	margin: 6px 0 0 0;
	color: var(--accent-text);
	font-weight: 600;
	font-size: 0.95em;
}

.contact-layout {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 26px;
	align-items: start;
}

.contact-form-card,
.info-box,
.urgence-box {
	background-color: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 10px;
	padding: 26px;
	box-shadow: var(--shadow-card);
}

.contact-form-card h2 {
	margin-top: 0;
}

.bobitec-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-group label {
	font-size: 0.9em;
	font-weight: 600;
	color: var(--title-color);
}

.req {
	color: #ef4444;
	font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 11px 14px;
	border-radius: 7px;
	border: 1px solid var(--border-subtle);
	background-color: var(--bg-page);
	color: var(--text-main);
	font-family: inherit;
	font-size: 0.95em;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent-border);
	box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.15);
}

.form-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.85em;
	color: var(--text-muted);
	line-height: 1.45;
}

.form-checkbox input[type="checkbox"] {
	margin-top: 3px;
	accent-color: var(--accent-border);
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.btn-submit-full {
	width: 100%;
	text-align: center;
	font-size: 1em;
	padding: 14px;
}

/* Messages d'alerte succès / erreur */
.form-alert {
	padding: 16px 20px;
	border-radius: 8px;
	margin-bottom: 24px;
	font-weight: 600;
	font-size: 0.95em;
}

.form-alert-success {
	background-color: rgba(34, 197, 94, 0.15);
	border-left: 5px solid #22c55e;
	color: #4ade80;
}

[data-theme="light"] .form-alert-success {
	color: #15803d;
}

.form-alert-error {
	background-color: rgba(239, 68, 68, 0.15);
	border-left: 5px solid #ef4444;
	color: #f87171;
}

[data-theme="light"] .form-alert-error {
	color: #b91c1c;
}

/* Colonne latérale */
.contact-sidebar {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.urgence-box {
	border-left: 5px solid #ef4444;
}

.urgence-tag {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 5px;
	background: rgba(239, 68, 68, 0.15);
	color: #f87171;
	font-weight: bold;
	font-size: 0.8em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

[data-theme="light"] .urgence-tag {
	color: #dc2626;
}

.urgence-box h3,
.info-box h3 {
	margin: 0 0 10px 0;
	color: var(--title-color);
	font-size: 1.15em;
}

.urgence-box p {
	font-size: 0.9em;
	color: var(--text-muted);
	margin: 0 0 16px 0;
}

.contact-info-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 0.9em;
	color: var(--text-muted);
}

.contact-info-list strong {
	display: block;
	color: var(--accent-text);
	font-size: 0.92em;
}

@media (max-width: 820px) {
	.contact-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.form-row {
		grid-template-columns: 1fr;
	}
}
/* Mention "Numéro de téléphone uniquement" & tags facultatifs */
.form-quick-note {
	background-color: rgba(204, 255, 0, 0.08);
	border-left: 4px solid var(--accent-border);
	border-radius: 0 6px 6px 0;
	padding: 12px 15px;
	margin: 0 0 20px 0;
	font-size: 0.9em;
	color: var(--text-muted);
	line-height: 1.5;
}

.form-quick-note strong {
	color: var(--accent-text);
}

.opt-tag {
	font-weight: normal;
	font-size: 0.85em;
	color: var(--text-muted);
}
/* ==========================================================
   14. PAGE PRESTATIONS
   ========================================================== */
.presta-jump-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	width: 100%;
	margin-top: 6px;
}

.presta-intro {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.98em;
	line-height: 1.6;
}

.presta-intro strong {
	color: var(--title-color);
}

.presta-section {
	margin-top: 45px;
	scroll-margin-top: 25px;
}

.presta-section-header h2 {
	margin-top: 4px;
}

.presta-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.presta-card {
	background-color: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 10px;
	padding: 24px;
	box-shadow: var(--shadow-card);
	transition: transform 0.25s ease, background-color 0.25s ease;
}

.presta-card:hover {
	transform: translateY(-3px);
	background-color: var(--bg-card-hover);
}

.presta-card-top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.presta-icon {
	font-size: 1.55em;
	line-height: 1;
}

.presta-card h3 {
	margin: 0;
	color: var(--title-color);
	font-size: 1.15em;
}

.presta-card > p {
	margin: 0 0 16px 0;
	color: var(--text-muted);
	font-size: 0.92em;
	line-height: 1.5;
}

.presta-notice-box {
	margin-top: 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.presta-notice-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

@media (max-width: 760px) {
	.presta-grid {
		grid-template-columns: 1fr;
	}
	.presta-notice-actions {
		justify-content: stretch;
	}
	.presta-notice-actions .btn-bobitec {
		width: 100%;
		text-align: center;
	}
}
/* Badges de catégorie sur les cartes Prestations */
.presta-tier-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 5px;
	font-size: 0.74em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--accent-text);
	background-color: rgba(204, 255, 0, 0.1);
	border: 1px solid rgba(204, 255, 0, 0.35);
	margin-bottom: 10px;
}

.presta-tier-badge.tier-major {
	background-color: var(--bg-page);
	border-color: var(--accent-border);
}

/* Barre d'action intégrée harmonieuse sous chaque pôle */
.presta-action-bar {
	margin-top: 22px;
	background-color: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 10px;
	padding: 18px 22px;
	box-shadow: var(--shadow-card);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.presta-action-bar.bar-accent-green {
	border-left: 5px solid var(--accent-border);
}

.presta-action-bar.bar-accent-amber {
	border-left: 5px solid #f59e0b;
}

.bar-info {
	flex: 1 1 420px;
	font-size: 0.88em;
	line-height: 1.5;
	color: var(--text-muted);
}

.bar-accent-green .bar-info strong {
	color: var(--accent-text);
}

.bar-accent-amber .bar-info strong {
	color: #fbbf24;
}

[data-theme="light"] .bar-accent-amber .bar-info strong {
	color: #b45309;
}

.bar-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

@media (max-width: 640px) {
	.bar-buttons {
		width: 100%;
	}
	.bar-buttons .btn-bobitec {
		flex: 1;
		text-align: center;
	}
}
/* ==========================================================
   15. ARRIÈRE-PLANS PHOTO DES CARTES PRESTATIONS
   ========================================================== */
.presta-card.has-bg::before {
	background: linear-gradient(
		135deg,
		rgba(30, 41, 59, 0.92) 0%,
		rgba(39, 53, 73, 0.85) 100%
	);
}

[data-theme="light"] .presta-card.has-bg::before {
	background: linear-gradient(
		135deg,
		rgba(245, 240, 230, 0.94) 0%,
		rgba(235, 227, 213, 0.87) 100%
	);
}

.presta-card.has-bg:hover::before {
	opacity: 0.94;
}

/* Images Pôle Toiture */
.bg-presta-urgence { background-image: url('/assets/img/presta-urgence.jpg'); }
.bg-presta-zinguerie { background-image: url('/assets/img/presta-zinguerie.jpg'); }
.bg-presta-toiture { background-image: url('/assets/img/presta-toiture-complete.jpg'); }
.bg-presta-bardage { background-image: url('/assets/img/presta-bardage.jpg'); }

/* Images Pôle Tech & Domotique */
.bg-presta-pc { background-image: url('/assets/img/presta-pc-montage.jpg'); }
.bg-presta-depannage { background-image: url('/assets/img/presta-pc-depannage.jpg'); }
.bg-presta-domotique { background-image: url('/assets/img/presta-domotique.jpg'); }
.bg-presta-reseau { background-image: url('/assets/img/presta-reseau.jpg'); }
/* ==========================================================
   16. PAGE RÉALISATIONS (Filtres, Grille & Lightbox)
   ========================================================== */
.rea-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 30px;
}

.filter-btn {
	background-color: var(--bg-card);
	color: var(--text-main);
	border: 1px solid var(--border-subtle);
	border-radius: 8px;
	padding: 9px 16px;
	font-family: inherit;
	font-size: 0.9em;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.filter-btn:hover {
	border-color: var(--accent-border);
	color: var(--accent-text);
}

.filter-btn.active {
	background-color: var(--accent-border);
	color: #1e293b;
	border-color: var(--accent-border);
	font-weight: 700;
}

.rea-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.rea-card {
	background-color: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow-card);
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rea-card:hover {
	transform: translateY(-4px);
}

.rea-img-wrapper {
	position: relative;
	width: 100%;
	height: 250px;
	background-color: #0f172a;
	overflow: hidden;
	cursor: zoom-in;
}

.rea-img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.rea-card:hover .rea-img-wrapper img {
	transform: scale(1.04);
}

.rea-badge-type {
	position: absolute;
	top: 12px;
	left: 12px;
	background-color: rgba(30, 41, 59, 0.92);
	color: #ccff00;
	border: 1px solid #ccff00;
	padding: 4px 10px;
	border-radius: 5px;
	font-size: 0.75em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.rea-zoom-hint {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background-color: rgba(15, 23, 42, 0.85);
	color: #f5f0e6;
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 0.78em;
	font-weight: 600;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.rea-img-wrapper:hover .rea-zoom-hint {
	opacity: 1;
}

.rea-body {
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.rea-meta {
	font-size: 0.8em;
	font-weight: 600;
	color: var(--accent-text);
	margin-bottom: 6px;
}

.rea-body h3 {
	margin: 0 0 10px 0;
	font-size: 1.15em;
	color: var(--title-color);
}

.rea-body p {
	margin: 0;
	font-size: 0.9em;
	color: var(--text-muted);
	line-height: 1.55;
}

/* Visionneuse Plein Écran (Lightbox) */
.lightbox-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	background-color: rgba(15, 23, 42, 0.94);
	padding: 20px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.lightbox-modal.open {
	display: flex;
}

.lightbox-content {
	max-width: 92vw;
	max-height: 80vh;
	border-radius: 8px;
	border: 2px solid var(--accent-border);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
	object-fit: contain;
}

.lightbox-caption {
	margin-top: 14px;
	color: #f5f0e6;
	text-align: center;
	max-width: 720px;
	font-size: 0.95em;
}

.lightbox-close {
	position: absolute;
	top: 18px;
	right: 24px;
	background: #273549;
	color: #ccff00;
	border: 1px solid #ccff00;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 1em;
	font-weight: bold;
	cursor: pointer;
}

@media (max-width: 740px) {
	.rea-grid {
		grid-template-columns: 1fr;
	}
	.rea-zoom-hint {
		opacity: 1;
	}
}
/* ==========================================================
   17. ENCART MOSAÏQUE (MASHUP CHANTIERS)
   ========================================================== */
.rea-mashup-card {
	margin-top: 32px;
	background-color: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-left: 6px solid var(--accent-border);
	border-radius: 10px;
	padding: 24px;
	box-shadow: var(--shadow-card);
	display: grid;
	grid-template-columns: 0.95fr 1.25fr;
	gap: 26px;
	align-items: center;
}

.rea-mashup-media {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--border-subtle);
	cursor: zoom-in;
	background-color: #0f172a;
}

.rea-mashup-media img {
	display: block;
	width: 100%;
	max-height: 430px;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.rea-mashup-media:hover img {
	transform: scale(1.03);
}

.rea-mashup-media:hover .rea-zoom-hint {
	opacity: 1;
}

.rea-mashup-content h2 {
	margin-top: 6px;
	margin-bottom: 14px;
}

.rea-mashup-content > p {
	color: var(--text-muted);
	font-size: 0.94em;
	margin: 0 0 16px 0;
}

@media (max-width: 780px) {
	.rea-mashup-card {
		grid-template-columns: 1fr;
	}
	.rea-mashup-media img {
		max-height: 360px;
	}
}
/* ==========================================================
   18. BANDEAU ZONE HEADER & CARTE GOOGLE MAPS FOOTER
   ========================================================== */
.header-zone-bar {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding-bottom: 10px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--border-subtle);
	font-size: 0.8em;
	color: var(--text-muted);
	text-align: center;
}

.header-zone-bar strong {
	color: var(--accent-text);
}

.zone-sep {
	color: var(--accent-text);
	font-weight: bold;
}

.footer-grid-map {
	grid-template-columns: 1.25fr 0.95fr 1.35fr;
}

.footer-map-box {
	width: 100%;
	height: 175px;
	border-radius: 8px;
	overflow: hidden;
	border: 2px solid var(--accent-border);
	margin-bottom: 10px;
	background-color: #182232;
}

.footer-map-box svg,
.footer-map-box iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.footer-zone-note {
	margin: 0;
	font-size: 0.82em;
	line-height: 1.45;
	color: var(--text-muted);
}

.footer-zone-note strong {
	color: var(--accent-text);
}

@media (max-width: 860px) {
	.footer-grid-map {
		grid-template-columns: 1fr;
	}
	.zone-sep {
		display: none;
	}
}
