/* Page "Entreprises" - éco-score véhicules - composants propres à cette page (préfixe ent-) */

:root {
  --pastel-purple: #D9CCFF;
  --pastel-purple-light: #F3EEFF;
}

.nav-link.is-active { font-weight: 700; color: var(--blue); }

/* Hero / en-tête */
.ent-hero { padding: 28px 24px 64px; }

.ent-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--navy-muted);
  margin-bottom: 36px;
}
.ent-breadcrumbs a { color: var(--navy-muted); text-decoration: underline; text-underline-offset: 3px; }
.ent-breadcrumbs .current { color: var(--navy); font-weight: 600; }

.ent-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px;
  align-items: center;
}

.ent-hero-grid h1 {
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  text-wrap: balance;
}

.ent-hero-grid > div:first-child p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy-light);
  max-width: 600px;
  margin: 0 0 30px;
  text-wrap: pretty;
}

.ent-hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ent-hero-art-inner {
  position: relative;
  width: min(100%, 466px);
  aspect-ratio: 1;
}

.ent-dot { position: absolute; border-radius: 50%; aspect-ratio: 1; }

.ent-hero-photo {
  position: absolute;
  left: 4%;
  top: 4%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pastel-blue);
}
.ent-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; display: block; }

/* Mise en page sommaire + article */
.ent-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 56px;
  align-items: start;
}

.ent-sidebar { position: sticky; top: 96px; max-width: 260px; }
.ent-sidebar-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 14px;
}
.ent-sidebar-nav { display: flex; flex-direction: column; border-left: 2px solid var(--border); }
.ent-sidebar-nav a { padding: 8px 0 8px 16px; font-size: 15px; line-height: 1.35; color: var(--navy-light); }
.ent-sidebar-nav a:hover { color: var(--navy); }

@media (max-width: 900px) {
  .ent-sidebar { position: static; max-width: none; }
}

.ent-article {
  grid-column: span 3;
  min-width: 0;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.ent-section { scroll-margin-top: 96px; }
.ent-section h2 {
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.ent-section p { font-size: 17px; line-height: 1.7; color: var(--navy-light); margin: 0 0 16px; text-wrap: pretty; }
.ent-section p:last-child { margin-bottom: 0; }
.ent-section p b { color: var(--navy); }

/* Cartes de liens vers les listes ADEME */
.ent-link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}
.ent-link-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-radius: 16px;
  padding: 14px 18px;
  color: var(--navy);
}
.ent-link-card-blue { background: var(--pastel-blue-light); }
.ent-link-card-blue:hover { background: #E2EAFF; color: var(--navy); }
.ent-link-card-yellow { background: var(--pastel-yellow-light); }
.ent-link-card-yellow:hover { background: #FFF1B8; color: var(--navy); }
.ent-link-card img { width: 72px; height: auto; }
.ent-link-card-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ent-link-card-title { font-family: 'Schibsted Grotesk'; font-size: 16px; }
.ent-link-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  display: grid;
  place-items: center;
}

/* Tableau comparatif prime CEE */
.ent-cee-table {
  display: grid;
  gap: 10px;
  background: var(--bg-gray);
  border-radius: 20px;
  padding: 12px;
  margin-bottom: 14px;
}
.ent-cee-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 6px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 6px;
}
.ent-cee-cell {
  padding: 14px 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ent-cee-cell-muted { background: var(--bg-gray); }
.ent-cee-cell-muted .ent-cee-label { color: #7A849A; }
.ent-cee-cell-highlight { background: var(--pastel-blue); }
.ent-cee-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.35;
  margin-bottom: 6px;
}
.ent-cee-cell-highlight .ent-cee-label { color: var(--navy); }
.ent-cee-vehicle { font-size: 15px; font-weight: 600; line-height: 1.4; }
.ent-cee-value {
  font-family: 'Schibsted Grotesk';
  font-weight: 700;
  color: var(--navy-light);
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.ent-cee-value-lg {
  font-family: 'Schibsted Grotesk';
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.ent-cee-value-sub { display: block; font-family: 'Public Sans'; font-size: 13px; font-weight: 600; letter-spacing: 0; margin-top: 4px; }
.ent-cee-diff {
  align-self: start;
  background: var(--pastel-green);
  border-radius: 8px;
  padding: 4px 10px;
  font-family: 'Schibsted Grotesk';
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
}
.ent-cee-note { font-size: 12px; font-weight: 600; color: var(--navy-muted); text-transform: uppercase; letter-spacing: .04em; line-height: 1.35; }

.ent-fineprint { font-size: 14px; line-height: 1.6; color: var(--navy-muted); margin: 0 0 16px; text-wrap: pretty; }

.ent-callout {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 22px;
  padding: 16px 20px;
  background: var(--pastel-blue-light);
  border-radius: 14px;
  text-wrap: pretty;
}

/* Avantages */
.ent-advantages { display: grid; gap: 16px; }
.ent-advantage-card { border-radius: 22px; padding: clamp(22px, 3vw, 30px); }
.ent-advantage-card-green { background: var(--pastel-green-light); }
.ent-advantage-card-purple { background: var(--pastel-purple-light); }
.ent-advantage-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.ent-advantage-card-green .ent-advantage-pill { background: var(--pastel-green); }
.ent-advantage-card-purple .ent-advantage-pill { background: var(--pastel-purple); }
.ent-advantage-card h3 { font-weight: 700; font-size: 21px; margin: 0 0 10px; }
.ent-advantage-card p { font-size: 15px; line-height: 1.6; color: var(--navy-light); margin: 0 0 16px; text-wrap: pretty; }
.ent-advantage-card p:last-child { margin-bottom: 0; }
.ent-advantage-card p b { color: var(--navy); }

.ent-stat-grid { display: grid; gap: 10px; margin-bottom: 16px; }
.ent-stat-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.ent-stat-grid--mid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin-bottom: 14px; }
.ent-stat-grid--narrow { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }

.ent-stat-box { background: #FFFFFF; border-radius: 14px; padding: 16px; }
.ent-stat-box--sm { padding: 14px 16px; }
.ent-stat-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.35;
  margin-bottom: 6px;
}
.ent-stat-label-muted { color: #7A849A; }
.ent-stat-value { font-family: 'Schibsted Grotesk'; font-weight: 800; font-size: 28px; letter-spacing: -0.01em; line-height: 1.15; }
.ent-stat-value-md { font-size: 22px; }
.ent-stat-value-muted { font-family: 'Schibsted Grotesk'; font-weight: 700; color: var(--navy-light); font-size: 18px; letter-spacing: -0.01em; line-height: 1.15; }
.ent-stat-desc { font-size: 14px; line-height: 1.5; color: var(--navy-light); margin-top: 6px; }

.ent-example-box { background: #FFFFFF; border-radius: 16px; padding: 18px 20px; }
.ent-example-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 10px;
}
.ent-example-box p { font-size: 15px; line-height: 1.6; margin: 0 0 14px; color: var(--navy); }
.ent-example-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.ent-example-chip { background: var(--bg-gray); border-radius: 10px; padding: 8px 14px; font-size: 14px; color: var(--navy-light); }
.ent-example-chip b { font-family: 'Schibsted Grotesk'; font-size: 18px; color: var(--navy); margin-left: 6px; }
.ent-example-chip-highlight { background: var(--pastel-green); color: var(--navy); }
.ent-example-arrow { font-weight: 700; }
.ent-example-note { font-size: 14px; line-height: 1.55; color: var(--navy-light); margin: 0; }

/* Étapes de vérification */
.ent-stepper { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.ent-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
.ent-step-marker { display: flex; flex-direction: column; align-items: center; }
.ent-step-circle {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Schibsted Grotesk';
  font-weight: 800;
  font-size: 18px;
}
.ent-step-line { flex: 1; width: 2px; background: var(--border); min-height: 20px; }
.ent-step-content { padding: 9px 0 28px; font-size: 17px; line-height: 1.6; color: var(--navy); text-wrap: pretty; }
.ent-step:last-child .ent-step-content { padding-bottom: 0; }
.ent-step-sublist { display: grid; gap: 8px; margin-top: 12px; font-size: 15px; }
.ent-step-subitem { background: var(--bg-gray); border-radius: 12px; padding: 12px 16px; color: var(--navy-light); }
.ent-step-subitem a { font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.ent-next-link { display: inline-block; margin-top: 20px; font-weight: 600; font-size: 16px; color: var(--blue); }

.ent-reassurance { margin-top: 56px; }

@media (max-width: 640px) {
  .ent-article { gap: 40px; }
  .ent-layout { padding: 48px 24px 24px; gap: 32px; }
  .ent-example-row { flex-direction: column; align-items: flex-start; }
  .ent-example-arrow { align-self: center; transform: rotate(90deg); }
}
