/* Espace personnel : fiche compacte, accès directs et formulaires du compte. */
.profil-page { width: min(100%, max(90%, 1200px)); max-width: 1600px; color: var(--icac-anthracite); font-size: 1rem; font-weight: 300; font-variant-numeric: lining-nums tabular-nums; }
.profil-page .btn { margin: 0; text-transform: none; letter-spacing: 0; }
.profil-page a:focus-visible, .profil-page button:focus-visible { outline: 3px solid var(--icac-rouge); outline-offset: 4px; }
.profil-page .profil-entete { margin: .5rem 0 1.5rem; }
.profil-surtitre { margin: 0 0 .4rem; font-size: .75rem; font-family: var(--icac-police-surtitre); font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--icac-anthracite); }
.profil-page .profil-entete h1 { margin-bottom: .4rem; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.035em; line-height: 1.15; overflow-wrap: anywhere; }
.profil-page .profil-sous-titre { color: var(--icac-anthracite); font-size: .95rem; overflow-wrap: anywhere; }
.profil-page .card { border: 1px solid #dfe1e8; border-radius: .85rem; box-shadow: none; }
.profil-page .card-body { padding: 1.35rem; }
.profil-page .profil-fiche { margin-bottom: 1.5rem; background: #fff; }
.profil-fiche-interieur { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.profil-page .profil-fiche .carte-fiche-image { position: relative; width: 100%; height: 100%; min-height: 200px; background: var(--icac-fond); }
.profil-page .profil-fiche .carte-fiche-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.profil-page .carte-fiche-initiales { position: absolute; inset: 0; display: grid; place-items: center; color: #727581; font-size: 3.5rem; font-weight: 300; }
.profil-fiche-contenu { min-width: 0; }
.profil-page .profil-etiquette { color: var(--icac-rouge-fonce); letter-spacing: .12em; }
.profil-page .profil-fiche-nom { margin: .2rem 0 .65rem; font-size: 1.65rem; overflow-wrap: anywhere; }
.profil-page .profil-fiche .badge { padding: .4rem .65rem; font-weight: 300; border-radius: 2rem; }
.profil-page .badge.text-bg-success { color: #28563c !important; background: #e4f0e8 !important; }
.profil-page .badge.text-bg-danger { color: var(--icac-rouge-fonce) !important; background: #fbe1e0 !important; }
.profil-page .badge.text-bg-warning { color: #745218 !important; background: #fff0ce !important; }
.profil-page .profil-chiffres { gap: .65rem 1.75rem; margin-bottom: 1rem; }
.profil-page .profil-chiffres > div + div { border-left: 1px solid #dfe1e8; padding-left: 1.75rem; }
.profil-page .profil-chiffres dd { font-size: 1.6rem; line-height: 1.25; }
.profil-fiche-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.profil-section-entete { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-bottom: .85rem; }
.profil-page .profil-titre { font-size: 1.2rem; }
.profil-section-entete .profil-titre { margin: 0; }
.profil-section-entete p { font-size: .85rem; color: var(--icac-anthracite); margin: 0; }
.profil-page .raccourci { transition: border-color 180ms ease, background-color 180ms ease; }
.profil-page .raccourci:hover { border-color: var(--icac-rouge); background: #fffafa; transform: none; box-shadow: none; }
.profil-page .raccourci .card-body { display: flex; align-items: flex-start; gap: .85rem; padding: 1.05rem; }
.profil-page .raccourci-icone { flex-shrink: 0; border-radius: 0; color: var(--icac-rouge); background: none; }
.profil-page .raccourci .raccourci-icone { margin: 0; }
.profil-raccourci-contenu { flex: 1; min-width: 0; }
.profil-page .raccourci-titre { line-height: 1.3; color: var(--icac-rouge); }
.profil-page .raccourci-texte { font-size: .85rem; line-height: 1.45; color: var(--icac-anthracite); }
.profil-raccourci-fleche { flex-shrink: 0; color: #8a8d96; margin-top: .7rem; font-size: .85rem; }
.profil-page .profil-infos dd { font-size: .95rem; }
.profil-page .table-responsive { position: relative; }
.profil-page .profil-transactions { --bs-table-bg: transparent; font-size: .85rem; }
.profil-page .profil-transactions th { padding: .6rem .5rem; background: #f5f6f9; border-bottom: 1px solid #dfe1e8; color: var(--icac-anthracite); font-weight: 800; text-align: left; }
.profil-page .profil-transactions td { padding: .85rem .5rem; border-bottom: 1px solid #e4e5eb; }
.profil-page .profil-transactions small { display: inline-block; overflow-wrap: anywhere; font-size: .7rem; }
.profil-page .profil-transactions .btn { padding: .4rem .65rem; font-size: .75rem; white-space: nowrap; }
.profil-vide { display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem; margin-bottom: 1.25rem; background: #f5f6f9; border-radius: .6rem; }
.profil-vide > .icone { color: #727581; font-size: 1.5rem; flex-shrink: 0; }
.profil-vide strong { font-size: .95rem; }
.profil-vide p { margin: .25rem 0 0; font-size: .85rem; color: var(--icac-anthracite); }
.profil-confidentialite { max-width: 95ch; font-size: .75rem; color: var(--icac-anthracite); }
.profil-confidentialite a { color: var(--icac-rouge-fonce); }
.profil-formulaire-page { max-width: 1600px; }
.profil-retour { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .85rem; color: var(--icac-anthracite); }
.profil-formulaire-carte { padding: 1.5rem; }
.profil-formulaire-note { font-size: .85rem; color: var(--icac-anthracite); margin-bottom: 1rem; }
.profil-formulaire-ligne { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.profil-page .form-floating > .form-control { min-height: calc(3.5rem + 2px); border-color: #d6d8e0; font-size: 1rem; font-weight: 300; }
.profil-page .form-floating > label { color: var(--icac-anthracite); font-size: 1rem; font-weight: 500; }
/* Le caractère obligatoire est indiqué au-dessus des champs ; ::after sert au fond du label Bootstrap. */
.profil-page .form-floating > label.required::after { content: ''; font-size: inherit; }
.profil-page .form-text { font-size: .8rem; }
.profil-confirmation { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #e4e5eb; }
.profil-confirmation h2 { font-size: 1.05rem; text-transform: none; }
.profil-confirmation h2 .icone { color: var(--icac-rouge-fonce); margin-right: .35rem; }
.profil-formulaire-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.25rem; }
@media (max-width: 1199px) {
    .profil-page { width: 100%; }
}
@media (max-width: 767px) {
    .profil-page .profil-entete { margin-top: 0; gap: .85rem; margin-bottom: 1.25rem; }
    .profil-compte-actions .btn { font-size: .75rem; padding: .5rem .7rem; }
    .profil-fiche-interieur { grid-template-columns: 100px minmax(0, 1fr); }
    .profil-page .profil-fiche .carte-fiche-image { min-height: 100px; }
    .profil-page .profil-fiche .card-body { padding: 1rem; }
    .profil-page .profil-fiche-nom { font-size: 1.4rem; }
    .profil-page .profil-chiffres { gap: .65rem 1rem; }
    .profil-page .profil-chiffres > div + div { padding-left: 0; border: 0; }
    .profil-page .profil-fiche .badge { font-size: .7rem; }
    .profil-fiche-actions .btn { width: 100%; font-size: .8rem; padding: .6rem .65rem; }
    .profil-page .profil-fiche { margin-bottom: 1.25rem; }
    .profil-page .card-body { padding: 1rem; }
    .profil-page .profil-transactions { min-width: 510px; }
    .profil-formulaire-carte { padding: 1.15rem; }
    .profil-formulaire-ligne { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 479px) {
    .profil-fiche-interieur { grid-template-columns: 1fr; }
    .profil-page .profil-fiche .carte-fiche-image { height: 90px; min-height: 90px; }
    .profil-page .profil-fiche .carte-fiche-image img { object-position: center; }
    .profil-page .carte-fiche-initiales { font-size: 2.5rem; }
    .profil-fiche-actions .btn { width: auto; }
    .profil-page .profil-chiffres dd { font-size: 1.4rem; }
}

/* Profil sans fiche : deux parcours bien distincts, artiste ou galerie */
.profil-demarrage { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
.profil-page .profil-demarrage-choix { overflow: hidden; border-top-width: 4px; }
.profil-page .profil-demarrage-artiste { border-top-color: var(--icac-rouge); }
.profil-page .profil-demarrage-galerie { border-top-color: var(--icac-anthracite); }
.profil-demarrage-entete { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.25rem; border-bottom: 1px solid #dfe1e8; }
.profil-demarrage-artiste .profil-demarrage-entete { background: #fdf1f0; }
.profil-demarrage-galerie .profil-demarrage-entete { background: #f1f2f5; }
.profil-demarrage-entete h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.profil-demarrage-artiste h3 { color: var(--icac-rouge); }
.profil-demarrage-galerie h3 { color: var(--icac-anthracite); }
.profil-demarrage-icone { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: #fff; font-size: 1.35rem; }
.profil-demarrage-artiste .profil-demarrage-icone { background: var(--icac-rouge); }
.profil-demarrage-galerie .profil-demarrage-icone { background: var(--icac-anthracite); }
.profil-demarrage-choix .card-body { padding: 1.25rem; }
.profil-demarrage-ou { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: #8a8d96; font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.profil-demarrage-ou::before, .profil-demarrage-ou::after { content: ""; flex: 1; width: 1px; background: #d3d6de; }
@media (max-width: 767.98px) {
    .profil-demarrage { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
    .profil-demarrage-ou { flex-direction: row; }
    .profil-demarrage-ou::before, .profil-demarrage-ou::after { width: auto; height: 1px; }
}
