/* ==========================================================================
   Prittio — page d'accueil (nouveau découpage, 26/10/2026)
   Nouvelles sections : bandeau seul, équipe (carrousel), « Ce que vous pouvez
   nous confier », « Pourquoi Prittio », cartes d'infos du contact.
   Ordre d'empilement des cartes : chaque section passe au-dessus de la précédente.
   ========================================================================== */

/* ---------- ordre d'empilement ---------- */
main .services   { z-index: 5; }
main .team-sec   { z-index: 6; }
main .confier    { z-index: 7; }
main .projects   { z-index: 8; }
main .method--a  { z-index: 9; }
main .why        { z-index: 10; }
main .contact    { z-index: 11; }
main .news       { z-index: 12; }
main .footer     { z-index: 13; }

/* ---------- bandeau orange seul ---------- */
.studio--band { padding-bottom: calc(var(--radius-xl) + 20px); }

/* ---------- en-têtes de section communs ---------- */
.hsec__head { text-align: center; }
.hsec__head--left { text-align: left; }
.hsec__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.hsec__title {
  margin-top: 14px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 5.4vw, 86px); line-height: .92;
  text-transform: uppercase; text-wrap: balance;
}
.hsec__lead { max-width: 520px; margin: 18px auto 0; opacity: .72; }
.hsec__more { display: flex; justify-content: center; margin-top: 46px; }
.btn-ink {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  border: 1.5px solid currentColor;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.btn-ink svg { width: 14px; height: 14px; }
.btn-ink:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- 3 · L'équipe (crème) ---------- */
.team-sec { background: var(--cream); color: var(--ink); }
.tcar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-top: 60px; }
.tcar__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 28px) / 3);
  gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.tcar__track::-webkit-scrollbar { display: none; }
.tcar__btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink); color: var(--ink);
  transition: background .3s, color .3s, opacity .3s;
}
.tcar__btn svg { width: 18px; height: 18px; }
.tcar__btn[data-dir="-1"] svg { rotate: 180deg; }
.tcar__btn:hover { background: var(--ink); color: var(--cream); }
.tcar:not(.is-scrollable) .tcar__btn { visibility: hidden; }   /* 3 personnes : pas de flèches */
.tmember { scroll-snap-align: start; min-width: 0; }
.tmember__media {
  position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(255,243,230,.06) 0 14px, transparent 14px 28px), var(--teal-800);
}
.tmember__media .ph {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center;
  color: rgba(255,243,230,.6); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.tmember__media img { width: 100%; height: 100%; object-fit: cover; }
.tmember__role { margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.tmember__name { margin-top: 6px; font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); text-transform: uppercase; }
.tmember__note { margin-top: 6px; font-size: 14px; color: rgba(6, 42, 51, .62); }
.tmember__li {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-400);
}
.tmember__li svg { width: 13px; height: 13px; }
.tmember__li:hover { color: var(--orange); }

/* ---------- 4 · Ce que vous pouvez nous confier (bleu canard) ---------- */
.confier { background: var(--teal-400); color: var(--white); }
.confier .hsec__eyebrow { color: var(--white); opacity: .85; }

/* ---------- 5 · Projets (bleu nuit) : liens inactifs pour les fiches à venir ---------- */
.pcard a[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- 7 · Pourquoi Prittio (bleu foncé) ---------- */
.why { background: var(--cream); color: var(--ink); }
.why .stack__inner { text-align: center; }
.why__text {
  max-width: 17ch; margin: 22px auto 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 6.4vw, 104px); line-height: .94; text-transform: uppercase; text-wrap: balance;
}
.why__text em { font-style: normal; color: var(--orange); }
.why__label { margin-top: 64px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.why__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 18px; }


/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .tcar__track { grid-auto-columns: calc((100% - 28px) / 2); }
  .needs { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  .tcar { grid-template-columns: minmax(0, 1fr); }
  .tcar__btn { display: none; }
  .tcar__track { grid-auto-columns: 82%; }
}

/* ---------- formulaire : les champs restent dans la carte ---------- */
.form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { min-width: 0; }
.field input, .field textarea { width: 100%; min-width: 0; box-sizing: border-box; }

/* ==========================================================================
   Retours du 26/10 (18 h)
   ========================================================================== */

/* ---------- 2 · Savoir-faire : titre + 5 lignes tiennent sur un écran d'ordinateur ---------- */
.services .stack__inner { padding-top: calc(var(--radius-xl) + 34px); padding-bottom: 60px; }
.services .mega { font-size: clamp(46px, 7.2vw, 124px); }
.services .section-intro { margin-top: 14px; }
.services .crafts { margin-top: 34px; }
.services .craft { padding: 13px 1vw; }
.services .craft__num { font-size: clamp(30px, 3.4vw, 54px); }

/* ---------- 3 · L'équipe : la section tient sur un écran ---------- */
.team-sec .stack__inner { padding-top: calc(var(--radius-xl) + 34px); padding-bottom: 60px; }
.team-sec .hsec__title { font-size: clamp(34px, 4.2vw, 64px); }
.team-sec .hsec__lead { margin-top: 12px; }
.tcar { max-width: 1120px; margin: 36px auto 0; }
.tmember__media { aspect-ratio: 4 / 3; border-radius: 20px; }
.tmember__role { margin-top: 14px; }
.tmember__note { font-size: 13.5px; }
.team-sec .hsec__more { margin-top: 30px; }

/* ---------- 4 · Ce que vous pouvez nous confier : 3 colonnes cliquables (version d'origine) ---------- */
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: 60px; }
.need { display: block; padding-top: 22px; border-top: 1.5px solid rgba(255, 255, 255, .4); transition: border-color .3s; }
.need__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .6); font-size: 13px; font-weight: 600;
  transition: background .3s, color .3s, border-color .3s;
}
.need h3 { margin-top: 22px; font-size: clamp(19px, 1.6vw, 24px); font-weight: 700; line-height: 1.25; text-wrap: balance; }
.need p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.need__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.need__more svg { width: 13px; height: 13px; transition: translate .4s var(--ease-expo); }
.need:hover { border-color: var(--white); }
.need:hover .need__num { background: var(--white); color: var(--teal-400); border-color: var(--white); }
.need:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.need:hover .need__more svg { translate: 3px -3px; }
.need:focus-visible { outline: 3px solid var(--white); outline-offset: 6px; }

/* ---------- 7 · Pourquoi Prittio : emplacements des logos ---------- */
.why__label { margin-top: 70px; }
.why__logos { gap: 40px; margin-top: 22px; align-items: center; }
.why__logo {
  display: grid; place-items: center; width: 200px; height: 90px; padding: 10px;
  border-radius: 14px; border: 1px dashed rgba(6, 42, 51, .3);
  font-size: 12px; opacity: .55;
}
.why__logos img { max-height: 80px; width: auto; }

/* ---------- pied de page sans les formes dessinées ---------- */
.footer__bottom { margin-top: 56px; }

/* ---------- ajustements pour les écrans d'ordinateur bas (1366 × 768) ---------- */
.services .stack__inner, .team-sec .stack__inner, .confier .stack__inner { padding-top: calc(var(--radius-xl) + 3.5vh); padding-bottom: 6vh; }
.services .mega { font-size: min(7.2vw, 12.5vh); }
.services .crafts { margin-top: 3.6vh; }
.services .craft { padding: 1.35vh 1vw; }
.services .craft__num { font-size: min(3.4vw, 6.2vh); }
.team-sec .hsec__title { font-size: min(4.2vw, 7.6vh); }
.tcar { margin-top: 3.6vh; }
.tmember__media { aspect-ratio: auto; height: min(29vh, 290px); }
.confier .hsec__title { font-size: min(5.4vw, 8.6vh); }
.needs { margin-top: 5vh; }
.why__text { font-size: min(6.4vw, 10.5vh); }
@media (max-width: 640px) {
  .tmember__media { height: 260px; }
}

/* ---------- 2 · Savoir-faire : chaque ligne est un lien vers la page Savoir-faire ---------- */
.craft__link { position: absolute; inset: 0; z-index: 2; border-radius: 20px; }
.craft__link:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Logos des partenaires (fichiers à fond transparent) */
.why__logos img { max-height: 70px; }

/* ==========================================================================
   Retours du 28/10
   ========================================================================== */

/* ---------- 1 · bouton du haut : il lance la vidéo de présentation ---------- */
.hero__cta button.btn-pill { cursor: pointer; font: inherit; }

/* ---------- bandeau orange : il passe au-dessus du bord de la section Savoir-faire ---------- */
main .studio--band { z-index: 6; padding-bottom: 0; margin-bottom: -38px; }
.studio--band .band { z-index: 2; }
.studio--band::before { display: none; }
main .services { z-index: 5; }
.services .stack__inner { padding-top: calc(var(--radius-xl) + 30px + 3vh); }

/* ---------- 3 · équipe : noms, textes et icônes alignés d'une carte à l'autre ---------- */
.tmember { display: flex; flex-direction: column; }
.tmember__role { line-height: 1.5; min-height: 3em; }
.tmember__li { margin-top: auto; padding-top: 14px; color: var(--teal-400); }
.tmember__li svg { width: 22px; height: 22px; }

/* ---------- 4 · Ce que vous pouvez nous confier ---------- */
.confier .hsec__title--line { font-size: min(4.6vw, 8vh); white-space: nowrap; }
.confier .stack__inner { padding-bottom: calc(var(--radius-xl) + 9vh); }
.need__num { background: var(--orange); border-color: var(--orange); color: var(--white); font-size: 14px; font-weight: 700; }
.need:hover .need__num { background: var(--white); color: var(--orange); border-color: var(--white); }

/* ---------- Pourquoi Prittio : phrase sur 4 lignes, logos visibles ---------- */
.why__text { max-width: 24ch; font-size: min(5.2vw, 8.6vh); }
.why .stack__inner { padding-bottom: calc(var(--radius-xl) + 80px); }
.why__label { margin-top: 5vh; }

@media (max-width: 1000px) {
  .confier .hsec__title--line { white-space: normal; font-size: clamp(34px, 8vw, 60px); }
}
.team-sec .stack__inner { padding-bottom: calc(var(--radius-xl) + 6vh); }
/* Pourquoi Prittio : la section occupe toute la hauteur de l'écran, logos compris */
.why { min-height: 100vh; }
.why .stack__inner {
  min-height: 100vh; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding-top: calc(var(--radius-xl) + 6vh); padding-bottom: calc(var(--radius-xl) + 10vh);
}
/* Ce que vous pouvez nous confier : pleine hauteur d'écran, plus d'air */
.confier { min-height: 100vh; }
.confier .stack__inner {
  min-height: 100vh; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--radius-xl) + 6vh); padding-bottom: calc(var(--radius-xl) + 12vh);
}
.confier .needs { margin-top: 9vh; }
.confier .need { padding-top: 36px; }
.confier .need h3 { margin-top: 30px; }
