:root {
  --bg: #f6f2ea;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #213547;
  --muted: #556678;
  --primary: #b54a3a;
  --primary-dark: #8d3529;
  --secondary: #145e63;
  --accent: #d9a441;
  --border: rgba(33, 53, 71, 0.12);
  --shadow: 0 24px 60px rgba(20, 30, 45, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: min(1120px, calc(100% - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "Trebuchet MS", Verdana, sans-serif;
  line-height: 1.7;
  background:
    linear-gradient(180deg, rgba(244, 238, 228, 0.86) 0%, rgba(248, 246, 241, 0.74) 40%, rgba(238, 243, 245, 0.84) 100%),
    radial-gradient(circle at top left, rgba(217, 164, 65, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(20, 94, 99, 0.22), transparent 24%),
    url("Images/fond_turquoise.png");
  background-attachment: fixed;
  background-size: auto, auto, auto, cover;
  background-position: center, top left, top right, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--primary);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  z-index: 1000;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(33, 53, 71, 0.18);
}

img,
iframe,
audio {
  max-width: 100%;
}

p {
  margin: 0 0 1rem;
}

#general {
  width: var(--content-width);
  margin: 24px auto 48px;
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

#entete {
  position: relative;
  min-height: 0;
  padding: 0;
  display: block;
  background: none;
}

#entete::before,
#entete::after {
  content: none;
}

#entete img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
}

#menu_1,
#menu_2 {
  padding: 0 24px;
}

#menu_1 ul,
#menu_2 ul {
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#menu_1 li,
#menu_2 li,
.menu2_li_5choix,
.menu2_li_4choix,
.menu2_li_2choix {
  width: auto;
  float: none;
  flex: 1 1 140px;
}

#menu_1 a,
#menu_2 a {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-weight: 700;
  color: var(--text);
}

#menu_1 a:hover,
#menu_2 a:hover,
#menu_1 a:focus-visible,
#menu_2 a:focus-visible {
  transform: translateY(-1px);
  background: #fff;
}

.menu1_a_select,
.menu2_a_select {
  background: linear-gradient(135deg, var(--primary), #cf7255);
  border-color: transparent;
  color: #3dddbb !important;
  box-shadow: 0 12px 24px rgba(181, 74, 58, 0.25);
}

.menu1_a_non_select,
.menu2_a_non_select {
  border-color: rgba(20, 94, 99, 0.14);
}

#fin_float {
  clear: both;
}

#contenu {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 28px 24px 40px;
  text-align: left;
}

#TitrePage {
  height: auto;
  padding: 8px 0 20px;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #4169e1;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  color: var(--secondary);
}

h3 {
  font-size: 1rem;
  color: var(--text);
}

#contenu > table,
.Section_centre_sansdecalage > table,
.Section table,
table {
  width: 100% !important;
  border-collapse: collapse;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(33, 53, 71, 0.08);
}

td,
th {
  padding: 14px 16px;
  border: 1px solid var(--border);
  vertical-align: top;
}

tr:first-child td,
tr:first-child th {
  background: rgba(20, 94, 99, 0.08);
}

.Section,
.Section_centre_sansdecalage,
#Presse_Article,
#Presse_Infos_Article {
  margin: 0 0 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  text-align: left;
  text-indent: 0;
}

.Section_centre_sansdecalage {
  text-align: center;
}

.Section img,
td img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(20, 94, 99, 0.08), rgba(217, 164, 65, 0.08));
}

iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(33, 53, 71, 0.08);
  background: #fff;
}

audio {
  width: 100%;
}

.BleuMarineGras {
  color: var(--secondary);
  font-weight: 700;
}

.agenda_prive {
  background-color: rgba(217, 164, 65, 0.18);
}

.agenda_public {
  background-color: rgba(20, 94, 99, 0.1);
}

#piedpage {
  padding: 0 24px 28px;
}

#piedpage p {
  margin: 0;
  padding: 18px 24px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.hero-card,
.notice-card,
.grid-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(33, 53, 71, 0.07);
}

.page-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(181, 74, 58, 0.1);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.avis-cta {
  min-width: 220px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 28px rgba(181, 74, 58, 0.22);
}

.avis-cta:hover,
.avis-cta:focus-visible {
  color: #fff7f2 !important;
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #cf7255);
  color: #fff7f2 !important;
}

.button-secondary {
    background: #fff;
    color: #34495e;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.button-secondary:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.button-secondary:active {
    transform: scale(0.98);
}

@media (max-width: 820px) {
  #general {
    width: min(100% - 20px, 1120px);
    margin: 10px auto 24px;
    border-radius: 22px;
  }

  #entete {
    min-height: 0;
    padding: 0;
  }

  #menu_1,
  #menu_2,
  #contenu,
  #piedpage {
    padding-left: 16px;
    padding-right: 16px;
  }

  td,
  th {
    padding: 10px;
    font-size: 0.94rem;
  }
}

@media (max-width: 640px) {
  #menu_1 li,
  #menu_2 li,
  .menu2_li_5choix,
  .menu2_li_4choix,
  .menu2_li_2choix {
    flex: 1 1 100%;
  }


  #contenu {
    padding-top: 20px;
  }

  .Section,
  .Section_centre_sansdecalage,
  #Presse_Article,
  #Presse_Infos_Article,
  .hero-card,
  .notice-card,
  .grid-card {
    padding: 18px;
  }
}



body.index-page #contenu a,
body.index-page #contenu a:visited {
  color: #1b8f3a;
}

body.index-page #contenu a:hover,
body.index-page #contenu a:focus-visible {
  color: #146d2c;
}

.press-year {
  margin-top: 22px;
}

.press-year table {
  margin: 0 auto;
}

.press-year th {
  white-space: nowrap;
}

.press-year a {
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.agenda-layout,
.avis-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.agenda-panel,
.review-panel {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(33, 53, 71, 0.07);
}

.agenda-panel h2,
.review-panel h2 {
  margin-top: 0;
}

.agenda-list,
.review-list {
  display: grid;
  gap: 12px;
}

.agenda-event,
.review-card {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
}

.review-card-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.review-card-actions a,
.detail-actions a,
.detail-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.agenda-event[data-status="past"] {
  background: rgba(20, 94, 99, 0.08);
}

.agenda-event[data-status="upcoming"] {
  background: rgba(217, 164, 65, 0.12);
}

.event-meta,
.review-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 94, 99, 0.1);
  color: var(--secondary);
  font-size: 0.84rem;
  font-weight: 700;
}

.review-form,
.agenda-form {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.review-form label,
.agenda-form label {
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
.review-form input,
.review-form select,
.review-form textarea,
.agenda-form input,
.agenda-form select,
.agenda-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(33, 53, 71, 0.16);
  border-radius: 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.field textarea,
.review-form textarea,
.agenda-form textarea {
  min-height: 120px;
  resize: vertical;
}

.star-rating,
.star-picker {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.star-picker {
  align-items: center;
}

.star-rating {
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-rating label {
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(20, 94, 99, 0.22);
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #d9a441;
  transform: translateY(-1px);
}

.star-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(20, 94, 99, 0.22);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-button:hover,
.star-button.is-active {
  color: #d9a441;
  transform: translateY(-1px);
}

.review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.summary-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(20, 94, 99, 0.1);
  font-weight: 700;
}

.empty-state {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  border: 1px dashed rgba(33, 53, 71, 0.18);
}

.empty-state[data-kind="success"] {
  background: rgba(20, 94, 99, 0.08);
  color: var(--secondary);
  border-style: solid;
}

.empty-state[data-kind="error"] {
  background: rgba(181, 74, 58, 0.08);
  color: var(--primary-dark);
  border-style: solid;
}

.review-stars {
  color: #d9a441;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.review-card-link {
  background: linear-gradient(135deg, var(--secondary), #0e4a4f);
  color: #f6fffe !important;
  box-shadow: 0 12px 24px rgba(20, 94, 99, 0.2);
}

.review-card-link:hover,
.review-card-link:focus-visible {
  color: #f6fffe !important;
  transform: translateY(-1px);
}

.review-card-link,
.detail-back,
.detail-actions button,
.button-primary,
.button-secondary {
  text-decoration: none;
}

#latest-event-banner {
  margin: 0 0 20px;
  border-left: 6px solid var(--secondary);
  background:
    linear-gradient(135deg, rgba(20, 94, 99, 0.08), rgba(255, 255, 255, 0.92));
}

#latest-event-banner h2 {
  margin-top: 0;
}

#latest-event-banner .review-card-actions {
  margin-top: 16px;
}

.detail-page #general {
  max-width: min(960px, calc(100% - 32px));
}

.detail-shell {
  display: grid;
  gap: 18px;
}

.detail-hero {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(20, 94, 99, 0.96), rgba(16, 74, 78, 0.94)),
    radial-gradient(circle at top right, rgba(217, 164, 65, 0.24), transparent 30%);
  color: #f7fbfb;
  box-shadow: var(--shadow);
}

.detail-hero h1 {
  color: #f7fbfb;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f7fbfb !important;
  font-weight: 700;
}

.detail-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 42px rgba(33, 53, 71, 0.08);
}

.detail-meta {
  color: rgba(247, 251, 251, 0.9);
}

.detail-form {
  display: grid;
  gap: 14px;
}

.detail-stars {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.detail-preview {
  margin-top: 6px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(20, 94, 99, 0.08);
  border: 1px solid rgba(20, 94, 99, 0.12);
}

.detail-preview .review-stars {
  margin-bottom: 8px;
}

.detail-status {
  min-height: 1.4em;
  color: var(--secondary);
  font-weight: 700;
}

.choral-gif {
  display: block;
  width: 100px;
  height: 120px;
  margin: 0 auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
}

body.press-page #general {
  background: rgba(255, 255, 255, 0.84);
}

body.press-page .year-index {
  margin: 0 auto;
}

body.press-page .year-index td,
body.press-page .year-index th {
  text-align: center;
  white-space: nowrap;
}

body.press-article-page #general {
  background: rgba(255, 255, 255, 0.88);
}

body.press-article-page .back-link {
  margin: 0 0 16px;
}

body.press-article-page .back-link a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 94, 99, 0.1);
  font-weight: 700;
}

body.press-article-page #Presse_Infos_Article,
body.press-article-page #Presse_Article {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
