/* POLICES */
@font-face {
    font-family: 'TRJN DaVinci';
    src: url('assets/fonts/TRJN DaVinci Text.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MonumentGrotesk-Mono';
    src: url('assets/fonts/MonumentGrotesk-Mono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-body: #FFFFFF;
    --brand-color: #D65655;
    --accent-color: #F4D3D7;
    --accent-soft: #FFF0F3; 
    --font-main: 'TRJN DaVinci', 'Times New Roman', serif;
    --font-tech: 'MonumentGrotesk-Mono', 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); background-color: var(--bg-body); color: var(--brand-color); -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
.container { max-width: 1500px; margin: 0 auto; padding: 0 40px; width: 100%; }

/* HEADLINE */
.headline-container { padding: 60px 0 40px; text-align: center; }
.headline-container h1 { font-family: var(--font-main); font-size: 5vw; line-height: 1.1; color: var(--brand-color); max-width: 900px; margin: 0 auto; font-weight: normal; }

/* HEADER */
.site-header { padding: 20px 0; background: rgba(255,255,255,0.98); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--accent-color); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.header-top-row { display: contents; } /* En desktop, pas besoin de wrapper */
.brand-group { cursor: pointer; display: flex; flex-direction: column; }
.logo-text { font-family: var(--font-main); font-size: 32px; line-height: 1; text-transform: uppercase; }
.brand-badge { font-family: var(--font-tech); font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--brand-color); margin-top: 6px; opacity: 0.8; }

/* NAV */
.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav a { text-decoration: none; color: var(--brand-color); font-family: var(--font-tech); text-transform: uppercase; font-size: 12px; transition: opacity 0.2s; position: relative; opacity: 1; }
.main-nav a:hover { opacity: 0.6; }

#favCountBadge { 
    font-size: 12px; 
    font-family: var(--font-tech); 
    color: var(--brand-color); 
    margin-left: 2px;
}

/* Bouton Submit Header - Style solide au hover */
.btn-submit { padding: 10px 24px; border: 1px solid var(--accent-color); border-radius: 4px; font-family: var(--font-tech); font-size: 11px; text-transform: uppercase; transition: all 0.2s; color: var(--brand-color) !important; }
.btn-submit:hover { background: var(--brand-color); color: white !important; border-color: var(--brand-color); opacity: 1 !important; }

/* SEARCH + SUGGESTIONS */
.search-container { position: relative; }
.search-wrapper { display: flex; align-items: center; background: #FFF; border: 1px solid var(--accent-color); border-radius: 4px; padding: 8px 16px; gap: 8px; width: 280px; transition: 0.2s; }
.search-wrapper:focus-within { border-color: var(--brand-color); }
.search-wrapper svg { color: var(--brand-color); }
.search-wrapper input { border: none; background: transparent; width: 100%; font-size: 10px; font-family: var(--font-tech); text-transform: uppercase; color: var(--brand-color); outline: none; }
.search-wrapper input::placeholder { color: var(--accent-color); opacity: 1; }

/* BOUTON TOGGLE RECHERCHE MOBILE */
.search-toggle-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--brand-color);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.search-toggle-btn:hover {
    opacity: 0.6;
}

.search-close-btn {
    display: none;
    background: none;
    border: none;
    color: var(--brand-color);
    font-size: 20px;
    cursor: pointer;
    padding: 0 10px;
}

.search-suggestions { position: absolute; top: 100%; left: 0; width: 100%; background: white; border: 1px solid var(--accent-color); border-radius: 4px; margin-top: 5px; max-height: 200px; overflow-y: auto; z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.suggestion-item { padding: 10px 15px; cursor: pointer; border-bottom: 1px solid var(--accent-soft); font-family: var(--font-tech); font-size: 11px; color: var(--brand-color); display: flex; justify-content: space-between; text-transform: uppercase; }
.suggestion-item:hover { background: var(--accent-soft); }
.sugg-type { opacity: 0.5; font-size: 9px; text-transform: uppercase; }

/* FILTERS & SORT */
.filters-bar { padding: 20px 0; border-bottom: 1px solid var(--accent-color); margin-bottom: 40px; }
.filter-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.filter-groups { display: flex; gap: 15px; align-items: center; }
.sort-group { display: flex; gap: 10px; align-items: center; }

.filter-label { font-family: var(--font-tech); font-size: 10px; text-transform: uppercase; opacity: 0.6; }
.filter-type-btn { background: none; border: none; font-family: var(--font-tech); font-size: 11px; text-transform: uppercase; color: var(--brand-color); cursor: pointer; opacity: 0.4; transition: 0.2s; }
.filter-type-btn:hover { opacity: 1; }
.filter-type-btn.active { opacity: 1; text-decoration: underline; }

.filter-reset-btn { background: none; border: 1px solid var(--brand-color); font-family: var(--font-tech); font-size: 10px; text-transform: uppercase; color: var(--brand-color); cursor: pointer; padding: 4px 8px; border-radius: 4px; }
.filter-reset-btn:hover { background: var(--brand-color); color: white; }

/* Dropdown de tri */
#sortSelect { 
    background: transparent; 
    border: none; 
    font-family: var(--font-tech); 
    font-size: 11px; 
    text-transform: uppercase; 
    color: var(--brand-color); 
    cursor: pointer; 
    outline: none; 
    padding-right: 15px;
}

.tags-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filter-tag { background: transparent; border: 1px solid var(--accent-color); font-family: var(--font-tech); font-size: 11px; text-transform: uppercase; color: var(--brand-color); cursor: pointer; padding: 8px 16px; border-radius: 4px; transition: 0.2s; white-space: nowrap; }
.filter-tag:hover { background: var(--accent-soft); }
.filter-tag.active { background: var(--brand-color); color: white; border-color: var(--brand-color); }

/* ACTIVE FILTERS (Sans gras) */
.active-filters-area { display: flex; gap: 15px; margin-top: 15px; flex-wrap: wrap; }
.active-pill { 
    font-family: var(--font-tech); 
    font-size: 11px; 
    text-transform: uppercase; 
    color: var(--brand-color); 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    font-weight: normal; /* Pas de gras */
}
.active-pill:hover { opacity: 0.6; }
.active-pill .close-icon { width: 10px; height: 10px; font-size: 11px; vertical-align: middle; }

/* GRID & CARD */
.sites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 50px 30px; }

.section-label { font-family: var(--font-tech); font-size: 14px; text-transform: uppercase; margin-bottom: 20px; color: var(--brand-color); }
.catalog-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; margin-top: 40px; }
.count-display { font-family: var(--font-tech); font-size: 14px; color: var(--brand-color); text-transform: uppercase; }

.site-card { text-decoration: none; display: block; color: var(--brand-color); position: relative; }
.card-image-container { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--accent-soft); margin-bottom: 16px; border-radius: 2px; }

/* Optimisation images avec shimmer loading */
.site-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    will-change: transform;
}
.site-card:hover .site-image { transform: scale(1.03); }

/* Effet shimmer pendant chargement */
.card-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--accent-soft) 0%, var(--accent-color) 50%, var(--accent-soft) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

.site-image[src] {
    position: relative;
    z-index: 2;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Bouton Visite Directe */
.direct-visit-btn {
    position: absolute; bottom: 10px; right: 10px; width: 30px; height: 30px; background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--brand-color);
    opacity: 0; transform: translateY(10px); transition: all 0.3s; z-index: 5;
}
.direct-visit-btn svg {
    width: 14px;
    height: 14px;
}
.site-card:hover .direct-visit-btn { opacity: 1; transform: translateY(0); }
.direct-visit-btn:hover { background: var(--brand-color); color: white; }

/* CARD META (Avec date en bas à droite) */
.card-meta { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 12px; }
.meta-left { flex: 1; }
.site-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.site-title { font-family: var(--font-main); font-size: 20px; font-weight: normal; color: var(--brand-color); margin: 0; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.meta-tag { font-family: var(--font-tech); font-size: 10px; text-transform: uppercase; color: var(--brand-color); opacity: 0.7; }

/* Tag NEW */
.new-tag {
    font-family: var(--font-tech);
    font-size: 9px;
    background: var(--brand-color);
    color: white;
    padding: 2px 5px;
    border-radius: 2px;
    text-transform: uppercase;
}

/* Date Home (Discrète sous l'image) */
.site-date-home { 
    font-family: var(--font-tech); 
    font-size: 10px; 
    text-transform: uppercase; 
    color: var(--brand-color); 
    opacity: 0.5;
    white-space: nowrap;
}

/* COEUR (Sur l'image, en haut à droite) */
.btn-heart { position: absolute; top: 15px; right: 15px; z-index: 10; background: rgba(255,255,255,0.9); border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform 0.2s; color: var(--accent-color); }
.btn-heart:hover { transform: scale(1.1); color: var(--brand-color); }
.btn-heart.liked { color: var(--brand-color); }
.btn-heart svg { width: 18px; height: 18px; fill: transparent; stroke: currentColor; stroke-width: 2px; }
.btn-heart.liked svg { fill: var(--brand-color); stroke: var(--brand-color); }

/* PAGINATION */
.pagination-container { display: flex; justify-content: center; gap: 8px; margin-top: 40px; margin-bottom: 40px; padding-top: 40px; border-top: 1px solid var(--accent-color); }
.page-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--accent-color); background: transparent; font-family: var(--font-tech); font-size: 12px; color: var(--brand-color); cursor: pointer; border-radius: 50%; transition: 0.2s; text-transform: uppercase; }
.page-btn svg {
    width: 12px;
    height: 12px;
}
.page-btn:hover { border-color: var(--brand-color); background: var(--accent-soft); }
.page-btn.active { background: var(--brand-color); color: white; border-color: var(--brand-color); }
.page-btn.dots { border: none; cursor: default; }

/* OVERLAYS */
.about-overlay { position: fixed; inset: 0; background: rgba(255,255,255,0.98); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.about-content { max-width: 700px; max-height: 90vh; overflow-y: auto; text-align: center; position: relative; border: 1px solid var(--accent-color); padding: 60px; border-radius: 12px; background: white; }
.about-inner h2 { font-family: var(--font-main); font-size: 42px; margin-bottom: 20px; color: var(--brand-color); }
.about-inner h3 { font-family: var(--font-tech); font-size: 14px; text-transform: uppercase; margin-top: 20px; margin-bottom: 10px; }
.about-inner p { font-family: var(--font-main); font-size: 18px; line-height: 1.5; color: var(--brand-color); margin-bottom: 10px; }
.btn-close-about { position: absolute; top: 20px; right: 20px; background: none; border: none; cursor: pointer; color: var(--brand-color); font-size: 24px; }
.btn-primary {
    display: inline-block;
    background: var(--brand-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-tech);
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-primary:hover {
    background: #B23D3D;
}

/* FOOTER */
.footer { padding: 40px 0; margin-top: auto; border-top: 1px solid var(--accent-color); }
.footer-inner { display: flex; justify-content: space-between; font-size: 12px; font-family: var(--font-tech); color: var(--brand-color); text-transform: uppercase; }
.footer-socials { display: flex; gap: 20px; align-items: center; }
.footer-socials a { color: var(--brand-color); text-decoration: none; transition: opacity 0.2s; }
.btn-contact { padding: 8px 16px; border: 1px solid var(--brand-color); border-radius: 4px; transition: all 0.2s; text-transform: uppercase; }
.btn-contact:hover { background: var(--brand-color); color: white !important; }

/* LOADING */
.loading { text-align: center; padding: 60px 0; }
.spinner { width: 30px; height: 30px; border: 2px solid var(--accent-color); border-top-color: var(--brand-color); border-radius: 50%; animation: spin 1s infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-msg { text-align: center; padding: 40px; color: var(--brand-color); font-family: var(--font-tech); text-transform: uppercase; }

/* --- CSS PAGE DÉTAIL --- */
.detail-nav { padding: 20px 0; }
.back-btn {
    background: none; border: none; font-family: var(--font-tech); text-transform: uppercase; font-size: 14px;
    color: var(--brand-color); cursor: pointer; padding: 10px 0; transition: opacity 0.2s;
    display: flex; align-items: center; gap: 8px;
}
.back-btn svg {
    width: 14px;
    height: 14px;
}
.back-btn:hover { opacity: 0.7; }

.detail-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; margin-top: 20px; padding-bottom: 80px; align-items: start; }

/* STICKY COLUMN */
.detail-info {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.detail-header-group { margin-bottom: 30px; border-bottom: 1px solid var(--accent-color); padding-bottom: 20px; }
.detail-category { font-family: var(--font-tech); font-size: 11px; text-transform: uppercase; background: var(--accent-soft); padding: 4px 8px; border-radius: 4px; color: var(--brand-color); display: inline-block; margin-bottom: 10px; }
.detail-title { font-family: var(--font-main); font-size: 42px; line-height: 1.1; margin: 10px 0 20px; font-weight: normal; }

.detail-actions { display: flex; gap: 15px; align-items: center; }
.visit-site-btn {
    background: var(--brand-color); color: white; padding: 12px 24px; font-family: var(--font-tech);
    font-size: 12px; text-transform: uppercase; text-decoration: none; border-radius: 4px;
    transition: 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.visit-site-btn svg {
    width: 14px;
    height: 14px;
}
.visit-site-btn:hover { background: #B23D3D; }

.btn-heart-detail { background: white; border: 1px solid var(--accent-color); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--accent-color); transition: 0.2s; }
.btn-heart-detail:hover { border-color: var(--brand-color); color: var(--brand-color); }
.btn-heart-detail.liked { background: var(--brand-color); color: white; border-color: var(--brand-color); }
.btn-heart-detail svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn-heart-detail.liked svg { fill: white; stroke: white; }

.detail-block { margin-bottom: 30px; }
.detail-label { font-family: var(--font-tech); font-size: 10px; text-transform: uppercase; color: var(--brand-color); opacity: 0.6; margin-bottom: 8px; letter-spacing: 1px; }
.detail-desc { font-size: 16px; line-height: 1.6; opacity: 0.9; }
.detail-text { font-family: var(--font-tech); font-size: 14px; text-transform: uppercase; }

/* Date très discrète dans le détail */
.detail-date { opacity: 0.5; font-size: 12px; }

.date-under-image { margin-top: 15px; margin-bottom: 20px; }
.date-under-image .detail-label { font-size: 9px; opacity: 0.7; }
.date-under-image .detail-text { font-size: 11px; }

.visual-wrapper { position: relative; }

.date-overlay { margin-top: 10px; text-align: right; color: var(--brand-color); font-size: 10px; font-family: var(--font-tech); text-transform: uppercase; }

.detail-row { display: flex; gap: 40px; }
.detail-block.half { flex: 1; }

.color-group { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.color-row { display: flex; gap: 15px; }
.color-dot { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--accent-color); box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.color-hex { font-family: var(--font-tech); font-size: 9px; text-transform: uppercase; opacity: 0.6; }

.tech-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pill { border: 1px solid var(--accent-color); padding: 6px 12px; border-radius: 20px; font-family: var(--font-tech); font-size: 10px; text-transform: uppercase; }

.share-links { display: flex; gap: 10px; margin-top: 10px; }
.share-btn { font-family: var(--font-tech); font-size: 11px; text-transform: uppercase; text-decoration: none; color: var(--brand-color); border: 1px solid var(--accent-color); padding: 8px 16px; border-radius: 4px; transition: 0.2s; }
.share-btn:hover { background: var(--brand-color); color: white; border-color: var(--brand-color); }

.detail-img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 10px 40px rgba(214, 86, 85, 0.1); border: 1px solid var(--accent-color); }

/* CONTENU NOTION */
.notion-content { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--accent-color); }
.notion-content p { font-size: 16px; line-height: 1.6; margin-bottom: 20px; color: var(--brand-color); }
.notion-content h2, .notion-content h3 { font-family: var(--font-main); margin-bottom: 15px; margin-top: 30px; font-weight: normal; }
.notion-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 20px 0; }
.notion-content li { margin-bottom: 10px; padding-left: 20px; }

/* SIMILAR SITES SECTION */
.similar-sites-section { margin-top: 80px; padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--accent-color); }
.similar-title { font-family: var(--font-tech); font-size: 14px; text-transform: uppercase; margin-bottom: 30px; color: var(--brand-color); }

/* ANIMATION NOTIFICATION COPIE */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    15% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    85% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
}

/* PAGES STATIQUES (MANIFESTO & LEGAL) */
.static-page-content {
    padding: 60px 0 80px;
    min-height: 60vh;
}

.static-article {
    max-width: 800px;
    margin: 0 auto;
}

.static-article h1 {
    font-family: var(--font-main);
    font-size: 48px;
    line-height: 1.1;
    color: var(--brand-color);
    margin-bottom: 40px;
    font-weight: normal;
    text-align: center;
}

.manifesto-content, .legal-content {
    font-family: var(--font-main);
}

.manifesto-content section, .legal-content section {
    margin-bottom: 40px;
}

.manifesto-content h2, .legal-content h3 {
    font-family: var(--font-tech);
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 30px;
    color: var(--brand-color);
    letter-spacing: 1px;
}

.manifesto-content p, .legal-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--brand-color);
    margin-bottom: 15px;
}

.manifesto-content p.lead {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 25px;
}

.manifesto-list {
    list-style: none;
    padding: 0;
}

.manifesto-list li {
    font-size: 18px;
    line-height: 1.7;
    color: var(--brand-color);
    margin-bottom: 20px;
    padding-left: 0;
}

.manifesto-list strong {
    font-family: var(--font-tech);
    font-size: 12px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-content ul li {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--brand-color);
    text-decoration: underline;
    transition: opacity 0.2s;
}

.legal-content a:hover {
    opacity: 0.6;
}

.legal-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--accent-color);
    font-family: var(--font-tech);
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.6;
    text-align: center;
}

.cta-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--accent-color);
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--brand-color);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-tech);
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid var(--brand-color);
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-secondary svg {
    width: 14px;
    height: 14px;
}

.btn-secondary:hover {
    background: var(--brand-color);
    color: white;
}

/* CTA Buttons - alignement desktop */
.cta-section .btn-primary,
.cta-section .btn-secondary {
    flex-shrink: 0;
}

.btn-back-simple {
    font-family: var(--font-tech);
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--brand-color);
    opacity: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}
.btn-back-simple:hover {
    opacity: 0.6;
}
.btn-back-simple svg {
    width: 14px;
    height: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .detail-visual { order: -1; }
    .detail-info { position: static; }

    .detail-row {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Container et spacing général */
    .container {
        padding: 0 20px;
    }

    /* Header mobile */
    .site-header {
        padding: 15px 0;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    /* Top row avec logo et loupe */
    .header-top-row {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-text {
        font-size: 24px;
    }

    .brand-badge {
        font-size: 8px;
        margin-top: 4px;
    }

    /* Toggle loupe mobile - visible uniquement en mobile */
    .search-toggle-btn {
        display: flex;
        margin-left: auto;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        gap: 15px;
        flex-wrap: wrap;
    }

    .main-nav a {
        font-size: 11px;
    }

    .btn-submit {
        padding: 8px 16px;
        font-size: 10px;
    }

    /* Barre de recherche mobile - overlay fullscreen */
    .search-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        z-index: 1000;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s;
        pointer-events: none;
    }

    .search-container.search-active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .search-container.search-active .search-wrapper {
        width: 100%;
    }

    .search-container.search-active .search-close-btn {
        display: block;
    }

    .search-wrapper {
        width: 100%;
    }

    .search-wrapper input {
        font-size: 11px;
    }

    /* Headline mobile */
    .headline-container {
        padding: 30px 0 20px;
    }

    .headline-container h1 {
        font-size: 9vw;
        line-height: 1.2;
    }

    /* Filtres mobile */
    .filters-bar {
        padding: 15px 0;
        margin-bottom: 30px;
    }

    .filter-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 15px;
    }

    .filter-groups {
        flex-wrap: wrap;
        gap: 10px;
    }

    .sort-group {
        width: 100%;
        justify-content: flex-start;
    }

    .filter-type-btn {
        font-size: 10px;
    }

    .filter-label {
        font-size: 9px;
    }

    #sortSelect {
        font-size: 10px;
    }

    .filter-tag {
        font-size: 10px;
        padding: 6px 12px;
    }

    .tags-scroll {
        gap: 8px;
    }

    /* Grid mobile */
    .sites-grid {
        grid-template-columns: 1fr;
        gap: 40px 20px;
    }

    .section-label {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .catalog-header {
        margin-top: 30px;
        margin-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .count-display {
        font-size: 12px;
    }

    /* Card mobile */
    .site-title {
        font-size: 18px;
    }

    .meta-tag {
        font-size: 9px;
    }

    .site-date-home {
        font-size: 9px;
    }

    .new-tag {
        font-size: 8px;
        padding: 2px 4px;
    }

    .card-meta {
        margin-top: 10px;
    }

    .btn-heart {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
    }

    .btn-heart svg {
        width: 16px;
        height: 16px;
    }

    .direct-visit-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
        bottom: 8px;
        right: 8px;
    }

    /* Détail page mobile */
    .detail-nav {
        padding: 15px 0;
    }

    .back-btn {
        font-size: 12px;
        padding: 8px 0;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 15px;
        padding-bottom: 50px;
    }

    .detail-title {
        font-size: 32px;
    }

    .detail-category {
        font-size: 10px;
    }

    .detail-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .visit-site-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 11px;
    }

    .btn-heart-detail {
        width: 100%;
        height: 48px;
        border-radius: 4px;
    }

    .detail-desc {
        font-size: 15px;
    }

    .detail-text {
        font-size: 12px;
    }

    .detail-label {
        font-size: 9px;
    }

    .color-row {
        gap: 10px;
        flex-wrap: wrap;
    }

    .color-dot {
        width: 25px;
        height: 25px;
    }

    .color-hex {
        font-size: 8px;
    }

    .tech-row {
        gap: 6px;
    }

    .tech-pill {
        font-size: 9px;
        padding: 5px 10px;
    }

    .share-links {
        flex-wrap: wrap;
        gap: 8px;
    }

    .share-btn {
        font-size: 10px;
        padding: 6px 12px;
    }

    .similar-sites-section {
        margin-top: 50px;
        padding-top: 30px;
    }

    .similar-title {
        font-size: 12px;
        margin-bottom: 20px;
    }

    /* Pagination mobile */
    .pagination-container {
        margin-top: 30px;
        margin-bottom: 30px;
        padding-top: 30px;
        gap: 6px;
    }

    .page-btn {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    /* Footer mobile */
    .footer {
        padding: 30px 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        font-size: 11px;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .footer-socials {
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn-contact {
        padding: 6px 12px;
        font-size: 10px;
    }

    /* Pages statiques mobile */
    .static-page-content {
        padding: 40px 20px 50px 20px;
    }

    .static-article {
        padding: 0;
    }

    .static-article h1 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .manifesto-content p,
    .legal-content p {
        font-size: 16px;
    }

    .manifesto-content p.lead {
        font-size: 20px;
    }

    .manifesto-list li {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .manifesto-content h2,
    .legal-content h3 {
        font-size: 12px;
        margin-top: 25px;
    }

    .cta-section {
        margin-top: 40px;
        padding-top: 30px;
        gap: 15px;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
    }

    .legal-content ul {
        padding-left: 20px;
    }

    .legal-content ul li {
        font-size: 15px;
    }

    /* Notion content mobile */
    .notion-content {
        margin-top: 30px;
        padding-top: 30px;
    }

    .notion-content p {
        font-size: 15px;
    }

    /* Active filters mobile */
    .active-filters-area {
        gap: 10px;
        margin-top: 12px;
    }

    .active-pill {
        font-size: 10px;
    }

    /* Suggestions mobile */
    .suggestion-item {
        padding: 8px 12px;
        font-size: 10px;
    }

    .sugg-type {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .headline-container h1 {
        font-size: 11vw;
    }

    .detail-title {
        font-size: 28px;
    }

    .static-article h1 {
        font-size: 28px;
    }

    .sites-grid {
        gap: 30px 15px;
    }
}