/* =========================================================
   DNS — Feuille de style principale
   ========================================================= */

:root {
  --navy-900: #0f1b2d;
  --navy-800: #16202f;
  --blue-900: #123a66;
  --blue-700: #1b63b1;
  --blue-600: #2071c4;
  --blue-500: #2f8fe0;
  --blue-300: #6fc3f5;
  --green-300: #7bd79a;
  --green-600: #2e9e4f;
  --green-700: #21793b;

  --gray-900: #1f2937;
  --gray-700: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f5f8;
  --white: #ffffff;

  --gradient-hero: linear-gradient(120deg, #0b1626 0%, #123a66 45%, #1b63b1 100%);
  --gradient-brand: linear-gradient(135deg, var(--blue-500), var(--green-600));
  --gradient-blue: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  --gradient-green: linear-gradient(135deg, var(--blue-600), var(--green-600));
  --gradient-geex: linear-gradient(135deg, #0e7490, var(--green-600));
  --gradient-dgsp: linear-gradient(135deg, #3730a3, #6366f1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 27, 45, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 27, 45, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 27, 45, 0.18);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--navy-800);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 16px; color: var(--gray-700); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--gray-100); }
.section-dark {
  background: var(--gradient-hero);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.82); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: rgba(32, 113, 196, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-dark .eyebrow {
  color: var(--green-300);
  background: rgba(123, 215, 154, 0.14);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.align-left { margin: 0 0 48px; text-align: left; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-outline {
  background: transparent;
  border-color: var(--blue-600);
  color: var(--blue-600);
}
.btn-outline:hover { background: var(--blue-600); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 27, 45, 0.96);
  backdrop-filter: blur(6px);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-size: 1.15rem; font-weight: 700; }
.brand-text span { display: block; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--blue-300); text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links > li { position: relative; }
.nav-links a.nav-link {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.nav-links a.nav-link:hover,
.nav-links a.nav-link.active { background: rgba(255,255,255,0.1); color: var(--white); }

.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--gray-900);
  font-size: 0.92rem;
  font-weight: 500;
}
.dropdown a:hover { background: var(--gray-100); }
.dropdown-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--white);
}
.dropdown-icon.campus { background: var(--gradient-blue); }
.dropdown-icon.geex { background: var(--gradient-geex); }
.dropdown-icon.dgsp { background: var(--gradient-dgsp); }
.dropdown-icon.facterli { background: var(--gradient-green); }
.dropdown-sep {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-500); padding: 8px 12px 4px;
}

.nav-cta { margin-left: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-800);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    display: none;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    margin-top: 4px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown .dropdown a { color: rgba(255,255,255,0.88); }
  .has-dropdown .dropdown a:hover { background: rgba(255,255,255,0.08); }
  .has-dropdown .dropdown a small { color: rgba(255,255,255,0.55) !important; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--gradient-hero);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(245, 166, 35, 0.18), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(111, 195, 245, 0.18), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-small { padding: 64px 0 72px; }
.hero-small .hero-inner { grid-template-columns: 1fr; text-align: center; }
.hero-small .hero-inner > * { margin-left: auto; margin-right: auto; }

.hero h1, .hero h2, .hero h3 { color: var(--white); }

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.7rem; font-family: "Poppins", sans-serif; color: var(--green-300); }
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.hero-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(4px);
  text-align: center;
}
.hero-visual img { margin: 0 auto; max-width: 260px; }

.hero-visual-label {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green-300); margin-bottom: 22px;
}
.hero-product-item small {
  display: block; max-width: 118px; text-align: center; line-height: 1.3;
  font-size: 0.74rem; color: rgba(255,255,255,0.65);
}
.hero-visual-foot {
  margin: 24px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.88rem; color: rgba(255,255,255,0.78); text-align: center;
}
.hero-products-row { display: flex; gap: 16px; justify-content: center; flex-wrap: nowrap; }
.hero-product-item { flex: 1 1 0; min-width: 0; max-width: 130px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-product-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #ffffff;
  max-width: 108px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 4px;
}
.hero-product-item span {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-inner > * { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
}

/* ---------- Cards produits ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card .product-logo {
  width: 76px; height: 76px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.product-card .product-logo img { width: 100%; height: 100%; object-fit: cover; }
.product-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  width: fit-content;
}
.product-card.campus .tag { color: var(--blue-700); background: rgba(27, 99, 177, 0.1); }
.product-card.geex .tag { color: #0e7490; background: rgba(14, 116, 144, 0.1); }
.product-card.dgsp .tag { color: #3730a3; background: rgba(99, 102, 241, 0.12); }
.product-card.facterli .tag { color: var(--green-700); background: rgba(46, 158, 79, 0.12); }
.product-card ul.mini-features { margin: 16px 0 24px; }
.product-card ul.mini-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.92rem; color: var(--gray-700); margin-bottom: 8px;
}
.product-card ul.mini-features li::before {
  content: "✓";
  color: var(--green-600);
  font-weight: 700;
  flex-shrink: 0;
}
.product-card .card-footer { margin-top: auto; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
}
.feature-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: var(--gradient-blue);
  color: var(--white);
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; margin: 0; }

.section-dark .feature-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}
.section-dark .feature-card p { color: rgba(255,255,255,0.75); }

/* ---------- Valeurs / à propos ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  text-align: center;
  padding: 32px 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}
.value-card .icon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: var(--gradient-brand);
  color: var(--white);
}

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 800px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }
.stats-bar .stat strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 2.1rem;
  color: var(--green-300);
}
.stats-bar .stat span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* ---------- Client / logo strip ---------- */
.client-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.client-banner .client-logo {
  width: 84px; height: 84px; border-radius: 14px; overflow: hidden; flex-shrink: 0;
}
.client-banner .client-logo img { width: 100%; height: 100%; object-fit: contain; }
.client-banner > div:last-child { flex: 1; min-width: 260px; }
.client-banner .est-list {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
}
.client-banner .est-list span {
  font-size: 0.78rem;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Team / placeholders ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--white);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  text-align: center;
}
.team-card .avatar {
  width: 76px; height: 76px; border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--gradient-blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.4rem;
}
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card p { font-size: 0.82rem; color: var(--gray-500); margin: 0; }
.placeholder-note {
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { background: var(--navy-900); color: var(--white); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-card h3 { color: var(--white); }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-item .icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.contact-item strong { display: block; font-size: 0.95rem; }
.contact-item span, .contact-item a { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.social-row a:hover { background: var(--blue-500); color: var(--white); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--gray-900); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--gray-900);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(32,113,196,0.15);
}
.form-note { font-size: 0.8rem; color: var(--gray-500); margin-top: 10px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-success.error {
  background: rgba(220, 38, 38, 0.08); color: #b91c1c; border-color: rgba(220, 38, 38, 0.3);
}
.btn[disabled] { opacity: 0.65; cursor: wait; transform: none; }
#form-success {
  display: none;
  background: rgba(46,158,79,0.1);
  color: var(--green-700);
  border: 1px solid rgba(46,158,79,0.3);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.map-placeholder {
  margin-top: 24px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255,255,255,0.3);
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Breadcrumb / page header produit ---------- */
.product-hero {
  padding: 72px 0 88px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.product-hero.campus { background: var(--gradient-blue); }
.product-hero.geex { background: var(--gradient-geex); }
.product-hero.dgsp { background: var(--gradient-dgsp); }
.product-hero.facterli { background: var(--gradient-green); }
.product-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.product-hero .breadcrumb a { color: var(--white); font-weight: 600; }
.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) {
  .product-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .product-hero-inner > * { margin-left: auto; margin-right: auto; }
}
.product-hero-logo {
  width: 140px; height: 140px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.product-hero-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.product-hero h1 { color: var(--white); }
.product-hero p.lead { color: rgba(255,255,255,0.88); font-size: 1.1rem; max-width: 560px; }

/* ---------- Timeline / process ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
  position: relative;
  padding: 28px 20px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-300);
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--blue-300);
  -webkit-text-stroke: 1px var(--blue-700);
  display: block;
  margin-bottom: 10px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--green-300); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.65); max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}
.footer-social a:hover { background: var(--blue-500); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Suite universitaire ---------- */
.product-grid.three { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid.three .product-card { padding: 28px; }
@media (max-width: 1000px) { .product-grid.three { grid-template-columns: 1fr; } }

/* Composeur de suite (accueil) */
.composer {
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.composer-tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 28px;
}
@media (max-width: 760px) { .composer-tiles { grid-template-columns: 1fr; padding: 20px; } }

.module-tile {
  --tile: var(--blue-500);
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 26px 16px 22px; background: var(--white); font: inherit; color: var(--navy-800);
  border: 2px solid var(--gray-300); border-radius: var(--radius-md); cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.module-tile.campus { --tile: var(--blue-500); }
.module-tile.geex { --tile: #0e7490; }
.module-tile.dgsp { --tile: #4f46e5; }
.module-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.module-tile:focus-visible { outline: 3px solid rgba(47, 143, 224, 0.4); outline-offset: 2px; }
.module-tile img {
  width: 76px; height: 76px; border-radius: 16px; object-fit: cover; margin-bottom: 10px;
  box-shadow: var(--shadow-sm); filter: grayscale(1); opacity: 0.55; transition: filter 0.2s ease, opacity 0.2s ease;
}
.module-tile strong { font-family: "Poppins", sans-serif; font-size: 1.1rem; }
.module-tile .tile-sub { font-size: 0.85rem; color: var(--gray-500); }
.module-tile .tile-check {
  position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--gray-300); color: transparent; font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;
}
.module-tile.selected { border-color: var(--tile); background: linear-gradient(180deg, rgba(47,143,224,0.04), var(--white)); }
.module-tile.selected img { filter: none; opacity: 1; }
.module-tile.selected .tile-check { background: var(--tile); border-color: var(--tile); color: var(--white); }

.composer-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--gradient-hero); color: var(--white); padding: 28px 32px;
}
.composer-info { flex: 1; min-width: 260px; }
.composer-label {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green-300); margin-bottom: 6px;
}
.composer-title { font-family: "Poppins", sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.composer-summary p { margin: 0; color: rgba(255,255,255,0.8); max-width: 640px; }

.suite-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .suite-strip { grid-template-columns: 1fr; } }
.suite-link {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-md);
  padding: 16px 18px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.suite-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.suite-link.current { border-color: var(--blue-500); box-shadow: 0 0 0 2px rgba(47, 143, 224, 0.18); }
.suite-link img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.suite-link strong { display: block; font-family: "Poppins", sans-serif; color: var(--navy-800); }
.suite-link span { font-size: 0.85rem; color: var(--gray-500); }

.facterli-band {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-lg);
  padding: 28px 32px; box-shadow: var(--shadow-sm);
}
.facterli-band img { width: 84px; height: 84px; border-radius: 18px; flex-shrink: 0; }
.facterli-band > div { flex: 1; min-width: 240px; }
.facterli-band h3 { margin-bottom: 6px; }
.facterli-band p { margin-bottom: 0; }

.map-link {
  display: inline-block; margin-top: 8px; padding: 10px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1); color: var(--white); font-size: 0.9rem; font-weight: 600;
}
.map-link:hover { background: var(--blue-500); }
.contact-item a:hover, .footer-grid li a[href^="tel"]:hover, .footer-grid li a[href^="mailto"]:hover { text-decoration: underline; }
.contact-item .sub { display: block; margin-bottom: 2px; }
.contact-item .sub em { font-style: normal; color: rgba(255,255,255,0.5); font-size: 0.78rem; margin-right: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Utilitaires ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge-placeholder {
  display: inline-block;
  font-size: 0.7rem;
  background: rgba(32, 113, 196, 0.12);
  color: var(--blue-600);
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
