/* ===== VARIABLES ===== */
:root {
  --green-dark:   #006633;
  --green-mid:    #008C44;
  --green-light:  #2aad5e;
  --gold:         #D4A017;
  --gold-light:   #F0C040;
  --white:        #ffffff;
  --off-white:    #f5f7f2;
  --text-dark:    #1a1a1a;
  --text-mid:     #444;
  --shadow:       0 4px 24px rgba(0,0,0,0.18);
  --radius:       6px;
  --header-h:     72px;
  --font-display: 'Oswald', sans-serif;
  --font-body:    'Source Serif 4', Georgia, serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--white); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--green-dark);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: var(--header-h);
}
.logo-adc { height: 70px; width: auto; }
.header-gold-bar { height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); }

.main-nav ul { display: flex; gap: 0.25rem; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); padding: 0.5rem 0.9rem;
  border-radius: var(--radius); transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--green-light); color: var(--white);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher { display: flex; align-items: center; gap: 0.3rem; margin-left: 0.5rem; padding-left: 0.75rem; border-left: 1px solid rgba(255,255,255,0.25); }
.lang-link { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); padding: 0.3rem 0.4rem; border-radius: 4px; transition: background 0.2s, color 0.2s; }
.lang-link:hover { color: white; }
.lang-link.active { color: var(--gold-light); font-weight: 600; }
.lang-sep { color: rgba(255,255,255,0.35); font-size: 0.75rem; }

/* ===== MAIN ===== */
main { padding-top: var(--header-h); }

/* ===== HERO (index) ===== */
.hero {
  position: relative; min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--green-dark);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,60,30,0.82) 0%, rgba(0,40,20,0.55) 60%, rgba(0,0,0,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 4rem 2rem;
}
.hero-logo-block {
  background: rgba(255,255,255,0.95);
  padding: 2rem 2.5rem; border-radius: var(--radius);
  text-align: center;
}
.hero-rap-logo { height: 90px; margin: 0 auto 1rem; }
.hero-subtitle {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--green-dark);
  line-height: 1.5;
}
.hero-text-block p {
  font-family: var(--font-body); font-size: 1.15rem; color: white;
  line-height: 1.8; text-align: justify;
}
.hero-tagline {
  position: relative; z-index: 2;
  background: var(--green-dark); color: white;
  text-align: center; padding: 1rem;
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.05em;
}

/* ===== HIGHLIGHTS (index) ===== */
.highlights { padding: 4rem 2rem; background: var(--off-white); }
.container { max-width: 1200px; margin: 0 auto; }
.highlight-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.highlight-card {
  background: white; border-radius: var(--radius);
  padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem;
  border-top: 4px solid var(--green-mid);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.highlight-num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  color: var(--green-light); line-height: 1;
}
.highlight-card h3 { font-family: var(--font-display); font-size: 1rem; color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.05em; }
.highlight-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; flex: 1; }
.highlight-arrow { font-size: 1.2rem; color: var(--gold); font-weight: 700; align-self: flex-end; }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: var(--green-dark); color: white;
  padding: 3rem 2rem 2rem;
  display: flex; align-items: flex-end; gap: 2rem;
  min-height: 180px; position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.page-header-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.2;
}
.page-header-content { position: relative; z-index: 1; max-width: 1200px; width: 100%; margin: 0 auto; }
.page-header h1 {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.75rem;
}
.page-header h1::after { content: '▶'; font-size: 1rem; color: var(--gold); }

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.section-title a { color: var(--green-dark); }
.section-title a:hover { color: var(--green-light); }

/* ===== A PROPOS PAGE ===== */
.apropos-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.apropos-left { background: white; padding: 3rem 2.5rem; }
.apropos-right {
  background-size: cover; background-position: center;
  background-color: var(--green-dark);
  min-height: 500px;
}
.apropos-dropdown { margin-bottom: 0.5rem; }
.apropos-dropdown-nav {
  display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem;
}
.dropdown-btn {
  background: var(--green-mid); color: white;
  border: none; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.75rem 1.5rem;
  cursor: pointer; text-align: center; transition: background 0.2s;
  display: block; width: 100%; max-width: 300px;
}
.dropdown-btn:hover, .dropdown-btn.active { background: var(--green-dark); }

.content-block { margin-bottom: 2rem; }
.content-block p {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.8;
  text-align: justify;
}
.content-block .read-more {
  color: var(--green-mid); font-style: italic; font-size: 0.9rem; cursor: pointer;
}
.content-block .read-more:hover { text-decoration: underline; }

/* ===== ACTUALITES PAGE ===== */
.media-grid-top {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: #ddd;
}
.media-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--green-dark);
  cursor: pointer;
}
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.media-card:hover img { transform: scale(1.05); }
.media-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,60,20,0.9) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem;
}
.media-card-overlay h3 {
  font-family: var(--font-display); font-size: 1rem; color: white;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.media-card-overlay p { font-size: 0.75rem; color: rgba(255,255,255,0.85); line-height: 1.5; }
.media-card-overlay .read-more { color: var(--gold-light); font-style: italic; font-size: 0.8rem; }

.media-grid-bottom {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: #ddd; margin-top: 1px;
}
.media-card-sm { aspect-ratio: 4/3; }
.media-card-sm .media-card-overlay h3 { font-size: 0.75rem; }

/* ===== PERFORMANCES PAGE ===== */
.perf-layout {
  display: grid; grid-template-columns: 1fr 1.5fr;
  min-height: 70vh;
}
.perf-left { background: white; padding: 3rem 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.perf-btn {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--green-mid); color: white; border-radius: 999px;
  padding: 1rem 1.5rem; cursor: pointer; transition: background 0.2s;
  border: none; text-align: left; width: 100%;
}
.perf-btn:hover, .perf-btn.active { background: var(--green-dark); }
.perf-btn-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--gold-light); min-width: 3rem;
}
.perf-btn-label { font-family: var(--font-display); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; line-height: 1.3; }
.perf-right { display: grid; grid-template-rows: repeat(4, 1fr); gap: 1px; background: #ddd; }
.perf-img-slot { overflow: hidden; background: var(--green-dark); }
.perf-img-slot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.perf-img-slot:hover img { transform: scale(1.04); }
.perf-content-panel { padding: 3rem 2.5rem; }
.perf-content-panel h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-dark); margin-bottom: 1rem; text-transform: uppercase; }
.perf-content-panel p { font-size: 0.95rem; line-height: 1.8; color: var(--text-mid); }

/* ===== CONTACTS PAGE ===== */
.contacts-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.contacts-left { background: white; padding: 3rem 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.contacts-logo { max-width: 280px; }
.faq-icon { font-size: 4rem; }
.contacts-right {
  background-size: cover; background-position: center;
  background-color: #1a1a2e; position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 2.5rem;
}
.contacts-right-overlay {
  position: absolute; inset: 0;
  background: rgba(0,40,20,0.7);
}
.contacts-right-content { position: relative; z-index: 1; }
.contacts-right h2 {
  font-family: var(--font-display); font-size: 1.8rem; color: white;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2rem;
}
.contacts-link {
  display: block; color: var(--gold-light);
  font-family: var(--font-display); font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 1.5rem; transition: color 0.2s;
}
.contacts-link::after { content: ' ▶'; font-size: 0.8rem; }
.contacts-link:hover { color: white; }

/* Newsletter form */
.newsletter-form {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.newsletter-form label { font-family: var(--font-display); color: white; font-size: 0.9rem; letter-spacing: 0.05em; }
.newsletter-form input[type="email"] {
  padding: 0.75rem 1rem; border-radius: var(--radius);
  border: 2px solid var(--green-light); font-size: 0.95rem;
  width: 100%; outline: none; background: rgba(255,255,255,0.95);
}
.newsletter-form input[type="email"]:focus { border-color: var(--gold); }
.btn-newsletter {
  background: var(--gold); color: var(--green-dark);
  border: none; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.85rem 1.5rem; cursor: pointer;
  align-self: flex-start; transition: background 0.2s;
}
.btn-newsletter:hover { background: var(--gold-light); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 600px; margin: 2rem auto 0; }
.contact-form input, .contact-form textarea, .contact-form select {
  padding: 0.75rem 1rem; border-radius: var(--radius);
  border: 1.5px solid #ddd; font-size: 0.95rem; font-family: var(--font-body);
  outline: none; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green-mid); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  background: var(--green-mid); color: white;
  border: none; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 0.07em; padding: 0.9rem 2rem; cursor: pointer;
  align-self: flex-start; transition: background 0.2s;
}
.btn-submit:hover { background: var(--green-dark); }
.form-message { padding: 1rem; border-radius: var(--radius); font-size: 0.9rem; }
.form-message.success { background: #e8f7ee; color: var(--green-dark); border: 1px solid var(--green-light); }
.form-message.error   { background: #fdecea; color: #c0392b; border: 1px solid #e88; }

/* ===== PARTNERS BAR ===== */
.partners-bar {
  background: var(--green-dark); text-align: center; padding: 0.75rem;
}
.partners-toggle {
  background: var(--gold); color: var(--green-dark);
  border: none; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.07em; padding: 0.5rem 1.5rem; cursor: pointer;
  transition: background 0.2s;
}
.partners-toggle:hover { background: var(--gold-light); }
.partners-logos {
  display: none; gap: 2rem; justify-content: center; align-items: center;
  padding: 1rem; flex-wrap: wrap;
}
.partners-bar.open .partners-logos { display: flex; }
.partner-name {
  font-family: var(--font-display); font-size: 0.9rem; color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
.site-footer { background: #0a2a10; color: rgba(255,255,255,0.75); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 2.5rem 2rem;
}
.footer-logo { height: 60px; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.8rem; line-height: 1.5; color: rgba(255,255,255,0.6); }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.8rem; color: white;
  transition: border-color 0.2s, background 0.2s;
}
.social-btn:hover { border-color: var(--gold); background: rgba(212,160,23,0.15); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; padding: 1rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid-top { grid-template-columns: repeat(2, 1fr); }
  .media-grid-bottom { grid-template-columns: repeat(3, 1fr); }
  .apropos-layout, .contacts-layout, .perf-layout { grid-template-columns: 1fr; }
  .apropos-right, .contacts-right { min-height: 300px; }
  .perf-right { grid-template-rows: repeat(4, 200px); }
}

@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--green-dark); padding: 1rem; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .nav-toggle { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .hero-content { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; }
  .media-grid-top { grid-template-columns: 1fr; }
  .media-grid-bottom { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { align-items: center; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content, .page-header-content, .highlight-card {
  animation: fadeUp 0.6s ease both;
}
.highlight-card:nth-child(1) { animation-delay: 0.1s; }
.highlight-card:nth-child(2) { animation-delay: 0.2s; }
.highlight-card:nth-child(3) { animation-delay: 0.3s; }
.highlight-card:nth-child(4) { animation-delay: 0.4s; }
