/* ============================================================
   pages.css — Styles des pages standalone
   (professionnels, faq, about, devis-professionnel…)
   ============================================================ */

.container { max-width: 900px; margin: 0 auto; padding: 60px 20px; }
.section { margin-bottom: 60px; }
.section-title { font-size: 1.6em; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.section-title::before { display: none; }
.lead { font-size: 1.05em; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }

/* ── CTA banner ── */
.cta-banner { background: linear-gradient(135deg, #4a7c8c 0%, #6b9aaa 100%); color: white; border-radius: 16px; padding: 40px; text-align: center; margin: 40px 0; }
.cta-banner h2 { font-size: 1.5em; margin-bottom: 12px; }
.cta-banner p { opacity: .9; margin-bottom: 24px; }
.cta-btn { display: inline-block; background: white; color: var(--primary); font-weight: 700; padding: 14px 36px; border-radius: 8px; text-decoration: none; transition: all .2s; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

/* ── Professionals page ── */
.profiles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.profile-card { background: var(--bg-secondary); border-radius: 12px; padding: 24px; border-top: 3px solid var(--primary); }
.profile-card h3 { font-size: 1.05em; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.profile-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.profile-card ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-light); font-size: .92em; }
.profile-card ul li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: 7px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 24px; }
.step { text-align: center; padding: 24px 16px; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: white; font-size: 1.4em; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--text-light); font-size: .9em; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 24px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon svg { width: 20px; height: 20px; fill: white; }
.why-item h3 { font-size: .95em; font-weight: 600; margin-bottom: 4px; }
.why-item p { font-size: .88em; color: var(--text-light); }
.quote-block { background: var(--bg-secondary); border-left: 4px solid var(--primary); padding: 20px 24px; border-radius: 0 10px 10px 0; margin: 12px 0; }
.quote-block p { font-style: italic; color: var(--text-light); margin-bottom: 8px; }
.quote-block cite { font-size: .88em; color: var(--primary); font-weight: 600; }

/* ── FAQ page ── */
.faq-section { margin-bottom: 50px; }
.faq-section-title { font-size: 1.15em; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.faq-item { margin-bottom: 4px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 18px 20px; font-size: 1em; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background .2s; font-family: inherit; }
.faq-question:hover { background: var(--bg-secondary); }
.faq-question.open { background: var(--bg-secondary); color: var(--primary); }
.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s; fill: var(--text-light); }
.faq-question.open .faq-chevron { transform: rotate(180deg); fill: var(--primary); }
.faq-answer { display: none; padding: 0 20px 18px; color: var(--text-light); line-height: 1.8; font-size: .95em; }
.faq-answer.open { display: block; }
.faq-answer a { color: var(--primary); }
.cta-box { background: linear-gradient(135deg, #4a7c8c 0%, #6b9aaa 100%); color: white; border-radius: 16px; padding: 40px; text-align: center; margin-top: 50px; }
.cta-box h2 { font-size: 1.5em; margin-bottom: 12px; }
.cta-box p { opacity: .9; margin-bottom: 24px; }

/* ── About / À propos ── */
.about-container { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.timeline { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.timeline-item { display: flex; gap: 20px; }
.timeline-year { font-weight: 700; color: var(--primary); min-width: 60px; font-size: .95em; padding-top: 2px; }
.timeline-content { flex: 1; }
.timeline-title { font-weight: 600; margin-bottom: 4px; }
.timeline-desc { color: var(--text-light); font-size: .9em; line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .cta-banner { padding: 28px 20px; }
    .container { padding: 40px 16px; }
}
