@charset "UTF-8";
/* ==========================================================================
   Page "Eyefind Entreprise" (entreprise-eyefind.php) : présentation de la
   société Eyefind. Icônes et couleurs par service partagées avec la page
   Mises à jour (includes/changelog.php : changelog_icon / changelog_service,
   qui posent --cl-light / --cl-dark en ligne).
   ========================================================================== */

.corp-svc {
  --corp-rgb: var(--cl-light);
}
:root[data-theme="dark"] .corp-svc {
  --corp-rgb: var(--cl-dark);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .corp-svc {
    --corp-rgb: var(--cl-dark);
  }
}

.corp-page {
  flex: 0 1 auto;
  width: min(1040px, 100%);
  margin: 0 auto 64px;
  padding: 32px 24px 0;
  box-sizing: border-box;
}
.corp-page h2,
.corp-page h3 {
  color: var(--text);
}

/* --- En-tête ------------------------------------------------------------ */
.corp-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 32px 44px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(26, 115, 232, 0.16), transparent 55%),
    radial-gradient(80% 80% at 100% 100%, rgba(225, 48, 108, 0.11), transparent 60%),
    radial-gradient(70% 60% at 100% 0%, rgba(251, 188, 5, 0.09), transparent 60%),
    var(--bg);
  text-align: center;
}
.corp-hero-logo {
  display: block;
  width: 84px;
  margin: 0 auto 18px;
}
.corp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 6px 14px 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--link);
  font-size: 12.5px;
  font-weight: 600;
}
.corp-kicker svg {
  width: 15px;
  height: 15px;
}
.corp-hero h1 {
  max-width: 700px;
  margin: 0 auto 14px;
  font-size: clamp(28px, 5.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}
.corp-hero-lead {
  max-width: 580px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.corp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

/* --- Chiffres ----------------------------------------------------------- */
/* Tuiles centrées de largeur plafonnée : rendu propre qu'il y ait 1 ou 5
   chiffres (un chiffre à zéro est masqué côté PHP). */
.corp-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.corp-stat {
  display: flex;
  flex: 1 1 170px;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  max-width: 260px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(var(--corp-rgb), 0.1), transparent 70%), var(--bg);
}
.corp-stat-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  margin-bottom: 8px;
  color: rgb(var(--corp-rgb));
}
.corp-stat-icon svg {
  width: 100%;
  height: 100%;
}
.corp-stat strong {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.corp-stat span:last-child {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Sections ----------------------------------------------------------- */
.corp-section {
  margin-top: 56px;
}
.corp-section-head {
  margin-bottom: 22px;
  text-align: center;
}
.corp-section-head h2 {
  margin: 6px 0 0;
  font-size: clamp(22px, 3.4vw, 30px);
  letter-spacing: -0.015em;
}
.corp-card-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link);
}

/* Mission / vision */
.corp-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.corp-card {
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--bg);
}
.corp-card h2 {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}
.corp-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Services */
.corp-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.corp-service {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  font-size: inherit; /* style.css fixe a { font-size: 14px } */
  text-decoration: none !important;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.corp-service:hover {
  border-color: rgba(var(--corp-rgb), 0.55);
  background: linear-gradient(160deg, rgba(var(--corp-rgb), 0.1), transparent 75%), var(--bg);
  box-shadow: 0 14px 30px -20px rgba(var(--corp-rgb), 0.9);
  transform: translateY(-2px);
}
.corp-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: rgba(var(--corp-rgb), 0.15);
  color: rgb(var(--corp-rgb));
}
.corp-service-icon svg {
  width: 22px;
  height: 22px;
}
.corp-service h3 {
  margin: 0;
  font-size: 16.5px;
}
.corp-service p {
  flex: 1;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.corp-service-more {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--corp-rgb));
}

/* Histoire : frise horizontale sur grand écran, verticale sur mobile */
.corp-history {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.corp-history::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(to right, var(--border), var(--link));
}
.corp-history-step {
  position: relative;
}
.corp-history-num {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.corp-history-step.is-now .corp-history-num {
  border-color: var(--link);
  background: var(--link);
  color: var(--bg);
  box-shadow: 0 0 0 6px var(--link-tint);
}
.corp-history-step h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
}
.corp-history-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Valeurs */
.corp-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.corp-value {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
}
.corp-value-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  color: rgb(var(--corp-rgb));
}
.corp-value-icon svg {
  width: 100%;
  height: 100%;
}
.corp-value h3 {
  margin: 0;
  font-size: 16px;
}
.corp-value p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.corp-value-link {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--corp-rgb));
}

/* Dernière mise à jour */
.corp-news {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 28px;
  border: 1px solid rgba(26, 115, 232, 0.4);
  border-radius: 22px;
  background: linear-gradient(120deg, var(--link-tint), transparent 70%), var(--bg);
  font-size: inherit;
  text-decoration: none !important;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.corp-news:hover {
  border-color: var(--link);
  transform: translateY(-2px);
}
.corp-news-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--link);
}
.corp-news-badge svg {
  width: 15px;
  height: 15px;
}
.corp-news-title {
  font-size: 20px;
  line-height: 1.3;
  color: var(--text);
}
.corp-news-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.corp-news-more {
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--link);
}

/* Appel final */
.corp-cta {
  margin-top: 56px;
  padding: 36px 28px;
  border-radius: 26px;
  background:
    radial-gradient(90% 120% at 0% 100%, rgba(26, 115, 232, 0.18), transparent 60%),
    radial-gradient(70% 100% at 100% 0%, rgba(132, 48, 206, 0.14), transparent 60%),
    var(--btn-bg);
  text-align: center;
}
.corp-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(21px, 3.2vw, 27px);
}
.corp-cta p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}
.corp-cta .corp-hero-actions {
  margin-top: 20px;
}

/* --- Tablette ----------------------------------------------------------- */
@media (max-width: 960px) {
  .corp-services,
  .corp-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .corp-history {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .corp-history::before {
    top: 18px;
    bottom: 18px;
    left: 17px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, var(--border), var(--link));
  }
  .corp-history-step {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 16px;
    padding-bottom: 22px;
  }
  .corp-history-step:last-child {
    padding-bottom: 0;
  }
  .corp-history-num {
    margin: 0;
  }
  .corp-history-step h3 {
    margin-top: 7px;
  }
}

/* --- Mobile ------------------------------------------------------------- */
@media (max-width: 640px) {
  .corp-page {
    padding: 20px 16px 0;
  }
  .corp-hero {
    padding: 34px 20px 30px;
    border-radius: 22px;
  }
  .corp-hero-logo {
    width: 68px;
    margin-bottom: 14px;
  }
  .corp-hero-lead {
    font-size: 15px;
  }
  .corp-hero-actions .btn {
    flex: 1 1 180px;
    justify-content: center;
  }
  .corp-stat {
    flex-basis: calc(50% - 6px);
    max-width: none;
    padding: 14px;
  }
  .corp-stat strong {
    font-size: 24px;
  }
  .corp-section,
  .corp-cta {
    margin-top: 40px;
  }
  .corp-section-head {
    margin-bottom: 16px;
    text-align: left;
  }
  .corp-duo,
  .corp-services,
  .corp-values {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .corp-card {
    padding: 20px;
    border-radius: 18px;
  }
  .corp-card h2 {
    font-size: 19px;
  }
  /* Services et valeurs en lignes compactes : icône à gauche */
  .corp-service,
  .corp-value {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 3px;
    padding: 16px;
    border-radius: 18px;
  }
  .corp-service-icon,
  .corp-value-icon {
    grid-row: 1 / span 3;
    align-self: start;
    margin: 0;
  }
  .corp-service-icon {
    width: 40px;
    height: 40px;
  }
  .corp-value-icon {
    width: 22px;
    height: 22px;
    margin-top: 2px;
  }
  .corp-service-more {
    margin-top: 2px;
  }
  .corp-news {
    padding: 20px;
  }
  .corp-news-title {
    font-size: 18px;
  }
  .corp-cta {
    padding: 28px 20px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .corp-service:hover,
  .corp-news:hover {
    transform: none;
  }
}
