/* Pages SEO : listes, hubs, fil d'Ariane, fiche détail */
.seo-main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: Arial, sans-serif;
    color: #222;
    box-sizing: border-box;
}

.seo-main *, .seo-main *::before, .seo-main *::after { box-sizing: border-box; }

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
    margin: 18px 0 6px;
    font-size: 14px;
    color: #555;
}

.breadcrumb li + li::before { content: "›"; margin: 0 6px 0 2px; color: #999; }
.breadcrumb a { color: #1e8449; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.seo-h1 {
    font-size: 28px;
    line-height: 1.25;
    margin: 10px 0 12px;
    color: #111;
}

.seo-intro {
    font-size: 16px;
    line-height: 1.6;
    max-width: 950px;
    margin: 0 0 14px;
}

.seo-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
}

.seo-stat {
    background: #f0fdf4;
    border: 1px solid #c8efd6;
    border-radius: 8px;
    padding: 10px 16px;
    min-width: 160px;
}

.seo-stat strong { display: block; font-size: 22px; color: #1e8449; }
.seo-stat span { font-size: 13px; color: #555; }

.seo-block {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 26px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.seo-block h2 { font-size: 20px; margin: 0 0 12px; }
.seo-block h3 { font-size: 17px; margin: 16px 0 6px; }
.seo-block p { line-height: 1.6; margin: 0 0 10px; }

.seo-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 6px 20px;
}

.seo-links li { padding: 6px 0; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; gap: 8px; }
.seo-links a { color: #1e8449; text-decoration: none; font-weight: bold; }
.seo-links a:hover { text-decoration: underline; }
.seo-links .nb { color: #777; font-size: 13px; white-space: nowrap; }

.seo-main .grid-rappels {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    max-width: none;
}

.seo-main .rappel-card { display: flex; gap: 14px; padding: 12px; background: #fff; border-radius: 6px; box-shadow: 0 1px 5px rgba(0, 0, 0, .1); }
.seo-main .rappel-img img { width: 100px; height: 100px; object-fit: cover; border-radius: 4px; }
.seo-main .rappel-info p { margin: 3px 0; font-size: 14px; }
.card-title { font-size: 16px; margin: 0 0 6px; line-height: 1.3; }
.card-title a { color: #111; text-decoration: none; }
.card-title a:hover { color: #1e8449; text-decoration: underline; }

.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.az-nav a { display: inline-block; min-width: 32px; text-align: center; padding: 6px 8px; background: #eee; border-radius: 4px; font-weight: bold; color: #333; text-decoration: none; }
.az-nav a:hover { background: #2ecc71; color: #fff; }

.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.hub-card { background: #fff; border: 1px solid #e3e3e3; border-radius: 8px; padding: 16px; }
.hub-card h2, .hub-card h3 { font-size: 18px; margin: 0 0 6px; }
.hub-card h2 a, .hub-card h3 a { color: #1e8449; text-decoration: none; }
.hub-card p { margin: 4px 0; font-size: 14px; line-height: 1.5; color: #444; }

/* Fiche rappel */
.fiche-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; align-items: start; }
.fiche-img img { width: 100%; height: auto; border-radius: 8px; border: 1px solid #eee; background: #fff; }
.fiche-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fiche-thumbs img { width: 70px; height: 70px; object-fit: cover; border-radius: 4px; border: 1px solid #ddd; }
.fiche-alerte { background: #fff4e5; border-left: 5px solid #e67e22; padding: 14px 18px; border-radius: 6px; margin: 12px 0 20px; }
.fiche-alerte p { margin: 6px 0; line-height: 1.5; }
.fiche-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fiche-table th, .fiche-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid #eee; }
.fiche-table th { width: 38%; color: #444; font-weight: bold; }
.lots-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lots-table th, .lots-table td { padding: 6px 8px; border: 1px solid #e3e3e3; text-align: left; }
.lots-table th { background: #f0fdf4; }
.table-scroll { overflow-x: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; padding: 0; list-style: none; }
.tags a { display: inline-block; padding: 5px 12px; border-radius: 20px; background: #e8f8ef; color: #1e8449; font-size: 14px; font-weight: bold; text-decoration: none; }
.tags a:hover { background: #2ecc71; color: #fff; }
.pdf-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pdf-btn { display: inline-block; padding: 8px 14px; background: #2ecc71; color: #fff; border-radius: 4px; text-decoration: none; font-weight: bold; font-size: 14px; }
.pdf-btn:hover { background: #27ae60; }

.home-explore { max-width: 1800px; margin: 30px auto; padding: 0 20px; font-family: Arial, sans-serif; }

@media screen and (max-width: 800px) {
    .seo-h1 { font-size: 22px; }
    .fiche-grid { grid-template-columns: 1fr; }
    .seo-main .grid-rappels { grid-template-columns: 1fr; }
    .fiche-table th { width: 45%; }
}
