/* ZoraMen — styles propres à l'accueil. */

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }

.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 35%; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, #14100d 0%, rgba(20,16,13,.94) 34%, rgba(20,16,13,.55) 58%, rgba(20,16,13,.25) 100%);
}

.hero-badge {
  position: absolute; top: 96px; right: 24px; z-index: 3;
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(20,16,13,.72); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: .5rem 1rem; font-size: .8rem; color: #fff;
  backdrop-filter: blur(6px);
}
.hero-badge .zm-ico {font-size: 16px; color: var(--gold); }

.hero-in { position: relative; z-index: 2; padding: clamp(7rem, 14vw, 10.5rem) 16px clamp(3.4rem, 8vw, 6rem); }
.hero-txt { max-width: 560px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 span { display: block; }
.hero h1 .gold { color: var(--gold); }
.hero-sub { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 42ch; }

.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.8rem 0; padding: 0; }
.hero-chips li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: rgba(255,255,255,.9); }
.hero-chips .zm-ico {font-size: 17px; color: var(--gold); }

.hero-btns { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Bandeau atouts ---------- */
.usp-bar { background: var(--cream); border-bottom: 1px solid var(--line); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; padding-block: 1.5rem; }
.usp { display: flex; align-items: center; gap: .8rem; }
.usp-ico {font-size: 26px; color: var(--gold-ink); }
.usp div { display: flex; flex-direction: column; line-height: 1.35; }
.usp strong { font-size: .92rem; font-weight: 600; }
.usp span { font-size: .84rem; color: var(--ink-soft); }

/* Les cartes de service (.svc-grid / .svc-card) vivent dans site.css :
   elles servent aussi sur la fiche service, qui ne charge pas cette feuille. */

/* ---------- Étapes ---------- */
.sec-steps { background: #fff; position: relative; }
.steps {
  list-style: none; margin: 2.4rem 0 0; padding: 0;
  display: flex; align-items: flex-start; justify-content: center; gap: 1.4rem; flex-wrap: wrap;
}
.step { flex: 1 1 210px; max-width: 280px; text-align: center; position: relative; }
.step-num {
  font-family: var(--font-head); font-size: 1.6rem; color: var(--gold);
  position: absolute; left: 50%; top: 4px; transform: translateX(-136px);
}
.step-ico {
  width: 76px; height: 76px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line);
  display: grid; place-items: center; margin: 0 auto 1rem; color: var(--gold-ink);
  box-shadow: var(--shadow);
}
.step-ico .zm-ico {font-size: 30px; }
.step h3 { font-family: var(--font-body); font-size: .98rem; margin-bottom: .35rem; }
.step p { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.step-arrow { color: var(--ink-faint); align-self: center; margin-top: 1.6rem; }
.step-arrow .zm-ico {font-size: 26px; }

.script-note {
  font-family: var(--font-head); font-style: italic; font-size: 1.35rem; color: var(--gold-ink);
  text-align: right; margin: 1.4rem 0 0; line-height: 1.25;
}

/* ---------- Travail récent ---------- */
.sec-work { background: var(--cream); }

.work-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem 1.4rem;
  border-bottom: 1px solid var(--line); padding-bottom: 1.1rem; margin-bottom: 2.2rem;
}
.work-title { flex: 1 1 auto; }
.work-num { font-family: var(--font-head); font-style: italic; font-size: 1.1rem; color: var(--ink-faint); margin: 0; }
.work-title { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 0; }
.work-title em { font-style: italic; color: var(--gold-ink); font-weight: 600; }
.work-note { margin: 0; text-align: right; font-size: .84rem; color: var(--ink-soft); max-width: 34ch; flex: 0 1 auto; }

.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.work-item {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--cream-2); box-shadow: var(--shadow);
}
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.work-item:hover img { transform: scale(1.04); }
/* Voile bas : les légendes blanches doivent rester lisibles quelle que soit la photo. */
.work-item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(14,10,8,.82) 0%, rgba(14,10,8,.35) 22%, rgba(14,10,8,0) 45%);
}
.work-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem;
  padding: .9rem 1rem; color: #fff;
}
.work-idx { font-family: var(--font-head); font-style: italic; font-size: 1.05rem; opacity: .75; }
.work-cap {
  text-align: right; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  line-height: 1.5; color: rgba(255,255,255,.92);
}

/* ---------- Avis ---------- *//* ---------- Avis ---------- */
.sec-reviews { background: var(--cream); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.rev-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; }
.rev-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.rev-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--cream-2); color: var(--gold-ink); display: grid; place-items: center;
}
.rev-head strong { display: block; font-size: .92rem; }
.rev-quote {font-size: 26px; margin-left: auto; color: var(--line); }
.rev-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.rev-area { display: inline-flex; align-items: center; gap: .35rem; margin-top: .8rem; font-size: .78rem; color: var(--ink-faint); }
.rev-area .zm-ico {font-size: 14px; }

/* ---------- Zone d'intervention ---------- */
.sec-zones { position: relative; color: var(--ink); overflow: hidden; background: var(--cream-2); }
.zone-bg { position: absolute; inset: 0; }
.zone-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 60%; }
/* Le voile s'arrête plus tôt : à 94 % d'opacité jusqu'aux trois quarts,
   la photo devenait illisible et la section paraissait simplement sale. */
.zone-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fbf8f4 0%, rgba(251,248,244,.92) 30%, rgba(251,248,244,.55) 52%, rgba(251,248,244,0) 82%);
}
.zone-in { position: relative; z-index: 2; }
.zone-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 1.8rem 2.4rem; margin: 1.8rem 0 0; padding: 0;
}
.zone-list a {
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  text-decoration: none; font-size: .82rem; color: var(--ink-soft); width: 74px; text-align: center;
}
.zone-list .zm-ico {font-size: 26px; color: var(--gold-ink); }
.zone-list a:hover { color: var(--gold-ink); }

/* ---------- Adaptations ---------- */
@media (max-width: 860px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .work-note { grid-column: 1 / -1; text-align: left; max-width: none; }
  .rev-grid { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .step-num { position: static; display: block; transform: none; margin-bottom: .2rem; }
  .script-note { text-align: center; }
}
@media (max-width: 620px) {
  .hero-media img { object-position: 70% 30%; }
  .hero-chips { gap: .8rem 1.2rem; }
  .hero-btns .btn { flex: 1 1 100%; }
}

/* ---------- Défilement horizontal sur petit écran ----------
   Sur mobile, empiler 4 photos en 4/5 puis 3 étapes donne une page
   interminable : on les fait défiler latéralement, avec accrochage.
   Les deux listes débordent volontairement du .wrap (margin négative +
   padding compensatoire) pour atteindre le bord de l'écran ; sans ce
   padding, la première et la dernière carte collent au bord. */
@media (max-width: 1080px) {
  .work-grid {
    display: flex;
    grid-template-columns: none;
    gap: .9rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;          /* ne déclenche pas le "retour" du navigateur */
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 16px;
    margin-inline: -16px;
    padding: 0 16px .85rem;
  }
  .work-item {
    flex: 0 0 clamp(240px, 70vw, 310px);
    scroll-snap-align: start;
  }
}

@media (max-width: 860px) {
  .steps {
    justify-content: flex-start;             /* centré + débordement = 1re carte coupée */
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 16px;
    margin-inline: -16px;
    padding: 0 16px .85rem;
    gap: .9rem;
  }
  .step {
    flex: 0 0 clamp(210px, 68vw, 260px);
    max-width: none;
    scroll-snap-align: start;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.3rem 1rem 1.4rem;
  }
  .step-arrow { display: none; }
  .step-num { position: static; display: block; transform: none; margin-bottom: .3rem; }
}

/* Barre de défilement discrète mais visible : c'est elle qui signale
   qu'il y a du contenu à droite. */
.work-grid, .steps { scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.work-grid::-webkit-scrollbar, .steps::-webkit-scrollbar { height: 4px; }
.work-grid::-webkit-scrollbar-track, .steps::-webkit-scrollbar-track { background: var(--line); border-radius: 99px; }
.work-grid::-webkit-scrollbar-thumb, .steps::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 99px; }

.rev-agg { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; font-size: .92rem; color: var(--ink-soft); margin: -.6rem 0 1.8rem; }
.rev-agg strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.rev-agg a { color: var(--gold-ink); }

/* ---------- Bloc éditorial + FAQ de l'accueil ---------- */
.sec-about-home { background: #fff; }
.about-home { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.about-home-txt h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 1rem; }
.about-home-txt h3 { font-family: var(--font-head); font-size: 1.22rem; margin: 2rem 0 .8rem; }
.about-home-txt p { color: var(--ink-soft); }
.about-home-txt .tick-list { margin-bottom: .5rem; }

.about-home-side { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; }
.about-home-side h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 1rem; }

.faq-mini { border-bottom: 1px solid var(--line); padding: .2rem 0; }
.faq-mini:last-of-type { border-bottom: 0; }
.faq-mini summary {
  cursor: pointer; list-style: none; padding: .75rem 0; font-weight: 600; font-size: .93rem;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
}
.faq-mini summary::-webkit-details-marker { display: none; }
.faq-mini summary::after { content: '+'; color: var(--gold-ink); font-size: 1.25rem; line-height: 1; flex: none; }
.faq-mini[open] summary::after { content: '−'; }
.faq-mini summary:hover { color: var(--gold-ink); }
.faq-mini p { margin: 0 0 .9rem; font-size: .88rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .about-home { grid-template-columns: 1fr; gap: 2rem; }
}
