/* =========================================================
   Bakary Bogoro — Personal Branding Site
  Design tokens: primaire #25498E, sombre #0B1733, accent #25B9FF
   Typo: Inter (titres / UI) + Source Sans 3 (texte courant)
   ========================================================= */

:root {
  /* Couleurs */
  --c-primary: #25498E;
  --c-primary-dark: #0B1733;
  --c-primary-darker: #0B1733;
  --c-primary-light: #25B9FF;
  --c-primary-tint: #F3F4F6;
  --c-accent: #25B9FF;
  --c-accent-dark: #25498E;
  --c-ink: #0B1733;
  --c-ink-soft: #334155;
  --c-gray-600: #334155;
  --c-gray-400: #334155;
  --c-gray-200: #F3F4F6;
  --c-gray-100: #F3F4F6;
  --c-white: #FFFFFF;
  --c-bg-soft: #F3F4F6;
  --c-success: #1E7A46;
  --c-error: #B23A3A;

  /* Typo */
  --f-head: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Échelle */
  --fs-900: clamp(2.4rem, 1.8rem + 2.6vw, 4rem);
  --fs-800: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --fs-700: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --fs-600: clamp(1.3rem, 1.2rem + 0.5vw, 1.6rem);
  --fs-500: 1.15rem;
  --fs-400: 1rem;
  --fs-300: 0.9rem;
  --fs-200: 0.8rem;

  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7.5rem;

  --radius: 10px;
  --radius-sm: 6px;
  --border: 1px solid var(--c-gray-200);
  --shadow-soft: 0 1px 2px rgba(16, 27, 51, 0.04), 0 8px 24px rgba(16, 27, 51, 0.05);
  --container: 1140px;
  --container-narrow: 760px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

body {
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-white);
  font-size: var(--fs-400);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--c-ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-900); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-800); }
h3 { font-size: var(--fs-600); }
h4 { font-size: var(--fs-500); font-weight: 600; }

p { color: var(--c-ink-soft); }
p + p { margin-top: 1em; }

.lede {
  font-size: var(--fs-500);
  color: var(--c-ink-soft);
  max-width: 62ch;
}

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-sm);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-2xl); }
.section--soft { background: var(--c-bg-soft); }
.section--dark {
  background: linear-gradient(160deg, var(--c-primary-darker), var(--c-primary-dark));
  color: var(--c-white);
}
.section--dark h2, .section--dark h3, .section--dark p, .section--dark a { color: var(--c-white); }
.section--dark .lede { color: rgba(255,255,255,0.82); }
.section--photo {
  background:
    linear-gradient(160deg, rgba(11,23,51,0.93), rgba(11,23,51,0.88)),
    url("../images/office-night.webp") center 30% / cover no-repeat;
}
.section--tight { padding-block: var(--space-xl); }

.page-title {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 390px;
  background:
    linear-gradient(90deg, rgba(11,23,51,0.97) 0%, rgba(11,23,51,0.88) 52%, rgba(11,23,51,0.68) 100%),
    var(--c-primary-darker) url("../images/portrait-bakary.webp") right bottom / auto 100% no-repeat;
  color: var(--c-white);
}
.page-title::before,
.page-title::after,
.article-header--featured::before,
.article-header--featured::after,
.project-detail-hero::before,
.project-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 12% 28%, rgba(37,185,255,0.9) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 28% 72%, rgba(37,185,255,0.62) 0 1px, transparent 1.7px),
    radial-gradient(circle at 48% 22%, rgba(37,185,255,0.78) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 67% 64%, rgba(37,185,255,0.68) 0 1px, transparent 1.7px),
    radial-gradient(circle at 86% 32%, rgba(37,185,255,0.82) 0 1.2px, transparent 1.8px),
    linear-gradient(28deg, transparent 49.7%, rgba(37,185,255,0.1) 50%, transparent 50.3%);
  background-size: 260px 180px;
  opacity: 0.58;
}
.page-title::after,
.article-header--featured::after,
.project-detail-hero::after {
  background-size: 340px 240px;
  background-position: 90px 40px;
  opacity: 0.32;
  animation: pageTitleParticles 18s linear infinite;
}
.page-title h1,
.page-title p,
.page-title .lede,
.page-title .eyebrow {
  position: relative;
  z-index: 1;
  color: var(--c-white);
}
.page-title .lede { color: rgba(255,255,255,0.86); }
.page-title .eyebrow { color: var(--c-accent); }
.page-title__content { position: relative; z-index: 1; max-width: 700px; }
.page-title__content h1 { margin-bottom: 1.25rem; }
.page-title__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
  color: rgba(255,255,255,0.78);
  font-family: var(--f-head);
  font-size: 0.86rem;
  font-weight: 600;
}
.page-title__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.page-title__meta i { color: var(--c-accent); }
@media (max-width: 700px) {
  .page-title {
    min-height: 430px;
    background-size: auto 72%;
    background-position: right bottom;
  }
  .page-title__content { max-width: 100%; }
}
@keyframes pageTitleParticles {
  to { background-position: 170px 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-title::after { animation: none; }
}

.section-head { max-width: 62ch; margin-bottom: var(--space-lg); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--f-head);
  font-size: var(--fs-200);
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: var(--space-xs);
}

.grid { display: grid; gap: var(--space-md); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Buttons ---------- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75em 1.6em;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--c-primary);
  color: var(--c-white);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.btn-brand:hover { background: var(--c-primary-dark); color: var(--c-white); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-primary); color: var(--c-white); }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--accent { background: var(--c-accent); color: var(--c-primary-darker); }
.btn--accent:hover { background: var(--c-accent-dark); color: var(--c-white); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-gray-200); }
.btn--ghost:hover { border-color: var(--c-primary); }
.btn--ghost-light { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,0.35); }
.btn--ghost-light:hover { border-color: var(--c-white); }
.btn--sm { padding: 0.6em 1.2em; font-size: 0.85rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(11,23,51,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(11,23,51,0.2);
}
.site-header + main { padding-top: 0; }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.7rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-ink);
}
.site-header .brand { color: var(--c-white); }
.brand__mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--c-primary);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 0.95rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav__links { display: flex; gap: var(--space-md); align-items: center; }
.nav__links a {
  font-family: var(--f-head);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  padding-block: 0.3rem;
  transition: color 0.15s ease;
}
.site-header .nav__links a:not(.btn-brand) { color: rgba(255,255,255,0.88); }
.site-header .nav__links a:not(.btn-brand):hover,
.site-header .nav__links a[aria-current="page"]:not(.btn-brand) { color: var(--c-accent); }
.site-header .nav__links a.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-white);
  padding: 0.75em 1.6em;
  background: var(--c-primary);
}
.site-header .nav__links a.btn-brand:hover {
  color: var(--c-white);
  background: var(--c-primary-dark);
}
.nav__links a:hover, .nav__links a[aria-current="page"] {
  color: var(--c-primary);
}
.brand, .nav__links a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1199.98px) {
  .nav { gap: var(--space-sm); }
  .nav__links { gap: 0.85rem; }
  .nav__links a { font-size: 0.86rem; }
  .site-header .nav__links a.btn-brand { font-size: 0.86rem; padding: 0.65em 1em; }
}
.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-white);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(11,23,51,0.98);
    border-bottom: 1px solid var(--c-gray-200);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-sm);
    gap: var(--space-sm);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .site-header .nav__links a.btn-brand { display: inline-flex; margin-top: 0.4rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: var(--space-2xl) var(--space-xl);
  color: var(--c-white);
  background:
    linear-gradient(165deg, rgba(11,23,51,0.94), rgba(37,73,142,0.88)),
    url("../images/office-night.webp") center 35% / cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}
@media (hover: none), (pointer: coarse) {
  /* background-attachment: fixed is unreliable/heavy on touch devices */
  .hero { background-attachment: scroll; }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { order: -1; margin-inline: auto; }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--f-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-primary-darker);
  background: rgba(255,255,255,0.92);
  padding: 0.4em 0.9em;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}
.hero h1 { margin-bottom: var(--space-sm); color: var(--c-white); }
.hero h1 .accent-underline { position: relative; white-space: nowrap; }
.hero__value {
  font-size: var(--fs-500);
  color: rgba(255,255,255,0.85);
  max-width: 52ch;
  margin-bottom: var(--space-md);
}
.hero__portrait-frame {
  position: relative;
  height: min(56vh, 540px);
  width: fit-content;
  max-width: 100%;
  display: flex;
  margin-inline: auto;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(160deg, var(--c-primary-light), var(--c-accent));
}
.hero__portrait-frame img {
  height: 100%;
  width: auto;
  max-width: 100%;
  border-radius: 14px;
  object-fit: contain;
  object-position: center bottom;
  background: linear-gradient(180deg, var(--c-primary-tint), var(--c-white) 70%);
  padding-top: 12px;
}
@media (max-width: 900px) {
  .hero__portrait-frame { height: min(42vh, 380px); }
}
.hero__portrait-frame--sm { max-width: 220px; height: 260px; }
.avatar-sm {
  display: block;
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--c-primary-tint);
  margin-bottom: var(--space-sm);
}
.avatar-sm img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero__stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.2);
}
.stat__num {
  font-family: var(--f-head);
  font-size: var(--fs-700);
  font-weight: 800;
  color: var(--c-accent);
  display: block;
}
.stat__label {
  font-size: var(--fs-300);
  color: rgba(255,255,255,0.72);
}

/* ---------- Cards ---------- */
.card {
  background: var(--c-white);
  border: var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  position: relative;
}
.card--accent-top { border-top: 3px solid var(--c-primary); }
.card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--c-primary-tint);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-sm);
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.card p { font-size: 0.96rem; }
.card--link { display: block; }
.card--link:hover { border-color: var(--c-primary); box-shadow: var(--shadow-soft); }

/* ---------- Timeline (CV) ---------- */
.timeline { position: relative; padding-left: 2rem; border-left: 2px solid var(--c-gray-200); }
.timeline__item { position: relative; padding-bottom: var(--space-lg); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -2.45rem;
  top: 0.3rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 3px solid var(--c-primary-tint);
}
.timeline__item--current .timeline__dot { background: var(--c-accent); }
.timeline__meta {
  font-family: var(--f-head);
  font-size: 0.82rem;
  color: var(--c-gray-600);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.timeline__item h3 { font-size: 1.2rem; margin-bottom: 0.1rem; }
.timeline__org { color: var(--c-primary); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.6rem; display: block; }
.timeline__item ul { margin-top: 0.6rem; }
.timeline__item li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: var(--c-ink-soft);
  margin-bottom: 0.4rem;
}
.timeline__item li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-primary-light);
}

/* ---------- Skills ---------- */
.skill-group { margin-bottom: var(--space-lg); }
.skill-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid var(--c-gray-200);
  padding-bottom: 0.6rem;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-family: var(--f-head);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4em 0.85em;
  border-radius: 999px;
  border: 1px solid var(--c-gray-200);
  color: var(--c-ink-soft);
}
.tag--expert { background: var(--c-primary); color: var(--c-white); border-color: var(--c-primary); }
.tag--pratique { background: var(--c-primary-tint); color: var(--c-primary); border-color: var(--c-primary-tint); }
.tag--dev { background: var(--c-white); color: var(--c-gray-600); border-style: dashed; }
.skill-legend { display: flex; gap: var(--space-md); flex-wrap: wrap; font-size: 0.85rem; color: var(--c-gray-600); margin-bottom: var(--space-xl); }
.skill-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* ---------- Process ---------- */
.process { display: flex; flex-wrap: wrap; gap: 0; counter-reset: step; }
.process__step {
  flex: 1 1 150px;
  padding: var(--space-md) var(--space-sm);
  border-top: 3px solid var(--c-gray-200);
  position: relative;
}
.process__step.is-active { border-top-color: var(--c-primary); }
.process__num {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--c-primary);
  display: block;
  margin-bottom: 0.4rem;
}
.process__step h3 { margin-bottom: 0.3rem; font-size: var(--fs-500); }
.process__step p { font-size: 0.88rem; }

/* ---------- Testimonials / Proof (placeholder state) ---------- */
.placeholder-block {
  border: 1px dashed var(--c-gray-200);
  border-radius: var(--radius);
  padding: var(--space-lg);
  text-align: center;
  color: var(--c-gray-600);
}
.placeholder-block h3 { color: var(--c-ink); margin-bottom: 0.5rem; }

/* ---------- Forms ---------- */
.form-shell {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: 12px;
  padding: clamp(1rem, 2.4vw, 2rem);
  box-shadow: 0 12px 36px rgba(11,23,51,0.06);
}
#demande-service { scroll-margin-top: 5.5rem; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.contact-sidebar { position: sticky; top: 5.5rem; display: grid; gap: 1rem; }
.contact-card { padding: clamp(1.1rem, 2vw, 1.65rem); border-radius: 8px; }
.contact-card h3 { margin-bottom: 0.75rem; }
.contact-card--profile { border: 0; border-top: 3px solid var(--c-accent); background: var(--c-primary-darker); color: var(--c-white); }
.contact-card--profile h3 { color: var(--c-white); }
.contact-card--profile .avatar-sm { border-color: rgba(37,185,255,0.35); }
.contact-card--profile .contact-card__details { color: rgba(255,255,255,0.78); }
.contact-card--profile .contact-card__details strong { color: var(--c-white); }
.contact-card--profile .contact-card__details a { color: var(--c-accent); }
.contact-card__details { margin: 0.7rem 0 0; color: var(--c-ink-soft); font-size: 0.92rem; line-height: 1.8; overflow-wrap: anywhere; }
.contact-card__details a { color: var(--c-primary); font-weight: 600; }
.contact-card__details a:hover { color: var(--c-primary-dark); }
.contact-card--response { background: var(--c-bg-soft); border-color: transparent; }
.form-row { margin-bottom: var(--space-sm); }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
@media (max-width: 640px) { .form-row--2 { grid-template-columns: 1fr; } }
label {
  display: block;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--c-ink);
}
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="url"], select, textarea {
  width: 100%;
  border: 1px solid var(--c-primary-darker);
  border-radius: 7px;
  padding: 0.75em 0.9em;
  background: var(--c-white);
  font-size: 0.96rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(37,185,255,0.16); outline: none; }
input[aria-invalid="true"] { border-color: var(--c-error); box-shadow: 0 0 0 3px rgba(178,58,58,0.12); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--c-gray-600); margin-top: 0.5rem; }
.form-honeypot { display: none; }
.label-optional { font-weight: 400; color: var(--c-gray-400); }
.form-more {
  margin-bottom: var(--space-sm);
  border: 1px solid var(--c-gray-200);
  border-left: 3px solid var(--c-accent);
  border-radius: 0 7px 7px 0;
  background: var(--c-bg-soft);
}
.form-more summary {
  padding: 0.9rem 1rem;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-primary-darker);
  cursor: pointer;
}
.form-more summary .label-optional { font-family: var(--f-body); font-size: 0.85rem; }
.form-more__body { padding: 0 1rem 0.2rem; }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; }
.form-consent input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--c-primary); }
.form-consent label { margin: 0; font-family: inherit; font-weight: 400; font-size: 0.9rem; color: var(--c-gray-600); }

/* Mentions légales */
.legal-content { max-width: 78ch; }
.legal-content h2 { font-size: var(--fs-600, 1.4rem); margin-top: var(--space-lg); }
.legal-content h2:first-child { margin-top: 0; }
.contact-form-submit { width: 100%; justify-content: center; margin-top: 0.35rem; }
.checkbox-row { display: flex; align-items: flex-start; gap: 0.6rem; }
.checkbox-row input { width: auto; margin-top: 0.3rem; }
.checkbox-row label { font-weight: 400; font-size: 0.85rem; color: var(--c-gray-600); }
.form-status {
  display: none;
  margin-top: var(--space-sm);
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--f-head);
  font-weight: 500;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #E7F5EC; color: var(--c-success); }
.form-status--error { background: #FBEAEA; color: var(--c-error); }
.form-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.3rem; margin-bottom: var(--space-lg); padding: 0.3rem; border: 0; border-radius: 8px; background: var(--c-bg-soft); }
.form-tab {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.8em 0.9em;
  color: var(--c-gray-600);
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  transition: color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.form-tab:hover { color: var(--c-primary); }
.form-tab.is-active { color: var(--c-white); border-color: var(--c-primary); background: var(--c-primary); box-shadow: 0 2px 8px rgba(11,23,51,0.14); }
.form-panel { display: none; }
.form-panel.is-active { display: block; }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .contact-sidebar { grid-template-columns: 1fr; }
  .form-tabs { gap: 0.2rem; }
  .form-tab { padding-inline: 0.45rem; font-size: 0.82rem; }
}

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; gap: 0.6rem; }
.post-card__cat {
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-accent-dark);
}
.post-card h3 { font-size: 1.25rem; }
.post-card p { font-size: 0.95rem; }
.post-card__meta { font-size: 0.82rem; color: var(--c-gray-600); margin-top: auto; padding-top: 0.6rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.tag-sm {
  font-size: 0.75rem;
  color: var(--c-gray-600);
  background: var(--c-gray-100);
  padding: 0.25em 0.65em;
  border-radius: 999px;
}

.article-header { padding-block: var(--space-xl) var(--space-lg); }
.article-header .eyebrow { margin-bottom: var(--space-sm); }
.article-meta { font-size: 0.88rem; color: var(--c-gray-600); margin-bottom: var(--space-sm); }
.article-header--featured {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 460px;
  padding-block: 8rem 3.5rem;
  overflow: hidden;
  color: var(--c-white);
  background-color: var(--c-primary-darker);
  background-image:
    linear-gradient(90deg, rgba(11,23,51,0.94), rgba(11,23,51,0.72) 58%, rgba(11,23,51,0.42)),
    var(--article-cover);
  background-position: center, center 45%;
  background-size: cover;
  background-attachment: scroll, fixed;
}
.article-header--transformation {
  background-image:
    linear-gradient(90deg, rgba(11,23,51,0.78), rgba(11,23,51,0.48) 58%, rgba(11,23,51,0.2)),
    url("../images/transformation-digitale.webp");
}
.article-header--cybersecurite {
  background-image:
    linear-gradient(90deg, rgba(11,23,51,0.78), rgba(11,23,51,0.48) 58%, rgba(11,23,51,0.2)),
    url("../images/cybersecurite.webp");
}
.article-header--developpement-web {
  background-image:
    linear-gradient(90deg, rgba(11,23,51,0.78), rgba(11,23,51,0.48) 58%, rgba(11,23,51,0.2)),
    url("../images/dev-web.webp");
}
.article-header--featured .article-header__content { position: relative; z-index: 1; }
.article-header--featured .eyebrow { color: var(--c-accent); }
.article-header--featured h1 { max-width: 880px; color: var(--c-white); }
.article-header--featured .article-meta { color: rgba(255,255,255,0.78); margin: 1rem 0 0; }
@media (hover: none), (pointer: coarse) {
  .article-header--featured { background-attachment: scroll, scroll; }
}
.article-cover {
  max-width: var(--container);
  margin: var(--space-lg) auto 0;
  padding-inline: var(--space-sm);
}
.article-cover img {
  width: 100%;
  height: clamp(220px, 32vw, 420px);
  object-fit: cover;
  border-radius: var(--radius);
}
.article-body { max-width: var(--container-narrow); margin-inline: auto; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: var(--space-xl);
}
.article-layout .article-body { max-width: 760px; min-width: 0; }
.article-sidebar {
  position: sticky;
  top: 2rem;
  display: grid;
  gap: 1rem;
}
.article-sidebar__block {
  padding: 1.25rem;
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-sm);
  background: var(--c-bg-soft);
}
.article-sidebar h2 { font-size: 1rem; margin-bottom: 0.9rem; }
.article-sidebar__list { display: grid; gap: 0.8rem; }
.article-sidebar__list a {
  display: block;
  color: var(--c-ink-soft);
  font-size: 0.88rem;
  line-height: 1.4;
}
.article-sidebar__list a:hover { color: var(--c-primary); }
.article-sidebar__list span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--c-accent-dark);
  font-family: var(--f-head);
  font-size: 0.72rem;
  font-weight: 700;
}
.article-sidebar__archive {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--c-primary);
  font-size: 0.88rem;
  font-weight: 600;
}
.article-related { padding-block: 0 var(--space-2xl); }
.article-related__heading { margin-bottom: var(--space-md); }
.article-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.article-related__card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 130px;
  overflow: hidden;
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.article-related__card:hover { border-color: var(--c-primary-light); transform: translateY(-2px); }
.article-related__card img { width: 100%; height: 100%; min-height: 130px; object-fit: cover; }
.article-related__copy { align-self: center; padding: 0.9rem; }
.article-related__copy span { color: var(--c-accent-dark); font-size: 0.72rem; font-weight: 700; }
.article-related__copy h3 { margin-top: 0.35rem; font-size: 0.95rem; line-height: 1.35; }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .article-header--featured { min-height: 400px; padding-block: 7rem 2.5rem; background-position: center, 62% center; }
  .article-sidebar,
  .article-related__grid { grid-template-columns: 1fr; }
  .article-related__card { grid-template-columns: 100px minmax(0, 1fr); }
}
.article-body h2 { font-size: 1.5rem; margin-top: var(--space-lg); margin-bottom: 0.8rem; }
.article-body h3 { font-size: 1.2rem; margin-top: var(--space-md); margin-bottom: 0.6rem; }
.article-body p { margin-bottom: 1em; }
.article-body ul, .article-body ol { margin: 1em 0 1em 1.3em; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { color: var(--c-ink-soft); margin-bottom: 0.5em; }
.article-body blockquote {
  border-left: 3px solid var(--c-accent);
  padding-left: 1.2em;
  font-style: italic;
  color: var(--c-ink-soft);
  margin: 1.5em 0;
}
.article-cta {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--c-bg-soft);
  border-radius: var(--radius);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-primary-darker);
  color: rgba(255,255,255,0.85);
  padding-block: var(--space-xl) var(--space-lg);
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--c-white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); } }
.footer-grid li { overflow-wrap: anywhere; }
.footer-grid .footer-title { color: var(--c-white); font-size: 0.9rem; font-weight: 600; line-height: 1.15; margin-bottom: var(--space-sm); }
.footer-grid ul li { margin-bottom: 0.55rem; font-size: 0.9rem; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; max-width: 34ch; margin-top: 0.8rem; }
.site-footer .footer-social { margin-top: 1rem; }
.site-footer .footer-bottom { border-top: 0; margin-top: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: var(--space-md);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--c-primary); color: var(--c-white);
  padding: 0.8em 1.2em; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Fade-in for hero only (single deliberate entrance) */
.hero__fade {
  animation: fadeUp 0.7s ease both;
}
.hero__fade--delay { animation-delay: 0.12s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   PAGE À PROPOS — styles dédiés
   ========================================================= */
.about-section {
  padding: clamp(3.5rem, 7vw, 5.625rem) 0;
  background: var(--c-bg-soft);
  color: var(--c-ink-soft);
}
.about-header {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3.4rem);
  text-align: center;
}
.about-eyebrow,
.about-panel__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--c-primary);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.about-header h2 {
  margin-bottom: 1.125rem;
  color: var(--c-primary-dark);
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  font-weight: 750;
  line-height: 1.2;
}
.about-header > p {
  max-width: 650px;
  margin-inline: auto;
  color: var(--c-ink-soft);
  font-size: 1.0625rem;
  line-height: 1.8;
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
.about-layout__main, .about-layout__side { min-width: 0; }
.about-content {
  height: 100%;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(11, 23, 51, .04);
}
.about-block {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.125rem;
}
.about-block:last-of-type { margin-bottom: 1.5rem; }
.about-block__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c-bg-soft);
  color: var(--c-accent);
  font-size: 1.3rem;
}
.about-block h3 {
  margin: .3rem 0 .875rem;
  color: var(--c-primary-dark);
  font-size: 1.3rem;
  font-weight: 700;
}
.about-block p {
  margin: 0 0 .875rem;
  color: var(--c-ink-soft);
  font-size: .96rem;
  line-height: 1.8;
}
.about-block p:last-child { margin-bottom: 0; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .875rem;
  margin-top: 1.25rem;
}
.about-stat {
  padding: 1rem;
  border: 1px solid var(--c-gray-200);
  border-radius: 12px;
  background: var(--c-bg-soft);
}
.about-stat strong {
  display: block;
  color: var(--c-primary);
  font: 800 1.8rem/1.1 var(--f-head);
}
.about-stat span { display: block; margin-top: .35rem; color: var(--c-ink-soft); font-size: .85rem; }
.about-conclusion {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: .875rem;
  align-items: start;
  padding: 1.25rem;
  border-left: 3px solid var(--c-accent);
  border-radius: 0 12px 12px 0;
  background: var(--c-bg-soft);
}
.about-conclusion > i { color: var(--c-primary); font-size: 1.25rem; padding-top: .2rem; }
.about-conclusion p { margin: 0; color: var(--c-ink-soft); line-height: 1.75; }
.about-panel {
  position: sticky;
  top: 2rem;
  padding: clamp(1.35rem, 2.8vw, 2rem);
  border-radius: 20px;
  background: var(--c-primary-dark);
  color: var(--c-white);
  box-shadow: 0 16px 40px rgba(11, 23, 51, .12);
}
.about-panel__eyebrow { color: var(--c-accent); }
.about-panel__header h3 { margin-bottom: .875rem; color: var(--c-white); font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.about-panel__header p { color: rgba(255,255,255,.78); line-height: 1.7; }
.about-panel__list { display: grid; gap: 1.25rem; margin: 1.75rem 0; padding: 0; list-style: none; }
.about-panel__list li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: .75rem; color: rgba(255,255,255,.82); line-height: 1.65; }
.about-panel__list li > i { margin-top: .25rem; color: var(--c-accent); }
.about-panel__list strong { display: block; margin-bottom: .2rem; color: var(--c-white); }
.about-panel__footer { padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.16); }
.about-cta { display: inline-flex; align-items: center; gap: .65rem; color: var(--c-accent); font-weight: 700; }
.about-cta:hover { color: var(--c-white); }
.about-vision-grid { gap: var(--space-xl); }
.about-card-title { font-size: var(--fs-700); }
.about-cta__lede { margin: 0 auto var(--space-md); }
.about-cta__actions { justify-content: center; }
.brand--footer { color: var(--c-white); }
@media (max-width: 900px) {
  .about-layout { grid-template-columns: minmax(0, 1fr); }
  .about-panel { position: static; }
}
@media (max-width: 560px) {
  .about-block { grid-template-columns: 42px minmax(0, 1fr); gap: .875rem; }
  .about-block__icon { width: 42px; height: 42px; border-radius: 11px; font-size: 1.05rem; }
  .about-content { padding: 1.1rem; }
  .about-stats { gap: .6rem; }
  .about-stat { padding: .8rem; }
  .about-stat strong { font-size: 1.5rem; }
}

/* =========================================================
   Composants partagés (ex-home.css)
   ========================================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--f-body);
  color: var(--c-ink-soft);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3, h4 { font-weight: 600; }
a { text-decoration: none; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--c-primary); color: #fff;
  padding: 0.8em 1.2em; z-index: 2000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn-brand, .btn-brand-accent, .btn-brand-outline, .btn-brand-outline-light {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75em 1.6em;
  border-radius: 8px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: all 0.18s ease;
}
.btn-brand { background: var(--c-primary); color: #fff; }
.btn-brand:hover { background: var(--c-primary-dark); color: #fff; }
.btn-brand-accent { background: var(--c-accent); color: var(--c-primary-darker); }
.btn-brand-accent:hover { background: var(--c-primary); color: #fff; }
.btn-brand-outline { background: transparent; color: var(--c-primary); border-color: var(--c-gray-200); }
.btn-brand-outline:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-brand-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-brand-outline-light:hover { border-color: #fff; color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 0.5rem;
}
.eyebrow-light { color: var(--c-accent); }

/* ---------- Hero (full height, parallax, centered — no portrait) ---------- */
.hero-full {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(11,23,51,0.98) 0%, rgba(11,23,51,0.9) 52%, rgba(11,23,51,0.72) 100%),
    url("../images/portrait-bakary2.webp") right bottom / auto 100% no-repeat,
    linear-gradient(160deg, var(--c-primary-darker), var(--c-primary-dark));
  padding-block: 6rem 0;
  overflow: hidden;
}
.hero-full::before {
  content: "";
  position: absolute;
  top: -20%; left: 15%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(37,185,255,0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-full > .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  #particles-canvas { display: none; }
}
.hero-center {
  position: relative;
  max-width: 620px;
  text-align: left;
}
.hero-full h1 { color: #fff; font-size: clamp(2.4rem, 1.7rem + 3vw, 3.6rem); }
.hero-full .hero-lede { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 54ch; }
.hero-greeting { font-family: var(--f-head); font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 0.2rem; }
.hero-typed {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--c-accent);
  min-height: 1.6em;
  margin-bottom: 1rem;
}
.hero-typed .cursor { display: inline-block; width: 2px; background: var(--c-accent); margin-left: 2px; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--f-head); font-size: 0.82rem; font-weight: 600;
  color: var(--c-primary-darker); background: rgba(255,255,255,0.92);
  padding: 0.4em 0.9em; border-radius: 999px; margin-bottom: 1rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat__num { font-family: var(--f-head); font-weight: 800; font-size: 2rem; color: var(--c-accent); display: block; line-height: 1; }
.hero-stat__label { display: block; margin-top: 0.35rem; font-family: var(--f-head); font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.9); line-height: 1.2; }
.hero-stat__description { display: block; margin-top: 0.3rem; color: rgba(255,255,255,0.68); font-size: 0.72rem; line-height: 1.3; }

/* Portrait: bottom-anchored on the right, no frame, no bottom padding */
@media (max-width: 991.98px) {
  .hero-full {
    background-size: auto 72%;
    background-position: right bottom;
  }
}
@media (max-width: 767.98px) {
  .hero-full {
    background-size: cover, auto 100%, cover;
    background-position: center, right bottom, center;
    background-repeat: no-repeat;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    padding-bottom: 0;
  }
  .hero-stats > div { min-width: 0; text-align: center; }
  .hero-stat__num { font-size: 1.15rem; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
  .hero-stats > div { text-align: left; }
  .hero-stat__label { font-size: 0.72rem; }
  .hero-stat__description { font-size: 0.62rem; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-full {
    background-size: cover, auto 100%, cover;
    background-position: center, right bottom, center;
    background-repeat: no-repeat;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1.75rem;
    margin-bottom: 1.5rem;
    padding-top: 1.25rem;
    padding-bottom: 0;
  }
  .hero-stats > div { min-width: 0; text-align: center; }
  .hero-stat__num { font-size: 1.5rem; }
  .hero-stat__label { display: block; font-size: 0.7rem; line-height: 1.2; }
  .hero-stat__description { font-size: 0.62rem; line-height: 1.2; }
}
@media (max-width: 1024px) {
  .hero-full .hero-lede { display: none; }
}
.scroll-cue {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 1.3rem;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Reveal-on-scroll animation system ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }

/* Hero content fades in on load (always above the fold, no scroll trigger needed) */
.hero-fade { opacity: 0; transform: translateY(16px); animation: heroFadeUp 0.8s ease forwards; animation-delay: var(--d, 0s); }
@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-right, .reveal-stagger > *, .hero-fade { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------- Sections ---------- */
.section-pad { padding-block: 5.5rem; }
.section-pad-sm { padding-block: 3.5rem; }
.bg-soft { background: var(--c-bg-soft); }
.section-header h2 { font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem); }
.lede-block { max-width: 62ch; color: var(--c-ink-soft); font-size: 1.05rem; }

/* ---------- About ---------- */
.about-title { margin-bottom: 1.25rem; }
.about-title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  background: var(--c-accent);
  margin-top: 0.8rem;
}
.about-panel {
  height: 100%;
  padding: clamp(1.35rem, 2.8vw, 2rem);
  border-radius: 16px;
  background: var(--c-primary-darker);
  color: #fff;
  box-shadow: 0 16px 40px rgba(11,23,51,0.12);
}
.about-panel__eyebrow {
  display: block;
  color: var(--c-accent);
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.about-panel__header h3 { margin-bottom: 0.875rem; color: #fff; font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.about-panel__header p { margin-bottom: 1.75rem; color: rgba(255,255,255,0.78); line-height: 1.7; }
.about-panel__list { display: grid; gap: 1.25rem; list-style: none; padding: 0; margin: 0 0 1.75rem; }
.about-panel__list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  line-height: 1.65;
}
.about-panel__list i { margin-top: 0.25rem; color: var(--c-accent); }
.about-panel__list strong { display: block; margin-bottom: 0.2rem; color: #fff; }
.about-panel__footer { padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.16); }
.about-cta { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--c-accent); font-weight: 700; }
.about-cta:hover { color: #fff; }
.about-photo {
  position: relative;
  height: 100%;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  display: block;
}
@media (max-width: 991.98px) {
  .about-photo { height: 380px; margin-top: 2rem; }
}
.about-quote {
  border-left: 3px solid var(--c-accent);
  padding-left: 1.1em;
  font-style: italic;
  color: var(--c-ink);
  font-weight: 600;
  margin: 1.3em 0;
}

/* ---------- Services ---------- */
.service-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--c-gray-200);
  border-top: 3px solid var(--c-primary);
  border-radius: 10px;
  padding: 1.75rem;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.service-card:hover { box-shadow: 0 10px 28px rgba(11,23,51,0.08); transform: translateY(-3px); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--c-primary-tint);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.service-card .card__icon { background: var(--c-bg-soft); color: var(--c-accent); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.94rem; color: var(--c-ink-soft); margin: 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- CV banner ---------- */
.cv-banner-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 4.5rem;
  background-color: var(--c-primary);
  background-image:
    linear-gradient(120deg, rgba(37,73,142,0.88), rgba(11,23,51,0.7)),
    url("../images/bakary-dev.webp");
  background-position: center, center 42%;
  background-size: cover;
  background-attachment: scroll, fixed;
}
.cv-banner { color: #fff; text-align: center; }
.cv-banner h2 { color: #fff; }
.cv-banner p { color: rgba(255,255,255,0.82); max-width: 56ch; margin-inline: auto; }
@media (hover: none), (pointer: coarse) {
  .cv-banner-section { background-attachment: scroll, scroll; }
}

/* ---------- Portfolio ---------- */
.portfolio-card {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-gray-200);
  background: #fff;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  color: inherit;
}
.portfolio-card:hover { box-shadow: 0 12px 30px rgba(11,23,51,0.1); transform: translateY(-3px); color: inherit; }
.portfolio-card__header {
  height: 170px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-darker));
  color: rgba(255,255,255,0.9);
  font-size: 2rem;
  position: relative;
  overflow: hidden;
}
.portfolio-card__header > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.portfolio-card__ext {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.portfolio-card__body { padding: 1.1rem 1.25rem 1.3rem; }
.portfolio-card__body h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.portfolio-card__body h3 a { color: var(--c-ink); }
.portfolio-card__body h3 a:hover { color: var(--c-primary); }
.portfolio-card__body p { font-size: 0.86rem; color: var(--c-gray-600); margin: 0; }
.portfolio-card__url { font-size: 0.78rem; color: var(--c-primary); font-family: var(--f-head); font-weight: 600; margin-top: 0.5rem; display: inline-block; }

/* ---------- Project catalogue and details ---------- */
.project-catalogue { padding-block: var(--space-xl); }
.project-catalogue__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.project-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--c-gray-200);
  border-radius: 10px;
  background: #fff;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.project-card:hover { box-shadow: 0 12px 30px rgba(11,23,51,0.1); transform: translateY(-3px); }
.project-card__image { display: block; height: 190px; background: var(--c-primary-tint); overflow: hidden; }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; }
.project-card__content { padding: 1.25rem; }
.project-card__category { color: var(--c-accent-dark); font: 700 0.74rem var(--f-head); text-transform: uppercase; }
.project-card h2 { margin: 0.4rem 0 0.55rem; font-size: 1.15rem; }
.project-card h2 a { color: var(--c-ink); }
.project-card h2 a:hover { color: var(--c-primary); }
.project-card p { min-height: 4.5em; margin: 0; color: var(--c-gray-600); font-size: 0.9rem; }
.project-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 1rem; color: var(--c-primary); font: 600 0.82rem var(--f-head); }
.project-detail-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 440px;
  padding-block: 8rem 3rem;
  overflow: hidden;
  color: #fff;
  background-color: var(--c-primary-darker);
  background-image: linear-gradient(90deg, rgba(11,23,51,0.78), rgba(11,23,51,0.48) 58%, rgba(11,23,51,0.2));
  background-position: center, center 45%;
  background-size: cover;
  background-attachment: scroll, fixed;
}
.project-detail-hero__content { position: relative; z-index: 1; max-width: 850px; }
.project-detail-hero__category { color: var(--c-accent); font: 700 0.82rem var(--f-head); text-transform: uppercase; }
.project-detail-hero h1 { margin: 0.6rem 0 1rem; color: #fff; }
.project-detail-hero p { max-width: 68ch; color: rgba(255,255,255,0.86); font-size: 1.08rem; }
.project-detail-hero__meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; margin-top: 1.25rem; color: rgba(255,255,255,0.8); font: 600 0.86rem var(--f-head); }
.project-detail { padding-block: 4rem 5rem; }
.project-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.project-detail__body { max-width: 760px; }
.project-detail__body h2 { margin: 1.75rem 0 0.75rem; font-size: 1.5rem; }
.project-detail__body p { max-width: 70ch; }
.project-detail__body ul { margin: 0.8rem 0 0 1.25rem; padding: 0; list-style: disc; }
.project-detail__body li { margin-bottom: 0.55rem; color: var(--c-ink-soft); }
.project-detail__facts { padding: 1.4rem; border: 1px solid var(--c-gray-200); border-top: 3px solid var(--c-accent); border-radius: 8px; background: var(--c-bg-soft); }
.project-detail__facts h2 { margin-bottom: 1rem; font-size: 1.1rem; }
.project-detail__facts dl { display: grid; gap: 0.9rem; margin: 0; }
.project-detail__facts dt { color: var(--c-gray-600); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.project-detail__facts dd { margin: 0.15rem 0 0; color: var(--c-ink); font-size: 0.92rem; }
.project-detail__external[hidden] { display: none; }
.project-detail__gallery { margin-top: 3rem; }
.project-detail__gallery h2 { margin-bottom: 1.25rem; font-size: 1.5rem; }
.project-detail__images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.project-detail__images figure { margin: 0; overflow: hidden; border: 1px solid var(--c-gray-200); border-radius: 8px; background: var(--c-bg-soft); }
.project-detail__images img { display: block; width: 100%; max-height: 520px; object-fit: contain; }
.project-detail__back { margin-top: 2rem; }
@media (hover: none), (pointer: coarse) { .project-detail-hero { background-attachment: scroll, scroll; } }
@media (max-width: 900px) {
  .project-catalogue__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-detail__grid { grid-template-columns: 1fr; }
  .project-detail__facts { order: -1; }
}
@media (max-width: 620px) {
  .project-catalogue__grid, .project-detail__images { grid-template-columns: 1fr; }
  .project-detail-hero { min-height: 400px; padding-block: 7rem 2.5rem; }
}

/* ---------- Skills / Expertise bars ---------- */
.skills-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.66) 48%, rgba(255,255,255,0.28) 100%),
    url("../images/portrait-bakary.webp") right bottom / auto 92% no-repeat,
    #fff;
}
.skills-section::before,
.skills-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 10% 24%, rgba(37,73,142,0.28) 0 1px, transparent 1.5px),
    radial-gradient(circle at 20% 48%, rgba(37,73,142,0.2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 31% 72%, rgba(37,73,142,0.22) 0 1px, transparent 1.5px),
    radial-gradient(circle at 43% 38%, rgba(37,73,142,0.24) 0 1px, transparent 1.5px),
    radial-gradient(circle at 56% 18%, rgba(37,73,142,0.3) 0 1px, transparent 1.5px),
    radial-gradient(circle at 68% 84%, rgba(37,73,142,0.18) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 67%, rgba(37,73,142,0.2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 84% 46%, rgba(37,73,142,0.24) 0 1px, transparent 1.5px),
    radial-gradient(circle at 92% 30%, rgba(37,73,142,0.28) 0 1px, transparent 1.5px);
  background-size: 220px 150px;
  opacity: 0.7;
}
.skills-section::after {
  background-size: 340px 240px;
  background-position: 90px 40px;
  opacity: 0.35;
  animation: skillsParticles 20s linear infinite;
}
.skills-section > .container { position: relative; z-index: 1; }
.skills-section .section-header,
.skills-section .skills-list { margin-left: 0; margin-right: auto; max-width: 760px; }
.skills-section .section-header { margin-left: 0 !important; margin-right: auto !important; text-align: left !important; }
.skills-section .skill-row__head { text-align: left; }
.skills-section .progress-bar { margin-right: auto; }
@keyframes skillsParticles {
  to { background-position: 170px 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .skills-section::after { animation: none; }
}
@media (max-width: 991.98px) {
  .skills-section {
    background-size: auto 58%;
  }
  .skills-section .section-header,
  .skills-section .skills-list { max-width: 100%; }
}
.skill-row { margin-bottom: 1.4rem; }
.skill-row__head { display: flex; justify-content: space-between; font-family: var(--f-head); font-size: 0.92rem; font-weight: 600; color: var(--c-ink); margin-bottom: 0.4rem; }
.skill-row .progress { height: 8px; border-radius: 999px; background: var(--c-gray-200); }
.skill-row .progress-bar {
  background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light));
  border-radius: 999px;
  width: 0%;
  transition: width 1.1s cubic-bezier(0.22,1,0.36,1);
}

/* ---------- Blog teaser ---------- */
.post-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--c-gray-200);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.post-card:hover { box-shadow: 0 10px 28px rgba(11,23,51,0.08); transform: translateY(-3px); color: inherit; }
.post-card__image {
  width: calc(100% + 3rem);
  height: 170px;
  margin: -1.5rem -1.5rem 0.5rem;
  object-fit: cover;
  border-radius: 9px 9px 0 0;
}
.post-card__cat { font-family: var(--f-head); font-size: 0.75rem; font-weight: 700; color: var(--c-accent-dark); }
.post-card h3 { font-size: 1.08rem; margin: 0.4rem 0; }
.post-card p { font-size: 0.9rem; color: var(--c-ink-soft); }
.post-card__meta { font-size: 0.78rem; color: var(--c-gray-600); margin-top: auto; padding-top: 0.6rem; }

/* ---------- CTA band ---------- */
.cta-photo {
  background:
    linear-gradient(160deg, rgba(11,23,51,0.93), rgba(11,23,51,0.88)),
    url("../images/office-night.webp") center 30% / cover no-repeat;
  color: #fff;
  border-radius: 16px;
  padding: 3.5rem 2rem;
  text-align: center;
}
.cta-photo h2, .cta-photo p { color: #fff; }

/* ---------- Footer (social + bas de page) ---------- */
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); margin-right: 0.5rem;
}
.footer-social a:hover { background: var(--c-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* =========================================================
   Page d'accueil
   ========================================================= */

/* Typographic rhythm of the homepage (lower specificity than any component rule) */
:where(.page-home) { line-height: 1.5; }
:where(.page-home) :is(h1, h2, h3, h4) { line-height: 1.2; margin-bottom: 0.5rem; }
:where(.page-home) h2 { font-size: clamp(1.6rem, 1.325rem + 0.9vw, 2rem); }
:where(.page-home) h3 { font-size: clamp(1.4rem, 1.3rem + 0.6vw, 1.75rem); }
:where(.page-home) p { margin-bottom: 1rem; }
:where(.page-home) p + p { margin-top: 0; }

/* Header over the hero: transparent at the top, dark once the page scrolls */
.site-header--overlay {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header--overlay.is-scrolled {
  background: rgba(11,23,51,0.97);
  box-shadow: 0 4px 18px rgba(11,23,51,0.2);
  backdrop-filter: blur(10px);
}
.site-header--overlay + main { padding-top: 0; }
.site-header--overlay .brand { color: var(--c-white); }
.site-header--overlay .nav__links a { color: rgba(255,255,255,0.88); }
.site-header--overlay .nav__links a:hover,
.site-header--overlay .nav__links a[aria-current="page"] { color: var(--c-accent); }
.site-header--overlay .nav__toggle span { background: var(--c-white); }
@media (max-width: 860px) {
  .site-header--overlay .nav__links { background: var(--c-primary-darker); border-bottom-color: rgba(255,255,255,0.12); }
}

.hero-full h1 { margin-bottom: 0.5rem; }
.hero-actions { margin-top: 1.5rem; }

.section-header--center { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-header--center .lede-block { margin-inline: auto; }
.cta-row--center { justify-content: center; }
.section-actions { margin-top: 3rem; }
.band-lede { margin-bottom: 1.5rem; }

.home-about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3rem 1.5rem;
  align-items: center;
}
.home-about .about-panel { position: static; }
@media (max-width: 991.98px) {
  .home-about { grid-template-columns: minmax(0, 1fr); }
}

.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 991.98px) { .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .cards-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 991.98px) { .cards-grid--wide { grid-template-columns: minmax(0, 1fr); } }

.skill-row .progress { display: flex; overflow: hidden; }
.skill-row .progress-bar { height: 100%; }
.skills-more { margin-top: 1.5rem; }
.skills-more a { color: var(--c-primary); font-weight: 600; }
.skills-more a:hover { color: var(--c-primary-dark); }

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
}

/* =========================================================
   Page À propos — section parcours (ex-<style> intégré)
   ========================================================= */

.about-section {
  padding: 90px 0;
  background: #F3F4F6;
  color: #334155;
}

.about-section .about-header {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.about-section .about-eyebrow,
.about-section .about-panel__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #25498E;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-section .about-header h2 {
  margin-bottom: 18px;
  color: #0B1733;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 750;
  line-height: 1.2;
}

.about-section .about-header > p {
  max-width: 650px;
  margin: 0 auto;
  color: #334155;
  font-size: 17px;
  line-height: 1.8;
}

.about-section .about-content {
  height: 100%;
  padding: 35px;
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(11, 23, 51, 0.04);
}

.about-section .about-block {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}

.about-section .about-block:last-of-type {
  margin-bottom: 25px;
}

.about-section .about-block__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #F3F4F6;
  color: #25B9FF;
  border-radius: 14px;
  font-size: 21px;
}

.about-section .about-block h3 {
  margin: 5px 0 14px;
  color: #0B1733;
  font-size: 21px;
  font-weight: 700;
}

.about-section .about-block p {
  margin-bottom: 14px;
  color: #334155;
  font-size: 15px;
  line-height: 1.85;
}

.about-section .about-block p:last-child {
  margin-bottom: 0;
}

.about-section .about-stats {
  display: flex;
  gap: 16px;
  margin-top: 22px;
}

.about-section .about-stat {
  flex: 1;
  padding: 20px;
  background: #F3F4F6;
  border-radius: 12px;
  border: 1px solid #F3F4F6;
}

.about-section .about-stat strong {
  display: block;
  margin-bottom: 6px;
  color: #25B9FF;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}

.about-section .about-stat span {
  color: #334155;
  font-size: 13px;
}

.about-section .about-conclusion {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: #F3F4F6;
  border-left: 4px solid #25B9FF;
  border-radius: 0 12px 12px 0;
}

.about-section .about-conclusion > i {
  margin-top: 4px;
  color: #25B9FF;
  font-size: 21px;
}

.about-section .about-conclusion p {
  margin: 0;
  color: #334155;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.about-section .about-panel {
  position: sticky;
  top: 30px;
  padding: 35px;
  background: #0B1733;
  color: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(11, 23, 51, 0.12);
}

.about-section .about-panel__eyebrow {
  color: #25B9FF;
}

.about-section .about-panel__header h3 {
  margin-bottom: 15px;
  color: #FFFFFF;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.3;
}

.about-section .about-panel__header > p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.8;
}

.about-section .about-panel__list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-section .about-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-section .about-panel__list li > i {
  margin-top: 4px;
  color: #25B9FF;
  font-size: 19px;
}

.about-section .about-panel__list li span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.75;
}

.about-section .about-panel__list li strong {
  display: block;
  margin-bottom: 5px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
}

.about-section .about-panel__footer {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-section .about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: #25498E;
  color: #FFFFFF;
  border: 1px solid #25498E;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.about-section .about-cta:hover {
  background: #0B1733;
  color: #FFFFFF;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
.about-section {
    padding: 65px 0;
  }

.about-section .about-header {
    margin-bottom: 35px;
  }

.about-section .about-panel {
    position: static;
  }
}

@media (max-width: 575px) {
.about-section {
    padding: 50px 0;
  }

.about-section .about-header {
    margin-bottom: 30px;
    text-align: left;
  }

.about-section .about-header > p {
    font-size: 15px;
  }

.about-section .about-content,
.about-section .about-panel {
    padding: 24px 20px;
    border-radius: 16px;
  }

.about-section .about-block {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 28px;
  }

.about-section .about-block__icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 18px;
  }

.about-section .about-block h3 {
    font-size: 18px;
  }

.about-section .about-block p {
    font-size: 14px;
    line-height: 1.8;
  }

.about-section .about-stats {
    flex-direction: column;
    gap: 10px;
  }

.about-section .about-stat {
    padding: 16px;
  }

.about-section .about-conclusion {
    padding: 18px;
  }

.about-section .about-panel__header h3 {
    font-size: 25px;
  }
}
