/* ========================================
   PROFESSIONNELS PAGE - MODERN DESIGN
   ======================================== */

:root {
    --pro-primary: #2563EB;
    /* Blue primary */
    --pro-accent: #10B981;
    /* Green accent for health */
    --pro-secondary: #6366F1;
    /* Purple for diversity */
    --pro-primary-light: #DBEAFE;
    --pro-accent-light: #D1FAE5;
    --pro-secondary-light: #E0E7FF;
    --pro-text-dark: #1F2937;
    --pro-text-light: #6B7280;
    --pro-border: #E5E7EB;
}

/* Hero moderne adapté pour professionnels - Taille réduite */
.hero-modern-pro {
    position: relative;
    height: auto;
    margin-top: -80px;
    padding: 100px 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

[data-theme="dark"] .hero-modern-pro {
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--gray-900) 0%, var(--gray-800) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    background: var(--pro-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: floatParticle var(--duration) infinite ease-in-out;
    animation-delay: var(--delay);
    width: var(--size);
    height: var(--size);
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(-30px) translateX(20px);
    }

    66% {
        transform: translateY(10px) translateX(-20px);
    }
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-shape {
    position: absolute;
    opacity: 0.08;
    animation: rotateShape 20s infinite linear;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--pro-primary), var(--pro-secondary));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-2 {
    top: 60%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--pro-accent), var(--pro-primary));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-3 {
    bottom: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: var(--pro-secondary);
    border-radius: 50%;
}

@keyframes rotateShape {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, -20px) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.hero-content-modern {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 1.5rem;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.badge-icon {
    font-size: 1.25rem;
    color: var(--pro-primary);
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pro-text-dark);
    letter-spacing: 0.02em;
}

.hero-title-modern {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--pro-text-dark);
}

[data-theme="dark"] .hero-title-modern {
    color: white;
}

.text-gradient {
    background: linear-gradient(135deg, var(--pro-primary), var(--pro-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-modern {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--pro-text-light);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subtitle-line {
    display: inline-block;
    white-space: nowrap;
}

[data-theme="dark"] .hero-subtitle-modern {
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ========================================
   RECRUITMENT SECTION
   ======================================== */
.pro-recruitment-section {
    padding: 2rem 0;
}

.pro-recruitment-card {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    color: white;
    text-align: center;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.pro-recruitment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.pro-recruitment-content {
    position: relative;
    z-index: 2;
}

.pro-recruitment-card h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.pro-recruitment-card p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background: white;
    color: #2563eb;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   FILTERS SECTION
   ======================================== */
.filters-section {
    padding: 2rem 0;
    background: #F9FAFB;
    border-bottom: 1px solid var(--pro-border);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filters-pills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-pill {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--pro-border);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pro-text-dark);
}

.filter-pill:hover {
    border-color: var(--pro-primary);
    color: var(--pro-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.filter-pill.active {
    background: var(--pro-primary);
    color: white;
    border-color: var(--pro-primary);
}

.filter-pill i {
    font-size: 1rem;
}

/* ========================================
   PROFESSIONALS SECTION
   ======================================== */
.professionals-section,
.therapies-section,
.associations-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.25rem;
    color: var(--pro-text-dark);
    margin-bottom: 2.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: var(--pro-primary);
}

/* Professional Cards Grid */
.professionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.professional-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 1;
}

.professional-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--pro-primary);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--pro-primary), var(--pro-secondary));
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    color: var(--pro-text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-description {
    color: var(--pro-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Badges */
.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.badge {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-primary {
    background: var(--pro-primary-light);
    color: var(--pro-primary);
}

.badge-accent {
    background: var(--pro-accent-light);
    color: var(--pro-accent);
}

.badge-secondary {
    background: var(--pro-secondary-light);
    color: var(--pro-secondary);
}

/* Card Details */
.card-details {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #F9FAFB;
    border-radius: 12px;
}

.card-details h4 {
    color: var(--pro-text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.card-details h4 i {
    color: var(--pro-accent);
}

.card-details ul {
    list-style: none;
    padding: 0;
}

.card-details li {
    padding: 0.5rem 0;
    color: var(--pro-text-light);
    padding-left: 1.5rem;
    position: relative;
}

.card-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--pro-primary);
    font-weight: bold;
}

/* Card Actions */
.card-actions {
    margin-top: 1.5rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--pro-primary);
    color: white;
}

.btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--pro-primary);
    border: 2px solid var(--pro-primary);
}

.btn-outline:hover {
    background: var(--pro-primary);
    color: white;
}

.btn-cta {
    background: linear-gradient(135deg, var(--pro-accent), #059669);
    color: white;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

/* ========================================
   THERAPIES SECTION
   ======================================== */
.therapies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.therapy-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 1;
}

.therapy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.therapy-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--pro-accent), #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
}

.therapy-card h3 {
    color: var(--pro-text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.therapy-card p {
    color: var(--pro-text-light);
    margin-bottom: 1.5rem;
}

.therapy-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 1.5rem;
}

.therapy-list li {
    padding: 0.5rem 0;
    color: var(--pro-text-light);
    padding-left: 1.5rem;
    position: relative;
}

.therapy-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--pro-accent);
    font-weight: bold;
}

/* ========================================
   ASSOCIATIONS SECTION
   ======================================== */
.associations-section {
    background: #F9FAFB;
}

.associations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.association-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.association-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.association-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.association-icon.tdah {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.association-icon.tsa {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.association-icon.hpi {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.association-icon.dys {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.association-card h3 {
    color: var(--pro-text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.association-card ul {
    list-style: none;
    padding: 0;
}

.association-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--pro-border);
}

.association-card li:last-child {
    border-bottom: none;
}

.association-card li a {
    color: var(--pro-text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.association-card li a:hover {
    color: var(--pro-primary);
    transform: translateX(5px);
}

.association-card li a strong {
    color: var(--pro-text-dark);
}

.association-card li a:hover strong {
    color: var(--pro-primary);
}

.association-card li a i.fa-external-link-alt {
    font-size: 0.75rem;
    opacity: 0.5;
    margin-left: 0.5rem;
    transition: opacity 0.3s ease;
}

.association-card li a:hover i.fa-external-link-alt {
    opacity: 1;
    color: var(--pro-primary);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--pro-secondary) 0%, var(--pro-primary) 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .hero-modern-pro {
        padding: 4rem 0 2rem;
    }

    .hero-title-modern {
        font-size: 2rem;
    }

    .hero-subtitle-modern {
        font-size: 1rem;
    }

    .filters-pills {
        gap: 0.5rem;
    }

    .filter-pill {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .professionals-grid,
    .therapies-grid,
    .associations-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-modern-pro {
        padding: 3rem 0 1.5rem;
    }

    .filters-section {
        top: 70px;
    }

    .professional-card,
    .therapy-card,
    .association-card {
        padding: 1.5rem;
    }
}