/* ============================================================
   onvacoucher.com — Refonte mobile-first 2026-05-07
   Palette alignée sur le logo (rose magenta sur fond clair).
   Typographie fluide (clamp), bottom-nav mobile, drawer hamburger.
   ============================================================ */

:root {
    --rose:        #fc3e73;
    --rose-deep:   #d92757;
    --rose-soft:   #ffd5e2;
    --rose-bg:     #fff8fa;
    --ink:         #1a1a1a;
    --ink-soft:    #57515a;
    --ink-mute:    #8a7e87;
    --paper:       #ffffff;
    --line:        #ffe0eb;
    --shadow-sm:   0 1px 3px rgba(252,62,115,.08), 0 1px 2px rgba(26,26,26,.04);
    --shadow-md:   0 4px 14px rgba(252,62,115,.10), 0 2px 4px rgba(26,26,26,.04);
    --radius:      10px;
    --radius-sm:   6px;
    --bottom-nav-h: 60px;
    --header-h:    60px;
    --maxw:        1100px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 0.4vw + 14px, 16px);
    line-height: 1.55;
    color: var(--ink);
    background: var(--rose-bg);
    overflow-x: hidden;
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--rose-deep); }

/* ============================================================
   Header / logo / hamburger
   ============================================================ */

#page {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 12px 24px;
    position: relative;
}

#logo {
    display: block;
    width: clamp(180px, 50vw, 240px);
    margin: 14px auto 6px;
}

#logo img {
    width: 100%;
    height: auto;
}

.menu_btn {
    display: block;
    width: 44px;
    height: 44px;
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--rose) url(../img/menu_bg.png) center/22px 22px no-repeat;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: background-color .15s;
}
.menu_btn:hover { background-color: var(--rose-deep); }

/* Drawer hamburger (secondaires uniquement) */
#menu {
    position: fixed;
    top: 0;
    right: -260px;
    bottom: 0;
    width: 260px;
    background: var(--rose);
    z-index: 9999;
    box-shadow: -4px 0 20px rgba(0,0,0,.15);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#menu ul { list-style: none; padding: 0; margin: 0; }

#menu ul li {
    border-bottom: 1px solid rgba(255,255,255,.18);
}

#menu ul li a {
    display: block;
    padding: 16px 22px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: background-color .15s;
}

#menu ul li a:hover,
#menu ul li.active a {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.close {
    display: block;
    position: absolute;
    top: 0;
    left: -47px;
    width: 47px;
    height: 47px;
    background: var(--ink) url(../img/croix.png) center/16px 16px no-repeat;
    border-radius: 50% 0 0 50%;
}

/* Top inline nav (desktop only — révélée >= 768px) */
.top-nav {
    display: none;
    margin: 4px auto 14px;
    padding: 0;
    list-style: none;
    text-align: center;
}
.top-nav li { display: inline-block; margin: 0 4px; }
.top-nav a {
    display: inline-block;
    padding: 8px 14px;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: background-color .15s, color .15s;
}
.top-nav a:hover,
.top-nav li.active a {
    background: var(--rose);
    color: #fff;
}

/* ============================================================
   Articles (cards listing) — mobile-first
   ============================================================ */

#articles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 4px;
}

.article {
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
    min-width: 0;
    width: auto;
    float: none;
    margin: 0;
    border-top: 0;
}
.article:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.article > a { display: block; color: inherit; }

/* Card image hero (listing) */
.article .card-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--rose-soft) center/cover no-repeat;
}

/* Overlay sur image — texte clair sur dégradé sombre */
.card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 14px 12px;
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,0) 100%);
    color: #fff;
}

.article h2 {
    margin: 0;
    padding: 0;
    font-size: clamp(17px, 1vw + 15px, 20px);
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
}
.article h2 .sex {
    font-size: .65em;
    font-weight: 500;
    color: var(--rose-soft);
    text-transform: lowercase;
    margin-left: 4px;
}

.card-meta {
    margin: 4px 0 6px;
    padding: 0;
    font-size: 13px;
    line-height: 1.3;
    color: var(--rose-soft);
    font-weight: 600;
}

.article .card-overlay p {
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255,255,255,.88);
    font-weight: 400;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

a.read_more,
.read_more {
    display: inline-block;
    margin-top: 8px;
    padding: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    background: none;
    height: auto;
    line-height: 1.2;
}
.read_more::after { content: ' \203A'; }

/* Listing title */
.listing-title {
    background: transparent;
    box-shadow: none;
    text-align: center;
    padding: 8px 12px 0;
    margin: 0;
}
.listing-title h1 {
    margin: 0 0 4px;
    font-size: clamp(22px, 2vw + 18px, 30px);
    line-height: 1.2;
    font-weight: 800;
    color: var(--rose);
    letter-spacing: -.01em;
}
.listing-title p {
    margin: 0;
    font-size: 13px;
    color: var(--ink-mute);
    font-weight: 500;
}

/* Empty state */
.empty-state {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    color: var(--ink-soft);
    box-shadow: var(--shadow-sm);
}
.empty-state h2 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
}

/* ============================================================
   Pagination
   ============================================================ */

.pagination {
    padding: 24px 0 8px;
    text-align: center;
    clear: both;
    grid-column: 1 / -1;
}
.pagination a,
.pagination span {
    display: inline-block;
    min-width: 38px;
    padding: 8px 12px;
    margin: 3px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    background: var(--paper);
    color: var(--ink-soft);
    box-shadow: var(--shadow-sm);
    transition: background-color .15s, color .15s;
}
.pagination a:hover { background: var(--rose); color: #fff; }
.pagination span.current { background: var(--rose); color: #fff; }

/* ============================================================
   Detail page
   ============================================================ */

.detail-card,
.gallery,
.theme-prose,
.listing-title,
.empty-state {
    grid-column: 1 / -1;
}

.detail-card {
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin: 0 0 12px;
}

.breadcrumb {
    padding: 12px 16px 0;
    margin: 0;
    font-size: 13px;
    color: var(--ink-mute);
    font-weight: 500;
}
.breadcrumb a { color: var(--rose); font-weight: 600; }

.detail-card h1 {
    margin: 8px 16px 4px;
    padding: 0;
    font-size: clamp(22px, 2vw + 16px, 28px);
    line-height: 1.2;
    font-weight: 800;
    color: var(--ink);
}
.detail-card h1 .sex {
    font-size: .55em;
    font-weight: 500;
    color: var(--rose);
    text-transform: lowercase;
    margin-left: 4px;
}
.detail-card h1 .age-town {
    display: block;
    font-size: .55em;
    font-weight: 500;
    color: var(--ink-mute);
    margin-top: 4px;
}

.detail-info {
    margin: 0;
    padding: 4px 16px;
    font-size: 14px;
    color: var(--ink-soft);
}
.detail-info strong { color: var(--rose); font-weight: 700; }

.detail-desc {
    padding: 12px 16px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.65;
}

.detail-tags { padding: 4px 16px 16px; }
.tag {
    display: inline-block;
    background: var(--rose-soft);
    color: var(--rose-deep);
    padding: 4px 10px;
    margin: 2px 4px 2px 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0 0 12px;
}
.gallery img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-card {
    text-align: center;
    padding: 18px 16px 22px;
}
.contact-card h2 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
}
.contact-card .label {
    font-size: 13px;
    color: var(--ink-mute);
    margin: 8px 0 6px;
    font-weight: 500;
}
.contact-card .phone-img {
    display: block;
    margin: 0 auto 10px;
    height: 32px;
    width: auto;
    max-width: 100%;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    padding: 4px 8px;
}

.btn-cta {
    display: inline-block;
    padding: 12px 22px;
    background: var(--rose);
    color: #fff;
    border: 0;
    border-radius: var(--radius-sm);
    font: 600 15px/1 'Open Sans', sans-serif;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background-color .15s, transform .15s;
}
.btn-cta:hover { background: var(--rose-deep); color: #fff; transform: translateY(-1px); }
.btn-cta:active { transform: translateY(0); }

/* "D'autres profils" */
.golds-card { padding: 14px 12px 18px; }
.golds-card h2 {
    margin: 0 0 10px;
    padding: 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}
.golds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 8px;
}
.golds-grid a {
    display: block;
    text-align: center;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.25;
}
.golds-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    box-shadow: var(--shadow-sm);
}
.golds-grid .gold-town { color: var(--rose); font-weight: 600; display: block; }

/* ============================================================
   Saisie / account / conditions
   ============================================================ */

.theme-prose {
    background: var(--paper);
    color: var(--ink);
    padding: 18px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin: 4px 0 12px;
    line-height: 1.65;
}
.theme-prose h1, .theme-prose h2, .theme-prose h3 { color: var(--ink); }
.theme-prose h1 { font-size: clamp(20px, 2vw + 16px, 26px); font-weight: 800; }
.theme-prose h2 { font-size: 18px; font-weight: 700; margin-top: 18px; }
.theme-prose a   { color: var(--rose); }

.cat-list { list-style: none; padding: 0; margin: 8px 0 0; }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list li:last-child { border-bottom: 0; }
.cat-list li a {
    display: block;
    padding: 14px 4px;
    color: var(--rose);
    font-size: 16px;
    font-weight: 600;
}
.cat-list li a:hover { color: var(--rose-deep); }

.disclaimer-meta {
    color: var(--ink-mute);
    font-size: 12px;
    padding: 6px 16px 12px;
    margin: 0;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    padding: 28px 16px 18px;
    text-align: center;
    color: var(--ink-mute);
    font-size: 13px;
    line-height: 1.55;
}
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: var(--rose); font-weight: 600; }
.site-footer .sep { color: var(--ink-mute); margin: 0 6px; }
.site-footer .copyright { color: var(--ink-mute); font-size: 12px; margin-top: 10px; }

/* ============================================================
   Bottom nav (mobile uniquement)
   ============================================================ */

.bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 -2px 14px rgba(252,62,115,.10);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: var(--bottom-nav-h);
    padding: 6px 2px;
    color: var(--ink-mute);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color .12s;
}
.bottom-nav a:hover { color: var(--rose); }
.bottom-nav a.active { color: var(--rose); }
.bottom-nav .ico {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}
.bottom-nav .lbl {
    display: block;
    line-height: 1;
}

/* ============================================================
   Breakpoints
   ============================================================ */

/* Tablette : 2 colonnes listing */
@media (min-width: 600px) {
    #articles { grid-template-columns: 1fr 1fr; gap: 14px; }
    #page { padding: 0 16px 28px; }
}

/* Desktop : 3 colonnes + bottom-nav OFF + top-nav ON */
@media (min-width: 768px) {
    body { padding-bottom: 0; }
    .bottom-nav { display: none; }
    .menu_btn   { display: none; }

    .top-nav { display: block; }

    #logo { margin: 18px auto 4px; }
    #articles { grid-template-columns: repeat(3, 1fr); gap: 16px; }

    .gallery { grid-template-columns: 1fr 1fr; }
}

/* Large desktop : 4 colonnes */
@media (min-width: 1100px) {
    #articles { grid-template-columns: repeat(4, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .article, .btn-cta { transition: none; }
}
