/* =========================================================
   369 Barber Shop — feuille de style
   Mobile-first · palette sombre · touches dorées
   ========================================================= */

:root {
  --bg: #151413;          /* noir anthracite */
  --bg-alt: #1c1b19;
  --surface: #23211f;
  --line: color-mix(in srgb, var(--text) 10%, transparent);
  --text: #f0ebe1;        /* blanc cassé */
  --muted: #b8b0a6;       /* gris chaud (contraste ≈ 8:1 sur --bg) */
  --gold: #c9a45c;
  --gold-soft: #dcbf86;
  --on-gold: #151413;

  --font-title: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* place pour la barre mobile */
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0 0 1rem; }
em { font-style: italic; color: var(--gold-soft); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--gold); color: var(--on-gold); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 2.5rem; }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.section__title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin-bottom: 1.5rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 1.75rem;
  font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { border-color: color-mix(in srgb, var(--text) 28%, transparent); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: color-mix(in srgb, var(--text) 60%, transparent); background: color-mix(in srgb, var(--text) 5%, transparent); }
.hide-mobile { display: none; }
.btn--sm { min-height: 44px; padding: 0 1.2rem; font-size: .78rem; }

.link-arrow {
  display: inline-flex; gap: .6rem; align-items: center;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .4s var(--ease);
}
.header.is-scrolled { border-color: var(--line); }
.header.is-scrolled::before { opacity: 1; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo__mark { display: block; height: 26px; width: auto; }
.logo__txt { font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.logo--footer img { display: block; width: 160px; height: auto; }

.header__cta { display: none; }

.burger {
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  display: grid; place-content: center; gap: 7px; position: relative; z-index: 110;
}
.burger span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.nav {
  position: fixed; inset: 0; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.nav.is-open { opacity: 1; visibility: visible; }
.nav__list { list-style: none; margin: 0; padding: 0; text-align: center; }
.nav__link {
  display: block; padding: .6rem 1rem;
  font-family: var(--font-title); font-size: 2.4rem; font-weight: 500;
  transition: color .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
  /* Fond de secours si la photo est absente */
  background:
    radial-gradient(ellipse at 70% 30%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 60%),
    linear-gradient(160deg, var(--surface) 0%, var(--bg) 70%);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) both; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 45%, transparent) 0%, color-mix(in srgb, var(--bg) 35%, transparent) 40%, color-mix(in srgb, var(--bg) 95%, transparent) 100%);
}
.hero__content { position: relative; padding-bottom: 6.5rem; padding-top: calc(var(--header-h) + 3rem); }
.hero__title { margin: 0 0 1.4rem; line-height: 0; }
.hero__logo { display: block; width: clamp(240px, 72vw, 470px); height: auto; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .45)); }
.hero__lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: color-mix(in srgb, var(--text) 88%, transparent); max-width: 34ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero__rating { display: inline-flex; align-items: center; gap: .7rem; font-size: .9rem; color: color-mix(in srgb, var(--text) 85%, transparent); }
.hero__rating:hover { color: var(--text); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1px solid color-mix(in srgb, var(--text) 40%, transparent); border-radius: 12px; display: none;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 2px; height: 7px; margin-left: -1px;
  background: var(--gold); border-radius: 2px; animation: scrollDot 2s infinite;
}

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

.stars { color: var(--gold); letter-spacing: .12em; margin: 0; }
.stars--lg { font-size: 1.6rem; margin-bottom: 1.2rem; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; margin-bottom: 3rem; }
.section__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }

/* Placeholder élégant pour les images manquantes */
.salon__media, .gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 55%),
    linear-gradient(145deg, var(--surface), var(--bg-alt));
}
.salon__media::after, .gallery__item::after {
  content: "369"; position: absolute; inset: 0; display: grid; place-items: center; z-index: 0;
  font-family: var(--font-title); font-size: 3rem; color: color-mix(in srgb, var(--gold) 18%, transparent);
}
.salon__media img, .gallery__item img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Salon ---------- */
.salon__grid { display: grid; gap: 3rem; align-items: center; }
.salon__media { aspect-ratio: 4 / 5; }
.salon__text > p { color: var(--muted); max-width: 52ch; }
.features { list-style: none; padding: 0; margin: 2rem 0 2.2rem; }
.features li { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.features li:last-child { border-bottom: 1px solid var(--line); }
.features__num { font-family: var(--font-title); color: var(--gold); font-size: 1.1rem; min-width: 1.8rem; }

/* ---------- Prestations ---------- */
.cards { display: grid; gap: 1rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.card:hover { border-color: color-mix(in srgb, var(--gold) 55%, transparent); transform: translateY(-4px); }
.card--featured { border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.card__badge {
  position: absolute; top: -11px; left: 1.6rem;
  background: var(--gold); color: var(--on-gold);
  font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 2px;
}
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .8rem; }
.card__title { font-family: var(--font-title); font-size: 1.75rem; }
.card__time { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.card__desc { color: var(--muted); font-size: 1rem; flex: 1; }
.card__price { font-family: var(--font-title); font-size: 2.2rem; color: var(--gold-soft); margin: .5rem 0 1.4rem; line-height: 1; }
.card__book {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; min-height: 44px;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
  border-top: 1px solid var(--line); padding-top: 1rem; width: 100%;
}
.card__book::after { content: "→"; transition: transform .3s var(--ease); }
.card__book:hover::after { transform: translateX(4px); }
.cards__note { text-align: center; color: var(--muted); margin: 2.5rem 0 0; }
.cards__note a { color: var(--text); border-bottom: 1px solid var(--gold); }
.card__price span { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; color: var(--muted); margin-right: .2rem; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; grid-auto-flow: dense; gap: .6rem; }
.gallery__item { margin: 0; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }

/* ---------- Avis ---------- */
.reviews__inner { text-align: center; }
.reviews__inner .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.reviews__score { font-family: var(--font-title); font-size: clamp(4.5rem, 16vw, 7rem); font-weight: 600; line-height: 1; margin-bottom: .6rem; }
.reviews__score span { font-size: .35em; color: var(--muted); }
.reviews__text { color: var(--muted); margin-bottom: 2rem; }
.reviews__text strong { color: var(--text); }
.stars__off { opacity: .25; }
.reviews__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; margin: 0 0 1rem; text-align: left; }
.review { margin: 0; padding: 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .7rem; align-content: start; }
.review__head { display: flex; align-items: center; gap: .75rem; }
.review__head img, .review__avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; }
.review__avatar { display: grid; place-items: center; background: var(--bg); color: var(--gold); font-weight: 700; }
.review__head span { display: grid; font-weight: 600; line-height: 1.3; }
.review__head a { color: var(--text); text-decoration: none; }
.review__head a:hover { color: var(--gold); }
.review__head small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.review blockquote { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.reviews__source { color: var(--muted); font-size: .8rem; margin: 0 0 1.5rem; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 3rem; }
.info { margin: 0 0 2rem; }
.info__row { display: grid; gap: .3rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.info__row:last-child { border-bottom: 1px solid var(--line); }
.info dt { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.info dd { margin: 0; }
.info dd a:hover { color: var(--gold-soft); }
.hours { border-collapse: collapse; width: 100%; max-width: 340px; font-size: 1rem; }
.hours th { text-align: left; font-weight: 500; color: var(--muted); padding: .2rem 1rem .2rem 0; }
.hours td { text-align: right; padding: .2rem 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold-soft); font-weight: 700; }
.contact__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.map {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 45%),
    repeating-linear-gradient(0deg, transparent 0 47px, color-mix(in srgb, var(--text) 4%, transparent) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, color-mix(in srgb, var(--text) 4%, transparent) 47px 48px),
    var(--surface);
}
.map__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
}
.map__pin { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.4; margin-bottom: 1rem; }
.map__name { font-family: var(--font-title); font-size: 1.9rem; margin-bottom: .2rem; }
.map__addr { color: var(--muted); margin-bottom: 1.6rem; }
.map__note { font-size: .8rem; color: var(--muted); margin: 1rem 0 0; }
.map iframe { position: relative; display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.85) invert(.9) contrast(.85) hue-rotate(180deg); }

/* ---------- Footer ---------- */
.footer { background: color-mix(in srgb, var(--bg) 75%, #000); border-top: 1px solid var(--line); padding: 4.5rem 0 2rem; }
.footer__cta { text-align: center; padding-bottom: 3.5rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); }
.footer__title { font-family: var(--font-title); font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 1.8rem; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.footer__small { color: var(--muted); font-size: 1rem; margin-top: 1rem; }
.footer__small a:hover { color: var(--gold-soft); }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; }
.social a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; transition: border-color .3s, color .3s;
}
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social .fill { fill: currentColor; stroke: none; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .875rem; color: var(--muted);
}
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: var(--text); }

/* ---------- Barre mobile ---------- */
.mobile-bar {
  position: fixed; inset: auto 0 0; z-index: 90;
  display: flex; gap: .6rem; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-bar__main { flex: 1; }
.mobile-bar__icon {
  width: 50px; flex: none; display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--text) 30%, transparent); border-radius: var(--radius); color: var(--gold);
}
.mobile-bar__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-auto-rows: 240px; }
}

@media (min-width: 900px) {
  :root { --header-h: 84px; }
  body { padding-bottom: 0; }
  .container { padding: 0 40px; }
  .mobile-bar { display: none; }

  .burger { display: none; }
  .nav { position: static; opacity: 1; visibility: visible; background: none; }
  .nav__list { display: flex; gap: 2.4rem; }
  .nav__link {
    position: relative; padding: .4rem 0;
    font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  }
  .nav__link::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .header__cta { display: inline-flex; }
  .hide-mobile { display: inline-flex; }

  .hero { align-items: center; }
  .hero__content { padding-bottom: 4rem; }
  .hero__scroll { display: block; }

  .section { padding: 8rem 0; }
  .salon__grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: .8rem; }
  .contact__grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: stretch; }
  .map, .map iframe { min-height: 100%; }
}

/* ---------- Pages simples (annulation) ---------- */
.simple-page { padding-bottom: 0; min-height: 100vh; display: grid; place-items: center; text-align: center; }
.simple-page__main { max-width: 560px; padding-top: 3rem; padding-bottom: 3rem; }
.simple-page__main .logo { margin-bottom: 2.5rem; }
.simple-page__main p { color: var(--muted); margin-bottom: 2rem; }
.simple-page__main p strong { color: var(--text); }
.simple-page__main form { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* Bandeau d'information cookies */
.cookie-bar { position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60; max-width: 560px; margin-inline: auto; display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); font-size: .85rem; color: var(--muted); }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--text); border-bottom: 1px solid var(--gold); }
.cookie-bar .btn { flex: none; padding: .6rem 1.1rem; }
@media (max-width: 767px) { .cookie-bar { bottom: calc(5rem + env(safe-area-inset-bottom)); } }

/* Sélecteur de langue */
.lang-switch { position: relative; margin-left: auto; font-size: .8rem; z-index: 70; }
.header__cta + .lang-switch, .nav + .lang-switch { margin-left: 1rem; }
.lang-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-weight: 600; letter-spacing: .08em; transition: border-color .2s, background .2s; user-select: none; }
.lang-switch summary::-webkit-details-marker, .lang-switch summary::marker { display: none; content: ""; }
.lang-switch summary::after { content: ""; width: .38rem; height: .38rem; margin-left: .1rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; transition: transform .2s; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, transparent); }
.lang-switch[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lang-switch__globe { width: 1rem; height: 1rem; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + .5rem); list-style: none; margin: 0; padding: .4rem; min-width: 12rem; display: grid; gap: .1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.lang-switch li { margin: 0; padding: 0; }
.lang-switch li::before, .lang-switch li::marker { content: none; }
.lang-switch li a { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500; letter-spacing: 0; border-radius: 6px; transition: background .15s, color .15s; }
.lang-switch__code { flex: none; display: inline-grid; place-items: center; width: 2rem; height: 1.4rem; border: 1px solid var(--line); border-radius: 4px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.lang-switch li a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.lang-switch li a[aria-current] { color: var(--text); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.lang-switch li a[aria-current] .lang-switch__code { border-color: var(--gold); color: var(--gold); }
.lang-switch li a[aria-current]::after { content: ""; margin-left: auto; width: .35rem; height: .65rem; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-2px) rotate(45deg); }
.footer__bottom .lang-switch { margin-left: 0; }
.footer__bottom .lang-switch ul { top: auto; bottom: calc(100% + .5rem); right: 0; left: auto; }
@media (max-width: 767px) { .lang-switch summary { height: 2.2rem; padding: 0 .6rem; } .header .lang-switch ul { right: -3.2rem; } }

/* Proposition de langue */
.lang-offer { position: fixed; top: calc(var(--header-h) + .6rem); left: 1rem; right: 1rem; z-index: 65; max-width: 520px; margin-inline: auto; display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem .7rem 1rem; background: var(--surface); border: 1px solid var(--gold); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); font-size: .85rem; color: var(--text); }
.lang-offer p { margin: 0; flex: 1; }
.lang-offer .btn { flex: none; }
.lang-offer__close { flex: none; background: none; border: 0; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 .2rem; }
.lang-offer { flex-wrap: wrap; }
.lang-offer p { flex: 1 1 14rem; }
