/**
 * Styles spécifiques pour l'espace membre
 * Thème nature/environnement avec effets modernes
 */

/* ============================================
   Dashboard Membre
   ============================================ */
.member-dashboard {
    padding: clamp(2rem, 6vw, 4rem) 0;
    background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
}

.member-hero {
    position: relative;
    border-radius: 32px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, #114b5f, #1a936f);
    color: #f7f7f5;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    overflow: hidden;
    box-shadow: 0 25px 45px rgba(17, 75, 95, 0.35);
}
.member-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 60%);
    z-index: 0;
}
.member-hero__inner {
    position: relative;
    z-index: 1;
}
.member-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: rgba(247, 247, 245, 0.8);
    margin-bottom: 0.5rem;
}
.member-hero__intro {
    color: rgba(247, 247, 245, 0.85);
    max-width: 640px;
    line-height: 1.6;
}
.member-hero__toggle {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.4rem 1.1rem;
    background: rgba(5, 10, 18, 0.3);
    color: #fff;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
}
.member-hero__toggle:hover {
    transform: translateY(-2px);
}

.member-section {
    margin-bottom: var(--spacing-xl);
}

.member-section__header {
    margin-bottom: var(--spacing-lg);
}

.member-section__eyebrow {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    font-weight: 600;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.member-onboarding {
    background: linear-gradient(135deg, rgba(91, 142, 61, 0.05) 0%, rgba(74, 144, 164, 0.05) 100%);
    border-radius: 16px;
    padding: var(--spacing-xl);
    border: 2px solid rgba(45, 80, 22, 0.1);
}

.member-onboarding__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    gap: var(--spacing-md);
}

.member-onboarding__dismiss {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    color: var(--color-primary);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.member-onboarding__dismiss:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.member-checklist {
    display: grid;
    gap: var(--spacing-lg);
    list-style: none;
    padding: 0;
}

.member-checklist__item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    padding: var(--spacing-md);
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.member-checklist__item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.15);
}

.member-checklist__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.member-checklist__content h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.member-checklist__content p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.dashboard-cards,
.member-actions__grid,
.member-kpi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1rem, 3vw, 1.5rem);
}
.dashboard-card,
.member-panel {
    border-radius: 24px;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: #fff;
    border: 1px solid rgba(8, 18, 24, 0.08);
    box-shadow: 0 15px 35px rgba(15, 30, 40, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dashboard-card:hover,
.member-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 30, 40, 0.18);
}
.dashboard-card h3,
.member-panel h2 {
    margin-bottom: 0.75rem;
    color: #0f3d3e;
}
.dashboard-card p {
    color: #4a5b67;
}


.member-panel__list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: var(--spacing-md);
}

.member-panel__item {
    padding: var(--spacing-md);
    background: var(--color-bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    transition: all 0.3s ease;
}

.member-panel__item:hover {
    background: rgba(45, 80, 22, 0.05);
    transform: translateX(4px);
}

.member-upgrade__card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    padding: var(--spacing-xl);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(45, 80, 22, 0.25);
}

.member-upgrade__card h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.member-upgrade__card p {
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

/* KPIs Premium */
.member-kpi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.member-kpi__card {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.1);
    border: 1px solid rgba(45, 80, 22, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.member-kpi__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(45, 80, 22, 0.2);
    border-color: var(--color-primary);
}

.member-kpi__label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
}

.member-kpi__value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.member-kpi__cta {
    display: inline-block;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.member-kpi__cta:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* Actions rapides */
.member-actions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.action-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    background: white;
    border: 2px solid rgba(45, 80, 22, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.action-card:hover {
    border-color: var(--color-primary);
    background: rgba(45, 80, 22, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.15);
    color: var(--color-primary);
}

/* Calculator */
.calculator-page .calculator-wrapper {
    padding: 0;
}
.calculator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
}
.calculator-card,
.calculator-results,
.calculator-placeholder {
    border-radius: 28px;
    background: #fff;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 20px 40px rgba(10, 24, 36, 0.12);
    border: 1px solid rgba(8, 18, 24, 0.08);
}
.calculator-results {
    position: sticky;
    top: 120px;
}
.calculator-placeholder {
    text-align: center;
    color: var(--color-text-light);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}
.placeholder-icon {
    font-size: 3rem;
}
.form-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}
.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}
.form-section-header {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}
.form-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(15, 61, 62, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.form-section-header h3 {
    margin: 0;
}
.form-section-header p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.9rem;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
}
.form-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.metric-item {
    background: var(--color-bg-light);
    border-radius: 18px;
    padding: 1rem;
    text-align: center;
}
.metric-item.highlight {
    background: linear-gradient(135deg, rgba(17, 75, 95, 0.1), rgba(26, 147, 111, 0.15));
    border: 1px solid rgba(26, 147, 111, 0.4);
}
.metric-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
}
.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary-dark, #0f3d3e);
}
.metric-sub {
    font-size: 0.8rem;
    color: var(--color-primary);
}
.progress-container {
    margin-bottom: 1.2rem;
}
.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-light);
}
.progress-track {
    margin-top: 0.4rem;
    height: 10px;
    background: var(--color-bg-light);
    border-radius: 999px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
}
.equivalences-box,
.advice-box {
    padding: 1rem;
    border-radius: 18px;
    background: var(--color-bg-light);
    margin-bottom: 1.2rem;
}
.teaser-box {
    background: linear-gradient(135deg, #1a936f, #114b5f);
    border-radius: 22px;
    padding: 1.5rem;
    color: #fff;
    text-align: center;
}
.teaser-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   Page Pétition Améliorée
   ============================================ */

.petition-page-wrapper {
    min-height: 100vh;
    background: var(--color-bg);
    color: var(--color-text);
}

/* Hero Section */
.petition-hero {
    position: relative;
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #1a936f 0%, #0d5d47 100%);
    color: white;
    overflow: hidden;
}

.petition-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.petition-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.petition-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease-out;
}

.petition-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.petition-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin: 0 0 2rem 0;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out;
}

.petition-encouragement {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 500;
    animation: fadeInUp 1.2s ease-out;
}

.encouragement-icon {
    font-size: 1.25rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.petition-cta {
    animation: fadeInUp 1.4s ease-out;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.petition-cta:hover .btn-icon {
    transform: scale(1.2) rotate(5deg);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Compteur animé */
.petition-counter-section {
    padding: 2rem 0;
    background: var(--color-bg-light);
    border-bottom: 2px solid var(--color-bg-light);
}

.petition-counter-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.petition-counter-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.counter-icon {
    font-size: 3rem;
    line-height: 1;
}

.counter-content {
    text-align: center;
}

.counter-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.counter-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-subtitle {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Alerts améliorées */
.petition-alert {
    margin: 2rem auto;
    max-width: 800px;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.petition-alert--success {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.petition-alert--error {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.alert-content p {
    margin: 0;
    font-size: 0.875rem;
}

/* Ticker amélioré */
.petition-ticker {
    background: var(--color-primary);
    color: white;
    padding: 1rem 0;
    overflow: hidden;
    margin: 0;
}

.petition-ticker-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.ticker-label {
    font-weight: 600;
    padding: 0 1rem;
    flex-shrink: 0;
}

.ticker-content {
    display: flex;
    gap: 2rem;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    white-space: nowrap;
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section principale */
.petition-main-section {
    padding: 3rem 0;
}

.petition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Carte formulaire */
.petition-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--color-bg-light);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.petition-form-card.form-visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out;
}

.form-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.form-card-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.5rem 0;
}

.form-card-header p {
    color: var(--color-text-light);
    margin: 0;
}

.petition-form .form-group {
    margin-bottom: 1.5rem;
}

.petition-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.label-icon {
    font-size: 1.125rem;
}

.petition-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-bg-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--color-bg);
    color: var(--color-text);
}

.petition-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 147, 111, 0.1);
}

.petition-submit-btn {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    padding: 1.25rem;
    font-weight: 600;
}

.petition-privacy {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-bg-light);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.privacy-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.petition-privacy p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Carte contexte */
.petition-context-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--color-bg-light);
}

.context-header {
    text-align: center;
    margin-bottom: 2rem;
}

.context-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.context-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.context-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.context-benefits {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-text strong {
    display: block;
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.benefit-text p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

.context-impact {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1a936f 0%, #0d5d47 100%);
    border-radius: 12px;
    color: white;
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
    .petition-hero {
        padding: 3rem 0 2rem;
    }
    
    .petition-grid {
        grid-template-columns: 1fr;
    }
    
    .petition-form-card,
    .petition-context-card {
        padding: 1.5rem;
    }
    
    .petition-counter-card {
        flex-direction: column;
        text-align: center;
    }
    
    .ticker-label {
        display: none;
    }
}

/* Mode sombre */
[data-theme="dark"] .petition-page-wrapper {
    background: var(--color-bg-dark);
    color: var(--color-text);
}

[data-theme="dark"] .petition-counter-section {
    background: #1a1a1a;
}

[data-theme="dark"] .petition-counter-card,
[data-theme="dark"] .petition-form-card,
[data-theme="dark"] .petition-context-card {
    background: #2a2a2a;
    border-color: #333;
    color: var(--color-text);
}

[data-theme="dark"] .petition-form input {
    background: #1a1a1a;
    border-color: #333;
    color: var(--color-text);
}

[data-theme="dark"] .petition-form input:focus {
    border-color: var(--color-primary-light);
}

[data-theme="dark"] .benefit-item {
    background: #1a1a1a;
    border: 1px solid #333;
}

[data-theme="dark"] .petition-alert--success {
    background: #1e3a1e;
    border-color: #28a745;
    color: #90ee90;
}

[data-theme="dark"] .petition-alert--error {
    background: #3a1e1e;
    border-color: #dc3545;
    color: #ff6b6b;
}

/* Radio */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
}
.radio-live-card {
    grid-column: span 2;
    border-radius: 32px;
    background: linear-gradient(135deg, #0f3d3e, #1a936f);
    color: #f7f7f5;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 25px 45px rgba(10, 24, 36, 0.35);
}
.radio-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}
.radio-status span:first-child {
    color: #ff4f5a;
}
.radio-player audio {
    width: 100%;
    border-radius: 16px;
    margin: 1rem 0;
}
.radio-timeline {
    margin-top: 1rem;
    display: grid;
    gap: 0.4rem;
    color: rgba(247, 247, 245, 0.85);
}
.radio-card {
    border-radius: 28px;
    background: #fff;
    padding: clamp(1.2rem, 3vw, 1.8rem);
    box-shadow: 0 15px 35px rgba(10, 24, 36, 0.1);
    border: 1px solid rgba(8, 18, 24, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.radio-card__header p {
    color: var(--color-text-light);
}
.replays-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.replay-item {
    border-radius: 18px;
    border: 1px solid var(--color-border);
    padding: 1rem;
    display: grid;
    gap: 0.5rem;
}
.replay-item audio {
    width: 100%;
}
.radio-chat .chat-messages {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.chat-message {
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: 0.8rem;
}
.chat-message__meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}
.chat-form {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.chat-form input {
    flex: 1;
    min-width: 200px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    padding: 0.7rem 1rem;
}
.chat-form button {
    border-radius: 12px;
    border: none;
    background: var(--color-primary);
    color: #fff;
    padding: 0 1.5rem;
    cursor: pointer;
}
.radio-teaser__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}


/* Responsive */
@media (max-width: 768px) {
    .member-hero {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .member-hero__toggle {
        position: static;
        margin-top: var(--spacing-md);
    }
    
    .dashboard-cards,
    .member-kpi,
    .member-actions__grid,
    .calculator-grid,
    .petition-grid,
    .radio-grid {
        grid-template-columns: 1fr;
    }
    .radio-live-card {
        grid-column: span 1;
    }
    
    .member-onboarding__header {
        flex-direction: column;
    }
}

/* ============================================
   Planificateur de Forêt-Jardin
   ============================================ */
.planner-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.planner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.planner-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(15, 61, 62, 0.1);
}

.planner-card-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-bg-light);
}

.planner-card-header h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.planner-card-header p {
    color: var(--color-text-light);
    margin: 0;
}

.planner-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(15, 61, 62, 0.08);
}

.form-section-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-section-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.form-section-header h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.form-section-header p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.strate-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
}

.strate-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.1);
}

.strate-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.strate-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.strate-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    flex: 1;
}

.strate-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.strate-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.strate-info strong {
    color: var(--color-text);
    font-size: 1rem;
}

.strate-info span {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.strate-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.strate-density,
.strate-examples {
    margin-bottom: 0.5rem;
}

.strate-density strong,
.strate-examples strong {
    color: var(--color-primary);
}

.form-actions {
    margin-top: 1rem;
}

.saved-projects {
    margin-top: 2rem;
}

.saved-projects-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.saved-project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.project-info strong {
    color: var(--color-text);
}

.project-info span {
    color: var(--color-primary);
    font-weight: 600;
}

.project-info small {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.project-actions {
    display: flex;
    gap: 0.5rem;
}

.planner-results {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(15, 61, 62, 0.1);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-bg-light);
}

.results-header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.results-header h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0;
}

.results-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.2);
}

.summary-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.summary-card strong {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.summary-card span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.results-details {
    margin-bottom: 2rem;
}

.results-details h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.results-strate-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-strate-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
}

.strate-result-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.strate-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.strate-result-info strong {
    color: var(--color-text);
    font-size: 1rem;
}

.strate-result-info span {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.strate-result-info small {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.results-plan {
    margin-bottom: 2rem;
}

.results-plan h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.plan-visual {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 2rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.plan-grid {
    display: grid;
    gap: 4px;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.plan-cell {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.plan-cell:hover {
    transform: scale(1.1);
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.plan-legend {
    margin-top: 1rem;
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.results-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-bg-light);
}

.premium-teaser-card {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 2px dashed #ff9800;
    margin-top: 2rem;
}

.premium-teaser-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.premium-teaser-card p {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.planner-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(15, 61, 62, 0.1);
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.planner-empty h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.planner-empty p {
    color: var(--color-text-light);
    line-height: 1.6;
}

.badge-premium {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #2d5016;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.member-hero__badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
}

@media (max-width: 768px) {
    .planner-grid {
        grid-template-columns: 1fr;
    }
    
    .results-summary {
        grid-template-columns: 1fr;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .results-actions .btn {
        width: 100%;
    }
    
    .plan-grid {
        max-width: 100%;
    }
}

/* ============================================
   Calendrier de Plantation & Récolte
   ============================================ */
.calendar-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.calendar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.calendar-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(15, 61, 62, 0.1);
}

.calendar-card-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-bg-light);
}

.calendar-card-header h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.calendar-card-header p {
    color: var(--color-text-light);
    margin: 0;
    font-size: 0.9rem;
}

.calendar-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.plants-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.plants-type-group {
    margin-bottom: 1.5rem;
}

.plants-type-group:last-child {
    margin-bottom: 0;
}

.plants-type-title {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.plants-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.plant-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.plant-checkbox-label:hover {
    background: var(--color-bg-light);
}

.plant-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.plant-name {
    font-weight: 500;
    color: var(--color-text);
}

.plant-variety {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-style: italic;
}

.calendar-results {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(15, 61, 62, 0.1);
}

.calendar-info-bar {
    background: var(--color-bg-light);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-info-bar .separator {
    color: var(--color-text-light);
}

.calendar-months {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calendar-month-card {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.calendar-month-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.month-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary);
}

.month-header h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin: 0;
    font-weight: 700;
}

.month-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-group {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    border-left: 4px solid;
}

.action-group h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.action-semis {
    border-left-color: #4caf50;
}

.action-semis h4 {
    color: #4caf50;
}

.action-plantation {
    border-left-color: #2196f3;
}

.action-plantation h4 {
    color: #2196f3;
}

.action-taille {
    border-left-color: #ff9800;
}

.action-taille h4 {
    color: #ff9800;
}

.action-recolte {
    border-left-color: #f44336;
}

.action-recolte h4 {
    color: #f44336;
}

.action-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.action-group li {
    padding: 0.5rem;
    background: var(--color-bg-light);
    border-radius: 8px;
    font-size: 0.9rem;
}

.action-group li strong {
    display: block;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}

.action-group li .variety {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 0.2rem;
}

.action-group li small {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.3rem;
    font-style: italic;
}

.saved-calendars {
    margin-top: 2rem;
}

.saved-calendars-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.saved-calendar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.calendar-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.calendar-info strong {
    color: var(--color-text);
}

.calendar-info span {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.calendar-info small {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.calendar-actions {
    display: flex;
    gap: 0.5rem;
}

.calendar-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(15, 61, 62, 0.1);
}

.calendar-empty .empty-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.calendar-empty h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.calendar-empty p {
    color: var(--color-text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .month-actions {
        grid-template-columns: 1fr;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .results-actions .btn {
        width: 100%;
    }
    
    .plants-list {
        max-height: 300px;
    }
}

/* ============================================
   Calculateur d'Arrosage
   ============================================ */
.watering-calculator-page .calculator-results {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(15, 61, 62, 0.1);
}

.watering-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-card {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
}

.result-card h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.result-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.result-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.result-unit {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.weather-info-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid #90caf9;
}

.weather-info-card h4 {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.weather-item {
    font-size: 0.9rem;
}

.weather-item strong {
    color: var(--color-text);
    display: block;
    margin-bottom: 0.2rem;
}

.weather-item span {
    color: var(--color-primary);
    font-weight: 600;
}

.premium-teaser-inline {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px dashed #ff9800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.premium-teaser-inline p {
    margin: 0;
    flex: 1;
    font-size: 0.9rem;
    color: var(--color-text);
}

.weather-adjustment {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #81c784;
}

.adjustment-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin: 1rem 0;
}

.adjustment-explanation {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

.chart-card {
    padding: 1.5rem;
}

.chart-card h3 {
    margin-bottom: 1.5rem;
}

.chart-card canvas {
    max-height: 300px;
}

@media (max-width: 768px) {
    .result-grid,
    .weather-details {
        grid-template-columns: 1fr;
    }
    
    .premium-teaser-inline {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   Planificateur de Haie Écologique
   ============================================ */
.hedge-planner-page .planner-results {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(15, 61, 62, 0.1);
}

.hedge-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.hedge-summary .summary-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.2);
}

.hedge-summary .summary-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.hedge-summary .summary-card strong {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.hedge-summary .summary-card span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.hedge-visual-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-bg-light);
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.hedge-visual-section h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.hedge-svg-container {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--color-border);
    overflow-x: auto;
    text-align: center;
}

.hedge-svg-container svg {
    max-width: 100%;
    height: auto;
}

.hedge-segments-section {
    margin-bottom: 2rem;
}

.hedge-segments-section h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.segments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.segment-item {
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
}

.segment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--color-primary);
}

.segment-header strong {
    font-size: 1.1rem;
    color: var(--color-text);
}

.segment-header span {
    color: var(--color-primary);
    font-weight: 600;
}

.segment-species-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.segment-species {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid;
}

.species-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.segment-species strong {
    color: var(--color-text);
    flex: 1;
}

.hedge-shopping-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 16px;
    border: 2px dashed #ff9800;
}

.hedge-shopping-section h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.shopping-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shopping-item {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--color-border);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.5rem;
}

.shopping-item-name {
    font-weight: 700;
    color: var(--color-text);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

.shopping-item-count {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
}

.shopping-item-notes {
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .hedge-summary {
        grid-template-columns: 1fr;
    }
    
    .segment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .shopping-item {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Diagnostic Sol & Microclimat
   ============================================ */
.soil-diagnostic-page .calculator-results {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(15, 61, 62, 0.1);
}

.diagnostic-score {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, white 100%);
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--color-primary) 0deg, var(--color-bg-light) 0deg);
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: white;
    z-index: 0;
}

.score-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    z-index: 1;
}

.score-label {
    font-size: 1rem;
    color: var(--color-text-light);
    position: relative;
    z-index: 1;
}

.score-description {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 1rem;
}

.diagnostic-summary {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-primary);
}

.diagnostic-summary h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.diagnostic-summary p {
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.characteristic-item {
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--color-border);
}

.char-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.char-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.char-content strong {
    color: var(--color-text);
    font-size: 0.9rem;
}

.char-content span {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
}

.char-content small {
    color: var(--color-text-light);
    font-size: 0.85rem;
    font-style: italic;
}

.plants-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.plant-tag {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.strata-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.strata-item {
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
}

.strata-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.strata-name strong {
    color: var(--color-text);
    font-size: 1.1rem;
}

.priority-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.priority-high {
    background: #4caf50;
    color: white;
}

.priority-medium {
    background: #ff9800;
    color: white;
}

.strata-item p {
    color: var(--color-text-light);
    margin: 0;
    font-size: 0.9rem;
}

.amendments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.amendment-item {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #ff9800;
}

.amendment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.amendment-header strong {
    color: var(--color-text);
    font-size: 1.1rem;
}

.amendment-quantity {
    background: white;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.amendment-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.amendment-frequency {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.amendment-details p {
    color: var(--color-text);
    margin: 0;
    font-size: 0.9rem;
}

.risks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.risk-item {
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid;
}

.risk-elevee {
    background: #ffebee;
    border-left-color: #f44336;
}

.risk-moyenne {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.risk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.risk-header strong {
    color: var(--color-text);
    font-size: 1.1rem;
    text-transform: capitalize;
}

.risk-severity {
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.severity-elevee {
    background: #f44336;
    color: white;
}

.severity-moyenne {
    background: #ff9800;
    color: white;
}

.risk-item p {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.risk-solutions {
    margin-top: 1rem;
}

.risk-solutions strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.risk-solutions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.risk-solutions li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text);
}

.risk-solutions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.diagnostic-ai-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #90caf9;
    margin-top: 2rem;
}

.diagnostic-ai-section h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.ai-explanation {
    margin-top: 1rem;
}

.ai-loading {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-light);
}

.ai-content {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.ai-text {
    color: var(--color-text);
    line-height: 1.8;
    white-space: pre-wrap;
}

.ai-error {
    color: #f44336;
    padding: 1rem;
    background: #ffebee;
    border-radius: 8px;
}

.diagnostic-teaser {
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, white 100%);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
}

.diagnostic-teaser.premium {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-color: #ff9800;
}

.diagnostic-teaser p {
    margin: 0;
    color: var(--color-text);
    font-size: 0.95rem;
}

.diagnostic-teaser-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    color: white;
    text-align: center;
}

.diagnostic-teaser-card h3 {
    color: white;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.diagnostic-teaser-card p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.diagnostic-limit-reached {
    background: #ffebee;
    border: 2px solid #f44336;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.diagnostic-limit-reached p {
    margin-bottom: 1rem;
    color: var(--color-text);
}

.diagnostic-limit-reached strong {
    color: #f44336;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.diagnostic-export-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #4caf50;
    margin-top: 2rem;
}

.diagnostic-export-section h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.export-buttons {
    display: flex;
    gap: 1rem;
}

.export-buttons .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .characteristics-grid {
        grid-template-columns: 1fr;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-value {
        font-size: 2.5rem;
    }
    
    .export-buttons {
        flex-direction: column;
    }
}

.diagnostic-save-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #90caf9;
    margin-top: 2rem;
}

.diagnostic-save-section h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.save-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.save-form .form-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
}

.diagnostic-saved-section {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid var(--color-border);
}

.saved-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.saved-header h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin: 0;
}

.saved-diagnostics-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.saved-diagnostic-item {
    background: white;
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.saved-diagnostic-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.saved-diagnostic-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.saved-diagnostic-header strong {
    display: block;
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.saved-diagnostic-date {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.saved-diagnostic-score {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.saved-diagnostic-summary {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.saved-diagnostic-actions {
    display: flex;
    gap: 0.5rem;
}

.loading-text,
.empty-text,
.error-text {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-light);
    font-style: italic;
}

.error-text {
    color: #f44336;
}

@media (max-width: 768px) {
    .saved-diagnostic-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .saved-diagnostic-actions {
        flex-direction: column;
    }
    
    .saved-diagnostic-actions .btn {
        width: 100%;
    }
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.form-label input[type="checkbox"] + span {
    margin-left: 0.5rem;
}

/* ============================================
   Page Mes Projets
   ============================================ */

.my-projects-page {
    padding: 2rem 0;
}

/* État vide */
.empty-projects-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-bg-light);
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.empty-projects-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.empty-projects-state h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.empty-projects-state p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Statistiques */
.projects-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(15, 61, 62, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Catégories de projets */
.projects-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-category {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(15, 61, 62, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-bg-light);
}

.category-header h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0;
}

.category-count {
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Grille de projets */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(15, 61, 62, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.project-card-header h3 {
    font-size: 1.125rem;
    color: var(--color-primary);
    margin: 0;
    flex: 1;
}

.project-type-badge {
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.project-summary {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.project-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-lighter);
}

.project-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* État vide dans une catégorie */
.projects-empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-light);
}

.projects-empty-state p {
    margin-bottom: 1rem;
}

/* Bandeau Premium */
.premium-teaser-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--color-primary);
    text-align: center;
}

.premium-teaser-content h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.premium-teaser-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.premium-badge-inline {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .project-card-header {
        flex-direction: column;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .project-actions .btn {
        width: 100%;
    }
}

