/* ============================================================
   ACTION GROUPE — Vitrine (Site public)
   ============================================================ */

/* ----- BOUTON COMMANDER (nav) ----- */
.nav-cmd-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: var(--green) !important;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  font-family: var(--font-head) !important;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  transition: all 0.25s !important;
  position: relative;
  box-shadow: 0 0 0 0 rgba(26,140,0,0.5);
  animation: cmdPulse 2.5s ease-in-out infinite;
}
.nav-cmd-btn:hover {
  background: #fff !important;
  color: var(--green) !important;
  border-color: var(--green) !important;
  box-shadow: none !important;
  animation: none !important;
  transform: translateY(-1px);
}
.nav-cmd-btn i { font-size: 14px; }

@keyframes cmdPulse {
  0%   { box-shadow: 0 0 0 0 rgba(26,140,0,0.55); }
  60%  { box-shadow: 0 0 0 8px rgba(26,140,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,140,0,0); }
}

/* Mobile */
.nav-cmd-mobile {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 8px 22px;
  padding: 12px 16px !important;
  background: var(--green) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  font-family: var(--font-head) !important;
  justify-content: center;
}
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(7, 21, 3, 0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,140,0,0.2);
  transition: var(--transition);
}
.nav.scrolled { background: #ffffff; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
/* Liens blancs sur fond sombre */
.nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.85); }
.nav:not(.scrolled) .nav-links a:hover,
.nav:not(.scrolled) .nav-links a.active { color: #1ec400; }
/* Liens sombres sur fond blanc (scrolled) */
.nav.scrolled .nav-links a { color: #333; }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { color: #1a8c00; }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 22px;
  height: 96px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: stretch; cursor: pointer; padding: 0; }
.nav-logo img { height: 96px; width: auto; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  color: #333; font-size: 12px; font-weight: 700;
  font-family: var(--font-head); cursor: pointer;
  transition: color 0.2s; letter-spacing: 0.03em;
}
.nav-links a:hover, .nav-links a.active { color: #1ec400; }
.nav-cta {
  background: var(--green); color: #fff; padding: 8px 17px;
  border-radius: var(--radius); font-size: 12px; font-weight: 700;
  font-family: var(--font-head); cursor: pointer; border: none;
  transition: var(--transition); display: flex; align-items: center; gap: 5px;
}
.nav-cta:hover { background: var(--green-dark); }
/* Menu hamburger mobile */
.nav-burger {
  display: none; border: none; background: none;
  color: #aaa; font-size: 22px; padding: 4px;
}
.nav-mobile-menu {
  display: none; flex-direction: column;
  background: #ffffff; border-top: 2px solid #e8f5e0; box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  padding: 10px 0;
}
.nav-mobile-menu a {
  padding: 11px 22px; color: #888; font-size: 13px;
  font-weight: 600; font-family: var(--font-head);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer; display: block; transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: #1ec400; }
.nav-mobile-menu .nav-cta-mobile {
  margin: 10px 22px 0; border-radius: var(--radius);
  text-align: center; padding: 11px;
}

/* ----- HERO ----- */
.hero {
  min-height: 100vh; background: linear-gradient(145deg, #f0fae8 0%, #e8f5e0 40%, #ffffff 100%); position: relative;
  overflow: hidden; display: flex; align-items: center; padding-top: 96px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(26,140,0,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(26,140,0,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-glow {
  position: absolute; top: -80px; right: -80px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(26,140,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute; bottom: -60px; left: -60px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(230,168,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 60px 22px;
  width: 100%; display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,140,0,0.1); border: 1px solid rgba(26,140,0,0.3);
  border-radius: 20px; padding: 5px 13px; margin-bottom: 18px;
}
.hero-eyebrow span {
  font-size: 11px; font-weight: 700; color: #1ec400;
  letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-head);
}
.hero-pulse { width: 6px; height: 6px; border-radius: 50%; background: #1ec400; animation: pulse 2s infinite; }
.hero-title { font-size: clamp(28px, 4vw, 50px); font-weight: 900; line-height: 1.1; color: #fff; margin-bottom: 14px; }
.hero-title .accent { color: #1ec400; }
.hero-subtitle { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 24px; }
.hero-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-tag {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px; padding: 4px 11px; font-size: 11px;
  color: #ccc; font-family: var(--font-head); font-weight: 600;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.07);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 28px;
}
.hero-stat { background: rgba(7,21,3,0.85); padding: 14px; text-align: center; }
.hero-stat-val { font-size: 22px; font-weight: 900; color: #1ec400; font-family: var(--font-head); }
.hero-stat-lbl { font-size: 9px; color: rgba(255,255,255,0.4); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-head); }
.hero-cards { display: flex; flex-direction: column; gap: 10px; }
.hero-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(26,140,0,0.2);
  border-radius: var(--radius-lg); padding: 13px 16px;
  display: flex; align-items: center; gap: 12px;
  backdrop-filter: blur(4px); transition: all 0.3s;
  animation: float 3s ease-in-out infinite;
}
.hero-card:hover { border-color: rgba(26,140,0,0.5); transform: translateX(5px); }
.hero-card:nth-child(2) { animation-delay: 0.5s; }
.hero-card:nth-child(3) { animation-delay: 1s; }
.hero-card:nth-child(4) { animation-delay: 1.5s; }
.hero-card:nth-child(5) { animation-delay: 2s; }
.hero-card-icon {
  width: 38px; height: 38px; background: rgba(26,140,0,0.18);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px; color: #1ec400;
}
.hero-card-text { color: #fff; font-size: 12px; font-weight: 600; font-family: var(--font-head); }
.hero-card-sub  { color: rgba(255,255,255,0.35); font-size: 10px; margin-top: 1px; }
.hero-scroll {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll span { font-size: 9px; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; font-family: var(--font-head); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ----- SECTIONS VITRINE ----- */
.section-vitrine { padding: 80px 22px; }
.section-dark { background: #f8fcf5; }
.section-gray { background: #f8fbf5; }
.section-white { background: var(--white); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 7px; font-family: var(--font-head); }
.section-title { font-size: clamp(22px, 3.5vw, 38px); font-weight: 800; line-height: 1.15; color: #111; }
.section-title span { color: var(--green); }
.section-sub { font-size: 14px; color: var(--text2); line-height: 1.7; max-width: 550px; margin: 10px auto 0; }
.section-divbar { width: 55px; margin: 14px auto 0; }

/* ----- SERVICES ----- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 18px; }
.service-card {
  background: var(--white); border: 1px solid var(--gray2);
  border-radius: var(--radius-lg); padding: 26px 18px; text-align: center;
  transition: all 0.3s; cursor: pointer; border-top: 4px solid transparent;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--green-light); opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-top-color: var(--green); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 52px; height: 52px; background: var(--green-light); border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 13px; font-size: 24px; color: var(--green); transition: all 0.3s;
}
.service-card:hover .service-icon { background: var(--green); color: #fff; }
.service-name { font-family: var(--font-head); font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.service-desc { font-size: 12px; color: var(--text2); line-height: 1.6; }

/* ----- À PROPOS ----- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 22px; }
.value-card {
  background: var(--white); border: 1px solid var(--gray2);
  border-radius: var(--radius-lg); padding: 14px;
  display: flex; align-items: center; gap: 11px;
}
.value-icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.value-name { font-weight: 700; font-family: var(--font-head); font-size: 12px; }
.value-desc { font-size: 11px; color: var(--text3); }

/* ----- ACTUALITÉS ----- */
/* ----- ACTUALITÉS — Layout magazine ----- */
.news-magazine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 20px;
  margin-bottom: 20px;
}

/* Carte vedette (grande, occupe toute la hauteur à gauche) */
.news-featured {
  grid-row: 1 / 3;
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s; cursor: pointer;
  display: flex; flex-direction: column;
  border: 1px solid var(--gray2);
}
.news-featured:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-featured .news-thumb {
  height: 260px; display: flex; align-items: center; justify-content: center;
  font-size: 72px; position: relative; overflow: hidden;
}
.news-featured .news-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.5));
}
.news-featured .news-body { padding: 20px; flex: 1; }
.news-featured .news-title {
  font-family: var(--font-head); font-size: 17px; font-weight: 800;
  line-height: 1.35; margin-bottom: 8px; color: var(--text);
}
.news-featured .news-excerpt {
  font-size: 13px; color: var(--text2); line-height: 1.7; margin-bottom: 10px;
}

/* Cartes secondaires (compactes, côté droit) */
.news-secondary {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--gray2);
  display: flex; align-items: stretch;
  transition: transform .25s, box-shadow .25s; cursor: pointer;
  min-height: 100px;
}
.news-secondary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-secondary .news-thumb-sm {
  width: 90px; min-width: 90px; display: flex; align-items: center; justify-content: center;
  font-size: 30px; flex-shrink: 0;
}
.news-secondary .news-body-sm { padding: 13px 14px; display: flex; flex-direction: column; justify-content: center; }
.news-secondary .news-title-sm {
  font-family: var(--font-head); font-size: 12px; font-weight: 700; line-height: 1.4;
  color: var(--text); margin-bottom: 5px;
}

/* Grille 3 colonnes du bas */
.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.news-card-sm {
  background: var(--white); border: 1px solid var(--gray2);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .25s, box-shadow .25s; cursor: pointer;
}
.news-card-sm:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-card-sm .news-thumb-md {
  height: 100px; display: flex; align-items: center; justify-content: center; font-size: 36px;
}
.news-card-sm .news-body-md { padding: 12px; }
.news-card-sm .news-title-md {
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  line-height: 1.4; margin-bottom: 5px;
}

/* Méta (date, catégorie) */
.news-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.news-date  { font-size: 10px; color: var(--text3); }
.news-read-more {
  font-size: 11px; color: var(--green); font-weight: 700;
  font-family: var(--font-head); margin-top: auto; display: inline-flex; align-items: center; gap: 4px;
}

/* Responsive actualités */
@media (max-width: 900px) {
  .news-magazine { grid-template-columns: 1fr; }
  .news-featured { grid-row: auto; }
  .news-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .news-grid-3 { grid-template-columns: 1fr; }
  .news-secondary .news-thumb-sm { width: 70px; min-width: 70px; font-size: 24px; }
}

/* ----- CONTACT ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info-item { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.contact-info-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.contact-form-card { border-top: 4px solid var(--green); }
.social-links { display: flex; gap: 7px; margin-top: 14px; }
.social-link {
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35); font-size: 14px; transition: var(--transition); cursor: pointer;
}
.social-link:hover { border-color: #1ec400; color: #1ec400; }

/* ----- SLIDER ----- */
.slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.slider-track { display: flex; transition: transform 0.5s ease; }
.slider-slide { min-width: 100%; }
.slider-dots { display: flex; gap: 5px; justify-content: center; margin-top: 10px; }
.slider-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gray2); cursor: pointer; transition: background 0.2s; }
.slider-dot.active { background: var(--green); }
.slider-nav { display: flex; gap: 7px; justify-content: center; margin-top: 8px; }

/* ----- STATS DARK ----- */
.stats-dark {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; text-align: center;
}
.stat-dark-val { font-size: 42px; font-weight: 900; font-family: var(--font-head); }
.stat-dark-lbl { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 4px; }

/* ----- FOOTER ----- */
.footer { background: #040d02; padding: 44px 22px 22px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 28px; }
.footer-logo img { height: 70px; object-fit: contain; margin-bottom: 11px; }
.footer-tagline { font-style: italic; color: rgba(255,255,255,0.25); font-size: 12px; line-height: 1.6; }
.footer-col-title { font-family: var(--font-head); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 12px; transition: color 0.2s; cursor: pointer; }
.footer-links a:hover { color: #1ec400; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.2); }
.footer-tribar { display: flex; gap: 3px; }
.footer-tribar span { width: 20px; height: 3px; border-radius: 2px; }

/* ============================
   RESPONSIVE VITRINE
   ============================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 22px; }
  .hero-cards { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-dark { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
  .nav-mobile-menu.open { display: flex; }
  .nav-logo img { height: 68px; }
  .nav-inner { height: 86px; }
  .section-vitrine { padding: 56px 16px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .stats-dark { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-dark { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
}

/* ----- BOUTIQUE — Lien nav ----- */
.nav-links a[href="boutique.html"] {
  color: var(--gold) !important;
  font-weight: 700 !important;
}
.nav-links a[href="boutique.html"]:hover,
.nav-links a[href="boutique.html"].active {
  color: var(--green) !important;
}

/* ----- ICÔNE ALUCOBOND PERSONNALISÉE ----- */
.icon-alucobond {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
/* Dans service-icon */
.service-icon .icon-alucobond {
  width: 24px; height: 24px;
  color: var(--green);
  transition: color .3s;
}
.service-card:hover .service-icon .icon-alucobond { color: #fff; }

/* Dans hero-card-icon */
.hero-card-icon .icon-alucobond {
  width: 22px; height: 22px;
  color: #1ec400;
}
/* Dans service-choice (page commande) */
.service-choice .icon-alucobond {
  width: 26px; height: 26px;
  color: var(--green);
  margin-bottom: 7px;
  display: block;
  margin-left: auto; margin-right: auto;
}

/* ============================================================
   PROJETS RÉALISÉS — Section accueil
   ============================================================ */
.projets-section { background: #f4f8f2; padding: 80px 22px; }

/* Grille principale : 1 grand + 3 petits */
.projets-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  max-width: 1200px; margin: 0 auto;
}
.projet-card {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.projet-card:hover { transform: scale(1.015); box-shadow: 0 12px 40px rgba(0,0,0,.5); }

/* Carte principale (grande) */
.projet-card.main {
  grid-row: 1 / 3;
  min-height: 400px;
}

/* Cartes secondaires */
.projet-card.sm { min-height: 185px; }

/* Vignette couleur avec icône */
.projet-thumb {
  width: 100%; height: 100%; min-height: inherit;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 22px;
  position: relative;
}
.projet-thumb::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
  z-index: 1;
}
.projet-icon-bg {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: rgba(255,255,255,.7); z-index: 2;
}
.projet-content { position: relative; z-index: 2; }
.projet-cat {
  font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: #1ec400; font-family: var(--font-head);
  background: rgba(26,140,0,.2); border: 1px solid rgba(26,140,0,.4);
  border-radius: 20px; padding: 2px 9px; display: inline-block; margin-bottom: 6px;
}
.projet-titre {
  font-family: var(--font-head); font-size: 16px; font-weight: 800;
  color: #fff; line-height: 1.3; margin-bottom: 4px;
}
.projet-card.sm .projet-titre { font-size: 13px; }
.projet-desc {
  font-size: 11px; color: rgba(255,255,255,.55); line-height: 1.5;
}
.projet-card.sm .projet-desc { display: none; }

/* Barre "Voir tous" */
.projets-footer {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 18px auto 0; flex-wrap: wrap; gap: 10px;
}
.projets-counter {
  font-family: var(--font-head); font-size: 12px; color: rgba(255,255,255,.4);
}
.projets-counter strong { color: #1ec400; font-size: 20px; margin-right: 4px; }

/* Modale projet */
.projet-modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.8);
  z-index: 3000; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.projet-modal-overlay.open { display: flex; }
.projet-modal {
  background: #fff; border-radius: var(--radius-lg); max-width: 580px; width: 100%;
  max-height: 90vh; overflow-y: auto; animation: modalIn .25s ease;
}
.projet-modal-img {
  height: 240px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.projet-modal-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.6));
}
.projet-modal-body { padding: 22px; }
.projet-modal-name { font-family: var(--font-head); font-size: 19px; font-weight: 900; margin-bottom: 6px; }
.projet-modal-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.projet-modal-desc { font-size: 13px; color: var(--text2); line-height: 1.8; margin-bottom: 16px; }
.projet-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.projet-detail-item { background: var(--gray); border-radius: var(--radius); padding: 10px 12px; }
.projet-detail-lbl { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text3); margin-bottom: 3px; }
.projet-detail-val { font-size: 13px; font-weight: 700; }

/* Responsive */
@media (max-width: 900px) {
  .projets-grid { grid-template-columns: 1fr 1fr; }
  .projet-card.main { grid-row: auto; min-height: 260px; }
  .projet-card.sm   { min-height: 150px; }
}
@media (max-width: 540px) {
  .projets-grid { grid-template-columns: 1fr; }
  .projet-card.main, .projet-card.sm { min-height: 200px; }
  .projet-card.sm .projet-desc { display: none; }
}

/* ============================================================
   PARTENAIRES — Section accueil
   ============================================================ */
.partenaires-section {
  background: #f8fcf5;
  padding: 64px 22px;
  border-top: 2px solid #d4edcc;
}
.partenaires-inner { max-width: 1100px; margin: 0 auto; }
.partenaires-header { text-align: center; margin-bottom: 36px; }
.partenaires-header .section-tag { display: inline-block; margin-bottom: 10px; }
.partenaires-header h2 {
  font-family: var(--font-head); font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 800; color: var(--text);
}
.partenaires-header p { font-size: 13px; color: var(--text2); margin-top: 7px; }

/* Grille logos */
.partenaires-grid {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 14px;
}
.partenaire-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 18px 24px; min-width: 140px;
  background: var(--gray); border: 1.5px solid var(--gray2);
  border-radius: var(--radius-lg); transition: all .25s;
  text-align: center; cursor: default;
}
.partenaire-card:hover {
  border-color: var(--green); background: var(--green-light);
  transform: translateY(-3px); box-shadow: var(--shadow);
}
.partenaire-logo {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--green);
  box-shadow: 0 2px 8px rgba(0,0,0,.08); flex-shrink: 0;
  overflow: hidden;
}
.partenaire-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.partenaire-nom {
  font-family: var(--font-head); font-size: 11px; font-weight: 800;
  color: var(--text); line-height: 1.3;
}
.partenaire-type {
  font-size: 9px; color: var(--text3); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}

/* Vide */
.partenaires-empty {
  text-align: center; padding: 20px;
  font-size: 13px; color: var(--text3); font-style: italic;
}

@media (max-width: 600px) {
  .partenaire-card { min-width: 110px; padding: 14px 16px; }
  .partenaire-logo { width: 46px; height: 46px; font-size: 22px; }
}
