/* ==========================================================================
   LES ENFANTS DE YAYHE - ASSOCIATION LOI 1901
   DESIGN SYSTEM & STYLESHEET ARCHITECTURE (2026)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --navy: #0E2335;
  --teal: #00A3E0;
  --coral: #E54838;
  --canvas: #F4F6F8;
  --white: #FFFFFF;
  --slate: #1A1A1A;
  --muted: #4A5568;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(14, 35, 53, 0.08);
  --shadow-md: 0 4px 12px rgba(14, 35, 53, 0.10);
  --shadow-lg: 0 10px 25px rgba(14, 35, 53, 0.12);
}

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

body {
  font-family: 'Open Sans', 'Roboto', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background-color: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

h1 { font-size: 2.35rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1.25rem;
  color: #2D3748;
}

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

a:hover {
  color: #0081b3;
}

/* ==========================================================================
   TOP ADMINISTRATIVE UTILITY STRIP (#0E2335)
   ========================================================================== */
.admin-utility-strip {
  background-color: var(--navy);
  color: #E2E8F0;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.utility-badge {
  display: inline-block;
  background: rgba(0, 163, 224, 0.2);
  color: #63d2ff;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-right a {
  color: #CBD5E0;
  font-size: 13px;
}

.utility-right a:hover {
  color: var(--white);
}

.btn-donate-strip {
  background-color: var(--coral) !important;
  color: var(--white) !important;
  padding: 6px 14px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.btn-donate-strip:hover {
  background-color: #cb3829 !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   MAIN NAVIGATION BAR (#FFFFFF)
   ========================================================================== */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--border);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.brand-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 3px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 14px;
  min-height: 44px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--teal);
  background-color: #F8FAFC;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: 0 0 2px 2px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 8px 0;
  display: none;
  z-index: 1001;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: block;
}

.dropdown-item a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: background-color 0.15s, color 0.15s;
}

.dropdown-item a:hover {
  background-color: #F0F7FB;
  color: var(--teal);
  padding-left: 22px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 2px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--navy);
  margin: 4px 0;
  transition: 0.3s;
}

/* ==========================================================================
   LAYOUT CONTAINERS & GRIDS
   ========================================================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-section {
  padding: 48px 0;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

/* ==========================================================================
   CARD SYSTEM & ELEVATIONS
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  border-top: 4px solid var(--teal);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.card-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 18px;
  background-color: #E2E8F0;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  background-color: #E6F6FB;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

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

.card-body {
  font-size: 15.5px;
  color: #4A5568;
  flex-grow: 1;
}

/* ==========================================================================
   HERO BANNER & TEAL ACCENT BANNERS
   ========================================================================== */
.hero-wrapper {
  position: relative;
  background-color: var(--navy);
  color: var(--white);
  padding: 65px 0 55px;
  border-bottom: 4px solid var(--teal);
  overflow: hidden;
}

.hero-banner-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 2px;
  margin-top: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-title {
  color: var(--white);
  font-size: 2.8rem;
  max-width: 900px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-summary {
  font-size: 18px;
  line-height: 1.6;
  color: #E2E8F0;
  max-width: 860px;
  margin-bottom: 26px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  min-height: 46px;
  border-radius: 2px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

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

.btn-primary:hover {
  background-color: #0087ba;
  color: var(--white);
}

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

.btn-coral:hover {
  background-color: #cb3829;
  color: var(--white);
}

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

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

/* Callout Box: Notre Engagement & Mission Institutionnelle */
.callout-mission {
  background-color: var(--white);
  border-left: 6px solid var(--teal);
  border-radius: 2px;
  padding: 30px;
  margin: 35px 0;
  box-shadow: var(--shadow-md);
}

.callout-mission h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.callout-mission p {
  color: #334155;
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Teal Input Banner */
.teal-action-banner {
  background: linear-gradient(135deg, var(--teal) 0%, #0077a8 100%);
  color: var(--white);
  padding: 45px 30px;
  border-radius: 2px;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
}

.teal-action-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.teal-action-banner p {
  color: #E0F2FE;
  margin-bottom: 24px;
  max-width: 780px;
}

.teal-form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.teal-input {
  flex: 1;
  min-width: 240px;
  padding: 12px 18px;
  font-size: 15px;
  border: none;
  border-radius: 2px;
  background-color: var(--white);
  color: var(--slate);
}

/* Circular Updates Section */
.circle-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle-img-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  border: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
}

.circle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-title {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.circle-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* Data Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.data-table th {
  background-color: var(--navy);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 2px solid var(--teal);
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: #334155;
}

.data-table tr:nth-child(even) td {
  background-color: #F8FAFC;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 16px;
  font-family: inherit;
  background-color: var(--white);
  color: var(--slate);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.15);
}

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

/* Statutory Block */
.statutory-transparency-box {
  background-color: #F0F4F8;
  border: 1px solid #D9E2EC;
  border-radius: 2px;
  padding: 28px;
  margin: 40px 0;
}

.statutory-quote {
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  border-left: 4px solid var(--coral);
  padding-left: 18px;
  margin: 16px 0;
  font-size: 1.05rem;
}

/* ==========================================================================
   MASTER FOOTER (#0E2335)
   ========================================================================== */
.site-footer {
  background-color: var(--navy);
  color: #CBD5E0;
  padding-top: 55px;
  border-top: 4px solid var(--teal);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 45px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 1.5fr;
  gap: 36px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 8px;
  display: inline-block;
}

.footer-col p {
  color: #A0AEC0;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 12px;
}

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

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: #CBD5E0;
  font-size: 14.5px;
  display: inline-block;
  min-height: 28px;
  transition: color 0.15s, padding-left 0.15s;
}

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

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-input {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-radius: 2px;
  font-size: 14px;
}

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

/* Bottom Legal Strip */
.footer-legal-strip {
  background-color: #081622;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  color: #94A3B8;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
}

.legal-strip-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .header-container {
    height: 70px;
  }
  
  .nav-link {
    padding: 10px 10px;
    font-size: 12.5px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .grid-4, .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .utility-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .utility-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    gap: 0;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-item {
    width: 100%;
    border-bottom: 1px solid #EDF2F7;
  }
  
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    min-height: 44px;
    font-size: 14px;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--teal);
    background-color: #F8FAFC;
    margin-bottom: 10px;
    display: block;
    padding: 4px 0;
  }
  
  /* Mandatory Multi-Column Collapse to Single Column */
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  
  .hero-title {
    font-size: 1.85rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}
