/* Styles communs à toutes les pages (chargé après ruches.css) */
body { font-family: "Open Sans", Helvetica, Arial, sans-serif; font-size: 16px; color: var(--rh-ink); background: #fff; }
.navbar { font-size: 14px; }
a { color: var(--rh-honey-dark); }
a:hover, a:focus { color: var(--rh-ink); }
.rh-section h1, .rh-page-hero h1 { text-transform: none; }

/* --- En-tête de page compact --- */
.rh-page-hero {
    position: relative; padding: 150px 20px 80px; text-align: center; color: #fff;
    background: linear-gradient(135deg, #2a2118, #4a3520) center / cover no-repeat;
}
.rh-page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,6,.55), rgba(20,14,6,.78)); }
.rh-page-hero.has-image::before { background: linear-gradient(180deg, rgba(20,14,6,.5), rgba(20,14,6,.82)); }
.rh-page-hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.rh-page-hero h1 { margin: 0 0 14px; font-family: "Roboto Condensed", sans-serif; font-weight: 700; color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.rh-page-hero .rh-lead { margin-bottom: 0; }

/* Section avec photo */
.rh-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.rh-split-media { position: relative; }
.rh-split-media img { width: 100%; border-radius: 24px; box-shadow: 0 24px 60px rgba(42,33,24,.25); aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.rh-float {
    position: absolute; right: -18px; bottom: 32px; background: var(--rh-honey); color: var(--rh-ink); border-radius: 16px;
    padding: 16px 22px; box-shadow: 0 12px 30px rgba(0,0,0,.25); display: flex; align-items: center; gap: 12px; line-height: 1.2;
}
.rh-float strong { font-size: 2rem; font-family: "Roboto Condensed", sans-serif; }
.rh-float span { font-size: .85rem; font-weight: 600; }
.rh-kicker { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 700; color: var(--rh-honey-dark); margin: 0 0 10px; }
.rh-split-text h2, .rh-quote h2 { margin: 0 0 18px; text-align: left; }
.rh-big { font-size: 1.25rem; line-height: 1.55; color: var(--rh-ink); }
.rh-split-text p, .rh-quote p { line-height: 1.7; color: #4a4036; font-size: 1.05rem; }
.rh-features { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.rh-features li { display: flex; gap: 14px; align-items: flex-start; background: var(--rh-cream); border-radius: 14px; padding: 14px 16px; }
.rh-features i { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--rh-honey); color: var(--rh-ink); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.rh-features strong { display: block; color: var(--rh-ink); }
.rh-features span { color: var(--rh-muted); font-size: .95rem; }

/* Lien flèche */
.rh-link { font-weight: 700; color: var(--rh-ink); border-bottom: 2px solid var(--rh-honey); padding-bottom: 2px; white-space: nowrap; }
.rh-link:hover, .rh-link:focus { color: var(--rh-honey-dark); text-decoration: none; }
.rh-link i { transition: transform .2s; margin-left: 4px; }
.rh-link:hover i { transform: translateX(4px); }
.rh-photo-credit { margin: 18px 0 0; font-size: .8rem; color: var(--rh-muted); text-align: right; }


/* --- Chiffres clés --- */
.rh-numbers { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.rh-numbers li { background: var(--rh-cream); border-radius: var(--rh-radius); padding: 26px 20px; text-align: center; border: 1px solid #efe4cd; }
.rh-numbers strong { display: block; font-family: "Roboto Condensed", sans-serif; font-size: 2.6rem; line-height: 1; color: var(--rh-honey-dark); }
.rh-numbers span { display: block; margin-top: 8px; color: var(--rh-muted); font-size: .95rem; }

/* --- Texte courant (articles, mentions) --- */
.rh-prose { font-size: 1.1rem; line-height: 1.85; color: #3b3128; }
.rh-prose p { margin: 0 0 1.2em; text-align: left; }
.rh-prose h2, .rh-prose h3, .rh-prose h4 { font-family: "Roboto Condensed", sans-serif; color: var(--rh-ink); margin: 1.6em 0 .5em; text-transform: none; text-shadow: none; }
.rh-prose img { max-width: 100%; height: auto; border-radius: 12px; margin: .6em 0; display: block; }
.rh-prose a { text-decoration: underline; text-decoration-color: var(--rh-honey); text-underline-offset: 3px; }
.rh-prose blockquote { border-left: 4px solid var(--rh-honey); background: var(--rh-cream); margin: 1.4em 0; padding: 14px 20px; font-size: 1.05em; border-radius: 0 12px 12px 0; }
.rh-prose ul, .rh-prose ol { padding-left: 1.4em; margin-bottom: 1.2em; }

/* --- Actualités --- */
.rh-news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.rh-article-meta { color: var(--rh-honey-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin: 0 0 10px; }
.rh-article h2 { margin: 0 0 20px; font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; text-align: left; text-transform: none; text-shadow: none; }
.rh-article-cover { width: 100%; border-radius: 20px; margin: 0 0 28px; box-shadow: 0 18px 50px rgba(42,33,24,.18); display: block; }
.rh-summary { font-size: 1.25rem; line-height: 1.6; color: var(--rh-ink); background: var(--rh-cream); border-radius: 14px; padding: 20px 24px; margin: 0 0 28px; border-left: 4px solid var(--rh-honey); }
.rh-share { margin-top: 44px; padding-top: 20px; border-top: 1px solid #eadfca; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rh-share span { color: var(--rh-muted); font-weight: 600; }
.rh-btn-sm { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid #e3d8c4; background: #fff; color: var(--rh-ink); font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .15s; }
.rh-btn-sm:hover, .rh-btn-sm:focus { background: var(--rh-ink); border-color: var(--rh-ink); color: #fff; text-decoration: none; }
.rh-aside { position: sticky; top: 100px; }
.rh-aside h3 { margin: 0 0 14px; font-family: "Roboto Condensed", sans-serif; font-size: 1.2rem; text-transform: none; }
.rh-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rh-aside a { display: block; padding: 14px 16px; border-radius: 12px; background: var(--rh-cream); color: var(--rh-ink); text-decoration: none; border: 1px solid transparent; transition: all .15s; }
.rh-aside a:hover, .rh-aside a:focus-visible, .rh-aside a[aria-current] { border-color: var(--rh-honey); background: #fff; box-shadow: 0 6px 18px rgba(42,33,24,.1); }
.rh-aside a[aria-current] { font-weight: 700; }
.rh-aside time { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rh-honey-dark); font-weight: 700; margin-bottom: 2px; }
.rh-empty { text-align: center; padding: 40px 0; color: var(--rh-muted); }
.rh-empty i { font-size: 3rem; color: var(--rh-honey); display: block; margin-bottom: 14px; }

/* --- Contact --- */
.rh-contact { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 40px; align-items: start; }
.rh-contact-info { background: linear-gradient(135deg, #2a2118, #4a3520); color: #fff; border-radius: 24px; padding: 36px 32px; position: sticky; top: 100px; }
.rh-contact-info h2 { color: #fff; margin: 0 0 12px; font-family: "Roboto Condensed", sans-serif; font-size: 1.8rem; text-shadow: none; text-align: left; }
.rh-contact-info p { color: rgba(255,255,255,.85); line-height: 1.6; }
.rh-contact-info ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.rh-contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.rh-contact-info li i { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--rh-honey); color: var(--rh-ink); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.rh-contact-info li span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.rh-contact-info a { color: #fff; text-decoration: none; font-weight: 600; }
.rh-contact-info a:hover { color: var(--rh-honey); }
.rh-form-card { background: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 2px 6px rgba(42,33,24,.06), 0 20px 60px rgba(42,33,24,.12); border: 1px solid #f1e8d6; }
.rh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.rh-field { display: flex; flex-direction: column; gap: 6px; }
.rh-field.full { grid-column: 1 / -1; }
.rh-field label { font-weight: 700; font-size: .9rem; color: var(--rh-ink); }
.rh-field label .req { color: #c0392b; margin-left: 2px; }
.rh-field input, .rh-field select, .rh-field textarea {
    width: 100%; border: 1.5px solid #e3d8c4; border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--rh-ink); background: #fffdf9;
    transition: border-color .15s, box-shadow .15s;
}
.rh-field textarea { resize: vertical; min-height: 150px; }
.rh-field input:focus, .rh-field select:focus, .rh-field textarea:focus { outline: none; border-color: var(--rh-honey); box-shadow: 0 0 0 4px rgba(245,166,35,.22); }
.rh-field input[type=file] { padding: 10px; background: #fff; }
.rh-field.has-error input, .rh-field.has-error select, .rh-field.has-error textarea { border-color: #c0392b; }
.rh-error { color: #c0392b; font-size: .88rem; font-weight: 600; }
.rh-hint { color: var(--rh-muted); font-size: .85rem; }
.rh-form-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.rh-form-actions small { color: var(--rh-muted); }
.rh-alert { border-radius: 14px; padding: 16px 20px; margin-bottom: 22px; font-weight: 600; }
.rh-alert-error { background: #fdecea; color: #922b21; border: 1px solid #f5c6c0; }
.rh-success { text-align: center; padding: 30px 10px; }
.rh-success i { font-size: 4rem; color: #3a9d5d; margin-bottom: 12px; display: block; }
.rh-success h2 { margin: 0 0 10px; font-family: "Roboto Condensed", sans-serif; text-shadow: none; text-transform: none; }
.rh-success p { color: var(--rh-muted); max-width: 460px; margin: 0 auto 20px; }

/* --- Mentions légales --- */
.rh-legal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.rh-legal-card { background: var(--rh-cream); border-radius: var(--rh-radius); padding: 28px 30px; border: 1px solid #efe4cd; }
.rh-legal-card h2 { margin: 0 0 16px; font-family: "Roboto Condensed", sans-serif; font-size: 1.5rem; text-transform: none; text-shadow: none; text-align: left; }
.rh-legal-card h3 { margin: 22px 0 6px; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--rh-honey-dark); font-weight: 700; }
.rh-legal-card p, .rh-legal-card div { line-height: 1.65; margin: 0 0 6px; }
.rh-legal-card i { width: 20px; color: var(--rh-honey-dark); }
.rh-legal-wide { margin-top: 24px; }

/* --- Erreur --- */
.rh-error-page { text-align: center; padding: 60px 0 20px; }
.rh-error-code { font-family: "Roboto Condensed", sans-serif; font-size: clamp(5rem, 18vw, 10rem); line-height: 1; font-weight: 700; color: var(--rh-honey); margin: 0; }

/* --- Pied de page --- */
.rh-footer { background: #1d160e; color: rgba(255,255,255,.75); font-size: .95rem; }
.rh-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.rh-footer a:hover, .rh-footer a:focus { color: var(--rh-honey); }
.rh-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 20px 40px; }
.rh-footer img { height: 54px; width: auto; margin-bottom: 16px; }
.rh-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: var(--rh-honey); margin: 0 0 16px; font-family: "Open Sans", sans-serif; font-weight: 700; text-shadow: none; text-align: left; }
.rh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rh-footer p { line-height: 1.6; margin: 0 0 10px; }
.rh-footer-phone { font-size: 1.3rem; font-weight: 700; color: var(--rh-honey) !important; }
.rh-social { display: flex; gap: 10px; margin-top: 14px; }
.rh-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 17px; transition: all .15s; }
.rh-social a:hover { background: var(--rh-honey); color: var(--rh-ink); }
.rh-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 20px; text-align: center; font-size: .85rem; color: rgba(255,255,255,.5); }
.rh-footer-bottom a { color: rgba(255,255,255,.7); }

@media (max-width: 991px) {
    .rh-news-layout { grid-template-columns: 1fr; gap: 40px; }
    .rh-aside, .rh-contact-info { position: static; }
    .rh-contact { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .rh-split { grid-template-columns: 1fr; gap: 36px; }
    .rh-split-media img { aspect-ratio: 4 / 3; }
    .rh-float { right: 12px; }
    .rh-footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
}
@media (max-width: 600px) {
    .rh-form-grid { grid-template-columns: 1fr; }
    .rh-form-card { padding: 24px 18px; border-radius: 18px; }
    .rh-page-hero { padding: 120px 20px 60px; }
}
.rh-contact-info li > div { min-width: 0; overflow-wrap: anywhere; }
.rh-contact-info li a { font-size: .95rem; }

/* --- Liens vers des fichiers (PDF, images) dans les articles --- */
.rh-prose a[href^="/uploads/media/"] {
    display: inline-block; padding: 8px 16px 8px 14px; border-radius: 999px; background: var(--rh-cream); border: 1px solid #e3d8c4;
    color: var(--rh-ink); font-weight: 600; font-size: .95em; line-height: 1.4; text-decoration: none; margin: 2px 0;
    transition: all .15s;
}
.rh-prose a[href^="/uploads/media/"]::before { font-family: FontAwesome; margin-right: 8px; color: var(--rh-honey-dark); content: "\f016"; }
.rh-prose a[href$=".pdf"]::before { content: "\f1c1"; }
.rh-prose a[href$=".jpg"]::before, .rh-prose a[href$=".png"]::before, .rh-prose a[href$=".webp"]::before, .rh-prose a[href$=".gif"]::before { content: "\f03e"; }
.rh-prose a[href^="/uploads/media/"]:hover, .rh-prose a[href^="/uploads/media/"]:focus-visible { background: var(--rh-ink); border-color: var(--rh-ink); color: #fff; }
.rh-prose a[href^="/uploads/media/"]:hover::before { color: var(--rh-honey); }
