.social-header { position: relative; margin: 0 2px; flex-shrink: 0; }
.social-header-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gray-200); background: var(--white);
  color: var(--gray-700); font-size: 1.15rem; line-height: 1; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.social-header-toggle:hover, .social-header-toggle:focus-visible,
.social-header.open .social-header-toggle { border-color: var(--gray-300); box-shadow: var(--shadow-md); }
.social-header-toggle:focus-visible { outline: 3px solid rgba(27, 77, 142, 0.5); outline-offset: 2px; }
.social-header-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: var(--z-header);
  display: flex; flex-direction: column; gap: 4px; padding: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fe 100%);
  border: 1px solid rgba(27, 77, 142, 0.14);
  border-radius: 16px;
  box-shadow: 0 14px 26px rgba(15, 52, 96, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.social-header.open .social-header-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.social-header-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 12px; border-radius: 12px;
  text-decoration: none; white-space: nowrap;
  color: var(--gray-800); font-size: 13px; font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.social-header-item:hover, .social-header-item:focus-visible { background: #ffffff; box-shadow: 0 2px 6px rgba(15, 52, 96, 0.12); transform: translateX(-2px); }
.social-header-item:focus-visible { outline: 3px solid rgba(27, 77, 142, 0.5); outline-offset: 1px; }
.social-header-item-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: var(--white); flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(15, 52, 96, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.15s ease;
}
.social-header-item:hover .social-header-item-icon,
.social-header-item:focus-visible .social-header-item-icon { transform: scale(1.1); }
.social-header-item-icon svg { width: 16px; height: 16px; }
.social-header-item-icon svg { shape-rendering: geometricPrecision; }
.social-header-item-label { line-height: 1.3; }
.social-header .social-facebook  .social-header-item-icon { background: linear-gradient(145deg, #4c9aff 0%, #1877F2 60%, #1456b9 100%); }
.social-header .social-instagram .social-header-item-icon { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-header .social-tiktok    .social-header-item-icon { background: linear-gradient(145deg, #313131 0%, #000000 55%, #1c1c1e 100%); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.social-header .social-whatsapp  .social-header-item-icon { background: linear-gradient(145deg, #4ff58d 0%, #25D366 55%, #128c4a 100%); box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

/* RTL : menu alignÃ© sous le bord droit du bouton, hover direction inverse */
[dir="rtl"] .social-header-menu { left: auto; right: 0; }
[dir="rtl"] .social-header-item { text-align: right; }
[dir="rtl"] .social-header-item:hover,
[dir="rtl"] .social-header-item:focus-visible { transform: translateX(2px); }

/* â”€â”€ Adaptation smartphone : bouton plus large, menu recentrÃ© sous lui â”€â”€ */
@media (max-width: 768px) {
  .social-header { margin-right: 4px; }
  .social-header-toggle { width: 44px; height: 44px; font-size: 1.3rem; }
  .social-header-menu { left: auto; right: 50%; transform: translateX(50%) translateY(-4px); }
  .social-header.open .social-header-menu { transform: translateX(50%) translateY(0); }
  .social-header-item { padding: 8px 12px; font-size: 13.5px; }
  .social-header-item-icon { width: 34px; height: 34px; }
  .social-header-item-icon svg { width: 18px; height: 18px; }
}
.mobile-toggle {
  display: none; background: none; border: none; font-size: 1.5rem;
  color: var(--gray-700); cursor: pointer; padding: 4px;
}

/* â”€â”€ HERO â”€â”€ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white); padding: 80px 0 100px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px;
  background: rgba(255,107,53,0.1); border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 650px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-visual { display: flex; justify-content: center; }
.hero-tech {
  position: relative; margin: 0; width: min(420px, 100%);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  border: 4px solid rgba(255,255,255,0.25);
  transform: rotate(1.5deg);
}
.hero-tech img { display: block; width: 100%; height: auto; }
.hero-tech-badge {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.95);
  border-radius: 12px; padding: 8px 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
}
.hero-tech-badge .badge-logo { height: 22px; width: auto; }
.hero-tech-badge .badge-beko { margin-left: auto; }
.hero-tech-badge span { font-size: 0.78rem; font-weight: 700; color: var(--gray-700); }
.hero h1 { font-size: 2.8rem; margin-bottom: 1rem; }
.hero h1 .brand-beko { color: var(--brand-beko); }
.hero h1 .brand-maxwell { color: var(--brand-maxwell); }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* â”€â”€ SECTIONS â”€â”€ */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { color: var(--gray-900); margin-bottom: 12px; }
.section-title p { color: var(--gray-500); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* â”€â”€ GRID â”€â”€ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* â”€â”€ FOOTER â”€â”€ */
.site-footer {
  background: var(--gray-900); color: var(--gray-300); padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { margin-top: 12px; font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--gray-400); font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--gray-700); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem;
}
.footer-admin-link {
  color: var(--gray-500); font-size: 0.8rem; text-decoration: none;
  border: 1px solid var(--gray-700); border-radius: 999px; padding: 4px 14px;
  transition: var(--transition);
}
.footer-admin-link:hover { color: var(--secondary); border-color: var(--secondary); }

/* â”€â”€ STEPS â”€â”€ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.step { text-align: center; position: relative; }
.step-number {
  width: 64px; height: 64px; border-radius: 50%; background: var(--primary-bg);
  color: var(--primary); font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; border: 3px solid var(--primary);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--gray-500); font-size: 0.95rem; }

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--header-height); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    padding: 16px; box-shadow: var(--shadow-lg);
  }
  .mobile-toggle { display: block; }
  .hero { padding: 50px 0 70px; }
  .hero h1 { font-size: 2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .hero-tech { width: min(320px, 100%); }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.social-link:hover,
.social-link:focus-visible {
  transform: scale(1.08);
  opacity: 0.9;
}
.social-link:focus-visible {
  outline: 3px solid rgba(27, 77, 142, 0.5);
  outline-offset: 2px;
}
.social-link svg {
  width: 40px;
  height: 40px;
  display: block;
}

/* Couleurs par réseau — variantes « social-links » et « icons » (compact) */
.social-link.social-facebook,
.social-facebook .social-link,
.social-icons .social-facebook {
  background: linear-gradient(145deg, #4c9aff 0%, #1877F2 60%, #1456b9 100%);
}
.social-link.social-instagram,
.social-instagram .social-link,
.social-icons .social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-link.social-tiktok,
.social-tiktok .social-link,
.social-icons .social-tiktok {
  background: linear-gradient(145deg, #313131 0%, #000000 55%, #1c1c1e 100%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.social-link.social-whatsapp,
.social-whatsapp .social-link,
.social-icons .social-whatsapp {
  background: linear-gradient(145deg, #4ff58d 0%, #25D366 55%, #128c4a 100%);
  box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 16px;
}
.social-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  text-decoration: none;
  color: var(--gray-800);
  box-shadow: 0 1px 3px rgba(15,52,96,0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(15,52,96,0.12);
  border-color: var(--gray-300);
}
.social-card:focus-visible {
  outline: 3px solid rgba(27,77,142,0.5);
  outline-offset: 2px;
}
.social-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  margin-bottom: 4px;
}
.social-card-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

/* Couleurs par réseau — variante « cards » */
.social-card.social-facebook .social-card-icon {
  background: linear-gradient(145deg, #4c9aff 0%, #1877F2 60%, #1456b9 100%);
}
.social-card.social-instagram .social-card-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-card.social-tiktok .social-card-icon {
  background: linear-gradient(145deg, #313131 0%, #000000 55%, #1c1c1e 100%);
}
.social-card.social-whatsapp .social-card-icon {
  background: linear-gradient(145deg, #4ff58d 0%, #25D366 55%, #128c4a 100%);
}
.social-card-name {
  font-weight: 700;
  font-size: 1rem;
}
.social-card-desc {
  font-size: 0.92rem;
  color: var(--gray-500);
}
.social-card-cta {
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--primary);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.08);
  opacity: 0.9;
}

.social-icons a svg {
  width: 40px;
  height: 40px;
  display: block;
}
