/* ═══════════════════════════════════════════════════════════════
   MENTORA IT - Fiche Métier Statique CSS
   Partagé par les 108 pages métiers + fiche.html legacy
   ═══════════════════════════════════════════════════════════════ */

:root {
    --fiche-accent: #2563eb;
    --fiche-accent-light: #e0e7ff;
    --fiche-gradient: linear-gradient(135deg, #2563eb 0%, #0891b2 50%, #06b6d4 100%);
}

/* Hero */
.fiche-hero {
    background: var(--fiche-gradient);
    color: white;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}
.fiche-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.fiche-hero-content {
    position: relative;
    z-index: 1;
}
.fiche-breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.fiche-breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}
.fiche-breadcrumb a:hover {
    text-decoration: underline;
}
.fiche-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    color: white;
}
.fiche-icon svg {
    width: 44px;
    height: 44px;
    stroke: white;
}
.fiche-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}
.fiche-family {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.fiche-family svg {
    width: 18px;
    height: 18px;
    stroke: white;
}
.fiche-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 700px;
    opacity: 0.95;
}
.fiche-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.fiche-badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.fiche-badge.highlight {
    background: #fbbf24;
    color: #78350f;
}

/* Content layout */
.fiche-content {
    padding: 60px 0;
    background: #f8fafc;
}
.fiche-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Sections */
.fiche-section {
    background: white;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.fiche-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e293b;
}
.fiche-section-title .icon {
    width: 40px;
    height: 40px;
    background: var(--fiche-accent-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--fiche-accent);
    flex-shrink: 0;
}
.fiche-section-title .icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--fiche-accent);
}

/* Missions */
.missions-list {
    list-style: none;
}
.missions-list li {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.6;
}
.missions-list li:last-child {
    border-bottom: none;
}
.missions-list li::before {
    content: '\2713';
    width: 24px;
    height: 24px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* Skills tags */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.skill-tag {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s;
}
.skill-tag:hover {
    background: var(--fiche-accent);
    color: white;
    transform: translateY(-2px);
}

/* Soft skills */
.soft-skill-tag {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #92400e;
    transition: all 0.2s;
}
.soft-skill-tag:hover {
    background: #f59e0b;
    color: white;
    transform: translateY(-2px);
}

/* Tools */
.tool-tag {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3730a3;
    transition: all 0.2s;
}
.tool-tag:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
}

/* Requirements grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.requirement-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.requirement-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.requirement-icon.study { background: #dbeafe; }
.requirement-icon.english { background: #dcfce7; }
.requirement-icon.stress { background: #fef3c7; }
.requirement-icon.environment { background: #e0e7ff; }
.requirement-info h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 4px;
}
.requirement-info p {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9375rem;
}

/* Stress level */
.stress-bar {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}
.stress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}
.stress-dot.active { background: #f59e0b; }
.stress-dot.active.high { background: #ef4444; }

/* Indicators */
.indicator-section {
    background: white;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.indicator-row {
    margin-bottom: 20px;
}
.indicator-row:last-child {
    margin-bottom: 0;
}
.indicator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.indicator-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}
.indicator-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #64748b;
}
.indicator-bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.indicator-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease;
}
.indicator-fill.demand { background: linear-gradient(90deg, #22c55e, #16a34a); }
.indicator-fill.remote { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.indicator-fill.tech { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }
.indicator-fill.access { background: linear-gradient(90deg, #f59e0b, #d97706); }

/* Accompagnement */
.accompagnement-card {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #3b82f6;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}
.accompagnement-icon { font-size: 2.5rem; margin-bottom: 12px; }
.accompagnement-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.accompagnement-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e3a8a;
}
.accompagnement-desc {
    font-size: 0.8125rem;
    color: #3b82f6;
    margin-top: 8px;
}

/* Salary grid */
.salary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.salary-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.salary-card:hover {
    border-color: var(--fiche-accent);
    transform: translateY(-4px);
}
.salary-card.featured {
    background: var(--fiche-gradient);
    color: white;
}
.salary-level {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-bottom: 8px;
}
.salary-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
}
.salary-details {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 4px;
}

/* Certifications */
.cert-card {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}
.cert-card:hover { transform: translateX(4px); }
.cert-card.key {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: #d97706;
    color: #78350f;
}
.cert-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.cert-info { flex: 1; }
.cert-name {
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}
.cert-vendor {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.7;
    margin-bottom: 4px;
}
.cert-desc {
    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0.85;
    margin-bottom: 6px;
}
.cert-meta {
    font-size: 0.75rem;
    opacity: 0.8;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.cert-cpf {
    background: #065f46;
    color: white;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.7rem;
}
.cert-remote {
    background: rgba(0,0,0,0.15);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
}
.cert-difficulty {
    letter-spacing: -1px;
    font-size: 0.7rem;
}
.cert-card {
    flex-wrap: wrap;
}
.cert-link {
    background: white;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.cert-link:hover {
    background: #78350f;
    color: white;
}
/* Cert detail popup (inline expandable) */
.cert-popup {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease;
    padding: 0 4px;
}
.cert-popup.open {
    max-height: 400px;
    opacity: 1;
    padding: 16px 4px 4px;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 12px;
}
.cert-popup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}
.cert-popup-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cert-popup-item.full {
    grid-column: 1 / -1;
}
.cert-popup-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.6;
    font-weight: 600;
}
.cert-popup-value {
    font-size: 0.85rem;
    font-weight: 600;
}
.cert-popup-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cert-badge {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}
.cert-badge.cpf { background: #065f46; color: white; }
.cert-badge.no-cpf { background: rgba(0,0,0,0.08); color: #78350f; }
.cert-badge.remote { background: #1e40af; color: white; }
.cert-badge.onsite { background: rgba(0,0,0,0.08); color: #78350f; }
.cert-badge.intl { background: #7c3aed; color: white; }
@media (max-width: 640px) {
    .cert-popup-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Evolution timeline */
.evolution-timeline {
    position: relative;
    padding-left: 30px;
}
.evolution-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--fiche-accent), #06b6d4);
}
.evolution-item {
    position: relative;
    padding: 16px 0;
}
.evolution-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 24px;
    width: 12px;
    height: 12px;
    background: var(--fiche-accent);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--fiche-accent);
}
.evolution-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}
.evolution-desc {
    font-size: 0.8125rem;
    color: #64748b;
}

/* Sidebar */
.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.sidebar-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}
.stat-row:last-child { border-bottom: none; }
.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stat-value {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.9375rem;
}
.stat-value.green { color: #16a34a; }
.stat-value.blue { color: #2563eb; }
.stat-value.orange { color: #ea580c; }

.cta-card {
    background: var(--fiche-gradient);
    color: white;
    text-align: center;
}
.cta-card .sidebar-title { color: white; }
.cta-text {
    opacity: 0.9;
    font-size: 0.9375rem;
    margin-bottom: 20px;
    line-height: 1.6;
}
.cta-btn {
    display: inline-block;
    background: white;
    color: var(--fiche-accent);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.cta-btn-outline {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.2s;
    margin-top: 10px;
}
.cta-btn-outline:hover {
    background: rgba(255,255,255,0.25);
}

/* Share */
.share-btns {
    display: flex;
    gap: 10px;
}
.share-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.125rem;
    transition: all 0.2s;
}
.share-btn:hover { transform: translateY(-2px); }
.share-btn.linkedin { background: #0077b5; color: white; }
.share-btn.twitter { background: #1da1f2; color: white; }
.share-btn.copy { background: #f1f5f9; }

/* Related */
.related-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.related-card:hover {
    background: var(--fiche-accent-light);
    transform: translateX(4px);
}
.related-icon {
    width: 44px;
    height: 44px;
    background: var(--fiche-accent-light, #e0e7ff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--fiche-accent);
    flex-shrink: 0;
}
.related-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--fiche-accent);
}
.related-info { flex: 1; }
.related-name {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}
.related-salary {
    font-size: 0.75rem;
    color: #64748b;
}
.related-arrow {
    color: #94a3b8;
    font-size: 1.25rem;
}

/* FAQ Accordion */
.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.active {
    border-color: var(--fiche-accent);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}
.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background 0.2s;
}
.faq-question:hover { background: #f8fafc; }
.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--fiche-accent);
    transition: transform 0.3s, background 0.3s, color 0.3s;
    flex-shrink: 0;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--fiche-accent);
    color: white;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer-content {
    padding: 0 24px 24px;
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.7;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
}
.faq-answer-content p { margin-bottom: 12px; }
.faq-answer-content p:last-child { margin-bottom: 0; }
.faq-answer-content ul, .faq-answer-content ol {
    margin: 8px 0 12px 20px;
}
.faq-answer-content li {
    margin-bottom: 4px;
}

/* SEO text section */
.seo-text {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.8;
}
.seo-text p {
    margin-bottom: 16px;
}
.seo-text p:last-child {
    margin-bottom: 0;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    padding: 60px 0;
    text-align: center;
}
.cta-banner h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
}
.cta-banner p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 24px;
}
.cta-banner-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-banner-btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.cta-banner-btn:hover { transform: translateY(-2px); }
.cta-banner-btn.primary {
    background: white;
    color: #2563eb;
}
.cta-banner-btn.secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

/* Mentors section */
.metier-mentors-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 80px 0;
    margin-top: 60px;
}
.metier-mentors-section h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

/* Loading */
.loading-state { text-align: center; padding: 100px 20px; }
.loading-spinner {
    width: 48px; height: 48px;
    border: 4px solid #e2e8f0;
    border-top-color: var(--fiche-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Not found */
.not-found { text-align: center; padding: 100px 20px; }
.not-found h1 { font-size: 4rem; margin-bottom: 16px; }
.not-found p { color: #64748b; margin-bottom: 24px; }

/* ═══ Responsive ═══ */

/* Prevent horizontal overflow globally */
html, body {
    overflow-x: hidden;
}
.container, .fiche-content, .fiche-hero {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 968px) {
    .fiche-grid { grid-template-columns: 1fr; }
    .fiche-content { padding: 40px 0; }
    .fiche-grid { gap: 24px; }
}

@media (max-width: 768px) {
    /* Hero */
    .fiche-hero { padding: 80px 0 32px; }
    .fiche-title { font-size: 1.6rem; }
    .fiche-icon { width: 56px; height: 56px; font-size: 1.5rem; }
    .fiche-desc { font-size: 0.9375rem; line-height: 1.6; }
    .fiche-family { font-size: 0.8rem; padding: 6px 12px; }
    .fiche-breadcrumb { font-size: 0.75rem; padding: 4px 12px; gap: 4px; flex-wrap: wrap; }
    .fiche-badges { gap: 6px; }
    .fiche-badge { padding: 6px 10px; font-size: 0.75rem; }

    /* Content */
    .fiche-content { padding: 24px 0; }
    .fiche-grid { gap: 20px; }
    .fiche-section { padding: 20px 16px; border-radius: 14px; margin-bottom: 16px; }
    .fiche-section-title { font-size: 1.1rem; gap: 8px; margin-bottom: 14px; }
    .fiche-section-title .icon { width: 34px; height: 34px; font-size: 1rem; }

    /* Missions */
    .missions-list li { padding: 10px 0; font-size: 0.875rem; gap: 10px; }
    .missions-list li::before { width: 20px; height: 20px; font-size: 0.65rem; }

    /* Skills tags */
    .skill-tag, .soft-skill-tag, .tool-tag { padding: 7px 12px; font-size: 0.8rem; }

    /* Requirements */
    .requirements-grid { grid-template-columns: 1fr; gap: 10px; }
    .requirement-card { padding: 14px; gap: 10px; }
    .requirement-icon { width: 40px; height: 40px; font-size: 1.25rem; }
    .requirement-info h4 { font-size: 0.7rem; }
    .requirement-info p { font-size: 0.875rem; }

    /* Indicators */
    .indicator-section { padding: 20px 16px; }
    .indicator-header { flex-wrap: wrap; gap: 4px; }
    .indicator-label { font-size: 0.85rem; }
    .indicator-value { font-size: 0.8rem; }

    /* Accompagnement */
    .accompagnement-card { padding: 16px; }
    .accompagnement-icon { font-size: 2rem; margin-bottom: 8px; }
    .accompagnement-value { font-size: 1.25rem; }

    /* Salary */
    .salary-grid { grid-template-columns: 1fr; gap: 10px; }
    .salary-card { padding: 14px; }
    .salary-value { font-size: 1.25rem; }
    .salary-level { font-size: 0.7rem; }

    /* Certifications */
    .cert-card { padding: 14px; gap: 10px; }
    .cert-icon { width: 40px; height: 40px; font-size: 1.25rem; border-radius: 10px; }
    .cert-name { font-size: 0.875rem; }
    .cert-vendor { font-size: 0.75rem; }
    .cert-desc { font-size: 0.75rem; }
    .cert-meta { font-size: 0.7rem; gap: 6px; }
    .cert-link { padding: 6px 12px; font-size: 0.75rem; }
    .cert-popup-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .cert-popup-value { font-size: 0.8rem; }

    /* Evolution timeline */
    .evolution-timeline { padding-left: 24px; }
    .evolution-step { padding: 14px; margin-bottom: 16px; }
    .evolution-step h4 { font-size: 0.9rem; }

    /* SEO text */
    .seo-text { font-size: 0.9rem; }
    .seo-text p { margin-bottom: 12px; }

    /* FAQ */
    .faq-question { padding: 14px 16px; font-size: 0.9rem; }
    .faq-answer { padding: 0 16px; font-size: 0.875rem; }
    .faq-item.active .faq-answer { padding: 0 16px 14px; }

    /* Sidebar */
    .sidebar-card { padding: 20px 16px; }

    /* France Travail */
    .ft-section { padding: 16px; }
    .ft-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .ft-stat-card { padding: 10px 6px; }
    .ft-stat-value { font-size: 1.1rem; }
    .ft-stat-label { font-size: 0.7rem; }
    .ft-acces { padding: 10px 12px; font-size: 0.85rem; }
    .ft-competence-tag, .ft-savoir-tag { font-size: 0.75rem; padding: 3px 10px; }
    .ft-sidebar-value { font-size: 1.5rem; }

    /* Mentors section */
    .mentors-grid { grid-template-columns: 1fr; }
    .metier-mentors-section { padding: 32px 0; }

    /* CTA Banner */
    .cta-banner { padding: 24px 16px; border-radius: 14px; }
    .cta-banner h2 { font-size: 1.15rem; }
    .cta-banner p { font-size: 0.875rem; }
    .cta-banner-btns { flex-direction: column; gap: 8px; }
    .cta-banner-btn { width: 100%; text-align: center; padding: 12px 16px; font-size: 0.875rem; box-sizing: border-box; }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .fiche-hero { padding: 70px 0 24px; }
    .fiche-title { font-size: 1.35rem; }
    .fiche-icon { width: 48px; height: 48px; font-size: 1.25rem; }
    .fiche-desc { font-size: 0.875rem; }
    .fiche-breadcrumb { font-size: 0.7rem; padding: 3px 10px; }

    .fiche-section { padding: 16px 12px; border-radius: 12px; }
    .fiche-section-title { font-size: 1rem; }
    .fiche-section-title .icon { width: 30px; height: 30px; font-size: 0.9rem; }

    .fiche-content { padding: 16px 0; }
    .fiche-grid { gap: 14px; }

    /* Cert cards stack vertically */
    .cert-card { flex-direction: column; align-items: flex-start; }
    .cert-link { align-self: stretch; text-align: center; }
    .cert-popup-grid { grid-template-columns: 1fr; }

    /* France Travail single column */
    .ft-stats-grid { grid-template-columns: 1fr; }

    /* Tags smaller */
    .skill-tag, .soft-skill-tag, .tool-tag { padding: 5px 10px; font-size: 0.75rem; }

    /* Salary compact */
    .salary-value { font-size: 1.1rem; }
    .salary-card { padding: 12px; }

    /* FAQ compact */
    .faq-question { padding: 12px; font-size: 0.85rem; }

    /* Badges wrap tighter */
    .fiche-badges { gap: 4px; margin-top: 16px; }
    .fiche-badge { padding: 4px 8px; font-size: 0.7rem; }
}

/* ─── Classes replacing inline styles (generated pages) ─── */
.evolution-title a {
    color: #1e293b;
    text-decoration: none;
}
.evolution-title a:hover {
    color: var(--fiche-accent, #6366f1);
}
.sidebar-card.text-center {
    text-align: center;
}
.sidebar-simulateur-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 16px;
}
.cta-btn-accent {
    background: var(--fiche-accent);
    color: white;
}
.no-related {
    color: #64748b;
    font-size: 0.875rem;
}
.mentors-section-header {
    text-align: center;
    margin-bottom: 32px;
}
.mentors-section-header p {
    color: var(--gray-600);
}
.mentor-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
    text-align: center;
}
.mentor-card-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--space-3);
}
.mentor-card-name {
    margin: 0 0 4px;
    font-size: 1rem;
}
.mentor-card-title {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin: 0 0 4px;
}
.mentor-card-company {
    color: var(--gray-500);
    font-size: 0.8rem;
    margin: 0 0 var(--space-2);
}
.mentor-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin: var(--space-3) 0;
}
.mentor-spec-tag {
    font-size: 0.75rem;
    padding: 2px 8px;
    background: var(--gray-100);
    border-radius: 4px;
}
.mentors-section-footer {
    text-align: center;
    margin-top: 32px;
}

/* ═══════════════════════════════════════════════════════════════
   FRANCE TRAVAIL - Official Data Section
   ═══════════════════════════════════════════════════════════════ */
.ft-section {
    border: 2px solid #000091;
    border-radius: 12px;
    padding: 24px;
    background: linear-gradient(135deg, #f5f5fe 0%, #fff 100%);
}
.ft-source-badge {
    display: inline-block;
    font-size: 0.75rem;
    color: #000091;
    background: #e3e3fd;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    font-weight: 500;
}
.ft-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.ft-stat-card {
    text-align: center;
    padding: 16px 8px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e3e3fd;
}
.ft-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000091;
}
.ft-stat-label {
    font-size: 0.75rem;
    color: #666;
    margin-top: 4px;
}
.ft-acces {
    font-size: 0.9rem;
    color: #333;
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #000091;
    margin-bottom: 16px;
}
.ft-competences-block {
    margin-bottom: 16px;
}
.ft-competences-block h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.ft-competences-block.emergent h4 {
    color: #000091;
}
.ft-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ft-competence-tag {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 12px;
    background: #fff;
    border: 1px solid #000091;
    color: #000091;
    border-radius: 20px;
    font-weight: 500;
}
.ft-competence-tag.emergent {
    background: #000091;
    color: #fff;
    border-color: #000091;
}
.ft-savoir-tag {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 12px;
    background: #f0f0f0;
    color: #444;
    border-radius: 20px;
}

/* Sidebar France Travail card */
.ft-sidebar-card {
    border: 2px solid #000091;
    background: linear-gradient(135deg, #f5f5fe 0%, #fff 100%);
}
.ft-sidebar-stat {
    text-align: center;
    margin: 12px 0;
}
.ft-sidebar-value {
    font-size: 2rem;
    font-weight: 800;
    color: #000091;
    display: block;
}
.ft-sidebar-label {
    font-size: 0.85rem;
    color: #666;
}
.ft-sidebar-detail {
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 8px;
}
.ft-sidebar-source {
    text-align: center;
    font-size: 0.7rem;
    color: #999;
    margin-top: 8px;
}

