/* Styles pour la nouvelle page d'accueil basée sur indes.html */

/* Variables de couleurs */
:root {
  --color-chamoisee: #988363;
  --color-davys: #4B4B4A;
  --color-viridian: #6C8C79;
}

/* Utilitaires pour remplacer les classes Tailwind */
.w-full {
  width: 100%;
}

.max-w-screen-xl {
  max-width: 1280px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.container {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.grid {
  display: grid;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.col-span-1 {
  grid-column: span 1 / span 1;
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  
  .lg\:grid-cols-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  
  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }
  
  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }
  
  .lg\:col-span-4 {
    grid-column: span 4 / span 4;
  }
  
  .lg\:col-span-5 {
    grid-column: span 5 / span 5;
  }
  
  .lg\:px-16 {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  
  .lg\:sticky {
    position: sticky;
  }
  
  .lg\:top-24 {
    top: 6rem;
  }
  
  .lg\:h-84 {
    height: 21rem;
  }
  
  .lg\:my-24 {
    margin-top: 6rem;
    margin-bottom: 6rem;
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-start {
  justify-content: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.leading-12 {
  line-height: 3rem;
}

.leading-14 {
  line-height: 3.5rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pb-24 {
  padding-bottom: 6rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-24 {
  margin-top: 6rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.h-32 {
  height: 8rem;
}

.h-44 {
  height: 11rem;
}

.h-84 {
  height: 21rem;
}

.h-96 {
  height: 24rem;
}

.w-fit {
  width: fit-content;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-t-2xl {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.rounded-b-2xl {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.overflow-hidden {
  overflow: hidden;
}

.object-cover {
  object-fit: cover;
}

.border {
  border-width: 1px;
}

.border-x {
  border-left-width: 1px;
  border-right-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.underline {
  text-decoration: underline;
}

.cursor-pointer {
  cursor: pointer;
}

.list-none {
  list-style: none;
}

.space-y-5 > * + * {
  margin-top: 1.25rem;
}

.w-full {
  width: 100%;
}

/* Styles spécifiques pour la section FAQ */
section.space-y-5 details {
  margin-bottom: 1.25rem;
}

section.space-y-5 details:last-child {
  margin-bottom: 0;
}

/* Styles spécifiques pour les cartes de projets */
.group {
  transition: all 0.3s ease;
}

.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group:hover .group-hover\:-translate-y-1 {
  transform: translateY(-0.25rem);
}

.group:hover .group-hover\:bg-chamoisee\/5 {
  background-color: rgba(152, 131, 99, 0.05);
}

/* Styles pour Swiper - exactement comme dans indes.html */
.swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.swiper-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.swiper-slide > div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pagination Swiper */
.swiper-pagination {
  position: relative;
  margin-top: 1.5rem;
  text-align: center;
  width: 100%;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: rgba(75, 75, 74, 0.3);
  opacity: 1;
  margin: 0 4px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: inline-block;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-chamoisee) !important;
  width: 12px;
  height: 12px;
}

/* Dynamic bullets - style pour les bullets dynamiques */
.swiper-pagination-dynamic .swiper-pagination-bullet {
  transform: scale(0.8);
}

.swiper-pagination-dynamic .swiper-pagination-bullet-active {
  transform: scale(1);
}

/* Styles pour les détails (FAQ) */
details {
  margin-bottom: 1.25rem;
}

details summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::marker {
  display: none;
}

details[open] summary span:last-child {
  transform: rotate(45deg);
}

details summary span:last-child {
  transition: transform 0.3s ease;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

/* Transitions */
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.ease-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Styles pour la section "Nous vous guidons" */
@media (min-width: 1024px) {
  .section-etapes .image-sticky {
    position: sticky !important;
    top: 6rem !important;
    align-self: start;
    height: 21rem !important; /* lg:h-84 = 21rem comme dans indes.html */
  }
  
  .section-etapes-content {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }
}

/* Responsive */
@media (max-width: 1023px) {
  .section-etapes .image-sticky {
    position: relative !important;
    top: auto !important;
  }
  
  .section-etapes-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

