/*
Theme Name: La Tribu
Theme URI: https://latribudetorce.org
Author: La Tribu de Torcé
Description: Thème de l’association La Tribu de Torcé — club de loisirs 3-12 ans à Torcé-en-Vallée.
Version: 2.4.3
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.2
Text Domain: tribu
*/

:root {
  --yellow: #f6d24a;
  --yellow-soft: #fff4c4;
  --cream: #fbf7ee;
  --paper: #fffdf8;
  --teal: #1b8f8c;
  --teal-dark: #146e6c;
  --orange: #e45a32;
  --orange-dark: #b63d18;
  --green: #3d9a45;
  --navy: #1a365d;
  --ink: #243047;
  --muted: #5c6778;
  --line: #ead9b0;
  --shadow: 0 16px 40px rgba(26, 54, 93, 0.1);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-tap-highlight-color: transparent;
  padding-top: var(--header-h);
  --header-h: 78px;
  --bottom-nav-h: 0px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 {
  font-family: "Fredoka", "Nunito", sans-serif;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 0.4em;
}

.wrap {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

.header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.header-bar.is-scrolled { box-shadow: 0 8px 24px rgba(26, 54, 93, 0.08); }
.admin-bar .header-bar { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .header-bar { top: 46px; }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}
.brand strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.08rem;
  color: var(--navy);
}
.brand span { color: var(--muted); font-size: 0.82rem; }

.header-portal { flex-shrink: 0; white-space: nowrap; }
.nav-short { display: none; }
.nav-dock { display: none; }
.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: auto;
}
.nav ul {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.nav a:hover, .nav .current-menu-item > a { background: var(--yellow-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--orange-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-sm { padding: 9px 16px; font-size: 0.92rem; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-dark); }
.btn.teal { background: var(--teal); box-shadow: 0 5px 0 var(--teal-dark); }
.btn.navy { background: var(--navy); box-shadow: 0 5px 0 #0f2444; }
.btn.ghost {
  background: transparent;
  color: var(--navy) !important;
  box-shadow: none;
  border: 2px solid var(--navy);
}

.recruit-banner {
  background: var(--navy);
  color: #fff;
}
.recruit-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  flex-wrap: wrap;
  padding: 11px 0;
  text-align: center;
}
.recruit-inner p { margin: 0; font-weight: 700; font-size: 0.95rem; }
.recruit-link {
  display: inline-flex;
  align-items: center;
  background: var(--yellow);
  color: var(--navy) !important;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 7px 16px;
  min-height: 40px;
  transition: transform 0.2s ease;
}
.recruit-link:hover { transform: translateY(-1px); }

.hero { padding: 52px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { animation: rise-in 0.7s ease both; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); margin: 12px 0; }
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 38rem; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.eyebrow {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  color: var(--teal-dark);
  font-size: 0.84rem;
}
.hero-visual { animation: rise-in 0.75s ease 0.1s both; }
.hero-portrait {
  width: 168px;
  height: 168px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-portrait img { width: 150px; height: 150px; }
.hero-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  margin-bottom: 16px;
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fact {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.fact b { display: block; color: var(--navy); }
.fact span { color: var(--muted); font-size: 0.9rem; }

.section { padding: 48px 0; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-soft { background: #fff7e4; }
.kicker {
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin: 0 0 8px;
}
.kicker-light { color: var(--yellow); }
.intro { max-width: 40rem; color: var(--muted); }

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.tile {
  min-height: 168px;
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.tile span { font-family: "Fredoka", sans-serif; font-size: 1.2rem; font-weight: 650; }
.tile small { color: var(--muted); margin-top: 4px; }
.t-create { background: #ffe08a; }
.t-play { background: #c8f0ec; }
.t-learn { background: #ffd4c7; }
.t-heart { background: #d8f3c8; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.photo-card {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-card figcaption {
  padding: 10px 14px 12px;
  font-weight: 800;
  color: var(--navy);
}

.fb-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.fb-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fb-card-media { display: block; background: var(--yellow-soft); }
.fb-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.fb-card-body { padding: 20px 22px 22px; }
.fb-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--orange);
  font-weight: 800;
  font-size: 0.82rem;
}
.fb-mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #1877f2;
  flex-shrink: 0;
}
.fb-card-body h3 { font-size: 1.22rem; margin-bottom: 8px; }
.fb-card-body h3 a { color: inherit; text-decoration: none; }
.fb-card-body p { margin: 0 0 14px; color: var(--muted); }

.news-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}
.news-figure {
  margin: 0;
  background: #fff;
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.news-figure img { border-radius: 18px; }

.actu-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.actu-list:has(> .actu-card:only-child) {
  grid-template-columns: 1fr;
}
.actu-list:has(> .actu-card:nth-child(2):last-child) {
  grid-template-columns: 1fr 1fr;
}
.actu-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.actu-card-media { display: block; background: var(--yellow-soft); }
.actu-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.actu-card-body { padding: 20px 22px 22px; }
.actu-card-body time {
  display: block;
  color: var(--orange);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.actu-card-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.actu-card-body h3 a { color: inherit; text-decoration: none; }
.actu-card-body p { margin: 0 0 14px; color: var(--muted); }
.actu-single-figure { margin: 0 0 28px; }

.band {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 20px;
  align-items: center;
}
.band h2, .band p { color: #fff; }

.prices, .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.price, .step, .panel, .card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price { text-align: center; }
.price strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 2.1rem;
  color: var(--orange);
  margin: 6px 0;
}
.step { border: 2px solid var(--yellow); box-shadow: none; }
.num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800;
  margin-bottom: 10px;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta-row { margin-top: 22px; }

.page-hero {
  padding: 28px 0 10px;
  text-align: center;
  animation: rise-in 0.55s ease both;
}
.page-hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  margin: 0 auto 0.15em;
  max-width: 22ch;
}
.page-hero .kicker { margin-bottom: 10px; }
.page-hero .lead {
  color: var(--muted);
  max-width: 40rem;
  margin: 14px auto 0;
}

.breadcrumb {
  margin: 0 0 18px;
  font-size: 0.86rem;
}
.breadcrumb ol {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 8px;
  color: var(--orange);
  font-weight: 800;
}
.breadcrumb a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 700;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] {
  color: var(--navy);
  font-weight: 800;
}

.title-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px auto 0;
}
.title-mark span {
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
}
.title-mark i {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: var(--teal);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px var(--yellow-soft);
  font-style: normal;
}

.prose { max-width: 740px; margin-inline: auto; }
.prose h2 { margin-top: 1.5em; }
.prose-center { text-align: center; }
.prose-center .cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.list-check { padding-left: 0; list-style: none; }
.list-check li { padding: 8px 0 8px 28px; position: relative; }
.list-check li::before { content: "•"; position: absolute; left: 8px; color: var(--orange); font-weight: 800; }

.org { margin-top: 12px; }
.org-group { text-align: center; }
.org-label {
  font-size: 1.15rem;
  margin: 8px 0 6px;
}
.org-intro {
  max-width: 38rem;
  margin: 0 auto 18px;
  color: var(--muted);
}
.org-join {
  display: flex;
  justify-content: center;
  margin: 6px 0 10px;
}
.org-join span {
  width: 2px;
  height: 28px;
  background: var(--line);
  border-radius: 99px;
}
.org-row {
  display: grid;
  gap: 16px;
  align-items: stretch;
  justify-content: center;
}
.org-n1 { grid-template-columns: minmax(240px, 320px); }
.org-n2 { grid-template-columns: repeat(2, minmax(220px, 300px)); }
.org-n3 { grid-template-columns: repeat(3, minmax(200px, 1fr)); }
.org-row.is-lead { margin-bottom: 4px; }
.org-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.org-photo {
  width: 112px;
  height: 112px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-family: "Fredoka", sans-serif;
  font-size: 1.7rem;
  font-weight: 650;
  color: var(--navy);
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--line);
}
.org-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.org-card.tone-navy .org-photo { background: #d9e4f5; }
.org-card.tone-teal .org-photo { background: #c8f0ec; }
.org-card.tone-orange .org-photo { background: #ffd4c7; }
.org-card.tone-green .org-photo { background: #d8f3c8; }
.org-card.tone-yellow .org-photo { background: #ffe08a; }
.org-role {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.org-card h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}
.org-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form { display: grid; gap: 12px; }
.form label { font-weight: 800; color: var(--navy); }
.form input, .form select, .form textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.alert { border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.alert.ok { background: #d8f3c8; color: #215c28; }
.alert.err { background: #ffd4c7; color: #8a2a16; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; }
.contact-item { margin: 0 0 14px; }
.contact-item b { display: block; color: var(--navy); }

.site-footer {
  margin-top: 40px;
  background: var(--navy);
  color: #d7e3f5;
  padding: 40px 0 18px;
}
.site-footer a { color: #fff; }
.site-footer img {
  width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); margin-bottom: 12px;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.foot-legal {
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}
.site-footer small { color: #9bb0d0; }

.cookie-pop {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.cookie-pop[hidden] { display: none; }
.cookie-card {
  pointer-events: auto;
  width: min(640px, 100%);
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 18px 50px rgba(26, 54, 93, 0.22);
  border: 1px solid var(--line);
  animation: rise-in 0.35s ease both;
}
.cookie-card p { margin: 0 0 14px; }
.cookie-card a { color: var(--teal-dark); font-weight: 800; }
.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
  min-height: 44px;
}
.nav-toggle-bars { display: flex; flex-direction: column; gap: 5px; width: 18px; }
.nav-toggle-bars span { display: block; height: 2.5px; background: var(--navy); border-radius: 99px; transition: 0.25s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(246, 210, 74, 0.55), transparent 36%),
    radial-gradient(circle at 84% 78%, rgba(228, 90, 50, 0.18), transparent 32%),
    var(--cream);
  pointer-events: none;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-transition img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 12px 30px rgba(26, 54, 93, 0.16);
  opacity: 0;
  transform: scale(0.72) rotate(-8deg);
  transition: opacity 0.3s ease 0.08s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}
.page-transition.is-on,
html.is-page-enter .page-transition {
  pointer-events: auto;
  clip-path: circle(150% at 50% 50%);
}
.page-transition.is-on img,
html.is-page-enter .page-transition img {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
html.is-page-enter .page-transition {
  transition: none;
}

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

@media (hover: hover) and (pointer: fine) {
  .tile:hover, .price:hover, .step:hover, .panel:hover, .actu-card:hover, .org-card:hover, .photo-card:hover, .fb-card:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 1020px) {
  .mosaic, .photo-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body {
    --header-h: 68px;
    --bottom-nav-h: 64px;
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  }
  .wrap { width: min(1100px, calc(100% - 28px)); }
  .hero { padding: 28px 0 16px; }
  .hero-grid, .news-grid, .prices, .steps, .two-col, .contact-grid, .band, .actu-list, .org-n2, .org-n3, .fb-cards {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .hero-actions .btn { width: 100%; min-height: 48px; }
  .section { padding: 36px 0; }
  .band { padding: 24px; }
  .recruit-inner { flex-direction: column; gap: 10px; }
  .brand img { width: 48px; height: 48px; }
  .brand span { display: none; }
  .nav-toggle { display: none; }
  .nav-full { display: none; }
  .nav-short { display: block; }
  .header-inner { gap: 10px; }
  .header-portal { padding: 8px 12px; font-size: 0.82rem; }
  .nav-top { display: none; }
  .nav-dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    margin: 0;
    flex-direction: row;
    align-items: stretch;
    background: #fffdf8;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(26, 54, 93, 0.08);
    padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
    padding-left: max(6px, env(safe-area-inset-left));
    padding-right: max(6px, env(safe-area-inset-right));
  }
  .nav-dock ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-dock li { flex: 1; min-width: 0; }
  .nav-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    min-height: 56px;
    padding: 6px 2px 4px;
    border-radius: 12px;
    font-size: 0.68rem;
    line-height: 1.15;
    text-align: center;
    font-weight: 800;
    text-decoration: none;
    color: var(--navy);
  }
  .nav-dock a::before {
    content: "";
    width: 22px;
    height: 22px;
    background: currentColor;
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
  }
  .nav-dock .nav-home a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 3.2 3 11h2.2v9h5.1v-6h3.4v6h5.1v-9H21z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 3.2 3 11h2.2v9h5.1v-6h3.4v6h5.1v-9H21z'/%3E%3C/svg%3E");
  }
  .nav-dock .nav-club a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm-7.5 8.2v-1.4A4.8 4.8 0 0 1 9.3 14h5.4a4.8 4.8 0 0 1 4.8 4.8v1.4z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm-7.5 8.2v-1.4A4.8 4.8 0 0 1 9.3 14h5.4a4.8 4.8 0 0 1 4.8 4.8v1.4z'/%3E%3C/svg%3E");
  }
  .nav-dock .nav-inscrire a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M8 3.5h8v2.2H8zm-2.5 2.8h13v14.2H5.5zm4 4.2v1.8h5V10.5zm0 3.6v1.8h5v-1.8z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M8 3.5h8v2.2H8zm-2.5 2.8h13v14.2H5.5zm4 4.2v1.8h5V10.5zm0 3.6v1.8h5v-1.8z'/%3E%3C/svg%3E");
  }
  .nav-dock .nav-benevole a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.2 3.6 12.8a4.7 4.7 0 0 1 6.6-6.6L12 8l1.8-1.8a4.7 4.7 0 0 1 6.6 6.6z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.2 3.6 12.8a4.7 4.7 0 0 1 6.6-6.6L12 8l1.8-1.8a4.7 4.7 0 0 1 6.6 6.6z'/%3E%3C/svg%3E");
  }
  .nav-dock .nav-contact a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M3.5 5.5h17v13h-17zm1.8 1.7 6.7 5 6.7-5v1.9l-6.7 5-6.7-5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M3.5 5.5h17v13h-17zm1.8 1.7 6.7 5 6.7-5v1.9l-6.7 5-6.7-5z'/%3E%3C/svg%3E");
  }
  .nav-dock a:hover, .nav-dock .current-menu-item > a { background: var(--yellow-soft); }
  .nav-dock .current-menu-item > a { color: var(--orange-dark); }
  .cookie-pop {
    bottom: calc(var(--bottom-nav-h) + 12px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  .mosaic, .facts, .foot-grid, .photo-grid { grid-template-columns: 1fr; }
  .tile { min-height: 132px; }
  .cookie-pop { left: 10px; right: 10px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-copy, .hero-visual, .page-hero, .btn, .tile, .nav, .page-transition, .page-transition img {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
