/* ============================================================
   PAGES-ENTREPRISES.CSS — Athenia Academy
   Styles propres à la page Espace Entreprise
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   ENTREPRISES
════════════════════════════════════════════════════════════ */

.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.benefit-row:last-child { border-bottom: none; }
.benefit-icon { font-size: 1.5rem; flex-shrink: 0; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  margin-top: 2rem;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%; right: 12.5%;
  height: 1px;
  background: var(--border);
}
.process-step { text-align: center; padding: 1.5rem 1rem; }
.process-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,168,107,0.07);
  border: 1px solid rgba(0,168,107,0.18);
  display: flex; align-items: center; justify-content: center;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 1rem;
}

/* ============================================================
   Refonte Espace Entreprises — IA métier, Advisory et L48
   ============================================================ */
.ent-refresh { background: #f7faf8; color: var(--text); }
.ent-shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.ent-hero { position: relative; overflow: hidden; padding: 7.5rem 0 5.5rem; background: linear-gradient(135deg, #fbfefd 0%, #eef8f2 52%, #f7fbff 100%); }
.ent-hero::before { content: ''; position: absolute; inset: auto -10% -38% 45%; width: 620px; height: 620px; border-radius: 999px; background: radial-gradient(circle, rgba(0,168,107,.18), rgba(0,168,107,0) 68%); pointer-events: none; }
.ent-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: 3rem; align-items: center; }
.ent-hero .page-h1 { max-width: 860px; margin-bottom: 1.25rem; line-height: .98; }
.ent-lead, .ent-copy { color: var(--text2); font-size: 1rem; line-height: 1.85; }
.ent-lead { max-width: 760px; margin-bottom: 2rem; }
.ent-hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.ent-hero-panel { padding: 1.4rem; border: 1px solid rgba(0,168,107,.18); border-radius: 20px; background: rgba(255,255,255,.72); box-shadow: 0 24px 70px rgba(15,23,42,.09); backdrop-filter: blur(18px); }
.ent-panel-kicker { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 800; margin-bottom: .85rem; }
.ent-panel-line { display: grid; grid-template-columns: 118px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--border); }
.ent-panel-line strong { color: var(--text); font-size: .96rem; }
.ent-panel-line span { color: var(--text2); font-size: .88rem; line-height: 1.55; }
.ent-section { padding: clamp(72px, 8vw, 112px) 0; }
.ent-section-light { background: #fff; }
.ent-section-muted { background: #f6faf7; }
.ent-section-dark { background: #101a16; color: #fff; }
.ent-section-dark .section-title, .ent-section-dark .ent-copy { color: #fff; }
.ent-section-dark .label { color: #7ee6b5; }
.ent-section-head { max-width: 820px; margin-bottom: 2.5rem; }
.ent-centered { text-align: center; margin-left: auto; margin-right: auto; }
.ent-grid { display: grid; gap: 1rem; }
.ent-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ent-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ent-card, .ent-offer-card { border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.88); padding: 1.35rem; box-shadow: 0 14px 40px rgba(15,23,42,.045); }
.ent-card h3, .ent-offer-card h3 { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1.05rem; margin: 0 0 .65rem; color: var(--text); }
.ent-card p, .ent-offer-card p { margin: 0; color: var(--text2); font-size: .9rem; line-height: 1.72; }
.ent-two-col { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.ent-quote { margin-top: 1.5rem; padding: 1rem 1.15rem; border-left: 3px solid var(--accent); background: rgba(0,168,107,.07); border-radius: 0 14px 14px 0; font-weight: 800; color: var(--text); line-height: 1.55; }
.ent-feature-list { display: grid; gap: .75rem; }
.ent-feature-list div { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 14px; background: #fff; color: var(--text); font-weight: 650; }
.ent-feature-list span, .ent-step-card > span, .ent-journey span { color: var(--accent); font-weight: 900; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.ent-offer-grid { align-items: stretch; }
.ent-offer-card { display: flex; flex-direction: column; gap: 1rem; min-height: 100%; }
.ent-offer-card img { width: 46px; height: 46px; object-fit: contain; }
.ent-offer-card p { flex: 1; }
.ent-offer-card-featured { border-color: rgba(0,168,107,.34); background: linear-gradient(180deg, #fff, #f0fbf5); }
.ent-chip-cloud { display: flex; flex-wrap: wrap; gap: .65rem; }
.ent-chip-cloud span { padding: .72rem .9rem; border-radius: 999px; background: #fff; border: 1px solid rgba(0,168,107,.18); color: var(--text); font-size: .88rem; font-weight: 700; }
.ent-mini-grid div { border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 1rem; background: rgba(255,255,255,.06); color: rgba(255,255,255,.9); font-weight: 650; line-height: 1.45; }
.ent-reassurance { margin-top: 1.5rem; border: 1px solid rgba(126,230,181,.35); background: rgba(126,230,181,.1); color: #eafff5; border-radius: 16px; padding: 1rem; line-height: 1.7; }
.ent-step-card ul { margin: .8rem 0 0; padding-left: 1.05rem; color: var(--text2); font-size: .88rem; line-height: 1.7; }
.ent-center-actions { display: flex; justify-content: center; margin-top: 2rem; }
.ent-contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr); gap: 2.5rem; align-items: start; }
.ent-journey { display: grid; gap: .85rem; margin-top: 1.5rem; }
.ent-journey div { display: flex; gap: .85rem; padding: 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--border); color: var(--text2); line-height: 1.55; }
.ent-contact-form { display: grid; gap: .85rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: 0 20px 55px rgba(15,23,42,.055); }
.ent-contact-form label { display: grid; gap: .4rem; color: var(--text); font-size: .82rem; font-weight: 750; }
.ent-contact-form input, .ent-contact-form select, .ent-contact-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 12px; background: #f8faf9; color: var(--text); font: inherit; padding: .78rem .85rem; outline: none; }
.ent-contact-form input:focus, .ent-contact-form select:focus, .ent-contact-form textarea:focus { border-color: rgba(0,168,107,.55); box-shadow: 0 0 0 3px rgba(0,168,107,.1); }
.ent-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
@media (max-width: 980px) {
  .ent-hero-grid, .ent-two-col, .ent-contact-grid { grid-template-columns: 1fr; }
  .ent-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ent-hero { padding-top: 6.5rem; }
}
@media (max-width: 680px) {
  .ent-shell { width: min(100% - 28px, 1200px); }
  .ent-section { padding: 4rem 0; }
  .ent-grid-2, .ent-grid-3, .ent-form-row { grid-template-columns: 1fr; }
  .ent-panel-line { grid-template-columns: 1fr; gap: .3rem; }
  .ent-hero-actions .btn { width: 100%; justify-content: center; }
  .ent-contact-form { padding: 1rem; }
}

@media (max-width: 390px) {
  .ent-shell { width: min(100% - 24px, 1200px); }
  .ent-hero { padding: 90px 0 40px; }
  .ent-section { padding: 3.25rem 0; }
  .ent-hero .page-h1 { font-size: clamp(2rem, 10.5vw, 3rem); letter-spacing: -.055em; }
}

/* Alignement visuel du hero Entreprises sur le langage Mentor IA */
.ent-refresh .ent-hero {
  min-height: 96vh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 82px;
  isolation: isolate;
  background: linear-gradient(135deg, #0B0F14, #1D1D1F);
}
.ent-refresh .ent-hero::before { display: none; }
.ent-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, #0B0F14, #1D1D1F);
}
.ent-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.82) contrast(.98);
}
.ent-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.23) 54%, rgba(0,0,0,.50)),
    linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.68) 78%, rgba(0,0,0,.88));
}
.ent-refresh .ent-hero-grid {
  width: 100%;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .72fr);
  gap: 56px;
  align-items: end;
}
.ent-refresh .ent-hero .label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ent-refresh .ent-hero .label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #00A86B;
  box-shadow: 0 0 0 6px rgba(0,168,107,.16);
}
.ent-refresh .ent-hero .page-h1 {
  max-width: 980px;
  margin: 18px 0 26px;
  color: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(48px, 6.2vw, 96px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .94;
}
.ent-refresh .ent-hero .ent-lead {
  max-width: 820px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.42;
}
.ent-refresh .ent-hero-actions {
  gap: 14px;
  margin-top: 34px;
}
.ent-refresh .ent-hero-actions .btn {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}
.ent-refresh .ent-hero-actions .btn-primary {
  background: #00A86B;
  color: #042014;
  border-color: transparent;
  box-shadow: 0 14px 38px rgba(0,168,107,.18);
}
.ent-refresh .ent-hero-actions .btn-ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.30);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.ent-refresh .ent-hero-panel {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 26px;
  background: rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.ent-refresh .ent-panel-kicker {
  margin-bottom: 14px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ent-refresh .ent-panel-line {
  display: block;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
}
.ent-refresh .ent-panel-line + .ent-panel-line { margin-top: 10px; }
.ent-refresh .ent-panel-line strong {
  color: #fff;
  font-size: 1rem;
  margin-right: .25rem;
}
.ent-refresh .ent-panel-line span {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  line-height: 1.45;
}
@media (max-width: 980px) {
  .ent-refresh .ent-hero { min-height: auto; padding: 132px 0 64px; }
  .ent-refresh .ent-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .ent-refresh .ent-hero-panel { max-width: 720px; }
}
@media (max-width: 680px) {
  .ent-refresh .ent-hero { padding: 116px 0 52px; }
  .ent-refresh .ent-hero .page-h1 { font-size: clamp(42px, 14vw, 64px); }
  .ent-refresh .ent-hero .ent-lead { font-size: 17px; }
  .ent-refresh .ent-hero-actions .btn { width: 100%; justify-content: center; }
}


/* Passage à l'action sans formulaire intégré */
.ent-contact-wide {
  max-width: 1120px;
}

.ent-contact-copy {
  width: 100%;
}

.ent-contact-head {
  max-width: 860px;
  margin-bottom: 2.5rem;
}

.ent-contact-copy .section-title,
.ent-contact-copy .ent-copy {
  max-width: 860px;
}

.ent-contact-head .section-title,
.ent-contact-head .ent-copy {
  margin-left: auto;
  margin-right: auto;
}

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

.ent-contact-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 880px) {
  .ent-contact-copy .ent-journey {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════
   ESPACE ENTREPRISES — FAQ (même modèle visuel que la Home)
════════════════════════════════════════════════════════════ */

#ent-faq .home-section-head--single-line {
  max-width: 1180px;
  text-align: center;
}

#ent-faq .home-faq-list {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

#ent-faq .home-faq-item {
  position: relative;
}

#ent-faq .home-faq-question {
  min-height: 66px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .46) 52%, rgba(255, 255, 255, .28)),
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, .9), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(0, 168, 107, .12), transparent 34%);
  box-shadow:
    0 22px 58px rgba(15, 23, 42, .08),
    inset 0 1px 0 rgba(255, 255, 255, .92);
  color: #1D1D1F;
  cursor: pointer;
  list-style: none;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

#ent-faq .home-faq-question::-webkit-details-marker {
  display: none;
}

#ent-faq .home-faq-question:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 168, 107, .28);
  box-shadow:
    0 28px 70px rgba(15, 23, 42, .11),
    inset 0 1px 0 rgba(255, 255, 255, .94);
}

#ent-faq .home-faq-question span {
  min-width: 0;
  overflow: hidden;
  color: #1D1D1F;
  font-size: clamp(12px, 1.55vw, 17px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#ent-faq .home-faq-question i {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-right: 2px solid #00A86B;
  border-bottom: 2px solid #00A86B;
  transform: rotate(45deg);
  transition: transform .25s ease;
}

#ent-faq .home-faq-item[open] .home-faq-question i {
  transform: translateY(4px) rotate(-135deg);
}

#ent-faq .home-faq-answer {
  margin: 10px 16px 0;
  padding: 20px 24px 22px;
  border: 1px solid rgba(29, 29, 31, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  color: #6E6E73;
  font-size: 15.5px;
  line-height: 1.58;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
}

@media (max-width: 640px) {
  #ent-faq .home-faq-question {
    min-height: 58px;
    padding: 0 18px;
    border-radius: 18px;
  }

  #ent-faq .home-faq-answer {
    margin-right: 8px;
    margin-left: 8px;
    padding: 18px;
  }
}
