/* ========================================
   Styles pour l'architecture SPA
   ======================================== */

/* Loading State */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--color-orange, #ff6900);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error 404 */
.error-404 {
    text-align: center;
    padding: 4rem 2rem;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-404 h1 {
    font-size: 6rem;
    color: var(--color-orange, #ff6900);
    margin: 0;
}

.error-404 p {
    font-size: 1.5rem;
    color: #666;
    margin: 1rem 0 2rem;
}

/* Page 404 dédiée (hero) */
.error-page .error-code {
    display: block;
    font-size: 5rem;
    font-weight: 800;
    color: var(--color-orange, #ff6900);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.error-page-content {
    text-align: center;
}

/* Page Heroes */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Legal Pages */
.legal-page {
    min-height: 60vh;
}

.legal-content {
    padding: 3rem 0;
}

.legal-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--color-primary, #170682);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: var(--color-dark, #1f2937);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.legal-content .intro {
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
}

/* VAE Page Specific */
.vae-method-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vae-method-card .method-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vae-method-card .method-number {
    width: 40px;
    height: 40px;
    background: var(--color-orange, #ff6900);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.vae-method-card .method-subtitle {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.vae-method-card .method-content {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.vae-method-card .method-result {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* VAE Testimonials */
.vae-testimonial .testimonial-role {
    color: var(--color-orange, #ff6900);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Diplomas Grid */
.diplomas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.diploma-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.diploma-card:hover {
    border-color: var(--color-orange, #ff6900);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 0, 0.15);
}

.diploma-card .diploma-code {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-orange, #ff6900);
    margin-bottom: 0.5rem;
}

.diploma-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark, #1f2937);
}

.diploma-card .diploma-sector {
    display: inline-block;
    background: #f3f4f6;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Process Cards */
.process-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
}

.process-card .process-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--color-primary, #170682);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.process-card h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary, #170682);
}

/* FAQ Section */
.faq-section {
    background: #f9fafb;
    padding: 3rem 0;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-question {
    color: var(--color-primary, #170682);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-accordion-item .faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    background: none;
    border: none;
    padding: 1rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary, #170682);
    cursor: pointer;
}

.faq-accordion-item .faq-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-accordion-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0 1rem;
    color: #555;
    line-height: 1.7;
}

.faq-accordion-item.open .faq-answer-panel {
    max-height: 500px;
}

/* Qui sommes-nous stats */
.stats-grid-qui {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
}

.stat-card-qui {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-width: 180px;
}

.stat-number-qui {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-orange, #ff6900);
    line-height: 1.2;
}

.stat-label-qui {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #555;
}

/* Qui sommes-nous : avantages */
.qui-avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.qui-avantage-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qui-avantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.qui-avantage-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,105,0,0.15) 0%, rgba(23,6,130,0.1) 100%);
    color: var(--color-orange, #ff6900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.qui-avantage-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary, #170682);
}

.qui-avantage-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Qui sommes-nous : valeurs (Audace, Bienveillance, Écoute) */
.qui-valeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.qui-valeur-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-top: 4px solid var(--color-orange, #ff6900);
}

.qui-valeur-badge {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-orange, #ff6900);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.qui-valeur-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary, #170682);
}

.qui-valeur-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

/* Blog page */
.blog-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary, #170682);
    margin-bottom: 2.5rem;
}

.blog-grid-sample {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.blog-card-sample {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card-sample:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.blog-card-sample .blog-card-link-wrap {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #f0f0f0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card-sample:hover .blog-card-image img {
    transform: scale(1.03);
}

.blog-card-body {
    padding: 1.35rem 1.5rem;
}

.blog-card-category {
    display: inline-block;
    background: rgba(147, 112, 219, 0.2);
    color: #5a3d8a;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary, #170682);
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.blog-card-excerpt {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.blog-card-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange, #ff6900) 0%, #e55a00 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-card-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-orange, #ff6900);
}

.blog-card-date {
    font-size: 0.8rem;
    color: #888;
    margin-left: auto;
}

.blog-cta {
    margin-top: 3rem;
}

/* Legacy blog card (keep for compatibility) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Benefits Section */
.benefits-section {
    margin: 3rem 0;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success, #10b981);
    font-weight: bold;
    font-size: 1.25rem;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
    text-align: center;
    border-radius: 12px;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    animation: scaleIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation delays for staggered effects */
.slide-up:nth-child(1) { animation-delay: 0.1s; }
.slide-up:nth-child(2) { animation-delay: 0.2s; }
.slide-up:nth-child(3) { animation-delay: 0.3s; }
.slide-up:nth-child(4) { animation-delay: 0.4s; }
.slide-up:nth-child(5) { animation-delay: 0.5s; }

.scale-in:nth-child(1) { animation-delay: 0.1s; }
.scale-in:nth-child(2) { animation-delay: 0.2s; }
.scale-in:nth-child(3) { animation-delay: 0.3s; }
.scale-in:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .process-cards {
        grid-template-columns: 1fr;
    }
    
    .diplomas-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   Landing page Actu (CPF - info 1er mars)
   ======================================== */
.actu-landing {
    background: #F6F6F6;
    min-height: 100vh;
    padding-bottom: 2rem;
}

.actu-band {
    height: 8px;
    background: #000091;
}

.actu-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    overflow: hidden;
}

.actu-header {
    padding: 32px 40px 24px;
    border-bottom: 1px solid #E5E5E5;
}

.actu-label {
    margin: 0 0 8px 0;
    font-size: 12px;
    font-weight: 700;
    color: #000091;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.actu-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #161616;
    line-height: 1.3;
}

.actu-intro {
    padding: 32px 40px;
}

.actu-intro p {
    margin: 0 0 16px 0;
    font-size: 16px;
    line-height: 1.7;
    color: #161616;
}

.actu-intro p:last-of-type {
    margin-bottom: 0;
}

.actu-strong {
    margin-top: 24px !important;
}

.actu-link {
    color: #000091;
    text-decoration: underline;
}

.actu-illustration {
    background: #F5F5FE;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
}

.actu-illustration-emoji {
    margin: 0;
    font-size: 64px;
    line-height: 1;
}

.actu-illustration-title {
    margin: 16px 0 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #161616;
}

.actu-illustration-sub {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #666666;
}

.actu-section-title {
    margin: 0 0 20px 0;
    padding: 0 40px;
    font-size: 20px;
    font-weight: 700;
    color: #161616;
}

.actu-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 40px 32px;
}

.actu-card {
    border-radius: 8px;
    padding: 24px;
}

.actu-card-avant {
    background: #E8EDFF;
}

.actu-card-apres {
    background: #FEF4F4;
}

.actu-card-label {
    margin: 0 0 16px 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.actu-card-avant .actu-card-label {
    color: #000091;
}

.actu-card-apres .actu-card-label {
    color: #CE0500;
}

.actu-card-desc {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #666666;
}

.actu-card-value {
    margin: 0 0 16px 0;
    font-size: 15px;
    font-weight: 600;
    color: #161616;
}

.actu-card-big {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.actu-card-big-green {
    color: #18753C;
}

.actu-card-big-red {
    color: #CE0500;
}

.actu-detail {
    margin: 0 40px 32px;
    background: #F6F6F6;
    border-radius: 8px;
    padding: 20px 24px;
}

.actu-detail-title {
    margin: 0 0 12px 0;
    font-size: 12px;
    font-weight: 700;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.actu-table {
    width: 100%;
    border-collapse: collapse;
}

.actu-table td {
    padding: 6px 0;
    font-size: 14px;
    color: #161616;
}

.actu-table-right {
    text-align: right;
    font-weight: 600;
}

.actu-info-box {
    margin: 0 40px 32px;
    background: #FEF7DA;
    border-left: 4px solid #D64D00;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
}

.actu-info-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 700;
    color: #161616;
}

.actu-info-box p:last-child {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #3A3A3A;
}

.actu-cta-box {
    margin: 0 40px 40px;
    background: #F5F5FE;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
}

.actu-cta-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #161616;
}

.actu-cta-text {
    margin: 0 0 24px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}

.btn-actu {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #fff !important;
    background: #000091;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-actu:hover {
    background: #1212a3;
}

.actu-footer-text {
    padding: 0 40px 40px;
}

.actu-footer-text p {
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.7;
    color: #3A3A3A;
}

.actu-footer-text p:last-child {
    margin-bottom: 0;
    color: #161616;
}

@media (max-width: 768px) {
    .actu-container { margin: 0; box-shadow: none; }
    .actu-header, .actu-intro, .actu-section-title,
    .actu-cards, .actu-detail, .actu-info-box, .actu-cta-box, .actu-footer-text {
        padding-left: 20px;
        padding-right: 20px;
        margin-left: 0;
        margin-right: 0;
    }
    .actu-cards { grid-template-columns: 1fr; }
}

/* Banderole vert fluo (page Actu) */
.actu-top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00C853 0%, #00E676 50%, #69F0AE 100%);
    color: #fff;
    padding: 0 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.actu-top-banner p {
    margin: 0;
    max-width: 900px;
}

/* Page Actu : masquer toute la navbar */
body.has-actu-banner .navbar {
    display: none !important;
}

/* Bandeau logo en haut de la page Actu (à la place de la navbar) – juste blanc, pas d’espace */
.actu-header-logo {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: none;
    padding: 0.75rem 0;
}

.actu-header-logo .actu-logo-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.actu-header-logo .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.actu-header-logo .logo-svg {
    width: 105px;
    height: auto;
}

.actu-header-logo .logo-groupe-text {
    display: none;
}

/* Éviter que le contenu passe sous banderole + bandeau logo */
body.has-actu-banner .actu-landing {
    padding-top: 7.5rem;
}

/* Code couleur page d'inspiration : lavande, bleu foncé CTA, orange cercles étapes */
:root {
    --actu-lavande: #F7F7FC;
    --actu-bleu: #1A237E;
    --actu-orange-etapes: #F05323;
    --actu-texte: #333333;
    --actu-texte-secondaire: #555555;
}

/* ========================================
   Landing Actu – Bilan de compétences (style inspiration)
   ======================================== */
.actu-landing.actu-bilan .text-center {
    text-align: center;
}

.actu-landing.actu-bilan {
    background: var(--actu-lavande);
    font-family: 'Poppins', sans-serif;
}

.actu-bilan .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.actu-bilan .actu-h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--actu-texte);
    margin: 0 0 1rem 0;
    line-height: 1.25;
}

.actu-bilan .actu-h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--actu-texte);
    margin: 0 0 1rem 0;
}

.actu-bilan .actu-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--actu-texte-secondaire);
    margin: 0 0 0.75rem 0;
}

.actu-bilan .actu-check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem 0;
}

.actu-bilan .actu-check-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--actu-texte);
}

.actu-bilan .actu-check-list li i {
    color: var(--actu-bleu);
    flex-shrink: 0;
}

.btn-actu-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff !important;
    background: var(--actu-bleu);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-actu-primary:hover {
    background: #0d1642;
    color: #fff !important;
    transform: translateY(-1px);
}

.actu-hero-bilan {
    padding: 3rem 0;
    background: var(--actu-lavande);
}

.actu-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.actu-hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.actu-bilan .actu-section {
    padding: 2.5rem 0;
}

.actu-bilan .actu-section.actu-steps {
    background: #fff;
}

.actu-bilan .actu-section.actu-steps .container {
    text-align: center;
}

.actu-bilan .actu-section.actu-steps .actu-h2,
.actu-bilan .actu-section.actu-steps .actu-intro {
    text-align: center;
}

.actu-bilan .actu-section.actu-steps .actu-steps-grid {
    text-align: left;
}

/* Logos « L'État au service de... » – libellé, pas un titre */
.actu-etat-label {
    text-align: center;
    margin: 0 0 2rem 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4a4a4a;
}

.actu-etat-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 2rem;
    align-items: center;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.actu-etat-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.actu-etat-logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .actu-etat-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .actu-etat-logo-item img {
        max-height: 56px;
    }
}

.actu-bilan .actu-intro {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0 1.5rem 0;
    color: var(--actu-texte-secondaire);
}

.actu-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

.actu-step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.actu-step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--actu-orange-etapes);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.actu-step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--actu-texte);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.actu-step-card p {
    font-size: 0.85rem;
    color: var(--actu-texte-secondaire);
    margin: 0;
    line-height: 1.5;
}

.actu-section.actu-cards-bilan {
    background: var(--actu-lavande);
}

.actu-section.actu-cards-bilan .actu-h2,
.actu-section.actu-cards-bilan .actu-intro {
    text-align: center;
}

.actu-three-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.actu-mini-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.actu-mini-card i {
    font-size: 2rem;
    color: var(--actu-bleu);
    margin-bottom: 0.75rem;
}

.actu-mini-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--actu-texte);
    margin: 0 0 0.25rem 0;
}

.actu-mini-card p {
    font-size: 0.9rem;
    color: var(--actu-texte-secondaire);
    margin: 0;
}

.actu-cta-center {
    text-align: center;
    margin-top: 2rem;
}

.actu-bilan .actu-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--actu-texte-secondaire);
}

.actu-section.actu-legal {
    background: #fff;
}

.actu-legal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: center;
}

.actu-legal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.actu-legal-content .actu-h2 {
    color: var(--actu-texte);
}

.actu-legal-content .actu-check-list li i {
    color: var(--actu-bleu);
}

.actu-legal-content .actu-h2 {
    margin-bottom: 1rem;
}

.actu-legal-content p {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--actu-texte-secondaire);
}

.actu-form-cta {
    background: var(--actu-lavande);
}

.actu-section.actu-form-cta .actu-h2,
.actu-section.actu-form-cta .actu-intro {
    text-align: center;
}

.actu-section.actu-faq .actu-h2 {
    text-align: center;
}

.actu-faq-list {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.actu-faq-item {
    border-bottom: 1px solid #E5E5E5;
}

.actu-faq-btn {
    width: 100%;
    padding: 1rem 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--actu-texte);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.actu-faq-btn::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.85rem;
    color: #666;
    transition: transform 0.2s ease;
}

.actu-faq-item.open .actu-faq-btn::after {
    transform: rotate(180deg);
}

.actu-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #3A3A3A;
}

.actu-faq-item.open .actu-faq-answer {
    max-height: 300px;
    padding: 0 0 1rem 0;
}

.btn-orange {
    background: var(--color-orange, #ff6900) !important;
    color: #fff !important;
    border: none;
}

.btn-orange:hover {
    background: #e55e00 !important;
    color: #fff !important;
}

@media (max-width: 900px) {
    .actu-hero-grid { grid-template-columns: 1fr; }
    .actu-hero-visual { order: -1; }
    .actu-steps-grid { grid-template-columns: 1fr; }
    .actu-three-cards { grid-template-columns: 1fr; }
    .actu-legal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
    .actu-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Modal formulaire éligibilité (popup) ---------- */
.eligibility-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.eligibility-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.eligibility-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.eligibility-modal-box {
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem 3rem;
}

.eligibility-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.eligibility-modal-close:hover {
    background: #e0e0e0;
    color: #333;
}

.eligibility-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.75rem 0;
    padding-right: 2.5rem;
}

.eligibility-modal-desc {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.eligibility-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 0.5rem;
}

.eligibility-form .eligibility-form-group {
    margin-bottom: 1.25rem;
}

.eligibility-form label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.4rem;
}

.eligibility-form .required {
    color: #c00;
}

.eligibility-form input[type="text"],
.eligibility-form input[type="email"],
.eligibility-form input[type="tel"],
.eligibility-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    background: #fff;
}

@media (max-width: 500px) {
    .eligibility-form-row {
        grid-template-columns: 1fr;
    }
}

.eligibility-form input:focus,
.eligibility-form select:focus {
    outline: none;
    border-color: var(--actu-bleu, #1A237E);
    box-shadow: 0 0 0 2px rgba(26, 35, 126, 0.15);
}

.eligibility-form-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 0.85rem 1.5rem;
    background: var(--actu-bleu, #1A237E);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.05s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.eligibility-form-submit:hover {
    background: #0d1647;
}

.eligibility-form-submit:active {
    transform: scale(0.99);
}



