/* ===================================================================
 * Blocs SEO RoboActu — homepage + robodex
 * =================================================================== */
.seo-block {
    margin: 80px 0 0;
    padding: 60px 0 80px;
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.03) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.seo-block-inner {
    max-width: 920px;
    margin: 0 auto;
    color: var(--text-secondary, #b8b8c8);
    font-size: 1.02rem;
    line-height: 1.75;
}
.seo-block h2 {
    color: var(--text-primary, #ffffff);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}
.seo-block h3 {
    color: var(--text-primary, #ffffff);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 38px 0 14px;
    letter-spacing: -0.005em;
}
.seo-block p {
    margin: 0 0 18px;
}
.seo-block a {
    color: var(--accent-blue, #3b82f6);
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.25);
    transition: border-color 0.15s ease, color 0.15s ease;
}
.seo-block a:hover {
    color: var(--accent-cyan, #06b6d4);
    border-bottom-color: var(--accent-cyan, #06b6d4);
}
.seo-block strong {
    color: var(--text-primary, #ffffff);
    font-weight: 600;
}

/* FAQ */
.seo-faq {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.seo-faq details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.seo-faq details[open] {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.25);
}
.seo-faq summary {
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    list-style: none;
    position: relative;
    padding-right: 48px;
    font-size: 1.02rem;
    line-height: 1.4;
}
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent-blue, #3b82f6);
    transition: transform 0.2s ease;
}
.seo-faq details[open] summary::after {
    content: '−';
    color: var(--accent-cyan, #06b6d4);
}
.seo-faq details p {
    padding: 0 20px 18px;
    margin: 0;
    color: var(--text-secondary, #b8b8c8);
    font-size: 0.97rem;
    line-height: 1.7;
}

/* ===================================================================
 * Section "Dernières actualités robots" (Robodex)
 * =================================================================== */
.robodex-latest-news {
    margin-top: 60px;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.robodex-latest-news-title {
    color: var(--text-primary, #ffffff);
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
    font-weight: 800;
    margin: 0 0 8px;
    text-align: center;
    letter-spacing: -0.01em;
}
.robodex-latest-news-intro {
    text-align: center;
    color: var(--text-muted, #8a8a98);
    margin: 0 0 36px;
    font-size: 1rem;
}
.robodex-latest-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.robodex-latest-news-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.robodex-latest-news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.35);
}
.robodex-latest-news-img {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #16161f;
}
.robodex-latest-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.robodex-latest-news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.1));
}
.robodex-latest-news-body {
    padding: 16px 18px 18px;
}
.robodex-latest-news-card-title {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px;
}
.robodex-latest-news-card-title a {
    color: var(--text-primary, #ffffff);
    text-decoration: none;
}
.robodex-latest-news-card-title a:hover {
    color: var(--accent-blue, #3b82f6);
}
.robodex-latest-news-date {
    font-size: 0.83rem;
    color: var(--text-muted, #8a8a98);
}
.robodex-latest-news-cta {
    text-align: center;
    margin: 0;
}
.robodex-latest-news-link {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent-blue, #3b82f6);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
    border-bottom: 0 !important;
}
.robodex-latest-news-link:hover {
    background: var(--accent-cyan, #06b6d4);
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* Responsive */
@media (max-width: 768px) {
    .seo-block { padding: 40px 0 60px; margin-top: 60px; }
    .seo-block-inner { font-size: 0.97rem; }
    .seo-block h2 { font-size: 1.5rem; }
    .seo-block h3 { font-size: 1.12rem; margin-top: 28px; }
    .seo-faq summary { padding: 14px 16px; padding-right: 44px; font-size: 0.98rem; }
    .seo-faq details p { padding: 0 16px 16px; font-size: 0.94rem; }
    .robodex-latest-news-grid { grid-template-columns: 1fr; gap: 18px; }
}
