@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

/* ── Variables ── */
:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --blue: #1565c0;
  --blue-dark: #0d47a1;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --text: #1a1a2e;
  --text-muted: #666;
  --shadow: 0 2px 10px rgba(0,0,0,0.10);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.16);
  --radius: 14px;
  --topbar-h: 40px;
  --nav-h: 76px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ── RTL ── */
[dir="rtl"] { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .service-detail:nth-child(even) .service-text { order: 0; }
[dir="rtl"] .service-detail:nth-child(odd) .service-icon-large { order: -1; }
[dir="rtl"] .float-whatsapp { right: auto; left: 30px; }
[dir="rtl"] .float-call { left: auto; right: 30px; }
[dir="rtl"] .contact-item { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .footer-col ul li a { text-align: right; }

/* ══════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════ */
.top-bar {
  background: #2e7d32;
  color: #ffffff;
  height: 40px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;
  font-size: 13px;
  font-weight: 600;
  gap: 16px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
}
.topbar-info:hover { text-decoration: underline; }
.topbar-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
.topbar-sep { opacity: 0.4; }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
nav {
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: fixed;
  top: var(--topbar-h);
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  opacity: 1 !important;
  backdrop-filter: none;
}
.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo img {
  height: 45px;
  width: auto;
  display: block;
}
.brand-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.brand-essalam { color: #2e7d32; }
.brand-assistance { color: #1565c0; }
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  color: #1a1a2e;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #2e7d32; background: rgba(46,125,50,0.06); }
.nav-links a.active {
  color: #2e7d32;
  background: transparent;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: #2e7d32;
  border-radius: 2px;
}
.lang-btn {
  background: #1565c0;
  color: #ffffff;
  border: none;
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Cairo', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.lang-btn:hover { background: #0d4a8c; transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Main offset ── */
main { padding-top: calc(var(--topbar-h) + var(--nav-h)); }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-primary, .btn-secondary, .btn-outline, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,125,50,0.4);
}
.btn-secondary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21,101,192,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green);
}
.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-ghost:hover {
  background: var(--green);
  color: var(--white);
}

/* ══════════════════════════════════════════
   HERO (full-screen image)
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background-image: url('../images/Gemini_Generated_Image_64zw0y64zw0y64zw.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,125,50,0.70) 0%, rgba(21,101,192,0.70) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 4px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero p {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  margin: 0;
  max-width: 680px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  font-weight: 500;
}
.hero-cta-card {
  background: var(--green);
  border-radius: 18px;
  padding: 22px 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  text-decoration: none;
  color: var(--white);
  margin-top: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.hero-cta-card .cta-label {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-cta-card .cta-phone {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  margin-top: 52px;
  opacity: 0.7;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  margin-top: -8px;
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

/* ══════════════════════════════════════════
   AGRÉMENT BADGE BAND
══════════════════════════════════════════ */
.agrement-band {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.agrement-band .badge-icon { font-size: 1.4rem; }

/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
.section { padding: 88px 24px; }
.section-white { background: var(--white); }
.section-light { background: var(--bg-light); }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.title-bar {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  margin: 16px auto;
  border-radius: 4px;
}

/* ══════════════════════════════════════════
   SERVICE CARDS
══════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 32px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 5px solid var(--green);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(46,125,50,0.06), transparent);
  border-radius: 0 var(--radius) 0 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-icon { font-size: 3.2rem; margin-bottom: 20px; line-height: 1; }
.card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.card p { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

/* ══════════════════════════════════════════
   STATS
══════════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 40%, var(--blue-dark) 70%, var(--blue) 100%);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}
.stat-item { position: relative; }
.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 0.95rem;
  opacity: 0.88;
  font-weight: 500;
  max-width: 140px;
  margin: 0 auto;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
}

/* ══════════════════════════════════════════
   TRUST SECTION
══════════════════════════════════════════ */
.trust-section { background: var(--white); padding: 72px 24px; }
.trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 48px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 170px;
  text-align: center;
}
.trust-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(46,125,50,0.1), rgba(21,101,192,0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.trust-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.trust-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ══════════════════════════════════════════
   PAGE HEADER
══════════════════════════════════════════ */
.page-header {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 40%, var(--blue-dark) 75%, var(--blue) 100%);
  color: var(--white);
  padding: 36px 24px 44px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.8;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: 0.5; }

/* ══════════════════════════════════════════
   SERVICE CARDS (services.html — photo + texte alternés)
══════════════════════════════════════════ */
.service-cards-section { padding: 56px 24px 80px; background: var(--bg-light); }
.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 0 auto 40px;
  max-width: 1100px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.service-card:last-child { margin-bottom: 0; }
.service-card-img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-text {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card-text h2 {
  color: var(--green);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}
.service-card-text > p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 0.97rem;
}
.service-card-text ul {
  list-style: none;
  margin-bottom: 24px;
}
.service-card-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 500;
}
.service-card-text ul li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.service-card-text .btn-secondary {
  align-self: flex-start;
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
/* Cartes paires : photo à droite */
.service-card:nth-child(even) .service-card-img { order: 2; }
.service-card:nth-child(even) .service-card-text { order: 1; }

@media (max-width: 768px) {
  .service-card { grid-template-columns: 1fr; }
  .service-card:nth-child(even) .service-card-img { order: 0; }
  .service-card:nth-child(even) .service-card-text { order: 0; }
  .service-card-img, .service-card-img img { min-height: 240px; height: 240px; }
  .service-card-text { padding: 28px 24px; }
}

/* ══════════════════════════════════════════
   SERVICES DETAIL (legacy — gardé pour compat)
══════════════════════════════════════════ */
.service-section {
  padding: 80px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.service-section:last-child { border-bottom: none; }
.service-section:nth-child(even) { background: var(--white); }
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.service-section:nth-child(even) .service-detail .service-icon-wrap { order: 2; }
.service-icon-wrap {
  background: linear-gradient(135deg, rgba(46,125,50,0.08), rgba(21,101,192,0.06));
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  font-size: 6rem;
  line-height: 1;
}
.service-tag {
  display: inline-block;
  background: rgba(46,125,50,0.1);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.2;
}
.service-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.service-features { margin-bottom: 28px; }
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--text);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.service-features li:last-child { border-bottom: none; }
.feat-check {
  width: 22px;
  height: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: 0.98rem;
}
.about-highlight {
  background: linear-gradient(135deg, rgba(46,125,50,0.07), rgba(21,101,192,0.05));
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-weight: 600;
  color: var(--green-dark);
}
[dir="rtl"] .about-highlight { border-left: none; border-right: 4px solid var(--green); border-radius: 12px 0 0 12px; }
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.value-card:hover { transform: translateY(-3px); }
.value-icon { font-size: 2.2rem; margin-bottom: 12px; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.value-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
.agrement-card {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  margin-top: 28px;
}
.agrement-card .agr-icon { font-size: 3rem; margin-bottom: 16px; }
.agrement-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.agrement-card p { opacity: 0.9; font-size: 0.9rem; line-height: 1.6; }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
}
.contact-info-block h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}
.contact-info-block > p { color: var(--text-muted); margin-bottom: 36px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.contact-item:hover { transform: translateX(4px); }
[dir="rtl"] .contact-item:hover { transform: translateX(-4px); }
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-icon.green { background: rgba(46,125,50,0.12); }
.contact-icon.blue { background: rgba(21,101,192,0.1); }
.contact-item-body h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.contact-item-body a { color: var(--blue); font-weight: 600; text-decoration: none; font-size: 1rem; }
.contact-item-body a:hover { text-decoration: underline; }
.contact-item-body span { color: var(--text-muted); font-size: 0.9rem; }
.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--text-muted); margin-bottom: 32px; font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-light);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: var(--green);
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }

/* Map */
.map-section { padding: 0 24px 80px; }
.map-wrap {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ══════════════════════════════════════════
   VILLES
══════════════════════════════════════════ */
.villes-intro {
  background: var(--white);
  padding: 60px 24px;
  text-align: center;
}
.villes-intro p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.8;
}
.villes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.ville-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 5px solid var(--green);
}
[dir="rtl"] .ville-card { border-left: none; border-right: 5px solid var(--green); }
.ville-card:nth-child(even) { border-color: var(--blue); }
.ville-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ville-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.ville-icon { font-size: 2.2rem; }
.ville-header h2 { font-size: 1.25rem; font-weight: 800; color: var(--text); }
.ville-card p { color: var(--text-muted); line-height: 1.75; font-size: 0.95rem; }
.ville-tag {
  display: inline-block;
  background: rgba(46,125,50,0.1);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  margin-top: 14px;
}
.ville-card:nth-child(even) .ville-tag {
  background: rgba(21,101,192,0.1);
  color: var(--blue);
}
.autoroutes-banner {
  background: linear-gradient(135deg, var(--text), #2a2a4a);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}
.autoroutes-banner h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.autoroutes-banner p { max-width: 600px; margin: 0 auto; opacity: 0.85; line-height: 1.7; }
.autoroutes-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.autoroute-tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--text);
  color: #bdbdbd;
  padding: 72px 24px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 14px;
}
.footer-brand .footer-logo span { color: var(--blue); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; }
.footer-brand .agrement-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  background: rgba(21,101,192,0.15);
  border: 1px solid rgba(21,101,192,0.3);
  color: #90caf9;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: #bdbdbd;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col p { font-size: 0.875rem; line-height: 1.85; }
.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: #777;
}
.footer-bottom a { color: #999; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ══════════════════════════════════════════
   FLOATING BUTTONS
══════════════════════════════════════════ */
.float-whatsapp,
.float-call {
  position: fixed;
  bottom: 30px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1099;
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-whatsapp {
  right: 28px;
  background: var(--green);
  box-shadow: 0 4px 18px rgba(46,125,50,0.5);
  animation: wa-pulse 2.5s infinite;
}
.float-call {
  left: 28px;
  background: var(--blue);
  box-shadow: 0 4px 18px rgba(21,101,192,0.5);
}
.float-whatsapp:hover { transform: scale(1.12); box-shadow: 0 6px 24px rgba(46,125,50,0.6); animation: none; }
.float-call:hover { transform: scale(1.12); box-shadow: 0 6px 24px rgba(21,101,192,0.6); }
.float-whatsapp svg, .float-call svg { width: 28px; height: 28px; fill: var(--white); }
.float-tooltip {
  position: absolute;
  bottom: 68px;
  background: rgba(0,0,0,0.75);
  color: var(--white);
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
}
.float-whatsapp:hover .float-tooltip,
.float-call:hover .float-tooltip { opacity: 1; transform: translateY(0); }

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,125,50,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(46,125,50,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,125,50,0); }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --topbar-h: 40px; --nav-h: 68px; }
  .top-bar { padding: 0 10px; font-size: 0.74rem; gap: 6px; }
  .topbar-right { gap: 10px; }
  .topbar-info span.topbar-hours-text { display: none; }
  a.topbar-info { font-size: 1rem; font-weight: 800; letter-spacing: 0.3px; }
  a.topbar-info .topbar-icon { width: 18px; height: 18px; }
  .lang-btn { padding: 4px 10px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2px; }
  .logo img { height: 38px; }
  .logo { gap: 8px; }
  .brand-text { font-size: 15px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; border-radius: 8px; }
  .hero { padding: 60px 20px 56px; }
  .hero-btns { gap: 12px; }
  .btn-primary, .btn-secondary, .btn-outline { padding: 13px 22px; font-size: 0.9rem; }
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .service-section:nth-child(even) .service-detail .service-icon-wrap { order: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
  .float-whatsapp { right: 16px; bottom: 20px; width: 52px; height: 52px; }
  .float-call { left: 16px; bottom: 20px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .topbar-right { gap: 10px; }
  .topbar-info { font-size: 0.72rem; }
  .hero { min-height: 85vh; padding: 40px 16px; }
  .hero-logo { height: 60px; }
  .hero-cta-card { padding: 18px 28px; }
}

/* ══════════════════════════════════════════
   FIX : navbar opaque et padding-top contenu
══════════════════════════════════════════ */
.page-header,
.section,
main > section:first-child:not(.hero) {
  position: relative;
}
.hero-btns-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
