/* =====================================================================
   Re-Fresh sprl — shared overrides (loaded after the theme stylesheets)
   ===================================================================== */

/* The old theme hid these images until a jQuery "preloader" showed them */
.services-list a > img { display: block !important; }

/* Smooth anchor scrolling without JS */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Native collapsible (replaces the jQuery UI accordion) */
.refresh-collapsible { margin: 0; padding: 0; border-top: 1px solid #e8e8e8; }
.refresh-collapsible:last-of-type { border-bottom: 1px solid #e8e8e8; }
.refresh-collapsible > summary {
	display: block; position: relative; padding: 18px 40px 18px 0;
	font-family: 'Raleway', sans-serif; font-size: 17px; font-weight: 600; color: #6fb645;
	cursor: pointer; list-style: none; user-select: none;
}
.refresh-collapsible > summary::-webkit-details-marker { display: none; }
.refresh-collapsible > summary::after {
	content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	font-size: 26px; font-weight: 400; line-height: 1; color: #6fb645;
}
.refresh-collapsible[open] > summary::after { content: "\2212"; }
.refresh-collapsible > summary:hover { color: #5a9636; }
.refresh-collapsible > summary:focus-visible { outline: 2px solid #6fb645; outline-offset: 2px; }
.refresh-collapsible > p,
.refresh-collapsible > div { margin: 0; padding: 0 0 20px 0; }
.refresh-services-list { list-style: none; padding: 0; margin: 24px 0 0 0; }
.refresh-services-list li { list-style: none; padding: 0; margin: 0; }

/* =====================================================================
   Homepage (scoped to .rf-home)
   ===================================================================== */
.rf-home { color: #444; }
.rf-home .rf-section { padding: 56px 0; }
.rf-home .rf-section.rf-alt { background: #f7f8f7; }
.rf-home .rf-section-title { text-align: center; margin: 0 0 10px 0; }
.rf-home .rf-section-lead { text-align: center; max-width: 680px; margin: 0 auto 36px auto; font-size: 16px; line-height: 1.6; color: #666; }

/* Trust strip */
.rf-home .rf-trust { display: flex; justify-content: space-between; gap: 16px; padding: 26px 0; border-bottom: 1px solid #eee; }
.rf-home .rf-trust-item { flex: 1; text-align: center; font-size: 14px; line-height: 1.35; font-weight: 500; color: #555; }
.rf-home .rf-trust-item svg,
.rf-home .rf-card-icon svg {
	display: block; width: 30px; height: 30px; margin: 0 auto 10px auto;
	color: #6fb645; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* Service cards (with spacing between the photos) */
.rf-home .rf-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 0; padding: 0; list-style: none; }
.rf-home .rf-service { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.rf-home .rf-service:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.rf-home .rf-service img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rf-home .rf-service-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.rf-home .rf-service h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px 0; }
.rf-home .rf-service h3 a { color: #222; }
.rf-home .rf-service p { font-size: 15px; line-height: 1.55; margin: 0 0 14px 0; flex: 1; }
.rf-home .rf-link { color: #6fb645; font-weight: 600; font-size: 14px; text-decoration: none; }
.rf-home .rf-link:hover { text-decoration: underline; }
.rf-home .rf-more-services { text-align: center; margin-top: 26px; font-size: 15px; }

/* "Pourquoi choisir" cards */
.rf-home .rf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rf-home .rf-card { background: #fff; border-radius: 6px; padding: 24px 22px; border: 1px solid #e8e8e8; text-align: center; }
.rf-home .rf-card h3 { font-size: 17px; line-height: 1.3; margin: 0 0 8px 0; }
.rf-home .rf-card p { font-size: 15px; line-height: 1.55; margin: 0; }

/* Reviews */
.rf-home .rf-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rf-home .rf-review { margin: 0; text-align: left; background: #fafafa; border-left: 3px solid #6fb645; padding: 20px; font-size: 15px; line-height: 1.55; }
.rf-home .rf-review .rf-stars { color: #f4a800; letter-spacing: 1px; margin-bottom: 8px; }
.rf-home .rf-review blockquote { margin: 0 0 12px 0; padding: 0; font-style: italic; font-size: 15px; line-height: 1.55; color: #444; border: 0; text-align: left; quotes: none; }
.rf-home .rf-review blockquote::before, .rf-home .rf-review blockquote::after { content: none; }
.rf-home .rf-review cite { font-style: normal; font-size: 13px; font-weight: 600; }
.rf-home .rf-review cite a { color: #666; text-decoration: none; }
.rf-home .rf-review cite a:hover { color: #6fb645; }

/* FAQ */
.rf-home .rf-faq { max-width: 780px; margin: 0 auto; }
.rf-home .rf-faq .refresh-collapsible > div { font-size: 15px; line-height: 1.6; }
.rf-home .rf-notice { max-width: 780px; margin: 28px auto 0 auto; padding: 16px 20px; background: #fff8e1; border-left: 4px solid #f4a800; border-radius: 4px; font-size: 14px; line-height: 1.55; color: #4a3a00; }
.rf-home .rf-notice p { margin: 0 0 4px 0; padding: 0; }
.rf-home .rf-notice p:last-child { margin-bottom: 0; }

/* Closing call to action */
.rf-home .rf-cta { text-align: center; background: #6fb645; color: #fff; padding: 46px 20px; }
.rf-home .rf-cta h2 { color: #fff; margin: 0 0 8px 0; }
.rf-home .rf-cta p { color: #fff; font-size: 16px; margin: 0 0 22px 0; }
.rf-home .rf-btn { display: inline-block; margin: 6px 8px; padding: 14px 28px; border-radius: 4px; font-weight: 700; font-size: 14px; letter-spacing: .5px; text-decoration: none; border: 2px solid #fff; }
.rf-home .rf-btn-solid { background: #fff; color: #6fb645; }
.rf-home .rf-btn-ghost { background: transparent; color: #fff; }
.rf-home .rf-btn:hover { opacity: .9; text-decoration: none; }

@media (max-width: 1189px) {
	.rf-home .rf-section { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 900px) {
	.rf-home .rf-services,
	.rf-home .rf-cards,
	.rf-home .rf-reviews { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.rf-home .rf-section { padding-top: 40px; padding-bottom: 40px; }
	.rf-home .rf-services,
	.rf-home .rf-cards,
	.rf-home .rf-reviews { grid-template-columns: 1fr; gap: 20px; }
	.rf-home .rf-trust { flex-wrap: wrap; }
	.rf-home .rf-trust-item { flex: 0 0 calc(50% - 8px); margin-bottom: 10px; }
}

/* Reviews: neutralise the theme's blockquote/figure styles */
.rf-home figure.rf-review { margin: 0 !important; }
.rf-home .rf-review, .rf-home .rf-review * { text-align: left !important; }
.rf-home .rf-review blockquote { padding: 0 !important; margin: 0 0 12px 0 !important; width: auto !important; max-width: none !important; font-size: 15px !important; line-height: 1.55 !important; background: none !important; }

/* Cookie banner: keep it to two choices only (accept all / necessary only).
   Category switches and "allow selection" stay available in the "Détails" tab. */
#CybotCookiebotDialogBodyLevelButtonsSelectPane,
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,
#CybotCookiebotDialogBodyLevelButtonCustomize{display:none!important}
#CybotCookiebotDialogBodyButtonDecline{display:block!important}
