/* Refonte Tinchebray Cyclo — accueil */
:root {
  --tc-yellow: #FFD700;
  --tc-green: #49594C;
  --tc-green-dark: #25352D;
  --tc-ink: #1E1E1E;
  --tc-paper: #FAF9F6;
  --tc-muted: #68716A;
  --tc-line: #E5E5DF;
  --tc-white: #FFFFFF;
  --tc-radius: 22px;
  --tc-shadow: 0 18px 50px rgba(27, 38, 31, .12);
  --tc-width: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body.tc-home {
  margin: 0; color: var(--tc-ink); background: var(--tc-paper);
  font-family: Inter, Arial, sans-serif; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.tc-home img { display: block; max-width: 100%; }
.tc-home a { color: inherit; text-decoration: none; }
.tc-home button { font: inherit; }
.tc-container { width: min(var(--tc-width), calc(100% - 44px)); margin-inline: auto; }
.tc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--tc-green); font-size: .77rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.tc-eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--tc-yellow); border-radius: 8px; }
.tc-section { padding: 92px 0; }
.tc-section--white { background: var(--tc-white); }
.tc-section--green { background: var(--tc-green-dark); color: var(--tc-white); }
.tc-section-heading {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 36px;
}
.tc-section-heading h2 {
  margin: 10px 0 0; max-width: 690px; font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08; letter-spacing: -.045em;
}
.tc-section-heading p { max-width: 430px; margin: 0; color: var(--tc-muted); }
.tc-section--green .tc-section-heading p { color: rgba(255,255,255,.72); }
.tc-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  min-height: 50px; padding: 13px 22px; border: 1px solid transparent;
  border-radius: 999px; background: var(--tc-yellow); color: var(--tc-ink);
  font-size: .9rem; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.tc-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.15); background: #FFE34A; }
.tc-button--light { background: var(--tc-white); }
.tc-button--outline { border-color: rgba(255,255,255,.45); color: var(--tc-white); background: transparent; }
.tc-button--outline:hover { background: rgba(255,255,255,.1); }
.tc-arrow { font-size: 1.1rem; line-height: 1; }

/* Navigation */
.tc-header {
  position: sticky; top: 0; z-index: 100; background: rgba(250,249,246,.94);
  border-bottom: 1px solid rgba(30,30,30,.08); backdrop-filter: blur(14px);
}
.tc-header-inner { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.tc-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.tc-brand img { width: 52px; height: 52px; object-fit: contain; }
.tc-brand-name { display: grid; line-height: 1.02; font-size: 1.05rem; font-weight: 900; letter-spacing: -.035em; text-transform: uppercase; }
.tc-brand-name span:last-child { color: var(--tc-green); }
.tc-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 31px); }
.tc-nav a:not(.tc-button) { color: #333A35; font-size: .88rem; font-weight: 700; transition: color .2s ease; }
.tc-nav a:not(.tc-button):hover { color: #7A6500; }
.tc-menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--tc-line); border-radius: 50%; background: var(--tc-white); cursor: pointer; }
.tc-menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--tc-ink); transition: transform .2s ease; }
.tc-mobile-nav { display: none; }

/* Hero */
.tc-hero {
  position: relative; min-height: min(690px, calc(100svh - 82px)); display: flex; align-items: center;
  overflow: hidden; color: var(--tc-white); background: var(--tc-green-dark) var(--tc-home-hero-image, none) center 47% / cover no-repeat;
}
.tc-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,26,20,.88) 0%, rgba(15,26,20,.68) 43%, rgba(15,26,20,.18) 100%);
}
.tc-hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 105px;
  background: linear-gradient(180deg, transparent, rgba(14,24,18,.28));
}
.tc-hero-content { position: relative; z-index: 1; width: min(760px, 100%); padding: 100px 0 120px; }
.tc-hero-kicker {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  padding: 8px 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px;
  background: rgba(255,255,255,.1); color: #fff; font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(7px);
}
.tc-hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tc-yellow); }
.tc-hero h1 {
  max-width: 760px; margin: 0; font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: .99; letter-spacing: -.065em; font-weight: 900;
}
.tc-hero h1 em { color: var(--tc-yellow); font-style: normal; }
.tc-hero-copy { max-width: 590px; margin: 25px 0 30px; color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.5vw, 1.16rem); }
.tc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tc-hero-note { display: flex; align-items: center; gap: 13px; margin-top: 42px; color: rgba(255,255,255,.76); font-size: .83rem; }
.tc-hero-note strong { color: var(--tc-white); }
.tc-hero-note-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--tc-yellow); color: var(--tc-ink); font-weight: 900; }

/* Bandeau repères */
.tc-highlights { position: relative; z-index: 2; margin-top: -1px; background: var(--tc-green-dark); color: var(--tc-white); }
.tc-highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.tc-highlight { display: flex; align-items: center; gap: 15px; padding: 27px 28px; border-right: 1px solid rgba(255,255,255,.16); }
.tc-highlight:first-child { padding-left: 0; }
.tc-highlight:last-child { border: 0; }
.tc-highlight-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,215,0,.14); color: var(--tc-yellow); font-size: 1.2rem; }
.tc-highlight-icon svg { display: block; width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tc-highlight strong { display: block; font-size: .97rem; }
.tc-highlight span:last-child { display: block; margin-top: 2px; color: rgba(255,255,255,.65); font-size: .78rem; }

/* Activités */
.tc-practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; gap: 20px; }
.tc-practices-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 850px; }
.tc-practice-card { position: relative; min-height: 360px; overflow: hidden; border-radius: var(--tc-radius); background: var(--tc-green); color: var(--tc-white); isolation: isolate; }
.tc-practice-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; z-index: -2; }
.tc-practice-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.02) 10%, rgba(0,0,0,.76) 100%); }
.tc-practice-content { position: absolute; inset: auto 25px 24px; }
.tc-practice-label { color: var(--tc-yellow); font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.tc-practice-content h3 { margin: 7px 0 7px; font-size: 1.8rem; letter-spacing: -.04em; }
.tc-practice-content p { max-width: 290px; margin: 0; color: rgba(255,255,255,.82); font-size: .9rem; }
.tc-practice-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 17px; color: var(--tc-white); font-size: .84rem; font-weight: 800; }

/* Club */
.tc-club-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 90px); }
.tc-club-photo { position: relative; min-height: 460px; }
.tc-club-photo img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--tc-radius); box-shadow: var(--tc-shadow); }
.tc-photo-tag { position: absolute; right: -18px; bottom: 25px; padding: 17px 21px; border-radius: 16px; background: var(--tc-yellow); color: var(--tc-ink); font-weight: 900; box-shadow: var(--tc-shadow); }
.tc-photo-tag strong { display: block; font-size: 1.65rem; line-height: 1; }
.tc-photo-tag span { font-size: .75rem; }
.tc-club-copy h2 { margin: 12px 0 20px; font-size: clamp(2.2rem, 4vw, 3.55rem); line-height: 1.04; letter-spacing: -.055em; }
.tc-club-copy p { margin: 0 0 16px; color: var(--tc-muted); }
.tc-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 25px 0 30px; padding: 0; list-style: none; }
.tc-checks li { display: flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 700; }
.tc-checks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: rgba(73,89,76,.12); color: var(--tc-green); font-weight: 900; }

/* Événements */
.tc-section--green .tc-eyebrow { color: var(--tc-yellow); }
.tc-event-card { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); align-items: stretch; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: var(--tc-radius); background: rgba(255,255,255,.06); box-shadow: 0 12px 35px rgba(0,0,0,.12); }
.tc-event-media { min-height: 330px; background: #fff; }
.tc-event-media img { display: block; width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.tc-event-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(24px, 4vw, 46px); color: var(--tc-white); background: var(--tc-green); }
.tc-event-date { margin-bottom: 10px; color: var(--tc-yellow); font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tc-event-body h3 { margin: 0 0 13px; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.08; letter-spacing: -.045em; color: var(--tc-white); }
.tc-event-body p { margin: 0 0 20px; max-width: 500px; color: rgba(255,255,255,.82); white-space: pre-line; }
.tc-event-home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.tc-event-home-actions .tc-button { background: var(--tc-yellow); color: var(--tc-ink); }
.tc-event-quiet-link { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.9); font-size: .86rem; font-weight: 800; }
.tc-event-quiet-link:hover { color: var(--tc-yellow); text-decoration: underline; }
.tc-empty-event { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 240px; padding: 35px; border: 1px dashed rgba(255,255,255,.3); border-radius: var(--tc-radius); }
.tc-empty-event h3 { margin: 0 0 8px; font-size: 1.7rem; }
.tc-empty-event p { margin: 0 0 20px; color: rgba(255,255,255,.72); }

/* Actualités */
.tc-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tc-news-card { overflow: hidden; border: 1px solid var(--tc-line); border-radius: 18px; background: var(--tc-white); transition: transform .2s ease, box-shadow .2s ease; }
.tc-news-card:hover { transform: translateY(-4px); box-shadow: var(--tc-shadow); }
.tc-news-card img { width: 100%; height: 210px; object-fit: cover; background: #e7e8e2; }
.tc-news-content { padding: 21px; }
.tc-news-date { margin: 0 0 8px; color: var(--tc-green); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tc-news-content h3 { margin: 0 0 10px; font-size: 1.17rem; line-height: 1.25; letter-spacing: -.025em; }
.tc-news-content p { margin: 0; color: var(--tc-muted); font-size: .87rem; }
.tc-news-more { display: inline-block; margin-top: 17px; color: var(--tc-green); font-size: .84rem; font-weight: 800; }
.tc-news-empty { grid-column: 1 / -1; padding: 30px; border: 1px dashed var(--tc-line); border-radius: 16px; color: var(--tc-muted); text-align: center; }

/* Adhésion */
.tc-join { position: relative; overflow: hidden; padding: 72px 0; background: var(--tc-yellow); }
.tc-join::after { content: "TC"; position: absolute; right: clamp(16px, 4vw, 48px); top: 50%; transform: translateY(-50%); z-index: 0; color: rgba(30,30,30,.055); font-size: clamp(5rem, 18vw, 15rem); line-height: .9; font-weight: 900; letter-spacing: -.09em; white-space: nowrap; pointer-events: none; }
.tc-join-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.tc-join h2 { max-width: 700px; margin: 9px 0 10px; font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1.03; letter-spacing: -.055em; }
.tc-join p { max-width: 620px; margin: 0; color: rgba(30,30,30,.75); }
.tc-join .tc-eyebrow { color: var(--tc-ink); }
.tc-join .tc-eyebrow::before { background: var(--tc-green); }
.tc-join .tc-button { flex: 0 0 auto; background: var(--tc-green-dark); color: var(--tc-white); }

/* Footer */
.tc-footer { padding: 55px 0 22px; background: #1D2922; color: var(--tc-white); }
.tc-footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 42px; }
.tc-footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.tc-footer-brand img { width: 55px; height: 55px; object-fit: contain; }
.tc-footer-brand strong { display: block; font-size: 1.1rem; line-height: 1.05; text-transform: uppercase; }
.tc-footer-brand span { display: block; color: var(--tc-yellow); }
.tc-footer p { max-width: 360px; color: rgba(255,255,255,.65); font-size: .88rem; }
.tc-footer h3 { margin: 0 0 16px; color: var(--tc-yellow); font-size: .79rem; letter-spacing: .12em; text-transform: uppercase; }
.tc-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.tc-footer li, .tc-footer a { color: rgba(255,255,255,.78); font-size: .88rem; }
.tc-footer a:hover { color: var(--tc-yellow); }
.tc-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.tc-footer-bottom p { margin: 0; font-size: .76rem; }
.tc-footer-partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 25px 0 28px; border-top: 1px solid rgba(255,255,255,.14); }
.tc-footer-partner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.tc-footer-partner-mark { display: flex; align-items: center; justify-content: center; width: min(100%, 260px); height: 92px; padding: 11px 15px; border-radius: 12px; background: #fff; }
.tc-footer-partner-mark img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.tc-footer-partner p { max-width: none; margin: 0; color: rgba(255,255,255,.82); font-size: .82rem; font-weight: 700; }
.tc-footer-partner-link { color: rgba(255,255,255,.6) !important; font-size: .75rem !important; }
.tc-footer-partner-link:hover { color: var(--tc-yellow) !important; }

/* Responsive */
@media (max-width: 900px) {
  .tc-nav { gap: 15px; }
  .tc-nav a:not(.tc-button) { font-size: .8rem; }
  .tc-brand-name { font-size: .92rem; }
  .tc-practice-card { min-height: 320px; }
  .tc-club-grid { gap: 45px; }
}
@media (max-width: 760px) {
  .tc-container { width: min(100% - 34px, var(--tc-width)); }
  .tc-section { padding: 68px 0; }
  .tc-header-inner { min-height: 72px; }
  .tc-brand img { width: 46px; height: 46px; }
  .tc-nav { display: none; }
  .tc-menu-toggle { display: block; }
  .tc-mobile-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    padding: 14px 17px 22px; border-bottom: 1px solid var(--tc-line);
    background: var(--tc-paper); box-shadow: 0 15px 25px rgba(0,0,0,.08);
  }
  .tc-mobile-nav.is-open { display: block; }
  .tc-mobile-nav a { display: block; padding: 12px 8px; border-bottom: 1px solid var(--tc-line); font-weight: 750; }
  .tc-mobile-nav .tc-button { margin-top: 14px; border: 0; text-align: center; }
  .tc-hero { min-height: 650px; min-height: min(720px, calc(100svh - 72px)); background-position: 58% center; }
  .tc-hero::before { background: linear-gradient(90deg, rgba(15,26,20,.87), rgba(15,26,20,.48)); }
  .tc-hero-content { padding: 88px 0 92px; }
  .tc-hero h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .tc-hero-copy { font-size: 1rem; }
  .tc-highlights-grid { grid-template-columns: 1fr; padding-block: 8px; }
  .tc-highlight, .tc-highlight:first-child { padding: 15px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .tc-highlight:last-child { border-bottom: 0; }
  .tc-section-heading { display: block; }
  .tc-section-heading p { margin-top: 17px; }
  .tc-practice-grid, .tc-practices-two { grid-template-columns: 1fr; }
  .tc-practice-card { min-height: 300px; }
  .tc-club-grid { grid-template-columns: 1fr; }
  .tc-club-photo, .tc-club-photo img { min-height: 320px; height: 320px; }
  .tc-photo-tag { right: 12px; bottom: 15px; }
  .tc-event-card { grid-template-columns: 1fr; }
  .tc-event-media, .tc-event-media img { min-height: 230px; height: 230px; }
  .tc-news-grid { grid-template-columns: 1fr 1fr; }
  .tc-news-card img { height: 175px; }
  .tc-join { padding: 56px 0; }
  .tc-join-inner { display: block; }
  .tc-join .tc-button { margin-top: 24px; }
  .tc-footer-main { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
  .tc-footer-main > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .tc-news-grid { grid-template-columns: 1fr; }
  .tc-news-card img { height: 210px; }
  .tc-checks { grid-template-columns: 1fr; }
  .tc-hero-actions { display: grid; grid-template-columns: 1fr; max-width: 290px; }
  .tc-hero-actions .tc-button { width: 100%; }
  .tc-footer-partners { grid-template-columns: 1fr; gap: 22px; }
  .tc-footer-main { grid-template-columns: 1fr; }
  .tc-footer-main > div:first-child { grid-column: auto; }
  .tc-footer-bottom { flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Pages intérieures — identité commune Tinchebray Cyclo */
.tc-page-hero {
  position: relative; display: flex; align-items: end; min-height: 390px; padding: 75px 0 64px;
  color: #fff; background-color: var(--tc-green-dark);
  background-image: linear-gradient(90deg, rgba(15,26,20,.88), rgba(15,26,20,.42)), var(--tc-page-image);
  background-position: center; background-size: cover;
}
.tc-page-hero-content { position: relative; z-index: 1; max-width: 760px; }
.tc-page-hero h1 { margin: 12px 0; font-size: clamp(2.5rem, 6vw, 4.7rem); line-height: 1.02; letter-spacing: -.06em; }
.tc-page-hero p { max-width: 620px; margin: 0; color: rgba(255,255,255,.82); font-size: 1.06rem; }
.tc-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; color: rgba(255,255,255,.72); font-size: .78rem; }
.tc-breadcrumb a:hover { color: var(--tc-yellow); }
.tc-prose { max-width: 820px; }
.tc-prose p { margin: 0 0 17px; color: var(--tc-muted); }
.tc-prose h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.045em; }
.tc-prose h3 { margin: 26px 0 9px; font-size: 1.2rem; }
.tc-prose ul { padding-left: 1.2rem; color: var(--tc-muted); }
.tc-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.tc-feature-photo { width: 100%; min-height: 300px; max-height: 480px; object-fit: cover; border-radius: var(--tc-radius); box-shadow: var(--tc-shadow); }
.tc-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tc-info-card { padding: 26px; border: 1px solid var(--tc-line); border-radius: 18px; background: var(--tc-white); }
.tc-info-card .tc-info-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 17px; border-radius: 13px; background: rgba(255,215,0,.24); font-size: 1.2rem; }
.tc-info-card h3 { margin: 0 0 9px; font-size: 1.12rem; }
.tc-info-card p { margin: 0; color: var(--tc-muted); font-size: .9rem; }
.tc-board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tc-board-card { padding: 24px; border: 1px solid var(--tc-line); border-radius: 18px; background: var(--tc-white); text-align: center; }
.tc-board-card img { width: 112px; height: 112px; margin: 0 auto 15px; border-radius: 50%; object-fit: cover; background: #e7e8e2; }
.tc-board-card h3 { margin: 0 0 5px; font-size: 1.08rem; }
.tc-board-card p { margin: 0; color: var(--tc-muted); font-size: .86rem; }
.tc-volunteers-photo { width: min(100%, 980px); margin: 34px auto 0; }
.tc-volunteers-photo img { display: block; width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--tc-radius); box-shadow: var(--tc-shadow); }
.tc-volunteers-photo figcaption { margin-top: 12px; color: var(--tc-muted); text-align: center; font-size: .94rem; font-weight: 700; }
.tc-callout { padding: 28px; border-left: 5px solid var(--tc-yellow); border-radius: 0 16px 16px 0; background: #F0F1EA; }
.tc-callout p { margin: 0; color: #414A43; }
.tc-page-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 26px; }
.tc-search { width: min(100%, 360px); min-height: 48px; padding: 0 16px; border: 1px solid var(--tc-line); border-radius: 999px; background: #fff; color: var(--tc-ink); font: inherit; }
.tc-article-grid, .tc-event-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tc-article-card, .tc-event-item { overflow: hidden; border: 1px solid var(--tc-line); border-radius: 18px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.tc-article-card:hover, .tc-event-item:hover { transform: translateY(-3px); box-shadow: var(--tc-shadow); }
.tc-article-card > a { display: block; height: 100%; }
.tc-article-card img, .tc-event-item img { width: 100%; height: 230px; object-fit: cover; background: #e7e8e2; }
.tc-article-body, .tc-event-body-light { padding: 23px; }
.tc-article-body time, .tc-event-body-light time { display: block; margin-bottom: 9px; color: var(--tc-green); font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.tc-article-body h2, .tc-event-body-light h3 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.03em; }
.tc-article-body p, .tc-event-body-light p { margin: 0; color: var(--tc-muted); font-size: .9rem; white-space: pre-line; }
.tc-read-more { display: inline-block; margin-top: 16px; color: var(--tc-green); font-size: .84rem; font-weight: 800; }
.tc-empty-state { grid-column: 1 / -1; padding: 34px; border: 1px dashed var(--tc-line); border-radius: 18px; color: var(--tc-muted); text-align: center; }
.tc-article-detail { max-width: 880px; margin: 0 auto; }
.tc-article-detail h1 { margin: 10px 0 22px; font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -.055em; }
.tc-article-detail time { color: var(--tc-green); font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.tc-article-cover { width: 100%; max-height: 540px; margin: 25px 0 32px; border-radius: var(--tc-radius); object-fit: cover; }
.tc-article-text { color: #4F5952; font-size: 1.04rem; line-height: 1.85; white-space: pre-line; }
.tc-article-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.tc-article-gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: 14px; }
.tc-event-status { display: inline-flex; margin-bottom: 10px; padding: 6px 10px; border-radius: 999px; background: rgba(73,89,76,.1); color: var(--tc-green); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.tc-event-status--past { background: #F0F0ED; color: #68716A; }
.tc-tariff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tc-tariff-card { padding: 25px; border: 1px solid var(--tc-line); border-radius: 18px; background: #fff; }
.tc-tariff-card h3 { margin: 0; font-size: 1rem; }
.tc-tariff-price { margin-top: 10px; color: var(--tc-green); font-size: 2rem; line-height: 1; font-weight: 900; letter-spacing: -.05em; }
.tc-tariff-note { margin: 25px 0 0; color: var(--tc-muted); font-size: .86rem; }
.tc-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.tc-contact-list { display: grid; gap: 14px; }
.tc-contact-item { padding: 20px; border: 1px solid var(--tc-line); border-radius: 16px; background: #fff; }
.tc-contact-item strong { display: block; margin-bottom: 5px; }
.tc-contact-item a { color: var(--tc-green); font-weight: 700; }
.tc-form { padding: 28px; border: 1px solid var(--tc-line); border-radius: 20px; background: #fff; box-shadow: var(--tc-shadow); }
.tc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tc-form label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 750; }
.tc-form input:not([type="checkbox"]), .tc-form textarea { width: 100%; min-height: 48px; margin-bottom: 15px; padding: 12px 14px; border: 1px solid #D9DED8; border-radius: 11px; background: #FCFCFA; color: var(--tc-ink); font: inherit; }
.tc-form textarea { min-height: 150px; resize: vertical; }
.tc-form input:focus, .tc-form textarea:focus { outline: 3px solid rgba(255,215,0,.35); border-color: var(--tc-green); }
.tc-form-consent { display: flex !important; align-items: flex-start; gap: 10px; color: var(--tc-muted); font-weight: 500 !important; line-height: 1.4; }
.tc-form-consent input { margin-top: 3px; }
.tc-school-banner { display: grid; grid-template-columns: 1fr .85fr; gap: 35px; align-items: center; padding: 30px; border-radius: var(--tc-radius); background: #F0F1EA; }
.tc-school-banner img { width: 100%; height: 300px; object-fit: cover; border-radius: 16px; }
@media (max-width: 760px) {
  .tc-page-hero { min-height: 320px; padding: 55px 0 48px; }
  .tc-two-col, .tc-contact-grid, .tc-school-banner { grid-template-columns: 1fr; }
  .tc-info-grid, .tc-board-grid { grid-template-columns: 1fr 1fr; }
  .tc-article-grid, .tc-event-list { grid-template-columns: 1fr; }
  .tc-tariff-grid { grid-template-columns: 1fr 1fr; }
  .tc-school-banner img { height: 230px; }
}
@media (max-width: 480px) {
  .tc-info-grid, .tc-board-grid, .tc-tariff-grid, .tc-form-grid, .tc-article-gallery { grid-template-columns: 1fr; }
  .tc-form { padding: 20px; }
  .tc-article-card img, .tc-event-item img { height: 205px; }
}

/* Galerie photos — albums et Cover Flow 3D */
.tc-gallery-list-section[hidden],
.tc-gallery-detail-section[hidden],
.tc-lightbox[hidden] { display: none !important; }

.tc-gallery-album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.tc-gallery-album-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--tc-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(20, 34, 26, .07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tc-gallery-album-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 50px rgba(20, 34, 26, .14);
}
.tc-gallery-album-card a { display: block; height: 100%; color: inherit; }
.tc-gallery-album-cover {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #1D2922;
}
.tc-gallery-album-cover::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.52));
  pointer-events: none;
}
.tc-gallery-album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}
.tc-gallery-album-card:hover .tc-gallery-album-cover img { transform: scale(1.07); }
.tc-gallery-photo-count {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(15,26,20,.68);
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}
.tc-gallery-album-open {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 17px;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .03em;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .25s ease, transform .25s ease;
}
.tc-gallery-album-card:hover .tc-gallery-album-open { opacity: 1; transform: translateY(0); }
.tc-gallery-album-info { padding: 21px 22px 24px; }
.tc-gallery-album-info time {
  display: block;
  margin-bottom: 8px;
  color: var(--tc-green);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.tc-gallery-album-info h3 {
  margin: 0 0 13px;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.tc-gallery-album-info > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tc-green);
  font-size: .83rem;
  font-weight: 800;
}
.tc-gallery-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  padding: 65px 24px;
  border: 1px dashed #CDD4CC;
  border-radius: 24px;
  background: rgba(255,255,255,.58);
  text-align: center;
}
.tc-gallery-empty-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 17px;
  border-radius: 18px;
  background: var(--tc-yellow);
  color: var(--tc-ink);
  font-weight: 900;
}
.tc-gallery-empty h3 { margin: 0 0 8px; font-size: 1.35rem; }
.tc-gallery-empty p { max-width: 480px; margin: 0 0 20px; color: var(--tc-muted); }

.tc-gallery-detail-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.tc-gallery-detail-heading h2 {
  margin: 8px 0 9px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.tc-gallery-detail-heading p { max-width: 720px; margin: 0; color: var(--tc-muted); white-space: pre-line; }
.tc-gallery-photo-total {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  color: var(--tc-muted);
  font-size: .8rem;
}
.tc-gallery-photo-total strong {
  color: var(--tc-green);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.05em;
}

.tc-coverflow-shell {
  position: relative;
  overflow: hidden;
  padding: 18px 0 8px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(120,147,122,.24), transparent 46%),
    linear-gradient(135deg, #1d2b23 0%, #0e1712 58%, #25352d 100%);
  box-shadow: 0 24px 70px rgba(21,36,26,.18);
}
.tc-coverflow-shell::before,
.tc-coverflow-shell::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 10%;
  pointer-events: none;
}
.tc-coverflow-shell::before { left: 0; background: linear-gradient(90deg, rgba(14,23,18,.48), transparent); }
.tc-coverflow-shell::after { right: 0; background: linear-gradient(270deg, rgba(14,23,18,.48), transparent); }
.tc-coverflow-glow {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: min(58%, 620px);
  height: 45px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  filter: blur(25px);
  transform: translateX(-50%);
}
.tc-coverflow-stage {
  position: relative;
  height: clamp(350px, 53vw, 570px);
  overflow: hidden;
  perspective: 1500px;
  perspective-origin: 50% 46%;
  transform-style: preserve-3d;
  touch-action: pan-y;
  user-select: none;
}
.tc-coverflow-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: clamp(250px, 56vw, 690px);
  height: clamp(260px, 42vw, 475px);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 20px;
  background: #101914;
  box-shadow: 0 28px 55px rgba(0,0,0,.42);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .62s cubic-bezier(.2,.75,.22,1), opacity .42s ease, filter .42s ease, box-shadow .42s ease;
  will-change: transform;
}
.tc-coverflow-card.is-active {
  box-shadow: 0 32px 70px rgba(0,0,0,.53), 0 0 0 1px rgba(255,215,0,.38);
  cursor: zoom-in;
}
.tc-coverflow-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.tc-coverflow-card:focus-visible {
  outline: 3px solid var(--tc-yellow);
  outline-offset: 5px;
}
.tc-coverflow-hint {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px 15px;
  color: rgba(255,255,255,.63);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .03em;
  text-align: center;
}
.tc-coverflow-hint-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tc-yellow);
  box-shadow: 0 0 12px rgba(255,215,0,.55);
}
.tc-coverflow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  max-width: 520px;
  margin: 24px auto 0;
}
.tc-coverflow-arrow {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #DCE1DA;
  border-radius: 50%;
  background: #fff;
  color: var(--tc-green-dark);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.tc-coverflow-arrow:hover:not(:disabled) {
  border-color: var(--tc-green-dark);
  background: var(--tc-green-dark);
  color: #fff;
  transform: scale(1.06);
}
.tc-coverflow-arrow:disabled { opacity: .35; cursor: not-allowed; }
.tc-coverflow-progress { flex: 1 1 auto; min-width: 0; }
.tc-coverflow-counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--tc-muted);
  font-size: .78rem;
  font-weight: 700;
}
.tc-coverflow-counter strong { color: var(--tc-ink); font-size: 1.05rem; }
.tc-coverflow-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #E4E8E2;
}
.tc-coverflow-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--tc-green);
  transition: width .3s ease;
}
.tc-gallery-back-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
}
.tc-gallery-fullscreen {
  border: 0;
  background: transparent;
  color: var(--tc-green);
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}
.tc-gallery-fullscreen:hover { text-decoration: underline; }

.tc-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(48px, 1fr) minmax(0, 1100px) minmax(48px, 1fr);
  align-items: center;
  gap: 12px;
  padding: 70px 26px 36px;
  background: rgba(5,10,7,.97);
  color: #fff;
  backdrop-filter: blur(18px);
}
.tc-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.tc-lightbox-figure {
  grid-column: 2;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: 100%;
  max-height: 100%;
  margin: 0;
}
.tc-lightbox-figure img {
  display: block;
  width: 100%;
  height: min(76vh, 850px);
  object-fit: contain;
}
.tc-lightbox-figure figcaption {
  max-width: 100%;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  text-align: center;
}
.tc-lightbox-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  justify-self: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}
.tc-lightbox-arrow:disabled { opacity: .25; cursor: not-allowed; }
.tc-lightbox-prev { grid-column: 1; grid-row: 1; }
.tc-lightbox-next { grid-column: 3; grid-row: 1; }
.tc-lightbox-close:focus-visible,
.tc-lightbox-arrow:focus-visible { outline: 3px solid var(--tc-yellow); outline-offset: 3px; }
body.tc-lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
  .tc-gallery-album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-gallery-album-cover { height: 230px; }
}
@media (max-width: 640px) {
  .tc-gallery-album-grid { grid-template-columns: 1fr; gap: 18px; }
  .tc-gallery-album-cover { height: 240px; }
  .tc-gallery-album-open { opacity: 1; transform: none; }
  .tc-gallery-detail-heading { align-items: flex-start; }
  .tc-gallery-photo-total { padding-top: 6px; }
  .tc-coverflow-shell { border-radius: 20px; }
  .tc-coverflow-stage { height: 390px; }
  .tc-coverflow-card { width: 76vw; height: 300px; border-radius: 15px; }
  .tc-coverflow-controls { gap: 15px; margin-top: 18px; }
  .tc-coverflow-arrow { flex-basis: 42px; width: 42px; height: 42px; }
  .tc-gallery-back-row { align-items: flex-start; flex-direction: column; }
  .tc-lightbox {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 4px;
    padding: 74px 8px 25px;
  }
  .tc-lightbox-arrow { width: 38px; height: 38px; }
  .tc-lightbox-figure img { height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-gallery-album-card,
  .tc-gallery-album-cover img,
  .tc-coverflow-card,
  .tc-coverflow-arrow,
  .tc-coverflow-track span { transition: none !important; }
}

/* Actualités et événements — présentation éditoriale */
.tc-news-toolbar {
  align-items: end;
  margin-bottom: 30px;
}
.tc-news-toolbar h2 {
  margin: 9px 0 7px;
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.tc-news-count {
  margin: 0;
  color: var(--tc-muted);
  font-size: .88rem;
}
.tc-news-search { display: block; width: min(100%, 360px); }
.tc-news-search .tc-search { width: 100%; }
.tc-news-featured { margin-bottom: 42px; }
.tc-news-featured-card {
  overflow: hidden;
  border: 1px solid rgba(37,53,45,.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(27,38,31,.09);
}
.tc-news-featured-link {
  display: grid;
  min-height: 390px;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  color: inherit;
}
.tc-news-featured-media {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #25352D;
}
.tc-news-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.tc-news-featured-card:hover .tc-news-featured-media img { transform: scale(1.035); }
.tc-news-featured-placeholder,
.tc-news-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
  place-items: center;
  background:
    radial-gradient(circle at 72% 25%, rgba(255,215,0,.2), transparent 25%),
    linear-gradient(135deg, #25352D, #49594C);
  color: var(--tc-yellow);
}
.tc-news-featured-placeholder span,
.tc-news-card-placeholder span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(255,215,0,.45);
  border-radius: 22px;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -.07em;
}
.tc-news-featured-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4.5vw, 56px);
  background: #25352D;
  color: #fff;
}
.tc-news-featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.tc-news-featured-meta > span {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--tc-yellow);
  color: var(--tc-ink);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tc-news-featured-meta time {
  color: rgba(255,255,255,.66);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tc-news-featured-content h2 {
  max-width: 520px;
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.tc-news-featured-content > p {
  max-width: 510px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: .98rem;
  line-height: 1.75;
}
.tc-news-featured-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--tc-yellow);
  font-size: .88rem;
  font-weight: 850;
}
.tc-news-featured-more span { transition: transform .2s ease; }
.tc-news-featured-card:hover .tc-news-featured-more span { transform: translateX(5px); }
.tc-news-collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}
.tc-news-collection-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.tc-news-collection-heading[hidden] { display: none !important; }
.tc-article-grid--modern {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tc-article-grid--modern .tc-article-card {
  min-width: 0;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(27,38,31,.055);
}
.tc-article-grid--modern .tc-article-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tc-news-card-media {
  height: 218px;
  overflow: hidden;
  background: #25352D;
}
.tc-news-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.tc-article-card:hover .tc-news-card-media > img { transform: scale(1.05); }
.tc-news-card-placeholder { min-height: 218px; }
.tc-article-grid--modern .tc-article-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 23px 24px;
}
.tc-article-grid--modern .tc-article-body time {
  margin-bottom: 12px;
}
.tc-article-grid--modern .tc-article-body h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -.035em;
}
.tc-article-grid--modern .tc-article-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  font-size: .9rem;
  line-height: 1.65;
}
.tc-news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 19px;
  color: var(--tc-green);
  font-size: .84rem;
  font-weight: 850;
}
.tc-news-card-link span { transition: transform .2s ease; }
.tc-article-card:hover .tc-news-card-link span { transform: translateX(4px); }
.tc-news-entry[hidden] { display: none !important; }
.tc-news-no-results {
  margin: 22px 0 0;
  padding: 25px;
  border: 1px dashed #CDD4CC;
  border-radius: 18px;
  color: var(--tc-muted);
  text-align: center;
}
.tc-news-no-results[hidden] { display: none !important; }

/* Cartes événements : visuel principal, date et accès à la galerie */
.tc-events-archive-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.tc-events-archive-intro p {
  max-width: 440px;
  margin: 0;
  color: var(--tc-muted);
  text-align: right;
}
.tc-events-archive-intro .tc-button { white-space: nowrap; }
.tc-event-list--upcoming {
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.tc-event-list--upcoming .tc-event-item {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  min-height: 310px;
  border-radius: 24px;
}
.tc-event-media {
  min-height: 100%;
  overflow: hidden;
  background: #25352D;
}
.tc-event-media img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.tc-event-item:hover .tc-event-media img { transform: scale(1.035); }
.tc-event-media--empty {
  display: grid;
  place-items: center;
  color: var(--tc-yellow);
  background:
    radial-gradient(circle at 70% 25%, rgba(255,215,0,.2), transparent 25%),
    linear-gradient(135deg, #25352D, #49594C);
}
.tc-event-media--empty span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(255,215,0,.45);
  border-radius: 20px;
  font-size: 1.6rem;
  font-weight: 900;
}
.tc-event-body-light {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 38px);
}
.tc-event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.tc-event-body-light .tc-event-status { margin: 0; }
.tc-event-body-light .tc-event-meta time {
  margin: 0;
  color: var(--tc-muted);
  font-size: .76rem;
}
.tc-event-body-light h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}
.tc-event-body-light p {
  line-height: 1.7;
}
.tc-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: auto;
  padding-top: 18px;
}
.tc-event-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tc-green);
  font-size: .84rem;
  font-weight: 850;
}
.tc-event-action span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(73,89,76,.1);
  font-size: .72rem;
}
.tc-event-action:hover { text-decoration: underline; }
.tc-event-list--archive {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.tc-event-list--archive .tc-event-item {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
}
.tc-event-list--archive .tc-event-media { height: 205px; min-height: 205px; }
.tc-event-list--archive .tc-event-media img { height: 205px; min-height: 205px; }
.tc-event-list--archive .tc-event-body-light { flex: 1; padding: 22px 24px 25px; }
.tc-event-list--archive .tc-event-body-light h3 { font-size: 1.28rem; }
.tc-event-list--archive .tc-event-body-light p { font-size: .88rem; }

/* Lecture d'un article */
.tc-article-detail { max-width: 980px; }
.tc-article-detail-header {
  max-width: 790px;
  margin: 0 auto;
}
.tc-article-back {
  display: inline-flex;
  margin-bottom: 27px;
  color: var(--tc-green);
  font-size: .86rem;
  font-weight: 850;
}
.tc-article-back:hover { text-decoration: underline; }
.tc-article-detail-header time {
  display: block;
  margin-bottom: 13px;
  letter-spacing: .07em;
}
.tc-article-detail-header h1 {
  margin: 0;
  max-width: 780px;
}
.tc-article-detail-cover {
  overflow: hidden;
  margin: 34px 0 38px;
  border-radius: 26px;
  background: #25352D;
}
.tc-article-detail-cover img {
  display: block;
  width: 100%;
  max-height: 590px;
  object-fit: cover;
}
.tc-article-detail-prose {
  max-width: 760px;
  margin: 0 auto;
  color: #465149;
  font-size: 1.06rem;
  line-height: 1.9;
}
.tc-article-detail-prose p { margin: 0 0 1.35em; }
.tc-article-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.tc-article-detail-gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: 17px;
  background: #e7e8e2;
}
.tc-article-detail-gallery img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .45s ease;
}
.tc-article-detail-gallery figure:hover img { transform: scale(1.04); }
.tc-article-detail-actions {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}
@media (max-width: 900px) {
  .tc-article-grid--modern { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-event-list--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tc-news-featured-link { grid-template-columns: 1fr; }
  .tc-news-featured-media,
  .tc-news-featured-media img { min-height: 275px; height: 275px; }
  .tc-news-featured-content { padding: 28px; }
  .tc-event-list--upcoming .tc-event-item { grid-template-columns: 1fr; }
  .tc-event-media,
  .tc-event-media img { min-height: 230px; height: 230px; }
  .tc-event-list--archive { grid-template-columns: 1fr; }
  .tc-events-archive-intro { align-items: flex-start; }
  .tc-events-archive-intro p { text-align: left; }
}
@media (max-width: 540px) {
  .tc-news-toolbar { align-items: stretch; }
  .tc-news-search { width: 100%; }
  .tc-article-grid--modern,
  .tc-article-detail-gallery { grid-template-columns: 1fr; }
  .tc-news-featured { margin-bottom: 32px; }
  .tc-news-featured-card { border-radius: 20px; }
  .tc-news-featured-content { padding: 24px; }
  .tc-news-featured-content h2 { font-size: 1.8rem; }
  .tc-news-card-media { height: 210px; }
  .tc-event-body-light { padding: 22px; }
  .tc-event-actions { align-items: flex-start; flex-direction: column; }
  .tc-article-detail-gallery img { height: 230px; }
  .tc-article-detail-cover { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-news-featured-media img,
  .tc-news-card-media > img,
  .tc-event-media img,
  .tc-news-card-link span,
  .tc-news-featured-more span,
  .tc-article-detail-gallery img { transition: none !important; }
}



/* Accueil : afficher les affiches verticales en entier */
.tc-event-media--portrait {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  background: #fff;
}
.tc-event-media--portrait img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 720px;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 760px) {
  .tc-event-media--portrait img {
    height: auto;
    min-height: 0;
    max-height: none;
  }
}


/* Page Événements : afficher les affiches verticales en entier */
.tc-event-list--upcoming .tc-event-media--portrait {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: auto;
  min-height: 0;
  background: #fff;
}
.tc-event-list--upcoming .tc-event-media--portrait img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  transition: none;
}
@media (max-width: 760px) {
  .tc-event-list--upcoming .tc-event-media--portrait {
    height: auto;
    min-height: 0;
  }
  .tc-event-list--upcoming .tc-event-media--portrait img {
    height: auto;
    min-height: 0;
    max-height: none;
  }
}
