/* ============================================================
   ONMC Congo — Global CSS
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --background:       hsl(150, 8%, 97%);
  --foreground:       hsl(168, 19%, 15%);

  --card:             hsl(0, 0%, 100%);
  --card-foreground:  hsl(168, 19%, 15%);

  --primary:          hsl(160, 73%, 22%);
  --primary-foreground: hsl(150, 20%, 94%);

  --secondary:        hsl(155, 50%, 36%);
  --secondary-foreground: hsl(0, 0%, 100%);

  --muted:            hsl(150, 12%, 94%);
  --muted-foreground: hsl(190, 8%, 40%);

  --accent:           hsl(155, 42%, 93%);
  --accent-foreground: hsl(160, 73%, 22%);

  --destructive:      hsl(0, 84%, 60%);
  --border:           hsl(150, 15%, 88%);
  --input:            hsl(150, 15%, 88%);

  --gold:             hsl(43, 52%, 54%);
  --gold-foreground:  hsl(168, 19%, 15%);
  --gold-light:       hsl(43, 55%, 68%);

  --radius:           0.75rem;
  --shadow-card:      0 4px 20px -4px hsl(160 73% 22% / 0.1);
  --shadow-elegant:   0 12px 30px -10px hsl(160 73% 22% / 0.15);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; line-height: 1.25; }
ul { list-style: none; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  border-radius: 9999px;
  padding: .6rem 1.5rem;
  transition: all .2s;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 2px solid transparent;
}
.btn-primary:hover { background: hsl(160, 73%, 19%); }

.btn-gold {
  background: var(--gold);
  color: var(--gold-foreground);
  border: 2px solid transparent;
  box-shadow: 0 4px 14px hsl(43 52% 54% / 0.35);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline-secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-outline-secondary:hover { background: var(--secondary); color: #fff; }

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-primary:hover { background: var(--primary); color: var(--primary-foreground); }

.btn-lg { padding: .85rem 2.5rem; font-size: 1rem; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.badge-gold { background: var(--gold); color: var(--gold-foreground); }
.badge-gold-outline { background: hsl(43 52% 54% / 0.1); color: var(--gold); border: 1px solid hsl(43 52% 54% / 0.3); }
.badge-primary-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.badge-primary-soft { background: hsl(160 73% 22% / 0.1); color: var(--primary); }
.badge-muted { background: var(--muted); color: var(--muted-foreground); border: 1px solid var(--border); }

/* ============================================================
   SHADOWS / CARDS
   ============================================================ */
.shadow-card    { box-shadow: var(--shadow-card); }
.shadow-elegant { box-shadow: var(--shadow-elegant); }
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.rounded-full { border-radius: 9999px; }

/* ============================================================
   GRADIENT UTILITIES
   ============================================================ */
.text-gradient-gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--primary);
  color: var(--primary-foreground);
  overflow: hidden;
  padding: .5rem 0;
  position: relative;
}
.marquee-wrapper { width: 100%; overflow: hidden; }
.marquee-content {
  display: inline-flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}
.marquee-content a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--primary-foreground);
  transition: color .2s;
}
.marquee-content a:hover { color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  box-shadow: 0 1px 10px hsl(160 73% 22% / 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
.header-logo img { height: 3.5rem; width: 3.5rem; object-fit: contain; }

.nav-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-cta {
  display: none;
  align-items: center;
  gap: .75rem;
}

.burger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem;
  color: var(--foreground);
}
.burger-btn svg { width: 1.5rem; height: 1.5rem; }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--card);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-family: 'Inter', sans-serif;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--foreground);
  padding: .5rem 0;
  transition: color .2s;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--primary); }
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: .5rem;
}
.mobile-nav-cta .btn { width: 100%; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .header-cta { display: flex; }
  .burger-btn { display: none; }
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--primary);
}
@media (min-width: 768px) { .hero-slider { height: 600px; } }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
  transform: scale(1.05);
}
.slide.active {
  opacity: 1;
  transform: scale(1);
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsl(160 73% 22% / 0.82), hsl(160 73% 22% / 0.55), hsl(160 73% 22% / 0.35));
}
.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
.slide-content h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  color: white;
  max-width: 56rem;
  margin-bottom: 1.5rem;
}
.slide-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.9);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(255,255,255,.35); }
.slider-arrow.prev { left: 1rem; }
.slider-arrow.next { right: 1rem; }

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: .5rem;
}
.slider-dot {
  height: .75rem;
  width: .75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.5);
  transition: all .3s;
  cursor: pointer;
}
.slider-dot.active {
  background: var(--gold);
  width: 2.5rem;
}

.hero-curve {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
}
.hero-curve svg { width: 100%; display: block; }

/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--primary);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  opacity: .3;
}
.page-hero-trapezoid {
  position: absolute;
  top: 0; left: 25%;
  width: 16rem; height: 12rem;
}
.page-hero-triangle-tr {
  position: absolute;
  top: 0; right: 0;
  width: 12rem; height: 12rem;
}
.page-hero-triangle-bl {
  position: absolute;
  bottom: 5rem; left: 0;
  width: 8rem; height: 8rem;
}
.page-hero-content {
  position: relative;
  z-index: 10;
  padding: 4rem 1.5rem 6rem;
  max-width: 1280px;
  margin: 0 auto;
}
.page-hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  max-width: 40rem;
  margin-bottom: 1rem;
}
.page-hero-content p {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
}
.page-hero-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.page-hero-nav-btn {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
}
.page-hero-nav-btn:hover { background: rgba(255,255,255,.4); transform: scale(1.1); }
.page-hero-announcement {
  color: rgba(255,255,255,.9);
  font-size: .875rem;
  max-width: 28rem;
}
.page-hero-curve {
  display: none;
}
.page-hero-curve svg { width: 100%; display: block; }

/* ============================================================
   KPI CARDS
   ============================================================ */
.kpi-section {
  padding: 4rem 0 5rem;
  background: var(--accent);
  position: relative;
  overflow: hidden;
}
.kpi-deco-1 {
  position: absolute;
  top: 0; left: 0;
  width: 16rem; height: 16rem;
  background: hsl(160 73% 22% / 0.05);
  border-radius: 9999px;
  transform: translate(-50%, -50%);
}
.kpi-deco-2 {
  position: absolute;
  bottom: 0; right: 0;
  width: 20rem; height: 20rem;
  background: hsl(43 52% 54% / 0.05);
  border-radius: 9999px;
  transform: translate(33%, 33%);
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 1024px) {
  .kpi-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.kpi-card {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
@media (min-width: 768px) { .kpi-card { padding: 2rem; } }
.kpi-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px hsl(160 73% 22% / 0.2);
}
.kpi-icon-wrap {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsl(160 73% 22% / 0.1), hsl(155 50% 36% / 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background .3s;
}
.kpi-card:hover .kpi-icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.kpi-icon-wrap svg { width: 1.75rem; height: 1.75rem; color: var(--primary); transition: color .3s; }
.kpi-card:hover .kpi-icon-wrap svg { color: white; }
.kpi-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--primary);
  margin-bottom: .25rem;
}
.kpi-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  color: var(--foreground);
}
@media (min-width: 768px) { .kpi-label { font-size: 1rem; } }
.kpi-desc {
  font-size: .75rem;
  color: var(--muted-foreground);
  margin-top: .25rem;
}
@media (min-width: 768px) { .kpi-desc { font-size: .875rem; } }
.kpi-curve {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.kpi-curve svg { width: 100%; display: block; }

/* ============================================================
   PRESIDENT MESSAGE
   ============================================================ */
.president-section {
  padding: 4rem 0 5rem;
  background: var(--background);
  position: relative;
  overflow: hidden;
}
.president-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .president-grid {
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
  }
}
.president-photo-wrap {
  display: flex;
  justify-content: center;
}
.president-photo-inner {
  position: relative;
}
.president-photo-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 4px solid hsl(43 52% 54% / 0.3);
  transform: scale(1.1);
}
.president-photo {
  width: 16rem; height: 16rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-elegant);
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .president-photo { width: 20rem; height: 20rem; }
}
.president-photo img { width: 100%; height: 100%; object-fit: cover; }

.president-card {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
}
@media (min-width: 768px) { .president-card { padding: 2.5rem; } }
.president-quote-icon {
  position: absolute;
  top: -1.5rem;
  left: -1rem;
}
@media (min-width: 768px) { .president-quote-icon { left: -1.5rem; } }
.president-quote-icon-inner {
  width: 3rem; height: 3rem;
  background: var(--gold);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px hsl(43 52% 54% / .4);
}
@media (min-width: 768px) {
  .president-quote-icon-inner { width: 4rem; height: 4rem; }
}
.president-quote-icon-inner svg { width: 1.5rem; height: 1.5rem; color: var(--gold-foreground); }
@media (min-width: 768px) { .president-quote-icon-inner svg { width: 2rem; height: 2rem; } }
.president-quote {
  font-style: italic;
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1rem;
}
@media (min-width: 768px) { .president-quote { font-size: 1.125rem; } }
.president-quote p { margin-bottom: 1rem; }
.president-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
  border-radius: 9999px;
  margin: 2rem 0 1.5rem;
}
.president-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--foreground);
  text-align: right;
}
.president-title-text {
  font-size: .875rem;
  color: var(--muted-foreground);
  text-align: right;
}
.president-section-curve {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.president-section-curve svg { width: 100%; display: block; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 4rem 0 5rem;
  background: var(--background);
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.about-badge {
  display: inline-block;
  padding: .5rem 1rem;
  background: hsl(43 52% 54% / .1);
  color: var(--gold);
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.about-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}
.about-section h2 span { color: var(--primary); }
.about-lead {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.about-sub {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.missions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.mission-card {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
  transition: all .3s;
  cursor: pointer;
}
.mission-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-elegant);
  border-color: hsl(43 52% 54% / .2);
}
.mission-icon-wrap {
  width: 3rem; height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsl(160 73% 22% / .1), hsl(43 52% 54% / .1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background .3s;
}
.mission-card:hover .mission-icon-wrap { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.mission-icon-wrap svg { width: 1.5rem; height: 1.5rem; color: var(--primary); transition: color .3s; }
.mission-card:hover .mission-icon-wrap svg { color: white; }
.mission-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--foreground);
  margin-bottom: .5rem;
  transition: color .3s;
}
.mission-card:hover h3 { color: var(--primary); }
.mission-card p { font-size: .875rem; color: var(--muted-foreground); line-height: 1.6; }
.about-curve {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.about-curve svg { width: 100%; display: block; }

/* ============================================================
   MEMBER BENEFITS
   ============================================================ */
.benefits-section {
  padding: 4rem 0 5rem;
  background: var(--accent);
  position: relative;
  overflow: hidden;
}
.benefits-header { text-align: center; margin-bottom: 3.5rem; }
.benefits-badge {
  display: inline-block;
  padding: .5rem 1.25rem;
  background: hsl(160 73% 22% / .1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.benefits-header h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: var(--foreground); margin-bottom: 1rem; }
.benefits-header p { font-size: 1.125rem; color: var(--muted-foreground); max-width: 40rem; margin: 0 auto; }
.benefits-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all .3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-elegant);
}
.benefit-icon-wrap {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.benefit-icon-wrap svg { width: 1.75rem; height: 1.75rem; color: white; }
.benefit-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--foreground);
  margin-bottom: .5rem;
  transition: color .3s;
}
.benefit-card:hover h3 { color: var(--primary); }
.benefit-card p { font-size: .875rem; color: var(--muted-foreground); line-height: 1.6; }
.benefits-cta { text-align: center; margin-top: 3rem; }
.benefits-curve {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.benefits-curve svg { width: 100%; display: block; }

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-section {
  padding: 4rem 0;
  background: var(--background);
  position: relative;
  overflow: hidden;
}
.news-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .news-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.news-badge {
  display: inline-block;
  padding: .5rem 1rem;
  background: hsl(43 52% 54% / .1);
  color: var(--gold);
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.news-header h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: var(--foreground); }
.news-header h2 span { color: var(--primary); }
.news-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.news-filter-btn {
  padding: .4rem 1rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
  border: none;
  cursor: pointer;
  background: var(--muted);
  color: var(--muted-foreground);
}
.news-filter-btn:hover { background: var(--accent); }
.news-filter-btn.active { background: var(--primary); color: white; box-shadow: 0 4px 10px hsl(160 73% 22% / .3); }
.news-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card {
  background: var(--card);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all .3s;
  cursor: pointer;
}
.news-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-elegant); }
.news-card-img-wrap { position: relative; height: 13rem; overflow: hidden; }
.news-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card-img-wrap img { transform: scale(1.1); }
.news-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
}
.news-card-badge {
  position: absolute;
  top: 1rem; left: 1rem;
}
.news-card-body { padding: 1.5rem; }
.news-card-meta { display: flex; align-items: center; gap: 1rem; font-size: .75rem; color: var(--muted-foreground); margin-bottom: .75rem; }
.news-card-meta span { display: flex; align-items: center; gap: .25rem; }
.news-card-meta svg { width: .875rem; height: .875rem; }
.news-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--foreground);
  margin-bottom: .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.news-card:hover .news-card-title { color: var(--primary); }
.news-card-excerpt { font-size: .875rem; color: var(--muted-foreground); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }
.news-card-read { display: flex; align-items: center; color: var(--primary); font-weight: 500; font-size: .875rem; gap: .5rem; }
.news-card-read svg { width: 1rem; height: 1rem; }
.news-view-all { text-align: center; margin-top: 3rem; }

/* ============================================================
   DOCUMENTATION SECTION
   ============================================================ */
.docs-section {
  padding: 4rem 0;
  background: var(--accent);
  position: relative;
  overflow: hidden;
}
.docs-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .docs-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.docs-badge {
  display: inline-block;
  padding: .5rem 1rem;
  background: hsl(160 73% 22% / .1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.docs-header h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: var(--foreground); margin-bottom: .75rem; }
.docs-header h2 span { color: var(--primary); }
.docs-header p { font-size: 1rem; color: var(--muted-foreground); max-width: 40rem; }
.docs-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .docs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .docs-grid { grid-template-columns: repeat(4, 1fr); } }
.docs-view-all { text-align: center; margin-top: 3rem; }

/* ── Document card ── */
.doc-card {
  background: var(--card);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all .3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 2px solid transparent;
}
.doc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elegant);
  border-color: hsl(43 52% 54% / .3);
}

.doc-card-preview {
  position: relative;
  height: 11rem;
  background: linear-gradient(135deg, hsl(160 73% 22% / .08), hsl(43 52% 54% / .12));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.doc-card-logo {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  transition: transform .3s;
}
.doc-card:hover .doc-card-logo { transform: scale(1.08); }

.doc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: .9rem;
  opacity: 0;
  transition: opacity .3s;
}
.doc-card:hover .doc-card-overlay { opacity: 1; }
.doc-card-dl-hint {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,.35);
  border-radius: 9999px;
  padding: .3rem .75rem;
}
.doc-card-dl-hint.doc-card-unavailable { background: rgba(0,0,0,.25); opacity: .8; }

.doc-card-body { padding: 1.25rem; }
.doc-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--foreground);
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.doc-card:hover .doc-card-title { color: var(--primary); }
.doc-card-desc {
  font-size: .8125rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .9rem;
}
.doc-card-action { display: flex; }
.doc-card-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
}
.doc-card-btn.doc-card-btn-disabled {
  color: var(--muted-foreground);
  font-weight: 500;
  font-style: italic;
  cursor: default;
}



.curved-divider { width: 100%; overflow: hidden; }
.curved-divider svg { display: block; width: 100%; }

/* ============================================================
   PAGE LAYOUT COMMON
   ============================================================ */
.page-main { padding: 3rem 0; }
.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--foreground);
}
.section-title span { color: var(--primary); }
.section-header-icon {
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: hsl(160 73% 22% / .1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.section-header-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.blog-tab-btn {
  padding: .5rem 1.5rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  transition: all .2s;
  cursor: pointer;
  border: none;
  background: var(--muted);
  color: var(--muted-foreground);
}
.blog-tab-btn:hover { background: var(--accent); }
.blog-tab-btn.active { background: var(--primary); color: white; }

.blog-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .blog-layout { grid-template-columns: 2fr 1fr; } }

.featured-grid { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .featured-grid { grid-template-columns: 1fr 1fr; } }
.featured-article {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  display: block;
}
.featured-article .aspect-43 { aspect-ratio: 4/3; }
.featured-article img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.featured-article:hover img { transform: scale(1.05); }
.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.4), transparent);
}
.featured-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
}
.featured-content h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  margin-bottom: .5rem;
  margin-top: .75rem;
  transition: color .2s;
}
.featured-article:hover .featured-content h3 { color: var(--gold); }
.featured-meta { display: flex; align-items: center; gap: 1rem; color: rgba(255,255,255,.8); font-size: .875rem; }
.featured-meta svg { width: 1rem; height: 1rem; }

.regular-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .regular-grid { grid-template-columns: 1fr 1fr; } }
.regular-article { background: var(--card); border-radius: 1rem; overflow: hidden; box-shadow: 0 1px 5px rgba(0,0,0,.07); transition: box-shadow .2s; display: block; }
.regular-article:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.regular-article .aspect-video { aspect-ratio: 16/9; overflow: hidden; }
.regular-article img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.regular-article:hover img { transform: scale(1.05); }
.regular-article-body { padding: 1.5rem; }
.regular-article h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--foreground);
  margin: .75rem 0 .5rem;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.regular-article:hover h3 { color: var(--primary); }
.regular-article p { font-size: .875rem; color: var(--muted-foreground); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }
.regular-article-foot { display: flex; justify-content: space-between; align-items: center; font-size: .8125rem; color: var(--muted-foreground); }

.blog-sidebar { position: sticky; top: 6rem; }
.blog-sidebar-card { background: var(--card); border-radius: 1rem; padding: 1.5rem; box-shadow: 0 1px 5px rgba(0,0,0,.07); }
.sidebar-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.0625rem; color: var(--foreground); padding-bottom: .75rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.popular-list { display: flex; flex-direction: column; gap: 1rem; }
.popular-item { display: flex; gap: 1rem; }
.popular-num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; color: hsl(43 52% 54% / .5); flex-shrink: 0; }
.popular-item h4 { font-size: .875rem; font-weight: 500; color: var(--foreground); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.popular-item:hover h4 { color: var(--primary); }
.popular-item span { font-size: .75rem; color: var(--muted-foreground); }
.newsletter-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.newsletter-desc { font-size: .875rem; color: var(--muted-foreground); margin-bottom: 1rem; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: 2rem; }
.page-btn {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  transition: all .2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.page-btn svg { width: 1rem; height: 1rem; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 500; color: var(--foreground); margin-bottom: .5rem; }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: .6rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: .75rem;
  background: var(--background);
  color: var(--foreground);
  font-size: .875rem;
  font-family: 'Inter', sans-serif;
  transition: border-color .2s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(160 73% 22% / .1);
}
.form-textarea { min-height: 9rem; resize: vertical; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 2fr 1fr; } }
.contact-form-card { background: var(--card); border-radius: 1.25rem; padding: 2rem; box-shadow: 0 1px 5px rgba(0,0,0,.07); }
.contact-form-icon { width: 3rem; height: 3rem; border-radius: 9999px; background: hsl(160 73% 22% / .1); display: flex; align-items: center; justify-content: center; }
.contact-form-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.contact-form-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.contact-form-header h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--foreground); }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card { background: var(--card); border-radius: 1.25rem; padding: 1.25rem; box-shadow: 0 1px 5px rgba(0,0,0,.07); display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-icon { width: 2.75rem; height: 2.75rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon.primary-bg { background: hsl(160 73% 22% / .1); }
.contact-info-icon.primary-bg svg { color: var(--primary); }
.contact-info-icon.gold-bg { background: hsl(43 52% 54% / .1); }
.contact-info-icon.gold-bg svg { color: var(--gold); }
.contact-info-icon svg { width: 1.25rem; height: 1.25rem; }
.contact-info-card h4 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9375rem; color: var(--foreground); margin-bottom: .25rem; }
.contact-info-card p { font-size: .875rem; color: var(--muted-foreground); line-height: 1.5; }
.contact-map { border-radius: 1.25rem; overflow: hidden; margin-top: 1rem; }
.contact-map iframe { width: 100%; height: 12rem; border: none; }
.quick-access-section { padding: 3rem 0; }
.quick-access-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .quick-access-grid { grid-template-columns: repeat(3, 1fr); } }
.quick-access-card { background: var(--card); border-radius: 1.25rem; padding: 1.5rem; box-shadow: 0 1px 5px rgba(0,0,0,.07); text-align: center; transition: all .2s; }
.quick-access-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.quick-access-icon { width: 3rem; height: 3rem; border-radius: 9999px; background: hsl(160 73% 22% / .1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.quick-access-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-main { max-width: 52rem; margin: 0 auto; }
.faq-category { margin-bottom: 3rem; }
.faq-cat-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.faq-cat-icon { width: 3rem; height: 3rem; border-radius: 9999px; background: hsl(160 73% 22% / .1); display: flex; align-items: center; justify-content: center; }
.faq-cat-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.faq-cat-header h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--foreground); }
.accordion-list { display: flex; flex-direction: column; gap: .75rem; }
.accordion-item { background: var(--card); border-radius: 1rem; box-shadow: 0 1px 5px rgba(0,0,0,.07); overflow: hidden; }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .9375rem;
  color: var(--foreground);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  gap: 1rem;
}
.accordion-trigger:hover { color: var(--primary); }
.accordion-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; transition: transform .3s; color: var(--muted-foreground); }
.accordion-item.is-open .accordion-icon { transform: rotate(180deg); color: var(--primary); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
}
.accordion-item.is-open .accordion-content { max-height: 500px; }
.accordion-content-inner { padding: 0 1.5rem 1.25rem; font-size: .9375rem; color: var(--muted-foreground); line-height: 1.7; }

.faq-question-form { padding: 4rem 0; background: var(--muted); }
.faq-question-inner { max-width: 40rem; margin: 0 auto; text-align: center; }
.faq-question-icon { width: 4rem; height: 4rem; border-radius: 9999px; background: hsl(43 52% 54% / .1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.faq-question-icon svg { width: 2rem; height: 2rem; color: var(--gold); }
.faq-question-form h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--foreground); margin-bottom: 1rem; }
.faq-question-form p { color: var(--muted-foreground); margin-bottom: 2rem; }
.faq-form-card { background: var(--card); border-radius: 1.25rem; padding: 2rem; box-shadow: 0 1px 5px rgba(0,0,0,.07); text-align: left; }

/* ============================================================
   MEDIAS PAGE
   ============================================================ */
.media-tabs { display: flex; flex-wrap: wrap; gap: .25rem; background: var(--muted); border-radius: 9999px; padding: .25rem; margin-bottom: 2rem; width: fit-content; }
.media-tab-btn {
  padding: .5rem 1.25rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.media-tab-btn svg { width: 1rem; height: 1rem; }
.media-tab-btn.active { background: var(--primary); color: white; }

.media-category-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.tab-content { display: none; }
.tab-content.active { display: block; }

.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-item { position: relative; border-radius: 1rem; overflow: hidden; cursor: pointer; }
.photo-item .aspect-square { aspect-ratio: 1/1; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo-item:hover img { transform: scale(1.05); }
.photo-hover-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); opacity: 0; transition: opacity .3s; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; }
.photo-item:hover .photo-hover-overlay { opacity: 1; }
.photo-hover-overlay p { color: white; font-weight: 500; font-size: .875rem; }
.photo-hover-overlay span { font-size: .75rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: .25rem; }
.photo-badge { position: absolute; top: .75rem; left: .75rem; }

.video-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .video-grid { grid-template-columns: 1fr 1fr; } }
.video-card { background: var(--card); border-radius: 1.25rem; overflow: hidden; box-shadow: 0 1px 5px rgba(0,0,0,.07); transition: box-shadow .2s; cursor: pointer; }
.video-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.video-thumb { position: relative; aspect-ratio: 16/9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.video-card:hover .video-play-overlay { background: rgba(0,0,0,.5); }
.play-btn { width: 4rem; height: 4rem; border-radius: 9999px; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; }
.play-btn::after { content: ''; display: block; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid var(--primary); margin-left: 4px; }
.video-duration { position: absolute; bottom: .75rem; right: .75rem; background: rgba(0,0,0,.7); color: white; font-size: .75rem; padding: .2rem .5rem; border-radius: .375rem; }
.video-card-body { padding: 1rem; }
.video-card-body h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; color: var(--foreground); margin-bottom: .5rem; }
.video-views { font-size: .875rem; color: var(--muted-foreground); display: flex; align-items: center; gap: .375rem; }
.video-views svg { width: 1rem; height: 1rem; }

.doc-list { background: var(--card); border-radius: 1.25rem; overflow: hidden; box-shadow: 0 1px 5px rgba(0,0,0,.07); }
.doc-item { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); transition: background .2s; }
.doc-item:last-child { border-bottom: none; }
.doc-item:hover { background: var(--muted); }
.doc-info { display: flex; align-items: center; gap: 1rem; }
.doc-icon { width: 3rem; height: 3rem; border-radius: .75rem; background: hsl(160 73% 22% / .1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.doc-name { font-family: 'Poppins', sans-serif; font-weight: 500; color: var(--foreground); margin-bottom: .25rem; }
.doc-meta { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; color: var(--muted-foreground); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox-inner { position: relative; max-width: 80vw; max-height: 90vh; }
.lightbox-inner img { max-width: 100%; max-height: 85vh; border-radius: .5rem; }
.lightbox-close { position: absolute; top: -3rem; right: 0; width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: rgba(255,255,255,.15); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ============================================================
   OPPORTUNITIES PAGE
   ============================================================ */
.opportunities-section { padding: 4rem 0; }
.oppo-grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .oppo-grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.oppo-grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .oppo-grid-2 { grid-template-columns: 1fr 1fr; } }
.job-card { background: var(--card); border-radius: 1.25rem; padding: 1.5rem; box-shadow: 0 1px 5px rgba(0,0,0,.07); transition: box-shadow .2s; }
.job-card:hover { box-shadow: var(--shadow-elegant); }
.job-card h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.0625rem; color: var(--foreground); margin: 1rem 0 .75rem; }
.job-card-detail { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted-foreground); margin-bottom: .5rem; }
.job-card-detail svg { width: 1rem; height: 1rem; }
.job-salary { font-size: .875rem; font-weight: 500; color: var(--gold); margin-bottom: 1rem; }
.internship-card { background: var(--card); border-radius: 1.25rem; padding: 1.5rem; box-shadow: 0 1px 5px rgba(0,0,0,.07); }
.internship-card h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.0625rem; color: var(--foreground); margin-bottom: .75rem; }
.internship-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.training-card { background: var(--card); border-radius: 1.25rem; padding: 1.5rem; box-shadow: 0 1px 5px rgba(0,0,0,.07); border-left: 4px solid var(--gold); }
.training-card h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; color: var(--foreground); margin-bottom: .75rem; }
.training-card p { font-size: .875rem; color: var(--muted-foreground); margin-bottom: .5rem; }
.partners-section { padding: 4rem 0; background: var(--primary); }
.partners-header { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: 3rem; }
.partners-icon { width: 3rem; height: 3rem; border-radius: 9999px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.partners-icon svg { width: 1.5rem; height: 1.5rem; color: white; }
.partners-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 3rem; }
.partner-logo { width: 6rem; height: 6rem; background: white; border-radius: 1rem; padding: 1rem; display: flex; align-items: center; justify-content: center; }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bg-muted { background: var(--muted); }

/* ============================================================
   TABLEAU DE L'ORDRE
   ============================================================ */
.tableau-stats { display: flex; justify-content: center; margin-bottom: 2rem; }
.tableau-stats-badge { display: inline-flex; align-items: center; gap: .5rem; background: hsl(43 52% 54% / .1); border: 1px solid hsl(43 52% 54% / .4); border-radius: 9999px; padding: .75rem 1.5rem; }
.tableau-stats-num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--gold); }
.tableau-search-card { background: var(--card); border-radius: 1.25rem; padding: 1.5rem; box-shadow: 0 1px 5px rgba(0,0,0,.07); margin-bottom: 2rem; }
.tableau-search-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .tableau-search-grid { grid-template-columns: 1fr 1fr 1fr auto; } }
.tableau-results-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; font-size: .875rem; color: var(--muted-foreground); }
.doctors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .doctors-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .doctors-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .doctors-grid { grid-template-columns: repeat(5, 1fr); } }
.doctor-card { background: var(--card); border-radius: 1.25rem; padding: 1.25rem; box-shadow: 0 1px 5px rgba(0,0,0,.07); text-align: center; cursor: pointer; transition: all .2s; border: 2px solid transparent; }
.doctor-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.doctor-avatar { width: 4rem; height: 4rem; border-radius: 9999px; background: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto .75rem; }
.doctor-avatar svg { width: 2rem; height: 2rem; color: var(--primary); }
.doctor-card h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .875rem; color: var(--foreground); margin-bottom: .25rem; }
.doctor-card .specialty { font-size: .8125rem; color: var(--muted-foreground); margin-bottom: .5rem; }
.doctor-card .order-num { font-size: .75rem; color: var(--primary); font-weight: 500; }
.doctor-card .date { font-size: .75rem; color: var(--muted-foreground); margin-top: .25rem; }

/* ============================================================
   AUTH PAGE
   ============================================================ */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-content { flex: 1; display: grid; align-items: center; padding: 3rem 1.5rem; }
@media (min-width: 1024px) { .auth-content { grid-template-columns: 1fr 1fr; } }
.auth-branding { display: none; }
@media (min-width: 1024px) { .auth-branding { display: flex; flex-direction: column; justify-content: center; padding: 3rem; background: var(--primary); border-radius: 1.5rem; color: white; } }
.auth-branding h1 { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.auth-branding p { font-size: 1rem; color: rgba(255,255,255,.8); line-height: 1.7; }
.auth-card { background: var(--card); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-card); max-width: 32rem; margin: 0 auto; width: 100%; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.auth-logo img { height: 4rem; width: 4rem; object-fit: contain; }
.auth-card h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--foreground); margin-bottom: .5rem; text-align: center; }
.auth-card .subtitle { font-size: .875rem; color: var(--muted-foreground); text-align: center; margin-bottom: 2rem; }
.auth-toggle { display: flex; gap: .5rem; background: var(--muted); border-radius: 9999px; padding: .25rem; margin-bottom: 1.5rem; }
.auth-toggle-btn { flex: 1; padding: .5rem; border-radius: 9999px; font-size: .875rem; font-weight: 500; cursor: pointer; border: none; background: transparent; color: var(--muted-foreground); transition: all .2s; }
.auth-toggle-btn.active { background: white; color: var(--primary); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.password-wrap { position: relative; }
.password-toggle { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--muted-foreground); }
.password-toggle svg { width: 1.125rem; height: 1.125rem; }
.auth-separator { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; }
.auth-separator::before, .auth-separator::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-separator span { font-size: .8125rem; color: var(--muted-foreground); }
.auth-google-btn { display: flex; align-items: center; justify-content: center; gap: .75rem; width: 100%; padding: .7rem 1rem; border: 1.5px solid var(--border); border-radius: .75rem; background: white; font-size: .875rem; font-weight: 500; cursor: pointer; transition: border-color .2s; }
.auth-google-btn:hover { border-color: var(--primary); }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; background: var(--background); }
.not-found-code { font-family: 'Poppins', sans-serif; font-size: clamp(5rem, 20vw, 10rem); font-weight: 700; color: var(--primary); opacity: .15; line-height: 1; }
.not-found-icon { width: 6rem; height: 6rem; border-radius: 9999px; background: hsl(160 73% 22% / .1); display: flex; align-items: center; justify-content: center; margin: -2rem auto 1.5rem; position: relative; z-index: 1; }
.not-found-icon svg { width: 3rem; height: 3rem; color: var(--primary); }
.not-found-page h1 { font-family: 'Poppins', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--foreground); margin-bottom: 1rem; }
.not-found-page p { color: var(--muted-foreground); margin-bottom: 2rem; max-width: 28rem; }
.not-found-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
.animate-in-trigger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-in-trigger.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   ADDITIONAL ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin { animation: spin 1s linear infinite; }
.animate-fadein { animation: fadeIn .4s ease; }

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 639px) {
  .hide-sm { display: none !important; }
}
@media (min-width: 640px) {
  .show-sm { display: block !important; }
}

/* ===== MODAL FICHE MÉDECIN ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-card {
  background: #fff;
  border-radius: 1.25rem;
  max-width: 420px; width: 100%;
  max-height: 92vh; overflow-y: auto;
  padding: 2rem 1.75rem 1.5rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  text-align: center;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; font-size: 1.2rem;
  cursor: pointer; color: #666;
  width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .2s;
}
.modal-close:hover { background: #f0f0f0; }
.modal-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; color: #111; }
.modal-avatar-wrap { position: relative; display: inline-block; margin-bottom: .75rem; }
.modal-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  border: 3px solid #c9a84c;
  background: #f0f0f0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin: 0 auto;
}
.modal-avatar img { width: 100%; height: 100%; object-fit: cover; }
.modal-avatar svg { width: 48px; height: 48px; color: #999; }
.modal-badge-onmc {
  position: absolute; bottom: 2px; right: -4px;
  background: #1a6b4a; color: #fff;
  font-size: .55rem; font-weight: 700;
  padding: .15rem .3rem; border-radius: .4rem;
  letter-spacing: .05em;
}
.modal-name { font-size: 1.1rem; font-weight: 800; color: #111; margin: .25rem 0 .2rem; text-transform: uppercase; }
.modal-order-num { color: #c9a84c; font-weight: 700; font-size: .95rem; margin: 0 0 .15rem; }
.modal-specialty { color: #555; font-size: .9rem; margin: 0 0 1rem; }
.modal-qrcode { display: flex; justify-content: center; margin: .75rem 0 .5rem; }
.modal-qrcode canvas, .modal-qrcode img { border: 4px solid #1a6b4a; border-radius: .5rem; }
.modal-qr-label { font-size: .8rem; color: #777; margin-bottom: 1.25rem; }
.modal-info-grid {
  background: #f7f7f7; border-radius: .75rem;
  padding: .75rem 1rem; margin-bottom: 1.25rem;
  text-align: left;
}
.modal-info-row {
  display: flex; align-items: baseline; gap: .4rem;
  padding: .35rem 0; font-size: .875rem; color: #444;
  border-bottom: 1px solid #ebebeb;
}
.modal-info-row:last-child { border-bottom: none; }
.modal-info-icon { width: 1.2rem; flex-shrink: 0; }
.modal-info-row strong { margin-left: auto; text-align: right; color: #111; font-weight: 600; }
.modal-info-row strong.cotis-paid { color: #1a6b4a; }
.modal-info-row strong.cotis-unpaid { color: #e53e3e; }
.modal-pdf-btn {
  width: 100%; justify-content: center;
  padding: .875rem 1rem; border-radius: .75rem;
  font-size: .95rem;
}



/* ============================================================
   PRE-FOOTER BAND
   ============================================================ */
.prefooter-band {
  background: linear-gradient(135deg, hsl(160, 73%, 18%), hsl(155, 50%, 28%));
  border-top: 3px solid var(--gold);
  padding: 1.75rem 0;
}
.prefooter-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 900px) {
  .prefooter-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.prefooter-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.prefooter-logo {
  height: 3.5rem;
  width: 3.5rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.prefooter-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  line-height: 1.3;
}
.prefooter-law {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  margin-top: .15rem;
  font-style: italic;
}
.prefooter-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.prefooter-contact-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: color .2s;
}
.prefooter-contact-item:hover { color: var(--gold); }
.prefooter-contact-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.prefooter-contact-icon svg { width: 1rem; height: 1rem; }

/* ============================================================
   FOOTER PRINCIPAL
   ============================================================ */
.site-footer { position: relative; }

.footer-main {
  background: hsl(168, 25%, 10%);
  padding: 4rem 0 2rem;
}

.footer-grid-new {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-grid-new { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .footer-grid-new { grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 2.5rem; }
}

/* Colonne institution */
.footer-col-inst {}
.footer-logo-img {
  height: 4.5rem;
  width: 4.5rem;
  object-fit: contain;
  margin-bottom: .75rem;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer-inst-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: #fff;
  line-height: 1.4;
  margin-bottom: .75rem;
}
.footer-inst-desc {
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 22rem;
}
.footer-socials {
  display: flex;
  gap: .625rem;
}
.footer-social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all .2s;
}
.footer-social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--gold-foreground);
  transform: translateY(-2px);
}
.footer-social-btn svg { width: 1rem; height: 1rem; }

/* Colonnes navigation / ressources */
.footer-col-nav {}
.footer-col-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .625rem;
}
.footer-col-title-bar {
  display: inline-block;
  width: 3px;
  height: 1.1rem;
  border-radius: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.footer-nav-list a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color .2s, gap .2s;
}
.footer-nav-list a svg {
  width: .375rem;
  height: .375rem;
  color: var(--gold);
  flex-shrink: 0;
  opacity: .6;
  transition: opacity .2s;
}
.footer-nav-list a:hover {
  color: rgba(255,255,255,.95);
  gap: .75rem;
}
.footer-nav-list a:hover svg { opacity: 1; }

/* Colonne newsletter */
.footer-col-nl {}
.footer-nl-desc {
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer-nl-field {
  display: flex;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: .5rem;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  transition: border-color .2s;
}
.footer-nl-field:focus-within {
  border-color: var(--gold);
  background: rgba(255,255,255,.09);
}
.footer-nl-field input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: .7rem 1rem;
  font-size: .875rem;
  color: #fff;
  font-family: 'Inter', sans-serif;
}
.footer-nl-field input::placeholder { color: rgba(255,255,255,.4); }
.footer-nl-submit {
  background: var(--gold);
  border: none;
  padding: 0 1rem;
  color: var(--gold-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.footer-nl-submit:hover { background: var(--gold-light); }
.footer-nl-submit svg { width: 1.125rem; height: 1.125rem; }
.footer-nl-feedback {
  font-size: .8125rem;
  margin-top: .5rem;
  min-height: 1.25rem;
}
.footer-nl-feedback.success { color: hsl(155, 60%, 55%); }
.footer-nl-feedback.error   { color: hsl(0, 70%, 65%); }

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ============================================================
   CONSEIL PREVIEW SECTION — HOMEPAGE
   ============================================================ */

.conseil-preview-section {
  position: relative;
  padding: 5rem 0;
  background: var(--background);
  overflow: hidden;
}

.conseil-preview-section::before {
  content: '';
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 24rem;
  height: 24rem;
  background: hsl(160 73% 22% / 0.04);
  border-radius: 9999px;
  pointer-events: none;
}

.conseil-preview-section::after {
  content: '';
  position: absolute;
  bottom: -4rem;
  left: -4rem;
  width: 18rem;
  height: 18rem;
  background: hsl(43 52% 54% / 0.05);
  border-radius: 9999px;
  pointer-events: none;
}

.conseil-preview-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease-out;
}

.conseil-preview-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.conseil-preview-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.conseil-preview-header h2 span {
  color: var(--primary);
}

.conseil-preview-header p {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   SPOTLIGHT - PRÉSIDENT
   ============================================================ */

.conseil-preview-spotlight {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, transparent 100%);
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.spotlight-content {
  position: relative;
}

.spotlight-image {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 300px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.spotlight-image:hover img {
  transform: scale(1.08) rotate(1deg);
}

.spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.spotlight-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--foreground);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.spotlight-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeInRight 0.6s ease-out 0.2s both;
}

.spotlight-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
  margin: 0;
}

.spotlight-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spotlight-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   TEAM MEMBERS PREVIEW GRID
   ============================================================ */

.conseil-preview-grid {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.conseil-preview-grid-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.conseil-preview-grid-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
}

.conseil-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Ligne unique — 4 cartes côte à côte */
.conseil-preview-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: nowrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.conseil-preview-row .conseil-team-member {
  flex: 1;
  max-width: 240px;
  min-width: 0;
}

/* Conteneur du bouton "Voir tous les membres" */
.conseil-preview-cta {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

/* Bouton "Voir tous les membres" — style amélioré */
.conseil-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2.25rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 25px hsl(160 73% 22% / 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  letter-spacing: 0.02em;
}

.conseil-view-all-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 35px hsl(160 73% 22% / 0.45);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.conseil-view-all-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.conseil-view-all-btn:hover svg {
  transform: translateX(5px);
}

.conseil-team-member {
  text-align: center;
  cursor: pointer;
  animation: scaleInStagger 0.6s ease-out both;
}

.conseil-team-member:nth-child(2) { animation-delay: 0.35s; }
.conseil-team-member:nth-child(3) { animation-delay: 0.4s; }
.conseil-team-member:nth-child(4) { animation-delay: 0.45s; }

.team-member-image {
  position: relative;
  margin-bottom: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.conseil-team-member:hover .team-member-image {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.conseil-team-member:hover .team-member-image img {
  transform: scale(1.12);
  filter: brightness(0.95) contrast(1.1);
}

.team-member-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(160, 73, 22, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.conseil-team-member:hover .team-member-overlay {
  opacity: 1;
}

.team-member-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease-out;
  line-height: 1.3;
}

.conseil-team-member:hover .team-member-name {
  color: var(--primary);
}

.team-member-title {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  transition: color 0.3s ease-out;
}

.conseil-team-member:hover .team-member-title {
  color: var(--secondary);
}

.team-member-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(0 0 0 / 0.65);
  backdrop-filter: blur(6px);
  color: white;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.03em;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  z-index: 2;
  pointer-events: none;
}

.conseil-team-member:hover .team-member-badge {
  opacity: 1;
}

.conseil-preview-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1;
  line-height: 0;
}

/* ============================================================
   ANIMATIONS KEYFRAMES
   ============================================================ */

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleInStagger {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
  /* ── Conseil preview ── */
  .conseil-preview-spotlight {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .conseil-preview-header h2 {
    font-size: 1.75rem;
  }

  .conseil-preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  /* Grille 2 colonnes, cartes avec fond blanc et délimitation visible */
  .conseil-preview-row {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .conseil-preview-row .conseil-team-member {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    min-width: 0;
    background: var(--card);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px hsl(160 73% 22% / 0.12);
    text-align: center;
  }

  /* Image pleine largeur en haut de la carte, sans arrondi ni ombre propre */
  .conseil-preview-row .conseil-team-member .team-member-image {
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    aspect-ratio: 1 / 1;
  }

  /* Texte avec padding à l'intérieur de la carte */
  .conseil-preview-row .conseil-team-member .team-member-name {
    font-size: 0.82rem;
    line-height: 1.3;
    padding: 0.625rem 0.625rem 0.25rem;
    margin-bottom: 0;
  }

  .conseil-preview-row .conseil-team-member .team-member-title {
    font-size: 0.72rem;
    padding: 0 0.625rem 0.625rem;
    margin: 0;
  }

  .spotlight-name { font-size: 1.5rem; }
  .spotlight-title { font-size: 1rem; }
  .spotlight-desc { font-size: 0.95rem; }

  /* ── Documentation section ── */
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .doc-card {
    border-color: var(--border);
    box-shadow: 0 4px 20px hsl(160 73% 22% / 0.14);
  }
}

@media (max-width: 480px) {
  /* ── Conseil preview ── */
  .conseil-preview-section {
    padding: 2.5rem 0;
  }

  .conseil-preview-header {
    margin-bottom: 2rem;
  }

  .conseil-preview-spotlight {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .conseil-preview-grid {
    grid-template-columns: 1fr;
  }

  .conseil-preview-row {
    gap: 0.75rem;
  }

  .conseil-preview-row .conseil-team-member {
    flex: 0 0 calc(50% - 0.375rem);
    max-width: calc(50% - 0.375rem);
  }

  .spotlight-name { font-size: 1.25rem; }
}
.footer-address svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: .15rem;
}
.footer-address address {
  font-style: normal;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

/* Barre de bas de page */
.footer-bottom-bar {
  background: hsl(168, 30%, 7%);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-copyright {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
}
.footer-legal-links a {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-legal-links a:hover { color: rgba(255,255,255,.8); }

/* Bouton retour en haut */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px hsl(160 73% 22% / .4);
  opacity: 0;
  pointer-events: none;
  transition: background .2s, transform .2s;
  z-index: 100;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { background: var(--secondary); transform: translateY(-3px); }
.back-to-top svg { width: 1.25rem; height: 1.25rem; }
