/* ============================================================
   Pro-Voyance.fr — Page "Rejoindre l'annuaire"
   ============================================================ */

/* --- Variables --- */
:root {
    --rj-purple-deep: #1a0b2e;
    --rj-purple-mid: #4a148c;
    --rj-purple-light: #b39ddb;
    --rj-gold: #ffd700;
    --rj-gold-soft: #ffe066;
    --rj-text: #e0e0e0;
    --rj-text-muted: #a0a0a0;
    --rj-glass: rgba(255, 255, 255, 0.06);
    --rj-glass-border: rgba(255, 255, 255, 0.1);
    --rj-danger-soft: rgba(220, 53, 69, 0.15);
    --rj-success-soft: rgba(40, 167, 69, 0.15);
}

/* --- Container & Sections --- */
.rj-container {
    max-width: 1100px;
    margin: 0 auto;
}

.rj-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rj-section:last-child {
    border-bottom: none;
}

/* --- Section labels & titles --- */
.rj-section-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(179, 157, 219, 0.2), rgba(255, 215, 0, 0.1));
    color: var(--rj-gold);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.rj-section-label-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--rj-gold);
    border-color: rgba(255, 255, 255, 0.2);
}

.rj-section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ede7f6;
    line-height: 1.3;
}

.rj-section-intro {
    font-size: 1.15rem;
    color: var(--rj-text-muted);
    max-width: 700px;
    margin: 15px auto 0;
    line-height: 1.7;
}

/* ============================================================
   HERO
   ============================================================ */
.rj-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') center center/cover no-repeat;
}

.rj-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(26, 11, 46, 0.95) 0%, rgba(74, 20, 140, 0.85) 50%, rgba(26, 11, 46, 0.92) 100%);
    z-index: 1;
}

.rj-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.rj-gradient-text {
    background: linear-gradient(135deg, var(--rj-purple-light), var(--rj-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rj-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.rj-badge-glow {
    background: linear-gradient(135deg, var(--rj-gold), #ffb300);
    color: #1a0b2e;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
    animation: rjGlow 3s ease-in-out infinite;
}

@keyframes rjGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); }
}

/* Hero Buttons */
.rj-btn-primary {
    background: linear-gradient(135deg, var(--rj-purple-mid), #7b1fa2);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(74, 20, 140, 0.4);
}
.rj-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 20, 140, 0.6);
    color: #fff;
}

.rj-btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.rj-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.rj-btn-accent {
    background: linear-gradient(135deg, var(--rj-gold), #ffb300);
    color: var(--rj-purple-deep);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.3);
}
.rj-btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(255, 215, 0, 0.5);
    color: var(--rj-purple-deep);
}

/* Hero particles */
.rj-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.rj-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.rj-particle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--rj-gold) 0%, transparent 70%);
    top: 10%;
    right: 5%;
    animation: rjFloat 8s ease-in-out infinite;
}

.rj-particle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--rj-purple-light) 0%, transparent 70%);
    bottom: 15%;
    left: 10%;
    animation: rjFloat 10s ease-in-out infinite reverse;
}

.rj-particle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--rj-gold) 0%, transparent 70%);
    top: 50%;
    left: 40%;
    animation: rjFloat 12s ease-in-out infinite;
}

@keyframes rjFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, -30px); }
    50% { transform: translate(-15px, 20px); }
    75% { transform: translate(25px, 15px); }
}

/* ============================================================
   ERA CARDS (Avant / Maintenant)
   ============================================================ */
.rj-card-era {
    background: var(--rj-glass);
    border: 1px solid var(--rj-glass-border);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease;
}
.rj-card-era:hover {
    transform: translateY(-4px);
}

.rj-era-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.rj-card-before .rj-era-badge {
    background: rgba(255, 255, 255, 0.08);
    color: var(--rj-text-muted);
}
.rj-card-after .rj-era-badge {
    background: rgba(255, 215, 0, 0.15);
    color: var(--rj-gold);
}

.rj-era-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.rj-card-before .rj-era-icon { color: var(--rj-text-muted); opacity: 0.5; }
.rj-card-after .rj-era-icon { color: var(--rj-gold); }

.rj-era-text {
    font-style: italic;
    color: var(--rj-text);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 18px;
    border-radius: 10px;
    border-left: 3px solid var(--rj-purple-light);
    margin-bottom: 20px;
}

.rj-era-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rj-era-list li {
    padding: 8px 0;
    color: var(--rj-text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
}
.rj-era-list li:last-child { border-bottom: none; }
.rj-card-after .rj-era-list li { color: var(--rj-text); }

/* ============================================================
   STAT BAR
   ============================================================ */
.rj-stat-bar {
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.3), rgba(26, 11, 46, 0.5));
    border: 1px solid rgba(179, 157, 219, 0.15);
    border-radius: 16px;
    padding: 35px 25px;
    margin-top: 40px;
}

.rj-stat-number {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--rj-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.rj-stat-label {
    font-size: 0.85rem;
    color: var(--rj-text-muted);
    line-height: 1.4;
}

/* ============================================================
   BRAIN BOX (how AI works)
   ============================================================ */
.rj-brain-box {
    background: var(--rj-glass);
    border: 1px solid var(--rj-glass-border);
    border-radius: 16px;
    overflow: hidden;
}

.rj-brain-header {
    background: linear-gradient(135deg, var(--rj-purple-mid), #7b1fa2);
    color: #fff;
    padding: 18px 25px;
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 600;
}

.rj-brain-body {
    padding: 25px;
}

.rj-brain-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--rj-text);
    font-size: 0.95rem;
    line-height: 1.5;
}
.rj-brain-step:last-child { border-bottom: none; }

.rj-brain-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--rj-purple-light), var(--rj-gold));
    color: var(--rj-purple-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.rj-brain-footer {
    background: rgba(255, 215, 0, 0.08);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    padding: 15px 25px;
    font-size: 0.9rem;
    color: var(--rj-text);
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.rj-feature-card {
    background: var(--rj-glass);
    border: 1px solid var(--rj-glass-border);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}
.rj-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(179, 157, 219, 0.3);
    box-shadow: 0 10px 30px rgba(74, 20, 140, 0.2);
}

.rj-feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(179, 157, 219, 0.2), rgba(255, 215, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--rj-gold);
    margin-bottom: 20px;
}

.rj-feature-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: #ede7f6;
    margin-bottom: 12px;
}

.rj-feature-card p {
    color: var(--rj-text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.rj-quote-block {
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.15), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(179, 157, 219, 0.15);
    border-radius: 16px;
    padding: 35px;
}

.rj-quote-icon {
    font-size: 3rem;
    color: var(--rj-gold);
    opacity: 0.6;
}

.rj-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--rj-text);
    line-height: 1.7;
    margin-bottom: 10px;
    border: none;
    padding: 0;
}

.rj-quote-author {
    font-size: 0.85rem;
    color: var(--rj-text-muted);
    margin: 0;
}

.rj-text {
    color: var(--rj-text);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.rj-how-section {
    background: var(--rj-purple-deep);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.rj-how-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(124, 67, 189, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.rj-step-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}
.rj-step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
}

.rj-step-num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--rj-gold), #ffb300);
    color: var(--rj-purple-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.rj-step-icon {
    font-size: 2rem;
    color: var(--rj-purple-light);
    margin: 15px 0 20px;
}

.rj-step-card h4 {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.rj-step-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ============================================================
   COMPARISON CARDS
   ============================================================ */
.rj-compare-card {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}
.rj-compare-card:hover {
    transform: translateY(-4px);
}

.rj-compare-header {
    padding: 18px 25px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1.05rem;
}

.rj-compare-without {
    background: var(--rj-danger-soft);
    border: 1px solid rgba(220, 53, 69, 0.2);
}
.rj-compare-without .rj-compare-header {
    background: rgba(220, 53, 69, 0.15);
    color: #f28b96;
}

.rj-compare-with {
    background: var(--rj-success-soft);
    border: 1px solid rgba(40, 167, 69, 0.2);
}
.rj-compare-with .rj-compare-header {
    background: rgba(40, 167, 69, 0.15);
    color: #7ddf9b;
}

.rj-compare-list {
    list-style: none;
    padding: 20px 25px;
    margin: 0;
}

.rj-compare-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.92rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.rj-compare-list li:last-child { border-bottom: none; }

.rj-compare-without .rj-compare-list li {
    color: rgba(255, 255, 255, 0.55);
}
.rj-compare-without .rj-compare-list li i {
    color: #dc3545;
    margin-top: 3px;
    flex-shrink: 0;
}

.rj-compare-with .rj-compare-list li {
    color: var(--rj-text);
}
.rj-compare-with .rj-compare-list li i {
    color: #28a745;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.rj-accordion {
    border: none;
}

.rj-accordion-item {
    background: var(--rj-glass) !important;
    border: 1px solid var(--rj-glass-border) !important;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.rj-accordion-btn {
    background: transparent !important;
    color: #ede7f6 !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 25px;
    box-shadow: none !important;
}
.rj-accordion-btn::after {
    filter: invert(1) brightness(0.7);
}
.rj-accordion-btn:not(.collapsed)::after {
    filter: invert(1) brightness(1);
}

.rj-accordion-body {
    color: var(--rj-text-muted);
    padding: 0 25px 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.rj-final-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: var(--rj-purple-deep);
}

.rj-final-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(124, 67, 189, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
    animation: rjPulse 10s ease-in-out infinite alternate;
}

@keyframes rjPulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.rj-final-icon {
    font-size: 3rem;
    color: var(--rj-gold);
    opacity: 0.7;
}

.rj-final-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
}

.rj-final-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .rj-hero-title { font-size: 2.2rem; }
    .rj-hero-subtitle { font-size: 1.05rem; }
    .rj-section-title { font-size: 1.8rem; }
    .rj-section { padding: 60px 0; }
    .rj-final-title { font-size: 1.8rem; }
    .rj-stat-number { font-size: 1.8rem; }
}

@media (max-width: 767px) {
    .rj-hero { min-height: 70vh; }
    .rj-hero-title { font-size: 1.75rem; }
    .rj-hero-subtitle { font-size: 0.95rem; }
    .rj-section-title { font-size: 1.5rem; }
    .rj-section { padding: 45px 0; }
    .rj-how-section { padding: 50px 0; }
    .rj-final-cta { padding: 60px 0; }
    .rj-final-title { font-size: 1.5rem; }
    .rj-stat-bar { padding: 25px 15px; }
    .rj-stat-number { font-size: 1.5rem; }
    .rj-stat-label { font-size: 0.78rem; }
    .rj-brain-box { margin-top: 30px; }
    .rj-quote-block { padding: 25px; }
    .rj-quote { font-size: 1rem; }
}

@media (max-width: 575px) {
    .rj-hero-title { font-size: 1.5rem; }
    .rj-feature-card { padding: 22px; }
    .rj-step-card { padding: 30px 20px; }
}
