/* ==========================================================================
   Data2Decisions — Design tokens (source : Data2Decisions_-_Design_System.html)
   ========================================================================== */
:root {
  --d2d-brume-claire: #F2F9FC;
  --d2d-brume: #E4F3F8;
  --d2d-nuit: #0D3040;
  --d2d-nuit-profond: #0A2531;
  --d2d-horizons: #1F6E8C;
  --d2d-abysses: #5AAEC6;
  --d2d-lagon: #A8D8EA;
  --d2d-or: #C9A84C;
  --d2d-or-clair: #E4C870;
  --d2d-or-profond: #8C4E10;
  --d2d-gris: #41535b;
  --d2d-carte: #F8FCFE;

  --font-disp: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --page-margin: clamp(24px, 7vw, 120px);
  --section-pad-light: clamp(76px, 16vw, 200px);
  --section-pad-dark: clamp(76px, 16vw, 200px);
  --col-max: 760px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--d2d-brume-claire);
  color: var(--d2d-gris);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; }

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

.container {
  max-width: calc(1200px + var(--page-margin) * 2);
  margin: 0 auto;
  padding: 0 var(--page-margin);
}

/* ==========================================================================
   Typography
   ========================================================================== */
.disp { font-family: var(--font-disp); font-weight: 300; color: var(--d2d-nuit); letter-spacing: -.005em; }

.h1 {
  font-family: var(--font-disp);
  font-weight: 300;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: .97;
  letter-spacing: -.02em;
  color: var(--d2d-nuit);
  margin: 0 0 24px;
}
.h1 em { font-style: italic; }

.h2 {
  font-family: var(--font-disp);
  font-weight: 300;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  color: var(--d2d-nuit);
  margin: 0 0 16px;
}
.h2--dark { color: var(--d2d-brume-claire); }
.h2--sm { font-size: clamp(26px, 3vw, 42px); }

.h3 {
  font-family: var(--font-disp);
  font-weight: 300;
  font-size: 26px;
  line-height: 1.25;
  color: var(--d2d-nuit);
  margin: 0;
}
.h3--dark { color: var(--d2d-brume-claire); }

.p { font: 400 15.5px/1.85 var(--font-body); color: var(--d2d-gris); max-width: var(--col-max); margin: 0; }
.p--lg { font-size: 17px; }
.p--dark { color: rgba(226,243,248,.7); }

.eyebrow {
  display: inline-block;
  font: 500 11px/1 var(--font-body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--d2d-or-profond);
}
.eyebrow--dark { color: var(--d2d-or); }

.kpi-figure {
  display: inline-block;
  font-family: var(--font-disp);
  font-weight: 300;
  font-size: 27px;
  line-height: 1.1;
  color: var(--d2d-or-profond);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.kpi-figure--dark { color: var(--d2d-or); }
.kpi-figure--lg { font-size: 40px; }

.kpi-context { display: block; font-family: var(--font-disp); font-style: italic; font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--d2d-gris); margin-top: 4px; }
.kpi-context--dark { color: rgba(226,243,248,.6); }

/* ==========================================================================
   Signature elements
   ========================================================================== */
.gold-rule {
  height: 1.5px;
  background: linear-gradient(90deg, rgba(201,168,76,0), var(--d2d-or) 22%, var(--d2d-or-clair) 50%, var(--d2d-or) 78%, rgba(201,168,76,0));
  border: none;
}

.link {
  color: var(--d2d-horizons);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease;
}
.link:hover { color: var(--d2d-nuit); }

.link-dark {
  font: 400 15px/1.6 var(--font-body);
  color: var(--d2d-lagon);
  text-decoration: none;
  border-bottom: 1px solid rgba(168,216,234,.3);
  padding-bottom: 3px;
  transition: color .2s ease, border-color .2s ease;
}
.link-dark:hover { color: var(--d2d-or-clair); border-color: var(--d2d-or-clair); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font: 500 14px/1 var(--font-body);
  padding: 17px 34px;
  cursor: pointer;
  transition: all .2s ease;
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--d2d-horizons);
  color: var(--d2d-brume-claire);
  box-shadow: 0 8px 24px rgba(31,110,140,.26);
}
.btn-primary:hover { background: var(--d2d-nuit); box-shadow: 0 14px 34px rgba(13,48,64,.3); }
.btn-secondary {
  border-color: var(--d2d-abysses);
  color: var(--d2d-horizons);
  background: transparent;
}
.btn-secondary:hover { border-color: var(--d2d-horizons); background: rgba(90,174,198,.13); color: var(--d2d-nuit); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(90,174,198,.45); }

@media (max-width: 640px) {
  .btn { width: 100%; min-height: 52px; }
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled {
  background: var(--d2d-brume-claire);
  border-bottom-color: rgba(31,110,140,.1);
  box-shadow: 0 8px 30px rgba(13,48,64,.08);
}
.nav-inner {
  max-width: calc(1200px + var(--page-margin) * 2);
  margin: 0 auto;
  padding: 20px var(--page-margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: block; line-height: 0; }
.nav-logo img { object-fit: contain; }
.logo-full { display: block; height: 55px; width: auto; }
.logo-mono { display: none; height: 38px; width: auto; }
.nav .btn-secondary { padding: 12px 24px; }

@media (max-width: 640px) {
  .nav-inner { padding: 14px 24px; }
  .logo-full { display: none; }
  .logo-mono { display: block; }
  .nav .btn-secondary {
    width: auto;
    min-height: auto;
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--d2d-brume);
  padding-top: clamp(110px, 12vw, 150px);
  overflow: hidden;
}
.hero-inner {
  max-width: calc(1200px + var(--page-margin) * 2);
  margin: 0 auto;
  padding: 0 var(--page-margin) 80px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
}
.hero-content { position: relative; padding-left: 26px; max-width: 620px; }
.hero-content::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(201,168,76,.55), rgba(201,168,76,0));
}
.hero-content .eyebrow { display: block; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

.hero-visual {
  position: relative;
  height: clamp(320px, 42vw, 560px);
}
.hero-halo {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 62%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228,200,112,.55), rgba(201,168,76,.22) 42%, rgba(201,168,76,0) 70%);
  filter: blur(6px);
  animation: beam 5.5s ease-in-out infinite;
}
@keyframes beam {
  0%, 100% { opacity: .72; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.09); }
}
.hero-phare {
  position: absolute;
  left: 50%;
  bottom: -6%;
  transform: translateX(-50%);
  width: clamp(220px, 30vw, 340px);
  height: auto;
  filter: drop-shadow(-20px 20px 44px rgba(13,48,64,.2));
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 8px; padding-bottom: 40px; }
  .hero-visual { order: -1; height: clamp(260px, 60vw, 380px); margin-bottom: 28px; }
  .hero-content { padding-left: 20px; }
}
@media (max-width: 640px) {
  .hero { padding-top: clamp(90px, 22vw, 110px); }
}

/* ==========================================================================
   Credibility band
   ========================================================================== */
.credibility {
  background: var(--d2d-brume-claire);
  padding: 96px 0;
  text-align: center;
}
.credibility .container { display: flex; justify-content: center; }
.credibility-text {
  font: 400 17px/1.85 var(--font-body);
  color: var(--d2d-gris);
  max-width: 780px;
}

/* ==========================================================================
   Offers
   ========================================================================== */
.offers {
  background: var(--d2d-brume-claire);
  padding: var(--section-pad-light) 0;
}
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 64px; }

.offers-list { display: grid; gap: 32px; }

.offer {
  background: var(--d2d-carte);
  border: 1px solid rgba(31,110,140,.13);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(13,48,64,.07);
  overflow: hidden;
}
.offer--primary { box-shadow: 0 14px 40px rgba(13,48,64,.1); }
.offer-bar { height: 3px; background: linear-gradient(90deg, var(--d2d-or-profond), var(--d2d-or) 45%, var(--d2d-or-clair)); }

.offer-toggle {
  width: 100%;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 24px 28px;
  text-align: left;
}
.offer-toggle-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.offer-number {
  font-family: var(--font-disp);
  font-weight: 300;
  font-size: 20px;
  color: var(--d2d-or-profond);
}
.offer-role {
  font: 500 11px/1.4 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--d2d-horizons);
}
.offer-sign {
  font: 300 26px/1 var(--font-disp);
  color: var(--d2d-horizons);
  flex-shrink: 0;
}

.offer-head-static { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 40px 40px 0; }

.offer-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  padding: 28px 40px 40px;
}

.offer-intro { margin-bottom: 32px; }

.theme-list { display: grid; gap: 4px; }
.theme-item {
  border-radius: 5px;
  padding: 10px 14px;
  margin-left: -14px;
  transition: background .28s ease;
}
.theme-item:hover, .theme-item.is-open { background: rgba(168,216,234,.2); }

.theme-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  width: 100%;
  text-align: left;
}
.theme-head .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--d2d-or);
  margin-top: 12px;
}
.theme-name { font: 500 15px/1.5 var(--font-body); color: var(--d2d-nuit); }
.theme-desc {
  font: 400 14px/1.75 var(--font-body);
  color: var(--d2d-gris);
  grid-column: 2;
  margin-top: 6px;
}

.theme-reveal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  grid-column: 2;
  margin-top: 8px;
  font: 500 12px/1.4 var(--font-body);
  color: var(--d2d-or-profond);
  cursor: pointer;
  transition: opacity .25s ease;
}
.theme-reveal .arrow { display: inline-block; transition: transform .25s ease; }
.theme-reveal:hover .arrow { transform: translateX(3px); }
.theme-item:hover .theme-reveal,
.theme-item.is-open .theme-reveal { opacity: 0; pointer-events: none; }
.theme-item:hover .theme-reveal.pulse-call,
.theme-item.is-open .theme-reveal.pulse-call { animation: none; }

@keyframes revealPulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.theme-reveal.pulse-call { animation: revealPulse 1.4s ease-in-out 3; }

.theme-proof {
  grid-column: 2;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s ease, opacity .3s ease, margin-top .3s ease;
}
.theme-item:hover .theme-proof,
.theme-item.is-open .theme-proof { max-height: 220px; opacity: 1; margin-top: 12px; }

.theme-proof-inner {
  border-left: 1.5px solid var(--d2d-or);
  padding-left: 20px;
}

.offer-quote {
  background: var(--d2d-nuit);
  border-radius: 6px;
  padding: 32px 28px;
  display: grid;
  gap: 16px;
  align-content: start;
  height: fit-content;
}
.quote-tag {
  font: 500 10px/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(226,243,248,.5);
}
.quote-text {
  font-family: var(--font-disp);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.35;
  color: var(--d2d-brume-claire);
}
.quote-author { display: grid; gap: 2px; }
.quote-name { font: 500 14px/1.5 var(--font-body); color: var(--d2d-brume-claire); }
.quote-role { font: 400 12.5px/1.5 var(--font-body); color: rgba(226,243,248,.55); }

@media (max-width: 900px) {
  .offer-head-static { display: none; }
  .offer-toggle { display: flex; }
  .offer-body {
    grid-template-columns: 1fr;
    padding: 0 24px 28px;
    display: grid;
    max-height: 4000px;
    opacity: 1;
    overflow: hidden;
    transition: max-height .5s ease, opacity .4s ease, padding .4s ease;
  }
  .offer:not(.is-open) .offer-body {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  .offer-quote { margin-top: 8px; }
}

@media (min-width: 901px) {
  .offer-body { max-height: none !important; opacity: 1 !important; }
}

/* ==========================================================================
   Parcours (timeline) — dark section
   ========================================================================== */
.parcours {
  background: var(--d2d-nuit);
  padding: var(--section-pad-dark) 0;
}

.timeline {
  position: relative;
  margin-top: 16px;
  padding-left: 150px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 1px;
  background: rgba(168,216,234,.18);
}
.timeline-fill {
  position: absolute;
  left: 14px; top: 0;
  width: 1px;
  height: 0%;
  background: linear-gradient(180deg, var(--d2d-or), var(--d2d-or-clair));
  transition: height .1s linear;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 30px 0;
  border-top: 1px solid rgba(168,216,234,.18);
}
.timeline-item:first-child { border-top: none; }
.timeline-item:last-child { border-bottom: 1.5px solid var(--d2d-or); }

.timeline-year {
  position: absolute;
  left: -150px;
  top: 30px;
  width: 130px;
  font-family: var(--font-disp);
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  color: var(--d2d-or);
}
.timeline-content { display: grid; gap: 10px; }
.timeline-desc { font: 400 15px/1.85 var(--font-body); color: rgba(226,243,248,.66); max-width: 620px; }

@media (max-width: 780px) {
  .timeline { padding-left: 32px; }
  .timeline::before, .timeline-fill { left: 0; }
  .timeline-year { position: static; width: auto; font-size: 26px; margin-bottom: 4px; }
}

/* ==========================================================================
   Contact — dark section
   ========================================================================== */
.contact {
  background: var(--d2d-nuit);
  padding: var(--section-pad-dark) 0;
  border-top: 1px solid rgba(168,216,234,.12);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
}
.contact-text { display: grid; gap: 26px; max-width: 560px; }
.contact-links { display: flex; gap: 32px; flex-wrap: wrap; }
.contact-text .btn-primary { width: fit-content; }

.contact-photo { display: flex; justify-content: center; }
.contact-photo img {
  width: 100%;
  max-width: 340px;
  border-radius: 6px;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-photo { order: -1; }
  .contact-photo img { max-width: 220px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--d2d-nuit-profond); padding: 34px 0; }
.footer-inner { display: flex; justify-content: center; }
.footer-text {
  font: 400 12.5px/1 var(--font-body);
  letter-spacing: .06em;
  color: rgba(226,243,248,.5);
  text-align: center;
}
.footer-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  color: rgba(168,216,234,.75);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--d2d-lagon);
  text-decoration-color: currentColor;
}
