/* ==========================================================================
   Landon Doumé — Verrier d'art · Feuille de style (inspiration apple.com/fr)
   Principes : typographie XXL très serrée, grandes tuiles plein écran
   alternées, beaucoup de vide, coins très arrondis, boutons pilule.
   La charte (couleurs, polices) se règle dans les variables ci-dessous.
   ========================================================================== */

:root {
  --bg: #F8F6F2;          /* fond principal (blanc cassé) */
  --tile: #EEEBE5;        /* tuile alternée */
  --card: #FFFFFF;        /* cartes */
  --text: #1E1E1E;
  --muted: #6b6e73;
  --glass: #7FB8A8;       /* vert d'eau */
  --deep: #2F5D74;        /* bleu verre profond */
  --gold: #C9A45C;
  --silver: #B8BCC2;
  --link: #2F5D74;
  --hair: rgba(30,30,30,.12);
  --nav-bg: rgba(248,246,242,.72);
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 18px 40px rgba(0,0,0,.06);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.18);
  --r: 28px;
  --ease: cubic-bezier(.28,.11,.32,1);
  --f: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif; /* clin d'œil artisanal : citations */
}
html { color-scheme: light; }

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.47 var(--f); letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; transition: background .5s, color .5s;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1,h2,h3 { font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 .4em; }
h1 { font-size: clamp(2.9rem, 10vw, 7.2rem); line-height: 1; letter-spacing: -.04em; }
h2 { font-size: clamp(2.2rem, 6.4vw, 5rem); }
h3 { font-size: 1.5rem; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 8px; }
.tresse :focus-visible { outline-color: var(--glass); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--deep); color: #fff; padding: .6em 1em; border-radius: 999px; z-index: 200; }
.skip:focus { left: 8px; }

.wrap { width: min(1080px, 90%); margin-inline: auto; }
section { padding: clamp(5rem, 12vw, 9rem) 0; position: relative; background: var(--bg); }
section.alt { background: var(--tile); }
.head { text-align: center; max-width: 820px; margin: 0 auto 3rem; }
.eyebrow { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; color: #A98230; margin: 0 0 .6rem; }
.tresse .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.2rem, 2.4vw, 1.65rem); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; color: var(--muted); }
.head .lead { margin-inline: auto; }

/* Liens « En savoir plus › » */
.more { text-decoration: none; font-size: 1.15rem; color: var(--link); display: inline-block; transition: opacity .3s; }
.more::after { content: " ›"; display: inline-block; transition: transform .4s var(--ease); }
.more:hover::after { transform: translateX(4px); }
.more:hover { text-decoration: underline; }

/* ---------- Navigation : barre fine translucide ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 68px;
  background: var(--nav-bg); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  transition: height .4s var(--ease), box-shadow .4s;
}
.nav.compact { box-shadow: 0 1px 0 var(--hair); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(1080px, 92%); }
.logo { font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; color: var(--text); white-space: nowrap; }
.logo span { color: var(--gold); }
.menu { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.menu a { position: relative; display: inline-block; text-decoration: none; color: var(--text); font-size: 1.1rem; font-weight: 500; letter-spacing: -.01em; padding: .5em 0; transition: color .3s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25em; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.menu a:hover { color: var(--deep); }
.menu a:hover::after, .menu a:focus-visible::after, .menu a.active::after { transform: scaleX(1); }
.menu a.active { color: var(--deep); }
/* « Boutique » : bouton en pilule, bien visible */
.menu a.shop-link { background: var(--deep); color: #fff; padding: .5em 1.3em; border-radius: 999px; font-weight: 600; transition: background .3s, transform .3s var(--ease); }
.menu a.shop-link::after { display: none; }
.menu a.shop-link:hover, .menu a.shop-link:focus-visible, .menu a.shop-link.active { background: #3b7390; color: #fff; transform: scale(1.04); }
.tools { display: flex; gap: .3rem; align-items: center; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; font-size: 1.3rem; transition: background .3s, transform .3s var(--ease); }
.icon-btn:hover { background: var(--hair); }
.burger { display: none; }

@media (max-width: 1100px) {
  /* Le flou de la barre enfermait le menu plein écran dans ses 68 px : on le retire sur mobile */
  .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .burger { display: grid; }
  .menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.2rem; padding: 0 8vw;
    background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-2%);
    transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s; z-index: -1;
  }
  .menu a { font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; }
  .menu a.shop-link { padding: .3em 1em; }
  .menu-open .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .menu li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .menu-open .menu li { opacity: 1; transform: none; }
  .menu-open .menu li:nth-child(1){transition-delay:.08s} .menu-open .menu li:nth-child(2){transition-delay:.13s}
  .menu-open .menu li:nth-child(3){transition-delay:.18s} .menu-open .menu li:nth-child(4){transition-delay:.23s}
  .menu-open .menu li:nth-child(5){transition-delay:.28s} .menu-open .menu li:nth-child(6){transition-delay:.33s}
  .menu-open .menu li:nth-child(7){transition-delay:.38s}
}

/* ---------- Boutons : pilules ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .78em 1.5em; border-radius: 980px; border: 0; cursor: pointer;
  font: 400 1.0625rem var(--f); letter-spacing: -.01em; text-decoration: none; color: #fff; background: var(--deep);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .5s;
}
.btn:hover, .btn:focus-visible { background: #3b7390; transform: scale(1.04); }
.btn:active { transform: scale(.97); }
/* Boutique Ecwid */
.shop { min-height: 50vh; }
.shop-bar { position: sticky; top: 76px; z-index: 50; display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; padding: .6rem; margin: 0 auto 1.5rem; width: fit-content; max-width: 100%; background: var(--nav-bg); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-radius: 999px; box-shadow: 0 1px 0 var(--hair), var(--shadow); }
.shop-bar[hidden] { display: none; }
.shop-bar .btn { padding: .55em 1.2em; font-size: .95rem; }
.shop-page-anchor { scroll-margin-top: 60px; }

/* ---- Page boutique : bandeau d'ouverture sombre ---- */
.shop-hero { padding: clamp(7rem, 14vw, 10rem) 0 clamp(4rem, 9vw, 7rem); overflow: hidden; }
.shop-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.shop-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
.shop-hero .shine { background: linear-gradient(180deg, #fff, #b9bcc2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shop-hero .grad { background: linear-gradient(90deg, var(--glass), #6fa3bd 60%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shop-hero .lead { max-width: 28em; margin: 1.2rem 0 1.8rem; }
.shop-hero .cta, .shop-end .cta { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; }
.shop-end .cta { justify-content: center; margin-top: 1.5rem; }
.shop-hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: center; }
.shop-hero-art::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(127,184,168,.5), rgba(47,93,116,.18) 60%, transparent); filter: blur(30px); }
.shop-hero-art img { position: absolute; width: 54%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.5); animation: float 7s ease-in-out infinite; }
.shop-hero-art img:nth-child(1) { left: 0; top: 6%; transform: rotate(-7deg); }
.shop-hero-art img:nth-child(2) { right: 0; top: 0; transform: rotate(6deg); animation-delay: -2.5s; z-index: 1; }
.shop-hero-art img:nth-child(3) { left: 22%; bottom: 0; transform: rotate(-2deg); animation-delay: -5s; z-index: 2; }
@keyframes float { 50% { translate: 0 -12px; } }

/* ---- Garanties ---- */
.shop-perks { padding: 0; background: var(--bg); }
.shop-perks ul { list-style: none; margin: 0; padding: 2.2rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.shop-perks li { display: grid; gap: .1rem; justify-items: center; text-align: center; }
.shop-perks li span { font-size: 1.5rem; color: var(--gold); line-height: 1; margin-bottom: .4rem; }
.shop-perks li b { font-size: 1rem; letter-spacing: -.01em; }
.shop-perks li small { color: var(--muted); font-size: .85rem; }
.shop-catalog { padding-top: clamp(4rem, 9vw, 7rem); }
.shop-end .head { margin-bottom: 0; }

/* ---- Habillage de la boutique Ecwid aux couleurs du site ---- */
.shop .ec-store, .shop .ec-store * { font-family: var(--f) !important; letter-spacing: -.01em; }
.shop .ec-store .grid-product__wrap-inner { background: var(--card); border-radius: var(--r); padding: .8rem .8rem 1.2rem; transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.shop .ec-store .grid-product:hover .grid-product__wrap-inner { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.shop .ec-store .grid-product__picture, .shop .ec-store .grid-product__image-wrap { border-radius: 18px; overflow: hidden; }
.shop .ec-store .grid-product__title-inner { color: var(--text) !important; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.shop .ec-store .grid-product__price, .shop .ec-store .details-product-price__value, .shop .ec-store .ec-price-item { color: var(--muted) !important; }
.shop .ec-store .page-title__name, .shop .ec-store .product-details__product-title, .shop .ec-store .ec-header-h1 { color: var(--text) !important; letter-spacing: -.03em; font-weight: 700; }
.shop .ec-store .form-control__button, .shop .ec-store .details-product-purchase__place .form-control__button { border-radius: 999px; background: var(--deep); border-color: var(--deep); color: #fff; transition: transform .3s var(--ease), background .3s; }
.shop .ec-store .form-control__button:hover { background: #3b7390; transform: scale(1.03); }
.shop .ec-store .form-control__text, .shop .ec-store .form-control__select, .shop .ec-store .ec-store__content-wrapper { border-radius: 14px; }
.shop .ec-store .ec-footer, .shop .ec-store .ec-breadcrumbs, .shop .ec-store .ec-breadcrumbs a { color: var(--muted) !important; }
.shop .ec-store .grid__categories .grid-category__title { color: var(--text) !important; font-weight: 700; }
.shop .ec-store .grid-category__image, .shop .ec-store .grid-category__wrap-inner { border-radius: var(--r); overflow: hidden; }

@media (max-width: 880px) {
  .shop-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .shop-hero .lead { margin-inline: auto; }
  .shop-hero .cta { justify-content: center; }
  .shop-hero-art { max-width: 340px; order: -1; }
  .shop-perks ul { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .shop-hero-art img { animation: none; } }
.shop-off { text-align: center; color: var(--text); opacity: .75; margin: 0 auto; max-width: 520px; }
.shop-off a { color: var(--link); }
.cart-link { position: relative; text-decoration: none; width: 48px; height: 48px; }
.cart-link[hidden] { display: none; }
.cart-count { position: absolute; top: 0; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--link); color: var(--bg); font-size: .65rem; font-weight: 600; line-height: 16px; text-align: center; }
.cart-count:empty { display: none; }
.lb figcaption .btn { margin-top: 1rem; }
.lb figcaption .btn[hidden] { display: none; }
.btn.ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.btn.ghost:hover { background: var(--link); color: var(--bg); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; padding: 7rem 0 0; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.hero .eyebrow { font-size: 1.3rem; }
.hero h1 .shine {
  display: inline-block;
  /* 1re couche : reflet qui passe ; 2e couche : couleur de base (évite que le texte disparaisse hors du reflet) */
  background: linear-gradient(100deg, transparent 40%, var(--glass) 47%, #fff 50%, var(--gold) 53%, transparent 60%) 120% 0 / 250% 100% no-repeat,
              linear-gradient(var(--text), var(--text));
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: glint 6s 1.2s var(--ease) infinite;
}
.hero h1 .grad { background: linear-gradient(90deg, var(--glass), var(--deep) 60%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes glint { 0% { background-position: 120% 0; } 35%,100% { background-position: -20% 0; } }
.hero .sub { font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; color: var(--muted); max-width: 30em; margin: 1rem auto 1.8rem; }
.hero .cta { display: flex; gap: 1.6rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.hero-art { position: relative; width: min(680px, 88%); aspect-ratio: 1; margin-top: 2rem; display: grid; place-items: center; }
.hero-art .layer { width: 100%; height: 100%; will-change: transform; position: relative; }
.hero-art .halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(127,184,168,.55), rgba(47,93,116,.18) 60%, transparent); filter: blur(30px); }
.scroll-cue { display: none; }

/* ---------- Carte générique (ex-« glass ») ---------- */
.glass { background: var(--card); border-radius: var(--r); box-shadow: none; }

/* ---------- Artisan ---------- */
.artisan-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.artisan-grid h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.portrait { position: relative; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; }
.stats b { display: block; font-size: 3.2rem; line-height: 1; font-weight: 700; letter-spacing: -.04em; background: linear-gradient(90deg, var(--glass), var(--deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: .9rem; color: var(--muted); }
@media (max-width: 880px) { .artisan-grid { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

/* Frise */
.tl-title { text-align: center; margin: 6rem 0 0; font-size: clamp(1.8rem, 4.5vw, 3rem); }
.timeline { position: relative; margin: 3rem 0 0; padding: 0; list-style: none; }
.timeline::before, .timeline .progress { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--hair); transform: translateX(-50%); }
.timeline .progress { background: linear-gradient(var(--glass), var(--gold)); transform-origin: top; transform: translateX(-50%) scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 2rem; }
.step .card { padding: 2rem; grid-column: 1; }
.step:nth-child(even) .card { grid-column: 2; }
.step::before { content: attr(data-n); position: absolute; left: 50%; top: 1.6rem; width: 40px; height: 40px; border-radius: 50%; transform: translateX(-50%); display: grid; place-items: center; background: var(--deep); color: #fff; font-weight: 600; z-index: 1; }
.step h3 { margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 760px) {
  .timeline::before, .timeline .progress { left: 20px; }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; padding-left: 58px; gap: 0; }
  .step .card, .step:nth-child(even) .card { grid-column: 1; }
  .step::before { left: 20px; }
}

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; margin: 0 auto 3rem; padding: .3rem; width: fit-content; max-width: 100%; background: var(--tile); border-radius: 999px; }
.chip { padding: .55em 1.2em; border-radius: 999px; border: 0; background: transparent; color: var(--text); font: 500 .95rem var(--f); letter-spacing: -.01em; cursor: pointer; transition: background .4s, color .4s; }
.chip:hover { background: var(--hair); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; }
.card-p { position: relative; border-radius: var(--r); overflow: hidden; background: var(--card); border: 0; cursor: pointer; padding: 0; text-align: left; color: inherit; font: inherit; transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.card-p:hover, .card-p:focus-visible { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-p .meta { padding: 1.6rem 1.6rem .4rem; }
.card-p h3 { font-size: 1.5rem; margin: 0; }
.card-p small { color: var(--muted); font-size: .95rem; }
.card-p .ph { aspect-ratio: 4/5; overflow: hidden; position: relative; margin: .4rem 1rem 1rem; border-radius: 18px; background: var(--tile); }
.card-p img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; }
.card-p img.loading { filter: blur(14px); }
.card-p:hover img, .card-p:focus-visible img { transform: scale(1.05); }
.card-p .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none; }
.card-p:hover .ph::after, .card-p:focus-visible .ph::after { transform: translateX(120%); }
.card-p { display: flex; flex-direction: column; }
.card-p .meta { order: -1; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .4em; background: var(--silver); }
.dot.or { background: var(--gold); }

/* Lightbox */
dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: #fff; }
dialog::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(20px); }
.lb { height: 100%; display: grid; place-items: center; padding: 1rem; position: relative; }
.lb figure { margin: 0; max-width: min(92vw, 620px); text-align: center; animation: lbIn .6s var(--ease); }
.lb img { max-height: 72vh; width: auto; margin: 0 auto; border-radius: var(--r); }
.lb figcaption h3 { margin: 1.2rem 0 .2rem; font-size: 2rem; }
.lb figcaption p { color: #c7c9cc; margin: 0; }
.lb .icon-btn { position: absolute; color: #fff; background: rgba(255,255,255,.14); width: 44px; height: 44px; }
.lb .icon-btn:hover { background: rgba(255,255,255,.26); }
.lb .close { top: 1rem; right: 1rem; } .lb .prev { left: 1rem; top: 50%; } .lb .next { right: 1rem; top: 50%; }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }

/* ---------- Tresse : tuile noire ---------- */
.tresse { --bg: #050607; --text: #F5F5F7; --muted: #a1a1a6; --link: #7FB8A8; --card: #17191c; --hair: rgba(255,255,255,.16); background: var(--bg); color: var(--text); }
.tresse h2 { font-size: clamp(2.8rem, 9vw, 7rem); letter-spacing: -.045em; }
.tresse h2 em { font-style: normal; background: linear-gradient(90deg, var(--glass), #fff 45%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tresse-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.tresse-grid figure { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; background: #101214; }
.tresse-grid figure:nth-child(1) { grid-column: 1 / 8; aspect-ratio: 4/3; }
.tresse-grid figure:nth-child(2) { grid-column: 8 / 13; aspect-ratio: 4/5; }
.tresse-grid figure:nth-child(3) { grid-column: 1 / 13; aspect-ratio: 21/9; }
.tresse-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tresse-grid figure:hover img { transform: scale(1.04); }
.tresse-grid figcaption { position: absolute; left: 1.2rem; bottom: 1.2rem; padding: .45em 1em; border-radius: 999px; font-size: .85rem; background: rgba(30,30,30,.6); backdrop-filter: blur(14px); color: #fff; }
.tresse-text { max-width: 700px; margin: 5rem auto 0; text-align: center; }
.tresse-text blockquote { font: italic 400 clamp(1.8rem, 4vw, 3rem)/1.15 var(--f-serif); letter-spacing: 0; margin: 0 0 1.8rem; color: #fff; }
.tresse-text p { color: var(--muted); font-size: 1.2rem; line-height: 1.4; }
@media (max-width: 760px) { .tresse-grid figure:nth-child(n) { grid-column: 1 / -1; aspect-ratio: 4/3; } }

/* ---------- Expositions ---------- */
.expo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.expo-grid h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.stand-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stand-photos figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; background: var(--card); }
.stand-photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; }
.stand-photos img { width: 100%; height: 100%; object-fit: cover; }
.events { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .8rem; }
.event { display: grid; grid-template-columns: 70px 1fr; gap: 1.2rem; padding: 1.2rem 1.5rem; align-items: center; transition: transform .5s var(--ease), box-shadow .5s; }
.event:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.event time { text-align: center; border-right: 1px solid var(--hair); padding-right: 1rem; }
.event time b { display: block; font-size: 2.2rem; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.event time span { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #A98230; font-weight: 600; }
.event h3 { font-size: 1.2rem; margin: 0; } .event p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.4; }
@media (max-width: 880px) { .expo-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
form.glass { padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.2rem; align-content: start; }
label { display: grid; gap: .4rem; font-weight: 600; font-size: .92rem; }
input, textarea { font: inherit; padding: .85em 1em; border-radius: 14px; border: 1px solid var(--hair); background: var(--bg); color: var(--text); transition: border-color .4s, box-shadow .4s; }
input:focus, textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 4px rgba(127,184,168,.35); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b3382c; }
.err { color: #b3382c; font-size: .82rem; font-weight: 500; min-height: 1em; }
.status { font-weight: 600; color: var(--deep); margin: 0; }.coords { font-style: normal; display: grid; gap: .5rem; margin-bottom: 1.5rem; font-size: 1.15rem; }
.coords a { text-decoration: none; font-weight: 500; }
.coords a:hover { text-decoration: underline; }
.map { border: 0; width: 100%; height: 280px; border-radius: var(--r); filter: saturate(.8); }
.social { display: flex; gap: .8rem; margin-top: 1.4rem; flex-wrap: wrap; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
footer { padding: 2.5rem 0 3rem; background: var(--tile); text-align: center; font-size: .8rem; color: var(--muted); }
footer .tagline { font-size: 1rem; color: var(--text); font-weight: 500; margin-bottom: .6rem; letter-spacing: -.01em; }
footer p { margin: 0 0 .5rem; }
footer button.link { background: none; border: 0; color: var(--link); cursor: pointer; font: inherit; padding: 0; }
footer button.link:hover { text-decoration: underline; }
.legal { margin: auto; max-width: 600px; background: var(--bg); color: var(--text); border-radius: var(--r); padding: 2rem; height: auto; width: min(92vw, 600px); }
.legal::backdrop { background: rgba(0,0,0,.6); }

/* ---------- Apparition au défilement ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rv { opacity: 1; transform: none; }
  .hero h1 .shine { color: var(--text); background: none; }
}

/* Photos réelles dans le hero */
.hero-art .layer { object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-lg); width: auto; max-height: 100%; aspect-ratio: 3/4; margin: auto; }
.hero-art { aspect-ratio: 4/5; width: min(520px, 86%); }
