/* ═══════════════════════════════════════════════════════════
   PONT LARAVEL — ajouts à la feuille canonique (qui reste intacte).
   ═══════════════════════════════════════════════════════════ */

/* cartes du portfolio : liens vers la fiche projet */
.card.is-link { cursor: pointer; }
.card-img a { display: block; }
.card-img a:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

/* renvoi vers le portfolio complet, sous la grille */
.coll-more {
  position: relative; z-index: 3;
  text-align: center;
  margin-top: 14vh;
}
.coll-more a {
  display: inline-block;
  background: var(--lime); color: var(--lime-ink);
  padding: 14px 20px;
  border-radius: var(--radius);
  transition: filter .3s var(--ease-out);
}
.coll-more a:hover { filter: brightness(0.94); }

@media (max-width: 900px) {
  .coll-more { margin-top: 8vh; }
}

/* mêmes règles que l'entête des pages intérieures : sous 480 px, logo + nom + menu */
@media (max-width: 480px) {
  .dock-wordmark { font-size: 16px; }
  .dock-cta { display: none; }
}
@media (max-width: 380px) {
  .dock-wordmark { font-size: 14.5px; }
}

/* le dock est posé en left: 50 % : sans largeur explicite il est borné à la
   moitié de l'écran et le nom complet passe à la ligne */
@media (min-width: 901px) {
  .dock { width: max-content; }
  .dock-wordmark { white-space: nowrap; }
}

/* logo de la marque dans le dock et le chargement */
.dock-logo { display: flex; align-items: center; margin-right: 10px; flex: none; }
.dock-logo img { width: 30px; height: 30px; border-radius: 50%; }
.loader-logo {
  width: 56px; height: 56px; border-radius: 50%;
  animation: loader-logo-in .7s var(--ease-out) both;
}
.loader.done .loader-logo { opacity: 0; transform: scale(.8); transition: opacity .35s var(--ease-out), transform .5s var(--ease-inout); }
@keyframes loader-logo-in { from { opacity: 0; transform: scale(.7) rotate(-40deg); } }
@media (max-width: 900px) {
  .dock-logo { margin-right: 8px; }
  .dock-logo img { width: 26px; height: 26px; }
  .dock-wordmark { margin-right: auto; }
  /* écran étroit : les ancres passent dans le menu plein écran (public/css/chrome.css) */
  .dock-nav { display: none !important; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .dock-nav .dock-link:nth-child(n+3) { display: none; }
}

/* rideau de transition entre les pages */
.pt-curtain { position: fixed; inset: 0; z-index: 300; display: flex; pointer-events: none; }
.pt-curtain span {
  flex: 1 1 0; margin-right: -1px;
  background: var(--lime);
  transform: scaleY(0); transform-origin: bottom;
}
.pt-curtain.is-leaving { pointer-events: auto; }
.pt-curtain.is-leaving span {
  transform: scaleY(1);
  transition: transform .5s var(--ease-inout);
}
.pt-curtain.is-leaving span:nth-child(2) { transition-delay: .03s; }
.pt-curtain.is-leaving span:nth-child(3) { transition-delay: .06s; }
.pt-curtain.is-leaving span:nth-child(4) { transition-delay: .09s; }
.pt-curtain.is-leaving span:nth-child(5) { transition-delay: .12s; }
.pt-curtain.is-leaving span:nth-child(6) { transition-delay: .15s; }
.pt-curtain.is-leaving span:nth-child(7) { transition-delay: .18s; }

/* ═══ captures du portfolio : liseré aux couleurs de la marque (orange → prune du logo).
   border-image plutôt que padding : le zoom d'entrée des visuels (.fl img, scale 1.3)
   est coupé au bord intérieur de la bordure, qui reste donc toujours visible. ═══ */
:root { --brand-frame: linear-gradient(135deg, #ff5a14 0%, #d4245c 52%, #6b0f4a 100%); }
.fl,
.card-img,
.trail img {
  border: 3px solid transparent;
  border-image: var(--brand-frame) 1;
}
.card-img { box-shadow: 0 18px 40px rgb(0 0 0 / 0.35); }
.card:hover .card-img { border-image: linear-gradient(135deg, #ff7a33 0%, #ff5a14 45%, #d4245c 100%) 1; }
@media (max-width: 480px) {
  .fl, .card-img, .trail img { border-width: 2px; }
}

/* zoom plein écran : la composition (App\Support\HeroVisual) garde sa moitié haute
   sombre ; un voile léger au centre suffit à détacher la phrase posée par-dessus */
#grow1::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 35% at 50% 50%, rgb(12 11 10 / 0.55), transparent 75%);
  pointer-events: none;
}

/* ═══ accroche du héro aux couleurs de l'entreprise (orange → rose-prune du logo) ═══ */
.hero-title .hero-line1,
.hero-title .hl {
  background: linear-gradient(100deg, #ff5a14 0%, #ff7a2e 35%, #e8336b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ═══ voix clients : les autres témoignages ═══ */
.voices {
  position: relative;
  z-index: 2;
  background: var(--bone);
  padding: 16vh var(--gutter) 18vh;
}
.voices-head { text-align: center; max-width: 900px; margin: 0 auto 9vh; }
.voices-title {
  margin-top: 16px;
  font-size: var(--t-heading);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.voices-grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  max-width: 1280px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.voices-grid--1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.voices-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; }
.voice {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(26px, 3vw, 40px);
  background: var(--white);
  border: 1px solid transparent;
  border-image: var(--brand-frame) 1;
  transition-delay: var(--d, 0ms);
}
.voice-glyph {
  display: block;
  height: 0.62em;
  font-size: 96px;
  line-height: 1;
  color: var(--lime);
}
.voice-quote { margin: 26px 0 30px; }
.voice-quote p {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.voice-sign {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-faint);
}
.voice-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-frame);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
}
.voice-sign b { display: block; font-weight: 500; font-size: 17px; }
.voice-sign small { display: block; margin-top: 3px; color: var(--ash); }
@media (max-width: 900px) {
  .voices { padding: 12vh var(--gutter); }
  .voices-grid, .voices-grid--2 { grid-template-columns: 1fr; }
  .voice { min-height: 0; }
  .voice-glyph { font-size: 72px; }
}

/* ═══ En chiffres (sous la sélection) ═══ */
.stats {
  position: relative; z-index: 3;
  max-width: 1280px;
  margin: 18vh auto 0;
}
.stats-head { text-align: center; margin-bottom: 8vh; }
.stats-title {
  margin-top: 16px;
  font-size: var(--t-heading);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.stat {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px clamp(16px, 2vw, 28px) 30px 0;
}
.stat + .stat { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--ink-faint); }
/* repère de la marque en tête de chaque colonne */
.stat::before {
  content: '';
  position: absolute; top: -1px; left: 0;
  width: 44px; height: 3px;
  background: var(--brand-frame);
}
.stat + .stat::before { left: clamp(16px, 2vw, 28px); }
.stat-label { order: 1; font-size: 17px; color: var(--ink); }
.stat-value {
  order: 2;
  margin: 14px 0 12px;
  font-size: clamp(56px, 6.6vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #ff5a14 0%, #ff7a2e 40%, #e8336b 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.stat-detail { order: 3; max-width: 30ch; line-height: 1.5; }
@media (max-width: 900px) {
  .stats { margin-top: 12vh; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(3)::before { left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--ink-faint); }
}
@media (max-width: 420px) {
  .stat-value { font-size: 48px; }
  .stat-label { font-size: 15px; }
}

/* ═══ Un projet, 3 étapes : numéro géant en orange, titres d'étape en rose-prune
   (seconde couleur du logo, éclaircie pour rester lisible sur le fond sombre) ═══ */
.bignum { color: #ff5a14; }
.pstep h3 { color: #e8336b; }
.pstep-meta { color: #ff8a55; }
