/* ==========================================================
   SECTION BIENVENUE — Page d’accueil
   ========================================================== */

.home-bienvenue {
  background-color: var(--bg);
  padding: 120px 0;
}

.bienvenue-container {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 0 40px;
}

/* COLONNE TEXTE */
.bienvenue-texte h2 {
  font-family: var(--font-title);
  font-size: 90px;
  color: var(--accent-dark);
  margin-bottom: 40px;
  font-weight: normal;
}

.bienvenue-texte p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 620px;
}

/* COLONNE IMAGE — FORMAT FIXE */
.bienvenue-image {
  width: 797px;
  height: 531px;
  overflow: hidden;
  border-radius: 6px;
}

.bienvenue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================
   SECTION PRESTATIONS
   ========================================================== */

.home-prestations {
  background: #BC8BB7;
  padding: 50px 40px;
}

.presta-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.presta-card {
  display: flex;
  max-width: 700px;
  align-items: center;
  gap: 40px;
  margin-top: 100px;
}

.presta-card img {
  width: 350px;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  
}.presta-titre {
  text-align: center;
  padding: 10px 20px;
}

.presta-titre h2 {
  font-family: var(--font-title);
  color: var(--white);
  font-size: 90px;
  font-weight: normal;
  line-height: 1.1;
  margin-bottom: -50px;
}

.presta-content h3 {
  font-family: 'adobe-caslon-pro';
  font-size: 28px;
  color: #FAF9F5;
  margin-bottom: 15px;
}

.presta-content p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.presta-btn {
  background: #654F64;
  color: #FAF9F5;
  padding: 12px 26px;
  display: inline-block;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  transition: 0.25s ease;
}

.presta-btn:hover {
  background: #4e3b50;
}
/* ==========================================================
   SECTION 3 — À PROPOS
   ========================================================== */

.home-apropos {
  background-color: var(--bg);
  padding: 140px 0;
}

.apropos-container {
  max-width: 1450px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 584px; /* texte + image FIXE */
  gap: 80px;
  align-items: center;
  padding: 0 40px;
}

/* ------ TEXTE ------ */

.apropos-title {
  font-family: var(--font-title);
  font-size: 82px;
  color: var(--accent-dark);
  margin-bottom: 40px;
  font-weight: normal;
}

.apropos-name {
  font-family: var(--font-body);
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 500;
  color: var(--text);
}

.apropos-texte p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 18px;
  max-width: 650px;
}

.apropos-btn {
  background: #BC8BB7;
  color: #FAF9F5;
  padding: 12px 32px;
  display: inline-block;
  font-size: 18px;
  border-radius: 6px;
  margin-top: 20px;
  transition: 0.25s ease;
}

.apropos-btn:hover {
  background: #9f6d9c;
}

/* ------ IMAGE ------ */

.apropos-image {
  width: 584px;
  height: 718px;        /* hauteur fixe */
  overflow: hidden;
}

.apropos-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* rempli le cadre 584x718 sans déformation */
  display: block;
  border-radius: 6px;
}
/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1100px) {
  .apropos-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .apropos-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .apropos-texte p {
    margin: 0 auto 18px;
  }

  .apropos-title {
    font-size: 64px;
  }
}

@media (max-width: 600px) {
  .apropos-title {
    font-size: 48px;
  }
  
  .apropos-name {
    font-size: 22px;
  }
}
/* =======================
   SECTION 4 : CARROUSEL WIX
======================= */

/* SECTION */
.carousel3d-section {
  background: #654F64;
  padding: 100px 0 150px;
  text-align: center;
}

.carousel3d-title {
  font-family: var(--font-title);
  font-size: 90px;
  font-weight: normal;
  margin-bottom: 90px;
  margin-top: -60px;
  color: var(--white);
}

/* WRAPPER 3D */
.carousel3d-wrapper {
  perspective: 1400px;
  width: 800px;
  height: 350px;
  margin: 0 auto;
  overflow: visible;
}

/* CARROUSEL CYLINDRIQUE */
.carousel3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s ease;
}

.carousel3d img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 350px;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  transform-style: preserve-3d;
  transform-origin: center;
}

/* BOUTONS */
.carousel3d-controls {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.carousel3d-controls button {
  font-size: 40px;
  padding: 5px 20px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.carousel3d-controls button:hover {
  background: rgba(255,255,255,0.45);
}


/* =======================
   SECTION 5 : TEMOIGNAGE
======================= */
.temoignages-section {
  width: 100%;
  background-color: var(--bg);
  border-top: 1px solid #ccc;
}

.temoignages-titre {
  text-align: center;
  padding: 10px 20px;
}

.temoignages-titre h2 {
  font-family: var(--font-title);
  color: var(--accent-dark);
  font-size: 90px;
  font-weight: normal;
  line-height: 1.1;
}

.temoignages-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
}

.temoignage_1 {
  text-align: center;
  padding: 60px 40px;
  border: 1px solid #000;
}
.temoignage_2 {
  text-align: center;
  padding: 60px 40px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.temoignage:last-child {
  border-right: none;
}

.temoignage-photo {
  width: 260px;
  height: 260px;
  margin: 0 auto 28px;
  border-radius: 50%;
  overflow: hidden;
}

.temoignage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.temoignage-photo img:hover {
  transform: scale(1.05);
}

.temoignage_1 h3,
.temoignage_2 h3 {
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 18px;
}


/* -----------------------------------------
   SECTION CONTACT (DERNIÈRE SECTION)
----------------------------------------- */

.home-contact {
  position: relative;
  height: 750px;
  background-image: url("../images/index/202500064.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
}

/* voile blanc semi-transparent */
.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55); 
}

/* contenu au-dessus */
.contact-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* Titre */
.contact-content h2 {
  font-family: var(--font-title);
  font-size: 80px;
  color: var(--accent-dark);
  margin-bottom: 30px;
  font-weight: normal;
}

/* Texte */
.contact-content p {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 40px;
}

/* Bouton */
.contact-btn {
  background: #654F64;
  color: #FAF9F5;
  padding: 16px 40px;
  border-radius: 6px;
  font-size: 20px;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact-btn:hover {
  background: #513E52;
}


/* -----------------------------
   RESPONSIVE
----------------------------- */

@media (max-width: 900px) {
  .contact-content h2 {
    font-size: 54px;
  }
  .contact-content p {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .contact-content h2 {
    font-size: 42px;
  }
  .contact-content p {
    font-size: 16px;
  }
  .home-contact {
    height: 80vh;
  }
}


/* ============ RESPONSIVE ============ */

/* 2 colonnes tablette */
@media (max-width: 1100px) {
  .temoignages-container {
    grid-template-columns: 1fr 1fr;
  }
  .temoignage:nth-child(2) {
    border-right: none;
  }
}

/* 1 colonne mobile */
@media (max-width: 700px) {
  .temoignages-container {
    grid-template-columns: 1fr;
    border: none;
  }
  .temoignage {
    border-right: none;
    border-bottom: 1px solid #d5d5d5;
  }
  .temoignage:last-child {
    border-bottom: none;
  }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* GRAND ÉCRAN — 1200px */
@media (max-width: 1200px) {
  .bienvenue-image {
    width: 100%;
    height: auto;
  }
}

/* MOYEN ÉCRAN — 1100px */
@media (max-width: 1100px) {
  .bienvenue-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bienvenue-texte p {
    margin: 0 auto 20px;
  }

  .bienvenue-texte h2 {
    font-size: 70px;
  }
}

/* TABLETTES — 900px */
@media (max-width: 900px) {
  .presta-card {
    flex-direction: column;
    text-align: center;
  }

  .presta-card img {
    width: 100%;
    max-width: 352px;
    height: auto;
  }
}

@media (max-width: 1100px) {
  .apropos-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .apropos-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .apropos-texte p {
    margin: 0 auto 18px;
  }

  .apropos-title {
    font-size: 64px;
  }
}

@media (max-width: 600px) {
  .apropos-title {
    font-size: 48px;
  }
  
  .apropos-name {
    font-size: 22px;
  }
}

@media (max-width: 1100px) {
  .apropos-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .apropos-image {
    width: 100%;
    max-width: 400px;   /* tu peux ajuster cette valeur */
    height: auto;       /* sur mobile on laisse respirer */
    margin: 0 auto;
  }

  .apropos-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}