/* ==========================================================================
   Jobivoire — Entreprises / Recruteurs / Marque employeur
   Couche CSS additionnelle. Charger APRÈS custom.css (variables héritées).
   ========================================================================== */

/* ---------------------------------- Entreprises : cartes ---------------------------------- */
.company-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 1.25rem; transition: box-shadow .18s ease, transform .18s ease; }
.company-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.company-logo { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: contain; background: var(--color-white); border: 1px solid var(--color-border); padding: 6px; flex: none; }
.company-logo--lg { width: 96px; height: 96px; border-radius: var(--radius-md); padding: 10px; }
.company-logo--initials { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; background: var(--color-bg-soft-2); color: var(--color-dark); }
.company-card .c-name { font-size: 1rem; font-weight: 700; margin: 0; }
.company-card .c-sector { font-size: 0.85rem; color: var(--color-primary-darker); font-weight: 600; margin: 0.1rem 0 0; }
.company-card .c-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; font-size: 0.82rem; color: var(--color-text-muted); margin: 0.75rem 0 0; }
.company-card .c-meta i { color: var(--color-text-faint); }
.company-card .c-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--color-border-soft); }
.badge-offers { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.65rem; border-radius: var(--radius-pill); background: var(--color-primary-light); color: var(--color-primary-darker); }
.badge-top { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.55rem; border-radius: var(--radius-pill); background: var(--color-dark); color: var(--color-white); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------------------------------- Marque employeur : bandeau ---------------------------------- */
.employer-cover { position: relative; width: 100%; aspect-ratio: 21 / 6; min-height: 150px; object-fit: cover; border-radius: var(--radius-lg); background: var(--color-bg-soft-2); border: 1px solid var(--color-border); display: block; }
.employer-head { margin-top: -44px; padding: 0 1.25rem; position: relative; z-index: 2; }
.employer-head-inner { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 1.5rem; }
@media (max-width: 767.98px) { .employer-head { margin-top: -28px; padding: 0 0.35rem; } .employer-head-inner { padding: 1.1rem; text-align: center; } }

.stat-tile { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.1rem; background: var(--color-white); height: 100%; }
.stat-tile .n { font-size: 1.6rem; font-weight: 800; color: var(--color-dark); line-height: 1.1; }
.stat-tile .l { font-size: 0.8rem; color: var(--color-text-muted); font-weight: 600; }

.mission-band { background: var(--color-dark); color: var(--color-white); border-radius: var(--radius-lg); padding: 2rem; }
.mission-band h2 { color: var(--color-white); }
.mission-band .lead-quote { font-size: 1.15rem; font-weight: 600; line-height: 1.6; margin: 0; }

.value-card { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.25rem; height: 100%; background: var(--color-white); }
.value-card .v-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--color-primary-light); color: var(--color-primary-darker); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 0.85rem; }
.value-card h4 { font-size: 0.98rem; margin-bottom: 0.35rem; }

.benefit-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.9rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg-soft); font-size: 0.88rem; font-weight: 600; height: 100%; }
.benefit-item i { color: var(--color-primary); font-size: 1rem; flex: none; }

.process-step { display: flex; gap: 1rem; padding-bottom: 1.4rem; position: relative; }
.process-step:last-child { padding-bottom: 0; }
.process-step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--color-dark); color: var(--color-white); font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex: none; }
.process-step h4 { font-size: 0.95rem; margin: 0.3rem 0 0.2rem; }

.testimonial { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.35rem; background: var(--color-bg-soft); height: 100%; display: flex; flex-direction: column; }
.testimonial .q-mark { color: var(--color-primary); font-size: 1.2rem; margin-bottom: 0.6rem; }
.testimonial p { font-size: 0.92rem; }
.testimonial .who { display: flex; align-items: center; gap: 0.65rem; margin-top: auto; padding-top: 0.9rem; }
.testimonial .who img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }

/* Médiathèque */
.gallery-item { display: block; position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-border); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .g-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 0.8rem 0.6rem; background: linear-gradient(to top, rgba(23,24,26,0.78), rgba(23,24,26,0)); color: var(--color-white); font-size: 0.8rem; font-weight: 600; }
.video-embed { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-dark); cursor: pointer; }
.video-embed img, .video-embed iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.video-embed .play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-embed .play-btn span { width: 62px; height: 62px; border-radius: 50%; background: var(--color-primary); color: var(--color-white); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: var(--shadow-md); }
.video-embed:hover .play-btn span { background: var(--color-primary-dark); }
.video-embed .v-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1rem 0.7rem; background: linear-gradient(to top, rgba(23,24,26,0.8), rgba(23,24,26,0)); color: var(--color-white); font-size: 0.88rem; font-weight: 600; }

/* Carte / localisation */
.map-embed { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Offres d'emploi (lignes) */
.offer-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-white); transition: box-shadow .18s ease; }
.offer-row:hover { box-shadow: var(--shadow-sm); }
.offer-row .o-logo { width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--color-border); object-fit: contain; padding: 5px; flex: none; background: var(--color-white); }
.offer-row h4 { font-size: 0.98rem; margin: 0 0 0.2rem; }
.offer-row .o-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 0.85rem; font-size: 0.8rem; color: var(--color-text-muted); }
.offer-row .o-meta i { color: var(--color-text-faint); }
.offer-row .o-side { margin-left: auto; text-align: right; flex: none; }
.offer-row .o-date { font-size: 0.75rem; color: var(--color-text-faint); display: block; margin-top: 0.4rem; }
@media (max-width: 575.98px) {
  .offer-row { flex-wrap: wrap; }
  .offer-row .o-side { margin-left: 0; width: 100%; text-align: left; }
  .offer-row .o-side .btn { width: 100%; }
}

/* Suivre l'entreprise */
.btn-follow.is-following { background: var(--color-dark); color: var(--color-white); border-color: var(--color-dark); }

/* Bloc formulaire mis en avant */
.form-panel { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg-soft); padding: 1.75rem; }
.form-panel .form-control, .form-panel .form-select { background: var(--color-white); border-color: var(--color-border); }
.form-panel .form-control:focus, .form-panel .form-select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(255,106,26,0.16); }
.form-label-jv { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; }
.file-drop { border: 1px dashed var(--color-text-faint); border-radius: var(--radius-md); background: var(--color-white); padding: 1.1rem; text-align: center; }
.file-drop i { font-size: 1.3rem; color: var(--color-primary); }
