/* ==========================================================================
   INTERLAND Consulting Guinea — Charte graphique du site
   Couleurs et typographies alignées sur le kakemono et le backdrop.
   ========================================================================== */
:root {
  --il-navy: #003a75;
  --il-navy-dark: #002a55;
  --il-navy-deep: #001d3d;
  --il-orange: #f47a0c;
  --il-orange-dark: #d86806;
  --il-ink: #0f1f33;
  --il-text: #26384f;
  --il-muted: #5b6b80;
  --il-line: #dfe6ef;
  --il-soft: #f3f6fa;
  --il-white: #ffffff;
  --il-radius: 14px;
  --il-shadow: 0 10px 30px rgba(0, 42, 85, .08);
  --il-font: 'Jost', system-ui, sans-serif;
  --il-display: 'Barlow Condensed', 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--il-font);
  color: var(--il-text);
  background: var(--il-white);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--il-font); color: var(--il-navy); font-weight: 700; line-height: 1.15; }
a { color: var(--il-navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--il-orange-dark); }
::selection { background: var(--il-orange); color: #fff; }
img { max-width: 100%; }

/* ---------- Boutons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .75rem 1.6rem; letter-spacing: .2px; }
.btn-il-orange { background: var(--il-orange); border: 2px solid var(--il-orange); color: #fff; }
.btn-il-orange:hover, .btn-il-orange:focus { background: var(--il-orange-dark); border-color: var(--il-orange-dark); color: #fff; }
.btn-il-navy { background: var(--il-navy); border: 2px solid var(--il-navy); color: #fff; }
.btn-il-navy:hover { background: var(--il-navy-dark); border-color: var(--il-navy-dark); color: #fff; }
.btn-il-outline { border: 2px solid var(--il-navy); color: var(--il-navy); background: transparent; }
.btn-il-outline:hover { background: var(--il-navy); color: #fff; }
.btn-il-light { border: 2px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-il-light:hover { background: #fff; color: var(--il-navy); }

/* ---------- Éléments de marque ---------- */
.il-eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .85rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--il-orange);
}
.il-eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--il-orange); border-radius: 2px; }
.il-eyebrow.center::after { content: ""; width: 34px; height: 3px; background: var(--il-orange); border-radius: 2px; }
.il-slogan { font-family: var(--il-display); font-style: italic; font-weight: 800; line-height: 1.02; letter-spacing: .2px; }
.il-slogan .accent, .text-il-orange { color: var(--il-orange) !important; }
.text-il-navy { color: var(--il-navy) !important; }
.bg-il-navy { background: var(--il-navy) !important; }
.bg-il-soft { background: var(--il-soft) !important; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin: .6rem 0 1rem; }
.section-lead { font-size: 1.15rem; color: var(--il-muted); max-width: 720px; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Barre supérieure & navigation ---------- */
.il-topbar { background: var(--il-navy-deep); color: #cfdbea; font-size: .88rem; }
.il-topbar a { color: #cfdbea; text-decoration: none; }
.il-topbar a:hover { color: #fff; }
.il-topbar i { color: var(--il-orange); }
.il-nav { background: #fff; box-shadow: 0 1px 0 var(--il-line); transition: box-shadow .25s; }
.il-nav.scrolled { box-shadow: 0 8px 24px rgba(0,42,85,.08); }
.il-nav .navbar-brand img { height: 50px; width: auto; }
.il-nav .nav-link { font-weight: 600; color: var(--il-navy); padding: .5rem .7rem !important; position: relative; white-space: nowrap; }
.il-nav .nav-link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .15rem; height: 3px; border-radius: 2px; background: var(--il-orange); transform: scaleX(0); transition: transform .2s; }
.il-nav .nav-link:hover::after, .il-nav .nav-link.active::after { transform: scaleX(1); }
.il-nav .dropdown-menu { border: 0; border-radius: 12px; box-shadow: var(--il-shadow); padding: .5rem; }
.il-nav .dropdown-item { border-radius: 8px; font-weight: 500; color: var(--il-navy); padding: .55rem .8rem; }
.il-nav .dropdown-item i { color: var(--il-orange); margin-right: .5rem; }
.il-nav .dropdown-item:hover { background: var(--il-soft); }

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .il-nav .nav-link { padding: .5rem .5rem !important; font-size: .96rem; }
  .il-nav .nav-link::after { left: .5rem; right: .5rem; }
  .il-nav .btn-il-orange { padding: .6rem 1.1rem; }
  .il-nav .navbar-brand img { height: 44px; }
}

/* ---------- Sélecteur de langue ---------- */
.il-lang { display: inline-flex; border: 2px solid var(--il-line); border-radius: 999px; padding: 2px; background: #fff; }
.il-lang a { font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--il-navy); text-decoration: none; padding: .3rem .65rem; border-radius: 999px; line-height: 1; }
.il-lang a.active { background: var(--il-navy); color: #fff; }
.il-lang a:not(.active):hover { color: var(--il-orange-dark); }

/* ---------- Hero ---------- */
.il-hero { position: relative; background: var(--il-navy); color: #fff; overflow: hidden; padding: 90px 0 150px; }
.il-hero::before { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(255,255,255,.04); }
.il-hero .il-eyebrow { color: #ffb36b; }
.il-hero .il-eyebrow::before { background: var(--il-orange); }
.il-hero h1.il-slogan { color: #fff; font-size: clamp(2.5rem, 4.3vw, 3.9rem); margin: 1rem 0 1.25rem; }
@media (min-width: 992px) { .il-hero h1.il-slogan { white-space: nowrap; } }
.il-hero .lead { color: #dbe5f1; font-size: 1.2rem; max-width: 560px; }
.il-hero-visual { position: relative; }
.il-hero-visual .photo { border-radius: 0 0 0 150px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.25); aspect-ratio: 4/3.3; }
.il-hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.il-hero-visual .dot { position: absolute; top: -26px; right: -18px; width: 110px; height: 110px; border-radius: 50%; background: var(--il-orange); }
.il-hero-visual .badge-card { position: absolute; left: -24px; bottom: -28px; background: #fff; color: var(--il-navy); border-radius: 12px; padding: 14px 20px; font-weight: 600; box-shadow: var(--il-shadow); display: flex; gap: 12px; align-items: center; max-width: 330px; line-height: 1.3; }
.il-hero-visual .badge-card i { font-size: 1.6rem; color: var(--il-orange); }
.il-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.il-wave svg { width: 100%; height: 90px; display: block; }

/* ---------- Page header (pages internes) ---------- */
.il-page-header { background: var(--il-navy); color: #fff; padding: 70px 0 110px; position: relative; overflow: hidden; }
.il-page-header h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.2rem); margin: .6rem 0 .6rem; }
.il-page-header p { color: #dbe5f1; max-width: 680px; font-size: 1.12rem; margin: 0; }
.il-page-header .breadcrumb { --bs-breadcrumb-divider-color: #9fb3cc; margin-bottom: .5rem; }
.il-page-header .breadcrumb a { color: #cfdbea; text-decoration: none; }
.il-page-header .breadcrumb-item.active { color: #ffb36b; }

/* ---------- Cartes domaines ---------- */
.il-card { background: #fff; border: 1px solid var(--il-line); border-radius: var(--il-radius); padding: 30px; height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.il-card:hover { transform: translateY(-4px); box-shadow: var(--il-shadow); border-color: transparent; }
.il-icon { width: 62px; height: 62px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; background: var(--il-navy); flex-shrink: 0; }
.il-icon.orange { background: var(--il-orange); }
.il-icon.outline { background: transparent; border: 3px solid var(--il-orange); color: #fff; }
.il-card h3 { font-size: 1.35rem; margin: 1.1rem 0 .6rem; }
.il-card p { color: var(--il-muted); margin-bottom: 1rem; }
.il-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.il-tags li { background: var(--il-soft); color: var(--il-navy); font-size: .88rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.il-card .stretched-link-label { font-weight: 700; color: var(--il-orange); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; margin-top: 1rem; }
.il-card .stretched-link-label::after { content: ""; position: absolute; inset: 0; }

/* ---------- Pour qui ---------- */
.il-audience { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.il-audience span { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 2px solid var(--il-line); color: var(--il-navy); font-weight: 600; padding: .6rem 1.2rem; border-radius: 999px; }
.il-audience span i { color: var(--il-orange); }

/* ---------- Valeurs ---------- */
.il-value { display: flex; gap: 16px; align-items: flex-start; }
.il-value .num { font-family: var(--il-display); font-style: italic; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--il-orange); min-width: 46px; }
.il-value h4 { font-size: 1.2rem; margin: .1rem 0 .35rem; }
.il-value p { color: var(--il-muted); margin: 0; }

/* ---------- Bandeau navy (valeurs / CTA) ---------- */
.il-band { background: var(--il-navy); color: #fff; position: relative; overflow: hidden; }
.il-band h2, .il-band h3, .il-band h4 { color: #fff; }
.il-band p { color: #dbe5f1; }
.il-band .il-value p { color: #c9d6e8; }
.il-band-mark { position: absolute; right: -80px; bottom: -80px; width: 360px; opacity: .06; pointer-events: none; }
.il-cta { background: linear-gradient(0deg, var(--il-orange), var(--il-orange)); color: #fff; border-radius: 22px; padding: 48px; position: relative; overflow: hidden; }
.il-cta h2 { color: #fff; margin: 0 0 .5rem; }
.il-cta p { color: #fff3e6; margin: 0; font-size: 1.1rem; }
.il-cta .btn-il-navy { box-shadow: 0 8px 20px rgba(0,0,0,.15); }

/* ---------- Stats ---------- */
.il-stat .value { font-family: var(--il-display); font-style: italic; font-weight: 800; font-size: 3.2rem; color: var(--il-orange); line-height: 1; }
.il-stat .label { color: #dbe5f1; font-weight: 500; }

/* ---------- Formations / actus / offres ---------- */
.il-list-card { background: #fff; border: 1px solid var(--il-line); border-radius: var(--il-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.il-list-card:hover { box-shadow: var(--il-shadow); transform: translateY(-3px); }
.il-list-card .thumb { aspect-ratio: 16/9; background: var(--il-soft); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.il-list-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.il-list-card .thumb .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--il-navy); color: rgba(255,255,255,.9); font-size: 2.6rem; position: relative; }
.il-list-card .thumb .ph::after { content: ""; position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--il-orange); }
.il-list-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.il-list-card .meta { font-size: .88rem; color: var(--il-muted); display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: .6rem; }
.il-list-card .meta i { color: var(--il-orange); margin-right: 4px; }
.il-list-card h3 { font-size: 1.25rem; margin: 0 0 .6rem; }
.il-list-card h3 a { color: var(--il-navy); text-decoration: none; }
.il-list-card h3 a::after { content: ""; position: absolute; inset: 0; }
.il-list-card { position: relative; }
.il-list-card p { color: var(--il-muted); flex: 1; }
.il-chip { display: inline-block; background: rgba(244,122,12,.12); color: var(--il-orange-dark); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }

.il-offer { background: #fff; border: 1px solid var(--il-line); border-left: 0; border-radius: var(--il-radius); padding: 26px 28px; display: flex; gap: 22px; align-items: center; position: relative; transition: box-shadow .2s; }
.il-offer:hover { box-shadow: var(--il-shadow); }
.il-offer h3 { font-size: 1.3rem; margin: 0 0 .35rem; }
.il-offer h3 a { color: var(--il-navy); text-decoration: none; }
.il-offer h3 a::after { content: ""; position: absolute; inset: 0; }
.il-offer .meta { color: var(--il-muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 16px; }
.il-offer .meta i { color: var(--il-orange); margin-right: 4px; }

/* ---------- Contenu riche ---------- */
.il-prose { font-size: 1.1rem; }
.il-prose p { margin-bottom: 1.1rem; }
.il-checklist { list-style: none; padding: 0; margin: 0; }
.il-checklist li { position: relative; padding: .45rem 0 .45rem 2rem; border-bottom: 1px dashed var(--il-line); }
.il-checklist li:last-child { border-bottom: 0; }
.il-checklist li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .45rem; color: var(--il-orange); font-size: 1.1rem; }
.il-side { background: var(--il-soft); border-radius: var(--il-radius); padding: 28px; }
.il-side h4 { font-size: 1.1rem; }
.il-side .nav-link { color: var(--il-navy); font-weight: 600; padding: .55rem 0; border-bottom: 1px solid var(--il-line); display: flex; gap: .6rem; align-items: center; }
.il-side .nav-link i { color: var(--il-orange); }
.il-side .nav-link.active { color: var(--il-orange-dark); }

/* ---------- Partenaires ---------- */
.il-partners .swiper-slide { display: flex; align-items: center; justify-content: center; height: 90px; }
.il-partners img { max-height: 64px; max-width: 160px; filter: grayscale(1); opacity: .75; transition: .2s; }
.il-partners img:hover { filter: none; opacity: 1; }

/* ---------- Équipe ---------- */
.il-team { text-align: center; }
.il-team .avatar { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 1rem; overflow: hidden; background: var(--il-soft); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--il-orange); display: flex; align-items: center; justify-content: center; color: var(--il-navy); font-size: 3rem; }
.il-team .avatar img { width: 100%; height: 100%; object-fit: cover; }
.il-team h4 { font-size: 1.15rem; margin: 0; }
.il-team .role { color: var(--il-orange-dark); font-weight: 600; font-size: .95rem; }

/* ---------- Formulaires ---------- */
.il-form .form-label { font-weight: 600; color: var(--il-navy); font-size: .95rem; }
.il-form .form-control, .il-form .form-select { border-radius: 10px; border: 1.5px solid var(--il-line); padding: .75rem 1rem; font-size: 1rem; }
.il-form .form-control:focus, .il-form .form-select:focus { border-color: var(--il-navy); box-shadow: 0 0 0 .2rem rgba(0,58,117,.12); }
.il-form-card { background: #fff; border-radius: 18px; padding: 36px; box-shadow: var(--il-shadow); border: 1px solid var(--il-line); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.il-contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.il-contact-item:last-child { border-bottom: 0; }
.il-contact-item i { font-size: 1.4rem; color: var(--il-orange); }
.il-contact-item .label { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: #9fb3cc; font-weight: 700; }
.il-contact-item .value { color: #fff; font-weight: 600; font-size: 1.08rem; }
.il-contact-item .value a { color: #fff; text-decoration: none; }
#il-map { height: 380px; border-radius: 18px; overflow: hidden; z-index: 0; }

/* ---------- Réseaux sociaux ---------- */
.il-social { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.il-social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: #fff; font-size: 1.1rem; text-decoration: none; transition: .2s; }
.il-social a:hover { background: var(--il-orange); color: #fff; }

/* ---------- Pied de page ---------- */
.il-footer { background: var(--il-navy); color: #c9d6e8; position: relative; padding-top: 110px; margin-top: 40px; }
.il-footer .il-wave-top { position: absolute; top: -1px; left: 0; right: 0; line-height: 0; }
.il-footer .il-wave-top svg { width: 100%; height: 80px; display: block; }
.il-footer h5 { color: #fff; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.2rem; }
.il-footer a { color: #c9d6e8; text-decoration: none; }
.il-footer a:hover { color: #fff; }
.il-footer ul { list-style: none; padding: 0; margin: 0; }
.il-footer li { padding: .3rem 0; }
.il-footer .contact i { color: var(--il-orange); width: 22px; display: inline-block; }
.il-footer .slogan { font-family: var(--il-display); font-style: italic; font-weight: 800; font-size: 1.9rem; line-height: 1.05; color: #fff; }
.il-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; margin-top: 56px; font-size: .9rem; }
.il-footer .values { letter-spacing: .22em; font-size: .8rem; font-weight: 600; color: #9fb3cc; }

/* ---------- Alertes ---------- */
.il-alert { border: 0; border-left: 5px solid var(--il-orange); background: #fff7ef; color: var(--il-ink); border-radius: 12px; }
.il-alert.success { border-left-color: #1f9d55; background: #ecf9f1; }

/* ---------- Divers ---------- */
.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--il-orange); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: .25s; z-index: 50; text-decoration: none; }
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { color: #fff; background: var(--il-orange-dark); }
.pagination { --bs-pagination-color: var(--il-navy); --bs-pagination-active-bg: var(--il-navy); --bs-pagination-active-border-color: var(--il-navy); }

@media (max-width: 1199.98px) {
  .il-nav .nav-link::after { display: none; }
  .il-nav .navbar-collapse { padding: .75rem 0 1rem; border-top: 1px solid var(--il-line); margin-top: .5rem; }
  .il-nav .navbar-nav .nav-link { padding: .7rem .25rem !important; border-bottom: 1px solid var(--il-soft); }
  .il-nav .dropdown-menu { box-shadow: none; padding-left: .5rem; }
}
@media (max-width: 575.98px) {
  .il-nav .navbar-brand img { height: 40px; }
  .il-lang a { padding: .28rem .5rem; }
}
@media (max-width: 991.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .section { padding: 72px 0; }
  .il-hero { padding: 60px 0 130px; }
  .il-hero-visual { margin-top: 48px; max-width: 520px; margin-left: auto !important; margin-right: auto !important; }
  .il-hero-visual .badge-card { left: 12px; }
  .il-cta { padding: 34px 26px; }
}
@media (max-width: 575.98px) {
  .il-offer { flex-direction: column; align-items: flex-start; }
  .il-form-card { padding: 24px; }
}
