
/* ============================================================
   01 — VARIABLES ET CHARTE GRAPHIQUE
   ============================================================ */

:root {
    --bg: #09142f;
    --panel: #15243d;
    --coral: #ff7163;
    --amber: #ffb653;
    --text: #c5d3e2;
    --white: #fff;
}


/* ============================================================
   02 — STYLES GLOBAUX
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(
            ellipse at 85% 12%,
            #302638 0,
            transparent 36%
        ),
        var(--bg);
    color: var(--text);
    font: 16px/1.65 Roboto, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--coral);
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 4px;
}

.shell {
    width: min(1440px, 90%);
    margin: auto;
}


/* ============================================================
   03 — HEADER ET NAVIGATION
   ============================================================ */

header {
    border-bottom: 1px solid #ffffff19;
    background: #09142fed;
    position: sticky;
    top: 0;
    z-index: 5;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 24px;
}

.brand {
    font: 900 32px/1 Outfit, Arial, sans-serif;
    letter-spacing: -2px;
    color: white;
}

.brand span,
h1 span,
h2 span {
    color: var(--coral);
}

.navlinks {
    display: flex;
    gap: 28px;
    align-items: center;
}

.navlinks a {
    font-weight: 500;
    padding: 12px 0;
}

.navlinks a[aria-current] {
    color: var(--coral);
    border-bottom: 2px solid var(--coral);
}

.menu {
    display: none;
}


/* ============================================================
   04 — TYPOGRAPHIE
   ============================================================ */

.eyebrow {
    color: var(--coral);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .08em;
    margin: 0 0 20px;
}

h1,
h2,
h3 {
    font-family: Outfit, Arial, sans-serif;
    color: white;
    line-height: 1.05;
    margin: 0 0 24px;
}

h1 {
    font-size: clamp(48px, 7.4vw, 112px);
    font-weight: 900;
    letter-spacing: -.065em;
}

h2 {
    font-size: clamp(32px, 4vw, 58px);
    letter-spacing: -.04em;
}

h3 {
    font-size: 24px;
}

.lead {
    font-size: 22px;
    font-weight: 700;
}

.small {
    font-size: 14px;
}


/* ============================================================
   05 — HERO DE LA PAGE D'ACCUEIL
   ============================================================ */

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5%;
    align-items: center;
    min-height: 600px;
    padding: 70px 0;
}

.hero > div {
    min-width: 0;
}

.hero h1 {
    font-size: clamp(44px, 6.6vw, 104px);
}

.hero-art {
    min-height: 420px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 20px;
    border: 1px solid #ff71634d;
    border-radius: 20px;
    background: radial-gradient(
        circle at 50% 40%,
        #543e45,
        #17243d 70%
    );
    box-shadow: 0 25px 70px #0005;
    padding: 30px;
}

.hero-art img {
    width: min(100%, 390px);
    max-height: 340px;
    object-fit: contain;
}

.hero-art small {
    color: var(--amber);
    letter-spacing: .12em;
    text-align: center;
}


/* ============================================================
   06 — CONTENUS ÉDITORIAUX DYNAMIQUES (n8n)
   ============================================================ */

.editorial {
    max-width: 780px;
    font-size: 18px;
}

.editorial h4 {
    font-size: 22px;
    color: white;
    margin: 20px 0 8px;
}

.editorial p {
    margin: 0 0 20px;
}


/* ============================================================
   07 — BOUTONS ET LIENS D'ACTION
   ============================================================ */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    background: var(--coral);
    color: var(--bg);
    border: 1px solid var(--coral);
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
}

.btn:hover {
    background: var(--amber);
    color: var(--bg);
}

.outline {
    background: transparent;
    color: var(--coral);
}

.more {
    display: inline-block;
    margin-top: 20px;
}


/* ============================================================
   08 — STRUCTURE DES PAGES ET SECTIONS
   ============================================================ */

section {
    padding: 55px 0;
    border-bottom: 1px solid #ffffff12;
}

.pagehero {
    padding: 85px 0 55px;
}


/* ============================================================
   09 — GRILLES ET COMPOSANTS COMMUNS
   ============================================================ */

.features,
.gallery,
.videos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.features article,
.track,
form,
.video {
    background: #15243d;
    border: 1px solid #ffffff18;
    border-radius: 14px;
    padding: 24px;
}

.features span,
.number,
.more {
    color: var(--coral);
    font-weight: 700;
}


/* ============================================================
   10 — ENCADRÉS DE PRÉSENTATION DU GROUPE
   ============================================================ */

/* Animation réservée aux encadrés, hors portraits */

.features:not(.portraits) article {
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

@media (hover: hover) {
    .features:not(.portraits) article:hover {
        transform: translateY(-4px);
        border-color: var(--coral);
        box-shadow: 0 8px 25px rgba(255, 113, 99, 0.12);
    }
}


/* ============================================================
   11 — PORTRAITS DES MUSICIENS
   ============================================================ */

.portraits img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}


/* ============================================================
   12 — GALERIES PHOTOS ET AFFICHES
   ============================================================ */

.photo {
    border: 1px solid #ffffff20;
    background: var(--panel);
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}

.photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.posters img {
    aspect-ratio: 3/4;
    object-fit: contain;
}


/* ============================================================
   13 — LECTEURS AUDIO
   ============================================================ */

.tracks {
    display: grid;
    gap: 12px;
}

.track {
    display: flex;
    align-items: center;
    gap: 20px;
}

.track p {
    margin: 0;
    font-size: 14px;
}

.track audio {
    margin-left: auto;
    width: min(100%, 360px);
}


/* ============================================================
   14 — VIDÉOS YOUTUBE
   ============================================================ */

.video {
    padding: 0;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video button {
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        #34354b,
        #15243d
    );
    color: white;
    border: 0;
    padding: 16px;
}

.video span {
    display: block;
    font-size: 36px;
    color: var(--coral);
}

.video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* ============================================================
   15 — APPELS À L'ACTION (CTA)
   ============================================================ */

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cta h2 {
    margin: 0;
}


/* ============================================================
   16 — PAGE ET FORMULAIRE DE CONTACT
   ============================================================ */

.contactgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

form label {
    display: block;
    margin-bottom: 16px;
    color: white;
}

input,
textarea {
    display: block;
    width: 100%;
    border: 1px solid #ffffff35;
    background: var(--bg);
    color: white;
    border-radius: 6px;
    padding: 10px;
    margin-top: 6px;
}

textarea {
    resize: vertical;
}


/* ============================================================
   17 — FOOTER
   ============================================================ */

.footer {
    padding: 35px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer p {
    margin: 0;
}


/* ============================================================
   18 — LIGHTBOX
   ============================================================ */

dialog {
    background: var(--bg);
    border: 1px solid var(--coral);
    border-radius: 12px;
    padding: 12px;
    max-width: 94vw;
    max-height: 94vh;
}

dialog::backdrop {
    background: #000c;
}

dialog img {
    display: block;
    max-width: 85vw;
    max-height: 80vh;
    object-fit: contain;
}

.close {
    display: block;
    margin-left: auto;
    background: none;
    color: white;
    border: 0;
    font-size: 30px;
}


/* ============================================================
   19 — ACCESSIBILITÉ
   ============================================================ */

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 10px;
    top: 10px;
    z-index: 10;
    background: var(--bg);
}


/* ============================================================
   20 — RESPONSIVE : TABLETTES ET MOBILES
   ============================================================ */

@media (max-width: 850px) {

    /* Structure générale */

    .hero,
    .contactgrid {
        grid-template-columns: 1fr;
    }


    /* Hero */

    .hero {
        min-height: auto;
        gap: 30px;
    }

    .hero h1 {
        font-size: clamp(42px, 10vw, 90px);
    }

    .hero-art {
        min-height: 260px;
    }


    /* Navigation mobile */

    .nav {
        flex-wrap: wrap;
        padding: 16px 0;
    }

    .menu {
        display: block;
        background: transparent;
        color: white;
        border: 1px solid #ffffff55;
        border-radius: 6px;
        padding: 6px 12px;
    }

    .navlinks {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .navlinks.open {
        display: flex;
    }


    /* Grilles */

    .features,
    .gallery,
    .videos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* Lecteurs audio */

    .track {
        flex-wrap: wrap;
    }

    .track audio {
        margin-left: 0;
        width: 100%;
    }


    /* Appels à l'action */

    .cta {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* ============================================================
   21 — RESPONSIVE : PETITS ÉCRANS
   ============================================================ */

@media (max-width: 480px) {

    .features,
    .videos {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 45px 0;
    }

    section {
        padding: 35px 0;
    }

    .pagehero {
        padding: 50px 0 30px;
    }

    .brand {
        font-size: 28px;
    }

    h1 {
        font-size: clamp(38px, 11vw, 55px);
    }

    .hero-art {
        padding: 15px;
    }

    .gallery {
        gap: 9px;
    }

}


/* ============================================================
   22 — ACCESSIBILITÉ : RÉDUCTION DES ANIMATIONS
   ============================================================ */

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

    html {
        scroll-behavior: auto;
    }

    .features:not(.portraits) article {
        transition: none;
    }

    .features:not(.portraits) article:hover {
        transform: none;
    }

}
