/* =========================================================
   CSLAC.CA — FEUILLE DE STYLE COMPLÈTE — HERO LAC
   ========================================================= */

:root {
  --navy-950: #041d38;
  --navy-900: #062b55;
  --navy-800: #073b72;
  --navy-700: #0b4f91;
  --blue-600: #1769c2;
  --blue-100: #dcecff;
  --blue-050: #eef6ff;

  --green-600: #4c7a4d;
  --gold-500: #f5bd45;

  --white: #ffffff;
  --surface: #f3f7fb;
  --surface-strong: #e8f0f8;
  --text: #16324d;
  --text-soft: #53697e;
  --border: #d8e3ed;

  --shadow-sm: 0 8px 24px rgba(4, 29, 56, 0.08);
  --shadow-md: 0 18px 50px rgba(4, 29, 56, 0.13);
  --shadow-lg: 0 28px 90px rgba(4, 29, 56, 0.24);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;

  --container: 1160px;
  --header-height: 92px;
}

/* ---------- Réinitialisation ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--blue-100);
  color: var(--navy-950);
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
}

/* ---------- Utilitaires ---------- */

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 12px 30px rgba(245, 189, 69, 0.26);
}

.button-primary:hover {
  background: #ffd063;
  box-shadow: 0 16px 38px rgba(245, 189, 69, 0.34);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-600);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 29, 56, 0.96);
  color: var(--white);
  box-shadow: 0 9px 28px rgba(4, 29, 56, 0.18);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: 250px;
  align-items: center;
  gap: 13px;
  color: var(--white);
  line-height: 1.1;
  text-decoration: none;
}

.brand img {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 4px;
}

.brand strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.brand small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.83rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  padding: 11px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.site-nav .nav-cta {
  margin-left: 6px;
  padding-inline: 18px;
  background: var(--gold-500);
  color: var(--navy-950);
}

.site-nav .nav-cta:hover {
  background: #ffd063;
  color: var(--navy-950);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy-950);
  background:
    linear-gradient(
      90deg,
      rgba(4, 29, 56, 0.96) 0%,
      rgba(4, 29, 56, 0.84) 34%,
      rgba(4, 29, 56, 0.46) 64%,
      rgba(4, 29, 56, 0.20) 100%
    ),
    linear-gradient(
      0deg,
      rgba(4, 29, 56, 0.34) 0%,
      rgba(4, 29, 56, 0.04) 55%,
      rgba(4, 29, 56, 0.12) 100%
    ),
    url("/assets/lacv2.webp") center 52% / cover no-repeat;
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(245, 189, 69, 0.16),
      transparent 25rem
    );
  content: "";
  pointer-events: none;
}

.hero-layout {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  padding-block: 86px;
}

.hero-content {
  max-width: 760px;
}

.hero .eyebrow {
  color: #a9cdf5;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 7.8vw, 6.6rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero-text {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero-card {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      to top,
      rgba(4, 29, 56, 0.90),
      rgba(4, 29, 56, 0.30)
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.03)
    );
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.hero-card::after {
  position: absolute;
  top: -90px;
  right: -80px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(255, 255, 255, 0.035),
    0 0 0 72px rgba(255, 255, 255, 0.025);
  content: "";
}

.hero-card-icon {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 3.6rem;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.24));
}

.hero-card p {
  margin: 0 0 7px;
  color: #b9d9f8;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card strong {
  max-width: 280px;
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  line-height: 1.1;
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(72px, 10vw, 118px);
}

.section-soft {
  background: var(--surface);
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2.2rem, 5vw, 4.15rem);
  font-weight: 950;
  letter-spacing: -0.048em;
  line-height: 1;
  text-wrap: balance;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.section-action {
  margin-top: 36px;
  text-align: center;
}
.nowrap {
  white-space: nowrap;
}
/* ---------- Cartes de services ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 31px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #b8cde1;
  box-shadow: var(--shadow-md);
}

.feature-card::after {
  position: absolute;
  right: -48px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--blue-050);
  content: "";
}
/* ---------- Informations supplémentaires sur la salle ---------- */

.feature-kicker {
  position: relative;
  z-index: 1;
  margin: 20px 0 7px;
  color: var(--blue-600);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-card .feature-kicker + h3 {
  margin-top: 0;
}

.feature-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--text-soft);
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
}

.feature-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--blue-600);
  font-weight: 900;
  content: "✓";
}

.feature-card-capacity {
  border-color: #a8c9eb;
  background:
    linear-gradient(
      145deg,
      rgba(23, 105, 194, 0.12),
      rgba(255, 255, 255, 0) 72%
    ),
    var(--white);
}

.feature-number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--navy-900);
}

.feature-number strong {
  font-size: clamp(3.2rem, 5vw, 4.7rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.feature-number span {
  color: var(--blue-600);
  font-size: 1rem;
  font-weight: 900;
}
.feature-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 17px;
  background: var(--blue-050);
  font-size: 1.8rem;
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  margin: 23px 0 10px;
  color: var(--navy-900);
  font-size: 1.35rem;
  line-height: 1.2;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-soft);
}

/* ---------- Galerie ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  isolation: isolate;
  height: 255px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 350ms ease,
    filter 350ms ease;
}

.gallery-card:hover img {
  transform: scale(1.055);
  filter: brightness(0.72);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 60px 22px 20px;
  background: linear-gradient(to top, rgba(4, 29, 56, 0.86), transparent);
  color: var(--white);
  font-weight: 850;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.gallery-card:hover .gallery-overlay,
.gallery-card:focus-visible .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-zoom {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.25rem;
  line-height: 1;
}

.gallery-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
  border: 1px dashed #b7c9d9;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-soft);
  text-align: center;
}

/* ---------- Membership ---------- */

.membership-section {
  padding: 5rem 1.5rem;
  background: var(--gray-50, #f7f8fa);
}

.membership-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--navy-700, #243b5a);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0 0 1rem;
  color: var(--navy-950, #102033);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

.section-heading p {
  margin: 0;
  color: #566273;
  font-size: 1.05rem;
  line-height: 1.7;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.membership-card {
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(16, 32, 51, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.membership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.12);
}

.membership-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 1.25rem;
  place-items: center;
  background: rgba(36, 59, 90, 0.08);
  border-radius: 14px;
  font-size: 1.65rem;
}

.membership-card h3 {
  margin: 0 0 0.75rem;
  color: var(--navy-950, #102033);
  font-size: 1.2rem;
}

.membership-card p {
  margin: 0;
  color: #606b79;
  line-height: 1.65;
}

@media (max-width: 950px) {
  .membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .membership-section {
    padding: 4rem 1rem;
  }

  .membership-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ACTIVITÉS 2026 — CARTES COMPACTES SANS IMAGE
   ========================================================= */

.activities-section {
  background:
    radial-gradient(
      circle at top right,
      rgba(23, 105, 194, 0.10),
      transparent 30rem
    ),
    #f4f8fc;
}

.activities-section .section-heading {
  margin-bottom: 30px;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.activity-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 220px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(7, 26, 45, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(23, 105, 194, 0.08),
      transparent 65%
    ),
    #fff;
  box-shadow: 0 10px 28px rgba(7, 26, 45, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.activity-card::after {
  position: absolute;
  right: -42px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(23, 105, 194, 0.06);
  content: "";
  pointer-events: none;
}

.activity-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 105, 194, 0.28);
  box-shadow: 0 18px 38px rgba(7, 26, 45, 0.14);
}

.activity-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
}

.activity-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #b6e9ca;
  border-radius: 999px;
  background: #dff7e9;
  color: #075c37;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.activity-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #149357;
  box-shadow: 0 0 0 3px rgba(20, 147, 87, 0.13);
  content: "";
}

.activity-status-past {
  border-color: #d4dae0;
  background: #edf1f4;
  color: #606a75;
}

.activity-status-past::before {
  background: #7d8791;
  box-shadow: 0 0 0 3px rgba(125, 135, 145, 0.13);
}

.activity-date {
  margin: 16px 0 5px;
  color: var(--blue-600);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-transform: uppercase;
}

.activity-content h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.06rem;
  line-height: 1.25;
}

.activity-time {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 750;
}

.activity-actions {
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
}

.activity-button {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  font-size: 0.8rem;
  line-height: 1.2;
}

.activity-card-past {
  opacity: 0.74;
  background: #f5f7f9;
}

.activity-card-past:hover {
  opacity: 1;
}

@media (max-width: 1050px) {
  .activities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .activities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .activity-card {
    min-height: 200px;
  }
}

/* ---------- Sponsors ---------- */

.sponsors-section {
  background:
    radial-gradient(circle at top left, rgba(23,105,194,.12), transparent 28rem),
    #ffffff;
}

.sponsor-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto;
  justify-content: center;
}

.sponsor-card-premium {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sponsor-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.sponsor-card-premium::after {
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--blue-050);
  content: "";
}

.sponsor-logo {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 18px;
  background: #050505;
}

.sponsor-logo img {
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

.sponsor-card-premium h3 {
  position: relative;
  z-index: 1;
  margin: 22px 0 8px;
  color: var(--navy-950);
  font-size: 1.18rem;
  line-height: 1.2;
}

.sponsor-card-premium p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.45;
}

@media (max-width: 950px) {
  .sponsor-grid-premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
  }
}

@media (max-width: 560px) {
  .sponsor-grid-premium {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .sponsor-card-premium {
    min-height: 230px;
  }
}

/* ---------- Conseil d'administration ---------- */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.admin-card-president {
  border-color: #a8c9eb;
  background:
    linear-gradient(145deg, rgba(23, 105, 194, 0.08), transparent),
    var(--white);
}

.admin-role {
  color: var(--blue-600);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-card h3 {
  margin: 7px 0 0;
  color: var(--navy-900);
  font-size: 1.15rem;
  line-height: 1.2;
}

/* ---------- Réseaux sociaux ---------- */

.social-section {
  background:
    radial-gradient(circle at 10% 110%, rgba(23, 105, 194, 0.42), transparent 26rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light .eyebrow {
  color: #a9cdf5;
}

.section-heading-light > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.social-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 160px;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.social-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
}

.social-logo {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 19px;
  background: #1877f2;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.social-logo-duck {
  background: rgba(255, 255, 255, 0.14);
  font-size: 2rem;
}

.social-content {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.social-content small {
  color: #acd3fb;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-content strong {
  overflow: hidden;
  font-size: 1.17rem;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.social-content > span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.social-arrow {
  font-size: 1.45rem;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 940px;
  margin-inline: auto;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.contact-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-050);
  font-size: 1.45rem;
}

.contact-card h3 {
  margin: 2px 0 8px;
  color: var(--navy-900);
  font-size: 1.22rem;
  line-height: 1.2;
}

.contact-card p {
  margin: 0;
  color: var(--text-soft);
}

.contact-card a:not(.text-link) {
  color: var(--blue-600);
  font-weight: 850;
  text-decoration: none;
}

.contact-card a:not(.text-link):hover {
  text-decoration: underline;
}

/* ---------- Pied de page ---------- */

.site-footer {
  padding-block: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy-950);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-brand div {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  font-size: 0.92rem;
}

.footer-brand span,
.site-footer p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

/* ---------- Viewer / Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 12px;
  padding: 32px;
  background: rgba(1, 11, 23, 0.93);
  backdrop-filter: blur(18px);
}

.lightbox-figure {
  width: min(100%, 1280px);
  max-height: calc(100vh - 96px);
  display: grid;
  justify-self: center;
  gap: 13px;
  margin: 0;
}

.lightbox-figure img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  justify-self: center;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.54);
}

.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition:
    background-color 150ms ease,
    transform 150ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  width: 58px;
  height: 70px;
  justify-self: center;
  border-radius: 18px;
  font-size: 3rem;
  line-height: 1;
}

.lightbox-prev {
  grid-column: 1;
}

.lightbox-figure {
  grid-column: 2;
}

.lightbox-next {
  grid-column: 3;
}

/* ---------- Tablettes ---------- */

@media (max-width: 1080px) {
  :root {
    --header-height: 82px;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .site-nav a {
    padding-inline: 9px;
    font-size: 0.84rem;
  }

  .hero-layout {
    min-height: 560px;
  }

  .admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .header-inner {
    position: relative;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 3px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 17px;
    background: var(--navy-950);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 15px;
    border-radius: 11px;
    font-size: 0.95rem;
  }

  .site-nav .nav-cta {
    margin: 4px 0 0;
    text-align: center;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 72px;
  }

  .hero-card {
    min-height: 250px;
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mobiles ---------- */

@media (max-width: 640px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .menu-button {
    padding: 9px 11px;
    font-size: 0.86rem;
  }

  .site-nav {
    right: 14px;
    left: 14px;
  }

  .hero {
    background:
      linear-gradient(
        90deg,
        rgba(4, 29, 56, 0.95) 0%,
        rgba(4, 29, 56, 0.78) 58%,
        rgba(4, 29, 56, 0.48) 100%
      ),
      linear-gradient(
        0deg,
        rgba(4, 29, 56, 0.44) 0%,
        rgba(4, 29, 56, 0.06) 60%
      ),
      url("/assets/lacv2.webp") 64% center / cover no-repeat;
  }

  .hero-layout {
    min-height: auto;
    padding-block: 62px 68px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15.5vw, 4.8rem);
  }

  .hero-text {
    margin-top: 22px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    min-height: 220px;
    padding: 27px;
    border-radius: 24px;
  }

  .hero-card-icon {
    top: 25px;
    left: 25px;
    font-size: 3rem;
  }

  .section {
    padding-block: 72px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: clamp(2.15rem, 11vw, 3.3rem);
  }

  .section-heading > p:last-child {
    font-size: 1rem;
  }

  .feature-grid,
  .gallery-grid,
  .admin-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
    padding: 25px;
  }

.gallery-card {
  height: 245px;
}

  .gallery-overlay {
    opacity: 1;
    transform: none;
  }

  .admin-card {
    min-height: 130px;
  }

  .social-card {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 145px;
    padding: 23px;
  }

  .social-arrow {
    display: none;
  }

  .social-logo {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .contact-card-wide {
    grid-column: auto;
  }

  .contact-card {
    padding: 23px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    padding: 18px 8px;
  }

  .lightbox-nav {
    width: 46px;
    height: 58px;
    border-radius: 14px;
    font-size: 2.4rem;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .lightbox-figure img {
    max-height: calc(100vh - 120px);
  }

  .lightbox-figure figcaption {
    padding-inline: 6px;
    font-size: 0.78rem;
  }
}

/* ---------- Préférences d'accessibilité ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   HERO AVEC PHOTO DU LAC — CORRECTIF FINAL
   ========================================================= */

.hero {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;

  background-color: #041d38 !important;
  background-image:
    linear-gradient(
      90deg,
      rgba(4, 29, 56, 0.96) 0%,
      rgba(4, 29, 56, 0.84) 36%,
      rgba(4, 29, 56, 0.48) 65%,
      rgba(4, 29, 56, 0.18) 100%
    ),
    linear-gradient(
      0deg,
      rgba(4, 29, 56, 0.34) 0%,
      rgba(4, 29, 56, 0.03) 60%
    ),
    url("/assets/lacv2.webp") !important;

  background-position:
    center,
    center,
    center 52% !important;

  background-size:
    cover,
    cover,
    cover !important;

  background-repeat: no-repeat !important;
  color: #ffffff;
}

.hero::before {
  background: none !important;
  background-image: none !important;
  opacity: 1 !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  pointer-events: none;
}

.hero-card {
  background:
    linear-gradient(
      to top,
      rgba(4, 29, 56, 0.92),
      rgba(4, 29, 56, 0.32)
    ),
    rgba(255, 255, 255, 0.06) !important;
}

@media (max-width: 640px) {
  .hero {
    background-image:
      linear-gradient(
        90deg,
        rgba(4, 29, 56, 0.95) 0%,
        rgba(4, 29, 56, 0.80) 58%,
        rgba(4, 29, 56, 0.48) 100%
      ),
      linear-gradient(
        0deg,
        rgba(4, 29, 56, 0.44) 0%,
        rgba(4, 29, 56, 0.05) 60%
      ),
      url("/assets/lacv2.webp") !important;

    background-position:
      center,
      center,
      64% center !important;
  }
}

/* =========================================================
   CSLAC GOOGLE MAPS PLEINE LARGEUR
   ========================================================= */

.contact-map-card {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.contact-map-header {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 27px;
}

.contact-map-header .contact-icon {
  flex: 0 0 auto;
}

.contact-map-header h3 {
  margin: 2px 0 8px;
  color: var(--navy-900);
  font-size: 1.22rem;
  line-height: 1.2;
}

.contact-map-header p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.contact-map {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: var(--surface-strong);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

@media (max-width: 640px) {
  .contact-map-card {
    grid-column: auto;
  }

  .contact-map-header {
    padding: 23px;
  }

  .contact-map {
    height: 310px;
  }
}
.email-reveal-button {
  padding: 0;
  color: #1769c2;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.email-visible {
  color: #1769c2;
  font-weight: 700;
}
.footer-vdgf,
.footer-vdgf:visited {
  color: rgb(255 255 255 / 25%);
  font-size: 0.7rem;
  text-decoration: none;
}

.footer-vdgf:hover,
.footer-vdgf:focus-visible {
  color: rgb(255 255 255 / 75%);
}

.membership-section .section-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.member-resident-box {
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 920px;
    margin: 0 auto 42px;
    padding: 28px 32px;
    border: 2px solid #1769c2;
    border-radius: 24px;
    background: #f4f9ff;
}

.member-resident-icon{
    flex:0 0 84px;
    width:84px;
    height:84px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:56px;
}

.member-resident-box h3{
    margin:0 0 10px;
    color:#1769c2;
    font-size:1.9rem;
    line-height:1.2;
}

.member-resident-box p{
    margin:0;
    color:#16324d;
    font-size:1.15rem;
    line-height:1.6;
}

@media (max-width:640px){

    .member-resident-box{
        flex-direction:column;
        text-align:left;
        align-items:flex-start;
        padding:24px;
    }

    .member-resident-icon{
        width:64px;
        height:64px;
        font-size:44px;
    }

    .member-resident-box h3{
        font-size:1.45rem;
    }

    .member-resident-box p{
        font-size:1rem;
    }

}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5bd45;
  color: #041d38;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(4, 29, 56, 0.28);

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 641px) {
  .back-to-top {
    display: none;
  }
}