/* --- Vitro Capital Holding: Luxury Light Theme --- */
:root {
  /* Identity */
  --brand-black: #0a0a0a;       /* Noir profond pour le texte/titres */
  --brand-red: #D32F2F;         /* Rouge Vitro */
  --brand-red-hover: #b71c1c;
  --bg-body: #ffffff;
  --bg-light: #f8f9fa;          /* Gris très léger pour alterner les sections */
  --border-color: #e5e5e5;
  
  /* Layout */
  --header-height: 85px;
  --container-width: 1240px;
}

/* FONTS: Premium Setup */
/* English */
html[lang="en"] body { font-family: 'Manrope', sans-serif; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4 { font-family: 'Playfair Display', serif; }

/* Arabic (RTL) */
html[lang="ar"] body { font-family: 'Tajawal', sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { font-family: 'Cairo', sans-serif; }

/* GLOBAL RESET */
* { box-sizing: border-box; }
body { margin: 0; padding: 0; color: #444; background: var(--bg-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
section { position: relative; padding: 100px 0; }

/* TYPOGRAPHY */
h1, h2, h3 { color: var(--brand-black); line-height: 1.2; margin-top: 0; }
h1 { font-size: 56px; font-weight: 700; letter-spacing: -1px; }
h2 { font-size: 42px; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 22px; font-weight: 700; }
p { margin-bottom: 20px; }

/* LAYOUT GRID */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; width: 100%; }
.row { display: flex; flex-wrap: wrap; margin: -15px; }
.col-lg-6, .col-lg-7, .col-lg-5 { padding: 15px; }
.col-lg-6 { width: 50%; }
.col-lg-7 { width: 58.333%; }
.col-lg-5 { width: 41.666%; }
@media (max-width: 991px) { .col-lg-6, .col-lg-7, .col-lg-5 { width: 100%; } }

/* --- HEADER (Clean White & Sticky) --- */
.vitro-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  height: var(--header-height);
  display: flex; align-items: center;
}
.vitro-header .nav-wrap { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.vitro-logo img { height: 48px; width: auto; }

.vitro-nav { display: flex; gap: 32px; align-items: center; }
.vitro-nav a {
  color: var(--brand-black);
  font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px;
}
.vitro-nav a:hover { color: var(--brand-red); }

/* Dropdowns */
.vitro-nav .dropdown { position: relative; }
.vitro-nav .dropdown > button {
  background: transparent; border: none; cursor: pointer;
  color: var(--brand-black); font-weight: 700; font-family: inherit; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 6px;
}
.vitro-nav .dropdown-menu {
  display: none; position: absolute; top: 100%; left: -20px;
  background: #fff; min-width: 260px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-radius: 0 0 4px 4px; padding: 15px 0;
  border-top: 3px solid var(--brand-red);
}
.vitro-nav .dropdown:hover .dropdown-menu { display: block; animation: slideUp 0.3s ease; }
.vitro-nav .dropdown-menu a {
  display: block; padding: 10px 25px; color: #555; font-size: 14px; text-transform: none; font-weight: 500;
  border-bottom: 1px solid #f9f9f9;
}
.vitro-nav .dropdown-menu a:last-child { border-bottom: none; }
.vitro-nav .dropdown-menu a:hover { background: #fafafa; color: var(--brand-red); padding-left: 30px; }

/* Buttons & CTA */
.vitro-cta { display: flex; align-items: center; gap: 20px; }
.btn-primary {
  background: var(--brand-red); color: #fff;
  padding: 14px 30px; border-radius: 4px;
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  border: none; cursor: pointer; display: inline-block;
  box-shadow: 0 10px 20px rgba(211, 47, 47, 0.15);
}
.btn-primary:hover { background: var(--brand-red-hover); transform: translateY(-2px); box-shadow: 0 15px 30px rgba(211, 47, 47, 0.25); }

.lang {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; color: var(--brand-black);
  border: 1px solid #eee; padding: 6px 14px; border-radius: 50px;
}
.lang:hover { background: #f5f5f5; }
.lang img { width: 18px; border-radius: 50%; }

/* Mobile Menu */
.vitro-burger { display: none; background: none; border: none; cursor: pointer; }
.vitro-burger span { display: block; width: 24px; height: 2px; background: #000; margin: 6px 0; }
@media (max-width: 991px) {
  .vitro-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
  .vitro-nav.active { display: flex; }
  .vitro-burger { display: block; }
  .vitro-cta { display: none; }
}

/* --- HERO SECTION --- */
.home-hero {
  /* Image de fond conservée */
  background: url("/assets/img/bg/header-bg3.webp") center/cover no-repeat;
  padding: 160px 0 120px;
  position: relative;
}
/* Overlay Blanc Dégradé pour lisibilité parfaite */
.home-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,0.6) 100%);
}
.home-hero .container { position: relative; z-index: 2; }

.home-hero h1 { font-size: 64px; color: var(--brand-black); margin-bottom: 25px; line-height: 1.1; }
.home-hero .lead { font-size: 20px; color: #555; font-weight: 400; max-width: 650px; margin-bottom: 35px; }

/* Hero Features */
.feature-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; font-weight: 600; color: #333; }
.check { color: var(--brand-red); width: 22px; height: 22px; }

/* Glass Cards in Hero */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  padding: 25px; margin-bottom: 20px; border-radius: 8px;
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--brand-red);
  transition: transform 0.3s;
}
.glass-card:hover { transform: translateX(5px); }
.glass-card h3 { font-size: 18px; margin-bottom: 8px; }
.glass-card p { font-size: 14px; color: #666; margin: 0; }

.btn-ghost {
  border: 2px solid var(--brand-black); color: var(--brand-black);
  padding: 12px 30px; border-radius: 4px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-ghost:hover { background: var(--brand-black); color: #fff; }

/* --- SECTIONS & CARDS --- */
.section-title-wrap { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-title { position: relative; display: inline-block; }
.section-title::after {
  content: ''; display: block; width: 80px; height: 4px; background: var(--brand-red);
  margin: 15px auto 0;
}

/* EXPERTISE & PORTFOLIO GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.v-card {
  background: #fff; border: 1px solid var(--border-color); border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
  position: relative;
}
.v-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}
.v-card:hover::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: var(--brand-red);
}

/* Service Icons (SVG) */
.v-card .icon-box {
  width: 64px; height: 64px;
  background: #fff0f0; color: var(--brand-red);
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; margin: 30px 30px 20px;
  transition: 0.3s;
}
.v-card:hover .icon-box { background: var(--brand-red); color: #fff; }
.v-card h3 { padding: 0 30px; margin-bottom: 10px; font-size: 21px; }
.v-card p { padding: 0 30px 30px; color: #666; font-size: 15px; margin: 0; }

/* Portfolio Images */
.v-card .v-img { height: 240px; overflow: hidden; }
.v-card .v-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.v-card:hover .v-img img { transform: scale(1.1); }
.v-card.portfolio-card { padding: 0; border: none; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.v-card.portfolio-card h3 { padding: 20px 25px 5px; font-size: 20px; }
.v-card.portfolio-card p { padding: 0 25px 25px; }

/* --- LEADERSHIP (FIXED ALIGNMENT) --- */
.leadership-card { text-align: center; padding: 40px 20px; align-items: center; border: 1px solid transparent; box-shadow: none; }
.leadership-card:hover { border-color: #eee; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.leadership-card .v-img {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 25px;
  border: 5px solid #f0f0f0;
}
.leadership-card h3 { margin-bottom: 5px; font-size: 24px; }
.leadership-card .role {
  color: var(--brand-red); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; margin-bottom: 15px; display: block;
}

/* IMPACT SECTION */
.impact-section { background: var(--bg-light); }
.impact-box {
  background: #fff; padding: 40px; border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.03);
  border-left: 5px solid var(--brand-red);
}

/* --- FOOTER (STRUCTURED DARK) --- */
.v-footer {
  background: #121212; color: #fff;
  padding: 80px 0 30px; border-top: 5px solid var(--brand-red);
}
.footer-title { color: #fff; font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 25px; display: block; }
.footer-heading { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; margin-bottom: 25px; }
.v-footer p { color: #999; font-size: 15px; max-width: 400px; }
.v-footer ul li { margin-bottom: 12px; }
.v-footer a { color: #999; font-size: 15px; }
.v-footer a:hover { color: #fff; padding-left: 5px; color: var(--brand-red); }
.footer-bottom {
  margin-top: 60px; padding-top: 30px; border-top: 1px solid #333;
  display: flex; justify-content: space-between; color: #666; font-size: 14px;
}

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  background: #25D366; color: #fff; padding: 12px 24px; border-radius: 50px;
  display: flex; align-items: center; gap: 10px; font-weight: 700;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}
.wa-float:hover { transform: scale(1.05); }

/* RTL SUPPORT */
html[lang="ar"] body { direction: rtl; text-align: right; }
html[lang="ar"] .home-hero { text-align: right; }
html[lang="ar"] .home-hero::before { background: linear-gradient(-90deg, #ffffff 0%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,0.6) 100%); }
html[lang="ar"] .glass-card { border-left: none; border-right: 4px solid var(--brand-red); }
html[lang="ar"] .impact-box { border-left: none; border-right: 5px solid var(--brand-red); }
html[lang="ar"] .v-footer a:hover { padding-left: 0; padding-right: 5px; }
html[lang="ar"] .wa-float { right: auto; left: 30px; }
html[lang="ar"] .vitro-nav .dropdown-menu { left: auto; right: -20px; text-align: right; }
html[lang="ar"] .vitro-nav .dropdown-menu a:hover { padding-left: 25px; padding-right: 30px; }

/* ANIMATION */
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }