/*
Theme Name: Omassea
Description: Thème du site d'annonces de massages bien-être Omassea. Nécessite l'extension Omassea Core.
Version: 0.9.0
Author: Omassea
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: redlounge
*/

/* ---------- Réglages ---------- */
:root {
	--bg: #FBF8F5;
	--surface: #FFFFFF;
	--soft: #F4EEE9;
	--line: #E7DED7;
	--ink: #1F1A1C;
	--muted: #675B60;
	--accent: #A81E36;
	--accent-dark: #86152A;
	--accent-soft: #F8E7EA;
	--gold: #8A5A00;
	--gold-soft: #FBF0D9;
	--ok: #1F6B47;
	--ok-soft: #E3F3EA;
	--wa: #1F7A4D;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(31, 26, 28, .06), 0 8px 24px rgba(31, 26, 28, .06);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.rl-icon { flex-shrink: 0; }
.rl-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.rl-center { text-align: center; }
.rl-skip { position: absolute; left: -9999px; }
.rl-skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--surface); padding: 10px 14px; }

/* ---------- Boutons ---------- */
.rl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.rl-btn--primary { background: var(--accent); color: #fff; }
.rl-btn--primary:hover { background: var(--accent-dark); color: #fff; }
.rl-btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.rl-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.rl-btn--block { width: 100%; }
.rl-btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }

/* ---------- En-tête ---------- */
.rl-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 245, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.rl-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.rl-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.7rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.rl-logo span { color: var(--accent); }
.rl-logo:hover { color: var(--ink); }
.rl-menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.rl-nav { display: flex; align-items: center; gap: 18px; }
.rl-nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 2px rgba(31,26,28,.04); }
.rl-nav-list a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; transition: background .15s, color .15s; }
.rl-nav-list a svg { color: var(--muted); transition: color .15s; flex: none; }
.rl-nav-list a:hover { background: var(--accent-soft); color: var(--accent); }
.rl-nav-list a:hover svg { color: var(--accent); }
.rl-nav-list a[aria-current="page"], .rl-nav-list .current-menu-item > a { background: var(--accent); color: #fff; }
.rl-nav-list a[aria-current="page"] svg, .rl-nav-list .current-menu-item > a svg { color: #fff; }
.rl-nav-actions { display: flex; gap: 8px; }
.rl-nav-list a, .rl-nav-actions .rl-btn { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1120px) {
	.rl-nav { gap: 10px; }
	.rl-nav-list a { padding: 8px 11px; }
	.rl-nav-list a svg { display: none; }
	.rl-nav-actions .rl-btn { padding-left: 14px; padding-right: 14px; }
}

@media (max-width: 900px) {
	.rl-menu-toggle { display: inline-flex; }
	.rl-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px 20px 20px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
	.rl-nav.is-open { display: flex; }
	.rl-nav-list { flex-direction: column; gap: 6px; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
	.rl-nav-list a { display: flex; padding: 13px 14px; border-radius: 14px; background: var(--bg); font-size: 1rem; }
	.rl-nav-list a svg { width: 20px; height: 20px; }
	.rl-nav-actions { flex-direction: column; }
}

/* ---------- Sections ---------- */
.rl-main { min-height: 60vh; }
.rl-section-pad { padding-top: 48px; padding-bottom: 48px; }
.rl-section-pad-sm { padding-top: 32px; }
.rl-section-soft { background: var(--soft); }
.rl-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.rl-section-head h2 { margin: 0; }
.rl-section-head p { margin: 0; color: var(--muted); }
.rl-star { color: var(--accent); }
.rl-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.rl-lead { font-size: 1.12rem; color: var(--muted); max-width: 620px; }
.rl-help { font-size: .87rem; color: var(--muted); margin: 6px 0 0; }
.rl-h3 { font-size: 1.1rem; margin: 28px 0 12px; }
.rl-prose { max-width: 820px; }
.rl-prose p { color: var(--muted); }
.rl-page-head { margin: 8px 0 24px; }
.rl-intro { max-width: 760px; }

/* ---------- Accueil ---------- */
.rl-hero { padding: 48px 0 40px; background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%); }
.rl-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.rl-hero h1 { margin-bottom: 14px; }
.rl-popular { margin: 14px 0 0; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
@media (max-width: 900px) { .rl-hero-inner { grid-template-columns: 1fr; gap: 24px; } .rl-hero { padding-top: 28px; } }

.rl-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: #fff; border-radius: 24px; padding: 36px; }
.rl-cta h2 { color: #fff; }
.rl-cta p { color: #E9E1E4; margin: 0; max-width: 620px; }

/* ---------- Recherche ---------- */
.rl-search { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.rl-search .rl-field--city { grid-column: 1 / -1; }
.rl-search button { grid-column: 1 / -1; min-height: 52px; }
.rl-search--compact { grid-template-columns: 2fr repeat(4, 1fr) auto; align-items: end; margin-bottom: 24px; }
.rl-search--compact .rl-field--city, .rl-search--compact button { grid-column: auto; }
@media (max-width: 760px) { .rl-search--compact { grid-template-columns: 1fr 1fr; } .rl-search--compact .rl-field--city, .rl-search--compact button { grid-column: 1 / -1; } }

/* ---------- Champs ---------- */
.rl-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rl-field label, .rl-label { font-size: .82rem; font-weight: 700; color: var(--ink); }
.rl-field--inline { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.rl-field--small { max-width: 160px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=number], input[type=time], input[type=file], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px;
}
textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.rl-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }

/* ---------- Grille de cartes ---------- */
.rl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
@media (max-width: 520px) { .rl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.rl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.rl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rl-card--top { border-color: #E2C27E; }
.rl-card--star { border: 2px solid var(--accent); }
.rl-card-link { display: block; color: inherit; text-decoration: none; }
.rl-card-link:hover { color: inherit; }
.rl-card-media { position: relative; aspect-ratio: 4 / 5; background: var(--soft); }
.rl-card-media img { width: 100%; height: 100%; object-fit: cover; }
.rl-card-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #B9ACB1; }
.rl-card-placeholder .rl-icon { width: 48px; height: 48px; }
.rl-card-media .rl-badge { position: absolute; left: 10px; top: 10px; }
.rl-card-media .rl-badge--ok { top: auto; bottom: 10px; }
.rl-card-body { padding: 12px 14px 14px; }
.rl-card-name { font-size: 1.02rem; margin: 0 0 2px; }
.rl-card-name span { font-weight: 500; color: var(--muted); }
.rl-card-place, .rl-card-types { font-size: .84rem; color: var(--muted); margin: 0; }
.rl-card-types { color: var(--ink); margin-top: 4px; }
.rl-card-price { font-weight: 800; color: var(--accent); margin: 6px 0 0; }

.rl-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; background: var(--surface); color: var(--ink); }
.rl-badge .rl-icon { width: 14px; height: 14px; }
.rl-badge--star { background: var(--accent); color: #fff; }
.rl-badge--top { background: var(--gold-soft); color: var(--gold); }
.rl-badge--ok { background: var(--ok-soft); color: var(--ok); }

.rl-empty-state { text-align: center; padding: 40px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.rl-empty { color: var(--muted); }

/* ---------- Tuiles et pastilles ---------- */
.rl-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.rl-tile { display: flex; flex-direction: column; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 700; }
.rl-tile small { color: var(--muted); font-weight: 500; }
.rl-tile:hover { border-color: var(--accent); color: var(--accent); }
.rl-pills, .rl-radius, .rl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rl-radius { margin-bottom: 20px; }
.rl-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; }
.rl-pill:hover { border-color: var(--ink); color: var(--ink); }
.rl-pill.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.rl-tag { display: inline-flex; padding: 6px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); font-size: .88rem; font-weight: 700; text-decoration: none; }
.rl-tag--soft { background: var(--soft); color: var(--ink); font-weight: 600; }

/* ---------- Carte ---------- */
.rl-map { height: 340px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; z-index: 0; }
.rl-map-note { font-size: .8rem; color: var(--muted); margin: 8px 0 20px; }
.rl-pin a { display: inline-block; white-space: nowrap; transform: translate(-50%, -100%); padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); font: 700 12px/1.4 var(--font); text-decoration: none; box-shadow: var(--shadow); }
.rl-pin--top a { background: var(--accent); color: #fff; border-color: var(--accent); }
.rl-results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin: 8px 0 16px; }
.rl-results-head h2 { margin: 0; }
.rl-results-head p { margin: 0; color: var(--muted); }

/* ---------- Fiche annonce ---------- */
.rl-single { padding-top: 20px; padding-bottom: 96px; }
.rl-breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.rl-breadcrumb a { color: var(--muted); }
.rl-single-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .rl-single-grid { grid-template-columns: 1fr; gap: 20px; } }
.rl-gallery { position: sticky; top: 88px; }
@media (max-width: 900px) { .rl-gallery { position: static; } }
.rl-gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 20px; background: var(--soft); scrollbar-width: none; }
.rl-gallery-track::-webkit-scrollbar { display: none; }
.rl-gallery-item { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; }
.rl-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.rl-gallery-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.rl-gallery-thumbs img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.rl-gallery-empty { aspect-ratio: 4 / 5; border-radius: 20px; background: var(--soft); display: flex; align-items: center; justify-content: center; color: #B9ACB1; }
.rl-single-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rl-single-name { font-size: 2rem; font-weight: 800; margin: 0; line-height: 1.1; }
.rl-single-name span { font-size: 1.1rem; font-weight: 500; color: var(--muted); }
.rl-single-title { font-size: 1.15rem; font-weight: 600; color: var(--muted); margin: 8px 0; }
.rl-single-place { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; margin-bottom: 20px; }
.rl-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.rl-contact-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 16px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; }
.rl-contact-btn:hover { color: #fff; opacity: .92; }
.rl-contact-btn--whatsapp { background: var(--wa); }
.rl-contact-btn--phone { background: var(--accent); }
.rl-single-desc { margin-top: 24px; font-size: 1.02rem; }
.rl-rates { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rl-rates th, .rl-rates td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.rl-rates thead th { font-size: .8rem; color: var(--muted); background: var(--soft); }
.rl-rates td { font-weight: 700; }
.rl-info { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 24px 0 0; }
.rl-info div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.rl-info dt { font-size: .78rem; color: var(--muted); font-weight: 700; }
.rl-info dd { margin: 2px 0 0; font-weight: 600; }
.rl-single-foot { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.rl-single-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 8px; }
.rl-sticky-contact { display: none; }
@media (max-width: 900px) {
	.rl-sticky-contact { display: grid; grid-auto-flow: column; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 248, 245, .97); border-top: 1px solid var(--line); }
}

/* ---------- Formulaires (inscription, espace, annonce) ---------- */
.rl-page-content { max-width: 880px; }
.rl-notice { padding: 14px 16px; border-radius: 12px; background: var(--soft); margin-bottom: 20px; }
.rl-notice ul { margin: 6px 0; padding-left: 20px; }
.rl-notice p { margin: 6px 0 0; }
.rl-notice--ok { background: var(--ok-soft); color: var(--ok); }
.rl-notice--error { background: var(--accent-soft); color: var(--accent-dark); }
.rl-auth { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 800px) { .rl-auth { grid-template-columns: minmax(0, 1fr); } }
.rl-form { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.rl-form h2 { font-size: 1.3rem; margin: 0; }
.rl-form--side #loginform p { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; }
.rl-form--side #loginform label { font-size: .82rem; font-weight: 700; }
.rl-form--side #loginform .login-remember label { flex-direction: row; display: flex; gap: 8px; font-weight: 500; }
.rl-form--side #wp-submit { min-height: 46px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; padding: 0 20px; cursor: pointer; }
.rl-checks { border: 0; padding: 14px; margin: 0; background: var(--soft); border-radius: 14px; display: flex; flex-direction: column; gap: 10px; }
.rl-checks legend { font-weight: 800; font-size: .85rem; padding: 0; float: left; margin-bottom: 4px; }
.rl-checks label { display: block; position: relative; padding-left: 30px; font-size: .92rem; clear: both; }
.rl-checks label input { position: absolute; left: 0; top: 2px; margin: 0; }
.rl-checks input, .rl-switch input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.rl-dashboard { display: flex; flex-direction: column; gap: 20px; }
.rl-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.rl-panel .rl-form { border: 0; padding: 0; margin-top: 12px; }
.rl-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.rl-panel-head h2 { margin: 0; }
.rl-status { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .88rem; }
.rl-status--todo, .rl-status--error { background: var(--accent-soft); color: var(--accent-dark); }
.rl-status--wait { background: var(--gold-soft); color: var(--gold); }
.rl-status--ok { background: var(--ok-soft); color: var(--ok); }
.rl-steps { margin: 0; padding-left: 20px; }
.rl-mine { list-style: none; margin: 0; padding: 0; }
.rl-mine li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.rl-mine span { display: block; font-size: .87rem; color: var(--muted); }
.rl-mine-actions { display: flex; gap: 14px; font-weight: 700; }

.rl-annonce-form { gap: 0; padding: 0; overflow: hidden; }
.rl-section { border: 0; margin: 0; padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rl-section legend { float: left; width: 100%; font-size: 1.1rem; font-weight: 800; padding: 0; margin-bottom: 4px; }
.rl-section legend + * { clear: both; }
.rl-legend-hint { font-size: .82rem; font-weight: 500; color: var(--muted); margin-left: 6px; }
.rl-counter, .rl-chars, .rl-photo-count { font-size: .82rem; font-weight: 700; color: var(--accent); margin-left: 8px; }
.rl-chars.is-ok, .rl-photo-count.is-ok { color: var(--ok); }
.rl-sub { font-size: .88rem; margin: 10px 0 0; }
.rl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rl-chip { position: relative; }
.rl-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rl-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: .9rem; cursor: pointer; user-select: none; }
.rl-chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.rl-chip input:checked + span::before { content: "✓ "; white-space: pre; }
.rl-chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.rl-chip.is-disabled span { opacity: .45; cursor: not-allowed; }
.rl-rates-input { width: 100%; max-width: 480px; border-collapse: collapse; }
.rl-rates-input th { text-align: left; font-size: .85rem; padding: 6px 8px 6px 0; }
.rl-rates-input td { padding: 4px; }
.rl-contact-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; }
@media (max-width: 520px) { .rl-contact-row { grid-template-columns: 1fr; gap: 6px; } }
.rl-switch { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.rl-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.rl-photo-existing { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; }
.rl-photo-existing img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.rl-annonce-form > .rl-btn { margin: 24px 24px 8px; width: auto; }
.rl-annonce-form > .rl-help { padding: 0 24px 24px; }

/* ---------- Pied de page ---------- */
.rl-footer { background: var(--ink); color: #D9D0D3; margin-top: 40px; font-size: .92rem; }
.rl-footer a { color: #fff; }
.rl-footer .rl-logo { color: #fff; }
.rl-footer .rl-logo span { color: #FF8A9B; }
.rl-footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.4fr; gap: 28px; padding-top: 48px; padding-bottom: 32px; }
@media (max-width: 1000px) { .rl-footer-grid { grid-template-columns: 1fr 1fr 1fr; } .rl-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 680px) { .rl-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rl-footer-grid { grid-template-columns: 1fr; } }
.rl-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; }
.rl-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rl-footer-brand p { margin-top: 12px; }
.rl-footer-help { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 16px; }
.rl-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; padding-bottom: 24px; font-size: .82rem; }

/* ---------- Divers ---------- */
.rl-list { display: flex; flex-direction: column; gap: 20px; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.nav-links .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); padding: 0 12px; }
.nav-links .current { background: var(--accent); color: #fff; border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Salons, avertissements, signalement, FAQ, tarifs ---------- */
.rl-btn--light { background: #fff; color: var(--ink); }
.rl-btn--light:hover { background: var(--soft); color: var(--ink); }
.rl-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rl-badge--salon { background: var(--ink); color: #fff; }
.rl-card-media .rl-badge--salon { left: auto; right: 10px; }
.rl-website { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; }
.rl-website:hover { border-color: var(--ink); color: var(--ink); }

.rl-warning { margin: 24px 24px 0; padding: 18px 20px; border-radius: 14px; background: #FFF6E5; border: 1px solid #F0D49B; color: #4A3500; }
.rl-warning > strong { display: block; font-size: 1.05rem; margin-bottom: 6px; color: #3A2900; }
.rl-warning ul { margin: 8px 0; padding-left: 20px; }
.rl-warning li { margin-bottom: 4px; }
.rl-warning .rl-help { color: #6A5320; }

.rl-account-type { border: 0; padding: 0; margin: 0 0 4px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
.rl-account-type legend { grid-column: 1 / -1; padding: 0; margin-bottom: 8px; }
.rl-type-card { position: relative; display: block; cursor: pointer; }
.rl-type-card input { position: absolute; opacity: 0; }
.rl-type-card span { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); }
.rl-type-card strong { line-height: 1.3; }
.rl-type-card small { color: var(--muted); text-align: right; flex: 0 1 46%; line-height: 1.35; }
@media (max-width: 420px) { .rl-type-card span { flex-direction: column; align-items: flex-start; } .rl-type-card small { text-align: left; flex-basis: auto; } }
.rl-type-card input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.rl-type-card input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.rl-salon-only { display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: 14px; background: var(--soft); }
.rl-salon-only[hidden] { display: none; }
.rl-subscription { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--soft); }
.rl-subscription span { display: block; font-size: .88rem; color: var(--muted); }

.rl-report summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; color: var(--accent); min-height: 44px; }
.rl-report-form { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 16px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.rl-hp { position: absolute; left: -9999px; }

.rl-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 8px; }
.rl-faq summary { font-weight: 700; cursor: pointer; }
.rl-faq details p { margin: 8px 0 0; color: var(--muted); }
.rl-pill small { margin-left: 4px; color: var(--muted); font-weight: 500; }
.rl-pill.is-active small { color: #fff; }

.rl-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rl-price-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.rl-price-card--featured { border: 2px solid var(--accent); }
.rl-price-card h2 { font-size: 1.2rem; margin: 0; }
.rl-price { margin: 0; color: var(--muted); }
.rl-price strong { font-size: 2.2rem; color: var(--ink); }
.rl-price-alt { margin: 0; color: var(--muted); font-size: .92rem; }
.rl-price-card ul { margin: 6px 0 12px; padding-left: 18px; flex: 1; }
.rl-price-card li { margin-bottom: 6px; }
.rl-photo-guide { padding: 14px 16px; border-radius: 12px; background: var(--soft); }
.rl-photo-guide p { margin: 0; }
.rl-photo-guide ul { margin: 8px 0; padding-left: 20px; }

/* Sélecteur de langue (TranslatePress) */
.rl-lang { font-size: .9rem; font-weight: 700; }
.rl-lang .trp-language-switcher { width: auto; }
.rl-lang .trp-ls-shortcode-current-language, .rl-lang .trp-ls-shortcode-language { border-radius: 10px; border-color: var(--line) !important; }

/* Logo */
.rl-logo-mark { width: 34px; height: 34px; border-radius: 9px; }

/* Paiement */
.rl-checkout { max-width: 640px; }
.rl-section-plain { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.rl-section-plain legend { font-weight: 800; margin-bottom: 6px; padding: 0; }
.rl-option { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.rl-option input[type=checkbox], .rl-option input[type=radio] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.rl-option--days { flex-wrap: wrap; align-items: center; cursor: default; }
.rl-option--days label { flex: 1 1 220px; font-weight: 600; }
.rl-option--days input { width: 90px; min-height: 44px; }
.rl-total { font-size: 1.2rem; margin: 6px 0 0; }
.rl-total strong { font-size: 1.6rem; }
.rl-total small { color: var(--muted); font-size: .85rem; }
.rl-inline-form { display: inline; }
.rl-link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; min-height: 32px; }
.rl-mine-renew { flex-basis: 100%; font-size: .85rem; color: var(--ok); }
.rl-danger summary { cursor: pointer; font-weight: 700; color: var(--accent-dark); }
.rl-danger .rl-form { margin-top: 12px; }
.rl-checks-inline { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.rl-checks-inline input { width: 20px; height: 20px; accent-color: var(--accent); }

/* Offre de lancement */
.rl-trial { margin: 0 0 20px; padding: 14px 18px; border-radius: 14px; background: var(--ok-soft); color: #134d33; border: 1px solid #b9e2cb; }
.rl-trial span { display: block; font-size: .85rem; color: #2c6b4c; margin-top: 4px; }
.rl-form, .rl-form > * { min-width: 0; }
.rl-form--side input[type=text], .rl-form--side input[type=password] { width: 100%; }

.rl-badge--health { background: #E3EEF8; color: #1E4D7A; }
.rl-card-media .rl-badge--health { left: auto; right: 10px; }
.rl-sport { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 760px) { .rl-sport { grid-template-columns: minmax(0, 1fr); } }
.rl-sport-col { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.rl-sport-col h3 { margin: 0 0 6px; font-size: 1.1rem; }
.rl-sport-col p { color: var(--muted); font-size: .92rem; }
.rl-sport-col--health { border-color: #BCD3E8; background: #F4F8FC; }
.rl-sante-only { display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: 14px; background: #F4F8FC; }
.rl-sante-only[hidden] { display: none; }

/* Aide aux victimes */
.rl-help-block ul { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rl-help-block a { font-weight: 600; }
.rl-help-title { margin: 0; }
.rl-help-urgent { margin: 6px 0 0; font-size: .9rem; }
.rl-page-content .rl-help-block { padding: 16px 18px; border-radius: 14px; background: var(--soft); }

/* ---------- Accueil v0.6 : recherche centrée ---------- */
.rl-hero2 { position: relative; overflow: hidden; padding: 72px 0 56px; text-align: center; background: radial-gradient(ellipse at 50% 0%, var(--accent-soft) 0%, var(--bg) 70%); }
.rl-hero2-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 80%, rgba(168,30,54,.07) 0, transparent 40%), radial-gradient(circle at 88% 20%, rgba(138,90,0,.07) 0, transparent 40%); }
.rl-hero2-inner { position: relative; max-width: 920px; }
.rl-hero2 h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.12; margin: 0 auto 14px; max-width: 760px; }
.rl-hero2 .rl-lead { margin: 0 auto 28px; }
.rl-search--hero { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: end; text-align: left; padding: 14px; border-radius: 22px; box-shadow: 0 2px 4px rgba(31,26,28,.06), 0 18px 48px rgba(31,26,28,.12); }
.rl-search--hero .rl-field--city { grid-column: auto; }
.rl-search--hero .rl-search-submit { grid-column: auto; min-height: 52px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.rl-search--hero .rl-more-filters { grid-column: 1 / -1; }
.rl-more-filters summary { cursor: pointer; color: var(--muted); font-size: .92rem; padding: 4px 2px; list-style: none; display: inline-block; }
.rl-more-filters summary::-webkit-details-marker { display: none; }
.rl-more-filters summary::after { content: " ▾"; }
.rl-more-filters[open] summary::after { content: " ▴"; }
.rl-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
@media (max-width: 820px) {
	.rl-hero2 { padding: 40px 0 36px; }
	.rl-search--hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.rl-search--hero .rl-field--city, .rl-search--hero .rl-search-submit { grid-column: 1 / -1; }
	.rl-more-grid { grid-template-columns: 1fr; }
}
.rl-quick { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; font-size: .92rem; }
.rl-quick span { color: var(--muted); }
.rl-quick a { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.rl-quick a:hover { border-color: var(--accent); color: var(--accent); }
.rl-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--muted); font-size: .92rem; }
.rl-trust li { display: inline-flex; align-items: center; gap: 6px; }
.rl-trust svg { width: 18px; height: 18px; color: var(--ok); }

.rl-section-head--center { flex-direction: column; align-items: center; text-align: center; }
.rl-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rl-type { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.rl-type:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.rl-type h3 { margin: 0; font-size: 1.05rem; }
.rl-type p { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.rl-type-count { color: var(--accent); font-weight: 600; font-size: .88rem; }
@media (max-width: 960px) { .rl-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.rl-types { gap: 10px; }
	.rl-type { padding: 14px; }
	.rl-type h3 { font-size: .98rem; }
	.rl-type p { display: none; }
	.rl-quick a:nth-of-type(n+5) { display: none; }
}
.rl-more-link { margin-top: 18px; }

.rl-steps3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.rl-steps3 li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.rl-steps3 span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 10px; }
.rl-steps3 h3 { margin: 0 0 6px; }
.rl-steps3 p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .rl-steps3 { grid-template-columns: 1fr; } }

.rl-sport-strip { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 28px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.rl-sport-strip h2 { font-size: 1.2rem; margin: 0 0 4px; }
.rl-sport-strip p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .rl-sport-strip { grid-template-columns: 1fr; } }
.rl-help-country { margin: 10px 0 2px; }
.rl-help-block .rl-help-urgent { margin: 6px 0 8px; }


/* ---------- Articles du guide ---------- */
.rl-article { max-width: 780px; margin-left: auto; margin-right: auto; }
.rl-article .rl-page-head h1 { margin-bottom: .4em; }
.rl-article-meta { color: #6b6461; font-size: .9rem; margin: 0 0 1.5rem; }
.rl-article-image { margin: 0 0 2rem; }
.rl-article-image img { width: 100%; height: auto; border-radius: 12px; }
.rl-article .rl-page-content { font-size: 1.06rem; line-height: 1.75; }
.rl-article .rl-page-content h2 { margin: 2.4rem 0 .8rem; line-height: 1.25; }
.rl-article .rl-page-content h3 { margin: 1.6rem 0 .5rem; line-height: 1.3; }
.rl-article .rl-page-content p, .rl-article .rl-page-content ul { margin: 0 0 1.1rem; }
.rl-article .rl-page-content li { margin-bottom: .45rem; }
.rl-article .rl-page-content a { color: #A81E36; text-decoration: underline; text-underline-offset: 2px; }
.rl-article .rl-page-content table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.8rem; font-size: .95rem; display: block; overflow-x: auto; }
.rl-article .rl-page-content th, .rl-article .rl-page-content td { border: 1px solid #e6dcd6; padding: .6rem .75rem; text-align: left; vertical-align: top; }
.rl-article .rl-page-content thead th { background: #f3ebe6; }
.rl-archive-intro { color: #6b6461; max-width: 780px; margin-top: .5rem; }

/* ---------- Espace annonceur (refonte 26/11/2026) ---------- */
.rl-page:has(.rl-dashboard) .rl-page-head { display: none; }
.rl-dashboard { max-width: 860px; gap: 18px; }
.rl-dashboard .rl-panel { border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); border-color: #EEE7E1; }
.rl-dashboard .rl-panel h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; letter-spacing: 0; }
.rl-dash-hero { position: relative; overflow: hidden; padding: 34px 32px 30px; border-radius: 22px; background: linear-gradient(135deg, #EEF4F0 0%, #F7F3EE 100%); border: 1px solid #DCE7E0; }
.rl-dash-hero::after { content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(62, 107, 87, .16); box-shadow: 0 0 0 26px rgba(62, 107, 87, .04), 0 0 0 52px rgba(62, 107, 87, .03); pointer-events: none; }
.rl-dash-hero-main { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.rl-dash-eyebrow { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.rl-dash-title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -.01em; color: var(--ink); }
.rl-dash-sub { margin: 0; color: var(--muted); max-width: 46ch; }
.rl-dash-hero .rl-btn { flex-shrink: 0; }
.rl-dash-offer { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .75); border: 1px solid #DCE7E0; color: var(--accent-dark); }
.rl-dash-offer svg { flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.rl-dash-offer p { margin: 0; color: var(--ink); font-size: .95rem; }
.rl-dash-offer strong { display: block; color: var(--accent-dark); font-size: .9rem; }
.rl-dash-empty { text-align: center; padding: 26px 12px 10px; }
.rl-dash-empty svg { color: var(--accent); opacity: .85; margin-bottom: 10px; }
.rl-dash-empty h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: 0 0 8px; }
.rl-dash-empty p { color: var(--muted); max-width: 48ch; margin: 0 auto 20px; }
.rl-dashboard .rl-mine li { align-items: center; padding: 16px 0; }
.rl-dashboard .rl-mine li:first-child { border-top: 0; }
.rl-dashboard .rl-mine-meta { margin-top: 4px; }
.rl-pill { display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 999px; font-style: normal; font-size: .76rem; font-weight: 700; background: var(--soft); color: var(--muted); }
.rl-pill--publish { background: var(--accent-soft); color: var(--accent-dark); }
.rl-pill--pending { background: var(--gold-soft); color: var(--gold); }
.rl-pill--refused { background: #F8E7EA; color: #86152A; }
.rl-dashboard .rl-mine-actions a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .88rem; color: var(--ink); }
.rl-dashboard .rl-mine-actions a:hover { border-color: var(--accent); color: var(--accent); }
.rl-dash-foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; padding: 4px 4px 0; font-size: .9rem; }
.rl-dash-logout { color: var(--muted); }
.rl-dash-foot .rl-panel.rl-danger { flex: 0 1 auto; padding: 0; border: 0; background: none; box-shadow: none; text-align: right; }
.rl-dash-foot .rl-danger summary { font-weight: 400; color: var(--muted); list-style: none; }
.rl-dash-foot .rl-danger summary::-webkit-details-marker { display: none; }
.rl-dash-foot .rl-danger summary:hover { color: #86152A; }
.rl-dash-foot .rl-danger[open] { flex-basis: 100%; text-align: left; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
@media (max-width: 600px) {
	.rl-dash-hero { padding: 26px 20px 22px; }
	.rl-dash-hero .rl-btn { width: 100%; text-align: center; }
	.rl-dashboard .rl-panel { padding: 22px 18px; }
}

/* ---------- Conseils photos du formulaire (26/11/2026) ---------- */
.rl-photo-types { list-style: none; margin: 14px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; counter-reset: rlph; }
@media (max-width: 600px) { .rl-photo-types { grid-template-columns: 1fr; } }
.rl-photo-types li { position: relative; padding: 14px 16px 14px 50px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: .9rem; line-height: 1.5; color: var(--muted); counter-increment: rlph; }
.rl-photo-types li::before { content: counter(rlph); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; font-size: .85rem; }
.rl-photo-types strong { display: block; margin: 2px 0 2px; color: var(--ink); font-size: .98rem; }
.rl-photo-tag { display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: .72rem; font-weight: 700; }
.rl-photo-tag--req { background: var(--gold-soft); color: var(--gold); }
.rl-photo-count.is-over { color: #86152A; font-weight: 700; }

/* Photos des cartes sportives (26/11/2026) */
.rl-type[href*="/type/sportif/"]::before { background-image: url("https://omassea.com/wp-content/uploads/2026/11/Omassea-%E2%80%93-massage-sportif-768x515.webp"); }
.rl-type[href*="/type/recuperation-sportive/"]::before { background-image: url("https://omassea.com/wp-content/uploads/2026/11/Omassea-%E2%80%93-recuperation-sportive-768x515.webp"); }
