/* AGSL GRUGIES SPORTS LOISIRS - Design System Officiel (Association Loi 1901) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy: #0E2335;
  --navy-dark: #081724;
  --teal: #00A3E0;
  --teal-dark: #0082b3;
  --coral: #E54838;
  --coral-dark: #c93b2d;
  --canvas: #F4F6F8;
  --white: #FFFFFF;
  --text-slate: #1A1A1A;
  --text-muted: #536270;
  --border-light: #E2E8F0;
  --font-heading: 'Montserrat', 'Oswald', Arial, sans-serif;
  --font-body: 'Open Sans', 'Roboto', sans-serif;
  --shadow-sm: 0 2px 4px rgba(14, 35, 53, 0.06);
  --shadow-md: 0 4px 12px rgba(14, 35, 53, 0.08);
  --shadow-lg: 0 8px 24px rgba(14, 35, 53, 0.12);
  --radius-sm: 2px;
  --radius-md: 4px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-slate);
  background-color: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

a:hover {
  color: var(--teal-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
  font-weight: 800;
}

h1 { font-size: 2.5rem; margin-bottom: 1.25rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1.25rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Top Administrative Utility Strip */
.top-utility-strip {
  background-color: var(--navy);
  color: #B2C4D2;
  font-size: 0.8125rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
}

.top-utility-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.utility-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  color: #E2ECF3;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.utility-legal-link {
  color: #B2C4D2;
  font-size: 0.8125rem;
  font-weight: 600;
}

.utility-legal-link:hover {
  color: #FFFFFF;
}

.btn-donate-strip {
  background-color: var(--coral);
  color: var(--white) !important;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-donate-strip:hover {
  background-color: var(--coral-dark);
  transform: translateY(-1px);
}

/* Main Navigation Bar */
.main-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--border-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.75rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-item:hover .nav-link {
  color: var(--teal);
  background-color: rgba(0, 163, 224, 0.06);
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--teal);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  list-style: none;
  z-index: 1001;
}

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

.dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.dropdown-link:hover {
  background-color: var(--canvas);
  color: var(--teal);
  border-left-color: var(--teal);
  padding-left: 1.45rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--navy);
  margin: 4px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  text-align: center;
  border: none;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white) !important;
}

.btn-primary:hover {
  background-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 163, 224, 0.3);
}

.btn-coral {
  background-color: var(--coral);
  color: var(--white) !important;
}

.btn-coral:hover {
  background-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 72, 56, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy) !important;
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background-color: var(--navy);
  color: var(--white) !important;
}

.btn-white {
  background-color: var(--white);
  color: var(--navy) !important;
}

.btn-white:hover {
  background-color: var(--canvas);
}

/* Hero Section */
.hero-banner {
  position: relative;
  background-color: var(--navy);
  color: var(--white);
  padding: 4rem 0 4.5rem;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.85);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 35, 53, 0.95) 0%, rgba(14, 35, 53, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-tag {
  display: inline-block;
  background-color: var(--teal);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.hero-title {
  color: var(--white);
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-summary-2sent {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #E2ECF3;
  margin-bottom: 2rem;
  font-weight: 500;
  border-left: 4px solid var(--teal);
  padding-left: 1.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page Header */
.page-header {
  background-color: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  border-bottom: 4px solid var(--teal);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-header-subtitle {
  color: #B2C4D2;
  font-size: 1.125rem;
  max-width: 760px;
  line-height: 1.6;
}

/* Notre Engagement & Mission Callout (150+ words block) */
.statutory-callout {
  background-color: var(--white);
  border-left: 6px solid var(--teal);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2rem 2.25rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-sm);
}

.statutory-callout-title {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.statutory-callout-title::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--coral);
}

.statutory-callout-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-slate);
  margin-bottom: 0;
}

/* Reinvestment Quote Box */
.statutory-quote {
  background: rgba(0, 163, 224, 0.08);
  border: 1px dashed var(--teal);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-weight: 600;
  color: var(--navy);
  font-style: italic;
  text-align: center;
}

/* Cards & Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin: 2.5rem 0;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  border-top: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card-coral {
  border-top-color: var(--coral);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  margin: -2rem -1.75rem 1.5rem;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.04);
}

.card-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  background: var(--canvas);
  color: var(--navy);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.card-body {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  flex-grow: 1;
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Teal Quick Action Banner with form */
.teal-banner {
  background-color: var(--teal);
  color: var(--white);
  padding: 3.5rem 0;
  margin: 3.5rem 0;
  border-radius: var(--radius-sm);
}

.teal-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.teal-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
}

.teal-banner-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.teal-banner-form input {
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  flex: 1;
  min-width: 240px;
  background-color: var(--white);
  color: var(--text-slate);
}

/* 5-Column Circular Updates Section */
.circular-updates-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
  text-align: center;
}

.circular-update-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circular-badge-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.circular-update-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.circular-update-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Campaign Split Grid */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3.5rem 0;
}

.split-grid-img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--coral);
}

/* Content Sections */
.content-section {
  padding: 4rem 0;
}

.section-title-wrap {
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.text-block {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 2rem;
}

.text-block h3 {
  color: var(--navy);
  border-bottom: 2px solid var(--canvas);
  padding-bottom: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.text-block h3:first-child {
  margin-top: 0;
}

.text-block ul, .text-block ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.text-block li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Visual Data Table */
.data-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.data-table th {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 1rem 1.25rem;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-slate);
}

.data-table tr:nth-child(even) {
  background-color: var(--canvas);
}

.data-table tr:hover {
  background-color: rgba(0, 163, 224, 0.05);
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: rgba(0, 163, 224, 0.15);
  color: var(--teal-dark);
}

.status-badge-active {
  background-color: #E6F6ED;
  color: #107C41;
}

/* Forms */
.form-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--teal);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  background-color: var(--canvas);
  color: var(--text-slate);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  background-color: var(--white);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Master Footer */
.master-footer {
  background-color: var(--navy);
  color: #B2C4D2;
  padding: 4.5rem 0 0;
  border-top: 4px solid var(--teal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--teal);
}

.footer-text {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer-meta-item {
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
  color: #8CA3B5;
}

.footer-meta-item strong {
  color: #E2ECF3;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #B2C4D2;
  font-size: 0.875rem;
  transition: color 0.15s ease, padding-left 0.15s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--teal);
  padding-left: 4px;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-input {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.875rem;
}

.footer-input::placeholder {
  color: #71879B;
}

.footer-input:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.1);
}

/* Mandatory Legal Notice Strip */
.footer-legal-strip {
  background-color: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #7A90A3;
}

.footer-legal-strip strong {
  color: #C8D8E5;
}

/* Timeline Components */
.timeline {
  position: relative;
  margin: 2.5rem 0;
  padding-left: 2rem;
  border-left: 3px solid var(--teal);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-marker {
  position: absolute;
  left: -2.7rem;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--white);
  border: 4px solid var(--coral);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--coral);
  margin-bottom: 0.35rem;
}

/* Mobile Breakpoints */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .card-grid-3, .card-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  
  .circular-updates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .top-utility-strip .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .utility-left, .utility-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
    border-top: 2px solid var(--border-light);
    padding: 1rem;
    gap: 0.25rem;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--teal);
    padding-left: 1rem;
    margin: 0.5rem 0 0.5rem 0.5rem;
  }
  
  .card-grid, .card-grid-3, .card-grid-4, .circular-updates-grid, .footer-grid {
    grid-template-columns: 1fr !important;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .statutory-callout {
    padding: 1.5rem 1.25rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}
