﻿.abm-chantier-portal{
  --chantier-navy:#0F2740;
  --chantier-navy-deep:#0B2545;
  --chantier-amber:#F5B301;
  --chantier-amber-strong:#C88700;
  --chantier-bg:#F6F8FB;
  --chantier-surface:#FFFFFF;
  --chantier-border:#E2E8F0;
  --chantier-muted:#64748B;
  --chantier-ink:#0F172A;
  --chantier-success:#10B981;
  --chantier-shadow:0 18px 44px rgba(15,39,64,.09);
  --chantier-soft-shadow:0 10px 28px rgba(15,39,64,.07);
  width:min(1180px,100%);
  margin:0 auto;
  padding:24px 0 64px;
  color:var(--chantier-ink);
}

.abm-chantier-portal *,
.abm-chantier-portal *::before,
.abm-chantier-portal *::after{
  box-sizing:border-box;
}

.abm-chantier-portal :is(a,button,input,select,textarea):focus-visible{
  outline:3px solid rgba(245,179,1,.55);
  outline-offset:3px;
  box-shadow:0 0 0 4px rgba(245,179,1,.18);
}

.abm-chantier-kicker{
  margin:0 0 8px;
  color:var(--chantier-amber-strong);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:0;
  text-transform:uppercase;
}

.abm-chantier-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,360px);
  gap:18px;
  align-items:stretch;
  padding:30px;
  border-radius:24px;
  background:
    linear-gradient(120deg, rgba(11,37,69,.98), rgba(15,39,64,.90)),
    linear-gradient(135deg, var(--chantier-navy), var(--chantier-navy-deep));
  box-shadow:var(--chantier-shadow);
  color:#fff;
}

.abm-chantier-hero-main{
  max-width:760px;
}

.abm-chantier-hero h1{
  margin:0;
  font-size:2.65rem;
  line-height:1.05;
  font-weight:950;
  letter-spacing:0;
}

.abm-chantier-lead{
  margin:14px 0 0;
  max-width:680px;
  color:rgba(255,255,255,.82);
  font-size:1.06rem;
  line-height:1.58;
}

.abm-chantier-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:22px;
}

.abm-chantier-actions--center{
  justify-content:center;
}

.abm-chantier-hero-panel{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
  padding:20px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:20px;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(10px);
}

.abm-chantier-hero-panel span{
  color:#FFE6A3;
  font-size:.84rem;
  font-weight:900;
}

.abm-chantier-hero-panel strong{
  font-size:2.2rem;
  line-height:1;
  font-weight:950;
}

.abm-chantier-hero-panel p{
  margin:0;
  color:rgba(255,255,255,.78);
  line-height:1.52;
}

.abm-chantier-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}

.abm-chantier-kpis article,
.abm-chantier-section,
.abm-chantier-empty,
.abm-chantier-noscript{
  border:1px solid var(--chantier-border);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--chantier-soft-shadow);
}

.abm-chantier-kpis article{
  padding:18px;
}

.abm-chantier-kpis span{
  display:block;
  color:var(--chantier-muted);
  font-size:.84rem;
  font-weight:850;
}

.abm-chantier-kpis strong{
  display:block;
  margin-top:8px;
  color:var(--chantier-navy);
  font-size:1.8rem;
  line-height:1;
  font-weight:950;
}

.abm-chantier-kpis small{
  display:block;
  margin-top:8px;
  color:var(--chantier-muted);
}

.abm-chantier-trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
  padding:12px;
  border:1px solid var(--chantier-border);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--chantier-soft-shadow);
}

.abm-chantier-trust span,
.abm-chantier-tags span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:32px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(15,39,64,.10);
  background:#F8FAFC;
  color:var(--chantier-navy);
  font-size:.82rem;
  font-weight:850;
}

.abm-chantier-trust span::before,
.abm-chantier-tags span::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:var(--chantier-success);
  flex:0 0 auto;
}

.abm-chantier-section{
  margin-top:18px;
  padding:22px;
}

.abm-chantier-section-head{
  max-width:820px;
  margin-bottom:18px;
}

.abm-chantier-section-head h2{
  margin:0;
  color:var(--chantier-navy);
  font-size:1.7rem;
  line-height:1.15;
  font-weight:950;
  letter-spacing:0;
}

.abm-chantier-section-head p:not(.abm-chantier-kicker){
  margin:10px 0 0;
  color:var(--chantier-muted);
  line-height:1.62;
}

.abm-chantier-search{
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto auto;
  gap:10px;
  align-items:center;
}

.abm-chantier-search-input{
  width:100%;
  min-height:50px;
  border-radius:999px;
  border:1px solid rgba(15,39,64,.12);
  background:#fff;
  color:var(--chantier-ink);
  padding:.82rem 1rem;
  font-weight:750;
}

.abm-chantier-search-input:focus{
  outline:none;
  border-color:rgba(245,179,1,.58);
  box-shadow:0 0 0 4px rgba(245,179,1,.18);
}

.abm-chantier-filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.abm-chantier-filter{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:34px;
  padding:6px 10px;
  border:1px solid rgba(15,39,64,.12);
  border-radius:999px;
  background:#fff;
  color:var(--chantier-navy);
  font-size:.82rem;
  font-weight:850;
}

.abm-chantier-filter span{
  color:var(--chantier-muted);
}

.abm-chantier-filter.is-active{
  border-color:rgba(245,179,1,.7);
  background:#FFF7D6;
  color:#7A4F00;
}

.abm-chantier-result-count{
  margin:14px 0 0;
  color:var(--chantier-muted);
  font-weight:850;
}

.abm-chantier-logo-wall{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
}

.abm-chantier-logo-tile{
  min-height:126px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:12px;
  border:1px solid rgba(15,39,64,.10);
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#F8FAFC);
  color:var(--chantier-ink);
  text-align:center;
  text-decoration:none;
}

.abm-chantier-logo-tile:hover{
  color:var(--chantier-navy);
  border-color:rgba(245,179,1,.45);
}

.abm-chantier-logo-tile img{
  max-width:72px;
  max-height:42px;
  object-fit:contain;
}

.abm-chantier-logo-tile > span{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:var(--chantier-navy);
  color:#fff;
  font-weight:950;
  font-size:1.1rem;
}

.abm-chantier-logo-tile strong{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.9rem;
}

.abm-chantier-logo-tile small{
  color:var(--chantier-muted);
  font-size:.78rem;
}

.abm-chantier-insight-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.abm-chantier-insight-grid article{
  padding:18px;
  border:1px solid rgba(15,39,64,.10);
  border-radius:20px;
  background:#fff;
}

.abm-chantier-insight-grid h3{
  margin:0 0 12px;
  color:var(--chantier-navy);
  font-size:1rem;
  font-weight:950;
}

.abm-chantier-insight-grid ul{
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.abm-chantier-insight-grid li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding-bottom:10px;
  border-bottom:1px solid #EDF2F7;
}

.abm-chantier-insight-grid li:last-child{
  border-bottom:0;
  padding-bottom:0;
}

.abm-chantier-insight-grid a,
.abm-chantier-insight-grid button{
  padding:0;
  border:0;
  background:transparent;
  color:var(--chantier-navy);
  font-weight:900;
  text-align:left;
  text-decoration:none;
}

.abm-chantier-insight-grid span{
  color:var(--chantier-muted);
  font-size:.84rem;
  text-align:right;
}

.abm-chantier-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.abm-chantier-card{
  display:grid;
  grid-template-columns:90px minmax(0,1fr);
  gap:14px;
  min-width:0;
  padding:16px;
  border:1px solid rgba(15,39,64,.10);
  border-radius:22px;
  background:linear-gradient(180deg,#fff,#F8FAFC);
  box-shadow:var(--chantier-soft-shadow);
}

.abm-chantier-card-logo{
  width:90px;
  height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(15,39,64,.10);
  border-radius:20px;
  background:#fff;
  text-decoration:none;
}

.abm-chantier-card-logo img{
  max-width:78px;
  max-height:56px;
  object-fit:contain;
}

.abm-chantier-card-logo span{
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:var(--chantier-navy);
  color:#fff;
  font-weight:950;
  font-size:1.18rem;
}

.abm-chantier-card-main{
  min-width:0;
}

.abm-chantier-card-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}

.abm-chantier-card-kicker{
  margin:0 0 4px;
  color:var(--chantier-muted);
  font-size:.78rem;
  font-weight:850;
}

.abm-chantier-card h3{
  margin:0;
  color:var(--chantier-navy);
  font-size:1.12rem;
  line-height:1.25;
  font-weight:950;
}

.abm-chantier-card h3 a{
  color:inherit;
  text-decoration:none;
}

.abm-chantier-quality{
  min-width:70px;
  padding:8px 10px;
  border-radius:16px;
  background:#FFF7D6;
  text-align:center;
}

.abm-chantier-quality strong,
.abm-chantier-quality span{
  display:block;
}

.abm-chantier-quality strong{
  color:#7A4F00;
  font-size:1.05rem;
  line-height:1;
  font-weight:950;
}

.abm-chantier-quality span{
  margin-top:3px;
  color:#7A4F00;
  font-size:.72rem;
  font-weight:850;
}

.abm-chantier-tags,
.abm-chantier-card-actions,
.abm-chantier-models{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.abm-chantier-desc{
  margin:12px 0 0;
  color:var(--chantier-muted);
  line-height:1.58;
}

.abm-chantier-models a,
.abm-chantier-models.is-muted{
  display:inline-flex;
  min-height:30px;
  align-items:center;
  padding:5px 9px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(15,39,64,.10);
  color:var(--chantier-navy);
  font-size:.82rem;
  font-weight:850;
  text-decoration:none;
}

.abm-chantier-models.is-muted{
  color:var(--chantier-muted);
}

.abm-chantier-empty,
.abm-chantier-noscript,
.abm-chantier-muted-panel{
  padding:26px;
  text-align:center;
  color:var(--chantier-muted);
}

.abm-chantier-empty h2{
  margin:0;
  color:var(--chantier-navy);
  font-size:1.4rem;
  font-weight:950;
}

.abm-chantier-empty p{
  margin:10px auto 0;
  max-width:620px;
  line-height:1.6;
}

@media (max-width:1020px){
  .abm-chantier-hero,
  .abm-chantier-insight-grid{
    grid-template-columns:1fr;
  }

  .abm-chantier-kpis,
  .abm-chantier-logo-wall{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:820px){
  .abm-chantier-portal{
    padding:14px 0 42px;
  }

  .abm-chantier-hero,
  .abm-chantier-section{
    border-radius:20px;
    padding:18px;
  }

  .abm-chantier-hero h1{
    font-size:2rem;
  }

  .abm-chantier-search,
  .abm-chantier-grid{
    grid-template-columns:1fr;
  }

  .abm-chantier-search .abm-btn,
  .abm-chantier-actions .abm-btn{
    width:100%;
  }
}

@media (max-width:560px){
  .abm-chantier-kpis,
  .abm-chantier-logo-wall{
    grid-template-columns:1fr;
  }

  .abm-chantier-card{
    grid-template-columns:1fr;
  }

  .abm-chantier-card-logo{
    width:100%;
    height:78px;
  }

  .abm-chantier-card-top{
    flex-direction:column;
  }

  .abm-chantier-quality{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }

  .abm-chantier-insight-grid li{
    flex-direction:column;
    gap:3px;
  }

  .abm-chantier-insight-grid span{
    text-align:left;
  }
}

