/* =========================================================
   YOYEDMI MULTISERVICES — Feuille de style principale
   Charte : Orange #E8541E / Noir #1A1A1A / Blanc / Gris clair
   Police : Poppins (titres) + Inter (texte)
   ========================================================= */

:root {
  --orange: #E85D25;
  --orange-dark: #C8471A;
  --black: #171314;
  --black-soft: #221C1D;
  --grey-light: #F6F5F4;
  --grey-mid: #E7E4E2;
  --white: #FFFFFF;
  --text: #2B2626;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(23, 19, 20, 0.08);
  --shadow-lg: 0 20px 50px rgba(23, 19, 20, 0.15);
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Poppins', sans-serif;
  color: var(--black);
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

section { padding: 90px 0; }

.section-label {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 18px;
}

.section-subtitle {
  color: #5c5454;
  max-width: 680px;
  font-size: 1.05rem;
  margin-bottom: 50px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.bg-grey { background: var(--grey-light); }
.bg-black { background: var(--black); color: #E8E4E2; }
.bg-black h2, .bg-black h3, .bg-black h4 { color: var(--white); }

/* ===================== BOUTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(232, 93, 37, 0.35);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

.btn-block { width: 100%; justify-content: center; }

/* ===================== HEADER ===================== */
#site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-mid);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { height: 52px; width: auto; }

#main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black);
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-link i.chevron { font-size: 0.65rem; transition: transform 0.2s ease; }
.nav-item:hover .nav-link i.chevron { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Menu mobile : caché par défaut sur tous les écrans (PC/tablette).
   Il n'est révélé qu'en dessous de 860px via la media query, et
   uniquement lorsqu'il possède la classe .open (ajoutée par le JS). */
.mobile-nav { display: none; }

/* Mega menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  min-width: 320px;
  display: grid;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border-top: 3px solid var(--orange);
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 10px;
}

.mega-menu a.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--black);
  font-size: 0.92rem;
}
.mega-menu a.mega-link:hover { background: var(--grey-light); color: var(--orange); }
.mega-menu a.mega-link i { color: var(--orange); font-size: 1rem; margin-top: 3px; }
.mega-menu a.mega-link .mega-desc { display: block; font-size: 0.78rem; color: #857c7c; font-weight: 400; }

.mega-menu-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--grey-mid);
}

/* Burger mobile */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.burger span {
  width: 26px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1A1516 0%, #2B2020 55%, #3A241A 100%);
  color: var(--white);
  padding: 130px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(232,93,37,0.35), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(232,93,37,0.18), transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero .section-label { color: var(--orange); }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero p.lead { font-size: 1.15rem; color: #D8D2D2; max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero-stat strong { display: block; font-size: 2.1rem; color: var(--orange); font-family: 'Poppins', sans-serif; }
.hero-stat span { color: #C9C2C2; font-size: 0.9rem; }

/* Page hero (sous-pages) */
.page-hero {
  background: linear-gradient(135deg, #1A1516, #2B2020);
  color: var(--white);
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(232,93,37,0.3), transparent 70%);
}
.breadcrumb { font-size: 0.85rem; color: #C9C2C2; margin-bottom: 16px; }
.breadcrumb a { color: var(--orange); font-weight: 600; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); max-width: 700px; }
.page-hero p { color: #D8D2D2; max-width: 620px; margin-top: 16px; font-size: 1.05rem; }

/* ===================== DOMAINES / CARDS ===================== */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.domain-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-mid);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.domain-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.domain-card-icon {
  height: 84px;
  width: 84px;
  border-radius: 50%;
  background: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--orange);
  margin: 30px auto 10px;
  transition: var(--transition);
}
.domain-card:hover .domain-card-icon { background: var(--orange); color: var(--white); }
.domain-card-body { padding: 0 26px 30px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.domain-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.domain-card p { color: #6a6161; font-size: 0.92rem; flex: 1; margin-bottom: 18px; }
.domain-card .card-link { color: var(--orange); font-weight: 700; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.domain-card .card-link i { transition: transform 0.2s ease; }
.domain-card:hover .card-link i { transform: translateX(4px); }

/* ===================== POURQUOI NOUS ===================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.value-item { text-align: center; padding: 20px; }
.value-icon {
  width: 70px; height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}
.value-item h3 { font-size: 1.1rem; margin-bottom: 10px; }
.value-item p { color: #6a6161; font-size: 0.92rem; }

/* ===================== TEMOIGNAGES ===================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}
.testimonial-stars { color: var(--orange); margin-bottom: 14px; font-size: 0.9rem; }
.testimonial-card p.quote { font-style: italic; color: #4a4444; margin-bottom: 20px; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: 'Poppins', sans-serif;
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { font-size: 0.8rem; color: #857c7c; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-mid); transition: var(--transition); }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.news-card-tag { display: inline-block; background: var(--orange); color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 30px; margin-bottom: 12px; }
.news-card-body { padding: 24px; }
.news-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.news-card p { font-size: 0.88rem; color: #6a6161; }
.news-date { font-size: 0.78rem; color: #a39c9c; margin-top: 14px; display: block; }

/* ===================== CTA BAND ===================== */
.cta-band {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: var(--white);
  border-radius: 20px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 480px; }

/* ===================== SOUS-PAGES : SERVICES ===================== */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--grey-mid);
}
.service-block:last-of-type { border-bottom: none; }
.service-block.reverse .service-media { order: 2; }
.service-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.service-number { font-family: 'Poppins', sans-serif; font-size: 0.9rem; color: var(--orange); font-weight: 700; letter-spacing: 2px; margin-bottom: 10px; }
.service-text h3 { font-size: 1.6rem; margin-bottom: 16px; }
.service-text p { color: #5c5454; margin-bottom: 20px; }
.service-list { display: grid; gap: 10px; }
.service-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.94rem; color: #4a4444; }
.service-list li i { color: var(--orange); margin-top: 3px; }

/* ===================== CATALOGUE IMMOBILIER ===================== */
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.catalog-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.catalog-media { position: relative; height: 220px; overflow: hidden; }
.catalog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.catalog-card:hover .catalog-media img { transform: scale(1.08); }
.catalog-badge { position: absolute; top: 14px; left: 14px; background: var(--orange); color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 5px 14px; border-radius: 30px; }
.catalog-price { position: absolute; bottom: 14px; right: 14px; background: rgba(23,19,20,0.85); color: var(--white); font-weight: 700; padding: 6px 14px; border-radius: 8px; font-size: 0.9rem; }
.catalog-body { padding: 22px; }
.catalog-body h4 { font-size: 1.05rem; margin-bottom: 6px; }
.catalog-body .catalog-location { color: #857c7c; font-size: 0.85rem; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.catalog-specs { display: flex; gap: 16px; font-size: 0.82rem; color: #5c5454; border-top: 1px solid var(--grey-mid); padding-top: 14px; }
.catalog-specs span { display: flex; align-items: center; gap: 6px; }
.catalog-specs i { color: var(--orange); }

/* ===================== PROCESS STEPS ===================== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; position: relative; padding: 10px; }
.step-num { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange); font-family: 'Poppins', sans-serif; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.2rem; }
.step-card h4 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: #6a6161; }

/* ===================== FORM ===================== */
.form-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 44px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: 0.9rem; }
.form-group label .required { color: var(--orange); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--grey-mid);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--grey-light);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(232,93,37,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
#form-success {
  display: none;
  background: #E9F7EE;
  border: 1.5px solid #59B37D;
  color: #256b41;
  padding: 18px 22px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-weight: 600;
}
#form-success.show { display: flex; align-items: center; gap: 10px; }

.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.contact-info-card { background: var(--white); border: 1px solid var(--grey-mid); border-radius: var(--radius); padding: 30px; text-align: center; }
.contact-info-card i { font-size: 1.6rem; color: var(--orange); margin-bottom: 14px; }
.contact-info-card h4 { font-size: 1rem; margin-bottom: 8px; }
.contact-info-card p { font-size: 0.9rem; color: #6a6161; }

/* ===================== FOOTER ===================== */
footer#site-footer { background: var(--black); color: #C9C2C2; padding: 80px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-logo img { height: 90px; width: auto; margin-bottom: 20px; }
.footer-about p { font-size: 0.9rem; color: #A79F9F; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.9rem; color: #A79F9F; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; font-size: 0.88rem; margin-bottom: 16px; color: #A79F9F; align-items: flex-start; }
.footer-contact li i { color: var(--orange); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: #857c7c; }

/* ===================== SUB-NAV / FILTER PILLS ===================== */
.pill-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.pill { padding: 10px 20px; border-radius: 30px; border: 1.5px solid var(--grey-mid); font-weight: 600; font-size: 0.85rem; cursor: pointer; background: var(--white); transition: var(--transition); }
.pill.active, .pill:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .testimonials-grid, .news-grid, .catalog-grid, .steps-grid, .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse .service-media { order: 0; }
}

@media (max-width: 860px) {
  #main-nav, .nav-actions .btn { display: none; }
  .burger { display: flex; }
  .mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--grey-mid);
    padding: 10px 24px 24px;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav .mobile-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; font-weight: 600; border-bottom: 1px solid var(--grey-mid);
  }
  .mobile-submenu { display: none; flex-direction: column; padding-left: 14px; }
  .mobile-submenu.open { display: flex; }
  .mobile-submenu a { padding: 10px 0; font-size: 0.9rem; color: #5c5454; }
  .mobile-nav .btn { margin-top: 16px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .domains-grid, .values-grid, .testimonials-grid, .news-grid, .catalog-grid, .steps-grid, .contact-info-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 40px 26px; flex-direction: column; text-align: center; }
  .hero { padding: 110px 0 70px; }
  .hero-stats { gap: 24px; }
  .form-card { padding: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
