* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs */
    --primary: #2a9d8f;
    --primary-dark: #21867a;
    --primary-light: #f0f9f8;
    --secondary: #264653;
    --accent: #e9c46a;
    --text: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    
    /* Espacements */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;

    /* Ombres & Rayons */
    --shadow: 0 4px 20px rgba(42, 157, 143, 0.08);
    --shadow-hover: 0 12px 40px rgba(42, 157, 143, 0.12);
    --radius: 20px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Skeletons */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite linear;
    border-radius: 4px;
    display: inline-block;
    color: transparent !important;
    user-select: none;
}

@keyframes skeleton-loading {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 12px;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-desktop a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
    width: 100%;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.btn-menu span {
    width: 26px;
    height: 3px;
    background: var(--text);
    border-radius: 4px;
    transition: var(--transition);
    transform-origin: center;
}

.btn-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.btn-menu.active span:nth-child(2) {
    opacity: 0;
}

.btn-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 157, 143, 0.3);
}

/* Hero Section */
.hero {
    padding: 200px 24px 120px;
    background: linear-gradient(135deg, #2a9d8f 0%, #264653 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Hero Profiles Selector */
.hero-profiles {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin: 40px 0 var(--space-xl);
    flex-wrap: wrap;
}

.profile-card {
    background: var(--white);
    padding: 16px 28px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--secondary);
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(42, 157, 143, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.profile-card i {
    font-size: 22px;
    color: var(--primary);
    transition: var(--transition);
}

.profile-card:hover i {
    transform: scale(1.1);
}

.profile-card.patient { border-bottom: 3px solid var(--primary); }
.profile-card.pro { border-bottom: 3px solid var(--secondary); }
.profile-card.assistant { border-bottom: 3px solid var(--accent); }

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 196, 106, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 64px);
    color: var(--secondary);
    margin-bottom: var(--space-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(42, 157, 143, 0.1);
    z-index: -1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Note: Les styles de cartes de profil sont définis ci-dessus */

/* Search Box */
.search-box {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(42, 157, 143, 0.1);
    max-width: 1000px;
    margin: 0 auto var(--space-xxl);
    border: 1px solid rgba(42, 157, 143, 0.05);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: var(--space-md);
    align-items: end;
}

.search-field {
    text-align: left;
}

.search-field label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-field select,
.search-field input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    font-size: 15px;
    font-weight: 500;
    background: #f8fafc;
    cursor: pointer;
    transition: var(--transition);
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 5px rgba(42, 157, 143, 0.1);
}

.btn-search {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(42, 157, 143, 0.3);
}

.btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(42, 157, 143, 0.4);
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.stat {
    text-align: center;
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features {
    padding: 120px 24px;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: var(--space-md);
    letter-spacing: -1px;
}

.section-header p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.step {
    text-align: center;
    padding: 50px 40px;
    background: #f8fafc;
    border-radius: 32px;
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
}

.step:hover {
    transform: translateY(-12px);
    background: var(--white);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    border-color: var(--primary-light);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto var(--space-lg);
    box-shadow: 0 15px 30px rgba(42, 157, 143, 0.3);
    transform: rotate(-5deg);
    transition: var(--transition);
}

.step:hover .step-number {
    transform: rotate(0deg) scale(1.1);
}

.step h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--secondary);
}

.step p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* Trust Section */
.trust {
    padding: 60px 24px;
    background: var(--primary-light);
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.badge-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.badge strong {
    display: block;
    color: var(--secondary);
    font-size: 15px;
    margin-bottom: 4px;
}

.badge span {
    font-size: 13px;
    color: var(--text-light);
}

/* Psychologues Section */
.psychologues-section {
    padding: 100px 24px;
}

.psychologues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.psy-card {
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.psy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(42, 157, 143, 0.1);
    border-color: var(--primary-light);
}

.psy-card-header {
    background: linear-gradient(135deg, #f0f9f8 0%, #ffffff 100%);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.psy-avatar {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 5px solid var(--white);
    transition: var(--transition);
}

.psy-card:hover .psy-avatar {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(42, 157, 143, 0.2);
}

.psy-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.psy-specialty {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.psy-rating {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    color: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.psy-card-body {
    padding: 30px;
}

.psy-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.psy-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.psy-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.psy-price span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.psy-card .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 120px 24px;
    background: linear-gradient(135deg, var(--secondary) 0%, #111827 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.05" fill-rule="evenodd"><circle cx="3" cy="3" r="1"/></g></svg>');
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: var(--space-md);
    letter-spacing: -1.5px;
}

.cta-section p {
    font-size: 20px;
    opacity: 0.8;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.payment-icon {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.payment-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Blog Section */
.blog-section {
    padding: 120px 24px;
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.blog-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.blog-content {
    padding: 24px;
}

.blog-category {
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--secondary);
}

.blog-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.blog-meta {
    font-size: 13px;
    color: #94a3b8;
}

/* Footer */
footer {
    background: #1a2634;
    color: var(--white);
    padding: 80px 24px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-powered {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.footer-powered p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.footer-powered strong {
    color: var(--primary);
}

.footer-powered a {
    color: var(--primary);
    text-decoration: underline;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #94a3b8;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #64748b;
}

/* Page Header */
.page-header {
    background: var(--bg-gradient);
    padding: 140px 24px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Auth Section */
.auth-section {
    padding: 120px 24px 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
}

.auth-container {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 50px;
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header h1 {
    font-size: 30px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.auth-header p {
    color: var(--text-light);
}

/* Fin Design Amélioré */

/* Contact Page */
.contact-section {
    padding: 100px 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 17px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 54px;
    height: 54px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 4px;
}

.contact-item span {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Security Page */
.security-section {
    padding: 100px 24px;
}

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

.security-content h2 {
    font-size: 28px;
    margin: 45px 0 20px;
    color: var(--primary);
}

.security-content h2:first-child {
    margin-top: 0;
}

.security-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.security-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.security-content li {
    padding: 10px 0;
    padding-left: 10px;
    color: var(--text-light);
    line-height: 1.7;
}

.security-content li::marker {
    color: var(--primary);
}

.security-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f9ff 100%);
    padding: 35px;
    border-radius: 20px;
    margin: 40px 0;
    border: 1px solid rgba(42, 157, 143, 0.2);
}

.security-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Legal Page */
.legal-section {
    padding: 100px 24px;
    max-width: 850px;
    margin: 0 auto;
}

.legal-section h1 {
    font-size: 38px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--secondary);
}

.legal-section h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--primary);
}

.legal-section h2:first-of-type {
    margin-top: 0;
}

.legal-section p,
.legal-section li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section a {
    color: var(--primary);
    text-decoration: underline;
}

/* Filters */
.filters {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--secondary);
}

.filter-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    background: var(--white);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 20px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
        animation: slideIn 0.3s ease;
    }

    .nav-desktop.active {
        display: flex;
    }

    /* Overlay sombre */
    .nav-desktop.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(17, 24, 39, 0.6);
        backdrop-filter: blur(4px);
        z-index: -1;
    }

    @keyframes slideIn {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    .btn-menu {
        display: flex;
        z-index: 1001;
    }

    .header-actions .btn-secondary {
        display: none;
    }

    /* Éviter le gonflement et le chevauchement du logo et du bouton sur tablette/mobile */
    .logo {
        font-size: 20px;
        gap: 8px;
    }

    .logo img {
        width: 36px;
        height: 36px;
    }

    .header-actions .btn-primary {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 8px;
    }

    .hero {
        padding: 160px 24px 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    .btn-search {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 32px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .psychologues-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-profiles {
        gap: 10px;
        margin: 30px 0;
    }

    .profile-card {
        min-width: 130px;
        padding: 15px;
        flex: 1;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .auth-container {
        padding: 30px;
    }

    /* Optimisations poussées pour les téléphones étroits */
    @media (max-width: 480px) {
        .logo {
            font-size: 16px;
            gap: 6px;
        }
        .logo img {
            width: 30px;
            height: 30px;
        }
        .header-actions .btn-primary {
            padding: 6px 12px;
            font-size: 12px;
        }
        .hero {
            padding: 130px 16px 50px;
        }
        .hero h1 {
            font-size: 25px;
        }
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero > * {
    animation: fadeInUp 0.6s ease forwards;
}

.hero h1 {
    animation-delay: 0.1s;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.search-box {
    animation-delay: 0.3s;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.hero-stats {
    animation-delay: 0.4s;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
