/* =========================================================
   EKOW GALERIE — CSS GLOBAL
   Version harmonisée complète
   ========================================================= */


/* ---------------------------------------------------------
   1. VARIABLES
   --------------------------------------------------------- */

:root {
    --ekow-black: #111111;
    --ekow-dark: #181818;
    --ekow-white: #ffffff;
    --ekow-grey: #777777;
    --ekow-light-grey: #b7b7b7;
    --ekow-line: rgba(17, 17, 17, 0.18);

    --ekow-page-width: 1300px;
    --ekow-page-gutter: 50px;

    --ekow-section-space: 96px;
    --ekow-section-space-mobile: 64px;

    --ekow-sans: Arial, Helvetica, sans-serif;
    --ekow-serif: "Instrument Serif", Georgia, serif;

    --ekow-ease: cubic-bezier(.22, .61, .36, 1);
}


/* ---------------------------------------------------------
   2. RESET ET BASE
   --------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;

    background: var(--ekow-white);
    color: var(--ekow-black);

    font-family: var(--ekow-sans);
    font-size: 16px;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* Conteneur éditorial commun */

.ekow-container {
    width: calc(100% - (var(--ekow-page-gutter) * 2));
    max-width: var(--ekow-page-width);

    margin-right: auto;
    margin-left: auto;
}


/* Titres communs de sections */

.past-expo-section-title,
.artist-selector-heading h2 {
    margin: 0;

    color: var(--ekow-black);

    font-family: var(--ekow-sans) !important;
    font-size: 20px;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1;

    letter-spacing: -0.025em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   3. FORMULAIRE DE CONTACT
   --------------------------------------------------------- */

.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    padding: 12px;

    border: 1px solid var(--ekow-black);
    border-radius: 0;

    background: transparent;
    color: var(--ekow-black);
}

.wpcf7 textarea {
    resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: 1px solid var(--ekow-black);
    outline-offset: 2px;
}

.wpcf7-submit {
    width: auto;
    padding: 12px 22px;

    border: 1px solid var(--ekow-black);
    border-radius: 0;

    background: var(--ekow-black);
    color: var(--ekow-white);

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.wpcf7-submit:hover {
    background: var(--ekow-white);
    color: var(--ekow-black);
}


/* ---------------------------------------------------------
   4. HERO
   --------------------------------------------------------- */

.hero-image {
    position: relative;
    z-index: 1;

    overflow: hidden;
}

.hero-image img {
    width: 100%;

    transition:
        transform 0.7s var(--ekow-ease),
        filter 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {

    .hero-image:hover img {
        transform: scale(1.025);
        filter: brightness(72%);
    }
}

.hero-box {
    position: relative;
    z-index: 2;

    width: min(480px, calc(100% - 100px));
    max-width: 480px;

    margin-left: 50px;
    margin-bottom: 50px;
    padding: 34px 38px;

    background: rgba(0, 0, 0, 0.86);
    color: var(--ekow-white);
}

.hero-box,
.hero-box * {
    color: var(--ekow-white) !important;
}

.hero-box h1,
.hero-box h2 {
    margin: 0 0 15px;

    font-family: var(--ekow-serif) !important;
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 0.98;

    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.hero-box p {
    margin: 8px 0;
}


/* ---------------------------------------------------------
   5. CARTES D’EXPOSITION — ACCUEIL
   --------------------------------------------------------- */

.expo-card {
    position: relative;
    z-index: 5;

    width: 84%;
    max-width: 560px;

    margin: -94px 0 0 20px;
    padding: 25px 25px 23px;

    background: rgba(24, 24, 24, 0.95);
    color: var(--ekow-white);
}

.expo-card,
.expo-card * {
    color: var(--ekow-white) !important;
}

.expo-card h1,
.expo-card h2,
.expo-card h3 {
    margin: 0 0 14px;

    font-family: var(--ekow-sans) !important;
    font-size: clamp(27px, 2.2vw, 36px);
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 0.98;

    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.expo-card p {
    margin: 5px 0;

    font-family: var(--ekow-sans);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
}

.expo-card p:last-child {
    margin-bottom: 0;
}

.expo-card a {
    display: inline-block;

    margin-top: 14px;

    font-family: var(--ekow-sans);
    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {

    .expo-card a:hover {
        transform: translateX(4px);
        opacity: 0.7;
    }
}


/* ---------------------------------------------------------
   6. SLIDER DES ŒUVRES — PAGES D’EXPOSITION
   --------------------------------------------------------- */

.expo-slider-section {
    width: 100%;

    margin: 120px auto;
}

.expo-swiper {
    position: relative;

    width: 100%;

    overflow: hidden;
}

.expo-swiper .swiper-wrapper {
    align-items: center;
}

.expo-swiper .swiper-slide {
    opacity: 0.28;

    transition:
        transform 0.45s ease,
        opacity 0.45s ease;
}

.expo-swiper .swiper-slide-active {
    opacity: 1;
}

.expo-swiper .swiper-slide-prev,
.expo-swiper .swiper-slide-next {
    opacity: 0.55;
}

.expo-slide {
    margin: 0;
}

.expo-slide img {
    width: 100%;
    height: 72vh;
    max-height: 900px;

    margin: 0 auto;

    object-fit: contain;

    transition:
        transform 0.45s ease,
        opacity 0.45s ease;
}

.expo-swiper .swiper-slide-active img {
    transform: scale(1);
}

.expo-swiper .swiper-slide-prev img,
.expo-swiper .swiper-slide-next img {
    transform: scale(0.88);
}

.expo-information {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-top: 55px;
}

.expo-text {
    max-width: 700px;
}

.expo-current-title {
    margin: 0 0 12px;

    font-family: var(--ekow-serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
}

.expo-current-details {
    margin: 0;

    color: var(--ekow-grey);

    font-size: 16px;
    line-height: 1.7;
}

.expo-navigation {
    text-align: right;
}

.expo-counter {
    display: block;

    margin-bottom: 18px;

    color: #999;

    font-size: 13px;
    letter-spacing: 0.15em;
}

.expo-pagination {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: auto !important;
}

.expo-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;

    margin: 0 6px !important;

    background: #bbb;

    opacity: 1;
}

.expo-pagination .swiper-pagination-bullet-active {
    background: var(--ekow-black);
}

.expo-arrow {
    width: 54px !important;
    height: 54px !important;

    border: 1px solid rgba(0, 0, 0, 0.65);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.expo-arrow::after {
    color: var(--ekow-black);

    font-size: 18px !important;
    font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {

    .expo-arrow:hover {
        transform: scale(1.08);

        background: var(--ekow-white);

        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
    }
}


/* ---------------------------------------------------------
   7. EXPOSITIONS PASSÉES
   --------------------------------------------------------- */

.past-expo-slider-section {
    position: relative;

    width: 100%;

    margin: var(--ekow-section-space) 0;

    overflow: hidden;
}

.past-expo-section-title {
    width: calc(100% - 100px);
    max-width: var(--ekow-page-width);

    margin: 0 auto 42px;
}

.past-expo-swiper {
    position: relative;

    width: 100%;

    overflow: visible;
}

.past-expo-swiper .swiper-wrapper {
    align-items: flex-start;
}

.past-expo-swiper .swiper-slide {
    height: auto;
}

.past-expo-item-link {
    display: block;

    color: inherit;
    text-decoration: none;
}

.past-expo-slide {
    height: auto;
}

.past-expo-image {
    width: 100%;
    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #ededed;
}

.past-expo-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.past-expo-card,
.past-expo-card-content,
.past-expo-card .past-expo-content {
    position: relative;

    width: calc(100% - 40px);

    margin: -80px auto 0;
    padding: 28px 26px 30px;

    background: rgba(24, 24, 24, 0.96);
    color: var(--ekow-white);
}

.past-expo-card,
.past-expo-card * {
    color: var(--ekow-white);
}

.past-expo-card h1,
.past-expo-card h2,
.past-expo-card h3,
.past-expo-card .past-expo-title,
.past-expo-card .title {
    margin: 0 0 14px;

    font-family: var(--ekow-sans) !important;
    font-size: clamp(30px, 2.2vw, 42px);
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 0.96;

    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.past-expo-card .past-expo-artist,
.past-expo-card .artist-name {
    margin: 0 0 12px;

    font-family: var(--ekow-sans);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: -0.015em;
    text-transform: uppercase;
}

.past-expo-card .past-expo-date,
.past-expo-card .expo-date {
    margin: 0 0 10px;

    color: rgba(255, 255, 255, 0.92);

    font-family: var(--ekow-sans);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.past-expo-card .past-expo-location,
.past-expo-card .expo-location {
    margin: 0 0 22px;

    color: rgba(255, 255, 255, 0.92);

    font-family: var(--ekow-sans);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.past-expo-card .past-expo-link,
.past-expo-card .past-expo-discover {
    display: inline-block;

    color: var(--ekow-white);

    font-family: var(--ekow-sans);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;

    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.past-expo-item-link:hover .past-expo-link,
.past-expo-item-link:hover .past-expo-discover {
    opacity: 0.62;
    transform: translateX(4px);
}

.past-expo-arrow,
.past-expo-prev,
.past-expo-next {
    position: absolute;
    top: 50%;
    z-index: 10;

    width: 50px !important;
    height: 50px !important;

    padding: 0;

    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.94);
    color: var(--ekow-black);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        opacity 0.25s ease;
}

.past-expo-arrow-prev,
.past-expo-prev {
    left: 24px;
}

.past-expo-arrow-next,
.past-expo-next {
    right: 24px;
}

.past-expo-arrow::after {
    color: var(--ekow-black);

    font-size: 18px !important;
    font-weight: 700;
}

.past-expo-arrow:hover,
.past-expo-prev:hover,
.past-expo-next:hover {
    border-color: var(--ekow-black);

    background: var(--ekow-black);
    color: var(--ekow-white);
}

.past-expo-arrow:hover::after {
    color: var(--ekow-white);
}

.past-expo-arrow.swiper-button-disabled,
.past-expo-prev.swiper-button-disabled,
.past-expo-next.swiper-button-disabled {
    opacity: 0.25;

    cursor: default;
    pointer-events: none;
}

.past-expo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: calc(100% - 100px);
    max-width: var(--ekow-page-width);

    margin: 32px auto 0;
}

.past-expo-counter {
    color: #999;

    font-family: var(--ekow-sans);
    font-size: 13px;
    line-height: 1;

    letter-spacing: 0.15em;
}

.past-expo-pagination {
    position: relative !important;

    display: flex;
    justify-content: flex-end;

    width: auto !important;
    max-width: none;

    margin: 0;
}

.past-expo-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;

    margin: 0 6px !important;

    background: #aaa;

    opacity: 0.7;
}

.past-expo-pagination .swiper-pagination-bullet-active {
    background: var(--ekow-black);

    opacity: 1;
}


/* ---------------------------------------------------------
   8. SLIDER ARTISTES
   --------------------------------------------------------- */

.artist-selector-section {
    position: relative;

    width: 100%;

    margin: var(--ekow-section-space) 0;

    overflow: hidden;
}

.artist-selector-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: calc(100% - 100px);
    max-width: var(--ekow-page-width);

    margin: 0 auto 42px;
}

.artist-selector-heading h2 {
    flex: 0 0 auto;
}

.artist-selector-controls {
    display: flex;
    align-items: center;

    gap: 10px;
}

.artist-selector-prev,
.artist-selector-next {
    position: relative;

    width: 50px;
    height: 50px;

    padding: 0;

    border: 1px solid var(--ekow-black);
    border-radius: 50%;

    background: transparent;
    color: var(--ekow-black);

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

.artist-selector-prev::before,
.artist-selector-next::before {
    position: absolute;
    top: 50%;
    left: 50%;

    font-size: 19px;
    line-height: 1;

    transform: translate(-50%, -53%);
}

.artist-selector-prev::before {
    content: "←";
}

.artist-selector-next::before {
    content: "→";
}

.artist-selector-prev:hover,
.artist-selector-next:hover {
    background: var(--ekow-black);
    color: var(--ekow-white);

    transform: scale(1.04);
}

.artist-selector-prev.swiper-button-disabled,
.artist-selector-next.swiper-button-disabled {
    opacity: 0.25;

    pointer-events: none;
    transform: none;
}

.artist-selector-swiper {
    width: calc(100% - 50px);

    margin-left: 50px;

    overflow: visible;
}

.artist-selector-swiper .swiper-wrapper {
    align-items: flex-start;
}

.artist-selector-slide {
    width: min(31vw, 390px) !important;
    height: auto;

    cursor: pointer;

    opacity: 0.58;

    transition:
        opacity 0.4s ease,
        transform 0.55s var(--ekow-ease);
}

.artist-selector-slide.swiper-slide-active {
    z-index: 2;

    opacity: 1;
}

.artist-selector-slide.swiper-slide-prev,
.artist-selector-slide.swiper-slide-next {
    opacity: 0.82;
}

.artist-selector-portrait {
    width: 100%;
    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: #ededed;
}

.artist-selector-portrait img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter: none !important;

    transition: transform 0.65s var(--ekow-ease);
}

@media (hover: hover) and (pointer: fine) {

    .artist-selector-slide:hover .artist-selector-portrait img {
        transform: scale(1.025);
    }
}

.artist-selector-slide-name {
    display: block;

    margin-top: 14px;

    color: var(--ekow-black);

    font-family: var(--ekow-sans) !important;
    font-size: 15px;
    font-weight: 700 !important;
    line-height: 1.2;

    letter-spacing: -0.015em;
    text-align: left;
    text-transform: uppercase;

    opacity: 0.6;

    transition: opacity 0.3s ease;
}

.artist-selector-slide.swiper-slide-active .artist-selector-slide-name {
    opacity: 1;
}

.artist-selector-information {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);

    gap: 55px;

    width: calc(100% - 100px);
    max-width: var(--ekow-page-width);

    margin: 55px auto 0;
    padding-top: 30px;

    border-top: 1px solid var(--ekow-line);
}

.artist-selector-index {
    padding-top: 8px;

    color: #999;

    font-family: var(--ekow-sans);
    font-size: 13px;
    line-height: 1;

    letter-spacing: 0.15em;
}

.artist-selector-separator {
    margin: 0 6px;
}

.artist-selector-biography {
    max-width: 780px;

    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

.artist-selector-biography.is-changing {
    opacity: 0;
    transform: translateY(8px);
}

.artist-selector-category {
    display: none !important;
}


/* Nom principal harmonisé en sans-serif */

.artist-selector-name {
    margin: 0 0 22px;

    color: var(--ekow-black);

    font-family: var(--ekow-sans) !important;
    font-size: clamp(48px, 5vw, 74px);
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 0.95;

    letter-spacing: -0.045em;
}


/* Biographie harmonisée */

.artist-selector-bio {
    max-width: 720px;

    margin: 0 0 27px;

    color: #222;

    font-family: var(--ekow-sans) !important;
    font-size: clamp(17px, 1.35vw, 20px);
    font-weight: 400;
    line-height: 1.55;

    letter-spacing: -0.01em;
}


/* Lien harmonisé */

.artist-selector-link {
    display: inline-block;

    color: var(--ekow-black);

    font-family: var(--ekow-sans) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.artist-selector-link:hover {
    opacity: 0.58;
    transform: translateX(5px);
}


/* ---------------------------------------------------------
   9. TABLETTE
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    :root {
        --ekow-page-gutter: 25px;
        --ekow-section-space: 76px;
    }

    .hero-box {
        width: min(460px, calc(100% - 50px));

        margin-left: 25px;
    }

    .past-expo-section-title,
    .past-expo-footer,
    .artist-selector-heading,
    .artist-selector-information {
        width: calc(100% - 50px);
    }

    .past-expo-section-title,
    .artist-selector-heading h2 {
        font-size: 18px;
    }

    .past-expo-card,
    .past-expo-card-content,
    .past-expo-card .past-expo-content {
        width: calc(100% - 30px);

        margin-top: -65px;
        padding: 24px 22px 26px;
    }

    .past-expo-card h1,
    .past-expo-card h2,
    .past-expo-card h3,
    .past-expo-card .past-expo-title,
    .past-expo-card .title {
        font-size: 32px;
    }

    .past-expo-card .past-expo-artist,
    .past-expo-card .artist-name {
        font-size: 15px;
    }

    .past-expo-card .past-expo-date,
    .past-expo-card .expo-date,
    .past-expo-card .past-expo-location,
    .past-expo-card .expo-location {
        font-size: 14px;
    }

    .past-expo-arrow-prev,
    .past-expo-prev {
        left: 15px;
    }

    .past-expo-arrow-next,
    .past-expo-next {
        right: 15px;
    }

    .artist-selector-swiper {
        width: calc(100% - 25px);

        margin-left: 25px;
    }

    .artist-selector-slide {
        width: min(42vw, 340px) !important;
    }

    .artist-selector-information {
        grid-template-columns: 100px minmax(0, 1fr);

        gap: 35px;
    }
}


/* ---------------------------------------------------------
   10. MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    :root {
        --ekow-page-gutter: 15px;
        --ekow-section-space: var(--ekow-section-space-mobile);
    }

    .hero-box {
        width: calc(100% - 30px);

        margin-left: 15px;
        margin-bottom: 30px;
        padding: 25px 22px;
    }

    .expo-card {
        width: calc(100% - 30px);

        margin-top: -55px;
        margin-left: 15px;
        padding: 21px 18px 23px;
    }

    .past-expo-section-title,
    .past-expo-footer,
    .artist-selector-heading,
    .artist-selector-information {
        width: calc(100% - 30px);
    }

    .past-expo-section-title,
    .artist-selector-heading h2 {
        font-size: 16px;
        line-height: 1.1;
    }

    .past-expo-section-title,
    .artist-selector-heading {
        margin-bottom: 26px;
    }

    .past-expo-card,
    .past-expo-card-content,
    .past-expo-card .past-expo-content {
        width: calc(100% - 20px);

        margin-top: -48px;
        padding: 21px 18px 23px;
    }

    .past-expo-card h1,
    .past-expo-card h2,
    .past-expo-card h3,
    .past-expo-card .past-expo-title,
    .past-expo-card .title {
        margin-bottom: 12px;

        font-size: 27px;
    }

    .past-expo-card .past-expo-artist,
    .past-expo-card .artist-name {
        margin-bottom: 10px;

        font-size: 14px;
    }

    .past-expo-card .past-expo-date,
    .past-expo-card .expo-date,
    .past-expo-card .past-expo-location,
    .past-expo-card .expo-location {
        font-size: 13px;
    }

    .past-expo-card .past-expo-location,
    .past-expo-card .expo-location {
        margin-bottom: 18px;
    }

    .past-expo-card .past-expo-link,
    .past-expo-card .past-expo-discover {
        font-size: 13px;
    }

    .past-expo-arrow,
    .past-expo-prev,
    .past-expo-next,
    .artist-selector-prev,
    .artist-selector-next {
        width: 42px !important;
        height: 42px !important;
    }

    .past-expo-arrow-prev,
    .past-expo-prev {
        left: 10px;
    }

    .past-expo-arrow-next,
    .past-expo-next {
        right: 10px;
    }

    .past-expo-footer {
        margin-top: 24px;
    }

    .artist-selector-heading {
        align-items: center;
    }

    .artist-selector-heading h2 {
        max-width: 160px;
    }

    .artist-selector-swiper {
        width: calc(100% - 15px);

        margin-left: 15px;
    }

    .artist-selector-slide {
        width: 76vw !important;
        max-width: 285px;
    }

    .artist-selector-slide-name {
        margin-top: 11px;

        font-size: 13px;
    }

    .artist-selector-information {
        display: block;

        margin-top: 38px;
        padding-top: 22px;
    }

    .artist-selector-index {
        margin-bottom: 25px;
        padding-top: 0;
    }

    .artist-selector-name {
        font-size: 43px;
    }

    .artist-selector-bio {
        font-size: 17px;
    }
}
/* ==========================================
   RAPPROCHER LES DEUX SLIDERS
========================================== */

/* Moins d'espace sous "Expositions passées" */

.past-expo-slider-section{
    margin-bottom:30px !important;
}

.artist-selector-section{
    margin-top:30px !important;
}
/* =========================================================
   EKOW GALERIE — NEWSLETTER MAILCHIMP
   ========================================================= */

.newsletter-section {
    width: 100%;

    margin: 40px 0 110px;
}

.newsletter-inner {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(420px, 1.1fr);

    gap: 90px;

    width: calc(100% - 100px);
    max-width: 1300px;

    margin: 0 auto;
    padding-top: 58px;

    border-top: 1px solid rgba(17, 17, 17, 0.18);
}


/* ---------------------------------------------------------
   INTRODUCTION
   --------------------------------------------------------- */

.newsletter-intro h2 {
    margin: 0 0 18px;

    color: #111;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 20px;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1;

    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.newsletter-intro p {
    max-width: 460px;

    margin: 0;

    color: #222;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;

    letter-spacing: -0.01em;
}


/* ---------------------------------------------------------
   FORMULAIRE
   --------------------------------------------------------- */

.newsletter-form {
    position: relative;

    width: 100%;
}

.newsletter-label {
    display: block;

    margin-bottom: 13px;

    color: #111;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.newsletter-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;

    border-bottom: 1px solid #111;
}


/* ---------------------------------------------------------
   CHAMP E-MAIL
   --------------------------------------------------------- */

.newsletter-input {
    width: 100%;
    min-width: 0;

    padding: 15px 16px 15px 0;

    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;

    background: transparent !important;
    color: #111 !important;

    box-shadow: none !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;

    -webkit-appearance: none;
    appearance: none;
}

.newsletter-input::placeholder {
    color: #999;

    opacity: 1;
}

.newsletter-input:focus {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}


/* Empêche l’autofill du navigateur de changer la DA */

.newsletter-input:-webkit-autofill,
.newsletter-input:-webkit-autofill:hover,
.newsletter-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #111;
    -webkit-box-shadow:
        0 0 0 1000px #fff inset !important;

    transition:
        background-color 9999s ease-in-out 0s;
}


/* ---------------------------------------------------------
   BOUTON
   --------------------------------------------------------- */

.newsletter-submit {
    padding: 15px 0 15px 24px;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: #111 !important;

    box-shadow: none !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    white-space: nowrap;
    letter-spacing: -0.01em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.newsletter-submit:hover {
    opacity: 0.58;
    transform: translateX(4px);
}

.newsletter-submit:focus-visible {
    outline: 1px solid #111 !important;
    outline-offset: 5px;
}


/* ---------------------------------------------------------
   TEXTE LÉGAL
   --------------------------------------------------------- */

.newsletter-note {
    max-width: 560px;

    margin: 13px 0 0;

    color: #888;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   CHAMP ANTISPAM MAILCHIMP
   --------------------------------------------------------- */

.newsletter-antispam {
    position: absolute !important;
    top: auto;
    left: -5000px !important;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1000px) {

    .newsletter-section {
        margin-bottom: 90px;
    }

    .newsletter-inner {
        grid-template-columns: 1fr;

        gap: 45px;

        width: calc(100% - 50px);
        padding-top: 45px;
    }

    .newsletter-intro p {
        max-width: 560px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .newsletter-section {
        margin: 25px 0 70px;
    }

    .newsletter-inner {
        width: calc(100% - 30px);

        gap: 35px;

        padding-top: 34px;
    }

    .newsletter-intro h2 {
        margin-bottom: 14px;

        font-size: 16px;
    }

    .newsletter-intro p {
        font-size: 17px;
        line-height: 1.45;
    }

    .newsletter-fields {
        display: block;

        border-bottom: 0;
    }

    .newsletter-input {
        padding: 14px 0;

        border-bottom: 1px solid #111 !important;

        font-size: 17px;
    }

    .newsletter-submit {
        margin-top: 17px;
        padding: 0;
    }

    .newsletter-note {
        margin-top: 17px;
    }
}
/* =========================================================
   EKOW GALERIE — PAGE ARTISTE
   Version propre et réutilisable
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

.artist-profile {
    --artist-black: #111;
    --artist-grey: #777;
    --artist-border: rgba(17, 17, 17, 0.18);
    --artist-background: #fff;
    --artist-max-width: 1450px;
    --artist-text-width: 720px;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: var(--artist-background);
    color: var(--artist-black);
}

.artist-profile,
.artist-profile * {
    box-sizing: border-box;
}


/* =========================================================
   EN-TÊTE / NOM DE L’ARTISTE
========================================================= */

.artist-profile-header {
    width: calc(100% - 100px);
    max-width: var(--artist-max-width);

    margin: 0 auto !important;

    padding: 18px 0 30px !important;

    border-bottom: 1px solid var(--artist-border);
}

.artist-profile-name {
    margin: 0 !important;
    padding: 0 !important;

    color: var(--artist-black);

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(32px, 3.6vw, 55px);
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1;

    letter-spacing: -0.045em;
    text-transform: uppercase;
}


/* =========================================================
   MISE EN PAGE PRINCIPALE
========================================================= */

.artist-profile-introduction {
    display: grid;

    grid-template-columns:
        minmax(340px, 0.85fr)
        minmax(430px, 1.15fr);

    align-items: start;

    gap: clamp(55px, 8vw, 120px);

    width: calc(100% - 100px);
    max-width: var(--artist-max-width);

    margin: 0 auto !important;

    padding: 64px 0 110px;
}


/* =========================================================
   PORTRAIT
========================================================= */

.artist-profile-portrait {
    position: relative;

    width: 100%;

    margin: 0 !important;
    padding: 0;

    overflow: hidden;

    aspect-ratio: 4 / 5;

    background: #efefef;
}

.artist-profile-image {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center top;

    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.artist-profile-portrait:hover .artist-profile-image {
    transform: scale(1.015);
}


/* =========================================================
   COLONNE TEXTE
========================================================= */

.artist-profile-content {
    width: 100%;

    margin: 0;
    padding: 2px 0 0;
}


/* =========================================================
   À PROPOS
========================================================= */

.artist-profile-label {
    margin: 0 0 34px !important;
    padding: 0;

    color: var(--artist-grey);

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* =========================================================
   BIOGRAPHIE
========================================================= */

.artist-profile-biography {
    width: 100%;
    max-width: var(--artist-text-width);

    margin: 0;
    padding: 0;
}

.artist-profile-biography p {
    width: 100%;

    margin: 0 0 1.45em !important;
    padding: 0;

    color: var(--artist-black);

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.65;

    letter-spacing: -0.01em;

    text-align: justify;
    text-justify: inter-word;

    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;

    overflow-wrap: break-word;
}

.artist-profile-biography p:last-child {
    margin-bottom: 0 !important;
}


/* =========================================================
   INSTAGRAM
========================================================= */

.artist-profile-social {
    width: 100%;
    max-width: var(--artist-text-width);

    margin: 32px 0 0;
    padding: 0;
}

.artist-instagram-link {
    display: inline-block;

    margin: 0;
    padding: 0;

    color: var(--artist-black) !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.08em;
    text-decoration: none !important;
    text-transform: uppercase;

    transition: opacity 0.25s ease;
}

.artist-instagram-link:hover {
    opacity: 0.5;
}

.artist-instagram-link:focus-visible {
    outline: 1px solid var(--artist-black);
    outline-offset: 5px;
}


/* =========================================================
   ÉCRANS INTERMÉDIAIRES
========================================================= */

@media (max-width: 1100px) {

    .artist-profile-header,
    .artist-profile-introduction {
        width: calc(100% - 50px);
    }

    .artist-profile-introduction {
        grid-template-columns:
            minmax(290px, 0.85fr)
            minmax(0, 1.15fr);

        gap: 50px;
    }

}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 800px) {

    .artist-profile-header {
        width: calc(100% - 30px);

        padding: 14px 0 22px !important;
    }

    .artist-profile-name {
        font-size: clamp(28px, 9vw, 42px);
    }

    .artist-profile-introduction {
        display: block;

        width: calc(100% - 30px);

        padding: 28px 0 80px;
    }

    .artist-profile-portrait {
        width: 100%;
        aspect-ratio: 4 / 5;
    }

    .artist-profile-content {
        padding-top: 40px;
    }

    .artist-profile-label {
        margin-bottom: 25px !important;
    }

    .artist-profile-biography {
        max-width: none;
    }

    .artist-profile-biography p {
        font-size: 17px;
        line-height: 1.58;
    }

    .artist-profile-social {
        max-width: none;
        margin-top: 28px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .artist-profile-header {
        padding: 12px 0 20px !important;
    }

    .artist-profile-name {
        font-size: 28px;
    }

    .artist-profile-introduction {
        padding-top: 22px;
    }

    .artist-profile-content {
        padding-top: 35px;
    }

    .artist-profile-biography p {
        font-size: 16px;
        line-height: 1.55;

        text-align: left;

        hyphens: none;
        -webkit-hyphens: none;
        -ms-hyphens: none;
    }

    .artist-profile-social {
        margin-top: 24px;
    }

}


/* =========================================================
   ACCESSIBILITÉ
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .artist-profile-image,
    .artist-instagram-link {
        transition: none;
    }

    .artist-profile-portrait:hover .artist-profile-image {
        transform: none;
    }

}