/* ═══════════════════════════════════════════════════════════
   particulier.css — Page Prestations Particuliers
   ═══════════════════════════════════════════════════════════ */

/* ── 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.3rem;
    opacity: 0.95;
}

/* ── Section principale ───────────────────────────────────── */
.prestations-section {
    padding: 4rem 3rem;
    background: #f8fafc;
}
.prestations-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* ── Bandeau promo ────────────────────────────────────────── */
.promo-banner {
    position: relative;
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 50%, #f7971e 100%);
    background-size: 200% 200%;
    animation: promo-shimmer 3s ease infinite;
    color: #0D2A4B;
    padding: 2.8rem 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(255,210,0,.45), 0 2px 8px rgba(0,0,0,.18);
    border: 3px solid rgba(255,255,255,.5);
}
@keyframes promo-shimmer {
    0%,100% { background-position: 0% 50%; }
    50%     { background-position: 100% 50%; }
}
.promo-banner::before,
.promo-banner::after {
    content: '★ ★ ★';
    position: absolute;
    font-size: 1rem;
    color: rgba(255,255,255,.5);
    letter-spacing: 6px;
}
.promo-banner::before { top: 12px; left: 50%; transform: translateX(-50%); }
.promo-banner::after  { bottom: 12px; left: 50%; transform: translateX(-50%); }
.promo-banner .promo-badge {
    display: inline-block;
    background: #0D2A4B;
    color: #ffd200;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.promo-banner h2 {
    font-family: "Crimson Pro", serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: .6rem;
    color: #0D2A4B;
    text-shadow: 0 2px 8px rgba(255,255,255,.4);
    line-height: 1.1;
}
.promo-banner p {
    font-size: 1.1rem;
    color: #0D2A4B;
    font-weight: 600;
    opacity: .85;
}

/* ── Grille tuiles ────────────────────────────────────────── */
.prestations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ── Carte tuile ──────────────────────────────────────────── */
.prestation-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    border: 1px solid #eaeff5;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.prestation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.13);
    border-color: #3B9AE1;
}

/* ── Zone image ───────────────────────────────────────────── */
.prestation-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #dde8f5;
    flex-shrink: 0;
}
.prestation-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(13,42,75,.45) 100%);
}

/* ── Bouton "Voir la photo" ───────────────────────────────── */
.btn-voir-photo {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(13,42,75,.72);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(91,184,255,.4);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background .2s, border-color .2s;
}
.btn-voir-photo:hover {
    background: rgba(59,154,225,.9);
    border-color: #5BB8FF;
}

/* ── Contenu texte ────────────────────────────────────────── */
.prestation-details {
    padding: 1.4rem 1.6rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.prestation-details h3 {
    font-family: "Crimson Pro", serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0D2A4B;
    margin-bottom: .7rem;
}
.prestation-details p {
    color: #3a4a5a;
    line-height: 1.65;
    font-size: .9rem;
    margin-bottom: 1rem;
}
.prestation-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.prestation-details li {
    padding: .35rem 0 .35rem 1.5rem;
    position: relative;
    color: #2a3a4a;
    font-size: .875rem;
    line-height: 1.5;
}
.prestation-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3B9AE1;
    font-weight: 700;
}

/* ── Popup photo plein écran ──────────────────────────────── */
#photo-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
#photo-overlay.open { display: flex; }
.photo-popup {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.6);
    animation: popupIn .22s ease;
}
@keyframes popupIn {
    from { opacity: 0; transform: scale(.93); }
    to   { opacity: 1; transform: scale(1); }
}
.photo-popup img {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}
.photo-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    transition: background .2s;
    z-index: 2;
}
.photo-close:hover { background: #e74c3c; }
.photo-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 20px;
    background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .prestations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .page-header { padding: 3rem 1.5rem; }
    .page-header h1 { font-size: 2.2rem; }
    .prestations-section { padding: 2.5rem 1rem; }
    .prestations-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .prestation-image { height: 180px; }
    .promo-banner { padding: 2rem 1.2rem; }
    .promo-banner h2 { font-size: 2rem; }
}

/* ── Lien footer carte (style identique à toutes-nos-prestations) ── */
.prestation-footer-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: .9rem 1.6rem;
    border-top: 1px solid #eef3f8;
    font-size: .82rem;
    font-weight: 700;
    color: #3B9AE1;
    text-decoration: none;
    transition: gap .2s;
    margin-top: auto;
}
.prestation-footer-link .arrow {
    font-size: 1rem;
    transition: transform .2s;
}
.prestation-card:hover .prestation-footer-link { gap: 10px; }
.prestation-card:hover .prestation-footer-link .arrow { transform: translateX(3px); }
