/* ============================================
   Pages Group — Shared styles for static pages
   (a_propos, contact, faq, mentions_legales, confidentialite, cgu)
   ============================================ */

/* ===== Dark Hero (shared across faq, confidentialite, cgu) ===== */
.page-hero {
    background: #0A0A0F;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(139,92,246,0.1) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #FAFAFA, transparent);
    pointer-events: none;
    z-index: 1;
}
.page-hero h1 {
    font-family: 'Instrument Sans', sans-serif;
    color: #EDEDEF;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    position: relative;
    z-index: 2;
    margin: 0;
}
.page-hero p {
    color: #A0A0A8;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
    margin-top: 12px;
}
.page-hero .badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #A0A0A8;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(255,255,255,0.03);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

/* ===== About Page ===== */
.about-hero {
    background: #0A0A0F;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(139,92,246,0.1) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
    pointer-events: none;
}
.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #FAFAFA, transparent);
    pointer-events: none;
    z-index: 1;
}
.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    color: #c4b5fd;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}
.about-hero h1 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}
.about-hero .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* Factsheet Card */
.factsheet-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #E5E7EB;
    overflow: hidden;
}
.factsheet-header {
    background: rgba(139, 92, 246, 0.04);
    border-bottom: 2px solid #E5E7EB;
    padding: 20px 40px;
}
.factsheet-header h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0;
}
.factsheet-body {
    padding: 30px 40px;
}
.factsheet-description {
    color: #64748B;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 28px;
}
.factsheet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border-top: 1px solid #E5E7EB;
}
.factsheet-item {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #E5E7EB;
    align-items: baseline;
}
.factsheet-item:nth-child(odd) {
    border-right: 1px solid #E5E7EB;
}
.factsheet-label {
    font-weight: 600;
    color: #8B5CF6;
    font-size: 0.9rem;
    min-width: 120px;
    flex-shrink: 0;
}
.factsheet-value {
    color: #64748B;
    font-size: 0.95rem;
}
@media (max-width: 768px) {
    .factsheet-header,
    .factsheet-body {
        padding: 20px;
    }
    .factsheet-grid {
        grid-template-columns: 1fr;
    }
    .factsheet-item:nth-child(odd) {
        border-right: none;
    }
}

/* About Content */
.about-content {
    background: #FAFAFA;
    padding: 80px 0;
}
.about-section {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #E5E7EB;
}
.about-section h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 20px;
}
.about-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1A1A2E;
    margin-top: 25px;
    margin-bottom: 12px;
}
.about-section p {
    color: #64748B;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.about-section ul {
    list-style: none;
    padding: 0;
}
.about-section ul li {
    padding: 12px 0;
    color: #64748B;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.about-section ul li i {
    color: #8B5CF6;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(139, 92, 246, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.12);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #8B5CF6;
}
.stat-label {
    color: #64748B;
    font-size: 0.95rem;
    margin-top: 8px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.value-card {
    background: rgba(139, 92, 246, 0.04);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #E5E7EB;
}
.value-card h4 {
    color: #8B5CF6;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.value-card p {
    color: #64748B;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* About CTA */
.about-cta {
    background: #8B5CF6;
    border-radius: 12px;
    padding: 60px;
    text-align: center;
    color: #fff;
}
.about-cta h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.about-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}
.about-cta .btn {
    background: #fff;
    color: #8B5CF6;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}
.about-cta .btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Platform grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.platform-card {
    background: rgba(139, 92, 246, 0.04);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 28px;
    transition: all 0.15s ease;
}
.platform-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.platform-card-icon {
    width: 48px;
    height: 48px;
    background: #8B5CF6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.platform-card-icon i {
    font-size: 1.25rem;
    color: #fff;
}
.platform-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 10px;
}
.platform-card p {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* AEO/GEO highlight box */
.aeo-geo-highlight {
    background: rgba(139, 92, 246, 0.04);
    border-left: 4px solid #8B5CF6;
    padding: 20px 25px;
    border-radius: 0 12px 12px 0;
    margin: 25px 0;
}
.aeo-geo-highlight h3 {
    color: #8B5CF6;
    margin-top: 0;
}

/* About links */
.about-link {
    color: #8B5CF6;
    text-decoration: none;
    border-bottom: 1px dotted rgba(139, 92, 246, 0.4);
    transition: all 0.15s ease;
}
.about-link:hover {
    color: #7C3AED;
    border-bottom-color: #7C3AED;
    border-bottom-style: solid;
}
.about-section strong .about-link {
    color: inherit;
    border-bottom-color: currentColor;
}
.about-cta .about-link,
.about-cta a {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .about-hero {
        padding: 100px 0 60px;
    }
    .about-hero h1 {
        font-size: 2rem;
    }
    .about-section {
        padding: 30px 20px;
    }
    .about-cta {
        padding: 40px 20px;
    }
}

/* ===== Contact Page ===== */
.contact-hero {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    padding: 120px 0 70px;
    position: relative;
    overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    padding: 8px 16px;
    border-radius: 20px;
    color: #a5b4fc;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}
.contact-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.contact-hero .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Content */
.contact-content {
    background: #f8fafc;
    padding: 60px 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Info */
.contact-info {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}
.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 30px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}
.contact-item:last-child {
    border-bottom: none;
}
.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon i {
    font-size: 1.3rem;
    color: #667eea;
}
.contact-details h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}
.contact-details p {
    color: #64748b;
    font-size: 0.92rem;
    margin: 0;
}
.contact-details a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}
.contact-details a:hover {
    text-decoration: underline;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}
.social-link {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    color: #fff;
}
.social-link i {
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}
.contact-form-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}
.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}
.contact-form-card textarea.form-control {
    min-height: 120px;
    max-height: 400px;
    resize: none;
    overflow-y: hidden;
    transition: height 0.15s ease;
}

/* Honeypot */
.ohnohoney {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
    tab-index: -1;
}

.btn-send {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-send:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}
.btn-send:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.form-copy-notice {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 12px;
}
.contact-alert {
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.92rem;
    margin-bottom: 20px;
    display: none;
}
.contact-alert.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.contact-alert.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Contact CTA */
.contact-cta-section {
    margin-top: 40px;
}
.contact-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 50px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.contact-cta h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.contact-cta > p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 600px;
}
.contact-cta .cta-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.contact-cta .cta-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.contact-cta .btn-white {
    background: #fff;
    color: #667eea;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.contact-cta .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Contact FAQ */
.contact-faq {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}
.contact-faq h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 50px;
    }
    .contact-hero h1 {
        font-size: 2rem;
    }
    .contact-info, .contact-form-card, .contact-cta {
        padding: 28px 20px;
    }
    .contact-faq {
        padding: 28px 20px;
    }
}

/* ===== FAQ Page ===== */
.faq-page {
    padding: 40px 0 80px;
    min-height: 100vh;
    background: #FAFAFA;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FAQ Items */
.faq-item {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.faq-item:hover {
    box-shadow: 0 2px 8px rgba(139,92,246,0.08);
}
.faq-item summary {
    padding: 20px 24px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1A1A2E;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
    transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: 0.9rem;
    color: #8B5CF6;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item[open] summary::after {
    transform: rotate(180deg);
}
.faq-item summary:hover {
    color: #8B5CF6;
}
.faq-answer {
    padding: 0 24px 20px;
    color: #64748B;
    font-size: 1rem;
    line-height: 1.75;
    border-top: 1px solid #F1F5F9;
    padding-top: 16px;
    animation: faqSlideDown 0.3s ease;
}
.faq-answer a {
    color: #8B5CF6;
    text-decoration: none;
    border-bottom: 1px dotted rgba(139,92,246,0.4);
}
.faq-answer a:hover {
    color: #7C3AED;
    border-bottom-color: #7C3AED;
}
@keyframes faqSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FAQ Section titles */
.faq-section-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A1A2E;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(139,92,246,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-section-title i {
    color: #8B5CF6;
    font-size: 1.1rem;
}

/* AQA Section */
.aqa-section {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 32px 36px;
    margin: 40px 0 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.aqa-section h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.aqa-section h2 i {
    color: #8B5CF6;
}
.aqa-section p {
    color: #64748B;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 12px;
}
.aqa-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(139,92,246,0.08);
    border: 1px solid rgba(139,92,246,0.2);
    color: #7C3AED;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    margin-top: 8px;
}
.aqa-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.aqa-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: rgba(139,92,246,0.04);
    border-radius: 8px;
}
.aqa-feature i {
    color: #8B5CF6;
    font-size: 1rem;
    margin-top: 2px;
}
.aqa-feature span {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, #1A1A2E 0%, #2D1B69 100%);
    border-radius: 16px;
    margin-top: 48px;
}
.faq-cta h2 {
    color: #EDEDEF;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.faq-cta p {
    color: #A0A0B0;
    font-size: 1rem;
    margin-bottom: 24px;
}
.faq-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(139,92,246,0.3);
}
.faq-cta .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139,92,246,0.4);
    color: #fff;
}
@media (max-width: 768px) {
    .faq-item summary { padding: 16px 18px; font-size: 0.98rem; }
    .faq-answer { padding: 0 18px 16px; padding-top: 12px; }
    .aqa-section { padding: 24px 20px; }
    .faq-cta { padding: 36px 20px; }
}

/* ===== Legal Pages (mentions_legales) ===== */
.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: var(--bg-primary, #f8fafc);
}
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.legal-header {
    text-align: center;
    margin-bottom: 48px;
}
.legal-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary, #1e293b);
    margin-bottom: 12px;
}
.legal-header .legal-subtitle {
    color: var(--text-secondary, #64748b);
    font-size: 1rem;
    margin-bottom: 6px;
}
.legal-header .legal-updated {
    color: var(--text-tertiary, #94a3b8);
    font-size: 0.85rem;
}
.legal-section {
    background: var(--card-bg, #fff);
    border: 1px solid var(--card-border, #e2e8f0);
    border-radius: 16px;
    padding: 32px 36px;
    margin-bottom: 24px;
}
.legal-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
}
.legal-section h2 .section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 8px;
    flex-shrink: 0;
}
.legal-section h2 i {
    color: #667eea;
    font-size: 1.15rem;
}
.legal-section p,
.legal-section li {
    color: var(--text-secondary, #64748b);
    font-size: 0.975rem;
    line-height: 1.75;
    margin-bottom: 10px;
}
.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}
.legal-section ul li {
    padding: 5px 0 5px 20px;
    position: relative;
}
.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: #667eea;
    border-radius: 50%;
}
.legal-section a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px dotted rgba(102, 126, 234, 0.4);
    transition: all 0.2s ease;
}
.legal-section a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}
.legal-info-block {
    background: rgba(102, 126, 234, 0.06);
    border-left: 3px solid #667eea;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 16px 0;
}
.legal-info-block p {
    margin-bottom: 4px;
}
.legal-info-block p:last-child {
    margin-bottom: 0;
}
.legal-note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-tertiary, #94a3b8);
}
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }
    .legal-header h1 {
        font-size: 1.75rem;
    }
    .legal-section {
        padding: 24px 20px;
    }
}

/* ===== Privacy Page ===== */
.privacy-page {
    padding: 40px 0 80px;
    min-height: 100vh;
    background: #FAFAFA;
}
.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.privacy-section {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 32px 36px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.privacy-section h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
}
.privacy-section h2 i {
    color: #8B5CF6;
    font-size: 1.2rem;
}
.privacy-section p,
.privacy-section li {
    color: #64748B;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 12px;
}
.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}
.privacy-section ul li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}
.privacy-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: #8B5CF6;
    border-radius: 50%;
}
.privacy-section a {
    color: #8B5CF6;
    text-decoration: none;
    border-bottom: 1px dotted rgba(139, 92, 246, 0.4);
    transition: all 0.15s ease;
}
.privacy-section a:hover {
    color: #7C3AED;
    border-bottom-color: #7C3AED;
}
.privacy-info-block {
    background: rgba(139, 92, 246, 0.06);
    border-left: 3px solid #8B5CF6;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 16px 0;
}
.privacy-info-block p {
    margin-bottom: 4px;
}
.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.95rem;
}
.privacy-table th,
.privacy-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
    color: #64748B;
}
.privacy-table th {
    background: rgba(139, 92, 246, 0.06);
    color: #1A1A2E;
    font-weight: 600;
    font-size: 0.9rem;
}
.privacy-table tr:last-child td {
    border-bottom: none;
}
.privacy-warning {
    background: rgba(234, 179, 8, 0.08);
    border-left: 3px solid #eab308;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 16px 0;
}
.privacy-warning p {
    margin-bottom: 4px;
}
@media (max-width: 768px) {
    .privacy-page {
        padding: 20px 0 60px;
    }
    .privacy-section {
        padding: 24px 20px;
    }
    .privacy-table {
        font-size: 0.85rem;
    }
    .privacy-table th,
    .privacy-table td {
        padding: 8px 10px;
    }
}

/* ===== CGU Page ===== */
.cgu-page {
    padding: 40px 0 80px;
    min-height: 100vh;
    background: #FAFAFA;
}
.cgu-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.cgu-company-block {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 32px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.cgu-company-block p {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 4px;
}
.cgu-company-block p:last-child {
    margin-bottom: 0;
}
.cgu-company-block strong {
    color: #1A1A2E;
}
.cgu-section {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 32px 36px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.cgu-section h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
}
.cgu-section h2 i {
    color: #8B5CF6;
    font-size: 1.2rem;
}
.cgu-section h2 .cgu-article-num {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: auto;
    flex-shrink: 0;
}
.cgu-section p,
.cgu-section li {
    color: #64748B;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 12px;
}
.cgu-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}
.cgu-section ul li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}
.cgu-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: #8B5CF6;
    border-radius: 50%;
}
.cgu-section a {
    color: #8B5CF6;
    text-decoration: none;
    border-bottom: 1px dotted rgba(139, 92, 246, 0.4);
    transition: all 0.15s ease;
}
.cgu-section a:hover {
    color: #7C3AED;
    border-bottom-color: #7C3AED;
}
.cgu-info-block {
    background: rgba(139, 92, 246, 0.08);
    border-left: 3px solid #8B5CF6;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 16px 0;
}
.cgu-info-block p {
    margin-bottom: 4px;
}
.cgu-info-block p:last-child {
    margin-bottom: 0;
}
.cgu-warning {
    background: rgba(234, 179, 8, 0.08);
    border-left: 3px solid #eab308;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 16px 0;
}
.cgu-warning p {
    margin-bottom: 4px;
}
.cgu-warning p:last-child {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .cgu-page {
        padding: 20px 0 60px;
    }
    .cgu-section {
        padding: 24px 20px;
    }
    .cgu-company-block {
        padding: 20px 16px;
    }
}

/* ===== Contact FAQ Grid (shared with contact page) ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* ===== Dark Mode — Pages ===== */

/* Page Hero dark mode */
body.dark-mode .page-hero::after {
    background: linear-gradient(to top, #0F0F14, transparent);
}

/* About dark mode */
body.dark-mode .about-content {
    background: #0F0F14;
}
body.dark-mode .about-section {
    background: #1A1A2E;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}
body.dark-mode .about-section h2,
body.dark-mode .about-section h3 {
    color: #EDEDEF;
}
body.dark-mode .about-section p,
body.dark-mode .about-section ul li {
    color: #A0A0B0;
}
body.dark-mode .factsheet-card {
    background: #1A1A2E;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}
body.dark-mode .factsheet-header {
    background: rgba(139, 92, 246, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}
body.dark-mode .factsheet-header h2 {
    color: #EDEDEF;
}
body.dark-mode .factsheet-description {
    color: #A0A0B0;
}
body.dark-mode .factsheet-grid {
    border-top-color: rgba(255, 255, 255, 0.06);
}
body.dark-mode .factsheet-item {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}
body.dark-mode .factsheet-item:nth-child(odd) {
    border-right-color: rgba(255, 255, 255, 0.06);
}
body.dark-mode .factsheet-label {
    color: #6B6B78;
}
body.dark-mode .factsheet-value {
    color: #A0A0B0;
}
body.dark-mode .stat-card {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .stat-label {
    color: #A0A0B0;
}
body.dark-mode .value-card {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .value-card h4 {
    color: #EDEDEF;
}
body.dark-mode .value-card p {
    color: #A0A0B0;
}
body.dark-mode .platform-card {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .platform-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
body.dark-mode .platform-card h4 {
    color: #EDEDEF;
}
body.dark-mode .platform-card p {
    color: #A0A0B0;
}
body.dark-mode .about-hero::after {
    background: linear-gradient(to top, #0F0F14, transparent);
}
body.dark-mode .aeo-geo-highlight {
    background: rgba(139, 92, 246, 0.12);
}
body.dark-mode .about-cta .btn {
    background: #1A1A2E;
    color: #EDEDEF;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
body.dark-mode .about-cta .btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Contact dark mode */
body.dark-mode .contact-content {
    background: #0F0F14;
}
body.dark-mode .contact-info {
    background: #1A1A2E;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}
body.dark-mode .contact-info h2,
body.dark-mode .contact-details h3 {
    color: #EDEDEF;
}
body.dark-mode .contact-details p {
    color: #A0A0B0;
}
body.dark-mode .contact-item {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}
body.dark-mode .contact-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
}
body.dark-mode .social-links {
    border-top-color: rgba(255, 255, 255, 0.06);
}
body.dark-mode .social-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #EDEDEF;
}
body.dark-mode .social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #fff;
}
body.dark-mode .contact-form-card {
    background: #1A1A2E;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}
body.dark-mode .contact-form-card h2 {
    color: #EDEDEF;
}
body.dark-mode .contact-form-card .form-label {
    color: #EDEDEF;
}
body.dark-mode .contact-form-card .form-control,
body.dark-mode .contact-form-card .form-select {
    background: #16161D;
    border-color: rgba(255, 255, 255, 0.1);
    color: #EDEDEF;
}
body.dark-mode .contact-form-card .form-control:focus,
body.dark-mode .contact-form-card .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}
body.dark-mode .contact-form-card .form-control::placeholder {
    color: #6B6B78;
}
body.dark-mode .form-copy-notice {
    color: #6B6B78;
}
body.dark-mode .contact-alert.alert-success {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.25);
}
body.dark-mode .contact-alert.alert-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.25);
}
body.dark-mode .contact-faq {
    background: #1A1A2E;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}
body.dark-mode .contact-faq h2 {
    color: #EDEDEF;
}
body.dark-mode .contact-cta h2 {
    color: #fff;
}

/* FAQ dark mode */
body.dark-mode .faq-page {
    background: #0F0F14;
}
body.dark-mode .faq-item {
    background: #1A1A2E;
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}
body.dark-mode .faq-item summary {
    color: #EDEDEF;
}
body.dark-mode .faq-item summary::after {
    color: #a78bfa;
}
body.dark-mode .faq-item summary:hover {
    color: #a78bfa;
}
body.dark-mode .faq-answer {
    color: #A0A0B0;
    border-top-color: rgba(255,255,255,0.06);
}
body.dark-mode .faq-answer a {
    color: #a78bfa;
}
body.dark-mode .faq-section-title {
    color: #EDEDEF;
    border-bottom-color: rgba(139,92,246,0.25);
}
body.dark-mode .aqa-section {
    background: #1A1A2E;
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}
body.dark-mode .aqa-section h2 {
    color: #EDEDEF;
}
body.dark-mode .aqa-section h2 i {
    color: #a78bfa;
}
body.dark-mode .aqa-section p {
    color: #A0A0B0;
}
body.dark-mode .aqa-badge {
    background: rgba(139,92,246,0.15);
    border-color: rgba(139,92,246,0.3);
    color: #a78bfa;
}
body.dark-mode .aqa-feature {
    background: rgba(139,92,246,0.08);
}
body.dark-mode .aqa-feature span {
    color: #A0A0B0;
}
body.dark-mode .faq-cta {
    background: linear-gradient(135deg, #12121A 0%, #1E1245 100%);
}

/* Legal dark mode */
body.dark-mode .legal-page {
    background: #0F0F14;
}
body.dark-mode .legal-header h1 {
    color: #EDEDEF;
}
body.dark-mode .legal-header .legal-subtitle {
    color: #A0A0B0;
}
body.dark-mode .legal-header .legal-updated {
    color: #6B6B78;
}
body.dark-mode .legal-section {
    background: #1A1A2E;
    border-color: rgba(255,255,255,0.08);
}
body.dark-mode .legal-section h2 {
    color: #EDEDEF;
    border-bottom-color: rgba(102,126,234,0.25);
}
body.dark-mode .legal-section h2 i {
    color: #8B8BF6;
}
body.dark-mode .legal-section p,
body.dark-mode .legal-section li {
    color: #A0A0B0;
}
body.dark-mode .legal-section a {
    color: #8B8BF6;
}
body.dark-mode .legal-section a:hover {
    color: #a78bfa;
}
body.dark-mode .legal-info-block {
    background: rgba(139,92,246,0.12);
}
body.dark-mode .legal-note {
    background: rgba(139,92,246,0.1);
    color: #6B6B78;
}

/* Privacy dark mode */
body.dark-mode .privacy-page {
    background: #0F0F14;
}
body.dark-mode .privacy-container {
    background: transparent;
}
body.dark-mode .privacy-section {
    background: #1A1A2E;
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}
body.dark-mode .privacy-section h2 {
    color: #EDEDEF;
    border-bottom-color: rgba(139,92,246,0.25);
}
body.dark-mode .privacy-section h2 i {
    color: #a78bfa;
}
body.dark-mode .privacy-section h3 {
    color: #EDEDEF;
}
body.dark-mode .privacy-section p,
body.dark-mode .privacy-section li {
    color: #A0A0B0;
}
body.dark-mode .privacy-section a {
    color: #a78bfa;
}
body.dark-mode .privacy-section a:hover {
    color: #c4b5fd;
}
body.dark-mode .privacy-table th {
    background: rgba(139,92,246,0.12);
    color: #EDEDEF;
}
body.dark-mode .privacy-table td {
    border-bottom-color: rgba(255,255,255,0.06);
    color: #A0A0B0;
}
body.dark-mode .privacy-info-block {
    background: rgba(139,92,246,0.1);
}
body.dark-mode .privacy-info-block p {
    color: #A0A0B0;
}
body.dark-mode .privacy-warning {
    background: rgba(234,179,8,0.12);
}
body.dark-mode .privacy-warning p {
    color: #A0A0B0;
}

/* CGU dark mode */
body.dark-mode .cgu-page {
    background: #0F0F14;
}
body.dark-mode .cgu-container {
    background: transparent;
}
body.dark-mode .cgu-company-block {
    background: rgba(139,92,246,0.1);
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}
body.dark-mode .cgu-company-block p {
    color: #A0A0B0;
}
body.dark-mode .cgu-company-block strong {
    color: #EDEDEF;
}
body.dark-mode .cgu-section {
    background: #1A1A2E;
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}
body.dark-mode .cgu-section h2 {
    color: #EDEDEF;
    border-bottom-color: rgba(139,92,246,0.25);
}
body.dark-mode .cgu-section h2 i {
    color: #a78bfa;
}
body.dark-mode .cgu-section h3 {
    color: #EDEDEF;
}
body.dark-mode .cgu-section p,
body.dark-mode .cgu-section li {
    color: #A0A0B0;
}
body.dark-mode .cgu-section a {
    color: #a78bfa;
}
body.dark-mode .cgu-section a:hover {
    color: #c4b5fd;
}
body.dark-mode .cgu-info-block {
    background: rgba(139,92,246,0.1);
}
body.dark-mode .cgu-info-block p {
    color: #A0A0B0;
}
body.dark-mode .cgu-warning {
    background: rgba(234,179,8,0.12);
}
body.dark-mode .cgu-warning p {
    color: #A0A0B0;
}

/* Contact FAQ items dark mode */
body.dark-mode .faq-item p {
    color: #A0A0B0;
}
body.dark-mode .faq-item h3 {
    color: #EDEDEF;
}
