/* Pages secteurs et guides : mouvement, chiffres vivants, projets réels. */
.motion .rv {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.motion .rv[data-from='up'] {
  transform: translateY(34px);
}
.motion .rv[data-from='left'] {
  transform: translateX(-60px);
}
.motion .rv[data-from='right'] {
  transform: translateX(60px);
}
.motion .rv.in {
  opacity: 1;
  transform: none;
}
.sx {
  font-family: Figtree, system-ui, sans-serif;
  color: var(--ink);
  overflow: hidden;
}
.sx em {
  font-style: normal;
  background: linear-gradient(90deg, var(--sage), #3bb47e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sx-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  padding: clamp(40px, 7vw, 96px) clamp(16px, 5vw, 72px);
  background: radial-gradient(900px 480px at 90% 0, #e3f1ea 0, transparent 65%), #fff;
}
.sx-hero.tone-new {
  background: radial-gradient(900px 480px at 90% 0, #e7ecff 0, transparent 65%), #fff;
}
.sx-hero.tone-warm {
  background: radial-gradient(900px 480px at 90% 0, #ffeadb 0, transparent 65%), #fff;
}
.sx-hero.tone-award {
  background: radial-gradient(900px 480px at 90% 0, #f4ecdf 0, transparent 65%), #fff;
}
.sx-hero h1 {
  font: 800 clamp(2.1rem, 5.2vw, 3.7rem)/1.05 Figtree;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}
.sx-art {
  display: grid;
  place-items: center;
}
.ill {
  width: min(320px, 70vw);
  height: auto;
  fill: none;
  stroke: var(--sage);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ill .ring {
  stroke: var(--line);
  stroke-width: 4;
}
.ill .hub {
  fill: var(--sage);
  stroke: none;
}
.ill-fan .spin path {
  fill: #d8efe4;
  stroke: var(--sage);
}
.ill .spin {
  transform-origin: 100px 100px;
  animation: rot 9s linear infinite;
}
.ill-gear .spin path {
  fill: #ffe7d6;
  stroke: var(--warm);
}
.ill-gear .hub {
  fill: var(--warm);
}
.ill-wave {
  stroke: var(--new);
}
.ill-wave .hub {
  fill: var(--new);
}
.ill-wave .w {
  animation: wave 2.4s ease-in-out infinite;
}
.ill-wave .w2 {
  animation-delay: 0.3s;
}
.ill-wave .w3 {
  animation-delay: 0.6s;
}
.ill-box {
  stroke: #8c6a3f;
}
.ill-box .ring {
  stroke: #8c6a3f;
  fill: #f7efe3;
}
.ill-box .hub {
  fill: var(--hot);
}
.ill-box .float {
  animation: bob 4s ease-in-out infinite;
}
.pulse {
  animation: pls 1.8s ease-out infinite;
  transform-origin: 160px 45px;
}
@keyframes rot {
  to {
    transform: rotate(360deg);
  }
}
@keyframes wave {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}
@keyframes pls {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  white-space: nowrap;
}
.tk-track {
  display: inline-flex;
  gap: 38px;
  padding: 14px 0;
  animation: marquee 60s linear infinite;
}
.ticker:hover .tk-track {
  animation-play-state: paused;
}
.tk {
  font-size: 0.92rem;
}
.tk i {
  color: #a9b8b2;
  font-style: normal;
}
.tk-j {
  background: var(--hot);
  color: #fff;
  border-radius: 6px;
  padding: 1px 7px;
  margin-right: 6px;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.sx-figs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 5vw, 72px) 8px;
}
.fig {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 14px 30px -26px rgba(24, 59, 50, 0.6);
}
.fig strong {
  display: block;
  font: 800 clamp(2.2rem, 5vw, 3.2rem)/1 Figtree;
  color: var(--sage);
  letter-spacing: -0.03em;
}
.fig.hot strong {
  color: var(--hot);
}
.fig span {
  color: var(--soft);
  font-size: 0.92rem;
}
.sx-note {
  padding: 0 clamp(16px, 5vw, 72px);
  font-size: 0.78rem;
  color: var(--soft);
  margin: 6px 0 0;
}
.sx-money {
  padding: 0 clamp(16px, 5vw, 72px);
  font-size: 1.05rem;
  margin: 14px 0 0;
}
.sx-money b {
  color: var(--sage-d);
}
.sx-sec {
  padding: clamp(44px, 7vw, 88px) clamp(16px, 5vw, 72px);
}
.sx-sec h2 {
  font: 800 clamp(1.8rem, 4vw, 2.7rem)/1.1 Figtree;
  letter-spacing: -0.03em;
  margin: 0 0 30px;
  max-width: 22em;
}
.sx-dark {
  background: linear-gradient(160deg, #152f28, #1f5446);
  color: #fff;
}
.sx-dark .h-eyebrow {
  color: #9fd8bd;
}
.sx-dark em {
  background: none;
  color: #9fe0c2;
  -webkit-text-fill-color: #9fe0c2;
}
.trades {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.trade {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: #fff;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.trade:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 22px 34px -24px rgba(24, 59, 50, 0.55);
}
.trade span {
  font-size: 1.8rem;
}
.trade h3 {
  font: 700 1.08rem Figtree;
  margin: 10px 0 4px;
}
.trade p {
  margin: 0;
  color: var(--soft);
  font-size: 0.93rem;
}
.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pain {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.pain-n {
  font: 800 2.2rem Figtree;
  color: #9fe0c2;
}
.pain h3 {
  font: 700 1.12rem Figtree;
  margin: 8px 0;
}
.pain p {
  margin: 0;
  color: #d5e8df;
  line-height: 1.55;
}
.ops {
  display: grid;
  gap: 10px;
  max-width: 880px;
}
.op {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  overflow: hidden;
}
.op-j {
  flex: none;
  width: 70px;
  text-align: center;
  border-radius: 12px;
  padding: 8px 4px;
  background: var(--sky);
}
.op-j strong {
  display: block;
  font: 800 1.1rem Figtree;
}
.op-j small {
  font-size: 0.62rem;
  color: var(--soft);
}
.op.hot .op-j {
  background: var(--hot-bg);
}
.op.hot .op-j strong {
  color: var(--hot);
}
.op.warm .op-j {
  background: var(--warm-bg);
}
.op.warm .op-j strong {
  color: var(--warm);
}
.op h3 {
  font: 700 1rem/1.3 Figtree;
  margin: 0 0 4px;
}
.op p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--soft);
}
.op p b {
  color: var(--ink);
}
.op.lock .op-b {
  filter: blur(5px);
  user-select: none;
}
.op-unlock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.85));
  font: 800 1rem Figtree;
  color: var(--new) !important;
  text-decoration: none;
}
.sx-more {
  margin-top: 22px;
  max-width: 880px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--new-bg);
}
.sx-more p {
  margin: 0;
}
.sx-more b {
  color: var(--new);
}
.guides {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.guide {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: var(--ink) !important;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.guide:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 34px -24px rgba(24, 59, 50, 0.55);
}
.g-k {
  font: 700 0.72rem Figtree;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--new);
}
.guide h3 {
  font: 800 1.12rem/1.25 Figtree;
  margin: 0;
}
.guide p {
  margin: 0;
  color: var(--soft);
  font-size: 0.92rem;
}
.guide b {
  color: var(--sage-d);
}
.rel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rel.big {
  grid-template-columns: repeat(2, 1fr);
}
.relc {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: var(--ink) !important;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.relc:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 34px -24px rgba(24, 59, 50, 0.55);
}
.relc .ill {
  width: 76px;
}
.relc b {
  font: 800 1.1rem Figtree;
}
.relc span {
  color: var(--soft);
  font-size: 0.9rem;
}
.relc em {
  font-weight: 700;
}
.sx-article {
  max-width: 760px;
  margin: auto;
  padding: clamp(40px, 7vw, 80px) 16px;
}
.sx-article h1 {
  font: 800 clamp(2rem, 5vw, 3rem)/1.1 Figtree;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.sx-article h2 {
  font: 800 1.3rem Figtree;
  margin: 30px 0 8px;
}
.sx-article p {
  line-height: 1.7;
  color: #33434b;
}
.sx-cta {
  margin: 34px 0 10px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #183b32, #256855);
  color: #fff;
}
.sx-cta p {
  color: #d6ece2;
}
@media (max-width: 860px) {
  .sx-hero {
    grid-template-columns: 1fr;
  }
  .sx-art {
    order: -1;
  }
  .ill {
    width: 180px;
  }
  .sx-figs {
    grid-template-columns: 1fr 1fr;
  }
  .trades,
  .pains,
  .rel,
  .rel.big {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ill .spin,
  .ill-wave .w,
  .ill-box .float,
  .pulse,
  .tk-track {
    animation: none;
  }
}
/* Photos */
.sx-photo {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: visible;
}
.sx-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 40px 70px -40px rgba(24, 59, 50, 0.7);
}
.sx-photo figcaption {
  font-size: 0.72rem;
  color: var(--soft);
  margin-top: 8px;
  text-align: right;
}
.sx-badge {
  position: absolute;
  left: -26px;
  bottom: 34px;
  width: 120px;
  height: 120px;
  border-radius: 30px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 40px -20px rgba(24, 59, 50, 0.6);
}
.sx-badge .ill {
  width: 92px;
}
.sx-band {
  position: relative;
  margin: clamp(20px, 4vw, 40px) clamp(16px, 5vw, 72px) 0;
  border-radius: 28px;
  overflow: hidden;
}
.sx-band img {
  display: block;
  width: 100%;
  height: clamp(220px, 38vw, 440px);
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s ease-out;
}
.sx-band.in img {
  transform: scale(1);
}
.sx-band figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(20, 30, 30, 0.62);
  color: #fff;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}
.relc img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 6px;
}
@media (max-width: 860px) {
  .sx-badge {
    left: 12px;
    bottom: 40px;
    width: 84px;
    height: 84px;
    border-radius: 22px;
  }
  .sx-badge .ill {
    width: 64px;
  }
}
/* Blocs argumentaires image/texte, FAQ, photos cliquables */
.story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  margin: 0 0 clamp(36px, 6vw, 72px);
}
.story.rev .story-img {
  order: 2;
}
.story-img {
  position: relative;
  display: block;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 34px 60px -36px rgba(24, 59, 50, 0.7);
}
.story-img img {
  display: block;
  width: 100%;
  height: clamp(240px, 30vw, 400px);
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.story-img:hover img {
  transform: scale(1.06);
}
.story-img span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 700 0.88rem Figtree;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}
.story-img:hover span {
  transform: translateX(4px);
}
.story-n {
  font: 800 3rem/1 Figtree;
  color: var(--line);
}
.story-txt h3 {
  font: 800 clamp(1.4rem, 2.6vw, 2rem)/1.15 Figtree;
  letter-spacing: -0.02em;
  margin: 6px 0 12px;
}
.story-txt p {
  color: var(--soft);
  line-height: 1.65;
  font-size: 1.04rem;
  margin: 0 0 18px;
}
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 0 18px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font: 700 1.02rem Figtree;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--sage);
}
.faq-item[open] summary::after {
  content: '–';
}
.faq-item p {
  margin: 0 0 18px;
  color: var(--soft);
  line-height: 1.6;
}
a.sx-band {
  display: block;
  text-decoration: none;
}
.band-cta {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 800 0.95rem Figtree;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.55);
}
.sx-photo a {
  display: block;
}
@media (max-width: 860px) {
  .story {
    grid-template-columns: 1fr;
  }
  .story.rev .story-img {
    order: 0;
  }
}
/* Pages listes : en-tête compact, pas de grand vide */
.sx-hero.compact {
  padding-top: clamp(28px, 5vw, 60px);
  padding-bottom: clamp(12px, 2vw, 24px);
  grid-template-columns: 1.4fr 0.6fr;
}
.sx-hero.compact .ill {
  width: min(220px, 40vw);
}
.sx-sec.tight {
  padding-top: clamp(16px, 3vw, 32px);
}
@media (max-width: 860px) {
  .sx-hero.compact .sx-art {
    display: none;
  }
}
/* Page publique des appels d'offres */
.lf-head {
  padding: clamp(28px, 5vw, 56px) clamp(16px, 5vw, 72px) 10px;
  background: radial-gradient(900px 400px at 90% 0, #e3f1ea 0, transparent 65%), #fff;
}
.lf-head h1 {
  font: 800 clamp(1.9rem, 4.4vw, 3.1rem)/1.1 Figtree;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.lf-head .count {
  color: var(--sage);
}
.lf-filters {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.lf-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.lf-chips::-webkit-scrollbar {
  display: none;
}
.lf-chip {
  flex: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: var(--ink) !important;
  font: 600 0.88rem Figtree;
  white-space: nowrap;
}
.lf-chip b {
  color: var(--sage-d);
  margin-left: 4px;
}
.lf-chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff !important;
}
.lf-chip.on b {
  color: #9fe0c2;
}
.lf-region {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lf-region label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--soft);
}
.lf-region select {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 6px 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.lf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  padding: 18px clamp(16px, 5vw, 72px) 30px;
}
.lc {
  display: grid;
  gap: 8px;
  align-content: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.lc-top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}
.lc-age {
  font: 700 0.78rem Figtree;
  color: var(--soft);
}
.lc-age.fresh {
  color: var(--hot);
}
.lc-hot {
  font: 800 0.74rem Figtree;
  color: #fff;
  background: var(--hot);
  padding: 3px 9px;
  border-radius: 99px;
}
.lc h3 {
  font: 800 1.02rem/1.3 Figtree;
  margin: 0;
}
.lc-meta {
  margin: 0;
  font-size: 0.84rem;
  color: var(--soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.lc-lock {
  position: relative;
  margin-top: 4px;
  border-radius: 12px;
  background: var(--sky);
  padding: 10px 12px;
  overflow: hidden;
}
.lc-lock dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  margin: 0;
  font-size: 0.84rem;
  filter: blur(4px);
  user-select: none;
}
.lc-lock dt {
  color: var(--soft);
}
.lc-lock dd {
  margin: 0;
  font-weight: 700;
}
.lc-cta {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.75));
  font: 800 0.92rem Figtree;
  color: var(--new) !important;
  text-decoration: none;
}
.lf-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 0 16px 30px;
}
.lf-pages a {
  min-width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink) !important;
  font-weight: 700;
}
.lf-pages a.on {
  background: var(--ink);
  color: #fff !important;
}
.nav-hot {
  font-weight: 800 !important;
  color: var(--sage-d) !important;
}
.lf-private {
  margin: 6px clamp(16px, 5vw, 72px) 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fbf7f0;
  border: 1px solid #ecdcc4;
  font-size: 0.92rem;
}
.lf-private b {
  color: #6b4a22;
}
.lf-private a {
  font-weight: 800;
  color: var(--sage-d);
}

.lc-open {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  margin: 10px 0;
  font-size: 0.9rem;
}
.lc-open dt {
  color: var(--soft);
}
.lc-open dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.lc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* Buttons of a card seen by a client (never the full-card overlay of .lc-cta) */
.lc-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font: 700 0.88rem Figtree, sans-serif;
  text-decoration: none;
}
.lc-btn.open {
  background: var(--sage);
  color: #fff;
}
.lc-btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
