/* ============================================
   DAR AR-RAHYL — DESIGN SYSTEM PREMIUM
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Amiri:wght@400;700&display=swap');

:root {
  --c-anthracite: #0F0F12;
  --c-anthracite-soft: #1A1A1F;
  --c-ivoire: #F8F5EE;
  --c-ivoire-warm: #FBF7EE;
  --c-or: #C9A961;
  --c-or-light: #E8D5A8;
  --c-or-dark: #A88848;
  --c-emerald: #1B5E4F;
  --c-emerald-dark: #0E3D32;
  --c-charbon: #1A1A1A;
  --c-text-light: #F5F0E6;
  --c-border-gold: rgba(201, 169, 97, 0.2);
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  --font-arabic: 'Amiri', serif;
  --container: 1200px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-charbon);
  background: var(--c-ivoire);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 600; }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

::selection { background: var(--c-or); color: var(--c-anthracite); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 10vw, 120px) 0; position: relative; }
.section-dark { background: var(--c-anthracite); color: var(--c-ivoire); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--c-ivoire); }
.section-light { background: var(--c-ivoire); }

.btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-emerald { background: var(--c-emerald); color: white; }
.btn-emerald:hover { background: var(--c-emerald-dark); color: white; }
.btn-gold { background: transparent; color: var(--c-or); border-color: var(--c-or); }
.btn-gold:hover { background: var(--c-or); color: var(--c-anthracite); }
.btn-ivoire { background: var(--c-ivoire); color: var(--c-anthracite); }
.btn-ivoire:hover { background: white; }

.banner-offre {
  background: linear-gradient(90deg, var(--c-or-dark), var(--c-or), var(--c-or-dark));
  color: var(--c-anthracite);
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 100;
}
.banner-offre a { color: var(--c-anthracite); text-decoration: underline; font-weight: 700; }

.site-header {
  background: rgba(15, 15, 18, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 99;
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(15, 15, 18, 0.98);
  border-bottom-color: var(--c-border-gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 30px;
}
.logo img { height: 90px; width: auto; transition: transform var(--transition); }
.logo:hover img { transform: scale(1.05); }
.nav-main { display: flex; align-items: center; gap: 32px; }
.nav-main a {
  color: var(--c-ivoire);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}
.nav-main a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--c-or);
  transition: width var(--transition);
}
.nav-main a:hover { color: var(--c-or); }
.nav-main a:hover::after, .nav-main a.active::after { width: 100%; }
.btn-whatsapp-header {
  background: var(--c-emerald);
  color: white;
  padding: 12px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.btn-whatsapp-header:hover { background: var(--c-emerald-dark); color: white; transform: translateY(-2px); }

.nav-mobile { display: none; }
.burger { display: none; width: 32px; height: 32px; position: relative; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--c-ivoire); transition: all var(--transition); }
.burger span:nth-child(1) { top: 8px; }
.burger span:nth-child(2) { top: 15px; }
.burger span:nth-child(3) { top: 22px; }
.burger.active span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--c-anthracite);
  color: var(--c-ivoire);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,169,97,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-tagline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-or);
  margin-bottom: 20px;
}
.hero h1 { color: var(--c-ivoire); margin-bottom: 24px; }
.hero h1 .accent { color: var(--c-or); font-style: italic; }
.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(245, 240, 230, 0.85);
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.hero-image:hover img { transform: scale(1.05); }
.hero-image::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--c-or); margin: 20px; pointer-events: none; }

.hadith {
  background: var(--c-anthracite);
  color: var(--c-ivoire);
  padding: 100px 24px;
  text-align: center;
  border-top: 1px solid var(--c-border-gold);
  border-bottom: 1px solid var(--c-border-gold);
  position: relative;
}
.hadith::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--c-or);
  display: block;
  line-height: 0.5;
  margin-bottom: 30px;
  opacity: 0.7;
}
.hadith-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--c-or-light);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.hadith-source {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-or);
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { position: relative; aspect-ratio: 1; }
.about-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.about-content .section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-or-dark);
  margin-bottom: 16px;
  display: block;
}
.about-content h2 { margin-bottom: 24px; }
.about-content p { color: #555; margin-bottom: 20px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px 32px;
  margin-top: 100px;
}
.service-card {
  background: var(--c-ivoire-warm);
  border-radius: 16px;
  padding: 0 24px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 0 0 1px rgba(201,169,97,0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4), 0 0 0 1px var(--c-or), 0 0 40px rgba(201,169,97,0.2);
}
.service-card-image {
  width: 80%;
  aspect-ratio: 1;
  margin-top: -80px;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-image {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.service-card:hover .service-card-image img { transform: scale(1.08); }
.service-card-body {
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 1.5rem;
  color: var(--c-anthracite);
  letter-spacing: 0.01em;
}
.service-card p {
  color: #555;
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 24px;
  line-height: 1.7;
}
.service-card-link {
  background: var(--c-ivoire);
  color: var(--c-anthracite);
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(201,169,97,0.3);
  transition: all var(--transition);
  display: inline-block;
}
.service-card-link:hover {
  background: var(--c-or);
  color: var(--c-anthracite);
  border-color: var(--c-or);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,169,97,0.3);
}

.videos-preview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.vp-text { display: flex; flex-direction: column; }
.vp-label {
  color: var(--c-or-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.vp-title { margin-bottom: 16px; }
.vp-desc { color: #555; margin: 0 0 18px; line-height: 1.7; }
.vp-quote { font-style: italic; color: #777; margin: 0 0 24px; }
.vp-btn { align-self: flex-start; }
.videos-preview-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  display: block;
}
.videos-preview-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.videos-preview-thumb:hover img { transform: scale(1.05); }
.videos-preview-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--c-or);
  margin: 18px;
  pointer-events: none;
  transition: margin var(--transition);
}
.videos-preview-thumb:hover::after { margin: 12px; }

.cta-section { background: var(--c-or); padding: 80px 0; text-align: center; color: var(--c-anthracite); }
.cta-section h2 { color: var(--c-anthracite); margin-bottom: 16px; }
.cta-section p { font-size: 1.125rem; margin-bottom: 32px; }

.site-footer {
  background: var(--c-anthracite);
  color: var(--c-ivoire);
  padding: 80px 0 0;
  border-top: 1px solid var(--c-border-gold);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 40px; }
.footer-col h4 { font-family: var(--font-serif); color: var(--c-or); font-size: 1.25rem; margin-bottom: 24px; letter-spacing: 0.05em; }
.footer-col img.footer-logo { height: 70px; margin-bottom: 24px; }
.footer-col p { font-size: 0.9rem; color: rgba(245,240,230,0.75); line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: rgba(245,240,230,0.85); font-size: 0.9rem; transition: color var(--transition), padding-left var(--transition); }
.footer-col ul a:hover { color: var(--c-or); padding-left: 6px; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.9rem; }
.footer-contact-item a:hover { color: var(--c-or); }

.footer-social { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.footer-social a {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all var(--transition);
  color: white;
}
.footer-social a svg { width: 20px; height: 20px; }
.footer-social a:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.social-fb { background: #1877F2; }
.social-yt { background: #FF0000; }
.social-ig { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4); }
.social-sc { background: #FFFC00; color: #000 !important; }
.social-wa { background: #25D366; }
.social-tg { background: #0088CC; }
.social-tt { background: #000; position: relative; }
.social-tt::before, .social-tt::after { content: ''; position: absolute; inset: 0; border-radius: 10px; mix-blend-mode: screen; }
.social-tt::before { background: #FF0050; transform: translate(-1px, 1px); z-index: -1; }
.social-tt::after { background: #00F2EA; transform: translate(1px, -1px); z-index: -1; }

/* NEWSLETTER */
.footer-newsletter {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
  margin: 60px auto 30px;
  padding: 60px 60px;
  background: linear-gradient(135deg, #FBF7EE 0%, #F8F0DC 100%);
  border: 3px solid var(--c-or);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 8px rgba(201,169,97,0.15);
  max-width: 1100px;
}
.footer-newsletter::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,169,97,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.footer-newsletter-text { position: relative; z-index: 2; }
.footer-newsletter-text h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--c-anthracite);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.footer-newsletter-text p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: white;
  padding: 36px;
  border-radius: 12px;
  border: 1px solid rgba(201,169,97,0.3);
  position: relative;
  z-index: 2;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.footer-newsletter-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.2), 0 0 30px rgba(201,169,97,0.2);
}
.footer-newsletter-form::before {
  content: '✉';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--c-or);
  color: var(--c-anthracite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(201,169,97,0.4);
  z-index: 3;
}
.footer-newsletter-form input[type="email"] {
  padding: 16px 20px;
  background: var(--c-ivoire-warm);
  border: 1px solid rgba(201,169,97,0.2);
  border-radius: 4px;
  color: var(--c-anthracite);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition);
  width: 100%;
}
.footer-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--c-or);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.2);
}
.footer-newsletter-form input[type="email"]::placeholder { color: #999; }
.newsletter-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: #555;
  cursor: pointer;
  line-height: 1.5;
}
.newsletter-checkbox input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--c-or);
  cursor: pointer;
  flex-shrink: 0;
}
.newsletter-checkbox em { color: var(--c-or-dark); font-style: italic; font-weight: 600; }
.footer-newsletter-form .btn {
  align-self: stretch;
  margin-top: 4px;
  font-size: 0.875rem;
}
@media (max-width: 1024px) {
  .footer-newsletter { grid-template-columns: 1fr; gap: 40px; padding: 50px 30px; }
  .footer-newsletter-text h3 { font-size: 1.75rem; }
}
@media (max-width: 768px) {
  .footer-newsletter { padding: 40px 24px; margin-top: 30px; }
  .footer-newsletter-form { padding: 24px; }
}

.footer-bottom { background: #08080A; padding: 24px 0; border-top: 1px solid var(--c-border-gold); text-align: center; }
.footer-bottom-hadith { font-family: var(--font-serif); font-style: italic; color: var(--c-or); font-size: 0.9rem; margin-bottom: 12px; }
.footer-bottom-copy { color: #888; font-size: 0.8rem; }
.footer-bottom-copy a { color: #aaa; margin: 0 6px; }
.footer-bottom-copy a:hover { color: var(--c-or); }

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px; height: 60px;
  background: var(--c-emerald);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(27,94,79,0.4);
  animation: pulse-wa 2.5s infinite;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); background: var(--c-emerald-dark); color: white; }
.whatsapp-float svg { width: 30px; height: 30px; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 24px rgba(27,94,79,0.4); }
  50% { box-shadow: 0 8px 24px rgba(27,94,79,0.6), 0 0 0 12px rgba(27,94,79,0.12); }
}

.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* === SPLASH SCREEN (logo seul sur noir) === */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: splashFadeOut 0.6s ease-out 1.4s forwards;
}
.splash-logo {
  width: 300px;
  height: auto;
  animation: splashLogoIn 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes splashFadeOut {
  to { opacity: 0; visibility: hidden; }
}
@keyframes splashLogoIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}
body.splash-active { overflow: hidden; }
@media (max-width: 768px) {
  .splash-logo { width: 220px; }
}

/* === EFFETS PREMIUM === */

/* Barre de progression au scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #A88848, #C9A961, #E8D5A8);
  background-color: #C9A961;
  z-index: 999999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.7);
  pointer-events: none;
  will-change: width;
}

/* Animation de chargement de page */
body { animation: pageLoad 0.6s ease-out; }
@keyframes pageLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Ornement décoratif (séparateur) */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 200px;
  margin: 50px auto 30px;
}
.ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-or), transparent);
  opacity: 0.6;
}
.ornament i {
  width: 8px; height: 8px;
  background: var(--c-or);
  transform: rotate(45deg);
  position: relative;
}
.ornament i::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--c-or);
  transform: rotate(0deg);
  opacity: 0.5;
}

/* Shimmer effect sur les boutons CTA */
.btn-emerald, .btn-gold {
  position: relative;
  overflow: hidden;
}
.btn-emerald::before, .btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.7s ease;
  pointer-events: none;
}
.btn-emerald:hover::before, .btn-gold:hover::before { left: 100%; }

/* Effet de tilt subtil sur les cards services */
.service-card { perspective: 1000px; }
.service-card:hover .service-card-image { transform: translateY(-6px) rotateX(2deg); }

/* Hero - Animation du tagline */
.hero-tagline {
  position: relative;
  padding-left: 50px;
}
.hero-tagline::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 36px; height: 1px;
  background: var(--c-or);
  transform: translateY(-50%);
}

/* Hadith — animation du quote mark */
.hadith::before {
  animation: quoteFloat 4s ease-in-out infinite;
}
@keyframes quoteFloat {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-8px); opacity: 1; }
}

/* Section labels avec point doré */
.section-label::before, .vp-label::before, .hero-tagline::before {
  /* Already styled */
}


/* Titre H1 — accent or avec underline animé */
.hero h1 .accent {
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-or);
  animation: accentLine 2s 1s ease-out forwards;
}
@keyframes accentLine {
  to { width: 100%; }
}


/* Liens du menu mobile — animation cascade */
@media (max-width: 768px) {
  .nav-mobile.open a {
    animation: navItemFadeIn 0.5s ease-out backwards;
  }
  .nav-mobile.open a:nth-child(1) { animation-delay: 0.1s; }
  .nav-mobile.open a:nth-child(2) { animation-delay: 0.15s; }
  .nav-mobile.open a:nth-child(3) { animation-delay: 0.2s; }
  .nav-mobile.open a:nth-child(4) { animation-delay: 0.25s; }
  .nav-mobile.open a:nth-child(5) { animation-delay: 0.3s; }
  .nav-mobile.open a:nth-child(6) { animation-delay: 0.35s; }
  .nav-mobile.open a:nth-child(7) { animation-delay: 0.4s; }
  @keyframes navItemFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 1024px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-image, .about-image { max-width: 500px; margin: 0 auto; }
  .videos-preview {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: center;
    align-items: center;
  }
  .vp-text { display: contents; }
  .vp-label { order: 1; margin: 0 0 8px; }
  .vp-title { order: 2; margin: 0 0 12px; }
  .vp-desc { order: 3; margin: 0 0 24px; max-width: 600px; }
  .vp-image { order: 4; max-width: 500px; width: 100%; margin: 0 auto 24px; }
  .vp-quote { order: 5; max-width: 600px; margin: 0 0 20px; }
  .vp-btn { order: 6; align-self: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-main, .btn-whatsapp-header { display: none; }
  .burger { display: block; }
  .nav-mobile {
    position: fixed;
    inset: 0;
    background: var(--c-anthracite);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  .nav-mobile.open { opacity: 1; pointer-events: auto; }
  .nav-mobile a { color: var(--c-ivoire); font-family: var(--font-serif); font-size: 1.75rem; text-transform: none; letter-spacing: 0; }
  .nav-mobile a:hover { color: var(--c-or); }
  .hero { min-height: auto; padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 90px; margin-top: 100px; }
  .service-card-image { margin-top: -50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hadith { padding: 60px 20px; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 20px; right: 20px; }
  .scroll-progress { height: 5px; }
}
