/* =========================================================
   En-tête et pied de page v3, greffés sur les pages Onsen Stack
   qui gardent l'ancien design system (v2.css).
   Couleurs en dur (Umé Studio) : les variables de v2.css ont
   d'autres noms et d'autres valeurs.
   ========================================================= */
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: #FFF4EA; color: #1B1219; text-decoration: none; border-radius: 8px; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v3-wrap { width: min(100% - 2 * clamp(16px, 4vw, 40px), 1180px); margin-inline: auto; }

/* En-tête */
header.site-header, header.site-header.scrolled {
  position: sticky; top: 0; z-index: 100;
  background: rgba(27, 18, 25, .9);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 244, 234, .12);
  font-family: 'Inter', system-ui, sans-serif;
}
header.site-header .v3-wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.site-header .home-link, .site-footer .home-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #FFF4EA; margin: 0; }
.site-header .home-link { margin-right: auto; }
.home-link svg { width: 22px; height: auto; display: block; }
.home-link span { font: 600 1.125rem/1 'Fredoka', system-ui, sans-serif; letter-spacing: .01em; }
.main-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 999px; white-space: nowrap; font-size: .9375rem; font-weight: 500; text-decoration: none; color: #CDB9C6; margin: 0; transition: color .2s, background-color .2s; }
.main-nav a:hover { color: #FFF4EA; background: rgba(255, 244, 234, .1); }
.main-nav a[aria-current="page"] { color: #FFF4EA; font-weight: 600; }
.v3-lang { display: flex; gap: 2px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; }
.v3-lang a, .v3-lang span { padding: 6px 8px; text-decoration: none; color: #CDB9C6; border-radius: 6px; margin: 0; }
.v3-lang [aria-current] { color: #FFF4EA; }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255, 244, 234, .14); border-radius: 10px; background: transparent; color: #FFF4EA; cursor: pointer; }
  .main-nav { position: absolute; inset: 100% 0 auto 0; background: #1B1219; border-bottom: 1px solid rgba(255, 244, 234, .12); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px clamp(16px, 4vw, 40px) 16px; }
  .main-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 244, 234, .12); font-size: 1rem; }
}

/* Badges officiels des stores */
.store-badge { display: inline-flex; border-radius: 8px; transition: transform .2s; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { display: block; height: 48px; width: auto; }

/* Lien de retour vers Umé Studio */
.v3-crumb { font: 600 .875rem/1 'Inter', system-ui, sans-serif; padding-top: 22px; }
.v3-crumb a { color: inherit; opacity: .75; text-decoration: none; }
.v3-crumb a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* Pied de page */
footer.site-footer { background: #22262D; color: #B7BCC6; padding: 64px 0 32px; font: 400 .9375rem/1.6 'Inter', system-ui, sans-serif; border-top: 0; }
.site-footer a { color: #E7E9ED; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer p { margin: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.v3-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 34ch; }
.footer-col h2 { font: 600 .75rem/1 'Inter', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #8C929D; margin: 0 0 16px; }
.footer-col li + li { margin-top: 10px; }
.foundry { margin-top: 8px; font-size: .8125rem; color: #8C929D; }
.foundry strong { font: 600 .875rem 'Fredoka', system-ui, sans-serif; background: linear-gradient(90deg, #F28DB2 0%, #F7C6DA 40%, #BFE8FA 60%, #4FB6E3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; color: #8C929D; }
@media (max-width: 760px) { .v3-footer-grid { grid-template-columns: 1fr; } }
