/* ==========================================================
   DECOBAIN – compléments au thème (contenu page client 2026)
   ========================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

/* ---------- Header : téléphone ---------- */
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #161e2d;
  margin-right: 18px;
  white-space: nowrap;
}
.header-tel:hover { color: #29509D; }
.header-tel .icon { color: #29509D; font-size: 18px; }
.inner-header-right { display: flex; align-items: center; }
@media (max-width: 1399px) { .header-tel { display: none; } }

/* Menu principal : 7 entrées, on resserre l'espacement du thème (65px) */
.main-header .main-menu .navigation { white-space: nowrap; }
.main-header .main-menu .navigation > li { padding-right: 34px; margin-right: 0; }
.main-header .main-menu .navigation > li:last-child { padding-right: 0; }
@media (max-width: 1499px) {
  .main-header .main-menu .navigation > li { padding-right: 22px; }
  .main-header .main-menu .navigation > li > a { font-size: 15px; }
}
@media (max-width: 1299px) {
  .main-header .main-menu .navigation > li { padding-right: 16px; }
  .main-header .main-menu .navigation > li > a { font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero-kicker {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
  opacity: .95;
}
.flat-slider.home-5 .title-large { font-size: clamp(34px, 4vw, 58px); line-height: 1.1; }
.flat-slider.home-5 .subtitle { max-width: 620px; }
@media (min-width: 992px) { .flat-slider.home-5 .box-content { margin-top: 40px; } }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.tf-btn.btn-ghost-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .8);
}
.tf-btn.btn-ghost-white:hover { background: #fff; color: #161e2d; border-color: #fff; }

.hero-pills {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.hero-pills .icon { font-size: 12px; }

/* ---------- Hero responsive (tablette & mobile) ----------
   Le thème fixe la hauteur à 700px et centre le contenu en absolu :
   sous 992px, le contenu reprend sa place dans le flux et le slider
   passe en fond, la hauteur s'adapte au texte. */
@media (max-width: 991px) {
  .flat-slider.home-5 .wrap-slider-swiper { position: relative; }
  .flat-slider.home-5 .thumbs-swiper-column {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .flat-slider.home-5 .thumbs-swiper-column .swiper-wrapper,
  .flat-slider.home-5 .thumbs-swiper-column .swiper-slide,
  .flat-slider.home-5 .thumbs-swiper-column .box-img { height: 100% !important; }
  .flat-slider.home-5 .thumbs-swiper-column .box-img img { height: 100%; object-fit: cover; object-position: 60% center; }
  .flat-slider.home-5 .box-content {
    position: relative;
    top: auto;
    transform: none;
    margin-top: 0;
    padding: 130px 0 72px;
  }
  .flat-slider.home-5 .overlay {
    background: linear-gradient(180deg, rgba(10, 16, 28, .55) 0%, rgba(10, 16, 28, .45) 55%, rgba(10, 16, 28, .65) 100%);
  }
  .flat-slider.home-5 .title-large { font-size: 46px; }
  .hero-kicker { font-size: 16px; }
}

@media (max-width: 575px) {
  .flat-slider.home-5 .box-content { padding: 104px 0 56px; }
  .hero-kicker { font-size: 14px; line-height: 1.4; margin-bottom: 10px; }
  .flat-slider.home-5 .title-large { font-size: 31px; line-height: 1.15; }
  .flat-slider.home-5 .subtitle { font-size: 15px; line-height: 1.6; margin-top: 14px; }
  .hero-cta { flex-direction: column; gap: 10px; margin-top: 22px; }
  .hero-cta .tf-btn { width: 100%; justify-content: center; padding: 12px 20px; }
  .hero-pills { gap: 8px; margin-top: 18px; }
  .hero-pills li { font-size: 12.5px; padding: 6px 11px; }
  .hero-br { display: none; }
}

/* Le slider du thème déborde : même décalage que la page d'origine */
.flat-slider.home-5 + #services { margin-top: 100px; }

/* ---------- Titres de section ---------- */
.db-lead { max-width: 760px; margin-top: 16px; }
.box-title.text-center { margin-bottom: 40px; }

/* ---------- Cartes services ---------- */
.db-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.db-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(22, 30, 45, .1); }
.db-card-img { aspect-ratio: 3 / 2; overflow: hidden; }
.db-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.db-card:hover .db-card-img img { transform: scale(1.05); }
.db-card-body { padding: 22px 24px 26px; }
.db-card-body h3 { margin-bottom: 8px; }
.db-card-body p { margin: 0; }

/* ---------- Pourquoi nous (box-benefit) ---------- */
.db-why { flex-direction: column; padding: 28px 24px; height: 100%; }
.db-why .icon svg {
  fill: none;
  stroke: #29509D;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.db-why .title { margin-bottom: 0; }

/* ---------- Galerie réalisations : hauteur homogène ---------- */
.flat-slider-detail-v1 .box-img-detail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  height: auto;
}

/* ---------- Showroom / À propos ---------- */
.db-address { font-style: normal; font-weight: 600; color: #161e2d; }
.db-rdv { font-weight: 700; color: #c72929; margin: 8px 0 0; }
.db-about-big { font-size: 1.35rem; font-weight: 700; margin: 16px 0 12px; color: #161e2d; }

.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.gap-12 { gap: 12px; }

/* ---------- Photos (conception, à propos) ---------- */
.db-photo { position: relative; border-radius: 16px; overflow: hidden; }
.db-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }

/* Mention « Visuel d'illustration » */
.db-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(22, 30, 45, .65);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
#showroom .content-left { position: relative; }

/* Showroom : vignettes */
.db-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 520px; }
.db-thumbs a { display: block; border-radius: 12px; overflow: hidden; }
.db-thumbs img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.db-thumbs a:hover img { transform: scale(1.06); }

/* Catalogue : cartes produits */
.db-product { display: block; color: inherit; }
.db-product:hover { color: inherit; }
.db-product .db-card-img { aspect-ratio: 4 / 3; background: #f3f1ee; }
.db-product .db-card-body { padding: 18px 20px 22px; }
.db-product .db-card-body p { font-size: 15px; }

.mt-12 { margin-top: 12px; }

/* Showroom : photo des meubles affichée entière (pas étirée sur la hauteur du texte) */
#showroom .flat-img-with-text { align-items: center; }
#showroom .content-left { align-self: center; }
#showroom .content-left img {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 16px;
}

/* Arrondi homogène (16px) sur toutes les photos de contenu */
.flat-slider-detail-v1 .box-img-detail,
.flat-slider-detail-v1 .box-img-detail img { border-radius: 16px; overflow: hidden; }
.flat-banner .wrap-banner .box-right img { border-radius: 16px; }

/* Hero : le mot animé (« à Liège »…) est masqué par overflow:hidden —
   on agrandit sa zone vers le bas pour ne plus couper les lettres
   descendantes (g, p, j…), sans décaler la mise en page. */
.flat-slider .animationtext.clip .cd-words-wrapper {
  padding-bottom: .22em;
  margin-bottom: -.22em;
}
