/* Explain: Styling for photography-related UI elements like cards, galleries, and pricing sections. */
/* ---------- Navigation dropdown ---------- */
.nav-drop { position: relative; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 0.4rem; background: none; border: 0; }
.nav-drop-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 16rem;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--surface-strong);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-deep);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 80;
}
.nav-drop-panel::before { content: ""; position: absolute; top: -0.85rem; left: 0; right: 0; height: 0.85rem; }
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel,
.nav-drop.is-open .nav-drop-panel { opacity: 1; visibility: visible; }
.nav-drop-link { display: block; padding: 0.55rem 1.35rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); white-space: nowrap; transition: all 0.25s ease; }
.nav-drop-link:hover, .nav-drop-link:focus-visible { color: var(--primary-color); background: rgba(212, 43, 32, 0.08); }
.nav-drop-toggle .fa-chevron-down { transition: transform 0.25s ease; }
.nav-drop.is-open .fa-chevron-down, .nav-drop:hover .fa-chevron-down { transform: rotate(180deg); }

/* ---------- About: secondary portrait ---------- */
.about-portrait-extra {
    position: absolute;
    right: -1.5rem;
    bottom: -2.5rem;
    width: 55%;
    max-width: 16rem;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 4px solid var(--background-color);
    box-shadow: var(--shadow-deep);
}
.about-portrait-extra img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 1023px) {
    .about-portrait-extra {
        right: 0.5rem;
        bottom: -2rem;
    }
}

/* ---------- Prestation cards ---------- */
.presta-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--surface-color); border: 1px solid var(--line-soft); overflow: hidden; transition: all 0.35s ease; }
.presta-card:hover { border-color: var(--border-color); transform: translateY(-4px); }
.presta-media { aspect-ratio: 4 / 3; overflow: hidden; }
.presta-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.presta-card:hover .presta-media img { transform: scale(1.05); }
.presta-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.presta-more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--primary-color); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 0.85rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-strong); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Formulas ---------- */
.formule-card { display: flex; flex-direction: column; height: 100%; background: var(--surface-color); border: 1px solid var(--border-color); padding: 1.75rem; transition: all 0.3s ease; }
.formule-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.formule-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }

/* ---------- Steps ---------- */
.step-item { position: relative; padding-left: 3.5rem; }
.step-num { position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--primary-color); color: var(--primary-color); font-family: var(--font-heading); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line-soft); padding: 1.25rem 0; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.08em; color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fa-chevron-down { transition: transform 0.3s ease; color: var(--primary-color); }
.faq-item[open] summary .fa-chevron-down { transform: rotate(180deg); }
.faq-item p { margin-top: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--surface-color); border: 1px solid var(--line-soft); overflow: hidden; transition: all 0.35s ease; }
.post-card:hover { border-color: var(--border-color); transform: translateY(-4px); }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }

/* ---------- Reviews ---------- */
.quote-card { display: flex; flex-direction: column; height: 100%; background: var(--surface-strong); border: 1px solid var(--line-soft); padding: 1.75rem; }

/* ---------- Filter buttons ---------- */
.filter-btn { border: 1px solid var(--line-soft); padding: 0.5rem 1.1rem; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--text-muted); cursor: pointer; background: transparent; transition: all 0.3s ease; }
.filter-btn:hover { color: var(--primary-color); border-color: var(--border-color); }
.filter-btn.is-active { background: var(--primary-color); color: var(--on-primary); border-color: var(--primary-color); }

/* ---------- SEO kit ---------- */
.seo-item { background: var(--surface-color); border: 1px solid var(--line-soft); padding: 1.5rem; }
.seo-field { margin-top: 1rem; }
.seo-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--text-muted); }
.seo-count { font-variant-numeric: tabular-nums; }
.seo-count.is-ok { color: var(--primary-color); }
.seo-count.is-over { color: var(--error-color); }
.seo-value { margin-top: 0.4rem; font-size: 0.92rem; color: #fff; line-height: 1.6; word-break: break-word; }
.copy-btn { margin-top: 0.6rem; display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--border-color); padding: 0.4rem 0.9rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary-color); cursor: pointer; background: transparent; transition: all 0.3s ease; }
.copy-btn:hover { background: var(--primary-color); color: var(--on-primary); }

/* ---------- Formulas: prices & badges ---------- */
.formule-badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    background: var(--primary-color);
    color: var(--on-primary);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.3rem 0.7rem;
}

.formule-price {
    margin-top: 0.6rem;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.1;
    color: var(--primary-color);
}