/* ============================================================
   BARIAN SERVICES — Page « À propos »
   Styles dédiés (s'appuie sur styles.css)
   ============================================================ */

/* ---------- Hero À propos ---------- */
.about-hero {
  padding: 156px 0 18px;
  background:
    radial-gradient(120% 90% at 50% -10%, var(--blue-tint) 0%, rgba(234,242,246,0) 60%),
    var(--paper);
  text-align: center;
}
.about-hero .eyebrow { justify-content: center; margin-bottom: 20px; }
.about-hero .eyebrow::after {
  content: ""; display: inline-block; width: 26px; height: 1.5px;
  background: var(--blue); margin-left: 12px;
}
.about-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.025em;
  color: var(--navy); margin-bottom: 22px; text-wrap: balance;
}
.about-hero h1 .accent { color: var(--blue); }
.about-hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; }
.about-hero .lead { max-width: 60ch; margin: 0 auto; }

.about-hero-meta {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 12px; margin-top: 30px;
}
.ah-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 18px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.ah-chip svg { width: 16px; height: 16px; color: var(--blue); }
.ah-chip .stars { color: #E8A93B; letter-spacing: 1px; font-size: 13px; }

/* ---------- Histoire ---------- */
.story { padding: 80px 0 40px; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.story-visual { position: sticky; top: 110px; }
.story-photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
}
.story-photo image-slot { width: 100%; height: 100%; }
.story-caption {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  display: flex; align-items: center; gap: 13px;
  background: rgba(16,42,56,.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md); padding: 13px 16px; color: #fff;
}
.story-caption .sc-mark {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  background: var(--blue); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff;
}
.story-caption .sc-name { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; line-height: 1.2; }
.story-caption .sc-role { font-size: 12.5px; color: #B7CcD6; margin-top: 1px; }

.story-copy .eyebrow { margin-bottom: 18px; }
.story-copy h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 24px; }
.story-copy h2 .accent { color: var(--blue); }
.story-lede {
  font-family: var(--font-serif); font-size: clamp(20px, 1.7vw, 23px);
  font-style: italic; line-height: 1.55; color: var(--navy);
  margin-bottom: 26px; text-wrap: pretty;
}
.story-copy p { color: var(--ink-2); margin-bottom: 18px; font-size: 16.5px; line-height: 1.68; }
.story-copy p strong { color: var(--ink); font-weight: 700; }

/* Encart origine du nom */
.name-origin {
  margin: 30px 0 6px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: var(--r-lg); padding: 30px 32px 13px; color: #fff;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.name-origin::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(72,137,171,.45), rgba(72,137,171,0) 70%);
}
.no-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.no-formula {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18; letter-spacing: -.01em;
  position: relative; z-index: 1;
}
.no-formula .hl { color: #8FC4DC; }
.no-sub { margin-top: 12px; font-size: 15px; color: #C3D6DF; max-width: 46ch; position: relative; z-index: 1; }

/* ---------- Chiffres clés (bande navy) ---------- */
.figures {
  background:
    radial-gradient(90% 130% at 12% 0%, rgba(72,137,171,.22) 0%, rgba(72,137,171,0) 55%),
    var(--navy);
  padding: clamp(64px, 8vw, 104px) 0;
  color: #fff;
}
.figures .sec-head { margin-inline: auto; text-align: center; margin-bottom: 48px; }
.figures .sec-head .eyebrow { justify-content: center; color: #8FC4DC; }
.figures .sec-head .eyebrow::before,
.figures .sec-head .eyebrow::after { background: #8FC4DC; }
.figures .sec-head h2 { color: #fff; }
.figures .sec-head .lead { color: #B7CcD6; margin-inline: auto; }

.fig-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.fig {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg); padding: 32px 26px 28px;
  text-align: center;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.fig:hover { transform: translateY(-4px); border-color: rgba(143,196,220,.4); background: rgba(255,255,255,.07); }
.fig-ico {
  width: 46px; height: 46px; margin: 0 auto 18px; border-radius: 13px;
  background: rgba(72,137,171,.20); color: #8FC4DC;
  display: grid; place-items: center;
}
.fig-ico svg { width: 23px; height: 23px; }
.fig-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 4vw, 50px); line-height: 1; color: #fff;
  letter-spacing: -.02em;
  display: inline-flex; align-items: baseline;
}
.fig-num .u { font-size: .56em; margin-left: 2px; color: #8FC4DC; }
.fig-stars { display: block; color: #E8A93B; font-size: 14px; letter-spacing: 2px; margin-top: 8px; }
.fig-lbl { margin-top: 12px; font-size: 14.5px; color: #B7CcD6; line-height: 1.45; }

/* ---------- Équipe ---------- */
.team { padding: clamp(72px, 9vw, 120px) 0 60px; }
.team-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  align-items: stretch;
}
.member {
  text-align: left;
  display: flex; flex-direction: column;
}
.member-photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 3 / 4;
  width: 100%;
  background: var(--sand);
  box-shadow: var(--shadow-md);
}
.member-photo image-slot { width: 100%; height: 100%; display: block; }
.member.founder .member-photo { box-shadow: 0 30px 60px -28px rgba(72, 137, 171, .55); }
.member-name {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: var(--navy); margin: 16px 0 3px;
}
.member-role { font-size: 14px; color: var(--blue); font-weight: 600; }
.member-bio { font-size: 13.5px; color: var(--muted); margin-top: 7px; line-height: 1.5; flex: 1; }

.team-foot {
  margin-top: 40px;
  display: flex; align-items: center; gap: 16px; justify-content: center;
  flex-wrap: wrap; text-align: center;
  background: var(--blue-tint); border-radius: var(--r-lg);
  padding: 22px 30px;
}
.team-foot .tf-ico {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: #fff; color: var(--blue); display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.team-foot .tf-ico svg { width: 22px; height: 22px; }
.team-foot p { font-size: 15.5px; color: var(--ink-2); max-width: 60ch; }
.team-foot p strong { color: var(--navy); font-weight: 700; }

/* ---------- Fierté / mieux notée ---------- */
.proud { padding: 40px 0 clamp(72px, 9vw, 120px); }
.proud-card {
  background:
    radial-gradient(80% 120% at 85% 0%, rgba(72,137,171,.10) 0%, rgba(72,137,171,0) 55%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(34px, 4vw, 56px);
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.proud-copy .eyebrow { margin-bottom: 18px; }
.proud-copy h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 18px; }
.proud-copy h2 .accent { color: var(--blue); }
.proud-copy p { color: var(--ink-2); font-size: 16.5px; margin-bottom: 26px; line-height: 1.6; }

.rating-stack { display: grid; gap: 16px; }
.rating-row {
  display: flex; align-items: center; gap: 18px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 22px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.rating-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rr-logo {
  width: 52px; height: 52px; flex: none; border-radius: 14px;
  display: grid; place-items: center; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
}
.rr-logo.g { color: #4285F4; }
.rr-logo.ab { color: #FF5A5F; }
.rr-logo svg { width: 26px; height: 26px; }
.rr-body { flex: 1; }
.rr-score {
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  color: var(--navy); display: inline-flex; align-items: baseline; gap: 2px;
}
.rr-score .max { font-size: 15px; color: var(--muted); font-weight: 700; }
.rr-platform { font-size: 13.5px; color: var(--ink-2); font-weight: 600; margin-top: 1px; }
.rr-stars { color: #E8A93B; letter-spacing: 1.5px; font-size: 15px; margin-top: 4px; }
.rr-arrow { color: var(--muted); flex: none; transition: transform .3s var(--ease), color .3s var(--ease); }
.rr-arrow svg { width: 20px; height: 20px; }
a.rating-row:hover .rr-arrow { color: var(--blue); transform: translateX(3px); }

/* ---------- CTA final ---------- */
.about-cta { padding: 0 0 clamp(72px, 9vw, 120px); }
.about-cta-inner {
  background:
    radial-gradient(70% 140% at 18% 0%, rgba(72,137,171,.30) 0%, rgba(72,137,171,0) 55%),
    linear-gradient(135deg, var(--navy) 0%, #0B2029 100%);
  border-radius: var(--r-xl); padding: clamp(46px, 6vw, 76px) clamp(32px, 5vw, 72px);
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.about-cta-inner h2 {
  color: #fff; font-size: clamp(30px, 4vw, 50px); margin-bottom: 18px;
}
.about-cta-inner h2 .accent { color: #8FC4DC; }
.about-cta-inner p { color: #B7CcD6; font-size: clamp(17px, 1.5vw, 20px); max-width: 56ch; margin: 0 auto 34px; }
.about-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.about-cta-note {
  margin-top: 22px; font-size: 13.5px; color: #8DA4B0;
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
}
.about-cta-note svg { width: 16px; height: 16px; color: #8FC4DC; }

/* ---------- Responsive ---------- */

/* Tablette paysage : équipe en 4 cols (au lieu de 5) pour respirer */
@media (max-width: 1180px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1000px) {
  .fig-grid { grid-template-columns: repeat(2, 1fr); }
  .proud-card { grid-template-columns: 1fr; gap: 28px; }
}

/* Tablette portrait */
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-visual { position: static; max-width: 480px; margin: 0 auto; }
  .story-photo { aspect-ratio: 4 / 3.4; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .about-hero { padding: 130px 0 12px; }
}

/* Smartphone large */
@media (max-width: 680px) {
  .about-hero { padding: 120px 0 10px; }
  .about-hero h1 br { display: none; }
  .about-hero-meta { gap: 8px; margin-top: 24px; }
  .ah-chip { font-size: 13.5px; padding: 8px 14px; }

  .story { padding: 56px 0 24px; }
  .story-copy h2 { margin-bottom: 18px; }
  .story-lede { margin-bottom: 20px; font-size: 19px; }
  .story-copy p { font-size: 16px; line-height: 1.62; margin-bottom: 14px; }
  .story-photo { aspect-ratio: 4 / 3; }
  .story-caption { left: 14px; right: 14px; bottom: 14px; padding: 11px 14px; gap: 11px; }
  .story-caption .sc-mark { width: 36px; height: 36px; font-size: 14px; }
  .story-caption .sc-name { font-size: 14.5px; }
  .story-caption .sc-role { font-size: 12px; }

  .name-origin { padding: 24px 22px 12px; margin: 24px 0 4px; }
  .name-origin .no-formula { font-size: 21px; }
  .no-sub { font-size: 14px; }

  .figures { padding: 60px 0 !important; }
  .figures .sec-head { margin-bottom: 36px; }
  .fig-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fig { padding: 22px 16px 20px; }
  .fig-ico { width: 40px; height: 40px; margin-bottom: 12px; }
  .fig-ico svg { width: 20px; height: 20px; }

  .team { padding: 56px 0 40px !important; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: none; margin-inline: 0; }
  .team-foot { padding: 18px 22px; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
  .team-foot p { font-size: 14.5px; line-height: 1.55; }
  .team-foot .tf-ico { width: 38px; height: 38px; }

  .proud { padding: 24px 0 56px; }
  .proud-card { padding: 26px !important; }
  .proud-copy h2 { font-size: 26px; }
  .proud-copy p { font-size: 15.5px; margin-bottom: 22px; }
  .proud-copy .btn { width: 100%; }
  .rating-row { padding: 14px 16px; gap: 14px; }
  .rr-logo { width: 44px; height: 44px; border-radius: 12px; }
  .rr-logo svg { width: 22px; height: 22px; }
  .rr-score { font-size: 21px; }
  .rr-platform { font-size: 12.5px; }

  .about-cta { padding: 0 0 56px !important; }
  .about-cta-inner { padding: 40px 24px !important; }
  .about-cta-inner h2 { font-size: 28px; }
  .about-cta-inner p { font-size: 16px; margin-bottom: 26px; }
  .about-cta-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .about-cta-actions .btn { width: 100%; padding: 16px 22px; }
  .about-cta-note { font-size: 12.5px; flex-wrap: wrap; max-width: 32ch; margin-inline: auto; }
}

/* Smartphone moyen */
@media (max-width: 520px) {
  .about-hero h1 { font-size: 34px; }
  .about-hero .lead { font-size: 16.5px; }

  .story-copy h2 { font-size: 26px; }
  .story-lede { font-size: 18px; }

  .name-origin .no-formula { font-size: 19px; word-break: break-word; }
  .name-origin { padding: 22px 20px 12px; }

  .fig { padding: 20px 12px 16px; }
  .fig-num { font-size: 30px; }
  .fig-lbl { font-size: 13.5px; }

  .team-foot { padding: 16px 18px; }
  .team-foot p { font-size: 14px; }

  .proud-copy h2 { font-size: 24px; }
}

/* Très petits écrans (iPhone SE, Android compact) */
@media (max-width: 380px) {
  .about-hero { padding-top: 112px; }
  .about-hero h1 { font-size: 30px; }
  .ah-chip { font-size: 12.5px; padding: 7px 12px; gap: 7px; }

  .team-grid { gap: 14px; }
  .member-name { font-size: 17px; }
  .member-role { font-size: 13px; }
  .member-bio { font-size: 13px; }

  .fig-grid { gap: 10px; }
  .fig-num { font-size: 28px; }

  .name-origin .no-formula { font-size: 17.5px; }
}
