/* ==========================================================================
   Sensia Conseil — feuille de style principale
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  /* Palette de marque */
  --navy: #1E2761;
  --navy-deep: #141b49;
  --sky: #4B9FE1;
  --ice: #CADCFC;
  --gold: #C9A227;
  --white: #FFFFFF;
  --ink: #1B2033;
  --slate: #52586e;
  --line: #E3E8F5;
  --bg-ice-soft: #F4F7FD;

  /* Typographie */
  --font-display: 'IBM Plex Sans', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', Arial, 'Helvetica Neue', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Échelle */
  --container: 1160px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--slate); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--sky);
}

/* -------------------------------------------------------------------- */
/* Header / navigation                                                   */
/* -------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
}
.brand img { width: 32px; height: 32px; }
.brand .brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--slate);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #b8931f; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-on-navy { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-on-navy:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); display: block; }

/* -------------------------------------------------------------------- */
/* Hero                                                                   */
/* -------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 120px 0 140px;
}

.hero-signal {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 780px;
  height: 780px;
  pointer-events: none;
  opacity: 0.9;
}
.hero-signal circle.origin { fill: var(--gold); }
.hero-signal path {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  transform-origin: center;
}
.hero-signal path.a1 { stroke: var(--sky); opacity: 0.85; }
.hero-signal path.a2 { stroke: var(--sky); opacity: 0.55; }
.hero-signal path.a3 { stroke: var(--sky); opacity: 0.3; }
.hero-signal path.a4 { stroke: var(--ice); opacity: 0.16; }

@keyframes pulse-ring {
  0% { opacity: 0; stroke-width: 3; }
  70% { opacity: 0.5; }
  100% { opacity: 0; stroke-width: 0.5; }
}
.hero-signal .pulse {
  fill: none;
  stroke: var(--gold);
  transform-origin: center;
  animation: pulse-ring 3.6s ease-out infinite;
}
.hero-signal .pulse.p2 { animation-delay: 1.2s; }
.hero-signal .pulse.p3 { animation-delay: 2.4s; }

.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero .eyebrow { color: var(--ice); }
.hero .eyebrow::before { background: var(--gold); }

.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--sky);
}

.hero-lede {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: rgba(255,255,255,0.75);
}

/* -------------------------------------------------------------------- */
/* Sections                                                               */
/* -------------------------------------------------------------------- */

section { padding: 96px 0; }
.section-ice { background: var(--bg-ice-soft); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.75); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.section-head p { font-size: 16.5px; }

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 64px;
}
.stat-cell {
  background: var(--white);
  padding: 36px 28px;
  text-align: left;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-num span { color: var(--gold); }
.stat-label {
  font-size: 13.5px;
  color: var(--slate);
  margin-top: 8px;
  line-height: 1.4;
}

/* Cards grid — promesse / valeur ajoutée */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.card-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
  display: block;
}
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { font-size: 15px; margin-bottom: 0; }

.card-quote {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
  margin-top: 56px;
}
.card-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
  color: var(--white);
}
.card-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--sky);
  margin-top: 20px;
}

/* Domaines d'intervention — liste numérotée */
.domain-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.domain-item {
  background: var(--white);
  padding: 32px;
  display: flex;
  gap: 20px;
}
.domain-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 0;
  padding-top: 3px;
}
.domain-item h4 { font-size: 16.5px; margin-bottom: 6px; color: var(--navy); }
.domain-item p { font-size: 14px; margin-bottom: 0; }

/* Offre — blocs détaillés (audit / plateforme / plan) */
.offer-block {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.offer-block:last-child { border-bottom: 1px solid var(--line); }
.offer-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--ice);
}
.offer-block h3 { font-size: 20px; margin-bottom: 10px; }
.offer-block p { font-size: 15.5px; margin-bottom: 0; max-width: 620px; }

/* Formats — A B C D */
.format-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.format-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.format-letter {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 20px;
}
.format-card h4 { font-size: 16px; margin-bottom: 10px; line-height: 1.3; }
.format-card p { font-size: 13.8px; margin-bottom: 0; }

/* Cible / à qui s'adresse */
.audience-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.audience-card h4 { font-size: 17px; margin-bottom: 12px; }
.audience-card p { font-size: 14.5px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-row span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  background: var(--bg-ice-soft);
  color: var(--navy);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

/* Méthode — timeline */
.method-list { display: flex; flex-direction: column; }
.method-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 32px 0;
  position: relative;
}
.method-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 68px;
  bottom: -14px;
  width: 1px;
  background: var(--line);
}
.method-marker {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--navy);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  z-index: 1;
}
.method-step h3 { font-size: 18.5px; margin-bottom: 8px; padding-top: 12px; }
.method-step p { font-size: 15px; margin-bottom: 0; }

/* Expertise sectorielle */
.sector-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.sector-tags span {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto 36px; font-size: 16.5px; }
.cta-band .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { font-size: 28px; margin-bottom: 20px; }
.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15px;
}
.contact-list .ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-ice-soft);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-list a { color: var(--navy); font-weight: 600; }
.contact-list a:hover { color: var(--sky); }
.contact-list .label { display: block; font-size: 12.5px; color: var(--slate); margin-bottom: 2px; }

.form-card {
  background: var(--bg-ice-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--white);
  color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: 2px solid var(--sky);
  outline-offset: 1px;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--slate); margin-top: 16px; }
#form-status { font-size: 14px; margin-top: 16px; display: none; }
#form-status.ok { color: #1a7f4a; }
#form-status.err { color: #b3372c; }

/* -------------------------------------------------------------------- */
/* Footer                                                                 */
/* -------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 28px; height: 28px; }
.footer-brand strong { color: var(--white); font-family: var(--font-display); font-size: 15.5px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}

/* -------------------------------------------------------------------- */
/* Reveal-on-scroll                                                       */
/* -------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 960px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .domain-list { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-signal { width: 560px; height: 560px; right: -180px; }
}

@media (max-width: 720px) {
  .nav-links, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    padding: 24px 32px;
    border-bottom: 1px solid var(--line);
    gap: 20px;
  }
  .site-header.open .header-actions {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 0 32px 24px;
  }
  .hero { padding: 88px 0 100px; }
  .hero-signal { opacity: 0.35; right: -220px; }
  section { padding: 72px 0; }
  .format-grid { grid-template-columns: 1fr; }
  .offer-block { grid-template-columns: 56px 1fr; gap: 18px; }
  .offer-num { font-size: 26px; }
  .method-step { grid-template-columns: 48px 1fr; gap: 18px; }
  .method-marker { width: 48px; height: 48px; font-size: 14px; }
  .method-step:not(:last-child)::after { left: 23px; }
}
