/* Accueil : vitrine éditoriale dans la charte i-CAC. */
.accueil #wrapper { padding: 0; }
.home-page { --home-or: #ac863c; --home-or-texte: var(--icac-anthracite); --home-or-bordure: #ddc794; --home-or-clair: #fff6df; color: var(--icac-anthracite); font-size: 1rem; font-weight: 300; font-variant-numeric: lining-nums tabular-nums; }
.home-shell { width: min(calc(100% - 3rem), max(90%, 1200px)); max-width: 1600px; margin-inline: auto; }
.home-page h1, .home-page h2, .home-page h3 { text-transform: none; }
.home-page h2 { font-size: clamp(1.65rem, 2.2vw, 2.15rem); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 .5rem; }
.home-page h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 .5rem; }
.home-page a { color: var(--icac-anthracite); }
.home-page a:focus-visible, .home-page button:focus-visible, .home-artistes:focus-visible { outline: 3px solid var(--icac-rouge); outline-offset: 4px; }
.home-page .btn-primary { color: #fff; }
.home-page .btn { margin: 0; text-transform: none; letter-spacing: 0; }
.home-page .home-eyebrow { color: var(--icac-anthracite); font-size: .72rem; font-family: var(--icac-police-surtitre); font-weight: 500; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 .65rem; }
/* L’œuvre occupe toute la vitrine ; le voile protège le texte quelle que soit sa couleur. */
.home-hero-band { position: relative; isolation: isolate; background: #242326; border-bottom: 3px solid var(--home-or-bordure); }
.home-hero-band::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(24, 23, 26, .97) 0%, rgba(24, 23, 26, .9) 35%, rgba(24, 23, 26, .7) 50%, rgba(24, 23, 26, .08) 78%), linear-gradient(0deg, rgba(24, 23, 26, .5), transparent 40%); }
.home-hero-band > .home-vitrine-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero-copy > .home-eyebrow { color: #efd393; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 5rem); align-items: stretch; min-height: 420px; padding-block: 2.25rem; }
.home-hero-copy { min-width: 0; align-self: center; color: #fff; }
.home-titre-editorial h1 { color: #fff; font-size: clamp(2rem, 2.7vw, 3rem); font-weight: 800; font-style: normal; line-height: 1.12; letter-spacing: -.035em; margin: 0 0 1.4rem; text-align: left !important; }
.home-titre-editorial p { color: #e0deda; text-align: left !important; }
.home-hero-copy > .home-text-link { color: #efd393; }
.home-hero a:focus-visible, .home-hero button:focus-visible { outline-color: #efd393; }
.home-search { position: relative; z-index: 2; margin-top: 1.1rem; }
.home-search-row { display: flex; gap: .5rem; }
.home-search-field { display: flex; align-items: center; position: relative; flex: 1; min-width: 0; }
.home-search-field > .icone { position: absolute; z-index: 1; left: 1rem; color: var(--icac-anthracite); width: 1.2rem; height: 1.2rem; pointer-events: none; }
.home-search-field > .form-control { height: 56px; padding-left: 2.8rem; border-color: #d5d7df; font-size: 1rem; font-weight: 300; }
.home-search-field .ts-wrapper { width: 100%; }
.home-search-field .ts-control { min-height: 56px; align-items: center; padding: .65rem 2rem .65rem 2.8rem; border: 1px solid #d5d7df; border-radius: .5rem; font-size: 1rem; box-shadow: none; }
.home-search-field input::placeholder { color: var(--icac-anthracite); opacity: 1; }
.home-search-field .ts-control > input { font-size: 1rem; min-width: 0; }
.home-search-field .ts-dropdown { font-size: .95rem; border: 1px solid #dfe1e8; border-radius: .5rem; margin-top: .35rem; box-shadow: 0 8px 24px #2d2e3314; }
.home-search-field .ts-dropdown .option, .home-search-field .ts-dropdown .create { padding: .7rem; }
.home-search-field .ts-dropdown .active { background: #f4f5f9; color: var(--icac-anthracite); }
.home-search-field .ts-control .item { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-search-row .btn { flex-shrink: 0; }
.home-page .home-search-note { margin: .65rem 0 .9rem; color: #e0deda; font-size: .8rem; }
.home-text-link { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; font-size: .9rem; font-weight: 800; color: var(--icac-anthracite); text-decoration: none; border: 0; background: none; padding: 0; text-align: left; }
.home-text-link:hover { text-decoration: underline; text-underline-offset: .25rem; }
.home-text-link:disabled { opacity: .6; cursor: wait; }
.home-compteurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: start; justify-self: end; width: min(100%, 440px); padding: 1rem 0; border: 1px solid #ddc79490; border-radius: .75rem; background: #242326e8; }
.home-compteurs > a { position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .25rem .75rem; color: #f4eee3; text-align: center; }
.home-compteurs > a + a { border-left: 1px solid #ddc79460; }
.home-compteurs strong { color: #efd393; font-size: clamp(2rem, 3vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; white-space: nowrap; }
.home-compteurs span:not(.visually-hidden) { font-size: .85rem; line-height: 1.3; }
.home-compteurs > a:hover span:not(.visually-hidden) { text-decoration: underline; text-underline-offset: .25rem; }
.home-section { margin-block: 2.5rem; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.15rem; }
.home-section-heading p:not(.home-eyebrow) { color: var(--icac-anthracite); font-size: .95rem; margin: 0; }
.home-focus-actions { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }
.home-text-link[hidden] { display: none; }
.home-focus-autres { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.35rem; border: 0; border-radius: 2rem; background: var(--icac-rouge); color: #fff; font-size: .95rem; font-weight: 800; box-shadow: 0 6px 16px #df373440; transition: background-color .15s, transform .15s; }
.home-focus-autres .icone { width: 1.2rem; height: 1.2rem; }
.home-focus-autres:hover:not(:disabled) { background: var(--icac-rouge-fonce); transform: translateY(-1px); }
.home-focus-autres:disabled { opacity: .6; cursor: wait; }
/* 12 artistes visibles d'un coup, en 3 rangées de 4 comme sur l'ancien site. */
.home-artistes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; transition: opacity .2s; }
.home-artistes[aria-busy] { opacity: .45; }
.home-artiste { min-width: 0; }
.home-artiste > a { display: flex; flex-direction: column; height: 100%; border: 1px solid #e1e3ea; border-radius: .75rem; overflow: hidden; color: var(--icac-anthracite); background: #fff; transition: border-color .15s; }
.home-artiste > a:hover { border-color: #c0c3cf; }
.home-artiste-image { position: relative; flex-shrink: 0; height: clamp(140px, 11vw, 190px); background: #f1f2f6; }
.home-artiste-image > img { width: 100%; height: 100%; object-fit: cover; }
.home-artiste-label { position: absolute; top: .6rem; left: .6rem; background: var(--home-or-clair); padding: .25rem .5rem; border-radius: .3rem; font-size: .65rem; font-weight: 800; color: var(--home-or-texte); }
.home-artiste-info { flex: 1; padding: .8rem .8rem .6rem; text-align: center; }
.home-artiste-info h3 { font-size: 1rem; margin-bottom: .35rem; overflow-wrap: anywhere; }
.home-artiste-info > p { display: flex; justify-content: center; font-weight: 300; flex-wrap: wrap; gap: .25rem .9rem; color: var(--icac-anthracite); font-size: .8rem; margin-bottom: 0; }
.home-artiste-info p strong { font-weight: 300; color: var(--icac-anthracite); }
.home-artiste-lien { display: inline-flex; align-items: center; justify-content: center; align-self: center; justify-self: center; flex-shrink: 0; gap: .5rem; width: fit-content; max-width: calc(100% - 1.6rem); margin: 0 .8rem .8rem; padding: .55rem .9rem; border-radius: var(--icac-rayon); background: var(--icac-rouge); color: #fff; font-size: .8rem; font-weight: 800; text-align: center; transition: background-color .15s; }
.home-artiste > a:hover .home-artiste-lien, .home-artiste > a:focus-visible .home-artiste-lien { background: var(--icac-rouge-fonce); }
.home-artiste .home-artiste-description { display: none; }
.home-artiste-sans-image { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .65rem; height: 100%; padding-top: 1.5rem; color: var(--icac-anthracite); font-size: .85rem; }
.home-artiste-sans-image img { object-fit: contain; }
.home-artistes:has(> :only-child), .home-artistes:has(> .home-focus-empty) { grid-template-columns: 1fr; }
.home-artiste:only-child > a { display: grid; grid-template-columns: minmax(160px, .5fr) 1fr; grid-template-rows: 1fr auto; align-items: stretch; }
.home-artiste:only-child .home-artiste-info { padding: 1.5rem 2rem; align-self: center; }
.home-artiste:only-child .home-artiste-image { grid-column: 1; grid-row: 1 / span 2; height: auto; min-height: 240px; }
.home-artiste:only-child .home-artiste-image > img { position: absolute; inset: 0; }
.home-artiste:only-child .home-artiste-lien { grid-column: 2; align-self: end; }
.home-artiste:only-child .home-artiste-description { display: block; }
.home-focus-empty { padding: 1.5rem; background: #f5f6f9; border-radius: .75rem; }
.home-focus-empty p { margin-bottom: .5rem; }
.home-certification { background: linear-gradient(110deg, #fcf5e5, #fffdf7); border-block: 1px solid var(--home-or-bordure); padding-block: 2.5rem; }
.home-certification-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.home-editorial h2, .home-editorial h3, .home-editorial p { text-align: left !important; }
.home-certification-copy .home-editorial h2 { max-width: 22ch; line-height: 1.15; font-size: clamp(1.8rem, 2.5vw, 2.5rem); margin-bottom: 1rem; }
.home-editorial p { color: var(--icac-anthracite); line-height: 1.6; font-size: .95rem; margin-bottom: .35rem; }
.home-certification-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.4rem; }
.home-certification-actions .btn { text-align: left; }
.home-certification-aide { margin: 1.1rem 0 0; color: var(--icac-anthracite); font-size: .85rem; }
.home-certification-aide a { text-decoration: underline; text-underline-offset: .2rem; }
.home-etapes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.home-etape { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: .75rem; padding-block: 1.1rem; border-top: 1px solid var(--home-or-bordure); }
.home-etape:nth-child(-n + 2) { border-top: 0; padding-top: 0; }
.home-etape:nth-last-child(-n + 2) { padding-bottom: 0; }
.home-etape-icone { display: grid; place-items: center; width: 42px; height: 42px; color: var(--icac-rouge); }
.home-etape-icone svg { display: block; width: 29px; height: 29px; fill: none; }
.home-etape h3 { font-size: 1.1rem; margin-bottom: .35rem; color: var(--icac-rouge); }
.home-etape .home-text-link { margin-top: .45rem; font-size: .85rem; }
.home-parcours-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.home-parcours-carte { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); border: 1px solid #e1e3ea; border-radius: .85rem; overflow: hidden; }
.home-parcours-carte > img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.home-parcours-carte > div { padding: 1.6rem; align-self: center; }
.home-parcours h3 { font-size: 1.35rem; }
.home-parcours p:not(.home-eyebrow) { font-size: .95rem; color: var(--icac-anthracite); line-height: 1.6; margin-bottom: 1rem; }
.home-secondary-link { display: block; margin-top: .7rem; color: var(--icac-anthracite) !important; font-size: .8rem; text-decoration: underline; text-underline-offset: .2rem; }
.home-parrainage { background: #faf6ed; border-color: var(--home-or-bordure); }
.home-actualites-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.home-actualite { grid-column: 2; }
.home-actualite:nth-of-type(odd) { grid-column: 3; }
.home-actualite { border: 1px solid #e1e3ea; border-radius: .85rem; background: #fff; min-width: 0; }
.home-actualite > a { display: flex; align-items: start; gap: 1rem; padding: 1.4rem; height: 100%; color: var(--icac-anthracite); }
.home-actualite > a:hover h3 { color: var(--icac-anthracite); }
.home-actualite-image { flex: 0 0 100px; }
.home-actualite-image img { width: 100%; height: 120px; object-fit: cover; border-radius: .35rem; }
.home-actualite-copy { min-width: 0; }
.home-actualite time { display: block; color: var(--icac-anthracite); font-size: .75rem; margin-bottom: .6rem; }
.home-actualite h3 { font-size: 1.1rem; overflow-wrap: anywhere; }
.home-actualite p { color: var(--icac-anthracite); font-size: .85rem; line-height: 1.55; margin-bottom: 1rem; overflow-wrap: anywhere; }
.home-actualite .home-text-link { font-size: .8rem; }
.home-actualite-uda { background: #faf6ed; border-color: var(--home-or-bordure); }
.home-actualite-uda .home-actualite-copy > .home-eyebrow { color: var(--home-or); font-size: .68rem; font-weight: 800; margin-bottom: .5rem; }
/* Le classement est un appel à l’action illustré, à hauteur des deux rangées d’actualités. */
.home-classement { position: relative; isolation: isolate; overflow: hidden; grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 420px; border-top: 3px solid var(--home-or); padding: clamp(1.4rem, 2vw, 2rem); background: var(--icac-anthracite); color: #fff; border-radius: .85rem; }
.home-classement-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.home-classement::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #17181cc7 0%, #17181c40 25%, #17181cde 60%, #17181cf5 100%); pointer-events: none; }
.home-classement .home-eyebrow { color: #fff; margin-bottom: auto; }
.home-classement > p:not(.home-eyebrow) { max-width: 42ch; color: #fff; font-size: 1rem; line-height: 1.55; margin-bottom: 1.5rem; }
.home-classement h3 { color: #fff; font-size: clamp(1.4rem, 1.8vw, 1.8rem); margin-bottom: .75rem; }
.home-top50 { display: flex; align-items: baseline; gap: .55rem; color: #fff; font-size: clamp(2rem, 3vw, 3rem); font-weight: 800; line-height: 1; margin-block: 2rem 1rem; }
.home-top50 strong { color: #f2d077; font-size: clamp(4.5rem, 6vw, 6rem); }
.home-classement .home-classement-cta { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: 1rem 1.25rem; font-size: .95rem; }
.home-classement .home-classement-cta:focus-visible { outline-color: #fff; }
@media (max-width: 1199px) {
    .home-certification-grid { grid-template-columns: 1fr; }
    .home-hero { gap: 2rem; }
    .home-actualites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-actualite:nth-of-type(n) { grid-column: auto; }
    .home-classement { grid-column: 1 / -1; grid-row: auto; }
    .home-parcours-carte { grid-template-columns: 1fr; }
    .home-parcours-carte > img { height: 170px; min-height: 0; }
}
@media (max-width: 991px) {
    .home-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.5rem; padding-top: 1.5rem; }
    .home-titre-editorial h1 { font-size: 2rem; }

    .home-section-heading { align-items: start; flex-wrap: wrap; }
    .home-focus-actions { justify-content: space-between; width: 100%; }
    .home-artistes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-certification-grid { gap: 2rem; }
}
@media (max-width: 767px) {
    .home-compteurs { justify-self: start; width: 100%; max-width: 440px; padding-block: .8rem; }
    .home-hero { grid-template-columns: 1fr; min-height: 0; gap: 1.5rem; padding-block: 1.5rem; }
    .home-hero-band::after { background: linear-gradient(90deg, rgba(24, 23, 26, .88), rgba(24, 23, 26, .65)), linear-gradient(0deg, rgba(24, 23, 26, .55), transparent); }
    .home-hero-band > .home-vitrine-image { object-position: 65% center; }

    .home-titre-editorial h1 { max-width: 30ch; }
    .home-section { margin-block: 2rem; }
    .home-certification-grid, .home-parcours-grid { grid-template-columns: 1fr; }
    .home-certification { padding-block: 2rem; }
    .home-certification-copy .home-editorial h2 { max-width: none; }
    .home-artiste:only-child > a { grid-template-columns: minmax(120px, .6fr) 1fr; }
    .home-artiste:only-child .home-artiste-info { flex: 1; padding: 1rem 1rem 1.5rem; text-align: center; }
    .home-artiste:only-child .home-artiste-description { display: none; }
}
@media (max-width: 575px) {
    .home-etapes { grid-template-columns: 1fr; }
    .home-etape:nth-child(n) { border-top: 1px solid var(--home-or-bordure); padding-block: 1rem; }
    .home-etape:first-child { border-top: 0; padding-top: 0; }
    .home-etape:last-child { padding-bottom: 0; }
    .home-shell { width: calc(100% - 2rem); }
    .home-hero { padding-block: 1.5rem; gap: 1.25rem; }
    .home-titre-editorial h1 { font-size: 1.9rem; }
    .home-search-row { flex-direction: column; gap: .5rem; }
    .home-search-row .btn { padding-inline: .7rem; font-size: .8rem; }
    .home-search-field > .icone { left: .7rem; width: 1rem; }
    .home-search-field .ts-control, .home-search-field > .form-control { padding-left: 2rem; }
    .home-search-field .ts-control > input { font-size: .9rem; }

    .home-artistes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
    .home-artiste-image { height: 130px; }
    .home-artiste-lien { font-size: .75rem; padding: .5rem .7rem; }
    /* Sur téléphone, 6 artistes suffisent : « D'autres artistes » en tire d'autres. */
    .home-artiste:nth-child(n + 7) { display: none; }
    .home-artiste:only-child > a { display: flex; }
    .home-artiste:only-child .home-artiste-image { height: 170px; min-height: 0; }
    .home-actualites-grid { grid-template-columns: 1fr; }
    .home-classement, .home-actualite:nth-of-type(n) { grid-column: auto; grid-row: auto; }
    .home-actualite > a, .home-classement, .home-parcours-carte > div { padding: 1.2rem; }
    .home-actualite-image { flex-basis: 80px; }
    .home-actualite-image img { height: 100px; }
    .home-certification-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { transition: none !important; scroll-behavior: auto !important; }
}
