/* =========================================================
   accueil.css – sections de la page d'accueil
   (le haut de page, la barre et le pied de page restent
   dans style-global2.css)
   ========================================================= */

/* ========================= */
/* STRUCTURE COMMUNE */
/* ========================= */

.acc-section{
  padding:110px 20px;
}

.acc-section--blanc{
  background:white;
}

.acc-wrap{
  width:min(1200px, 100%);
  margin:auto;
}

.acc-head{
  max-width:760px;
  margin-bottom:56px;
}

.acc h2{
  font-size:clamp(2rem, 4vw, 3.4rem);
  font-weight:400;
  line-height:1.12;
  margin:18px 0 0;
}

.acc-head p{
  margin-top:22px;
  font-size:1.08rem;
  line-height:1.85;
  color:#5d5148;
}


/* ========================= */
/* LES LOGEMENTS */
/* ========================= */

.acc-apparts{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:30px;
}

.acc-appart{
  position:relative;
  display:flex;
  flex-direction:column;
  background:white;
  border-radius:28px;
  overflow:hidden;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.acc-appart:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 44px rgba(43,33,28,0.10);
}

.acc-appart img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
  object-fit:cover;
}

.acc-appart-texte{
  padding:30px 34px 34px;
}

.acc-appart h3{
  font-size:1.6rem;
  font-weight:500;
}

/* Toute la carte est cliquable (le lien du titre la recouvre) */
.acc-appart h3 a{
  color:inherit;
  text-decoration:none;
}

.acc-appart h3 a::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
}

.acc-appart h3 a:focus-visible{
  outline:none;
}

.acc-appart:focus-within{
  outline:3px solid #c9915a;
  outline-offset:4px;
}

.acc-appart-type{
  margin-top:6px;
  color:#7a6a5f;
}

.acc-appart-chiffres{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:10px 34px;
  margin:24px 0 26px;
  color:#5d5148;
}

.acc-appart-chiffres strong{
  display:block;
  font-size:2rem;
  font-weight:400;
  color:#2e2621;
  line-height:1.15;
}

.acc-fleche{
  color:#9a6230;
  font-weight:500;
}


/* ========================= */
/* DANS CHAQUE LOGEMENT */
/* ========================= */

.acc-atouts{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  border-top:1px solid #e6dccf;
}

.acc-atouts li{
  display:flex;
  flex-direction:column;
  padding:34px 28px 10px 0;
}

.acc-atouts li + li{
  padding-left:28px;
  border-left:1px solid #e6dccf;
}

.acc-gros{
  font-size:clamp(3.6rem, 6vw, 5.2rem);
  font-weight:200;
  line-height:1;
  color:#c9915a;
  margin-bottom:18px;
}

.acc-atouts strong{
  font-size:1.12rem;
  font-weight:500;
  margin-bottom:8px;
}

.acc-atouts li > span:last-child{
  color:#64574e;
  line-height:1.65;
}

.acc-puces{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:46px;
}

.acc-puces li{
  padding:10px 20px;
  border-radius:999px;
  background:#f6f2ec;
  color:#5d5148;
  font-size:0.95rem;
}


/* ========================= */
/* QUI SOMMES-NOUS */
/* ========================= */

.acc-nous{
  max-width:680px;
  text-align:center;
}

.acc-nous p{
  margin-top:22px;
  font-size:1.08rem;
  line-height:1.9;
  color:#5d5148;
}

.acc-signature{
  display:inline-flex;
  align-items:center;
  gap:18px;
  font-weight:500;
}

.acc-signature img{
  width:96px;
  height:96px;
  border-radius:50%;
  object-fit:cover;
}


/* ========================= */
/* OÙ EN EST LE CHANTIER */
/* ========================= */

.acc-section--sombre{
  background:#2b211c;
  color:white;
}

.acc-section--sombre .section-tag{
  color:#d6a36a;
}

.acc-chantier{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap:70px;
  align-items:center;
}

.acc-chantier-intro p{
  margin:22px 0 36px;
  color:rgba(255,255,255,0.78);
  line-height:1.8;
  font-size:1.05rem;
}

.acc-chantier-intro .btn{
  display:inline-block;
}

.acc-nouvelle{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:28px;
  padding:40px;
}

.acc-nouvelle-etiquette{
  display:inline-block;
  padding:6px 14px;
  border-radius:999px;
  background:rgba(214,163,106,0.16);
  color:#d6a36a;
  font-size:0.8rem;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.acc-nouvelle h3{
  margin-top:22px;
  font-size:1.7rem;
  font-weight:400;
}

.acc-nouvelle-date{
  margin-top:4px;
  color:rgba(255,255,255,0.65);
}

.acc-nouvelle p:not(.acc-nouvelle-date){
  margin-top:20px;
  line-height:1.75;
  color:rgba(255,255,255,0.9);
}

.acc-nouvelle .acc-nouvelle-note{
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,0.12);
  color:rgba(255,255,255,0.72);
}

.acc-nouvelle a{
  color:#d6a36a;
}


/* ========================= */
/* GALERIE ET VISITE 3D */
/* ========================= */

.acc-mosaique{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  grid-auto-rows:220px;
  gap:16px;
}

.acc-tuile{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:22px;
  background:#e9e0d4;
  color:inherit;
  text-decoration:none;
}

.acc-tuile img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.6s ease;
}

.acc-tuile:hover img{
  transform:scale(1.05);
}

.acc-tuile:focus-visible{
  outline:3px solid #c9915a;
  outline-offset:3px;
}

.acc-tuile--3d{
  grid-column:span 2;
  grid-row:span 2;
}

.acc-tuile--3d::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(20,15,12,0.85), rgba(20,15,12,0) 60%);
}

.acc-tuile-texte{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:1;
  padding:34px;
  color:white;
}

.acc-tuile-texte strong{
  display:block;
  font-size:2rem;
  font-weight:400;
  margin-bottom:6px;
}

.acc-tuile-texte span{
  display:block;
  max-width:420px;
  line-height:1.6;
  color:rgba(255,255,255,0.85);
}

.acc-tuile--lien{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:26px;
  background:#2b211c;
  color:white;
  transition:background 0.3s ease;
}

.acc-tuile--lien:hover{
  background:#3a2c25;
}

.acc-tuile--lien strong{
  font-size:1.35rem;
  font-weight:500;
  margin-bottom:6px;
}

.acc-tuile--lien span{
  color:#d6a36a;
  line-height:1.5;
}


/* ========================= */
/* SITUATION */
/* ========================= */

/* Un trajet : chaque étape est un point sur une ligne */
.acc-trajet{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  position:relative;
}

.acc-trajet::before{
  content:'';
  position:absolute;
  top:9px;
  left:9px;
  right:calc(100% / 6 - 9px);
  border-top:2px dashed #c9b8a4;
}

.acc-trajet li{
  position:relative;
  padding-top:44px;
  padding-right:20px;
}

.acc-trajet li::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#f6f2ec;
  border:2px solid #c9915a;
  box-sizing:border-box;
}

.acc-trajet .acc-trajet-depart::before{
  background:#c9915a;
  box-shadow:0 0 0 6px rgba(201,145,90,0.22);
}

.acc-trajet strong{
  display:block;
  font-size:1.2rem;
  font-weight:500;
  margin-bottom:4px;
}

.acc-trajet span{
  color:#7a6a5f;
}

/* ========================= */
/* ÊTRE PRÉVENU */
/* ========================= */

.acc-prevenu{
  background:#c9915a;
  color:#2b211c;
  text-align:center;
}

.acc-prevenu p{
  max-width:620px;
  margin:20px auto 36px;
  font-size:1.08rem;
  line-height:1.75;
}

.btn-sombre{
  display:inline-block;
  background:#2b211c;
  color:white;
}

.btn-sombre:hover{
  transform:translateY(-3px);
  background:#3a2c25;
  box-shadow:0 15px 40px rgba(0,0,0,0.2);
}


/* ========================= */
/* TABLETTE */
/* ========================= */

@media (max-width: 980px){

  .acc-section{
    padding:90px 20px;
  }

  .acc-atouts{
    grid-template-columns:repeat(2, 1fr);
  }

  .acc-atouts li:nth-child(3){
    padding-left:0;
    border-left:none;
  }

  .acc-atouts li:nth-child(n+3){
    border-top:1px solid #e6dccf;
  }

  .acc-chantier{
    gap:46px;
  }

  /* Le trajet devient vertical */
  .acc-trajet{
    grid-template-columns:1fr;
    gap:30px;
  }

  .acc-trajet::before{
    top:10px;
    bottom:30px;
    left:9px;
    right:auto;
    border-top:none;
    border-left:2px dashed #c9b8a4;
  }

  .acc-trajet li{
    padding:0 0 0 44px;
  }

  .acc-mosaique{
    grid-template-columns:repeat(2, 1fr);
    grid-auto-rows:180px;
  }
}


/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 720px){

  .acc-section{
    padding:72px 20px;
  }

  .acc-head{
    margin-bottom:40px;
  }

  .acc-apparts,
  .acc-chantier{
    grid-template-columns:1fr;
  }

  .acc-appart-texte{
    padding:24px 24px 28px;
  }

  .acc-atouts li,
  .acc-atouts li + li{
    padding:26px 16px 6px 0;
  }

  .acc-atouts li:nth-child(even){
    padding-left:16px;
  }

  .acc-nouvelle{
    padding:28px;
  }

  .acc-signature img{
    width:64px;
    height:64px;
  }

  .acc-tuile-texte{
    padding:22px;
  }

  .acc-tuile-texte strong{
    font-size:1.6rem;
  }


  .acc-gros{
    font-size:3.2rem;
    margin-bottom:12px;
  }

  .acc-atouts strong{
    font-size:1.02rem;
  }

  .acc-atouts li > span:last-child{
    font-size:0.92rem;
  }

  .acc-mosaique{
    grid-auto-rows:150px;
    gap:12px;
  }

  .acc-tuile--lien{
    padding:18px;
  }

  .acc-tuile--lien strong{
    font-size:1.1rem;
  }

  .acc-tuile--lien span{
    font-size:0.88rem;
  }
}

@media (max-width: 340px){

  .acc-atouts{
    grid-template-columns:1fr;
  }

  .acc-atouts li,
  .acc-atouts li + li,
  .acc-atouts li:nth-child(even){
    padding:24px 0 6px;
    border-left:none;
  }

  .acc-atouts li + li{
    border-top:1px solid #e6dccf;
  }
}
