/* Retouches de modernisation : chargé en dernier, ne change ni les couleurs ni le contenu. */
:root{--rc-green:#7aba25;--rc-green-dark:#5c9a12;--rc-dark:#111827;--rc-border:#e5e7eb;--rc-soft:#f9fafc;--rc-radius:14px;--rc-shadow:0 1px 2px rgba(17,24,39,.04),0 4px 16px rgba(17,24,39,.06);--rc-shadow-hover:0 2px 4px rgba(17,24,39,.05),0 12px 28px rgba(17,24,39,.1)}
html{scroll-behavior:smooth}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
::selection{background:#d4f1a5;color:var(--rc-dark)}
a,button{transition:color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .2s ease,transform .2s ease,opacity .15s ease}
a:focus-visible,button:focus-visible{outline:2px solid var(--rc-green);outline-offset:2px;border-radius:6px}

/* ---------- En-tête ---------- */
#masthead.shadow{box-shadow:0 1px 0 var(--rc-border),0 6px 20px rgba(17,24,39,.05)}
#masthead>div:first-child a:hover{opacity:.75}
#masthead nav>a{margin:0 2px;padding:8px 14px;border-radius:999px;line-height:1.4}
#masthead nav>a:hover{background:#f3f4f6;color:var(--rc-green-dark)}

/* ---------- Accueil : bandeau ---------- */
.home .bg-gray-900 h1{letter-spacing:-.03em;text-wrap:balance}
.home .bg-gray-900 p{text-wrap:balance}
.rc-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:2.25rem;padding:0 1.5rem}
.rc-service{display:flex;align-items:center;gap:10px;padding:8px 14px 8px 8px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;font-size:.9rem;font-weight:600;line-height:1.3;text-align:left}
.rc-service:hover{border-color:var(--rc-green);background:rgba(255,255,255,.18);transform:translateY(-1px)}
.rc-service__icon{flex:none;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:rgba(255,255,255,.92);font-size:1.05rem;line-height:1}
@media (max-width:420px){.rc-services{grid-template-columns:1fr}}

/* ---------- Accueil : titres de section ---------- */
.home h2.block-heading.has-text-align-center{letter-spacing:-.02em}
.home h2.block-heading.has-text-align-center::after{content:"";display:block;width:44px;height:4px;margin:14px auto 0;border-radius:4px;background:var(--rc-green)}

/* ---------- Avis Google ---------- */
.rc-review__inner{background:#fff;border:1px solid var(--rc-border);border-radius:var(--rc-radius);box-shadow:var(--rc-shadow)}
.rc-reviews__load{padding:10px 22px;border:1px solid var(--rc-border);border-radius:999px;background:#fff;font-weight:700}
.rc-reviews__load:hover{background:#fff;border-color:var(--rc-green);color:var(--rc-green-dark)}

/* ---------- Tableaux ---------- */
.prose .block-table table{border-collapse:separate;border-spacing:0;border:1px solid var(--rc-border);border-radius:var(--rc-radius);overflow:hidden}
.prose .block-table thead{border-bottom:0}
.prose .block-table th,.prose .block-table td{border:0;border-bottom:1px solid var(--rc-border);padding:.7em 1em}
.prose .block-table thead th{background:var(--rc-soft);vertical-align:middle}
.prose .block-table tbody tr:last-child td{border-bottom:0}
.prose .block-table tbody tr{transition:background-color .15s ease}
.prose .block-table tbody tr:hover{background:var(--rc-soft)}
.prose .block-table.is-style-stripes tbody tr:nth-child(odd){background:var(--rc-soft)}
.prose .block-table.is-style-stripes td{border-bottom:0}

/* ---------- Boutons ---------- */
.prose .block-button.is-style-outline .block-button__link:hover{background:var(--rc-dark);border-color:var(--rc-dark);color:#fff}
.not-prose a.rounded-md[href^="tel:"]{border-radius:999px}
.not-prose a.rounded-md[href^="tel:"]:hover{transform:translateY(-1px)}
.rc-map button{border-radius:999px}

/* ---------- Images, carte, encarts ---------- */
.prose .block-image img{border-radius:var(--rc-radius)}
.rc-map{border-radius:var(--rc-radius);overflow:hidden;background:var(--rc-soft);border:1px solid var(--rc-border)}
.thumbnailpage{box-shadow:var(--rc-shadow-hover)}
aside .bg-third-950.rounded-lg{padding:1.25rem;border-radius:var(--rc-radius);box-shadow:var(--rc-shadow-hover)}
aside .bg-third-950 a:hover{opacity:.8}
aside .lwptoc_i{border-radius:var(--rc-radius)}
.prose a{text-underline-offset:3px;text-decoration-thickness:1px}
.prose a:hover{text-decoration-thickness:2px}

/* ---------- Pied de page ---------- */
footer.bg-light{border-top:1px solid var(--rc-border)}
footer.bg-light ul a:hover{color:var(--rc-green-dark)}
.rc-cookies{border-radius:var(--rc-radius)}
.rc-cookies button{border-radius:999px}

@media (prefers-reduced-motion:reduce){
	html{scroll-behavior:auto}
	*,*::before,*::after{transition:none !important}
}
