/* ============================================================
   SARGAWATT – Page /a-propos
   Page-specific styles (inherits styles.css design system)
   ============================================================ */

/* Active nav state */
.nav a.active { color: var(--teal-700); background: var(--teal-tint-2); }

/* ============================================================
   HERO COMPACT
   ============================================================ */
.about-hero { background: var(--bg); border-bottom: 1px solid var(--line); }
.about-hero .wrap { padding-block: clamp(40px, 5.5vw, 72px) clamp(44px, 6vw, 80px); }
.about-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 68px); align-items: center;
}
.about-hero .eyebrow { margin-bottom: 22px; }
.about-hero h1 {
  font-size: clamp(30px, 4vw, 50px); line-height: 1.04;
}
.about-hero .sub {
  margin-top: 22px; font-size: clamp(16.5px, 1.5vw, 19px);
  color: var(--ink-soft); max-width: 560px;
}
.about-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.about-hero-visual .ph { min-height: 480px; }

/* ============================================================
   HISTOIRE
   ============================================================ */
.histoire { background: var(--surface); border-bottom: 1px solid var(--line); }
.histoire-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.histoire-text p { color: var(--ink-soft); font-size: clamp(16.5px, 1.5vw, 18.5px); }
.histoire-text p + p { margin-top: 18px; }
.histoire-text strong { color: var(--ink); font-weight: 700; }

/* Timeline / frise */
.timeline {
  display: flex; flex-direction: column; gap: 0;
  border-left: 2px solid var(--teal-tint); padding-left: 0;
}
.tl-item { position: relative; padding: 0 0 26px 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -7px; top: 3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--teal); border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--teal);
}
.tl-year {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; color: var(--teal); text-transform: uppercase;
}
.tl-label { margin-top: 5px; font-size: 16px; color: var(--ink); line-height: 1.4; }

/* ============================================================
   MISSION / VISION
   ============================================================ */
.mv { background: var(--bg); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mv-ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--teal-tint); color: var(--teal-700);
  display: grid; place-items: center; margin-bottom: 22px;
}
.mv-ico svg { width: 27px; height: 27px; }
.mv-card h3 { font-size: clamp(22px, 2.3vw, 28px); }
.mv-card p { margin-top: 16px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.55; }
.mv-card.vision .mv-ico { background: var(--teal-900); color: #aee7ea; }

/* ============================================================
   ÉQUIPE FONDATRICE
   ============================================================ */
.team-f { background: var(--surface); border-block: 1px solid var(--line); }
.founders-grid {
  /* Rail horizontal permanent : l'equipe reste sur une seule ligne et defile si besoin. */
  display: flex; gap: 26px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 2px 0 12px;
}
.founders-grid::-webkit-scrollbar { display: none; }
.founder-card {
  flex: 0 0 clamp(360px, 44vw, 560px);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  scroll-snap-align: start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.founder-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.founder-card .fc-head { display: flex; gap: 22px; padding: 26px clamp(24px, 3vw, 32px) 0; }
.founder-card .ph {
  flex: none; width: 116px; height: 138px; min-height: 0;
  border-radius: var(--radius-sm);
}
.founder-card .fc-id { align-self: center; }
.founder-card h3 { font-size: clamp(22px, 2.2vw, 27px); }
.founder-card .role { color: var(--teal-700); font-weight: 700; font-size: 14.5px; margin-top: 6px; }
.founder-card .bio {
  padding: 22px clamp(24px, 3vw, 32px) 0;
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.6;
}
@media (max-width: 720px) {
  .team-f .wrap { padding-inline: 0; }
  .team-f .section-head { padding-inline: var(--gutter); }
  .founders-grid { padding-inline: var(--gutter); }
  .founder-card { flex-basis: min(86vw, 390px); }
  .founder-card .fc-head { flex-direction: column; gap: 16px; }
  .founder-card .fc-id { align-self: flex-start; }
}
/* ============================================================
   ANCRAGE MARTINIQUE
   ============================================================ */
.ancrage { background: var(--bg); }
.ancrage-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 68px); align-items: center;
}
.ancrage-text p { color: var(--ink-soft); font-size: clamp(16px, 1.4vw, 18px); }
.ancrage-text p + p { margin-top: 16px; }
.ancrage-text strong { color: var(--ink); font-weight: 700; }
.ancrage-visual .ph { min-height: 440px; }
/* Responsive Google Maps slot for the Martinique location block. */
.ancrage-map {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.ancrage-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* ============================================================
   RECONNAISSANCE / LABELS
   ============================================================ */
.labels { background: var(--surface); border-block: 1px solid var(--line); }

/* ============================================================
   INNOVATION / BREVETS
   ============================================================ */
.innov { background: var(--bg); }
.innov-text p { color: var(--ink-soft); font-size: clamp(16.5px, 1.5vw, 18.5px); max-width: 760px; }
.innov-text p + p { margin-top: 16px; }
.innov-text strong { color: var(--ink); font-weight: 700; }

/* ---- De-carded lined lists (recognitions & R&D) ---- */
.fact-list.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 56px); }
.fact-row {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.fact-row .fact-ico { color: var(--teal-700); margin-top: 2px; }
.fact-row .fact-ico svg { width: 22px; height: 22px; }
.fact-row h3 { font-size: 18px; line-height: 1.18; }
.fact-row p { margin-top: 7px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 760px) { .fact-list.two { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER ROUTING – integrated actor cards
   ============================================================ */
.footer-about > .wrap {
  /* Le footer principal reste dans le meme bloc sombre, avec une simple separation interne. */
  padding-top: clamp(36px, 5vw, 62px);
  border-top: 1px solid rgba(255,255,255,0.13);
}
.about-final {
  background: var(--marine);
  color: rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
  padding-block: clamp(58px, 7vw, 94px) clamp(34px, 4vw, 58px);
}
.about-final svg.contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.16; }
.about-final .wrap { position: relative; z-index: 2; }
.about-final .section-head { margin-inline: auto; text-align: center; max-width: 680px; }
.about-final .section-head h2 {
  /* Titre blanc et dense pour reprendre la hierarchie visuelle du footer. */
  color: #ffffff;
  font-weight: 750;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}
.about-final .eyebrow { color: #9fe7ea; }
.about-final .eyebrow::before { background: #9fe7ea; }
.route-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rcard {
  position: relative;
  background: rgba(255,255,255,0.105);
  border: 1px solid rgba(174,231,234,0.28);
  border-radius: var(--radius); padding: 28px 26px 26px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.rcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #7fd0d4;
  opacity: 0.85;
}
.rcard:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
  border-color: rgba(174,231,234,0.72);
  box-shadow: 0 24px 54px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.12);
}
.rcard:focus-visible { outline: 2px solid #aee7ea; outline-offset: 4px; }
.rcard .rc-ico {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: rgba(127,214,218,0.22); color: #c6f3f5;
  display: grid; place-items: center; margin-bottom: 18px;
}
.rcard .rc-ico svg { width: 24px; height: 24px; }
.rcard h3 { color: #ffffff; font-size: 21px; }
.rcard p {
  margin-top: 12px; color: rgba(255,255,255,0.88);
  font-size: 15px; line-height: 1.5; flex: 1;
}
.rcard .rc-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: #c6f3f5;
}
.rcard .rc-cta svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.rcard:hover .rc-cta svg { transform: translateX(5px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-hero-visual { order: -1; }
  .histoire-grid { grid-template-columns: 1fr; gap: 32px; }
  .ancrage-grid { grid-template-columns: 1fr; gap: 32px; }
  .ancrage-visual { order: -1; }
}

@media (max-width: 760px) {
  .mv-grid { grid-template-columns: 1fr; }
  .route-cards { grid-template-columns: 1fr; }
  .founder-card .fc-head { flex-direction: column; gap: 16px; }
  .founder-card .ph { width: 100%; height: 200px; }
}
