/**
 * Feuille de style du composant PagesSection
 * Fichier : public/css/pages-section.css
 * 
 */

:root {
    --pages-ink: #121a2b;
    --pages-accent: #e8743b;
    --pages-accent-hover: #b4511f;
    --pages-pill-border: #d9dfe6;
    --pages-pill-bg: #ffffff;
    --pages-pill-border-hover: rgba(232, 116, 59, 0.5);
    --pages-shadow-hover: 0 10px 25px -5px rgba(18, 26, 43, 0.08), 0 8px 10px -6px rgba(18, 26, 43, 0.04);
}

.pages-section {
    width: 100%;
    background-color: #ffffff;
    padding-top: clamp(56px, 9vw, 112px);
    padding-bottom: clamp(56px, 9vw, 112px);
    font-family: 'Figtree', system-ui, -apple-system, sans-serif;
    color: var(--pages-ink);
}

.pages-section .custom-container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 4vw, 40px);
    padding-right: clamp(16px, 4vw, 40px);
    box-sizing: border-box;
}

/* Titre principal */
.pages-section .section-title {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--pages-ink);
    margin-bottom: 2rem;
}

.pages-section .section-title .dot {
    color: var(--pages-accent);
}

/* Nuage de pilules SEO */
.pills-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

@media (min-width: 576px) {
    .pills-cloud {
        gap: 0.875rem;
    }
}

.pill-item {
    margin: 0;
    padding: 0;
}

/* Lien pilule (Accessibilité : zone tactile >= 44px) */
.pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.625rem 1.35rem;
    border-radius: 9999px;
    border: 1px solid var(--pages-pill-border);
    background-color: var(--pages-pill-bg);
    color: var(--pages-ink);
    font-family: 'Figtree', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pill-link:hover {
    color: var(--pages-accent-hover);
    border-color: var(--pages-pill-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--pages-shadow-hover);
}

.pill-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 116, 59, 0.35);
    border-color: var(--pages-accent);
}

@media (min-width: 576px) {
    .pill-link {
        padding: 0.625rem 1.5rem;
    }
}