/* -------- Offres – Page complète -------- */

/* 1. Page Header */
/* En-tête pleine largeur */
.page-header {
  background: var(--color-light); /* ou transparent selon votre design */
  padding: 4rem 0 2rem;
  text-align: center;             /* centre les titres */
}

/* Container normal */
.page-header .container {
  max-width: 1200px; /* selon votre config container */
  margin: 0 auto;
  padding: 0 2rem;   /* padding horizontal standard */
}

/* Titres */
.page-header h1 {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: .5rem;
}
.page-header h2 {
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-text);
}


/* 2. Introduction Offres */
.offers-intro .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.offers-intro .col {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform .3s, box-shadow .3s;
}
.offers-intro .col:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.offers-intro h3 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
}
.offers-intro p {
  color: var(--color-text);
  line-height: 1.6;
}

/* Tagline */
.offers-tagline {
  text-align: center;
  font-size: 1.2rem;
  margin: 3rem 0;
  color: var(--color-text);
}

/* 3. Icônes Services */
.services-icons .icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.icon-wrap {
  width: 80px;
  height: 80px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform .3s;
}
.icon-wrap img {
  width: 50%;
  height: 50%;
}
.icon-card:hover .icon-wrap {
  transform: scale(1.1);
}
.icon-card p {
  color: var(--color-text);
  font-size: 1rem;
}

/* 4. Call to Action */
.cta-section {
  text-align: center;
  margin: 3rem 0;
}
.cta-section .btn {
  padding: .8rem 2rem;
  font-size: 1rem;
}

/* 5. Résidence Secondaire */
.secondary-residence h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--color-primary);
  margin: 3rem 0;
}

/* 6. Détails Services Résidence Secondaire */

/* =========================================
   SERVICES RÉSIDENCE SECONDAIRE
   Encadrés équilibrés et centrés
========================================= */

.service-details .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* Encadrés */
.service-details .service-block {
  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 0;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.8rem);

  background: #fff;
  border: 1px solid rgba(201, 172, 129, 0.25);
  border-radius: 18px;

  box-shadow: 0 8px 28px rgba(98, 35, 35, 0.07);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Titres centrés */
.service-details .service-block h3 {
  width: 100%;
  margin: 0 0 1.5rem;

  color: var(--color-primary);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.3;
  text-align: center;
}

/* Liste centrée dans l'encadré */
.service-details .service-block ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: fit-content;
  max-width: 100%;
  margin: 0 auto 2rem;
  padding: 0;

  list-style: none;
}

/* Prestations lisibles et alignées */
.service-details .service-block ul li {
  position: relative;
  width: 100%;
  padding-left: 1.7rem;
  margin-bottom: 0.85rem;

  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.6;
  text-align: left;
}

/* Puces dorées */
.service-details .service-block ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;

  color: var(--color-secondary);
  font-weight: 700;
}

/* Boutons centrés en bas */
.service-details .service-block button {
  align-self: center;
  margin-top: auto;

  min-width: 170px;
  padding: 0.85rem 1.5rem;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Animation */
@media (hover: hover) {
  .service-details .service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(98, 35, 35, 0.12);
  }

  .service-details .service-block button:hover {
    transform: translateY(-2px);
  }
}

/* =========================================
   RESPONSIVE
========================================= */

/* Tablettes et mobiles */
@media (max-width: 768px) {
  .service-details .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .service-details .service-block {
    padding: 2rem 1.5rem;
  }
}

/* Petits téléphones */
@media (max-width: 400px) {
  .service-details .service-block {
    padding: 1.5rem 1rem;
  }

  .service-details .service-block ul li {
    font-size: 0.92rem;
  }

  .service-details .service-block button {
    width: 100%;
    max-width: 240px;
  }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .service-details .service-block,
  .service-details .service-block button {
    transition: none;
  }
}


/*7. Galerie de biens */

/* ========================================
   GALERIE DE BIENS - LUXOSUN
   Responsive, uniforme et évolutive
======================================== */

.property-gallery {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.property-gallery h2 {
  text-align: center;
  color: var(--color-primary);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 2.5rem;
}

/* Grille en 3 colonnes */
.property-gallery .gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* Toutes les cartes ont les mêmes dimensions */
.property-gallery .gallery-item {
  position: relative;
  display: block;

  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;

  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 14px;

  background: #f5f2ed;
  box-shadow: 0 5px 18px rgba(98,35,35,0.10);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Conteneur image */
.property-gallery .item-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

/* Images uniformes */
.property-gallery .item-media img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.6s ease;
}

/* Léger effet premium au survol */
@media (hover: hover) {
  .property-gallery .gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(98,35,35,0.18);
  }

  .property-gallery .gallery-item:hover img {
    transform: scale(1.06);
  }
}

/* Accessibilité clavier */
.property-gallery .gallery-item:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 4px;
}

/* ========================================
   TABLETTE - 2 COLONNES
======================================== */

@media (max-width: 900px) {
  .property-gallery .gallery-grid {
    gap: 1.2rem;
  }

  .property-gallery .gallery-item {
    flex-basis: calc((100% - 1.2rem) / 2);
  }
}

/* ========================================
   MOBILE - 1 COLONNE
======================================== */

@media (max-width: 560px) {
  .property-gallery .gallery-grid {
    gap: 1.3rem;
  }

  .property-gallery .gallery-item {
    flex-basis: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .property-gallery h2 {
    margin-bottom: 1.8rem;
  }
}

/* Réduction des animations si nécessaire */
@media (prefers-reduced-motion: reduce) {
  .property-gallery .gallery-item,
  .property-gallery .item-media img {
    transition: none;
  }
}



/* 8. Responsive */
@media (max-width: 768px) {
  .offers-intro .row,
  .service-details .row {
    grid-template-columns: 1fr;
  }
  .services-icons .icons {
    grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  }
}

