:root {
  --navy: #102b3b;
  --navy-2: #0b1f2c;
  --navy-3: #173c51;
  --gold: #f6bd24;
  --gold-soft: #fff2c9;
  --ink: #17303e;
  --muted: #60717c;
  --line: #dbe3e7;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --soft-blue: #edf3f6;
  --success: #295c45;
  --shadow: 0 16px 45px rgba(10, 34, 48, .09);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.72 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #c47d00;
  outline-offset: 4px;
  border-radius: 2px;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.34rem; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 200;
  padding: 11px 15px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 700;
}
.skip:focus { top: 12px; }

/* Header */
.topline {
  min-height: 34px;
  background: #071923;
  color: #c9d8df;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 7px max(40px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid rgba(246, 189, 36, .18);
  font-size: .76rem;
  letter-spacing: .025em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(100deg, rgba(16, 43, 59, .985), rgba(19, 54, 73, .985));
  border-bottom: 1px solid rgba(246, 189, 36, .28);
  box-shadow: 0 9px 28px rgba(4, 20, 29, .18);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1260px;
  margin: auto;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  color: white;
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .22));
}
.brand-copy {
  display: block;
  min-width: 145px;
  color: white;
  line-height: 1;
}
.brand-name {
  display: inline-block;
  color: white;
  font-size: 1.48rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .16);
}
.brand-name > span {
  color: var(--gold);
  margin: 0 .01em;
  font-weight: 800;
}
.brand small {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: #bed0d9;
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.brand small::before {
  content: '';
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #edf5f8;
  font-size: .84rem;
  font-weight: 700;
}
.main-nav > a, .navgroup > summary {
  padding: 10px 11px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.main-nav > a:not(.nav-join):hover,
.navgroup > summary:hover {
  background: rgba(255, 255, 255, .07);
  color: var(--gold);
}
.main-nav .active,
.navgroup[data-current="true"] > summary {
  color: white;
  background: rgba(246, 189, 36, .09);
  box-shadow: inset 0 -2px var(--gold);
}
.nav-join {
  margin-left: 7px;
  background: var(--gold);
  color: var(--navy-2);
  padding: 11px 17px !important;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .13);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.nav-join:hover {
  background: #ffd25e;
  color: var(--navy-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 23px rgba(0, 0, 0, .18);
}
.active-join { box-shadow: inset 0 -3px #7c5905, 0 7px 18px rgba(0, 0, 0, .13); }
.navgroup { position: relative; }
.navgroup summary { cursor: pointer; list-style: none; }
.navgroup summary::-webkit-details-marker { display: none; }
.navgroup summary::after { content: '▾'; margin-left: 7px; color: #9fb6c2; font-size: .68rem; }
.navgroup[open] summary::after { content: '▴'; color: var(--gold); }
.navgroup > div {
  position: absolute;
  top: 47px;
  left: -6px;
  width: 255px;
  padding: 9px;
  background: #ffffff;
  border: 1px solid #d8e2e7;
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(4, 25, 36, .2);
  color: var(--ink);
}
.navgroup > div a {
  display: block;
  padding: 10px 11px;
  border-radius: 6px;
  font-weight: 600;
  line-height: 1.3;
}
.navgroup > div a:hover { background: var(--soft); color: var(--navy); }
.navgroup > div .active-sub { color: #674b08; background: var(--gold-soft); }

/* Home hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: white; }
.hero::before {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246,189,36,.11) 0%, rgba(246,189,36,0) 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1260px;
  margin: auto;
  padding: 74px 40px 70px;
  display: grid;
  grid-template-columns: 1.2fr .85fr;
  align-items: center;
  gap: 70px;
}
.eyebrow {
  margin-bottom: 18px;
  color: #75550c;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  margin-bottom: 25px;
  font-size: clamp(3.2rem, 5.5vw, 4.9rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-text { max-width: 590px; color: #d2e0e7; font-size: 1.11rem; line-height: 1.82; }
.hero-text strong { color: white; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 31px 0 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: .88rem;
  font-weight: 800;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-2px); }
.button.gold { background: var(--gold); color: var(--navy-2); }
.button.gold:hover { background: #ffd25e; }
.button.outline { color: white; border-color: #7992a0; }
.button.outline:hover { background: rgba(255,255,255,.08); border-color: white; }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 35px; color: #aebfc8; font-size: .78rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-mark { text-align: center; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero-logo-wrap {
  position: relative;
  width: min(390px, 100%);
  margin: 0 auto;
  padding: 4px;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 25px 75px rgba(0,0,0,.18);
}
.hero-logo-wrap img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 25px rgba(0,0,0,.22));
}
.hero-mark > span { margin-top: 24px; color: #bcd0da; font-size: .69rem; letter-spacing: .2em; }
.hero-signature { margin: 18px 0 0; color: #c8d5db; font: italic 1rem/1.6 Georgia, serif; }

.home-intro { padding: 80px 0 70px; }
.home-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.home-intro h2 { margin-bottom: 0; }
.home-intro-copy { color: var(--muted); }
.home-intro-copy p { font-size: 1.05rem; }
.text-link { display: inline-block; margin-top: 7px; padding-bottom: 4px; border-bottom: 2px solid var(--gold); font-weight: 800; color: var(--ink); }

.home-values { padding: 0 0 82px; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding-top: 45px; border-top: 1px solid var(--line); }
.section-head h2 { margin-bottom: 25px; }
.section-head .eyebrow { margin-bottom: 10px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card {
  min-height: 300px;
  padding: 29px;
  background: var(--soft);
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: white; }
.card-number { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.resource-card h3 { margin: 28px 0 15px; font: 400 2rem/1.1 Georgia, serif; }
.resource-card p { color: var(--muted); font-size: .94rem; }
.card-link { display: flex; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid #cfd9de; font-size: .84rem; font-weight: 800; }

.song-section { background: var(--gold); }
.song-inner { padding-top: 58px; padding-bottom: 58px; display: grid; grid-template-columns: 1fr 1fr; gap: 75px; }
.song-inner .eyebrow { color: #54400d; }
.song-inner p { max-width: 480px; }
.song-links { display: flex; flex-direction: column; justify-content: center; }
.song-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 0; border-bottom: 1px solid rgba(74,56,13,.28); font: 400 1.95rem/1.2 Georgia, serif; transition: padding-left .15s ease; }
.song-link:hover { padding-left: 9px; }
.song-link span { font: 800 .76rem/1.3 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em; }

/* Internal pages */
.page-heading { padding-top: 45px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.breadcrumb { margin-bottom: 30px; color: var(--muted); font-size: .83rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: '/'; margin-right: 7px; color: #91a0a8; }
.breadcrumb a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.breadcrumb a:hover { text-decoration: underline; }
.page-heading .eyebrow { margin-bottom: 12px; }
.page-heading h1 { max-width: 930px; margin-bottom: 14px; font-size: clamp(2.6rem, 4vw, 3.65rem); letter-spacing: -.025em; }
.page-subtitle { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 70px; padding-top: 50px; padding-bottom: 90px; }
.article { min-width: 0; font-size: 1rem; line-height: 1.82; }
.article > :first-child { margin-top: 0; }
.article p { margin: 0 0 21px; }
.article h2 { margin: 48px 0 20px; font-size: 2rem; color: var(--navy); }
.article h3 { margin: 31px 0 13px; color: var(--navy); }
.article strong { font-weight: 800; }
.article a:not(.button):not(.download):not(.member-mail):not(.external-card) { color: #20597b; text-decoration: underline; text-underline-offset: 3px; }
.article ul, .article ol { padding-left: 23px; margin: 0 0 25px; }
.article li { margin-bottom: 9px; }
.article-lead { margin-bottom: 34px !important; color: #334d5b; font: 400 1.28rem/1.68 Georgia, serif; }
.content-section { margin-top: 42px; }
.content-section:first-of-type { margin-top: 0; }
.section-kicker { margin-bottom: 9px !important; color: #775809; font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.rule { height: 1px; margin: 38px 0; background: var(--line); }
.highlight-band {
  margin: 34px 0;
  padding: 26px 28px;
  background: var(--navy);
  color: white;
  border-left: 5px solid var(--gold);
}
.highlight-band p { margin-bottom: 0; color: #dce8ed; }
.highlight-band strong { color: white; }
.quote-block { margin: 34px 0; padding: 6px 0 6px 25px; border-left: 4px solid var(--gold); font: italic 1.3rem/1.65 Georgia, serif; color: #334d5b; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.feature {
  padding: 23px 24px;
  background: var(--soft);
  border: 1px solid #e5ecef;
}
.feature h3 { margin: 0 0 9px; font: 400 1.22rem/1.25 Georgia, serif; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.65; }
.bullet-list { padding-left: 0 !important; list-style: none; }
.bullet-list li { position: relative; padding: 0 0 13px 27px; border-bottom: 1px solid #edf1f2; }
.bullet-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #87620b; font-weight: 900; }
.steps { counter-reset: afecc-step; display: grid; gap: 13px; margin: 28px 0; }
.step { counter-increment: afecc-step; position: relative; padding: 21px 22px 21px 72px; background: var(--soft); border: 1px solid #e2eaed; }
.step::before { content: counter(afecc-step); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy-2); font-weight: 900; }
.step h3 { margin: 0 0 5px; font-size: 1.06rem; font-family: Arial, Helvetica, sans-serif; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }
.notice { margin: 28px 0; padding: 20px 23px; background: var(--gold-soft); border-left: 4px solid var(--gold); color: #4f421f; }
.notice p:last-child { margin-bottom: 0; }
.archive-note { margin: 0 0 28px; padding: 15px 18px; background: #f2f5f6; border-left: 3px solid #9cafba; color: var(--muted); font-size: .84rem; }
.download-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.download { display: inline-flex; align-items: center; gap: 10px; padding: 12px 17px; background: var(--navy); color: white !important; text-decoration: none !important; border: 1px solid var(--navy); font-size: .9rem; font-weight: 800; }
.download::before { content: '↓'; color: var(--gold); }
.download:hover { background: var(--navy-3); }
.download.secondary { background: white; color: var(--navy) !important; }
.image-frame { margin: 26px 0; padding: 16px; background: var(--soft); border: 1px solid var(--line); }
.image-frame img { display: block; margin: auto; max-height: 1000px; object-fit: contain; }
.image-caption { margin: 10px 0 0 !important; color: var(--muted); font-size: .8rem; text-align: center; }
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 35px; }
.member-card { padding: 24px; background: var(--soft); border-top: 3px solid var(--gold); }
.member-role { margin-bottom: 9px !important; color: #7a5a0d; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.member-card h3 { margin: 0 0 8px; font: 400 1.28rem/1.25 Georgia, serif; }
.member-card p { margin: 0; }
.member-mail { color: #215c7c; font-size: .88rem; overflow-wrap: anywhere; }
.name-list { columns: 2; column-gap: 35px; padding-left: 0 !important; list-style: none; }
.name-list li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid #ebeff1; }
.contact-box { margin: 30px 0; padding: 25px; background: var(--navy); color: white; }
.contact-box h3 { margin-top: 0; color: white; }
.contact-box p { margin-bottom: 6px; color: #dbe6eb; }
.contact-box strong { color: white; }
.external-card { display: flex; gap: 18px; align-items: center; margin: 28px 0; padding: 22px; background: var(--soft-blue); border: 1px solid var(--line); color: var(--ink) !important; text-decoration: none !important; }
.external-card img { flex: 0 0 auto; width: 120px; max-height: 88px; object-fit: contain; }
.external-card strong { display: block; margin-bottom: 5px; }
.external-card span { display: block; color: var(--muted); font-size: .9rem; }
.external-card:hover { background: white; box-shadow: var(--shadow); }
.signature { margin-top: 36px; padding-top: 25px; border-top: 1px solid var(--line); }
.signature strong { display: block; font: 400 1.3rem/1.4 Georgia, serif; }
.signature span { color: var(--muted); font-size: .88rem; }
.sidebar { position: sticky; top: 30px; align-self: start; padding-left: 25px; border-left: 1px solid var(--line); }
.sidebar-title { margin: 0 0 13px; color: var(--navy); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.sidebar a { display: block; padding: 9px 0; border-bottom: 1px solid #edf1f2; font-size: .87rem; line-height: 1.35; }
.sidebar a:hover { color: #6f520d; }
.sidebar .current { color: #6f520d; font-weight: 800; border-bottom-color: var(--gold); }

/* Footer */
.site-footer { padding: 52px max(40px, calc((100% - 1180px)/2)) 24px; background: var(--navy-2); color: #d4dfe4; }
.footer-main { display: grid; grid-template-columns: 1.45fr 1fr 1.15fr 1.2fr; gap: 42px; }
.footer-brand-name { display: inline-block; color: white; font-size: 2.45rem; font-weight: 900; letter-spacing: .075em; line-height: 1; }
.footer-brand-name span { color: var(--gold); font-weight: 800; }
.footer-brand p { max-width: 280px; margin: 8px 0 13px; color: #c3d0d7; font: italic 1rem/1.6 Georgia, serif; }
.footer-note, .footer-affiliation { display: block; color: #92a8b3; font-size: .75rem; line-height: 1.5; }
.footer-main h2 { margin: 13px 0 17px; color: var(--gold); font: 800 .76rem/1.3 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.footer-main a { display: block; margin: 8px 0; font-size: .83rem; overflow-wrap: anywhere; }
.footer-main a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; margin-top: 32px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa6b1; font-size: .75rem; line-height: 1.55; }
.footer-version { margin-left: auto; text-align: right; white-space: nowrap; }

@media (max-width: 1080px) {
  .header-inner { padding-inline: 24px; }
  .main-nav { gap: 15px; font-size: .8rem; }
  .brand-name { font-size: 1.28rem; }
  .brand img { width: 50px; height: 50px; }
  .hero-inner { gap: 42px; }
  .article-layout { gap: 42px; grid-template-columns: minmax(0, 1fr) 215px; }
  .footer-main { gap: 26px; }
}

@media (max-width: 820px) {
  .site-header { position: relative; }
  .wrap { width: calc(100% - 38px); }
  .topline { padding-inline: 19px; }
  .topline span:first-child { display: none; }
  .header-inner { display: block; padding: 15px 19px 17px; }
  .brand { margin-bottom: 14px; }
  .brand img { width: 45px; height: 45px; }
  .brand small { display: inline-flex; margin-left: 8px; margin-top: 0; }
  .brand small::before { width: 14px; }
  .main-nav { flex-wrap: wrap; gap: 3px 17px; font-size: .78rem; }
  .main-nav > a, .navgroup > summary { padding: 7px 9px; }
  .nav-join { margin-left: 0; }
  .nav-join { padding: 8px 11px !important; }
  .navgroup > div { top: 35px; width: 230px; }
  .navgroup:last-of-type > div { left: auto; right: 0; }
  .hero-inner { grid-template-columns: 1fr; padding: 52px 22px 48px; gap: 35px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.25rem); }
  .hero-mark { order: -1; }
  .hero-logo-wrap { width: min(245px, 65vw); }
  .hero-mark > span { margin-top: 12px; }
  .home-intro { padding: 58px 0; }
  .home-intro-grid, .song-inner { grid-template-columns: 1fr; gap: 28px; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 0; }
  .song-inner { padding-top: 45px; padding-bottom: 45px; }
  .article-layout { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 70px; }
  .sidebar { position: static; order: -1; padding: 17px 18px; border-left: 0; background: var(--soft); }
  .sidebar a { display: inline-block; margin-right: 15px; border-bottom: 0; }
  .sidebar .current { border-bottom: 2px solid var(--gold); }
  .feature-grid, .member-grid { grid-template-columns: 1fr; }
  .name-list { columns: 1; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .topline { justify-content: center; text-align: center; }
  .brand small { display: flex; margin-left: 0; margin-top: 6px; }
  .main-nav { gap: 2px 13px; }
  .main-nav .nav-join { margin-top: 4px; }
  .hero-inner { padding-top: 42px; }
  .hero h1 { font-size: 3.05rem; }
  .hero-text { font-size: 1rem; }
  .actions { display: grid; }
  .hero-proof { display: grid; gap: 8px; }
  .page-heading { padding-top: 34px; padding-bottom: 31px; }
  .page-heading h1 { font-size: 2.55rem; }
  .article h2 { font-size: 1.75rem; }
  .quote-block { font-size: 1.14rem; }
  .step { padding-left: 65px; }
  .external-card { display: block; }
  .external-card img { width: 110px; margin-bottom: 12px; }
  .song-link { font-size: 1.55rem; }
  .song-link span { font-size: .66rem; text-align: right; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: 10px; }
  .footer-version { margin-left: 0; text-align: right; }
}

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

/* Canaris de chant */
.song-profile { padding: 28px 30px; background: #f6f9fa; border: 1px solid #dce6ea; border-left: 5px solid var(--gold); }
.song-profile h2 { margin-top: 4px; }
.song-signature { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid #dce6ea; }
.song-signature span { font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.song-signature strong { color: var(--navy); letter-spacing: .02em; }
.note-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 24px 0 8px; }
.note-card { padding: 20px 21px; border: 1px solid #dce6ea; background: white; }
.note-card strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 1rem; }
.note-card p { margin: 0; font-size: .92rem; line-height: 1.62; color: #4d626d; }
.variant-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.variant-card { padding: 23px; background: var(--navy); color: #e6eef2; }
.variant-card > span { color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.variant-card h3 { margin: 15px 0 10px; color: white; font: 400 1.45rem/1.2 Georgia,serif; }
.variant-card p { margin: 0; color: #c7d5dc; font-size: .91rem; line-height: 1.6; }
.source-box { margin: 34px 0; padding: 22px 24px; background: #eef4f6; border: 1px solid #d6e2e7; }
.source-box strong { color: var(--navy); }
.source-box p { margin: 6px 0 9px; }
.source-box a { font-weight: 800; }
@media (max-width: 760px) { .note-grid, .variant-grid { grid-template-columns: 1fr; } .song-profile { padding: 22px 20px; } }

/* Bureau */
.member-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
@media(max-width:760px){.member-grid-compact{grid-template-columns:1fr}}


/* Présentation des spécialités */
.bird-overview {
  display: grid;
  grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: stretch;
  margin: 26px 0 38px;
}
.bird-story {
  padding: 28px 30px;
  background: var(--navy);
  color: #d8e5ea;
  border-top: 4px solid var(--gold);
}
.bird-story .section-kicker { color: var(--gold); }
.bird-story h2 { margin: 5px 0 15px; color: #fff; font: 400 2rem/1.16 Georgia, serif; }
.bird-story > p:not(.section-kicker) { margin: 0; color: #cbd9df; line-height: 1.75; }
.bird-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; margin-top: 23px; background: rgba(255,255,255,.13); }
.bird-facts div { padding: 14px 12px; background: #112b3b; }
.bird-facts span { display: block; margin-bottom: 5px; color: #9fb4be; font-size: .64rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.bird-facts strong { display: block; color: #fff; font-size: .86rem; line-height: 1.4; }
.history-line { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 22px; }
.history-line div { padding: 15px; background: #112b3b; border-top: 2px solid rgba(232,190,76,.65); }
.history-line span { color: var(--gold); font: 700 1.02rem/1 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; }
.history-line p { margin: 7px 0 0; color: #c6d6dd; font-size: .78rem; line-height: 1.5; }

@media (max-width: 900px) {
  .bird-overview { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 620px) {
  .bird-story { padding: 23px 20px; }
  .bird-story h2 { font-size: 1.7rem; }
  .bird-facts, .history-line { grid-template-columns: 1fr; }
}

/* Navigation et mise en page mobile */
.mobile-nav-wrap { display: none; }

@media (max-width: 820px) {
  /* Compact header: the desktop navigation is replaced by one touch-friendly menu. */
  .site-header { position: sticky; top: 0; }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
  }
  .main-nav { display: none; }
  .mobile-nav-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .brand { margin: 0; min-width: 0; gap: 9px; }
  .brand img { width: 42px; height: 42px; flex: 0 0 42px; }
  .brand-copy { min-width: 0; }
  .brand-name { font-size: 1.08rem; letter-spacing: .055em; white-space: nowrap; }
  .brand small { display: none; }

  .mobile-nav { position: relative; }
  .mobile-nav > summary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 9px;
    color: #fff;
    background: rgba(255,255,255,.06);
    font-size: .86rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }
  .mobile-nav > summary::-webkit-details-marker { display: none; }
  .menu-icon, .menu-icon::before, .menu-icon::after {
    width: 17px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: var(--gold);
  }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
  .menu-icon::before { top: -5px; }
  .menu-icon::after { top: 5px; }
  .mobile-nav[open] .menu-icon { background: transparent; }
  .mobile-nav[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .mobile-nav[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }

  .mobile-nav-panel {
    position: absolute;
    z-index: 100;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, calc(100vw - 32px));
    max-height: min(72vh, 590px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px;
    border: 1px solid #d6e0e5;
    border-top: 3px solid var(--gold);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 20px 48px rgba(4, 20, 29, .28);
  }
  .mobile-nav-panel p {
    margin: 12px 8px 5px;
    color: #7b5d12;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .mobile-nav-panel a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 10px;
    border-radius: 7px;
    font-size: .91rem;
    font-weight: 700;
    line-height: 1.25;
  }
  .mobile-nav-panel a:hover,
  .mobile-nav-panel a.current { background: var(--soft-blue); color: var(--navy); }
  .mobile-nav-panel a.current { box-shadow: inset 3px 0 var(--gold); }

  .mobile-join {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 9px;
    background: var(--gold);
    color: var(--navy-2);
    font-size: .84rem;
    font-weight: 900;
  }

  .topline {
    min-height: 29px;
    padding: 5px 16px;
    font-size: .68rem;
    line-height: 1.35;
  }

  /* Hero: content first on mobile; the large duplicate logo is removed. */
  .hero-inner {
    display: block;
    padding: 46px 20px 48px;
  }
  .hero-mark { display: none; }
  .hero h1 {
    max-width: 10ch;
    margin-bottom: 20px;
    font-size: clamp(2.65rem, 12.5vw, 3.65rem);
    line-height: .98;
    letter-spacing: -.04em;
  }
  .hero .eyebrow { margin-bottom: 14px; font-size: .67rem; letter-spacing: .15em; }
  .hero-text { max-width: 34rem; font-size: 1rem; line-height: 1.7; }
  .hero-signature { margin-top: 23px; font-size: .94rem; }
  .hero-proof { margin-top: 24px; }

  .page-heading { padding-top: 30px; padding-bottom: 28px; }
  .breadcrumb { margin-bottom: 21px; }
  .page-heading h1 { font-size: clamp(2.15rem, 9.4vw, 3rem); overflow-wrap: anywhere; }
  .page-subtitle { font-size: 1rem; line-height: 1.65; }
  .article-layout { padding-top: 27px; gap: 27px; }
  .sidebar { display: none; }

  .home-intro { padding: 52px 0; }
  .section-head { padding-top: 35px; }
  .resource-card { padding: 24px 21px; }
  .song-link { min-height: 56px; }
  .footer-main { gap: 24px 34px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; line-height: 1.68; }
  .wrap { width: calc(100% - 32px); }
  .topline span:last-child { white-space: normal; }
  .brand img { width: 38px; height: 38px; flex-basis: 38px; }
  .brand-name { font-size: .96rem; letter-spacing: .035em; }
  .mobile-nav > summary { padding-inline: 10px; }
  .mobile-join { padding-inline: 10px; }

  .hero-inner { padding: 38px 16px 42px; }
  .hero h1 { font-size: clamp(2.62rem, 13.4vw, 3.35rem); }
  .actions { grid-template-columns: 1fr; gap: 9px; }
  .button { width: 100%; min-height: 50px; }
  .hero-proof { grid-template-columns: 1fr 1fr; font-size: .74rem; }
  .hero-proof span:last-child { grid-column: 1 / -1; }

  .home-intro-grid { gap: 22px; }
  .home-intro h2, .section-head h2 { font-size: 2rem; }
  .resource-card h3 { font-size: 1.7rem; }
  .song-inner { padding-top: 40px; padding-bottom: 40px; }
  .song-link { padding: 16px 0; font-size: 1.42rem; }

  .article { font-size: 1rem; line-height: 1.72; }
  .article-lead { font-size: 1.15rem; line-height: 1.58; }
  .article h2 { margin-top: 39px; font-size: 1.65rem; }
  .highlight-band, .notice, .contact-box, .source-box { padding: 20px 18px; }
  .feature, .member-card, .note-card { padding: 19px 18px; }
  .step { padding: 19px 17px 19px 61px; }
  .step::before { left: 15px; }
  .bird-story { padding: 21px 18px; }

  .site-footer { padding: 40px 16px 20px; }
  .footer-brand-name { font-size: 2rem; }
  .footer-main { grid-template-columns: 1fr; gap: 22px; }
  .footer-main > div:not(.footer-brand) { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 370px) {
  .brand-copy { display: none; }
  .mobile-nav-wrap { gap: 6px; }
  .mobile-nav > summary, .mobile-join { font-size: .8rem; padding-inline: 9px; }
}

/* Cartes photo — canaris de chant en cage de concours */
.bird-portrait { overflow: hidden; border: 1px solid #dce4e8; background: #fff; }
.bird-portrait img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: center; display: block; }
.bird-portrait figcaption.bird-label {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; min-height: 76px; padding: 13px 16px; margin: 0;
  background: linear-gradient(180deg,#102d3d 0%,#0b2635 100%);
  border-top: 2px solid var(--gold); text-align: center; color: #fff;
}
.bird-portrait figcaption.bird-label strong {
  color: #fff; font: 800 1.05rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; letter-spacing: .01em;
}
.bird-portrait figcaption.bird-label span {
  color: #b9c9d0; font: 700 .68rem/1.3 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase;
}
.bird-portrait-malinois img, .bird-portrait-timbrado img, .bird-portrait-cantor img { object-position: center; }
@media (max-width: 700px) {
  .bird-portrait figcaption.bird-label { min-height: 68px; padding: 11px 12px; }
  .bird-portrait figcaption.bird-label strong { font-size: .98rem; }
  .bird-portrait figcaption.bird-label span { font-size: .62rem; letter-spacing: .12em; }
}

/* Page 404 */
.article-layout-error { grid-template-columns: minmax(0, 760px); justify-content: center; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Boutons utilitaires */
.button-primary { background: var(--gold); color: var(--navy-2); }
.button-primary:hover { background: #ffd25e; }
.button-secondary { background: var(--navy); color: #fff; border-color: var(--navy); }
.button-secondary:hover { background: var(--navy-3); border-color: var(--navy-3); }
.error-actions .button.secondary { background: var(--soft-blue); color: var(--navy); border-color: var(--line); }
.error-actions .button.secondary:hover { background: #e3edf2; }

/* Carte de téléchargement / référence externe */
.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 24px 0 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--soft);
}
.download-card strong { display: block; margin-top: 5px; color: var(--navy); font-size: 1.05rem; }
.download-card p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
.download-label { color: #75550c; font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.download-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.download-actions .button { min-height: 44px; padding: 10px 15px; font-size: .8rem; }
@media (max-width: 760px) {
  .download-card { grid-template-columns: 1fr; padding: 20px; }
  .download-actions { justify-content: stretch; }
  .download-actions .button { width: 100%; }
}

/* 3.0.1 — Navigation mobile simplifiée et légendes pédagogiques */
@media (max-width: 1024px) {
  .site-header { position: sticky; top: 0; z-index: 1000; }
  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
  }
  .main-nav { display: none !important; }
  .mobile-nav-wrap {
    display: flex !important;
    align-items: center;
    margin-left: auto;
  }
  .mobile-nav { position: static; }
  .mobile-nav > summary {
    min-width: 48px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    color: #fff;
    font-size: .9rem;
    font-weight: 850;
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav-panel {
    position: absolute;
    z-index: 1010;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    width: auto;
    max-height: calc(100vh - 138px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px;
    border: 1px solid #d6e0e5;
    border-top: 4px solid var(--gold);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 22px 55px rgba(4,20,29,.30);
  }
  .mobile-nav-panel p {
    margin: 11px 10px 5px;
    color: #806111;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .mobile-nav-panel a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--ink);
    font-size: .96rem;
    font-weight: 750;
    line-height: 1.25;
  }
  .mobile-nav-panel a + a { margin-top: 2px; }
  .mobile-nav-panel a:hover,
  .mobile-nav-panel a.current { background: var(--soft-blue); color: var(--navy); }
  .mobile-nav-panel a.current { box-shadow: inset 3px 0 var(--gold); }
  .mobile-nav-panel .mobile-nav-join {
    margin-top: 10px;
    justify-content: center;
    background: var(--gold);
    color: var(--navy-2);
    box-shadow: none;
    font-weight: 900;
  }
  .mobile-nav-panel .mobile-nav-join:hover,
  .mobile-nav-panel .mobile-nav-join.current { background: #ffd25e; color: var(--navy-2); }
  .mobile-join { display: none !important; }
}

@media (max-width: 520px) {
  .header-inner { padding: 9px 14px; }
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; flex: 0 0 40px; }
  .brand-name { font-size: 1rem; }
  .mobile-nav > summary { min-width: 46px; padding: 8px 11px; }
  .mobile-nav-panel { left: 12px; right: 12px; top: calc(100% + 6px); }
}

/* Le nom de la spécialité reste dans un cartouche de concours ; la description revient dessous. */
.bird-portrait figcaption.bird-label {
  display: block;
  min-height: 0;
  padding: 0;
  background: #f4f7f8;
  border-top: 0;
  text-align: left;
  color: var(--ink);
}
.bird-label-main {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 13px 16px;
  background: linear-gradient(180deg,#102d3d 0%,#0b2635 100%);
  border-top: 2px solid var(--gold);
  text-align: center;
}
.bird-portrait figcaption.bird-label .bird-label-main strong {
  color: #fff;
  font: 800 1.05rem/1.2 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  letter-spacing: .01em;
}
.bird-portrait figcaption.bird-label .bird-label-main > span {
  color: #b9c9d0;
  font: 700 .68rem/1.3 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.bird-caption {
  display: block;
  padding: 11px 13px 12px;
  border-top: 1px solid #d7e2e7;
  background: #f4f7f8;
  color: #657982;
  font-size: .72rem;
  line-height: 1.48;
}
@media (max-width: 700px) {
  .bird-label-main { min-height: 68px; padding: 11px 12px; }
  .bird-portrait figcaption.bird-label .bird-label-main strong { font-size: .98rem; }
  .bird-portrait figcaption.bird-label .bird-label-main > span { font-size: .62rem; letter-spacing: .12em; }
  .bird-caption { font-size: .74rem; }
}

/* 3.0.2 — Uniformisation du fond des cartes canaris */
.bird-portrait {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  background: #f4f7f8;
}
.bird-portrait figcaption.bird-label {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  background: #f4f7f8;
}
.bird-caption {
  flex: 1 1 auto;
  background: #f4f7f8;
}

/* 3.0.4 — Menus desktop exclusifs et hiérarchie visuelle */
@media (min-width: 1025px) {
  .navgroup[open] { z-index: 30; }
  .navgroup[open] > summary {
    background: rgba(255,255,255,.08);
  }
  .navgroup > div {
    margin-top: 2px;
  }
}


/* 3.1.0 — Actualités & concours */
.home-news { padding: 0 0 70px; }
.home-news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  padding: 34px 36px;
  background: var(--soft-blue);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
}
.home-news-card .eyebrow { margin-bottom: 8px; }
.home-news-card h2 { margin-bottom: 12px; font-size: clamp(1.9rem, 3vw, 2.55rem); }
.home-news-card p:last-child { margin-bottom: 0; color: var(--muted); max-width: 760px; }
.news-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  white-space: nowrap;
}
.news-button:hover { background: var(--navy-3); }
.news-feature {
  margin: 0 0 36px;
  padding: 28px 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
}
.news-feature-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 16px;
}
.news-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.news-feature time { color: var(--muted); font-size: .84rem; font-weight: 700; }
.news-feature h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.news-feature p:last-child { margin-bottom: 0; }
.agenda-empty {
  margin: 24px 0 34px;
  padding: 24px 26px;
  border: 1px dashed #aebdc5;
  background: #fbfcfc;
}
.agenda-empty strong { display: block; margin-bottom: 7px; color: var(--navy); font-size: 1.05rem; }
.agenda-empty p { margin: 0; color: var(--muted); }
@media (max-width: 760px) {
  .home-news { padding-bottom: 52px; }
  .home-news-card { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
  .home-news-card .news-button { width: 100%; }
  .news-feature { padding: 23px 20px; }
  .agenda-empty { padding: 21px 19px; }
}

/* 3.2.0 — Archives concours & palmarès historiques */
.archive-section { scroll-margin-top: 110px; }
.archive-intro {
  margin: 20px 0 22px;
  padding: 22px 24px;
  background: var(--soft-blue);
  border-left: 4px solid var(--gold);
}
.archive-intro p { margin: 0; color: var(--muted); }
.archive-intro p + p { margin-top: 8px; }
.archive-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 24px;
}
.archive-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
}
.archive-nav a:hover { border-color: var(--gold); background: #fffaf0; }
.archive-season {
  margin: 0 0 16px;
  border: 1px solid var(--line);
  background: #fff;
  scroll-margin-top: 100px;
}
.archive-season > summary {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto 22px;
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  background: var(--navy);
  color: #fff;
}
.archive-season > summary::-webkit-details-marker,
.result-event > summary::-webkit-details-marker { display: none; }
.archive-season-year {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .01em;
}
.archive-season-count { color: #c9d7dd; font-size: .79rem; font-weight: 750; }
.archive-season-toggle,
.result-toggle { width: 18px; height: 18px; position: relative; display: block; }
.archive-season-toggle::before,
.archive-season-toggle::after,
.result-toggle::before,
.result-toggle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%,-50%);
  background: currentColor;
  border-radius: 1px;
}
.archive-season-toggle::before,
.result-toggle::before { width: 14px; height: 2px; }
.archive-season-toggle::after,
.result-toggle::after { width: 2px; height: 14px; transition: opacity .15s ease; }
.archive-season[open] > summary .archive-season-toggle::after,
.result-event[open] > summary .result-toggle::after { opacity: 0; }
.archive-season-body { padding: 14px; background: #f6f8f9; }
.result-event {
  margin: 0 0 10px;
  border: 1px solid #d7e0e4;
  background: #fff;
}
.result-event:last-child { margin-bottom: 0; }
.result-event > summary {
  display: grid;
  grid-template-columns: 154px minmax(0,1fr) 22px;
  gap: 15px;
  align-items: center;
  padding: 15px 17px;
  list-style: none;
  cursor: pointer;
  color: var(--navy);
}
.result-event > summary:hover { background: #fbfcfc; }
.result-date {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.35;
}
.result-title-wrap { display: flex; align-items: center; gap: 9px; min-width: 0; }
.result-title-wrap strong { font-size: .94rem; line-height: 1.35; }
.result-toggle { color: #69808c; }
.result-event--afecc { border-color: #d9b14d; box-shadow: inset 4px 0 var(--gold); }
.result-event--afecc > summary { background: #fffaf0; }
.result-org-badge {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-2);
  font-size: .58rem;
  font-weight: 950;
  letter-spacing: .08em;
}
.result-event-body { padding: 5px 17px 18px; border-top: 1px solid #edf1f2; }
.result-judge { margin: 12px 0 14px; color: var(--muted); font-size: .82rem; }
.result-judge strong { color: var(--navy); }
.result-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.result-block {
  padding: 14px 15px;
  border: 1px solid #e0e7ea;
  background: #fbfcfc;
}
.result-block h4 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.result-block ol { margin: 0; padding-left: 22px; }
.result-block li {
  padding: 3px 0 3px 3px;
  color: var(--ink);
  font-size: .79rem;
  line-height: 1.4;
}
.result-block li::marker { color: #8ca0aa; font-weight: 800; }
.result-block li span { margin-right: 8px; }
.result-block li strong { color: var(--navy); font-size: .75rem; white-space: nowrap; }
.result-subsection { margin-top: 16px; }
.result-subsection > h3 {
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--gold);
  color: var(--navy);
  font-size: .96rem;
}
.result-best {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: baseline;
  margin: 13px 0 0;
  padding: 10px 12px;
  background: #fff8e4;
  border-left: 3px solid var(--gold);
}
.result-best span {
  color: #8a6a12;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.result-best strong { color: var(--navy); font-size: .82rem; }
.archive-note { margin: 12px 0 0; color: var(--muted); font-size: .74rem; font-style: italic; }
.archive-source-note {
  margin-top: 24px;
  padding: 19px 21px;
  border: 1px solid var(--line);
  background: #fbfcfc;
}
.archive-source-note strong { display: block; margin-bottom: 6px; color: var(--navy); }
.archive-source-note p { margin: 0; color: var(--muted); font-size: .82rem; }

@media (max-width: 760px) {
  .archive-intro { padding: 19px 18px; }
  .archive-nav { gap: 7px; }
  .archive-nav a { flex: 1 1 calc(50% - 7px); justify-content: center; }
  .archive-season > summary {
    grid-template-columns: minmax(0,1fr) 20px;
    gap: 5px 10px;
    padding: 17px 16px;
  }
  .archive-season-count { grid-column: 1; grid-row: 2; }
  .archive-season-toggle { grid-column: 2; grid-row: 1 / span 2; }
  .archive-season-body { padding: 9px; }
  .result-event > summary {
    grid-template-columns: minmax(0,1fr) 20px;
    gap: 5px 10px;
    padding: 14px 13px;
  }
  .result-date { grid-column: 1; grid-row: 1; }
  .result-title-wrap { grid-column: 1; grid-row: 2; align-items: flex-start; flex-wrap: wrap; }
  .result-toggle { grid-column: 2; grid-row: 1 / span 2; }
  .result-event-body { padding: 4px 12px 14px; }
  .result-grid { grid-template-columns: 1fr; gap: 8px; }
  .result-block { padding: 12px; }
  .result-best { align-items: flex-start; flex-direction: column; gap: 3px; }
}

/* Contact sécurisé */
.contact-intro {
  margin-bottom: 24px;
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
}
.contact-intro h2 { margin-bottom: 8px; font-size: 1.7rem; }
.contact-intro p { margin: 0; color: var(--muted); }
.contact-form {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-field { display: grid; gap: 7px; }
.contact-field label {
  color: var(--navy);
  font-size: .86rem;
  font-weight: 800;
}
.contact-field label span { color: #a13a24; }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid #bfcdd4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  padding: 12px 13px;
}
.contact-field textarea { resize: vertical; min-height: 170px; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 3px solid rgba(246, 189, 36, .32);
  border-color: #b08100;
}
.contact-field small { color: var(--muted); font-size: .75rem; }
.contact-privacy {
  padding: 14px 16px;
  border: 1px solid #d9e3e7;
  background: #f8fafb;
}
.contact-privacy strong { color: var(--navy); font-size: .82rem; }
.contact-privacy p { margin: 4px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.contact-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.contact-alert {
  margin: 18px 0;
  padding: 17px 19px;
  border: 1px solid;
  border-radius: 9px;
}
.contact-alert strong { display: block; margin-bottom: 4px; }
.contact-alert p, .contact-alert ul { margin: 4px 0 0; }
.contact-alert--success { border-color: #b9d8c9; background: #f0f8f4; color: #214f3c; }
.contact-alert--error { border-color: #e0b7ad; background: #fff5f2; color: #7f2e1e; }
.contact-alert--error ul { padding-left: 20px; }
.contact-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 700px) {
  .contact-form { padding: 20px 17px; }
  .contact-grid { grid-template-columns: 1fr; }
}
