/* 
 * Fichier de thème centralisé pour adaptation rapide aux clients
 * Modifiez uniquement les valeurs des variables pour personnaliser le site
 */

:root {
    /* Couleurs principales du thème */
    --color-primary: #D062B5;           /* Couleur principale (boutons, liens actifs) */
    --color-primary-hover: #86148B;     /* Couleur principale au survol */
    --color-primary-light: #E89FD1;     /* Variante claire de la couleur principale */
    
    --color-secondary: #86148B;         /* Couleur secondaire (accents) */
    --color-secondary-hover: #5f0c66;   /* Couleur secondaire au survol */
    
    /* Arrière-plans */
    --bg-page: linear-gradient(120deg, #EFECE3 0%, #faf8f3 100%);  /* Fond de page */
    --bg-card: #ffffff;                 /* Fond des cartes/conteneurs */
    --bg-section-light: #f6f9ff;
    --bg-section-alternate: #faf3ff;
    --bg-section-success: #eafcf3;      /* Sections de succès */
    
    /* Texte */
    --text-primary: #333333;            /* Texte principal */
    --text-secondary: #666666;          /* Texte secondaire */
    --text-muted: #999999;              /* Texte atténué */
    --text-on-primary: #ffffff;         /* Texte sur fond primaire */
    
    /* Bordures */
    --border-light: #ecf0e2;        /* Bordures claires */
    --border-medium: #b6beb4;           /* Bordures moyennes */
    
    /* États et feedbacks */
    --color-success: #22c55e;           /* Succès (vert) */
    --color-success-light: #86efac;     /* Succès clair */
    --color-warning: #f59e0b;           /* Avertissement (orange) */
    --color-error: #ef4444;             /* Erreur (rouge) */
    --color-info: #3b82f6;              /* Information (bleu) */
    
    /* Icônes et accents */
    --icon-primary: var(--color-primary);
    --icon-secondary: var(--color-secondary);
    --icon-success: #a7f3d0;
    --icon-user: #E89FD1;
    
    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(208, 98, 181, 0.08);
    
    /* Espacements (peuvent être ajustés si nécessaire) */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Rayons de bordure */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Polices */
    --font-heading: 'Courgette', cursive;
    --font-body: 'Inter', sans-serif;
}

/* Classes utilitaires pour application rapide */

/* Arrière-plans */
.bg-page { background: var(--bg-page); }
.bg-card { background: var(--bg-card); }
.bg-section-light { background: var(--bg-section-light); }
.bg-section-alternate { background: var(--bg-section-alternate); }
.bg-section-success { background: var(--bg-section-success); }

/* Services - Options de sélection */
.service-option {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.service-option:hover {
    border-color: var(--color-primary-light);
    background: #fef3fb;
}

.service-option:has(input:checked) {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #fef3fb 0%, #faf3ff 100%);
    box-shadow: 0 4px 12px rgba(208, 98, 181, 0.15);
}

/* Boutons et éléments interactifs */
.btn-primary {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--text-on-primary);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: all 0.15s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--color-primary-hover) 0%, var(--color-secondary-hover) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 100, 228, 0.3);
}

/* En-têtes */
.header-primary {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--text-on-primary);
    padding: 2rem 1.5rem;
    text-align: center;
}

/* Cartes d'information */
.info-card {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    background: var(--bg-section-light);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.info-card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.info-card-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Formulaires */
.form-input {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    background: var(--bg-section-light);
    color: var(--text-primary);
    font-weight: 500;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(70, 100, 228, 0.1);
}

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

/* Icônes de statut */
.icon-primary { color: var(--icon-primary); }
.icon-secondary { color: var(--icon-secondary); }
.icon-success { color: var(--icon-success); }
.icon-user { color: var(--icon-user); }

/* Messages de statut */
.message-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 1rem;
    border-radius: var(--radius-md);
}

.message-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 1rem;
    border-radius: var(--radius-md);
}

/* Conteneur principal */
.main-container {
    max-width: 960px;
    margin: 2.5rem auto;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Sections de service */
.service-option {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-section-light);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.service-option:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

/* Texte */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-on-primary { color: var(--text-on-primary); }

/* Responsive - conserve le comportement Tailwind pour mobile */
@media (max-width: 768px) {
    .main-container {
        margin: 0;
        padding: 1.5rem;
        border-radius: 0;
    }
    
    .header-primary {
        padding: 1.5rem 1rem;
    }
}
