/* =============================================
   Percheinfo — Styles principaux
   ============================================= */

:root {
  --orange: #C04A1A;
  --orange-dark: #9C3A12;
  --orange-light: #FAF0EB;
  --dark: #222222;
  --grey: #6B7280;
  --light-grey: #F3F4F6;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Section spacing ── */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-sub { color: var(--grey); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── Navbar (2 lignes) ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.45); }

/* Ligne 1 : fond gris foncé — trait | logo centré | trait + slogan */
.nav-top {
  background: #383e42;
  padding: 20px 0;
}
.nav-top-inner {
  display: flex;
  align-items: stretch; /* colonnes s'étirent à la hauteur du logo */
  gap: 28px;
}

/* Colonnes latérales */
.nav-side {
  flex: 1;
  align-self: stretch;
  position: relative;   /* ancrage pour le slogan en absolu */
}
.nav-side-line {
  position: absolute;   /* ancré depuis le bas, juste au-dessus du slogan */
  left: 0;
  right: 0;
  bottom: 25px;         /* tagline ≈ 20px + 5px d'écart */
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}
.nav-tagline {
  position: absolute;   /* collé au bas de la colonne = bas du logo */
  bottom: 0;
  left: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.4;
  white-space: nowrap;
}

/* Logo centré verticalement */
.nav-logo {
  flex-shrink: 0;
  align-self: center;
  display: flex;
  line-height: 1;
}
.nav-logo img {
  height: 130px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.55));
}

/* Ligne 2 : fond orange — liens */
.nav-bottom {
  background: var(--orange);
}
.nav-bottom .container {
  display: flex;
  align-items: stretch;
}

.nav-links {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  flex: 1;
}
.nav-links a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.93);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 12px 15px;
  letter-spacing: 0.3px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(0,0,0,0.18);
}

/* Bouton Assistance : distinct dans la barre orange */
.nav-assistance {
  background: rgba(0,0,0,0.22) !important;
  color: var(--white) !important;
  margin: 6px 0 6px 6px !important;
  padding: 5px 15px !important;
  border-radius: 5px !important;
  font-weight: 700 !important;
  align-self: center !important;
}
.nav-assistance:hover {
  background: rgba(0,0,0,0.38) !important;
  color: var(--white) !important;
}
.nav-assistance svg { width: 14px; height: 14px; fill: currentColor; margin-right: 5px; vertical-align: middle; }
.nav-assistance img { filter: brightness(0) invert(1); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px 8px;
  background: none;
  border: none;
  align-self: center;
  margin-left: auto;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-top { padding: 7px 0; }
  .nav-top-inner { justify-content: center; }
  .nav-logo img { height: 42px; }
  .nav-side { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #2e3336;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    z-index: 100;
  }
  .nav-links li { width: 100%; }
  .nav-links a { display: flex; border-radius: 0; padding: 12px 24px; width: 100%; }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .nav-assistance {
    margin: 4px 16px !important;
    border-radius: 4px !important;
  }
}

/* ── Hero ── */
#hero {
  padding-top: 230px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #FDF0E6 0%, #FFF5EE 50%, #F3F4F6 100%);
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,113,26,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }

.hero-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-title .highlight { color: var(--orange); }
.hero-text { color: var(--grey); font-size: 1.1rem; margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,113,26,0.35); }
.btn-outline { background: var(--white); color: var(--dark); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 32px; margin-top: 40px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.stat-num { font-size: 1.3rem; font-weight: 900; color: var(--dark); line-height: 1.2; }
.stat-label { font-size: 0.82rem; color: var(--grey); }

.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.hero-photo {
  width: 100%;
  max-width: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.18));
}
.hero-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow), 0 0 0 1px var(--border);
  text-align: center;
  max-width: 380px;
  width: 100%;
}
.hero-card-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.hero-card-icon svg { width: 40px; height: 40px; fill: white; }
.hero-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.hero-card p { color: var(--grey); font-size: 0.9rem; margin-bottom: 24px; }
.hero-card-zones {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.zone-chip {
  background: var(--light-grey);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { gap: 24px; }
}

/* ── Entreprise ── */
#entreprise { background: var(--white); }
.entreprise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.entreprise-content p { color: var(--grey); margin-bottom: 16px; font-size: 1.05rem; }
.entreprise-features { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.feature-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; fill: var(--orange); }
.feature-text h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.feature-text p { color: var(--grey); font-size: 0.88rem; margin: 0; }

.entreprise-grid--full { grid-template-columns: 1fr; }
.entreprise-visual {
  position: relative;
  display: flex;
  align-items: center;
}
.entreprise-photo {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.entreprise-photo img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  display: block;
}

.zones-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.zones-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.zone-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
}
.zone-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--orange-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zone-card-icon svg { width: 18px; height: 18px; fill: var(--orange); }
.zone-card-body strong { display: block; font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.zone-card-body p { font-size: 0.85rem; color: var(--grey); margin: 0; }

@media (max-width: 768px) {
  .entreprise-grid { grid-template-columns: 1fr; gap: 40px; }
  .zones-grid { grid-template-columns: 1fr; }
}

/* ── Solutions ── */
#solutions { background: var(--light-grey); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.solution-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: default;
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--orange);
}
.solution-icon {
  width: 56px; height: 56px;
  background: var(--orange-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.solution-card:hover .solution-icon { background: var(--orange); }
.solution-icon svg { width: 28px; height: 28px; fill: var(--orange); transition: var(--transition); }
.solution-card:hover .solution-icon svg { fill: var(--white); }
.solution-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.solution-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.solution-card p { color: var(--grey); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.solution-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: var(--light-grey);
  color: var(--grey);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

/* ── Réalisations ── */
#realisations { background: var(--white); }
.filter-bar {
  display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  color: var(--grey);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.realisation-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.realisation-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.real-photo-count { position: absolute; bottom: 10px; left: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 8px; border-radius: 100px; display: flex; align-items: center; }
.real-see-more { display: inline-block; margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--orange); }
.realisation-img {
  height: 200px;
  background: linear-gradient(135deg, var(--orange-light), var(--light-grey));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.realisation-img img { width: 100%; height: 100%; object-fit: cover; }
.realisation-img svg { width: 60px; height: 60px; fill: var(--orange); opacity: 0.4; }
.realisation-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.realisation-body { padding: 20px; background: var(--white); }
.realisation-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.realisation-body p { color: var(--grey); font-size: 0.88rem; }

/* ── Équipe ── */
#equipe { background: var(--light-grey); }
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.membre-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.membre-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange); }
.membre-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  overflow: hidden;
}
.membre-avatar img { width: 100%; height: 100%; object-fit: cover; }
.membre-card.has-card { cursor: pointer; }
.membre-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.membre-voir-fiche { margin-top: 10px; font-size: .8rem; font-weight: 600; color: var(--orange); opacity: 0; transition: opacity .2s; }
.membre-card.has-card:hover .membre-voir-fiche { opacity: 1; }
.membre-role {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Partenaires ── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.partner-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.partner-logo {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* si l'image partenaire est fournie, elle remplace l'affichage texte */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.partner-logo img { max-height: 70px; max-width: 180px; object-fit: contain; }
.partner-name {
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Couleurs officielles de chaque marque */
.partner-eset      { background: linear-gradient(135deg, #1D7FCC, #00AACC); }
.partner-hikvision { background: linear-gradient(135deg, #CC0000, #E02020); }
.partner-tplink    { background: linear-gradient(135deg, #149BDF, #0A7BB5); }
.partner-hpe       { background: linear-gradient(135deg, #01A982, #017A5E); }
.partner-dstny     { background: linear-gradient(135deg, #5B3FD4, #3D22B0); }
.partner-infomanaik{ background: linear-gradient(135deg, #383e42, #2a2f32); }

.partner-info { padding: 20px 24px 24px; }
.partner-info h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin-bottom: 8px;
}
.partner-info p { color: var(--grey); font-size: 0.88rem; line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
  .partners-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

/* ── Contact ── */
#contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-item-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 22px; height: 22px; fill: var(--orange); }
.contact-item-text span { font-size: 0.8rem; color: var(--grey); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.contact-item-text a, .contact-item-text p { font-weight: 700; font-size: 1rem; color: var(--dark); }
.contact-item-text a:hover { color: var(--orange); }

/* Hours grid */
.hours-grid { width: 100%; margin-top: 6px; border-radius: 10px; overflow: hidden; border: 1px solid #ececec; }
.hours-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-bottom: 1px solid #f2f2f2;
  font-size: 0.82rem;
  transition: background .15s;
}
.hours-row:last-child { border-bottom: none; }
.hours-row:nth-child(even) { background: #fafafa; }
.hours-row.hours-closed { color: #bbb; }
.hours-row.hours-today { background: #fff4e6 !important; }
.hours-row.hours-today .hours-day { color: var(--orange); font-weight: 700; }
.hours-day { font-weight: 600; color: var(--dark); font-size: 0.83rem; }
.hours-closed .hours-day { color: #ccc; }
.hours-slot {
  text-align: center;
  background: #f0f0f0;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #444;
  white-space: nowrap;
}
.hours-row.hours-today .hours-slot { background: #fde8cc; color: var(--orange); }
.hours-ferme {
  grid-column: 2 / 4;
  text-align: center;
  font-size: 0.77rem;
  font-style: italic;
  color: #ccc;
  letter-spacing: 0.5px;
}

.contact-socials { display: flex; gap: 12px; margin-top: 32px; }
.social-btn {
  width: 44px; height: 44px;
  background: var(--light-grey);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: var(--dark);
}
.social-btn:hover { background: var(--orange); color: var(--white); }
.social-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ── Formulaire ── */
.contact-form {
  background: var(--light-grey);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 14px; margin-top: 8px; }
.form-feedback {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.form-feedback.success { background: #DCFCE7; color: #166534; display: block; }
.form-feedback.error { background: #FEE2E2; color: #991B1B; display: block; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* ── Footer ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-weight: 700; font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--orange); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Scroll to top ── */
#scrolltop {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(192,74,26,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
}
#scrolltop.visible { opacity: 1; pointer-events: auto; }
#scrolltop:hover { transform: translateY(-2px); }
#scrolltop svg { width: 20px; height: 20px; fill: currentColor; }

/* (styles .nav-logo et .nav-assistance définis dans le bloc navbar) */

/* ── Modal Assistance ── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { transform: scale(0.92); opacity:0; } to { transform: scale(1); opacity:1; } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--light-grey); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--border); }
.modal-close svg { width: 16px; height: 16px; fill: var(--grey); }
.modal-icon {
  width: 72px; height: 72px;
  background: var(--orange-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.modal-icon img { width: 36px; height: 36px; object-fit: contain; }
.modal-box h2 { font-size: 1.4rem; font-weight: 800; text-align: center; margin-bottom: 8px; }
.modal-box .modal-sub {
  text-align: center; color: var(--grey); font-size: 0.9rem; margin-bottom: 28px; line-height: 1.6;
}
.modal-steps {
  background: var(--light-grey); border-radius: 10px; padding: 16px 20px;
  margin-bottom: 24px;
}
.modal-steps ol { margin: 0; padding-left: 18px; }
.modal-steps li { font-size: 0.88rem; color: var(--dark); margin-bottom: 6px; line-height: 1.5; }
.modal-steps li:last-child { margin-bottom: 0; }
.isl-form { display: flex; gap: 10px; }
.isl-input {
  flex: 1;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 9px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-align: center;
  text-transform: uppercase;
  outline: none;
  font-family: 'Courier New', monospace;
  transition: border-color var(--transition);
}
.isl-input:focus { border-color: var(--orange); }
.isl-input::placeholder { letter-spacing: 1px; font-weight: 400; font-size: 0.9rem; }
.isl-btn {
  padding: 13px 20px;
  background: var(--orange);
  color: var(--white);
  border: none; border-radius: 9px;
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.isl-btn:hover { background: var(--orange-dark); }
.isl-feedback {
  display: none; margin-top: 12px; padding: 10px 14px;
  border-radius: 8px; font-size: 0.88rem; font-weight: 600;
}
.isl-feedback.ok { background: #DCFCE7; color: #166534; display: block; }
.isl-feedback.err { background: #FEE2E2; color: #991B1B; display: block; }
.isl-feedback.loading { background: var(--light-grey); color: var(--grey); display: block; }

/* ── Mentions légales page ── */
.legal-page { padding-top: 230px; }
.legal-content {
  max-width: 800px; margin: 0 auto;
  padding: 0 24px 80px;
}
.legal-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.legal-content .updated { color: var(--grey); font-size: 0.9rem; margin-bottom: 48px; }
.legal-content h2 { font-size: 1.2rem; font-weight: 700; margin: 36px 0 12px; color: var(--dark); }
.legal-content p, .legal-content li { color: var(--grey); line-height: 1.8; margin-bottom: 12px; font-size: 0.95rem; }
.legal-content ul { padding-left: 20px; }

/* ── Fiche membre (popup carte d'identité) ── */
.member-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 8000;
  align-items: center; justify-content: center;
  padding: 20px;
}
.member-modal-overlay.open { display: flex; }
.member-modal-card {
  background: #fff;
  border-radius: 20px;
  max-width: 680px; width: 100%;
  display: flex; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
  position: relative;
  animation: modalIn .25s ease;
  max-height: 90vh;
}
.member-modal-photo {
  width: 220px; flex-shrink: 0;
  background: linear-gradient(160deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; font-weight: 900;
  color: rgba(255,255,255,.9);
  overflow: hidden;
}
.member-modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-modal-info {
  flex: 1; padding: 36px 32px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px;
}
.member-modal-name { font-size: 1.55rem; font-weight: 900; color: var(--dark); }
.member-modal-role { color: var(--orange); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.member-modal-since { display: flex; align-items: center; gap: 8px; color: var(--grey); font-size: .88rem; margin-top: 8px; }
.member-modal-bio { margin-top: 12px; font-size: .92rem; color: #374151; line-height: 1.75; border-top: 1px solid var(--border); padding-top: 16px; }
.member-modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,.07); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 1; transition: background .2s;
}
.member-modal-close:hover { background: rgba(0,0,0,.16); }
@media (max-width: 560px) {
  .member-modal-card { flex-direction: column; }
  .member-modal-photo { width: 100%; height: 180px; font-size: 3.5rem; }
  .member-modal-info { padding: 24px 20px; }
}

/* ── Lightbox galerie réalisations ── */
.lb-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 8000;
  align-items: center; justify-content: center;
  gap: 16px;
}
.lb-overlay.open { display: flex; }
.lb-body { max-width: min(88vw, 1000px); text-align: center; flex: 1; }
.lb-body img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 10px; display: block; margin: 0 auto; }
.lb-caption { color: rgba(255,255,255,.85); margin-top: 12px; font-size: .92rem; min-height: 1.2em; }
.lb-counter { color: rgba(255,255,255,.45); font-size: .8rem; margin-top: 4px; }
.lb-close {
  position: fixed; top: 16px; right: 20px;
  background: rgba(255,255,255,.15); border: none; color: #fff;
  width: 42px; height: 42px; border-radius: 50%; font-size: 1.3rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 8001; transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.3); }
.lb-arrow {
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s;
}
.lb-arrow:hover { background: rgba(255,255,255,.28); }
@media (max-width: 640px) {
  .lb-arrow { width: 38px; height: 38px; font-size: 1.1rem; }
  .lb-body img { max-height: 65vh; }
}
