/* ==========================================================================
   Thème « Bleu nuit & Ambre » — couche de correction
   Chargée après le skin : ne pas modifier le skin généré, tout ajuster ici.

   Palette    primaire   #12263f  bleu nuit   (surfaces, titres, liens)
              secondaire #ffb020  ambre       (CTA, fonds d'accent, décors SVG)
              texte acc. #9e6700  bronze      (ambre lisible sur fond clair)
              tertiaire  #f5f7fa  fond clair
              quaternaire#3a4450  gris ardoise
   ========================================================================== */

/* --- 1. Texte d'accent : l'ambre pur est illisible sur fond clair (1.83:1).
       On bascule le TEXTE sur un bronze de la même famille (4.78:1 sur blanc),
       tout en gardant l'ambre pur pour les surfaces. ------------------------ */
html .text-secondary,
html .text-color-secondary {
	color: #9e6700 !important;
}

html .text-hover-secondary:hover,
html .text-color-hover-secondary:hover {
	color: #9e6700 !important;
}

/* --- 2. Surfaces ambre : le texte y passe en bleu nuit (8.35:1) au lieu de
       blanc (1.83:1). Concerne .plan-header et les boutons secondaires. ----- */
html .bg-secondary,
html .bg-color-secondary,
html .bg-secondary .text-color-light,
html .bg-color-secondary .text-color-light,
html .bg-secondary h1, html .bg-secondary h2, html .bg-secondary h3,
html .bg-secondary h4, html .bg-secondary p, html .bg-secondary a {
	color: #12263f !important;
}

html .btn-secondary,
html .btn-secondary:hover,
html .btn-secondary:focus,
html .btn-secondary:active {
	color: #12263f !important;
}

/* --- 3. CTA principal (.btn-gradient) : le dégradé navy→ambre plaçait du
       texte blanc sur la moitié ambre. On le passe en ambre plein + texte
       bleu nuit — le bouton ressort davantage et reste lisible. ------------- */
html .btn-gradient:not(.btn-outline) {
	background: linear-gradient(135deg, #ffb020 0%, #f59300 100%) !important;
	color: #12263f !important;
	font-weight: 700;
}

html .btn-gradient:not(.btn-outline):hover,
html .btn-gradient:not(.btn-outline).hover,
html .btn-gradient:not(.btn-outline):focus,
html .btn-gradient:not(.btn-outline).focus {
	background: linear-gradient(135deg, #ffbe45 0%, #ffa519 100%) !important;
	color: #12263f !important;
}

html .btn-gradient:not(.btn-outline):active,
html .btn-gradient:not(.btn-outline).active {
	background: linear-gradient(135deg, #f0a000 0%, #db8400 100%) !important;
	color: #12263f !important;
}

/* ==========================================================================
   4. ERGONOMIE — refonte orientée dépannage d'urgence
   Objectif : une seule action évidente partout (appeler), une lecture
   fluide du mobile au grand écran, et un registre visuel « intervention ».
   ========================================================================== */

:root {
	--cp-navy:        #12263f;
	--cp-navy-soft:   #1e477a;
	--cp-amber:       #ffb020;
	--cp-amber-dark:  #f59300;
	--cp-bronze:      #9e6700;
	--cp-muted:       #5f6b7a;
	--cp-line:        #e4e9f0;
	--cp-radius:      14px;
}

/* --- Socle ---------------------------------------------------------------- */
html { scroll-behavior: smooth; }
/* Les décors du gabarit sont posés en absolu à 144-150% de large : la page
   déborde réellement de ~317px. On coupe ce débordement — en « clip » plutôt
   qu'en « hidden », car « hidden » créerait un conteneur de défilement et
   casserait tout position:sticky à l'intérieur. */
.body { overflow-x: hidden; }
@supports (overflow-x: clip) { .body { overflow-x: clip; } }
img { max-width: 100%; height: auto; }

/* --- HERO ----------------------------------------------------------------- */
.cp-hero {
	position: relative;
	overflow: hidden;
	background: var(--cp-navy);
	padding: clamp(7rem, 13vw, 10.5rem) 0 clamp(5.5rem, 10vw, 8rem);
}

.cp-hero-bg {
	position: absolute; inset: 0; z-index: 0;
	background: url('../img/services/hydrocurage-pl.png') center right / cover no-repeat;
}

.cp-hero-bg::after {          /* voile : le texte prime sur la photo */
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(100deg,
		rgba(9,20,35,.97) 0%, rgba(12,30,52,.93) 40%,
		rgba(12,30,52,.62) 72%, rgba(12,30,52,.38) 100%);
}

.cp-hero-inner { position: relative; z-index: 2; }

.cp-urgence {
	display: inline-flex; align-items: center; gap: .6rem;
	margin: 0 0 1.4rem;
	padding: .48rem 1.05rem;
	border: 1px solid rgba(255,176,32,.45);
	border-radius: 999px;
	background: rgba(255,176,32,.13);
	color: #ffd489;
	font-size: .8rem; font-weight: 600;
	letter-spacing: .04em; text-transform: uppercase;
}

.cp-pulse {
	width: 9px; height: 9px; border-radius: 50%;
	background: var(--cp-amber);
	box-shadow: 0 0 0 0 rgba(255,176,32,.75);
	animation: cpPulse 2.2s infinite;
}
@keyframes cpPulse {
	70%  { box-shadow: 0 0 0 12px rgba(255,176,32,0); }
	100% { box-shadow: 0 0 0 0   rgba(255,176,32,0); }
}

.cp-hero-title {
	margin: 0 0 1.1rem;
	max-width: 19ch;
	color: #fff; font-weight: 800;
	font-size: clamp(2.05rem, 5.6vw, 3.85rem);
	line-height: 1.08; letter-spacing: -.02em;
}
.cp-hero-title-accent { display: block; color: var(--cp-amber); }

.cp-hero-lead {
	margin: 0 0 2rem; max-width: 54ch;
	color: #c9d6e6;
	font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.66;
}
.cp-hero-lead strong { color: #fff; font-weight: 700; }

.cp-hero-actions {
	display: flex; flex-wrap: wrap; gap: .9rem;
	margin: 0 0 2.2rem;
}

.cp-btn-call {
	display: inline-flex; align-items: center; gap: .9rem;
	min-height: 66px; padding: .8rem 1.7rem .8rem 1.1rem;
	border-radius: var(--cp-radius);
	background: linear-gradient(135deg, var(--cp-amber) 0%, var(--cp-amber-dark) 100%);
	color: var(--cp-navy) !important; text-decoration: none !important;
	box-shadow: 0 12px 28px rgba(255,176,32,.30);
	transition: transform .18s ease, box-shadow .18s ease;
}
.cp-btn-call:hover, .cp-btn-call:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 18px 36px rgba(255,176,32,.42);
}
.cp-btn-call-ico {
	flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center;
	background: rgba(18,38,63,.13);
}
.cp-btn-call-txt { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.cp-btn-call-txt small {
	font-size: .7rem; font-weight: 700; letter-spacing: .04em;
	text-transform: uppercase; opacity: .72;
}
.cp-btn-call-txt strong { font-size: 1.38rem; font-weight: 800; }

.cp-btn-ghost {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 66px; padding: .8rem 1.7rem;
	border: 2px solid rgba(255,255,255,.34); border-radius: var(--cp-radius);
	color: #fff !important; font-weight: 700; text-decoration: none !important;
	transition: background .18s ease, border-color .18s ease;
}
.cp-btn-ghost:hover, .cp-btn-ghost:focus-visible {
	background: rgba(255,255,255,.1); border-color: #fff;
}

.cp-hero-badges {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: .55rem 1.7rem;
}
.cp-hero-badges li {
	position: relative; padding-left: 1.65rem;
	color: #b4c3d6; font-size: .94rem; font-weight: 600;
}
.cp-hero-badges li::before {
	content: ''; position: absolute; left: 0; top: .3em;
	width: 1rem; height: .52rem;
	border-left: 2px solid var(--cp-amber);
	border-bottom: 2px solid var(--cp-amber);
	transform: rotate(-45deg);
}

.cp-hero-wave {
	position: absolute; left: 0; right: 0; bottom: -1px;
	z-index: 3; line-height: 0; pointer-events: none;
}
.cp-hero-wave svg { display: block; width: 100%; height: clamp(38px, 5.5vw, 88px); }

/* --- Bandeau de réassurance ---------------------------------------------- */
.cp-trust {
	background: #fff;
	padding: clamp(1.7rem, 3.2vw, 2.6rem) 0;
	border-bottom: 1px solid var(--cp-line);
}
.cp-trust-list {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 1.15rem 1.7rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.cp-trust-list li { display: flex; align-items: center; gap: .9rem; }
.cp-trust-ico {
	flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
	display: grid; place-items: center;
	background: rgba(255,176,32,.15); color: var(--cp-bronze);
}
.cp-trust-txt {
	display: flex; flex-direction: column;
	color: var(--cp-muted); font-size: .85rem; line-height: 1.35;
}
.cp-trust-txt strong { color: var(--cp-navy); font-size: 1rem; font-weight: 700; }

/* --- Barre d'appel fixe (mobile) ----------------------------------------- */
.cp-callbar {
	display: none;
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
	padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom, 0px));
	background: rgba(14,29,48,.97);
	box-shadow: 0 -6px 22px rgba(0,0,0,.20);
	/* Masquee tant que le visiteur n'a pas commence a faire defiler la page */
	transform: translateY(110%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
}
.cp-callbar.is-visible {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.cp-callbar-btn {
	display: flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 56px; border-radius: 12px;
	background: linear-gradient(135deg, var(--cp-amber) 0%, var(--cp-amber-dark) 100%);
	color: var(--cp-navy) !important; text-decoration: none !important;
	font-size: 1.02rem; font-weight: 700;
}
.cp-callbar-btn b { font-weight: 800; }

@media (max-width: 991.98px) {
	.cp-callbar { display: block; }
	body { padding-bottom: 80px; }
}

/* --- Adaptations mobile du hero ------------------------------------------ */
@media (max-width: 767.98px) {
	.cp-hero-bg::after {
		background: linear-gradient(180deg,
			rgba(9,20,35,.94) 0%, rgba(11,26,45,.90) 55%, rgba(11,26,45,.93) 100%);
	}
	.cp-hero-title { max-width: none; }
	.cp-hero-actions { flex-direction: column; align-items: stretch; }
	.cp-btn-call { justify-content: center; }
	.cp-hero-badges { gap: .5rem 1.2rem; }
	.cp-hero-badges li { font-size: .87rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.cp-pulse { animation: none; }
	.cp-btn-call { transition: none; }
	.cp-callbar { transition: none; }
}

/* ==========================================================================
   5. COMPOSANTS & CIBLES TACTILES
   Toute action doit faire au moins 44px de haut (recommandation WCAG 2.5.5).
   ========================================================================== */

/* --- CTA des cartes de service : était un lien texte de 26px -------------- */
.cp-card-call {
	display: flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 52px; margin-top: .35rem; padding: .6rem 1rem;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--cp-amber) 0%, var(--cp-amber-dark) 100%);
	color: var(--cp-navy) !important;
	font-size: 1.01rem; font-weight: 800; letter-spacing: .01em;
	text-decoration: none !important;
	transition: transform .16s ease, box-shadow .16s ease;
}
.cp-card-call:hover, .cp-card-call:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(255,176,32,.36);
}

/* --- Numéro de téléphone de l'en-tête ------------------------------------ */
.cp-header-call {
	display: inline-flex; align-items: center; gap: .45rem;
	min-height: 44px; padding: .4rem 1.05rem;
	border: 1px solid rgba(255,176,32,.55); border-radius: 999px;
	background: rgba(255,176,32,.15);
	color: var(--cp-bronze) !important;
	font-size: 1rem; font-weight: 800; white-space: nowrap;
	text-decoration: none !important;
	transition: background .16s ease, color .16s ease;
}
.cp-header-call::before {
	content: ''; flex: 0 0 16px; width: 16px; height: 16px;
	background: currentColor;
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.3 0 .7-.2 1l-2.3 2.1z"/></svg>') center / contain no-repeat;
	        mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.3 0 .7-.2 1l-2.3 2.1z"/></svg>') center / contain no-repeat;
}
.cp-header-call:hover, .cp-header-call:focus-visible {
	background: var(--cp-amber); color: var(--cp-navy) !important;
}

/* --- Bouton burger ------------------------------------------------------- */
.header-btn-collapse-nav {
	min-width: 46px; min-height: 46px;
	display: inline-flex; align-items: center; justify-content: center;
	margin-left: .55rem; border-radius: 10px;
	background: var(--cp-navy) !important; color: #fff !important;
}

/* --- Pastilles des carrousels : zone de contact élargie ------------------ */
.owl-carousel .owl-dots .owl-dot {
	min-width: 44px; min-height: 44px;
	display: inline-flex !important; align-items: center; justify-content: center;
}

/* --- Cartes de service --------------------------------------------------- */
.custom-card-style-1 {
	border: 1px solid var(--cp-line); border-radius: 16px; overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.custom-card-style-1:hover { transform: translateY(-4px); }
.custom-card-style-1 img { border-radius: 10px; width: 100%; object-fit: cover; }

/* ==========================================================================
   6. RYTHME VERTICAL
   Les séparateurs décoratifs sont figés à 260-385px dans le balisage : sur un
   écran de 390px cela produit un écran entier de vide. On les proportionne.
   ========================================================================== */

@media (max-width: 767.98px) {
	.shape-divider { max-height: 110px !important; }
	.shape-divider svg { height: 100% !important; }

	section.section, .section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
	.mt-5 { margin-top: 1.75rem !important; }
	.mb-5 { margin-bottom: 1.75rem !important; }
	.pt-5 { padding-top: 1.75rem !important; }
	.pb-5 { padding-bottom: 1.75rem !important; }

	/* Titres de section : échelle fluide plutôt que les tailles figées du thème */
	.text-12 { font-size: 2rem !important;   line-height: 1.15 !important; }
	.text-11 { font-size: 1.85rem !important; line-height: 1.18 !important; }
	.text-10 { font-size: 1.7rem !important;  line-height: 1.2 !important; }
	.text-9  { font-size: 1.55rem !important; line-height: 1.22 !important; }
	.text-8  { font-size: 1.4rem !important;  line-height: 1.25 !important; }
	.text-6  { font-size: 1.22rem !important; line-height: 1.3 !important; }

	/* Moyens de paiement : 2+1 bancal -> une colonne homogène */
	.custom-pricing-table-style-1 > [class*="col-"] {
		flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important;
	}
	.custom-pricing-table-style-1 .plan img { max-height: 190px; width: auto; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
	.shape-divider { max-height: 190px !important; }
	.shape-divider svg { height: 100% !important; }
}

/* --- Téléphone du pied de page ------------------------------------------- */
/* Était à opacity:.5 avec un survol en bleu nuit, donc illisible puis
   invisible sur le fond sombre du pied de page. */
.cp-footer-call {
	display: inline-flex; align-items: center;
	min-height: 44px; padding: .3rem 0;
	color: #fff !important; font-size: 1.12rem; font-weight: 700;
	text-decoration: none !important;
	border-bottom: 2px solid rgba(255,176,32,.55);
	transition: color .16s ease, border-color .16s ease;
}
.cp-footer-call:hover, .cp-footer-call:focus-visible {
	color: var(--cp-amber) !important; border-color: var(--cp-amber);
}

/* ==========================================================================
   7. CORRECTIFS DE LISIBILITÉ ET DE DÉTAIL
   ========================================================================== */

/* Étoiles des avis : l'or est la convention pour une notation.
   Le remappage du thème les avait passées en bleu nuit. */
.rating-color { color: var(--cp-amber) !important; }

/* La barre d'appel fixe réservait sa place via body{padding-bottom}, ce qui
   ajoutait une bande blanche sous le pied de page sombre. On réserve la place
   dans le pied de page lui-même, qui garde son fond. */
@media (max-width: 991.98px) {
	body { padding-bottom: 0; }
	#footer .footer-copyright {
		padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
	}
}

/* Éléments masqués sur très petits écrans pour éviter les retours à la ligne */
@media (max-width: 575.98px) {
	.cp-hide-xs { display: none; }
	.cp-urgence { font-size: .74rem; letter-spacing: .03em; }
	.cp-btn-call-txt strong { font-size: 1.3rem; }
}

/* --- En-tête collant sur grand écran ------------------------------------- */
/* Le plugin du thème ne l'activait jamais : le numéro disparaissait dès le
   premier défilement. Sur mobile, la barre d'appel fixe joue déjà ce rôle. */
@media (min-width: 992px) {
	/* Même spécificité que html #header.header-transparent{position:absolute} */
	html #header.header-transparent { position: sticky; top: 0; z-index: 1030; }
	#header .header-body { box-shadow: 0 2px 16px rgba(18,38,63,.10); }
	/* L'en-tête repasse dans le flux : le hero n'a plus à réserver sa hauteur. */
	.cp-hero { padding-top: clamp(4rem, 7vw, 6rem); }
}

/* NB : ne pas plafonner .shape-divider au-dessus de 992px — le séparateur
   masque des formes décoratives placées derrière lui ; le rogner les
   fait réapparaître. Les vides restants viennent des marges du gabarit. */

/* ==========================================================================
   8. REFONTE DES SECTIONS
   Composants partagés : titraille, bouton ambre, listes à icônes, cartes.
   ========================================================================== */

/* --- Titraille commune --------------------------------------------------- */
.cp-eyebrow {
	margin: 0 0 .55rem;
	color: var(--cp-bronze);
	font-size: .8rem; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase;
}
.cp-h2 {
	margin: 0 0 1rem;
	color: var(--cp-navy); font-weight: 800;
	font-size: clamp(1.6rem, 3.2vw, 2.5rem);
	line-height: 1.15; letter-spacing: -.015em;
}
.cp-lead {
	margin: 0 0 1.6rem;
	color: var(--cp-muted);
	font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.65;
}
.cp-section-head { max-width: 46rem; margin: 0 auto 2.6rem; text-align: center; }
.cp-section-head .cp-lead { margin-bottom: 0; }

/* --- Bouton ambre partagé ------------------------------------------------ */
.cp-btn-amber {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	min-height: 54px; padding: .7rem 1.7rem;
	border: 0; border-radius: 12px;
	background: linear-gradient(135deg, var(--cp-amber) 0%, var(--cp-amber-dark) 100%);
	color: var(--cp-navy) !important;
	font-size: 1.05rem; font-weight: 800;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(255,176,32,.28);
	transition: transform .16s ease, box-shadow .16s ease;
}
.cp-btn-amber:hover, .cp-btn-amber:focus-visible {
	transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255,176,32,.38);
	color: var(--cp-navy) !important;
}

/* --- Liste de bénéfices à icônes ---------------------------------------- */
.cp-feature-list { list-style: none; margin: 0 0 1.9rem; padding: 0; display: grid; gap: 1.05rem; }
.cp-feature-list li { display: flex; align-items: flex-start; gap: .9rem; }
.cp-feature-ico {
	flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px;
	display: grid; place-items: center;
	background: rgba(255,176,32,.16); color: var(--cp-bronze);
}
.cp-feature-txt { display: flex; flex-direction: column; gap: .15rem;
	color: var(--cp-muted); font-size: .94rem; line-height: 1.5; }
.cp-feature-txt strong { color: var(--cp-navy); font-size: 1.03rem; font-weight: 700; }

/* --- Pourquoi nous choisir ----------------------------------------------- */
.cp-why { padding: clamp(3rem, 6vw, 5.5rem) 0; background: #fff; }
.cp-why-grid {
	display: grid; gap: clamp(2rem, 4vw, 3.5rem);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
}
.cp-why-media { position: relative; }
/* Le visuel est détouré en forme organique (coins transparents) : pas de
   cadre ni de border-radius, sinon on voit un rectangle blanc autour.
   drop-shadow suit le canal alpha, contrairement à box-shadow. */
.cp-why-media img {
	width: 100%; display: block;
	filter: drop-shadow(0 18px 34px rgba(18,38,63,.22));
}
.cp-why-tag {
	position: absolute; left: 0; bottom: .5rem;
	margin: 0; padding: .85rem 1.25rem;
	border-radius: 14px; background: var(--cp-navy);
	box-shadow: 0 14px 30px rgba(18,38,63,.28);
	display: flex; flex-direction: column; max-width: 15rem;
}
.cp-why-tag strong { color: var(--cp-amber); font-size: 1.32rem; font-weight: 800; line-height: 1.1; }
.cp-why-tag span { color: #c3d0e0; font-size: .82rem; line-height: 1.35; }

@media (max-width: 991.98px) {
	.cp-why-grid { grid-template-columns: 1fr; gap: 2.2rem; }
	.cp-why-tag { left: .25rem; bottom: 0; padding: .7rem 1rem; }
	.cp-why-tag strong { font-size: 1.15rem; }
	/* Colonne unique : le bouton d'appel est centre sous la liste de benefices */
	.cp-why-body .cp-btn-amber {
		display: flex; width: fit-content;
		margin-left: auto; margin-right: auto;
	}
}

/* --- Nos services : grille au lieu d'un carrousel ------------------------ */
/* Le carrousel n'affichait qu'un service à la fois sur mobile et masquait
   les deux autres derrière un geste de balayage. */
.cp-services { padding: clamp(3rem, 6vw, 5.5rem) 0; background: var(--cp-tertiary, #f5f7fa); }

.cp-service-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: clamp(1.1rem, 2vw, 1.8rem);
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.cp-service {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--cp-line); border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(18,38,63,.06);
	transition: transform .2s ease, box-shadow .2s ease;
}
.cp-service:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(18,38,63,.13); }

.cp-service-media { aspect-ratio: 3 / 2; overflow: hidden; background: #e9eef4; }
.cp-service-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cp-service-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.3rem 1.4rem; }
.cp-service-title {
	margin: 0 0 .5rem; color: var(--cp-navy);
	font-size: 1.22rem; font-weight: 800; line-height: 1.25;
	/* le thème force les h3 en capitales : on garde la casse saisie */
	text-transform: none; letter-spacing: -.01em;
}
.cp-service-desc {
	margin: 0 0 1.2rem; flex: 1;
	color: var(--cp-muted); font-size: .95rem; line-height: 1.55;
}
.cp-service .cp-card-call { margin-top: auto; }

/* --- Autres interventions : repères rapides ------------------------------ */
.cp-also { margin-top: clamp(2rem, 3.5vw, 3rem); text-align: center; }
.cp-also-title { margin: 0 0 .9rem; color: var(--cp-navy); font-weight: 700; font-size: 1.02rem; }
.cp-chips {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem;
}
.cp-chips li {
	padding: .45rem .95rem; border-radius: 999px;
	border: 1px solid var(--cp-line); background: #fff;
	color: var(--cp-navy); font-size: .88rem; font-weight: 600;
}

/* --- Agréments assurances : grille statique ------------------------------ */
/* Les logos d'assureurs sont des signaux de confiance : les enfermer dans un
   carrousel en masquait les deux tiers à tout instant. */
.cp-insurers { padding: clamp(3rem, 6vw, 5.5rem) 0; background: var(--cp-navy); }
.cp-head-light .cp-eyebrow { color: var(--cp-amber); }
.cp-head-light .cp-h2 { color: #fff; }
.cp-head-light .cp-lead { color: #c3d0e0; }

.cp-insurer-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: clamp(.7rem, 1.4vw, 1.1rem);
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.cp-insurer-grid li {
	background: #fff; border-radius: 14px; padding: .9rem;
	display: grid; place-items: center; aspect-ratio: 1 / 1;
}
.cp-insurer-grid img { width: 100%; height: 100%; object-fit: contain; }

.cp-insurers-foot {
	margin-top: clamp(1.8rem, 3vw, 2.6rem);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
	gap: 1.2rem 2rem;
}
.cp-insurers-note {
	display: flex; align-items: center; gap: .9rem; margin: 0;
	max-width: 34rem; color: #c3d0e0; font-size: .95rem; line-height: 1.55;
}
.cp-insurers-note .cp-feature-ico { background: rgba(255,176,32,.18); color: var(--cp-amber); }

/* --- Moyens de paiement : bande compacte --------------------------------- */
/* Occupait auparavant près d'un écran entier pour trois illustrations. */
.cp-pay { padding: clamp(2.6rem, 5vw, 4.2rem) 0; background: #fff; }
.cp-pay-grid {
	display: grid; gap: clamp(1.6rem, 3vw, 3rem);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: center;
}
.cp-pay-intro .cp-lead { margin-bottom: 0; }

.cp-pay-list {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cp-pay-list li {
	display: flex; flex-direction: column; align-items: center; gap: .7rem;
	padding: 1.2rem .7rem;
	border: 1px solid var(--cp-line); border-radius: 16px; background: #fff;
	box-shadow: 0 6px 18px rgba(18,38,63,.06);
}
.cp-pay-list img { width: auto; max-height: 96px; }
.cp-pay-list span {
	color: var(--cp-navy); font-size: .92rem; font-weight: 700; text-align: center;
}

@media (max-width: 991.98px) {
	.cp-pay-grid { grid-template-columns: 1fr; }
}
@media (max-width: 479.98px) {
	.cp-pay-list { grid-template-columns: 1fr 1fr; }
	.cp-pay-list li:last-child { grid-column: 1 / -1; }
	.cp-pay-list img { max-height: 80px; }
}

/* --- Témoignages : grille au lieu d'un carrousel ------------------------- */
.cp-reviews { padding: clamp(3rem, 6vw, 5.5rem) 0; background: var(--cp-tertiary, #f5f7fa); }
.cp-reviews-badge { max-width: 210px; margin: .3rem auto 0; display: block; }

.cp-review-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: clamp(1rem, 2vw, 1.6rem);
	grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.cp-review {
	display: flex; flex-direction: column; align-items: center; gap: .35rem;
	padding: 1.8rem 1.4rem 1.5rem;
	background: #fff; border: 1px solid var(--cp-line); border-radius: 18px;
	box-shadow: 0 6px 18px rgba(18,38,63,.06);
	text-align: center;
}
.cp-review-avatar { width: 74px; height: 74px; border-radius: 50%; margin-bottom: .6rem; }
.cp-review-name {
	margin: 0; color: var(--cp-navy); font-size: 1.08rem; font-weight: 800; line-height: 1.25;
}
.cp-review-place { margin: 0; color: var(--cp-muted); font-size: .9rem; }
.cp-review-stars { margin: .45rem 0 .1rem; font-size: 1.05rem; letter-spacing: .12em; }
.cp-review-stars .fa-star:not(.rating-color) { color: #d7dee7; }
.cp-review-date { margin: 0; color: #93a0b0; font-size: .84rem; }

/* ==========================================================================
   9. PIED DE PAGE
   Auparavant : deux blocs centrés, icônes invisibles sur fond sombre, lien
   téléphone à 50% d'opacité. Désormais : trois colonnes hiérarchisées avec
   l'appel comme action dominante.
   ========================================================================== */
.cp-footer-main { padding: clamp(2.8rem, 5.5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }

.cp-footer-grid {
	display: grid; gap: clamp(2rem, 4vw, 3.2rem);
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
}

.cp-footer-cta .cp-eyebrow { color: var(--cp-amber); }
.cp-footer-cta .cp-h2 { color: #fff; }
.cp-footer-cta .cp-lead { color: #b9c7d9; margin-bottom: 1.4rem; }
.cp-footer-cta .cp-lead strong { color: #fff; }
.cp-btn-block { display: flex; width: 100%; max-width: 23rem; }
.cp-footer-hint { margin: .7rem 0 0; color: #8d9cb0; font-size: .85rem; }

.cp-footer-title {
	margin: 0 0 1.1rem; color: #fff;
	font-size: 1.05rem; font-weight: 800; text-transform: none; letter-spacing: 0;
}

.cp-footer-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.cp-footer-info li { display: flex; align-items: flex-start; gap: .8rem; }
.cp-footer-ico {
	flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px;
	display: grid; place-items: center;
	background: rgba(255,176,32,.16); color: var(--cp-amber);
}
.cp-footer-info-txt {
	display: flex; flex-direction: column; gap: .1rem;
	color: #b9c7d9; font-size: .92rem; line-height: 1.45;
}
.cp-footer-info-txt strong { color: #fff; font-size: .82rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .07em; }

.cp-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.cp-footer-links a {
	display: flex; align-items: center; min-height: 44px;
	color: #b9c7d9 !important; font-size: .95rem; text-decoration: none !important;
	transition: color .15s ease, padding-left .15s ease;
}
.cp-footer-links a::before {
	content: ''; width: 6px; height: 6px; margin-right: .65rem; border-radius: 50%;
	background: rgba(255,176,32,.55); flex: 0 0 6px;
}
.cp-footer-links a:hover, .cp-footer-links a:focus-visible {
	color: #fff !important; padding-left: .25rem;
}

@media (max-width: 991.98px) {
	.cp-footer-grid { grid-template-columns: 1fr 1fr; }
	.cp-footer-cta { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
	.cp-footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
	.cp-btn-block { max-width: none; }
}

/* Le pied de page utilisait le gris #212529 du thème, différent du bleu nuit
   employé partout ailleurs : deux « sombres » qui se télescopaient. */
#footer.bg-dark { background-color: var(--cp-navy) !important; }
#footer .footer-copyright.bg-dark { background-color: #0d1b2e !important; }
#footer .footer-copyright { border-top: 1px solid rgba(255,255,255,.08); }
#footer .footer-copyright .footer-top-light-border { border-top: 0 !important; }
#footer .footer-copyright p { color: #8d9cb0 !important; opacity: 1 !important; }

/* Déclencheur de la politique de confidentialité : navy sur navy auparavant. */
#footer .footer-copyright .btn-primary {
	background: transparent !important;
	border: 1px solid rgba(255,255,255,.28) !important;
	color: #c9d6e6 !important;
	min-height: 44px; display: inline-flex; align-items: center;
	padding: .4rem 1.1rem; border-radius: 999px;
	font-size: .9rem; font-weight: 600;
}
#footer .footer-copyright .btn-primary:hover {
	background: rgba(255,255,255,.1) !important; color: #fff !important;
	border-color: rgba(255,255,255,.5) !important;
}

/* ==========================================================================
   10. PAGE D'ERREUR (oups.php)
   Réutilise les composants de la page principale. Pas de lien « retour à
   l'accueil » : index.php renvoie ici quand les paramètres d'URL manquent,
   ce qui créerait une boucle.
   ========================================================================== */

.cp-mini-header { background: #fff; border-bottom: 1px solid var(--cp-line); }
.cp-mini-header-row {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; min-height: 78px; flex-wrap: wrap;
}
.cp-mini-header-row img { width: auto; max-height: 40px; }

.cp-oups {
	position: relative; overflow: hidden;
	background:
		radial-gradient(90rem 45rem at 78% -15%, rgba(255,176,32,.16) 0%, rgba(255,176,32,0) 58%),
		radial-gradient(70rem 40rem at 5% 110%, rgba(45,92,150,.34) 0%, rgba(45,92,150,0) 60%),
		var(--cp-navy);
	padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(5rem, 9vw, 7.5rem);
	text-align: center;
}
.cp-oups-inner { position: relative; z-index: 2; max-width: 46rem; }

.cp-oups .cp-urgence { margin-bottom: 1rem; }

.cp-oups-code {
	margin: 0 0 .2rem; line-height: 1;
	font-size: clamp(4.5rem, 17vw, 9rem); font-weight: 800; letter-spacing: -.04em;
	color: transparent;
	-webkit-text-stroke: 2px rgba(255,176,32,.55);
	text-shadow: 0 18px 44px rgba(0,0,0,.28);
}

.cp-oups-title {
	margin: 0 0 1rem; color: #fff; font-weight: 800;
	font-size: clamp(1.75rem, 4.6vw, 2.9rem); line-height: 1.12; letter-spacing: -.02em;
}
.cp-oups-lead {
	margin: 0 auto 2.1rem; max-width: 40rem;
	color: #c3d0e0; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.65;
}

.cp-oups-actions {
	display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem;
	margin-bottom: 2.1rem;
}
.cp-oups .cp-hero-badges { justify-content: center; }

/* Pied de page de la page d'erreur */
.cp-oups-footer { background: var(--cp-navy); }
.cp-footer-grid-2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }

.cp-oups-copyright {
	background: #0d1b2e; border-top: 1px solid rgba(255,255,255,.08);
	padding: 1.3rem 0;
}
.cp-oups-copyright p { margin: 0; text-align: center; color: #8d9cb0; font-size: .9rem; }

@media (max-width: 991.98px) {
	.cp-footer-grid-2 { grid-template-columns: 1fr; }
	/* réserve la place de la barre d'appel fixe, sans bande claire */
	.cp-oups-copyright { padding-bottom: calc(1.3rem + 82px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 575.98px) {
	.cp-mini-header-row { min-height: 68px; }
	.cp-oups-actions { flex-direction: column; align-items: stretch; }
	.cp-oups-actions .cp-btn-call { justify-content: center; }
}

/* theme.css pose #footer{background:#212529; border-top:4px solid #212529;
   margin-top:50px}. Le sélecteur d'ID l'emporte sur nos classes : d'où un pied
   de page gris et une bande claire au-dessus. On aligne les deux pages. */
#footer.cp-oups-footer,
#footer.bg-dark {
	background: var(--cp-navy) !important;
	border-top-color: var(--cp-navy) !important;
	margin-top: 0 !important;
}
