/* Pulse Enco — website styles, built on the Pulse Enco brand guidelines (v1.0, 2026)
   Layout: one long page, white ground, navy type, cyan rules as section markers,
   a navy band for the lifecycle section and the footer. */

@font-face { font-family: "Nunito"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }

:root {
  /* Brand palette — primary */
  --navy: #022164;      /* Bleu profond */
  --cyan: #35DAF0;      /* Cyan */
  --green: #4AE745;     /* Vert */
  --yellow: #F9E710;    /* Jaune */
  /* Brand palette — secondary */
  --blue: #3361A4;      /* Bleu foncé */
  --slate: #5C6A89;     /* Ardoise */
  --cloud: #EAEEF3;     /* Nuage */
  --paper: #F6F8FB;
  --white: #FFFFFF;
  --ink: #1A2440;
  --on-navy-muted: #B9C6E0;

  /* Proxima Soft is the brand face; Nunito is the free web stand-in */
  --font: "Proxima Soft", "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(64px, 9vw, 112px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--navy); font-weight: 800; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }

/* Eyebrow: short cyan bar + spaced uppercase label, as in the brand guidelines */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 36px; height: 4px; border-radius: 2px; background: var(--cyan); flex: none; }
.section-title { font-size: clamp(30px, 4vw, 44px); max-width: 22ch; }
.section-intro { margin-top: 18px; max-width: 62ch; color: var(--slate); font-size: 18px; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- Header ---------- */
.brand-strip { height: 4px; background: linear-gradient(90deg, var(--green), var(--cyan)); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--cloud);
  backdrop-filter: saturate(1.2) blur(8px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.site-header .logo img { width: 168px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--blue); }
.nav .btn { padding: 10px 18px; font-size: 15px; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  background: var(--navy); color: var(--white); border: 2px solid var(--navy);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--cloud); color: var(--navy); border-color: var(--navy); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.hero::after {
  /* soft water glow, after the cover of the brand guidelines */
  content: ""; position: absolute; right: -18vw; top: -30%; width: 60vw; height: 140%;
  background:
    radial-gradient(closest-side, rgba(53,218,240,.22), transparent 70%),
    radial-gradient(closest-side at 30% 80%, rgba(74,231,69,.14), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { isolation: isolate; font-size: clamp(38px, 6.2vw, 72px); letter-spacing: -0.015em; max-width: 16ch; }
.hero h1 .mark { position: relative; white-space: nowrap; }
.hero h1 .mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em;
  background: linear-gradient(90deg, var(--green), var(--cyan)); border-radius: 99px; z-index: -1; opacity: .85;
}
.hero .lede { margin-top: 28px; max-width: 58ch; font-size: clamp(18px, 2vw, 21px); color: var(--slate); }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .scope { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--navy); font-weight: 700; font-size: 15px; }
.hero .scope span { display: inline-flex; align-items: center; gap: 10px; }
.hero .scope span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.hero .scope span:nth-child(2)::before { background: var(--green); }
.hero .scope span:nth-child(3)::before { background: var(--yellow); }

/* ---------- Photo band ---------- */
.photo-band { position: relative; }
.photo-band img { width: 100%; height: clamp(220px, 34vw, 460px); object-fit: cover; object-position: 50% 45%; }
.photo-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(2,33,100,.82), rgba(2,33,100,0));
  color: var(--white); font-weight: 700; font-size: clamp(16px, 2vw, 22px);
  padding-block: 64px 26px;
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.portrait { position: relative; }
.portrait img { border-radius: 18px; width: 100%; aspect-ratio: 720 / 888; object-fit: cover; }
.portrait figcaption { margin-top: 16px; }
.portrait .name { color: var(--navy); font-weight: 800; font-size: 20px; }
.portrait .role { color: var(--slate); font-size: 15px; }
.quote {
  font-size: clamp(20px, 2.3vw, 25px); line-height: 1.45; color: var(--navy); font-weight: 600;
  border-left: 4px solid var(--cyan); padding-left: 24px; margin: 28px 0 0;
}
.facets { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--cloud); }
.facet { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--cloud); }
.facet h3 { font-size: 18px; }
.facet p { color: var(--ink); }
.about .closing { margin-top: 24px; color: var(--slate); font-style: italic; }
@media (max-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 380px; }
}
@media (max-width: 560px) { .facet { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* ---------- Value ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.value { padding-top: 26px; border-top: 4px solid var(--navy); }
.value:nth-child(1) { border-top-color: var(--cyan); }
.value:nth-child(2) { border-top-color: var(--green); }
.value:nth-child(3) { border-top-color: var(--blue); }
.value h3 { font-size: 22px; margin-bottom: 12px; }
.value p { color: var(--slate); }
@media (max-width: 860px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service { background: var(--white); border: 1px solid var(--cloud); border-radius: 16px; padding: clamp(24px, 3vw, 36px); }
.service h3 { font-size: 21px; margin-bottom: 12px; }
.service p { color: var(--slate); }
.service ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 13px; font-weight: 700; color: var(--navy); background: var(--cloud); border-radius: 999px; padding: 5px 12px; }
@media (max-width: 760px) { .services { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Lifecycle (navy band) ---------- */
.lifecycle { background: var(--navy); color: var(--white); }
.lifecycle h2, .lifecycle h3 { color: var(--white); }
.lifecycle .eyebrow { color: var(--on-navy-muted); }
.lifecycle .section-intro { color: var(--on-navy-muted); }
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: phase; }
.phase { padding: 0 clamp(16px, 2vw, 28px) 8px; border-left: 1px solid rgba(255,255,255,.18); }
.phase:first-child { border-left: 0; padding-left: 0; }
.phase-step { font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--cyan); text-transform: uppercase; }
.phase h3 { font-size: 22px; margin: 8px 0 20px; }
.phase blockquote { margin: 0 0 16px; font-size: 16px; line-height: 1.5; color: var(--white); }
.phase blockquote::before { content: "“"; color: var(--cyan); font-weight: 800; margin-right: 2px; }
.phase blockquote::after { content: "”"; color: var(--cyan); font-weight: 800; margin-left: 1px; }
.phase .for { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-size: 14px; color: var(--on-navy-muted); }
.phase .for strong { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.lifecycle-rail { height: 4px; border-radius: 99px; margin-bottom: 36px; background: linear-gradient(90deg, var(--green), var(--cyan) 60%, var(--blue)); }
@media (max-width: 980px) {
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .phase:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
  .phases { grid-template-columns: minmax(0, 1fr); }
  .phase { border-left: 0; padding-left: 0; padding-right: 0; }
}

/* ---------- Engagement ---------- */
.engage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mode { border-radius: 16px; padding: clamp(26px, 3.4vw, 40px); background: var(--paper); }
.mode .tag { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.mode h3 { font-size: 24px; margin: 10px 0 14px; }
.mode p { color: var(--slate); }
.mode .detail { margin-top: 18px; color: var(--navy); font-weight: 700; }
@media (max-width: 760px) { .engage { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Experience ---------- */
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.figure { border-left: 4px solid var(--cyan); padding-left: 20px; }
.figure:nth-child(2) { border-left-color: var(--green); }
.figure:nth-child(3) { border-left-color: var(--yellow); }
.figure .num { font-size: clamp(38px, 5vw, 56px); font-weight: 800; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.figure .lbl { margin-top: 8px; color: var(--slate); font-size: 15px; max-width: 26ch; }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.highlight { padding-block: 24px; border-top: 1px solid var(--cloud); }
.highlight .sector { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.highlight h3 { font-size: 19px; margin: 8px 0 8px; }
.highlight p { color: var(--slate); font-size: 16px; }
@media (max-width: 900px) { .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .highlights, .figures { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact { text-align: left; }
.contact-card {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--paper); border-radius: 22px; padding: clamp(28px, 5vw, 64px);
}
.contact-card h2 { font-size: clamp(32px, 4.4vw, 50px); }
.contact-card p { margin-top: 16px; color: var(--slate); font-size: 18px; max-width: 46ch; }
.contact-email .label { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.contact-email .addr { display: block; margin: 8px 0 22px; user-select: all; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
@media (max-width: 820px) { .contact-card { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: 48px; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer img { width: 150px; }
.site-footer .motto { color: var(--white); font-style: italic; font-size: 16px; }
.site-footer a { color: var(--white); }
.site-footer .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Legal page ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 46px); margin-bottom: 32px; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: 10px; }
.legal dl { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 20px; margin: 0; }
.legal dt { color: var(--slate); font-weight: 600; }
.legal dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 560px) { .legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .legal dd { margin-bottom: 10px; } }

/* fixes */
figure { margin: 0; }
.nav a.btn { color: var(--white); }
.nav a.btn:hover { color: var(--white); }
.nav a.btn.btn--ghost { color: var(--navy); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { font-family: inherit; line-height: inherit; cursor: pointer; }
