/* Styles extraits de page-faq.php — servis en fichier cacheable (voir colibris_enqueue_template_css). */

/* ══════════════════════════════════════════════════════════════
   PAGE FAQ, scoped under .faq- prefix
══════════════════════════════════════════════════════════════ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* ── HERO ─────────────────────────────────────────────────────── */
.faq-hero {
    padding: 96px 24px 80px;
    background: #fffcf6;
    border-bottom: 1px solid #f0ede8;
    text-align: center;
}

.faq-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: #009C8E;
    margin-bottom: 24px;
}

.faq-hero__eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #009C8E;
    border-radius: 1px;
}

.faq-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #1a1612;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
}

.faq-hero__text {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.75;
    color: #6b6460;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* ── Anchor nav ──────────────────────────────────────────────── */
.faq-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto;
}
.faq-nav .pill-nav__list {
    justify-content: center;
    width: 100%;
}

/* ── Main layout ──────────────────────────────────────────────── */
.faq-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px 96px;
}

/* ── Category block ──────────────────────────────────────────── */
.faq-cat {
    padding-top: 80px;
}

.faq-cat:first-child {
    padding-top: 80px;
}

.faq-cat__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0ede8;
}

.faq-cat__icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.faq-cat__title {
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    font-weight: 700;
    color: #1a1612;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

/* ── FAQ items ────────────────────────────────────────────────── */
.faq-item {
    border-bottom: 1px solid #f0ede8;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item__summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-item__summary::-webkit-details-marker { display: none; }
.faq-item__summary::marker { display: none; }

.faq-item__question {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1612;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    min-width: 0;
    transition: color 0.2s ease;
}

.faq-item[open] .faq-item__question {
    color: #009C8E;
}

.faq-item__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #ede8e2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    margin-top: 2px;
    color: #9a8f87;
}

.faq-item:hover .faq-item__icon {
    border-color: #1a1612;
    color: #1a1612;
}

.faq-item[open] .faq-item__icon {
    background: #009C8E;
    border-color: #009C8E;
    color: #fff;
    transform: rotate(45deg);
}

.faq-item__icon svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-item__answer {
    padding: 0 0 32px;
    max-width: 740px;
}

.faq-item__answer p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #5a534d;
    margin: 0 0 16px;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

/* ── Related links ────────────────────────────────────────────── */
.faq-related {
    margin-top: 56px;
    padding: 40px 44px;
    background: #faf8f5;
    border-radius: 16px;
    border: 1px solid #ede8e2;
}

.faq-related__title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a09892;
    margin: 0 0 20px;
}

.faq-related__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-related__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a1612;
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 50px;
    border: 1.5px solid #ede8e2;
    background: #fff;
    transition: all 0.2s ease;
}

.faq-related__link:hover {
    border-color: #009C8E;
    color: #009C8E;
}

.faq-related__link svg {
    width: 12px;
    height: 12px;
    opacity: .5;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.faq-related__link:hover svg {
    opacity: 1;
    transform: translateX(3px);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
    .faq-hero { padding: 72px 20px 64px; }
    .faq-body { padding: 0 20px 72px; }
    .faq-cat { padding-top: 64px; }
    .faq-related { padding: 28px 28px; }
}

/* Video links */
.faq-video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #009C8E;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1.5px solid #009C8E;
    background: rgba(0, 156, 142, 0.05);
    transition: all 0.2s ease;
    margin-top: 12px;
}

.faq-video-link:hover {
    background: #009C8E;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 156, 142, 0.2);
}

.faq-video-link::before {
    content: 'YouTube';
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 640px) {
    .faq-hero { padding: 72px 20px 64px; }
    .faq-body { padding: 0 20px 72px; }
    .faq-cat { padding-top: 64px; }
    .faq-related { padding: 28px 28px; }
    .faq-video-link { 
        width: 100%;
        justify-content: center;
        margin-top: 16px;
    }
}

/* Override pill-nav styles after component loads */
.faq-nav .pill-nav__pill {
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #5a534d;
    background: #faf8f5;
    border: 1.5px solid #ede8e2;
}

.faq-nav .pill-nav__pill:hover {
    background: #1a1612;
    border-color: #1a1612;
    color: #fff;
}

.faq-nav .pill-nav__pill--active {
    background: #1a1612;
    border-color: #1a1612;
    color: #fff;
}
