/* =========================================================================
   STUDIO D&T — Miniatures Painting — feuille de styles partagée (3 pages)
   Polices de marque : Rotunda Veneta (titres) / Addington CF (texte)
   Thème piloté par [data-team="dragon"|"poulpe"] sur <html>.
   ========================================================================= */

@font-face {
    font-family: 'Rotunda Veneta';
    src: url('assets/fonts/RotundaVeneta-Regular.woff2') format('woff2'), url('assets/fonts/RotundaVeneta-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: 'Addington CF';
    src: url('assets/fonts/AddingtonCF-Medium.woff2') format('woff2'), url('assets/fonts/AddingtonCF-Medium.woff') format('woff');
    font-weight: 500;
    font-display: swap
}

@property --dim-dragon {
    syntax: '<number>';
    inherits: true;
    initial-value: 0
}

@property --dim-poulpe {
    syntax: '<number>';
    inherits: true;
    initial-value: 0
}

/* --- Tokens --------------------------------------------------------------- */
:root {
    --ink: #170c30;
    --near-black: #1d1d1b;
    --paper: #ffffff;
    --gold: #c9a23b;
    --dragon-1: #3ba3d4;
    --dragon-2: #623885;
    --dragon-3: #41346f;
    --poulpe-1: #fcea10;
    --poulpe-2: #d9435d;
    --poulpe-3: #e71d73;
    --font-display: 'Rotunda Veneta', 'Grenze Gotisch', 'Spectral', serif;
    --font-body: 'Addington CF', 'Spectral', Georgia, 'Times New Roman', serif;
    --container: 1180px;
    --radius: 18px;
    --radius-lg: 28px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

:root[data-team="dragon"] {
    --primary: #623885;
    --primary-2: #41346f;
    --primary-deep: #2a1c4a;
    --accent: #3ba3d4;
    --primary-soft: #f3eef9;
    --on-primary: #fff;
    --grad-primary: linear-gradient(135deg, #3ba3d4 0%, #623885 55%, #41346f 100%);
}

:root[data-team="poulpe"] {
    --primary: #e71d73;
    --primary-2: #d9435d;
    --primary-deep: #9c0f4d;
    --accent: #fcb40f;
    --primary-soft: #fdeef4;
    --on-primary: #fff;
    --grad-primary: linear-gradient(135deg, #fcea10 0%, #e71d73 55%, #d9435d 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: .5px
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

/* =========================================================================
   1) ÉCRAN DE SÉLECTION "CHOISIS TON CAMP"
   ========================================================================= */
.selector {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    overflow: hidden;
    background: var(--ink);
    --dim-dragon: 0;
    --dim-poulpe: 0
}

.selector[hidden] {
    display: none
}

.selector__head {
    position: absolute;
    top: clamp(18px, 4vh, 40px);
    left: 0;
    right: 0;
    z-index: 40;
    text-align: center;
    pointer-events: none;
    padding: 0 16px;
    animation: dropIn .9s var(--ease) both
}

.selector__kicker {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .42em;
    font-size: clamp(.62rem, 1.5vw, .78rem);
    color: rgba(255, 255, 255, .75);
    margin-bottom: .55rem
}

.selector__title {
    font-family: var(--font-display);
    color: #fff;
    font-size: clamp(1.9rem, 5.2vw, 3.6rem);
    text-shadow: 0 2px 30px rgba(0, 0, 0, .5)
}

.selector__title .amp {
    color: var(--gold)
}

.side {
    position: relative;
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    isolation: isolate;
    transition: flex-grow .55s var(--ease), filter .55s var(--ease)
}

.side--dragon {
    background: radial-gradient(120% 90% at 30% 18%, rgba(59, 163, 212, .55), transparent 60%), radial-gradient(130% 120% at 75% 100%, #2a1c4a 0%, transparent 55%), linear-gradient(160deg, #4a2f7d 0%, #41346f 45%, #241640 100%);
    filter: saturate(calc(1 - var(--dim-dragon) * .55));
    animation: wipeL 1s var(--ease) both
}

.side--poulpe {
    background: radial-gradient(120% 90% at 70% 16%, rgba(252, 234, 16, .55), transparent 58%), radial-gradient(130% 120% at 25% 100%, #8f1147 0%, transparent 55%), linear-gradient(200deg, #f06f3a 0%, #e71d73 42%, #b3134f 100%);
    filter: saturate(calc(1 - var(--dim-poulpe) * .55));
    animation: wipeR 1s var(--ease) both
}

.side::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    background: #0a0418;
    pointer-events: none
}

.side--dragon::after {
    opacity: calc(var(--dim-dragon) * .62);
    transition: opacity .55s var(--ease)
}

.side--poulpe::after {
    opacity: calc(var(--dim-poulpe) * .62);
    transition: opacity .55s var(--ease)
}

.bubbles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden
}

.bubbles span {
    position: absolute;
    border-radius: 50%;
    opacity: .5;
    animation: floaty 9s ease-in-out infinite
}

.side--dragon .bubbles span {
    background: radial-gradient(circle at 35% 30%, #7fd0f0, #3ba3d4)
}

.side--poulpe .bubbles span {
    background: radial-gradient(circle at 35% 30%, #ffe14d, #e8a21f)
}

.bubbles span:nth-child(1) {
    width: 14px;
    height: 14px;
    left: 18%;
    top: 24%
}

.bubbles span:nth-child(2) {
    width: 9px;
    height: 9px;
    left: 30%;
    top: 62%;
    animation-delay: 1.2s;
    opacity: .35
}

.bubbles span:nth-child(3) {
    width: 22px;
    height: 22px;
    left: 70%;
    top: 30%;
    animation-delay: .6s
}

.bubbles span:nth-child(4) {
    width: 7px;
    height: 7px;
    left: 62%;
    top: 70%;
    animation-delay: 2s;
    opacity: .3
}

.bubbles span:nth-child(5) {
    width: 12px;
    height: 12px;
    left: 80%;
    top: 58%;
    animation-delay: 1.6s
}

.side__emblem {
    position: absolute;
    z-index: 2;
    width: min(62vh, 640px);
    height: auto;
    color: rgba(255, 255, 255, .07);
    pointer-events: none;
    transition: color .55s var(--ease)
}

.side__btn {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    color: #fff;
    padding: 7vh 4vw
}

.player-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-body);
    font-size: .72rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .82);
    padding: .34rem .85rem;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 100px;
    backdrop-filter: blur(2px);
    margin-bottom: .4rem
}

.player-tag b {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: .08em
}

.mascot {
    position: relative;
    width: clamp(180px, 26vh, 340px);
    aspect-ratio: 1/1;
    margin: .2rem 0 .4rem;
    filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .45));
    transition: transform .55s var(--ease);
    animation: bob 6s ease-in-out infinite
}

.mascot__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2
}

.mascot__art {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center
}

.mascot__art svg {
    width: 74%;
    height: 74%
}

.team-name {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6.4vw, 5.2rem);
    line-height: .92;
    text-shadow: 0 3px 26px rgba(0, 0, 0, .45)
}

.team-sub {
    font-family: var(--font-body);
    letter-spacing: .36em;
    text-transform: uppercase;
    font-size: clamp(.66rem, 1.6vw, .82rem);
    color: rgba(255, 255, 255, .78);
    margin-top: .5rem
}

.choose {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: .04em;
    font-size: .95rem;
    padding: .8rem 1.6rem;
    border-radius: 100px;
    color: #fff;
    background: rgba(255, 255, 255, .13);
    border: 1.5px solid rgba(255, 255, 255, .55);
    backdrop-filter: blur(3px);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), background .25s, border-color .25s
}

.choose svg {
    width: 18px;
    height: 18px;
    transition: transform .3s var(--ease)
}

.divider {
    position: relative;
    z-index: 30;
    flex: 0 0 0;
    width: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none
}

.seam {
    position: absolute;
    top: -2%;
    bottom: -2%;
    left: 50%;
    width: 5px;
    transform: translateX(-50%) skewX(-6deg);
    background: linear-gradient(180deg, transparent, var(--gold) 12%, #fff 50%, var(--gold) 88%, transparent);
    box-shadow: 0 0 18px 3px rgba(255, 255, 255, .55), 0 0 46px 10px rgba(201, 162, 59, .55);
    animation: seamPulse 2.6s ease-in-out infinite
}

.bolt {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) skewX(-6deg);
    width: 120px;
    height: min(90vh, 860px);
    color: #fff;
    opacity: .95;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, .7)) drop-shadow(0 0 26px rgba(201, 162, 59, .6))
}

.vs-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(86px, 11vw, 128px);
    height: clamp(86px, 11vw, 128px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    /*background: radial-gradient(circle at 38% 32%, #332455, #150c2c);*/
    /*border: 3px solid var(--gold);*/
    /*box-shadow: 0 0 0 6px rgba(0, 0, 0, .35), 0 14px 40px rgba(0, 0, 0, .55), inset 0 0 22px rgba(201, 162, 59, .35);*/
    animation: vsPop 1.1s var(--ease) .35s both
}

.vs-badge span {
    font-family: var(--font-display);
    font-size: 80px;
    color: #fff;
    text-shadow: 0 0 16px rgba(201, 162, 59, .9);
    letter-spacing: 1px
}

.selector__hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(14px, 3vh, 30px);
    z-index: 40;
    text-align: center;
    pointer-events: none;
    font-family: var(--font-body);
    font-size: .82rem;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .62);
    animation: dropIn 1s var(--ease) .3s both
}

.selector__hint kbd {
    font-family: var(--font-body);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 6px;
    padding: .05em .45em;
    font-size: .78em;
    color: #fff
}

.selector:has(.side--dragon .side__btn:hover), .selector:has(.side--dragon .side__btn:focus-visible) {
    --dim-poulpe: 1
}

.selector:has(.side--poulpe .side__btn:hover), .selector:has(.side--poulpe .side__btn:focus-visible) {
    --dim-dragon: 1
}

.selector:has(.side--dragon .side__btn:hover) .side--dragon, .selector:has(.side--dragon .side__btn:focus-visible) .side--dragon {
    flex-grow: 1.45
}

.selector:has(.side--dragon .side__btn:hover) .side--poulpe, .selector:has(.side--dragon .side__btn:focus-visible) .side--poulpe {
    flex-grow: .62
}

.selector:has(.side--poulpe .side__btn:hover) .side--poulpe, .selector:has(.side--poulpe .side__btn:focus-visible) .side--poulpe {
    flex-grow: 1.45
}

.selector:has(.side--poulpe .side__btn:hover) .side--dragon, .selector:has(.side--poulpe .side__btn:focus-visible) .side--dragon {
    flex-grow: .62
}

.side__btn:hover .mascot, .side__btn:focus-visible .mascot {
    transform: scale(1.06) translateY(-4px)
}

.side__btn:hover .choose, .side__btn:focus-visible .choose {
    opacity: 1;
    transform: translateY(0)
}

.side__btn:hover .choose {
    background: rgba(255, 255, 255, .22)
}

.side__btn:hover .choose svg {
    transform: translateX(4px)
}

.side__btn:hover .side__emblem, .side__btn:focus-visible .side__emblem {
    color: rgba(255, 255, 255, .12)
}

.selector.is-leaving {
    transition: opacity .6s ease, transform .6s var(--ease);
    opacity: 0;
    transform: scale(1.04)
}

.selector.is-leaving .side[data-picked] {
    flex-grow: 6
}

/* =========================================================================
   2) STRUCTURE GÉNÉRALE
   ========================================================================= */
.site {
    display: none
}

:root[data-entered] .site {
    display: block
}

:root[data-entered] .selector {
    display: none
}

.page-enter {
    animation: siteIn .7s var(--ease) both
}

/* En-tête */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem clamp(1rem, 4vw, 2.4rem);
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #ececf1
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    line-height: 1;
    flex: 0 0 auto
}

.brand__img {
    height: 46px;
    width: auto;
    display: block
}

.nav {
    display: flex;
    align-items: center;
    gap: .2rem
}

.nav a {
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 500;
    padding: .5rem .8rem;
    border-radius: 100px;
    color: #3a3550;
    transition: color .2s, background .2s
}

.nav a:hover {
    color: var(--primary);
    background: var(--primary-soft)
}

.nav a.is-active {
    color: var(--primary);
    background: var(--primary-soft)
}

.header__right {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex: 0 0 auto
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: var(--primary-soft)
}

.nav-toggle svg {
    width: 24px;
    height: 24px
}

/* Slider d'équipe (interrupteur) — dragon | rail coloré | poulpe */
.team-switcher {
    display: inline-flex;
    align-items: center;
    gap: .55rem
}

.team-switcher__ico {
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
    padding: 0;
    line-height: 0;
    color: #bdb8cc;
    opacity: .7;
    transition: color .35s, transform .35s var(--ease), opacity .35s
}

.team-switcher__ico--poulpe{
    top: -4px;
    position: relative;
}

.team-switcher__ico:hover {
    opacity: 1
}

:root[data-team="dragon"] .team-switcher__ico--dragon, :root[data-team="poulpe"] .team-switcher__ico--poulpe {
    color: var(--primary);
    opacity: 1;
    transform: scale(1.16)
}

.team-switcher__track {
    position: relative;
    flex: 0 0 auto;
    width: 74px;
    height: 38px;
    border-radius: 100px;
    background: var(--grad-primary);
    box-shadow: inset 0 1px 5px rgba(10, 4, 24, .25), 0 5px 14px -5px color-mix(in srgb, var(--primary) 65%, transparent);
    transition: background .45s, box-shadow .45s
}

.team-switcher__knob {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 8px rgba(10, 4, 24, .32);
    transition: left .42s var(--ease), transform .2s var(--ease)
}

:root[data-team="poulpe"] .team-switcher__knob {
    left: 40px
}

.team-switcher__track:active .team-switcher__knob {
    transform: scale(.92)
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: .9rem 1.7rem;
    border-radius: 100px;
    transition: transform .2s var(--ease), box-shadow .25s, background .25s, color .2s
}

.btn svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto
}

.btn--primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--primary) 70%, transparent)
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px -10px color-mix(in srgb, var(--primary) 75%, transparent)
}

.btn--ghost {
    background: #fff;
    color: var(--primary-deep);
    border: 1.5px solid color-mix(in srgb, var(--primary) 32%, transparent)
}

.btn--ghost:hover {
    background: var(--primary-soft);
    border-color: var(--primary)
}

.btn--white {
    background: #fff;
    color: var(--primary-deep)
}

.btn--white:hover {
    transform: translateY(-2px)
}

/* Sections génériques */
.section {
    padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 4vw, 2.4rem)
}

.section--tint {
    background: radial-gradient(60% 80% at 100% 0, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%), radial-gradient(50% 70% at 0 100%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 60%), #faf9fc
}

.section__inner {
    max-width: var(--container);
    margin: 0 auto
}

.section__head {
    text-align: center;
    max-width: 62ch;
    margin: 0 auto 2.6rem
}

.section__head--left {
    text-align: left;
    margin-left: 0
}

.section__kicker {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: .8rem;
    color: var(--primary);
    margin-bottom: .7rem
}

.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--ink);
    margin-bottom : 30px;
}

.section__title .u {
    background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 55%, transparent) 0)
}

.section__lead {
    margin-top: .9rem;
    color: #55506a
}

/* =========================================================================
   3) HERO
   ========================================================================= */
.hero {
    height: 95vh;
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2.4rem) clamp(3rem, 6vw, 5rem);
    background: radial-gradient(48% 60% at 88% 6%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 62%), radial-gradient(52% 70% at 4% 104%, color-mix(in srgb, var(--primary) 32%, transparent), transparent 60%), linear-gradient(180deg, var(--primary-soft) 0%, #fff 42%)
}

.hero__grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns:1.15fr .85fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    padding: .45rem .9rem;
    border-radius: 100px;
    margin-bottom: 1.2rem
}

.hero__eyebrow .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 0 var(--primary);
    animation: pulse 2s infinite
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    color: var(--ink);
    margin-bottom: 1.1rem
}

.hero h1 em {
    font-style: normal;
    color: var(--primary)
}

.hero__lead {
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    color: #4a4560;
    max-width: 46ch;
    margin-bottom: 1.8rem
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 2rem
}

.hero__stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap
}

.hero__stats .num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: var(--primary-deep);
    line-height: 1
}

.hero__stats .lbl {
    font-size: .82rem;
    color: #6a6580
}

.hero__art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 340px
}

.hero__halo {
    position: absolute;
    inset: 2%;
    border-radius: 50%;
    background: var(--grad-primary);
    filter: blur(26px);
    opacity: .45;
    animation: spin 22s linear infinite
}

.hero__disc {
    position: absolute;
    width: 86%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 36% 26%, #fff, color-mix(in srgb, var(--primary) 15%, #fff) 80%);
    border: 4px solid rgba(255, 255, 255, .7);
    box-shadow: 0 34px 70px -24px color-mix(in srgb, var(--primary) 55%, transparent), inset 0 2px 22px rgba(255, 255, 255, .6)
}

.hero__mascot {
    position: relative;
    z-index: 2;
    width: 82%;
    aspect-ratio: 1;
    filter: drop-shadow(0 22px 26px rgba(23, 12, 48, .32));
    animation: bob 6s ease-in-out infinite
}

.hero__mascot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2
}

.hero__mascot .mascot__art {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center
}

.hero__mascot .mascot__art svg {
    width: 80%;
    height: 80%;
    margin: auto
}

/* hero compact (pages internes) */
.hero--inner {
    padding-bottom: clamp(2rem, 4vw, 3rem)
}

.hero--inner .hero__grid {
    grid-template-columns:1fr;
    text-align: center;
    max-width: 720px
}

.hero--inner .hero__eyebrow {
    margin-inline: auto
}

.hero--inner .hero__lead {
    margin-inline: auto
}

/* =========================================================================
   4) PRÉSENTATION DU STUDIO
   ========================================================================= */
.about__grid {
    display: grid;
    grid-template-columns:.9fr 1.1fr;
    gap: clamp(1.6rem, 4vw, 3.4rem);
    align-items: center;
    max-width: var(--container);
    margin: 0 auto
}

.about__media {
    position: relative;
    display: grid;
    place-items: center;
    padding: 1.5rem
}

.about__media::before {
    content: "";
    position: absolute;
    inset: 0%;
    border-radius: 50%;
    background: var(--grad-primary);
    opacity: .10;
    filter: blur(48px)
}

.about__logo {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: 500px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 22px;
    border: 4px solid #fff;
    box-shadow:
        0 0 0 5px color-mix(in srgb, var(--primary) 30%, transparent),
        0 28px 56px -14px rgba(23, 12, 48, .48);
    transition: box-shadow .5s var(--ease);
    display: block
}

.about__photo {
    position: absolute;
    right: 4%;
    bottom: 2%;
    width: 44%;
    border-radius: 18px;
    border: 5px solid #fff;
    box-shadow: 0 18px 36px -14px rgba(23, 12, 48, .45);
    object-fit: cover;
    aspect-ratio: 4/3
}

.about p {
    color: #4a4560;
    font-size: 1.06rem;
    margin-bottom: 1rem;
    max-width: 54ch
}

.about__values {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.8rem
}

.about__value {
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: var(--radius);
    padding: 1.1rem
}

.about__value .vi {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: .6rem
}

.about__value .vi svg {
    width: 22px;
    height: 22px
}

.about__value h4 {
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: .2rem
}

.about__value p {
    font-size: .9rem;
    margin: 0;
    color: #5a5570
}

/* =========================================================================
   5) PRESTATIONS (cartes égales — aucune mise en avant)
   ========================================================================= */
.cards {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 1.4rem
}

.card {
    position: relative;
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: var(--radius-lg);
    padding: 2rem 1.7rem;
    transition: transform .25s var(--ease), box-shadow .3s, border-color .25s
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px -24px rgba(23, 12, 48, .4);
    border-color: color-mix(in srgb, var(--primary) 35%, transparent)
}

.card__icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    background: var(--primary-soft);
    color: var(--primary)
}

.card__icon svg {
    width: 28px;
    height: 28px
}

.card h3 {
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: .5rem
}

.card p {
    color: #56506a;
    font-size: .98rem;
    margin-bottom: 1.1rem
}

.card .price {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary-deep);
    font-size: .92rem
}

.card ul {
    list-style: none;
    margin-top: 1rem;
    display: grid;
    gap: .5rem
}

.card li {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    font-size: .92rem;
    color: #46415c
}

.card li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex: 0 0 auto;
    margin-top: .18rem
}

/* =========================================================================
   6) GALERIE CATÉGORISÉE
   ========================================================================= */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
    margin-bottom: 1.8rem
}

.filter {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .9rem;
    color: #5a5570;
    padding: .5rem 1.1rem;
    border-radius: 100px;
    border: 1.5px solid #e6e3ee;
    background: #fff;
    transition: color .2s, background .2s, border-color .2s
}

.filter:hover {
    border-color: color-mix(in srgb, var(--primary) 40%, transparent);
    color: var(--primary-deep)
}

.filter.is-active {
    color: #fff;
    background: var(--grad-primary);
    border-color: transparent
}

.gallery {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 1rem
}

.tile {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: flex-end;
    color: #fff;
    padding: 1rem;
    background: var(--grad-primary);
    isolation: isolate;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s, opacity .35s
}

.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform .55s var(--ease)
}

.tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(10, 4, 24, .72));
    z-index: 1;
    opacity: .85;
    transition: opacity .3s
}

.tile__cap {
    position: relative;
    z-index: 2;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .02em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .55)
}

.tile__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-family: var(--font-body);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: color-mix(in srgb, var(--primary) 75%, rgba(10, 4, 24, .4));
    padding: .2rem .55rem;
    border-radius: 100px
}

.tile__cam {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(10, 4, 24, .32);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    backdrop-filter: blur(3px);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .25s, transform .25s
}

.tile__cam svg {
    width: 16px;
    height: 16px;
    color: #fff
}

.tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 46px -20px rgba(23, 12, 48, .55)
}

.tile:hover img {
    transform: scale(1.07)
}

.tile:hover .tile__cam {
    opacity: 1;
    transform: scale(1)
}

.tile.is-hidden {
    display: none
}

.gallery__more {
    text-align: center;
    margin-top: 2rem
}

/* =========================================================================
   7) SALONS / ÉVÉNEMENTS
   ========================================================================= */
.salons {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.1rem
}

.salon {
    position: relative;
    display: flex;
    gap: 1rem;
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: var(--radius);
    padding: 1.2rem;
    transition: transform .25s var(--ease), box-shadow .3s, border-color .25s
}

.salon:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -24px rgba(23, 12, 48, .38);
    border-color: color-mix(in srgb, var(--primary) 30%, transparent)
}

.salon__date {
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--grad-primary);
    color: #fff;
    line-height: 1
}

.salon__date .d {
    font-family: var(--font-display);
    font-size: 1.5rem
}

.salon__date .m {
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-top: .15rem
}

.salon__body h4 {
    font-size: 1.16rem;
    color: var(--ink);
    margin-bottom: .2rem
}

.salon__loc {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .9rem;
    color: #6a6580
}

.salon__loc svg {
    width: 15px;
    height: 15px;
    color: var(--primary)
}

.salon__note {
    margin-top: .4rem;
    font-size: .82rem;
    color: var(--primary-deep);
    font-weight: 600
}

.salons-cta {
    margin-top: 1.8rem;
    text-align: center;
    color: #55506a
}

/* =========================================================================
   8) AVIS CLIENTS
   ========================================================================= */
.reviews {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 1.3rem
}

.review {
    position: relative;
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: .9rem
}

.review__stars {
    display: flex;
    gap: .15rem;
    color: var(--accent)
}

.review__stars svg {
    width: 18px;
    height: 18px
}

.review__quote {
    color: #403b56;
    font-size: 1.02rem;
    flex: 1
}

.review__author {
    display: flex;
    align-items: center;
    gap: .7rem
}

.review__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    color: #fff;
    background: var(--grad-primary);
    font-size: 1.1rem
}

.review__name {
    font-weight: 600;
    color: var(--ink);
    font-size: .95rem;
    line-height: 1.2
}

.review__meta {
    font-size: .82rem;
    color: #7a7590
}

.review__mark {
    position: absolute;
    top: 1rem;
    right: 1.4rem;
    font-family: var(--font-display);
    font-size: 3.4rem;
    color: var(--primary-soft);
    line-height: 1
}

/* =========================================================================
   9) CONTACT + ENVOI DE PHOTOS
   ========================================================================= */
.contact {
    display: grid;
    grid-template-columns:1.25fr .75fr;
    gap: clamp(1.4rem, 4vw, 3rem);
    max-width: var(--container);
    margin: 0 auto
}

.form {
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 3vw, 2.2rem);
    box-shadow: 0 24px 60px -40px rgba(23, 12, 48, .4)
}

.form__row {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 1rem
}

.field {
    margin-bottom: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.field label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .86rem;
    color: var(--ink)
}

.field input, .field textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    padding: .8rem .95rem;
    border: 1.5px solid #e3e0ec;
    border-radius: 12px;
    background: #fbfafd;
    transition: border-color .2s, box-shadow .2s
}

.field textarea {
    resize: vertical;
    min-height: 120px
}

.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent)
}

/* zone d'upload photos */
.dropzone {
    position: relative;
    border: 2px dashed color-mix(in srgb, var(--primary) 35%, #d9d5e4);
    border-radius: 16px;
    background: var(--primary-soft);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s
}

.dropzone:hover, .dropzone.is-drag {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 12%, #fff)
}

.dropzone input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer
}

.dropzone__ico {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto .6rem;
    background: #fff;
    color: var(--primary);
    box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--primary) 60%, transparent)
}

.dropzone__ico svg {
    width: 24px;
    height: 24px
}

.dropzone strong {
    color: var(--primary-deep)
}

.dropzone small {
    display: block;
    color: #7a7590;
    margin-top: .25rem;
    font-size: .82rem
}

.previews {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(82px, 1fr));
    gap: .6rem;
    margin-top: 1rem
}

.preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e3e0ec;
    background: #f3f1f7
}

.preview img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.preview button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(10, 4, 24, .6);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
    line-height: 1
}

.preview button:hover {
    background: var(--primary)
}

.form__submit {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: .4rem
}

.form__ok {
    display: none;
    align-items: center;
    gap: .5rem;
    color: #1f8a4c;
    font-weight: 600;
    font-size: .92rem
}

.form__ok.show {
    display: inline-flex
}

.form__ok svg {
    width: 18px;
    height: 18px
}

.contact__aside {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.contact__card {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    position: relative;
    overflow: hidden
}

.contact__card::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--grad-primary);
    opacity: .5;
    filter: blur(10px)
}

.contact__card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative
}

.contact__line {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .8rem;
    position: relative;
    font-size: .95rem;
    color: rgba(255, 255, 255, .86)
}

.contact__line svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex: 0 0 auto
}

.contact__socials {
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
    position: relative
}

.contact__socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .1);
    transition: background .2s
}

.contact__socials a:hover {
    background: var(--primary)
}

.contact__socials svg {
    width: 19px;
    height: 19px;
    color: #fff
}

.contact__map {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 160px;
    background: linear-gradient(135deg, var(--primary-soft), #fff);
    border: 1px solid #ececf1;
    display: grid;
    place-items: center;
    color: #9a95ad;
    font-size: .9rem;
    text-align: center;
    padding: 1rem
}

/* =========================================================================
   10) BANDEAU CTA
   ========================================================================= */
.cta-band {
    max-width: var(--container);
    margin: 0 auto;
    border-radius: var(--radius-lg);
    padding: clamp(2.2rem, 5vw, 3.6rem);
    background: var(--grad-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12)
}

.cta-band h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    position: relative;
    z-index: 2;
    max-width: 18ch
}

.cta-band p {
    position: relative;
    z-index: 2;
    opacity: .92;
    margin-top: .5rem
}

.cta-band .btn--white {
    position: relative;
    z-index: 2
}

/* =========================================================================
   11) PAGE PRESTATIONS — détails
   ========================================================================= */
.presta {
    display: flex;
    flex-direction: column;
    gap: clamp(1.4rem, 3vw, 2.2rem);
    max-width: var(--container);
    margin: 0 auto
}

.presta-row {
    display: grid;
    grid-template-columns:.8fr 1.2fr;
    gap: clamp(1.4rem, 4vw, 3rem);
    align-items: center;
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: var(--radius-lg);
    overflow: hidden
}

.presta-row:nth-child(even) {
    grid-template-columns:1.2fr .8fr
}

.presta-row:nth-child(even) .presta-row__media {
    order: 2
}

.presta-row__media {
    position: relative;
    min-height: 280px;
    background: var(--grad-primary)
}

.presta-row__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.presta-row__body {
    padding: clamp(1.4rem, 3vw, 2.4rem)
}

.presta-row__num {
    font-family: var(--font-display);
    font-size: .95rem;
    letter-spacing: .1em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: .4rem
}

.presta-row__body h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--ink);
    margin-bottom: .6rem
}

.presta-row__body p {
    color: #56506a;
    margin-bottom: 1rem;
    max-width: 52ch
}

.presta-row__list {
    list-style: none;
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: .5rem .9rem;
    margin-bottom: 1.2rem
}

.presta-row__list li {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    font-size: .94rem;
    color: #46415c
}

.presta-row__list svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex: 0 0 auto;
    margin-top: .18rem
}

.presta-row__price {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary-deep);
    background: var(--primary-soft);
    padding: .5rem 1rem;
    border-radius: 100px;
    font-size: .92rem
}

/* process */
.steps {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 1.2rem;
    counter-reset: step
}

.step {
    position: relative;
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: var(--radius);
    padding: 1.6rem 1.3rem
}

.step__num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #fff;
    background: var(--grad-primary);
    margin-bottom: .9rem
}

.step h4 {
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: .3rem
}

.step p {
    font-size: .92rem;
    color: #5a5570
}

/* faq */
.faq {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .7rem
}

.faq details {
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: 14px;
    padding: .4rem .4rem;
    transition: border-color .2s
}

.faq details[open] {
    border-color: color-mix(in srgb, var(--primary) 35%, transparent)
}

.faq summary {
    list-style: none;
    cursor: pointer;
    padding: .9rem 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem
}

.faq summary::-webkit-details-marker {
    display: none
}

.faq summary .chev {
    width: 22px;
    height: 22px;
    color: var(--primary);
    transition: transform .25s;
    flex: 0 0 auto
}

.faq details[open] summary .chev {
    transform: rotate(180deg)
}

.faq p {
    padding: 0 1.1rem 1rem;
    color: #56506a
}

/* =========================================================================
   12) PAGE PARTENAIRES
   ========================================================================= */
.partners {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 1.3rem
}

.partner {
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    transition: transform .25s var(--ease), box-shadow .3s, border-color .25s
}

.partner:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px -24px rgba(23, 12, 48, .4);
    border-color: color-mix(in srgb, var(--primary) 35%, transparent)
}

.partner__logo {
    width: 100%;
    height: 120px;
    border-radius: 16px;
    background: var(--primary-soft);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 1rem
}

.partner__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
}

.partner__logo .ph {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--primary)
}

.partner h3 {
    font-size: 1.3rem;
    color: var(--ink)
}

.partner .role {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary)
}

.partner p {
    color: #56506a;
    font-size: .95rem;
    flex: 1
}

.partner a.link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--primary-deep);
    font-weight: 600;
    font-size: .92rem
}

.partner a.link svg {
    width: 16px;
    height: 16px;
    transition: transform .2s
}

.partner a.link:hover svg {
    transform: translate(2px, -2px)
}

/* =========================================================================
   13) FOOTER
   ========================================================================= */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
    padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2.4rem) 2rem;
    margin-top: clamp(3rem, 6vw, 5rem)
}

.footer__top {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns:1.4fr 1fr 1fr;
    gap: 2rem
}

.footer__logo {
    height: 62px;
    width: auto;
    display: block;
    margin-bottom: 1rem
}

.footer__about {
    font-size: .92rem;
    max-width: 38ch
}

.footer__col h5 {
    font-family: var(--font-body);
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: .9rem
}

.footer__col a {
    display: block;
    font-size: .94rem;
    color: rgba(255, 255, 255, .7);
    padding: .25rem 0;
    transition: color .2s
}

.footer__col a:hover {
    color: #fff
}

.footer__soc {
    display: flex;
    gap: .6rem;
    margin-top: 1rem
}

.footer__soc a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    transition: background .2s
}

.footer__soc a:hover {
    background: var(--primary)
}

.footer__soc svg {
    width: 19px;
    height: 19px;
    color: #fff
}

.footer__bottom {
    max-width: var(--container);
    margin: 2rem auto 0;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .84rem
}

/* =========================================================================
   Animations
   ========================================================================= */
@keyframes wipeL {
    from {
        transform: translateX(-100%);
        opacity: 0
    }
    to {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes wipeR {
    from {
        transform: translateX(100%);
        opacity: 0
    }
    to {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-16px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes vsPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.3) rotate(-30deg)
    }
    60% {
        transform: translate(-50%, -50%) scale(1.15) rotate(6deg)
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0)
    }
}

@keyframes seamPulse {
    0%, 100% {
        opacity: .8
    }
    50% {
        opacity: 1
    }
}

@keyframes bob {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-10px)
    }
}

@keyframes floaty {
    0%, 100% {
        transform: translateY(0) scale(1)
    }
    50% {
        transform: translateY(-22px) scale(1.12)
    }
}

@keyframes siteIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 60%, transparent)
    }
    70% {
        box-shadow: 0 0 0 12px transparent
    }
    100% {
        box-shadow: 0 0 0 0 transparent
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes swapPop {
    0% {
        opacity: 0;
        transform: scale(.8) rotate(-6deg)
    }
    55% {
        opacity: 1;
        transform: scale(1.07) rotate(2deg)
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0)
    }
}

.hero.is-theming .hero__eyebrow {
    animation: riseIn .55s var(--ease) .04s both
}

.hero.is-theming h1 {
    animation: riseIn .55s var(--ease) .10s both
}

.hero.is-theming .hero__lead {
    animation: riseIn .55s var(--ease) .16s both
}

.hero.is-theming .hero__cta {
    animation: riseIn .55s var(--ease) .22s both
}

.hero.is-theming .hero__stats {
    animation: riseIn .55s var(--ease) .28s both
}

.hero__mascot.is-swapping img, .hero__mascot.is-swapping .mascot__art {
    animation: swapPop .6s var(--ease) both
}

/* révélation au scroll */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease)
}

.reveal.in {
    opacity: 1;
    transform: none
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
    .footer__top {
        grid-template-columns:1fr 1fr
    }

    .about__grid {
        grid-template-columns:1fr;
        text-align: center
    }

    .about p {
        margin-inline: auto
    }

    .about__media {
        order: -1
    }

    .contact {
        grid-template-columns:1fr
    }

    .reviews {
        grid-template-columns:1fr 1fr
    }

    .partners {
        grid-template-columns:1fr 1fr
    }

    .steps {
        grid-template-columns:1fr 1fr
    }

    .presta-row, .presta-row:nth-child(even) {
        grid-template-columns:1fr
    }

    .presta-row:nth-child(even) .presta-row__media {
        order: 0
    }

    .presta-row__media {
        min-height: 220px
    }
}

@media (max-width: 880px) {
    /* sélecteur empilé */
    .selector {
        flex-direction: column
    }

    .side {
        flex-basis: 50%
    }

    .selector:has(.side--dragon .side__btn:hover) .side--dragon, .selector:has(.side--poulpe .side__btn:hover) .side--poulpe {
        flex-grow: 1.25
    }

    .selector:has(.side--dragon .side__btn:hover) .side--poulpe, .selector:has(.side--poulpe .side__btn:hover) .side--dragon {
        flex-grow: .85
    }

    .divider {
        width: auto
    }

    .seam {
        top: 50%;
        left: -2%;
        right: -2%;
        bottom: auto;
        width: auto;
        height: 5px;
        transform: translateY(-50%) skewY(-4deg);
        background: linear-gradient(90deg, transparent, var(--gold) 12%, #fff 50%, var(--gold) 88%, transparent)
    }

    .bolt {
        display: none
    }

    .mascot {
        width: clamp(120px, 19vh, 190px)
    }

    .player-tag {
        display: none
    }

    .selector__kicker {
        letter-spacing: .22em
    }

    .side__btn {
        padding: 5vh 6vw
    }

    /* nav mobile */
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid #ececf1;
        box-shadow: 0 24px 40px -24px rgba(23, 12, 48, .35);
        padding: .6rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height .3s var(--ease), opacity .25s
    }

    .nav.open {
        max-height: 380px;
        opacity: 1;
        pointer-events: auto
    }

    .nav a {
        padding: .85rem 1rem;
        border-radius: 12px
    }

    .nav-toggle {
        display: flex
    }

    .hero__grid {
        grid-template-columns:1fr;
        text-align: center
    }

    .hero__eyebrow, .hero__cta {
        justify-content: center
    }

    .hero__lead {
        margin-inline: auto
    }

    .hero__stats {
        justify-content: center
    }

    .hero__art {
        order: -1;
        min-height: 240px
    }

    .cards {
        grid-template-columns:1fr
    }

    .gallery {
        grid-template-columns:repeat(2, 1fr)
    }

    .reviews {
        grid-template-columns:1fr
    }

    .partners {
        grid-template-columns:1fr
    }

    .footer__top {
        grid-template-columns:1fr
    }

    .about__values {
        grid-template-columns:1fr
    }

    .form__row {
        grid-template-columns:1fr
    }
}

@media (max-width: 520px) {
    .gallery {
        grid-template-columns:repeat(2, 1fr)
    }

    .steps {
        grid-template-columns:1fr
    }

    .hero__stats {
        gap: 1.2rem
    }

    .presta-row__list {
        grid-template-columns:1fr
    }

    .about__photo {
        position: relative;
        right: auto;
        bottom: auto;
        width: 60%;
        margin: 1rem auto 0
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .05ms !important
    }

    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

/* =========================================================================
   Transition douce des couleurs sur TOUTE la page lors d'un changement
   d'équipe (classe .theming posée brièvement par le JS). Hors hero, ça
   évite l'effet "on/off". Respecte prefers-reduced-motion.
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
    :root.theming, :root.theming * {
        transition: color .5s var(--ease), background-color .5s var(--ease),
        border-color .5s var(--ease), fill .5s var(--ease), stroke .5s var(--ease),
        box-shadow .5s var(--ease), opacity .5s var(--ease),
        left .42s var(--ease), transform .42s var(--ease) !important;
    }
}

/* =========================================================================
   Salons — cards façon affiches
   ========================================================================= */
.salons { grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 1.4rem; }
.salon { display: flex; flex-direction: column; background: #fff; border: 1px solid #ececf1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 16px 36px -24px rgba(23, 12, 48, .42); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.salon:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -26px rgba(23, 12, 48, .5); }
.salon__poster { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #efedf4; }
.salon__poster img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .55s var(--ease); }
.salon:hover .salon__poster img { transform: scale(1.05); }
.salon__info { padding: .85rem 1rem 1.05rem; display: flex; flex-direction: column; gap: .12rem; }
.salon__when { font-family: var(--font-body); font-weight: 600; font-size: .8rem; color: var(--primary); }
.salon__name { font-size: 1.18rem; color: var(--ink); }
.salon__loc { display: flex; align-items: center; gap: .32rem; font-size: .86rem; color: #6a6580; margin-top: .1rem; }
.salon__loc svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--primary); }
.salon--soon { aspect-ratio: 4/5; border-style: dashed; border-color: color-mix(in srgb, var(--primary) 38%, #dcd8e6); background: var(--primary-soft); box-shadow: none; }
.salon--soon:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -26px rgba(23, 12, 48, .32); }
.salon__soon { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.6rem 1.2rem; gap: .35rem; }
.salon__soon-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--primary); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--primary) 55%, transparent); margin-bottom: .3rem; }
.salon__soon-ico svg { width: 27px; height: 27px; }
.salon__soon h4 { font-size: 1.22rem; color: var(--ink); }
.salon__soon p { font-size: .88rem; color: #56506a; }

/* CTAs réseaux sous les salons */
.salons-social { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.btn-soc { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: #fff; padding: .85rem 1.7rem; border-radius: 100px; transition: transform .2s var(--ease), box-shadow .25s, filter .2s; }
.btn-soc svg { width: 21px; height: 21px; flex: 0 0 auto; }
.btn-soc:hover { transform: translateY(-3px); filter: brightness(1.06); }
.btn-soc--fb { background: #1877f2; box-shadow: 0 14px 28px -12px rgba(24, 119, 242, .75); }
.btn-soc--ig { background: linear-gradient(45deg, #feda75, #fa7e1e 22%, #d62976 50%, #962fbf 74%, #4f5bd5); box-shadow: 0 14px 28px -12px rgba(214, 41, 118, .7); }

/* Contact — carte "100% à distance" (remplace l'ancienne carte atelier) */
.contact__remote { display: flex; gap: .95rem; align-items: flex-start; background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent); border-radius: var(--radius-lg); padding: 1.3rem; flex: 1; }
.contact__remote .ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: var(--primary); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--primary) 60%, transparent); }
.contact__remote .ico svg { width: 24px; height: 24px; }
.contact__remote h4 { font-size: 1.12rem; color: var(--ink); margin-bottom: .25rem; }
.contact__remote p { font-size: .92rem; color: #56506a; }

/* =========================================================================
   Galerie — animation organique du filtre
   ========================================================================= */
.tile { transition: transform .32s var(--ease), box-shadow .32s var(--ease), opacity .3s var(--ease); }
.tile.leaving { opacity: 0; transform: scale(.86) translateY(8px); pointer-events: none; }
@keyframes tilePop { 0% { opacity: 0; transform: scale(.84) translateY(16px); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.tile.pop { animation: tilePop .5s var(--ease) backwards; }

/* =========================================================================
   Séparateur "foudre" (image foudre.png) entre les deux camps
   ========================================================================= */
.divider img {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    height: 104%; width: auto; max-width: none;
    pointer-events: none; user-select: none; z-index: 1;
    filter: drop-shadow(0 0 12px rgba(160, 215, 255, .65)) drop-shadow(0 0 40px rgba(120, 180, 255, .45));
    animation: foudreFlicker 3.8s ease-in-out infinite;
}
@keyframes foudreFlicker { 0%, 100% { opacity: .95 } 43% { opacity: .8 } 48% { opacity: 1 } 52% { opacity: .86 } 70% { opacity: .97 } }

@media (max-width: 880px) {
    /* la foudre bascule à l'horizontale, le long de la couture */
    .divider img { height: 96vw; width: auto; transform: translate(-50%, -50%) rotate(90deg); }
}
