/* ═══════════════════════════════════════════════════════════
   toutes-nos-prestations.css
   ═══════════════════════════════════════════════════════════ */

/* ── Page Header ──────────────────────────────────────────── */
.page-header {
    margin-top: 80px;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #061623 0%, #0D2A4B 100%);
    color: white;
    text-align: center;
}
.page-header h1 {
    font-family: "Crimson Pro", serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.page-header p {
    font-size: 1.2rem;
    opacity: 0.85;
}

/* ── Filtres catégories ───────────────────────────────────── */
.pst-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 2rem 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}
.pst-filter-btn {
    background: transparent;
    border: 1.5px solid #c8d8ee;
    color: #4a6a8a;
    border-radius: 30px;
    padding: 7px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
}
.pst-filter-btn:hover {
    border-color: #3B9AE1;
    color: #3B9AE1;
    background: #eef6fd;
}
.pst-filter-btn.active {
    background: #0D2A4B;
    border-color: #0D2A4B;
    color: white;
}

/* ── Section grille ───────────────────────────────────────── */
.prestations-section {
    padding: 3rem 2rem 5rem;
    background: #f5f8fc;
}
.prestations-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Grille ───────────────────────────────────────────────── */
.prestations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    justify-content: center;
}

/* ── Carte prestation ─────────────────────────────────────── */
.pst-card {
    width: calc(33.333% - 1.2rem);
    min-width: 260px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e4edf5;
    box-shadow: 0 3px 14px rgba(13, 42, 75, .07);
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pst-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(13, 42, 75, .14);
    border-color: #3B9AE1;
}

/* Image */
.pst-card-img {
    position: relative;
    height: 190px;
    background-color: #dde8f5;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.pst-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(13,42,75,.5) 100%);
}
.pst-card-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #8ab0cc;
}
.pst-card-cat {
    display: inline-block;
    align-self: flex-start;
    margin: .6rem 1.2rem 0;
    background: #eef5fd;
    color: #3B9AE1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(59, 154, 225, .3);
}

/* Corps */
.pst-card-body {
    padding: 1.2rem 1.4rem 0.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pst-card-title {
    font-family: "Crimson Pro", serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0D2A4B;
    line-height: 1.25;
}
.pst-card-desc {
    font-size: .875rem;
    color: #4a6070;
    line-height: 1.55;
}

/* Footer */
.pst-card-footer {
    padding: .9rem 1.4rem;
    border-top: 1px solid #eef3f8;
    font-size: .82rem;
    font-weight: 700;
    color: #3B9AE1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    transition: gap .2s;
}
.pst-card:hover .pst-card-footer { gap: 10px; }
.pst-card-footer .arrow {
    font-size: 1rem;
    transition: transform .2s;
}
.pst-card:hover .pst-card-footer .arrow { transform: translateX(3px); }

/* ── Tuile "Autre besoin" — contact ──────────────────────── */
.pst-card--contact {
    background: linear-gradient(135deg, #0D2A4B 0%, #1a4a80 60%, #3B9AE1 100%);
    border-color: #3B9AE1;
    color: white;
    justify-content: center;
    text-decoration: none;
    width: 100%;
}
.pst-card--contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(59, 154, 225, .35);
    border-color: #5BB8FF;
}
.pst-card-contact-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 3rem;
    text-align: center;
    height: 100%;
    flex-wrap: wrap;
}
.pst-card-contact-icon {
    font-size: 2.4rem;
    line-height: 1;
    opacity: .9;
}
.pst-card-contact-text {
    font-family: "Crimson Pro", serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
}
.pst-card-contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.35);
    color: white;
    border-radius: 30px;
    padding: 8px 22px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .5px;
    transition: background .2s, gap .2s;
}
.pst-card--contact:hover .pst-card-contact-cta {
    background: rgba(255,255,255,.25);
    gap: 11px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .pst-card { width: calc(50% - 0.9rem); }
    .page-header h1 { font-size: 2.6rem; }
}
@media (max-width: 640px) {
    .page-header { padding: 3rem 1.5rem; }
    .page-header h1 { font-size: 2rem; }
    .prestations-section { padding: 2rem 1rem 3rem; }
    .pst-card { width: 100%; min-width: unset; }
    .pst-card-img { height: 160px; }
}

/* ── Ribbon "Arrive bientôt" / "Nouveau" ─────────────────── */
.ribbon-card {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
    padding: 7px 12px; display: flex; align-items: center; gap: 7px;
    border-top: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(6px);
}
.ribbon-card.ribbon-bientot { background: linear-gradient(90deg, rgba(13,42,75,.85) 0%, rgba(59,154,225,.72) 100%); }
.ribbon-card.ribbon-nouveau  { background: linear-gradient(90deg, rgba(50,22,2,.85)  0%, rgba(232,184,109,.72) 100%); }
.ribbon-dot {
    width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
    animation: ribbon-pulse 1.6s ease-in-out infinite;
}
.ribbon-bientot .ribbon-dot { background: #5BB8FF; }
.ribbon-nouveau  .ribbon-dot { background: #E8B86D; }
@keyframes ribbon-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.ribbon-text { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.ribbon-bientot .ribbon-text { color: #cce8ff; }
.ribbon-nouveau  .ribbon-text { color: #fce4b0; }

