/* ============================================================
   Cercle finance du Québec — Rebuilt Stylesheet
   Matching original Webflow site design
   Fonts: Lato (body/nav) + Source Sans Pro (headings/buttons)
   Primary Blue: #003366 | Accent Green: #a4c400 | Text: #1a1b1f
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  background: #fff;
  font-size: 14px;
  padding-top: 95px; /* space for fixed nav */
}

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header / Navigation --- */
.header_nav {
  z-index: 1000;
  background-color: #fff;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0;
  transition: all 0.3s ease;
}

/* Scrolled state: only centered logo */
.header_nav.scrolled .navbar-wrapper {
  justify-content: center;
}

.header_nav.scrolled .main-nav,
.header_nav.scrolled .mobile-toggle {
  display: none;
}

.header_nav.scrolled .logo-link {
  margin-right: 0;
}

.header_nav.scrolled .navbar-wrapper {
  padding: 10px 30px;
}

.header_nav.scrolled {
  border-bottom: 3px solid #036;
}

.header_nav .navbar-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 15px 30px;
}

.header_nav .logo-link {
  margin-right: auto;
}

.header_nav .main-nav {
  display: flex;
  justify-content: flex-end;
}

.logo {
  height: 75px;
  width: auto;
  max-width: 300px;
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 20px 10px;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  color: #36454f;
  line-height: 20px;
  transition: color 0.2s;
  white-space: nowrap;
  text-decoration: none;
  overflow: hidden;
}

.nav-link:hover {
  color: #1a1b1fbf;
}

.dropdown-arrow {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  opacity: 0.5;
  transition: transform 0.2s;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  z-index: 10000;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Lato', sans-serif;
  color: #36454f;
  transition: background 0.15s;
}

.dropdown li a:hover {
  background: #f5f7fa;
  color: #1a1b1fbf;
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1b1f;
  transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section (SEC) --- */
.sec {
  background-color: #200202;
  background-image: linear-gradient(#003366e6, #003366e6), url(images/hero/imageHero_accueil.jpg);
  background-position: 0 0, center;
  background-size: auto, cover;
  width: 100%;
  height: auto;
  margin-top: 0;
  padding-bottom: 0;
  position: relative;
}

.sec.secondary {
  background-image: linear-gradient(#003366e6, #003366e6), url(images/hero/evenements.jpg);
  background-position: 0 0, 0 0;
  height: 50vh;
  min-height: auto;
}

.hero_header {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  padding-top: 180px;
  padding-bottom: 140px;
  display: flex;
  position: relative;
}

.hero_action {
  flex-direction: column;
  justify-content: center;
  align-self: center;
  align-items: center;
  display: flex;
  gap: 30px;
  padding: 0 40px;
}

.hero_action--title {
  color: #f9f9f9;
  text-align: center;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 900;
  line-height: 68px;
  width: 100%;
  padding: 0;
}

/* --- Buttons --- */
.primary_btn {
  color: #36454f;
  cursor: pointer;
  background-color: #a4c400;
  border-radius: 20px;
  padding: 10px 20px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  display: inline-block;
  text-decoration: none;
  border: none;
}

.primary_btn:hover {
  transform: scale(1.1);
  box-shadow: 5px 8px 9px 4px rgba(0, 0, 0, 0.2);
}

.secondary_btn {
  background-color: transparent;
  border: 2px solid #f60;
  border-radius: 20px;
  margin-top: 10px;
  padding: 10px 20px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.secondary_btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 7px rgba(0, 0, 0, 0.2);
}

.secondary_btn.black {
  border-color: #1a1b1f;
  color: #1a1b1f;
}

.secondary_btn.black:hover {
  background-color: #1a1b1f;
  color: #fff;
}

.secondary_btn.events {
  border-color: #f60;
  color: #f9f9f9;
}

/* Legacy button classes (subpages) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  font-family: 'Source Sans Pro', sans-serif;
  text-decoration: none;
}

.btn-primary {
  background: #a4c400;
  color: #36454f;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 3px 5px 7px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: transparent;
  color: #1a1b1f;
  border: 2px solid #1a1b1f;
}

.btn-secondary:hover {
  background: #1a1b1f;
  color: #fff;
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-arrow {
  width: 12px;
  height: 12px;
  max-width: 12px;
  max-height: 12px;
}

/* --- Partners Section (in hero & bottom) --- */
.header_partenaires {
  background-color: #fff;
  width: 100%;
  height: auto;
  padding: 20px 100px;
  position: relative;
  margin-top: 0;
}

.header_partenaires.basdepage {
  border: none;
  border-top: none;
  border-bottom: none;
  margin-top: 50px;
  padding-top: 30px;
  position: relative;
}

.header_partenaires h1,
.header_partenaires .h2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #1a1b1f;
}

.logo_partenaires {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 0;
}

.link-block_partenaire {
  display: inline-block;
  flex: 0 1 auto;
}

.logopartenaire {
  max-height: 80px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s;
}

.logopartenaire:hover {
  opacity: 0.8;
}

.logopartenaire--chambre {
  max-height: 110px;
  max-width: 280px;
  position: relative;
  top: -15px;
}

/* --- Sections --- */
.section {
  margin-top: 50px;
  margin-left: 125px;
  margin-right: 125px;
}

.section.main {
  flex-direction: column;
  margin: 86px 0 100px;
  display: flex;
  position: relative;
  overflow: hidden;
  gap: 40px;
}

.section-title,
.h1 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: italic;
  color: #1a1b1f;
  margin-bottom: 24px;
  text-align: center;
}

.h2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 24px;
  font-weight: 600;
}

/* --- Event Cards --- */
.acceuil_events {
  padding: 0;
}

.a_venir,
.passe {
  padding: 40px 125px;
}

.collection_wrapper {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.date {
  flex-shrink: 0;
}

.dateclass {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #036;
  white-space: nowrap;
}

.image_event {
  flex-shrink: 1;
  flex-basis: 600px;
  width: 100%;
  max-width: 600px;
}

.image_event img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 4px;
}

.infos {
  flex: 1;
}

.nom_invites {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nom .heading {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 8px;
  color: #1a1b1f;
}

.nom .heading-2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #5d6c7b;
  margin-bottom: 16px;
}

.event-note {
  font-size: 14px;
  color: #5d6c7b;
  font-style: italic;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e2e2e2;
}

.invites .paragraph {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.invites .paragraph ul {
  padding-left: 20px;
  list-style: disc;
}

.invites .paragraph li {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.6;
}

.invites .paragraph a {
  color: #036;
  text-decoration: underline;
}

.invites .paragraph a:hover {
  color: #1a1b1f;
}

.lien_ecoute {
  margin-top: 24px;
}

.lien_voirtout {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 40px;
  padding: 24px 125px;
}

.all_links {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #036;
  text-decoration: none;
  border: 2px solid #f60;
  border-radius: 20px;
  padding: 10px 24px;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.all_links:hover {
  color: #fff;
  background: #f60;
  transform: scale(1.05);
}

.all_links.event {
  color: #036;
}

.all_links.event:hover {
  color: #fff;
}

.image-21 {
  width: 16px;
  height: auto;
}

/* --- GoToEvents CTA Section --- */
.gotoevents {
  background-image: linear-gradient(#003366e6, #003366e6), url(images/hero/events.jpg);
  background-position: 0 0, 0 0;
  background-size: auto, auto;
  padding: 80px 70px;
  text-align: center;
}

.gotoevents .hero_action {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.gotoevents .hero_action--title {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 64px;
  font-weight: 900;
  color: #f9f9f9;
  padding: 0;
  align-self: center;
  margin-top: 0;
}

/* --- Footer --- */
.footer {
  background-image: linear-gradient(#003366d9, #003366d9), url(images/hero/imageHero_accueil.jpg);
  background-position: 0 0, 50%;
  background-size: auto, cover;
  height: auto;
  margin-top: 50px;
  margin-bottom: 0;
  padding-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.footer_wrapper {
  padding: 50px 50px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer .logo img {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
}

.infolettre {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  gap: 10px;
}

.footer .h4,
.footer h4 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #f9f9f9;
  margin-bottom: 10px;
}

.paragraph.blanc {
  color: #f9f9f9;
  font-size: 16px;
  text-align: center;
  margin-bottom: 10px;
}

.footer .field-label {
  color: #f9f9f9;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.footer .text-field {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  border: 1px solid #758696;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-bottom: 10px;
}

.footer .text-field::placeholder {
  color: #a6b1bf;
}

.footer .text-field:focus {
  outline: none;
  border-color: #a4c400;
}

.socials_adress {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.socials_footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.link_socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(0.9);
  transition: filter 0.2s;
}

.social-icon:hover {
  filter: brightness(0) invert(1);
}

.adresse_txt,
.adress {
  color: #f9f9f9;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.adresse_txt a {
  color: #f9f9f9;
  text-decoration: none;
}

.adresse_txt a:hover {
  text-decoration: underline;
}

.btn_special {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.bouton_3.adresse_txt {
  background-color: transparent;
  border: 1px solid #f9f9f9;
  border-radius: 20px;
  padding: 10px 20px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-block;
}

.bouton_3.adresse_txt:hover {
  transform: scale(1.1);
}

.photo-album-link {
  font-size: 14px;
  color: #f9f9f9;
  text-decoration: underline;
}

/* Footer bottom */
.footer-bottom {
  margin-top: 20px;
  padding: 15px 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #a6b1bf;
}

/* Legacy footer classes (for subpages) */
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  height: 35px;
  width: auto;
  max-width: 150px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.5;
  color: #f9f9f9;
}

.footer-col a {
  color: #a6b1bf;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-input {
  flex: 1;
  min-width: 180px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  border: 1px solid #758696;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.newsletter-input::placeholder {
  color: #a6b1bf;
}

.newsletter-input:focus {
  outline: none;
  border-color: #a4c400;
}

.newsletter-success {
  font-size: 13px;
  color: #a4c400;
  width: 100%;
}

/* Social */
.social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e2e2e2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .main-nav.open {
    max-height: 600px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 0;
  }

  .nav-link {
    padding: 12px 24px;
    font-size: 16px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    background: #f5f7fa;
  }

  .dropdown-open .dropdown {
    display: block;
  }

  .dropdown li a {
    padding-left: 40px;
  }

  .hero_header {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero_action--title {
    font-size: 40px;
    line-height: 42px;
  }

  .header_partenaires {
    padding: 20px 20px;
  }

  .section {
    margin-left: 20px;
    margin-right: 20px;
  }

  .a_venir,
  .passe {
    padding: 40px 20px;
  }

  .lien_voirtout {
    padding: 0 20px;
  }

  .collection_wrapper {
    flex-direction: column;
  }

  .image_event {
    width: 100%;
    max-width: 100%;
  }

  .gotoevents {
    padding: 60px 20px;
  }

  .gotoevents .hero_action--title {
    font-size: 36px;
  }

  .footer_wrapper {
    flex-direction: column;
    padding: 40px 20px;
  }

  .infolettre {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero_header {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .hero_action--title {
    font-size: 32px;
    line-height: 36px;
  }

  .nom .heading {
    font-size: 24px;
  }

  .nom .heading-2 {
    font-size: 18px;
  }

  .logo_partenaires {
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero_action--title {
    font-size: 28px;
    line-height: 32px;
  }

  .logo_partenaires {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   SUBPAGE STYLES
   ============================================================ */

/* --- 1. Page Header (Subpage Hero) --- */
.page-header {
  background-image: linear-gradient(#003366e6, #003366e6), url(images/hero/imageHero_accueil.jpg);
  background-position: 0 0, 0 0;
  background-size: auto, cover;
  padding: 60px 24px;
  text-align: center;
}

.page-header h1 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #f9f9f9;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 0;
  text-align: center;
}

.page-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- 2. Board Member Grid --- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 0 24px;
}

.board-card {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.board-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.board-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1b1f;
  margin-bottom: 4px;
}

.board-card .board-title {
  font-size: 14px;
  color: #036;
  font-weight: 600;
  margin-bottom: 4px;
}

.board-card .board-org {
  font-size: 13px;
  color: #5d6c7b;
}

/* --- 3. Board Member Photo --- */
.board-photo {
  width: 130px;
  height: 130px;
  min-width: 130px;
  min-height: 130px;
  max-width: 130px;
  max-height: 130px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: block;
  border: 3px solid #e2e2e2;
}

/* --- 4. Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a1b1f;
  margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  color: #1a1b1f;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  background: #fff;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #036;
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.12);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- 5. FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-item {
  border-bottom: 1px solid #e2e2e2;
}

.faq-item:first-child {
  border-top: 1px solid #e2e2e2;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a1b1f;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Lato', sans-serif;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #036;
}

.faq-question::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: #036;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.faq-item.active .faq-question::after,
.faq-item.open .faq-question::after {
  content: "\2212";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer,
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 15px;
  color: #5d6c7b;
  line-height: 1.7;
}

/* --- 6. Partner Page Grid --- */
.partners-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
  justify-items: center;
}

.partners-page-grid .partner-item {
  text-align: center;
}

.partners-page-grid .partner-item img {
  max-height: 80px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto 12px;
  transition: opacity 0.3s;
}

.partners-page-grid .partner-item img:hover {
  opacity: 0.8;
}

.partners-page-grid .partner-item p {
  font-size: 14px;
  font-weight: 600;
  color: #1a1b1f;
}

/* --- 7. Event List (Past Events page) --- */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-list-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s;
}

.event-list-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.event-list-item .event-list-date {
  flex-shrink: 0;
  width: 72px;
  text-align: center;
  background: #f5f7fa;
  border-radius: 6px;
  padding: 12px 8px;
}

.event-list-item .event-list-date .day {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #036;
  line-height: 1;
}

.event-list-item .event-list-date .month {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #5d6c7b;
  text-transform: uppercase;
  margin-top: 4px;
}

.event-list-item .event-list-date .year {
  display: block;
  font-size: 12px;
  color: #919191;
}

.event-list-item .event-list-info {
  flex: 1;
}

.event-list-item .event-list-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1b1f;
  margin-bottom: 6px;
}

.event-list-item .event-list-info .event-list-speakers {
  font-size: 14px;
  color: #5d6c7b;
  margin-bottom: 12px;
}

.event-list-item .event-list-info .event-list-link {
  font-size: 13px;
  font-weight: 700;
  color: #036;
  transition: color 0.2s;
}

.event-list-item .event-list-info .event-list-link:hover {
  color: #1a1b1f;
  text-decoration: underline;
}

/* --- 8. Youth/Committee Member List --- */
.committee-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.committee-member {
  padding: 16px 20px;
  background: #f5f7fa;
  border-radius: 6px;
  border-left: 3px solid #036;
}

.committee-member h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1b1f;
  margin-bottom: 2px;
}

.committee-member p {
  font-size: 13px;
  color: #5d6c7b;
}

/* --- 9. Content Pages (Mission, Historique, Fondation) --- */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.content-page .lead {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #333;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 48px;
}

.content-page h2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1a1b1f;
  margin-bottom: 20px;
  margin-top: 48px;
}

.content-page h2:first-child {
  margin-top: 0;
}

.content-page h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1b1f;
  margin-bottom: 12px;
  margin-top: 32px;
}

.content-page p {
  font-size: 17px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-page ul,
.content-page ol {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}

.content-page li {
  font-size: 17px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 6px;
}

.tagline {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  color: #036;
  border-left: 4px solid #a4c400;
  padding: 24px 32px;
  margin: 48px 0;
  background: #f5f7fa;
  border-radius: 0 6px 6px 0;
  line-height: 1.5;
}

.highlight-box {
  background: #f5f7fa;
  border-left: 4px solid #036;
  border-radius: 0 8px 8px 0;
  padding: 24px 32px;
  margin: 32px 0;
}

.highlight-box p {
  font-size: 17px;
  line-height: 1.8;
  color: #1a1b1f;
  margin-bottom: 0;
}

.cta-box {
  text-align: center;
  padding: 48px 32px;
  margin: 48px 0;
  background-image: linear-gradient(#003366e6, #003366e6), url(images/hero/imageHero_accueil.jpg);
  background-position: 0 0, center;
  background-size: auto, cover;
  border-radius: 12px;
}

.cta-box h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #f9f9f9;
  margin-bottom: 20px;
  margin-top: 0;
}

.cta-box .secondary_btn {
  border-color: #f60;
  color: #f9f9f9;
}

/* --- 10. Utility Classes --- */
.text-center {
  text-align: center;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* ============================================================
   SUBPAGE RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .board-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 40px 24px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .board-photo {
    width: 120px;
    height: 120px;
  }

  .partners-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .event-list-item {
    flex-direction: column;
    gap: 16px;
  }

  .event-list-item .event-list-date {
    width: auto;
    display: flex;
    gap: 6px;
    align-items: baseline;
    padding: 8px 12px;
  }

  .committee-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-page {
    padding: 40px 24px;
  }

  .content-page h2 {
    font-size: 22px;
  }

  .tagline {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .board-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .partners-page-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .committee-list {
    grid-template-columns: 1fr;
  }
}
