/* ═══════════════════════════════════════════════════════════
   drone.css — Page Notre flotte de drones
   ═══════════════════════════════════════════════════════════ */

/* ── 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;
}

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

/* ── Carte tuile ──────────────────────────────────────────── */
.prestation-card {
    width: 100%;
    max-width: 420px;
    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;
}

/* ── 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; }

/* ── 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) {
    .prestation-card { max-width: 48%; }
}
@media (max-width: 700px) {
    .page-header { padding: 3rem 1.5rem; }
    .page-header h1 { font-size: 2.2rem; }
    .prestations-section { padding: 2.5rem 1rem; }
    .prestation-card { max-width: 100%; }
    .prestation-image { height: 180px; }
}
