/* ============================================================
   THEME V2 — refonte visuelle complète (chargé après style.css)
   Identité : petites annonces premium, typographie Sora,
   surfaces douces, accents dégradés sur --secondary.
   Dark & light pilotés par [data-color-mode] + variables.
   ============================================================ */

:root {
    --font: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius: 14px;
    --radius-sm: 10px;
    --bg: #f7f5f2;
    --bg-alt: #efece7;
    --bg-card: #ffffff;
    --text: #201c1a;
    --text-muted: #7a7370;
    --border: #e6e1da;
    --accent: var(--secondary);
    --accent-soft: color-mix(in srgb, var(--secondary) 12%, var(--bg-card));
    --accent-grad: linear-gradient(120deg, var(--secondary), color-mix(in srgb, var(--secondary) 55%, #7b2ff7));
    --shadow: 0 1px 2px rgba(20, 15, 10, .05), 0 4px 16px rgba(20, 15, 10, .06);
    --shadow-lg: 0 12px 34px rgba(20, 15, 10, .13);
}

[data-color-mode="dark"] {
    --bg: #0d0b12;
    --bg-alt: #16131f;
    --bg-card: #171423;
    --text: #f2eff7;
    --text-muted: #9d97ab;
    --border: #2b2739;
    --accent-soft: color-mix(in srgb, var(--secondary) 16%, var(--bg-card));
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 20px rgba(0, 0, 0, .35);
    --shadow-lg: 0 16px 44px rgba(0, 0, 0, .55);
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    letter-spacing: -.01em;
}

h1, h2, h3, h4 { letter-spacing: -.02em; }

/* fond de page : plus de dégradé violent, un halo discret en haut */
.xdb8d2956 {
    background:
        radial-gradient(900px 320px at 18% -80px, color-mix(in srgb, var(--secondary) 14%, transparent), transparent 70%),
        var(--bg);
}

/* ---------------- Boutons ---------------- */
.btn,
.x2fe6db09,
.xa78156c5,
.xe2d1b8ec {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0;
}
.x2fe6db09,
.x48954786,
.x393fb6b8,
.xdc007be7 .btn {
    background: var(--accent-grad);
    color: #fff;
    border: 0;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--secondary) 35%, transparent);
}
.x2fe6db09:hover,
.x48954786:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}
.xa78156c5,
.x059a3adc {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.xa78156c5:hover { border-color: var(--secondary); color: var(--secondary); }

/* ---------------- Header ---------------- */
.x10ddf2d3 {
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 60;
}
.x20ab25b2 { min-height: 66px; }
.logo, .xe2d0eedd {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text) !important;
    letter-spacing: -.03em;
    position: relative;
    padding-right: 14px;
}
.logo::after, .xe2d0eedd::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-grad);
}
.x510f89a3 {
    background: transparent;
    border: 0;
    color: var(--text);
    font-weight: 600;
    border-radius: 999px;
    padding: 8px 14px;
}
.x510f89a3:hover { background: var(--accent-soft); color: var(--secondary); }
.xcf5ccc1e {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.xcf5ccc1e a { color: var(--text); border-radius: 8px; }
.xcf5ccc1e a:hover { background: var(--accent-soft); color: var(--secondary); }
.x188e7ec0, .xcc5a36de {
    background: var(--accent-grad);
    color: #fff !important;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    padding: 10px 20px;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--secondary) 30%, transparent);
}
.x188e7ec0:hover { filter: brightness(1.08); }

/* bandeau CTA invité sous le header — fond surface (--bg-alt) : le texte doit
   suivre les variables du mode (noir en clair, blanc en sombre), pas le #fff
   de style.css prévu pour l'ancien fond --primary. */
.x9e19c27a {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.xf38ce5df { color: var(--text-muted); }

/* Hamburger sur le header surface : barres couleur texte du mode. */
.xb3f9e455 { background: color-mix(in srgb, var(--text) 8%, transparent); }
.xb3f9e455 span { background: var(--text); }

/* ---------------- Titres de page / hero ---------------- */
.x78ec4997 { text-align: left; padding: 34px 0 10px; }
.x78ec4997 h1 {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(100deg, var(--text) 55%, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--text);
}
.x78ec4997 p { color: var(--text-muted); font-size: 1.02rem; margin-top: 6px; }
.x78ec4997::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    margin-top: 14px;
    background: var(--accent-grad);
}

/* Home : H1 + intro centrés */
.x1c180718 { text-align: center; }
.x1c180718::after { margin-left: auto; margin-right: auto; }
.x1c180718 .x12d9bcf2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.x2e124abc { color: var(--text-muted); line-height: 1.7; }

/* ---------------- Sections ---------------- */
.section { margin-bottom: 34px; }
.x2678832d h2, .section h2 {
    font-size: 1.3rem;
    font-weight: 800;
}
.x2678832d {
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 18px;
}
.xac15170a {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.65;
}

/* fil d'ariane */
.breadcrumb { font-size: .88rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--secondary); }

/* filtres */
.x904d4d6c,
[data-color-mode="dark"] .x904d4d6c {
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-weight: 600;
}
.x904d4d6c.active, .x904d4d6c:hover,
[data-color-mode="dark"] .x904d4d6c.active,
[data-color-mode="dark"] .x904d4d6c:hover {
    background: var(--accent-soft);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* recherche */
.x60808353 .xd1b65a0d, .xd1b65a0d {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    color: var(--text);
}
.xd1b65a0d:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px var(--accent-soft); }

/* ---------------- LISTE D'ANNONCES (remplace la grille) ---------------- */
.xa5bd76ce {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.xe7af5d27,
[data-color-mode="dark"] .x639c3232.xe7af5d27 {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
    overflow: hidden;
    position: relative;
}
.xe7af5d27:hover,
[data-color-mode="dark"] .x639c3232.xe7af5d27:hover {
    border-color: color-mix(in srgb, var(--secondary) 55%, var(--border));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.xe5f036d0 {
    position: relative;
    flex: 0 0 108px;
    width: 108px;
    height: 144px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-alt);
}
.xe7af5d27 .xe5f036d0 img,
.x639c3232.xe7af5d27 .xdf3cb038 {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    display: block;
}
.xe7af5d27 .xe5f036d0 img.blurred { filter: blur(var(--blur-amount, 12px)); transform: scale(1.1); }

/* Annonce sans photo : tuile neutre type petites annonces */
.xfaab5c53 {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in srgb, var(--text) 3%, transparent) 10px 20px),
        var(--bg-alt);
    border: 1px dashed var(--border);
}
.x830d596c {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
    padding: 8px;
}
.x9934fce7 { font-size: 1.5rem; opacity: .55; }
.x4b0c3f69 {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: .8rem;
}
.xa41a83fe { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 4px 0; }
.x7a08fda8 { margin: 0; font-size: 1.06rem; font-weight: 800; line-height: 1.3; }
.x7a08fda8 a, .x7a08fda8 span { color: var(--text); text-decoration: none; }
.xe7af5d27:hover .x7a08fda8 a { color: var(--secondary); }
.x0c106743 {
    margin: 0;
    color: var(--text-muted);
    font-size: .93rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.x34680088 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; align-items: center; }
.x2b07d113 {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 11px;
    text-decoration: none;
    white-space: nowrap;
}
.x2b07d113.x09314a45 { background: var(--accent-soft); border-color: transparent; color: var(--secondary); }
a.x2b07d113:hover { border-color: var(--secondary); color: var(--secondary); }
.x2b07d113.xd53454c8,
[data-color-mode="dark"] .x2b07d113.xd53454c8 {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--secondary);
}
.xe4979a88 {
    display: flex;
    align-items: center;
    padding-right: 8px;
}
.x68917277 {
    font-size: .85rem;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
    border: 1.5px solid color-mix(in srgb, var(--secondary) 45%, transparent);
    border-radius: 999px;
    padding: 8px 16px;
    transition: background .15s ease, color .15s ease;
}
.xe7af5d27:hover .x68917277 { background: var(--accent-grad); border-color: transparent; color: #fff; }
/* Mobile : même disposition que PC — photo à gauche, titre à droite, texte dessous */
@media (max-width: 640px) {
    .xe7af5d27,
    [data-color-mode="dark"] .x639c3232.xe7af5d27 {
        flex-direction: row;
        align-items: stretch;
        gap: 12px;
        padding: 10px;
    }
    .xe4979a88 { display: none; }
    .xe5f036d0 {
        flex: 0 0 96px;
        width: 96px;
        height: auto;
        min-height: 118px;
        align-self: stretch;
    }
    .xa41a83fe { padding: 2px 0; gap: 5px; }
    .x7a08fda8 { font-size: .95rem; line-height: 1.3; }
    .x0c106743 { font-size: .85rem; -webkit-line-clamp: 3; }
    .x34680088 { gap: 6px; }
    .x2b07d113 { font-size: .72rem; padding: 3px 9px; }
    /* on garde l'essentiel : âge + ville (vues/j'aime masqués, gain de place) */
    .x2b07d113.x5957e84d,
    .x2b07d113.x9aa4c2c0 { display: none; }
    .x830d596c { font-size: .64rem; }
    .x9934fce7 { font-size: 1.2rem; }
}

/* ---------------- CTA sections ---------------- */
.x81ed1986 {
    background:
        radial-gradient(600px 200px at 85% -40px, color-mix(in srgb, var(--secondary) 25%, transparent), transparent 70%),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--text);
}
.x81ed1986 h2 { color: var(--text); font-weight: 800; }
.x81ed1986 p { color: var(--text-muted); }

/* liens internes / nuage de tags */
.x34f3b6d4, .xdb474c1a a {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
}
.x34f3b6d4:hover, .xdb474c1a a:hover { border-color: var(--secondary); color: var(--secondary); background: var(--accent-soft); }

/* FAQ / duo info */
.x448927a4, .x5c11c7b1 {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* ---------------- Maillage interne : menus déroulants ---------------- */
.xd238285f {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    align-items: start;
    margin-bottom: 34px;
}
.xd238285f .linkbox { margin: 0; }
.linkbox {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 14px;
}
.linkbox[open] { border-color: color-mix(in srgb, var(--secondary) 40%, var(--border)); }
.xfbb3b1be {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    font-size: .98rem;
    color: var(--text);
    user-select: none;
}
.xfbb3b1be::-webkit-details-marker { display: none; }
.xfbb3b1be::after {
    content: "▾";
    color: var(--text-muted);
    transition: transform .15s ease;
    margin-left: auto;
}
.linkbox[open] .xfbb3b1be::after { transform: rotate(180deg); color: var(--secondary); }
.xc821e71d { flex: 1 1 auto; min-width: 0; }
.x4849c021 {
    flex: 0 0 auto;
    font-size: .75rem;
    font-weight: 700;
    color: var(--secondary);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 3px 10px;
}
.xc46b2299 {
    list-style: none;
    margin: 0;
    padding: 4px 12px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}
.xc46b2299 a {
    display: inline-block;
    font-size: .86rem;
    color: var(--text-muted);
    text-decoration: none;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 13px;
    transition: color .12s ease, border-color .12s ease;
}
.xc46b2299 a:hover { color: var(--secondary); border-color: var(--secondary); background: var(--accent-soft); }

/* ---------------- CTA + FAQ sur la même ligne ---------------- */
.x6ff9125b {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) 3fr;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 34px;
}
.x6ff9125b .x406170f7 { min-width: 0; display: flex; }
.x6ff9125b .x81ed1986 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    margin: 0;
}
.x6ff9125b .x81ed1986 .btn { align-self: flex-start; margin-top: 14px; }
.x6ff9125b .x07bcbf58 { flex-direction: column; }
.x6ff9125b .x57907749 {
    flex: 1 1 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 22px;
}
/* seul le CTA (pas de FAQ) ou l'inverse : la colonne restante prend tout */
.x6ff9125b:has(> .x406170f7:only-child) { grid-template-columns: 1fr; }
@media (max-width: 900px) {
    .x6ff9125b { grid-template-columns: 1fr; }
}

/* accordéons génériques (FAQ, lieux, météo) */
.xfc16469f {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}
.xfc16469f[open] { border-color: color-mix(in srgb, var(--secondary) 40%, var(--border)); }
.x69ae1420 {
    padding: 12px 15px;
    cursor: pointer;
    font-weight: 600;
    font-size: .93rem;
    color: var(--text);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.x69ae1420::-webkit-details-marker { display: none; }
.x69ae1420::after { content: "▾"; color: var(--text-muted); }
.xfc16469f[open] .x69ae1420::after { transform: rotate(180deg); color: var(--secondary); }
.x58db7a77 { padding: 0 15px 13px; color: var(--text-muted); font-size: .92rem; line-height: 1.6; }
.xd5628681 {
    font-size: .72rem;
    font-weight: 700;
    color: var(--secondary);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 2px 9px;
}
.x448927a4 {
    padding: 20px 22px;
    box-shadow: var(--shadow);
}
.x45c008a2 { font-weight: 800; }

/* ---------------- Bandeau de confiance (avant footer) ---------------- */
.xe6f6bf4c {
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
    padding: 18px 0;
}
.x53c7faa6 {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
}
.x32f7f245 {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.x1b7fa967 {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--secondary) 30%, transparent);
}
.x83d857c6 { display: flex; flex-direction: column; line-height: 1.25; }
.x83d857c6 strong { font-size: .84rem; color: var(--text); font-weight: 700; }
.x83d857c6 span { font-size: .76rem; color: var(--text-muted); }
@media (max-width: 700px) {
    .x53c7faa6 { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------------- Footer ----------------
   Le footer reste sur fond --primary (couleur du site) dans les DEUX modes :
   jamais les variables de surface (--bg-alt/--text-muted) qui donnent des
   panneaux beiges au texte gris illisibles en mode clair. Blanc partout. */
.xb9307448 {
    background: transparent;
    border-top: none;
    position: relative;
}
.xb9307448, .xb9307448 a { color: rgba(255,255,255,.72); }
.xb9307448 a:hover { color: #fff; }
.x11535545 .logo, .xb9307448 .logo { color: #fff !important; }
.x1ca389be { color: rgba(255,255,255,.55); }
.x38d8022c { border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.6); }

.xd158c77c {
    background: var(--accent-grad);
    color: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

/* ---------------- Popup inscription ---------------- */
.x003e94bf {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    color: var(--text);
}
.x8f83cba2 h2 { color: var(--text); font-weight: 800; }
.x8f83cba2 p { color: var(--text-muted); }
.x003e94bf .xa737d651 {
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text);
}
.x003e94bf .xa737d651:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px var(--accent-soft); }
.x2b13514f.active { background: var(--secondary); }

/* ---------------- Page annonce (raccords V2) ---------------- */
h1.titre_annonce {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    background: linear-gradient(100deg, var(--text) 60%, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.x3883c8df,
.xb23473e1,
.x2855a91b,
.x00159818,
.x7d662f00,
.xe910ea9f {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.x1453906a { border-radius: var(--radius); background: var(--bg-alt); }
.verif { background: #16a34a; }
