.salvaspazio {
  font-family: 'Inter', sans-serif;
}

/* HERO */
.hero {
  position: relative;
  min-height: 85vh;
  background: url('../images/page-salotti/hero.png') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,.15));
}

.hero__content {
  position: relative;
  max-width: 700px;
  padding: 0 8%;
  color: #fff;
}

.hero__tag {
  opacity: .7;
  font-size: 14px;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 15px 0;
}

.hero p {
  line-height: 1.6;
  max-width: 600px;
}

.btn-primary {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 28px;
  background: #c46a28;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* SECTIONS */
.section {
  padding: 90px 8%;
}

.section.alt {
  background: #f6f6f6;
}

.section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section__grid.reverse {
  grid-template-columns: 1fr 1fr;
}

.center {
  text-align: center;
  margin-bottom: 50px;
}

/* FEATURES */
.features {
  margin-top: 30px;
}

.features li {
  margin-bottom: 20px;
  list-style: none;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card img {
  width: 100%;
  border-radius: 6px;
}

.card h3 {
  margin-top: 15px;
}

/* IMAGES */
.image-box img {
  width: 100%;
  border-radius: 8px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .section__grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 70vh;
  }
}
.double-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 80px 4%;
  background: #f6f6f6;
}

.card {
  background: #fff;
  padding: 45px;
  border-radius: 6px;
}

.card-tag {
  font-size: 13px;
  opacity: .6;
}

.card h2 {
  margin: 15px 0 20px;
  font-size: 26px;
}


.card-left p {
  max-width: 420px;
  line-height: 1.6;
}

.card-features {
  margin-top: 30px;
}

.feature {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.feature img {
  width: 36px;
  height: 36px;
}

/* RIGHT CARD */
.wardrobe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.wardrobe-item img {
  width: 100%;
  border-radius: 4px;
}

.wardrobe-item p {
  font-size: 14px;
  margin-top: 8px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .double-cards {
    grid-template-columns: 1fr;
  }

  .wardrobe-grid {
    grid-template-columns: 1fr;
  }
}
.bath-section {
  padding: 80px 8%;
}

.bath-section h2 {
  margin: 15px 0 40px;
}

.bath-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 25px;
}

.bath-card {
  position: relative;
}

.bath-card img {
  width: 100%;
  border-radius: 6px;
}

.bath-card span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0,0,0,.6);
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 3px;
}
.icons-section {
  background: #f6f6f6;
  padding: 80px 8%;
  text-align: center;
}

.icons-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon-item img {
  width: 48px;
  margin-bottom: 10px;
}

.icon-item p {
  font-size: 14px;
}
.cta-section {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 90px 8%;
}

.cta-section h2 {
  margin-bottom: 15px;
}

.cta-section p {
  opacity: .8;
  margin-bottom: 30px;
}

.cta-btn {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: linear-gradient(135deg, #c46a28, #e08a3c);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(196, 106, 40, 0.35);
}
.cta-btn:hover {
    background: linear-gradient(135deg, #b85f20, #d97b2f);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(196, 106, 40, 0.45);
}

.cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(196, 106, 40, 0.3);
}
/* cacher le texte détaillé par défaut */
.wardrobe-item p {
  max-height: 4.5em; /* ~2 lignes */
  overflow: hidden;
  transition: max-height 0.35s ease;
}

/* afficher tout le texte au hover */
.wardrobe-item:hover p {
  max-height: 500px;
}
.wardrobe-item {
  position: relative;
}

/* Icône d’indication */
.wardrobe-item::after {
  content: " ↘"; /* chevron */
  position: absolute;
  bottom: 12px;
  right: -4px;
  font-size: 18px;
  color: #999;
  opacity: 0.7;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Animation + disparition au hover */
.wardrobe-item:hover::after {
  opacity: 0;
  transform: translateY(-6px);
}
@keyframes hint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.wardrobe-item::after {
  animation: hint 1.8s infinite;
}
.bath-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* IMAGE */
.bath-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* TEXTE DETAIL (p) */
.bath-card p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: rgba(245,245,245,0.95); /* fond léger semi-transparent */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
  font-size: 14px;
}

/* HOVER SUR L'IMAGE = TEXTE DETAIL APPARAIT */
.bath-card:hover p {
  opacity: 1;
  transform: translateY(0);
}
.text-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.text-more.is-open {
  max-height: 300px; /* ajuste selon le contenu */
  opacity: 1;
}

.read-more-btn {
  background: none;
  border: none;
  color: #c46a1a; /* orange brand */
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
}

.read-more-btn:hover {
  text-decoration: underline;
}
.card img,
.wardrobe-item img,
.bath-card img {
  max-width: 520px;
  margin-inline: auto;
}
@media (max-width: 1024px) {


.wardrobe-item img {
  max-width: 220px;
  margin-inline: auto;
}
  .wardrobe-item{
        display: flex;
}
  
 
}
@media (max-width: 768px) {
  .wardrobe-item{
              display: block;
  }
  .wardrobe-item p {
    max-height: auto; 
     overflow: none; 
    /* transition: max-height 0.35s ease; */
}
}
