/* ============================================================
   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 */
.x04f66467 {
    background:
        radial-gradient(900px 320px at 18% -80px, color-mix(in srgb, var(--secondary) 14%, transparent), transparent 70%),
        var(--bg);
}

/* ---------------- Boutons ---------------- */
.btn,
.x25a887c4,
.x9c75a949,
.x8be45294 {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0;
}
.x25a887c4,
.x4938169d,
.x48fec73b,
.x7eeb6133 .btn {
    background: var(--accent-grad);
    color: #fff;
    border: 0;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--secondary) 35%, transparent);
}
.x25a887c4:hover,
.x4938169d:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}
.x9c75a949,
.x84a75783 {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.x9c75a949:hover { border-color: var(--secondary); color: var(--secondary); }

/* ---------------- Header ---------------- */
.x25df6878 {
    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;
}
.x7a6a7551 { min-height: 66px; }
.logo, .xb08d2031 {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text) !important;
    letter-spacing: -.03em;
    position: relative;
    padding-right: 14px;
}
.logo::after, .xb08d2031::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-grad);
}
.x82458c22 {
    background: transparent;
    border: 0;
    color: var(--text);
    font-weight: 600;
    border-radius: 999px;
    padding: 8px 14px;
}
.x82458c22:hover { background: var(--accent-soft); color: var(--secondary); }
.x1d9ea6a6 {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.x1d9ea6a6 a { color: var(--text); border-radius: 8px; }
.x1d9ea6a6 a:hover { background: var(--accent-soft); color: var(--secondary); }
.x6bc4850d, .xb7196cd5 {
    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);
}
.x6bc4850d: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. */
.x591e3f2e {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.x3804f4f7 { color: var(--text-muted); }

/* Hamburger sur le header surface : barres couleur texte du mode. */
.xdeee9135 { background: color-mix(in srgb, var(--text) 8%, transparent); }
.xdeee9135 span { background: var(--text); }

/* ---------------- Titres de page / hero ---------------- */
.x9226f9ca { text-align: left; padding: 34px 0 10px; }
.x9226f9ca 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);
}
.x9226f9ca p { color: var(--text-muted); font-size: 1.02rem; margin-top: 6px; }
.x9226f9ca::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    margin-top: 14px;
    background: var(--accent-grad);
}

/* Home : H1 + intro centrés */
.x3ad1fa1c { text-align: center; }
.x3ad1fa1c::after { margin-left: auto; margin-right: auto; }
.x3ad1fa1c .x47aa31b3 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.x5e89a55f { color: var(--text-muted); line-height: 1.7; }

/* ---------------- Sections ---------------- */
.section { margin-bottom: 34px; }
.x757942c3 h2, .section h2 {
    font-size: 1.3rem;
    font-weight: 800;
}
.x757942c3 {
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 18px;
}
.xe48d8450 {
    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 */
.xe9070f75,
[data-color-mode="dark"] .xe9070f75 {
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-weight: 600;
}
.xe9070f75.active, .xe9070f75:hover,
[data-color-mode="dark"] .xe9070f75.active,
[data-color-mode="dark"] .xe9070f75:hover {
    background: var(--accent-soft);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* recherche */
.xc651db58 .x8e99954f, .x8e99954f {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    color: var(--text);
}
.x8e99954f:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px var(--accent-soft); }

/* ---------------- LISTE D'ANNONCES (remplace la grille) ---------------- */
.x54a39f36 {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.x328f4798,
[data-color-mode="dark"] .x9c918887.x328f4798 {
    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;
}
.x328f4798:hover,
[data-color-mode="dark"] .x9c918887.x328f4798:hover {
    border-color: color-mix(in srgb, var(--secondary) 55%, var(--border));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.xbf8e0691 {
    position: relative;
    flex: 0 0 108px;
    width: 108px;
    height: 144px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-alt);
}
.x328f4798 .xbf8e0691 img,
.x9c918887.x328f4798 .x7665d252 {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    display: block;
}
.x328f4798 .xbf8e0691 img.blurred { filter: blur(var(--blur-amount, 12px)); transform: scale(1.1); }

/* Annonce sans photo : tuile neutre type petites annonces */
.xa3573a8e {
    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);
}
.xa3c94b62 {
    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;
}
.xf8563bd9 { font-size: 1.5rem; opacity: .55; }
.x95a0b328 {
    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;
}
.x36d4187a { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 4px 0; }
.x870fd4cf { margin: 0; font-size: 1.06rem; font-weight: 800; line-height: 1.3; }
.x870fd4cf a, .x870fd4cf span { color: var(--text); text-decoration: none; }
.x328f4798:hover .x870fd4cf a { color: var(--secondary); }
.x087ae78a {
    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;
}
.xabe111b4 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; align-items: center; }
.xf836f52a {
    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;
}
.xf836f52a.x298210f3 { background: var(--accent-soft); border-color: transparent; color: var(--secondary); }
a.xf836f52a:hover { border-color: var(--secondary); color: var(--secondary); }
.xf836f52a.x8efaa856,
[data-color-mode="dark"] .xf836f52a.x8efaa856 {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--secondary);
}
.xac8bf9eb {
    display: flex;
    align-items: center;
    padding-right: 8px;
}
.x1d3248e9 {
    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;
}
.x328f4798:hover .x1d3248e9 { 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) {
    .x328f4798,
    [data-color-mode="dark"] .x9c918887.x328f4798 {
        flex-direction: row;
        align-items: stretch;
        gap: 12px;
        padding: 10px;
    }
    .xac8bf9eb { display: none; }
    .xbf8e0691 {
        flex: 0 0 96px;
        width: 96px;
        height: auto;
        min-height: 118px;
        align-self: stretch;
    }
    .x36d4187a { padding: 2px 0; gap: 5px; }
    .x870fd4cf { font-size: .95rem; line-height: 1.3; }
    .x087ae78a { font-size: .85rem; -webkit-line-clamp: 3; }
    .xabe111b4 { gap: 6px; }
    .xf836f52a { font-size: .72rem; padding: 3px 9px; }
    /* on garde l'essentiel : âge + ville (vues/j'aime masqués, gain de place) */
    .xf836f52a.x102ed0ff,
    .xf836f52a.xf2ccf02b { display: none; }
    .xa3c94b62 { font-size: .64rem; }
    .xf8563bd9 { font-size: 1.2rem; }
}

/* ---------------- CTA sections ---------------- */
.xe54c765e {
    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);
}
.xe54c765e h2 { color: var(--text); font-weight: 800; }
.xe54c765e p { color: var(--text-muted); }

/* liens internes / nuage de tags */
.xd6ab8cba, .x65a544be a {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
}
.xd6ab8cba:hover, .x65a544be a:hover { border-color: var(--secondary); color: var(--secondary); background: var(--accent-soft); }

/* FAQ / duo info */
.x05fe657a, .xe12d1303 {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* ---------------- Maillage interne : menus déroulants ---------------- */
.x22354609 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    align-items: start;
    margin-bottom: 34px;
}
.x22354609 .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)); }
.xc89f8847 {
    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;
}
.xc89f8847::-webkit-details-marker { display: none; }
.xc89f8847::after {
    content: "▾";
    color: var(--text-muted);
    transition: transform .15s ease;
    margin-left: auto;
}
.linkbox[open] .xc89f8847::after { transform: rotate(180deg); color: var(--secondary); }
.x86da1764 { flex: 1 1 auto; min-width: 0; }
.x240eadd7 {
    flex: 0 0 auto;
    font-size: .75rem;
    font-weight: 700;
    color: var(--secondary);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 3px 10px;
}
.x8d8a83fe {
    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;
}
.x8d8a83fe 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;
}
.x8d8a83fe a:hover { color: var(--secondary); border-color: var(--secondary); background: var(--accent-soft); }

/* ---------------- CTA + FAQ sur la même ligne ---------------- */
.xf11a7143 {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) 3fr;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 34px;
}
.xf11a7143 .x143edf2e { min-width: 0; display: flex; }
.xf11a7143 .xe54c765e {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    margin: 0;
}
.xf11a7143 .xe54c765e .btn { align-self: flex-start; margin-top: 14px; }
.xf11a7143 .xc3b0c016 { flex-direction: column; }
.xf11a7143 .x3239f347 {
    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 */
.xf11a7143:has(> .x143edf2e:only-child) { grid-template-columns: 1fr; }
@media (max-width: 900px) {
    .xf11a7143 { grid-template-columns: 1fr; }
}

/* accordéons génériques (FAQ, lieux, météo) */
.x34c85d93 {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}
.x34c85d93[open] { border-color: color-mix(in srgb, var(--secondary) 40%, var(--border)); }
.x5373d4d7 {
    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;
}
.x5373d4d7::-webkit-details-marker { display: none; }
.x5373d4d7::after { content: "▾"; color: var(--text-muted); }
.x34c85d93[open] .x5373d4d7::after { transform: rotate(180deg); color: var(--secondary); }
.x033117db { padding: 0 15px 13px; color: var(--text-muted); font-size: .92rem; line-height: 1.6; }
.x98609a50 {
    font-size: .72rem;
    font-weight: 700;
    color: var(--secondary);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 2px 9px;
}
.x05fe657a {
    padding: 20px 22px;
    box-shadow: var(--shadow);
}
.xff915ed0 { font-weight: 800; }

/* ---------------- Bandeau de confiance (avant footer) ---------------- */
.xb9f5b0fd {
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
    padding: 18px 0;
}
.xf3a15631 {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
}
.x1c54e431 {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.xaceb1f86 {
    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);
}
.x9fd437fa { display: flex; flex-direction: column; line-height: 1.25; }
.x9fd437fa strong { font-size: .84rem; color: var(--text); font-weight: 700; }
.x9fd437fa span { font-size: .76rem; color: var(--text-muted); }
@media (max-width: 700px) {
    .xf3a15631 { 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. */
.xddf4c3cc {
    background: transparent;
    border-top: none;
    position: relative;
}
.xddf4c3cc, .xddf4c3cc a { color: rgba(255,255,255,.72); }
.xddf4c3cc a:hover { color: #fff; }
.x57dee112 .logo, .xddf4c3cc .logo { color: #fff !important; }
.xa3850370 { color: rgba(255,255,255,.55); }
.x699d4180 { border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.6); }

.x76cb7a72 {
    background: var(--accent-grad);
    color: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

/* ---------------- Popup inscription ---------------- */
.x648b4f5b {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    color: var(--text);
}
.x877bf3da h2 { color: var(--text); font-weight: 800; }
.x877bf3da p { color: var(--text-muted); }
.x648b4f5b .x6a30d290 {
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text);
}
.x648b4f5b .x6a30d290:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px var(--accent-soft); }
.xf606a88d.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;
}
.x0ed7c4e1,
.xd887c4c1,
.xf85d749d,
.x5660ca27,
.x9d686aa6,
.x8e64b7bd {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.xf6bf8b0d { border-radius: var(--radius); background: var(--bg-alt); }
.verif { background: #16a34a; }
