/* =========================================================
   entreprises.css — Page Déménagement Entreprises / B2B
   Hexagone Déménagement
   ========================================================= */

body.entreprises-page {
  overflow-x: hidden;
  background: var(--color-bg);
}

.entreprises-page main {
  overflow: hidden;
}

.ent-hero > .container,
.ent-section > .container,
.ent-trust-strip > .container,
.ent-faq-section > .container {
  width: min(calc(100% - clamp(2rem, 5vw, 4rem)), var(--container-max));
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--color-navy-850);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--color-red-600);
}

/* ─── HERO ─── */
.ent-hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(circle at 78% 12%, rgba(225, 38, 28, 0.10), transparent 19rem),
    linear-gradient(135deg, #f8fafc 0%, #eef3f9 54%, #ffffff 100%);
}

.ent-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8rem;
  background: linear-gradient(180deg, rgba(11, 21, 51, 0.05), transparent);
  pointer-events: none;
}

.ent-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.86fr);
  gap: 3.2rem;
  align-items: start;
}

.ent-hero-copy {
  min-width: 0;
  padding-top: 1rem;
}

.ent-hero-copy h1 {
  max-width: 16ch;
  margin: 0.85rem 0 1rem;
  color: var(--color-navy-900);
  font-size: 3.5rem;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.ent-hero-subtitle {
  max-width: 42rem;
  margin: 0 0 0.85rem;
  color: var(--color-navy-900);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.48;
}

.ent-hero-copy > p:not(.eyebrow):not(.ent-hero-subtitle) {
  max-width: 44rem;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.78;
}

.ent-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.ent-hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 41rem;
  margin-top: 2rem;
  list-style: none;
}

.ent-hero-proof li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(11, 21, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-navy-850);
  font-weight: 700;
  font-size: 0.94rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.ent-hero-proof svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  color: var(--color-red-600);
}

/* ─── HERO PANEL (image + form) ─── */
.ent-hero-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(11, 21, 51, 0.08);
  border-radius: 32px;
  background: var(--color-white);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.13);
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.ent-hero-media {
  position: relative;
  overflow: hidden;
  min-height: 14rem;
  background: var(--color-navy-900);
}

.ent-hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(11, 21, 51, 0.45));
  pointer-events: none;
}

.ent-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  object-position: center;
}

/* ─── LEAD FORM ─── */
.ent-lead-form {
  display: grid;
  gap: 1.05rem;
  padding: 1.45rem;
}

.ent-form-head {
  display: grid;
  gap: 0.22rem;
}

.ent-form-head strong {
  color: var(--color-navy-900);
  font-size: 1.2rem;
}

.ent-form-head span {
  color: var(--color-muted);
  font-size: 0.91rem;
  line-height: 1.5;
}

.ent-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.ent-field {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
}

.ent-field-wide {
  grid-column: 1 / -1;
}

.ent-field label {
  color: var(--color-navy-850);
  font-size: 0.82rem;
  font-weight: 800;
}

.ent-field input,
.ent-field textarea {
  width: 100%;
  min-height: 3.05rem;
  border: 1px solid rgba(11, 21, 51, 0.12);
  border-radius: 16px;
  background: #f9fbfe;
  color: var(--color-text);
  padding: 0.78rem 0.9rem;
  font: inherit;
  outline: 0;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.ent-field textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.ent-field input:focus,
.ent-field textarea:focus {
  border-color: rgba(225, 38, 28, 0.46);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(225, 38, 28, 0.12);
}

.ent-field small,
.ent-form-status {
  min-height: 1.05rem;
  color: var(--color-red-600);
  font-size: 0.78rem;
  font-weight: 700;
}

.ent-field.is-error input,
.ent-field.is-error textarea {
  border-color: rgba(225, 38, 28, 0.58);
}

.ent-form-status {
  margin: 0;
}

.ent-form-status.is-success {
  color: #047857;
}

.ent-form-status.is-loading {
  color: var(--color-muted);
}

.ent-form-privacy {
  margin: 0;
  color: #64748b;
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.55;
}

/* ─── TRUST STRIP ─── */
.ent-trust-strip {
  padding: 1.35rem 0;
  background: var(--color-white);
  border-block: 1px solid rgba(11, 21, 51, 0.06);
}

.ent-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ent-trust-grid article {
  display: grid;
  gap: 0.22rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: #f6f8fb;
}

.ent-trust-grid strong {
  color: var(--color-navy-900);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.ent-trust-grid span {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
}

/* ─── SECTIONS ─── */
.ent-section {
  padding: 5.5rem 0;
}

.ent-soft-section {
  background: #f4f7fb;
}

.ent-dark-section {
  background:
    radial-gradient(circle at 78% 18%, rgba(225, 38, 28, 0.12), transparent 18rem),
    linear-gradient(135deg, #081735 0%, #111d42 100%);
}

/* ─── HEADINGS ─── */
.ent-heading {
  max-width: 52rem;
  margin-bottom: 2.2rem;
}

.ent-heading-centered {
  text-align: center;
  margin-inline: auto;
}

.ent-heading h2 {
  color: var(--color-navy-900);
}

.ent-dark-section .ent-heading h2 {
  color: var(--color-white);
}

.ent-heading p {
  max-width: 52rem;
  color: var(--color-muted);
  line-height: 1.72;
}

.ent-section-copy p {
  max-width: 52rem;
  color: var(--color-muted);
  line-height: 1.72;
}

.ent-section-copy h2 {
  color: var(--color-navy-900);
  margin-bottom: 1rem;
}

.ent-dark-section .ent-section-copy h2 {
  color: var(--color-white);
}

.ent-dark-section .ent-section-copy p {
  color: rgba(241, 245, 249, 0.78);
}

/* ─── SPLIT LAYOUT ─── */
.ent-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 3rem;
  align-items: start;
}

/* ─── CHECK CARD ─── */
.ent-check-card {
  padding: 1.65rem;
  border: 1px solid rgba(11, 21, 51, 0.08);
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: 0 14px 35px rgba(11, 21, 51, 0.08);
}

.ent-check-card h3 {
  margin-bottom: 1rem;
  color: var(--color-navy-900);
  font-size: 1.3rem;
}

.ent-check-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
}

.ent-check-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.ent-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-red-600);
}

/* ─── CARD GRIDS ─── */
.ent-card-grid {
  display: grid;
  gap: 1.2rem;
  align-items: stretch;
}

.ent-card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ent-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ent-card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ─── TIMELINE (6 steps) ─── */
.ent-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.ent-timeline li {
  display: grid;
  gap: 0.8rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  align-content: start;
}

.ent-timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--color-red-600);
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.ent-timeline h3 {
  color: var(--color-white);
  font-size: 1.12rem;
  line-height: 1.25;
}

.ent-timeline p {
  color: rgba(241, 245, 249, 0.76);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ─── SCENARIO CARDS ─── */
.ent-scenario-card {
  display: grid;
  gap: 1rem;
  padding: 1.65rem;
  border: 1px solid rgba(11, 21, 51, 0.08);
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: 0 14px 35px rgba(11, 21, 51, 0.08);
  align-content: stretch;
  height: 100%;
}

.ent-scenario-card h3 {
  color: var(--color-navy-900);
  font-size: 1.22rem;
  line-height: 1.2;
}

.ent-scenario-card > p {
  color: var(--color-muted);
  line-height: 1.65;
}

.ent-scenario-ideal {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  margin-top: auto;
  padding: 1rem;
  border-radius: 18px;
  background: #f4f7fb;
}

.ent-scenario-ideal strong {
  display: block;
  color: var(--color-navy-850);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ent-scenario-ideal p {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* ─── FORMULA CARDS ─── */
.ent-formula-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.ent-formula-card {
  display: grid;
  gap: 1.1rem;
  grid-template-rows: auto auto auto 1fr auto;
  padding: 1.7rem;
  border: 1px solid rgba(11, 21, 51, 0.08);
  border-radius: 22px;
  background: var(--color-white);
  box-shadow: 0 14px 35px rgba(11, 21, 51, 0.08);
  height: 100%;
  align-content: stretch;
}

.ent-formula-card.is-featured {
  border-color: rgba(225, 38, 28, 0.28);
  box-shadow: 0 20px 45px rgba(239, 36, 22, 0.12);
}

.ent-formula-badge {
  width: fit-content;
  min-height: 1.9rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: var(--color-red-600);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ent-formula-card h3 {
  color: var(--color-navy-900);
  font-size: 1.32rem;
  line-height: 1.18;
}

.ent-formula-card > p {
  color: var(--color-muted);
  line-height: 1.65;
}

.ent-formula-includes {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  height: 100%;
  padding: 1.1rem;
  border-radius: 18px;
  background: #f6f8fb;
}

.ent-formula-card > .btn {
  align-self: end;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  text-align: center;
}

@media (min-width: 861px) {
  .ent-formula-card:not(.is-featured)::before {
    content: "";
    display: block;
    min-height: 1.9rem;
  }

  .ent-scenario-card {
    grid-template-rows: auto minmax(5rem, auto) 1fr;
  }

  .ent-scenario-card > p {
    min-height: 5rem;
  }

  .ent-scenario-ideal {
    min-height: 6.7rem;
  }

  .ent-formula-card h3 {
    min-height: 1.6rem;
  }

  .ent-formula-card > p {
    min-height: 5.25rem;
  }
}

.ent-formula-includes strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-navy-850);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ent-formula-includes ul {
  display: grid;
  gap: 0.42rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ent-formula-includes li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--color-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.ent-formula-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--color-red-600);
}

/* ─── B2B SERVICE GRID ─── */
.ent-b2b-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ent-b2b-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.4rem;
  border: 1px solid rgba(11, 21, 51, 0.07);
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 14px 35px rgba(11, 21, 51, 0.08);
  align-content: start;
}

.ent-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: rgba(225, 38, 28, 0.09);
  color: var(--color-red-600);
  flex-shrink: 0;
}

.ent-card-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.ent-b2b-card h3 {
  color: var(--color-navy-900);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.22;
}

.ent-b2b-card p {
  color: var(--color-muted);
  font-size: 0.91rem;
  line-height: 1.62;
}

/* ─── LOCAL CARDS (dark section) ─── */
.ent-local-card {
  display: grid;
  gap: 0.6rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  align-content: start;
}

.ent-local-card h3 {
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 800;
}

.ent-local-card p {
  color: rgba(241, 245, 249, 0.76);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ─── REFERENCES ─── */
.ent-ref-inner {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.ent-ref-inner > p {
  color: var(--color-muted);
  line-height: 1.72;
}

.ent-ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 57rem;
  margin-inline: auto;
}

.ent-ref-card {
  padding: 1.4rem;
  border: 1px solid rgba(11, 21, 51, 0.08);
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 14px 35px rgba(11, 21, 51, 0.06);
}

.ent-ref-card h3 {
  color: var(--color-navy-900);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.ent-ref-card p {
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0;
}

.ent-ref-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 57rem;
  margin: 2rem auto 0;
  padding: 1.35rem 1.75rem;
  border: 1px solid rgba(11, 21, 51, 0.08);
  border-radius: 22px;
  background: var(--color-white);
  box-shadow: 0 14px 35px rgba(11, 21, 51, 0.05);
}

.ent-ref-note p {
  max-width: 42rem;
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* ─── PRICE PANEL ─── */
.ent-price-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.2rem;
  border: 1px solid rgba(11, 21, 51, 0.08);
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: 0 14px 35px rgba(11, 21, 51, 0.08);
}

.ent-price-panel h2 {
  color: var(--color-navy-900);
  font-size: clamp(1.55rem, 2vw, 2rem);
  margin-bottom: 0.75rem;
}

.ent-price-panel > div > p {
  color: var(--color-muted);
  line-height: 1.7;
}

.ent-price-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
}

.ent-price-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ent-price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--color-red-600);
}

/* ─── CHECKLIST ─── */
.ent-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 52rem;
  list-style: none;
  padding: 0;
}

.ent-checklist-grid li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid rgba(11, 21, 51, 0.08);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-navy-850);
  font-weight: 700;
  font-size: 0.96rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.ent-checklist-grid li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-red-600);
  flex-shrink: 0;
}

/* ─── FAQ SECTION ─── */
.ent-faq-section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.ent-faq-section .faq-list {
  max-width: 52rem;
  margin-inline: auto;
}


/* ─── SCROLL-TOP ICON ─── */
.entreprises-page .scroll-top-float svg {
  transform: rotate(-90deg);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1120px) {
  .ent-hero-grid {
    grid-template-columns: 1fr;
  }

  .ent-hero-panel {
    max-width: 46rem;
    position: static;
  }

  .ent-split {
    grid-template-columns: 1fr;
  }

  .ent-price-panel {
    grid-template-columns: 1fr;
  }

  .ent-price-panel .btn {
    justify-self: start;
  }

  .ent-formula-grid,
  .ent-b2b-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ent-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .ent-hero {
    padding-top: 3.25rem;
  }

  .ent-hero-copy h1 {
    font-size: 2.35rem;
  }

  .ent-heading h2,
  .ent-section-copy h2 {
    font-size: 2.2rem;
  }

  .ent-trust-grid,
  .ent-timeline {
    grid-template-columns: 1fr;
  }

  .ent-hero-proof {
    grid-template-columns: 1fr;
  }

  .ent-section {
    padding: 3.6rem 0;
  }

  .ent-faq-section {
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
  }

  .ent-card-grid-3,
  .ent-formula-grid,
  .ent-ref-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .ent-hero > .container,
  .ent-section > .container,
  .ent-trust-strip > .container,
  .ent-faq-section > .container {
    width: min(calc(100% - 1.25rem), var(--container-max));
  }

  .ent-hero {
    padding-top: 2.25rem;
    padding-bottom: 3rem;
  }

  .ent-hero-grid {
    gap: 1.6rem;
  }

  .ent-hero-copy h1 {
    font-size: 2rem;
  }

  .ent-heading h2,
  .ent-section-copy h2 {
    font-size: 1.9rem;
  }

  .ent-hero-copy > p:not(.eyebrow):not(.ent-hero-subtitle) {
    font-size: 1rem;
  }

  .ent-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .ent-hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .ent-hero-panel {
    border-radius: 24px;
  }

  .ent-lead-form {
    padding: 1rem;
  }

  .ent-form-grid,
  .ent-b2b-grid,
  .ent-card-grid-4,
  .ent-price-list {
    grid-template-columns: 1fr;
  }

  .ent-checklist-grid,
  .ent-card-grid-2 {
    grid-template-columns: 1fr;
  }

  .ent-trust-grid article {
    padding: 1rem;
  }

  .ent-price-panel {
    padding: 1.25rem;
  }

  .ent-ref-note {
    flex-direction: column;
    align-items: stretch;
  }
}
