/* ==========================================================================
   Dollivan Cirit — Sales & Marketing Ops Consultant
   Feuille de style unique. Aucune dépendance externe.
   ========================================================================== */

@import url("fonts.css");

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Couleurs — thème sombre (par défaut) */
  --paper:      #0b0c0e;
  --surface:    #141519;
  --surface-2:  #1d1f24;
  --ink:        #f4f4f2;
  --ink-soft:   #c9cbd0;
  --muted:      #8b8e96;
  --line:       #24262b;
  --accent:     #ff7a4d;
  --nav-bg:     rgba(20, 21, 25, 0.86);
  --shadow:     0 1px 2px rgba(0, 0, 0, 0.4);

  /* Typographie */
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Mesures */
  --container: 1080px;
  --gutter: 24px;
  --radius-lg: 20px;
  --radius-md: 14px;

  /* Rythme vertical */
  --section-gap: clamp(72px, 10vw, 128px);
}

:root[data-theme="light"] {
  --paper:      #ffffff;
  --surface:    #f4f4f1;
  --surface-2:  #ebebe6;
  --ink:        #15171b;
  --ink-soft:   #3c4046;
  --muted:      #74787f;
  --line:       #e5e5e0;
  --accent:     #e0512a;
  --nav-bg:     rgba(246, 246, 244, 0.93);
  --shadow:     0 1px 2px rgba(21, 23, 27, 0.03);
}

html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.1;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #0b0c0e; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-size: 14px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Mise en page
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page {
  padding-top: clamp(48px, 7vw, 76px);
  padding-bottom: var(--section-gap);
}

/* La barre flottante ne doit jamais masquer la fin de la page */
.page--onepage { padding-bottom: 40px; }

.block + .block,
.section-head + .block { margin-top: var(--section-gap); }

/* L'accueil ne contient que le héros : on le centre dans la hauteur d'écran */
.page--home {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-bottom: clamp(72px, 12vw, 120px);
}
.page--home .wrap { max-width: 1220px; }

/* --------------------------------------------------------------------------
   4. Navigation : barre flottante en bas
   -------------------------------------------------------------------------- */

.dock {
  position: fixed;
  bottom: clamp(14px, 3vw, 24px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
}

.dock__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  background: var(--nav-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
  .dock__list {
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
  }
}

.dock__sep {
  width: 1px;
  height: 20px;
  margin: 0 4px;
  background: var(--line);
}

.dock__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.dock__btn svg { width: 19px; height: 19px; display: block; }
.dock__btn:hover { background: var(--surface-2); color: var(--ink); }
.dock__btn[aria-current="page"] { background: var(--surface-2); color: var(--ink); }

/* La bascule clair / sombre garde son glyphe */
button.dock__btn::before { content: "\25D0"; font-size: 15px; line-height: 1; }

/* Infobulle au survol, au-dessus de la barre */
.dock__btn::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.dock__btn:hover::after { opacity: 1; transform: translateX(-50%); }

@media (max-width: 560px) {
  .dock__btn { width: 34px; height: 34px; }
  .dock__btn svg { width: 17px; height: 17px; }
}

/* --------------------------------------------------------------------------
   5. Éléments de texte
   -------------------------------------------------------------------------- */

/* Étiquette monospace — sert à nommer une section ou un champ de données */
.label {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.label--sub { color: var(--ink-soft); }

.label__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.display {
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.032em;
}

.h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.1;
}

.h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -0.022em;
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.62;
  color: var(--muted);
}

.body-muted { color: var(--muted); }

/* Mise en relief à l'intérieur d'un paragraphe secondaire */
.lead strong { color: var(--ink); font-weight: 600; }

.measure { max-width: 58ch; }
.measure-sm { max-width: 46ch; }

.section-head { margin-bottom: clamp(32px, 4.5vw, 52px); }

/* En-tête de page : la marge du bloc suivant suffit, sinon les deux s'ajoutent */
header.section-head { margin-bottom: 0; }

/* Introduction sur deux colonnes : évite le pavé de texte pleine largeur */
.intro-cols {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.intro-cols .lead { margin-top: 0; max-width: 46ch; }
.intro-cols .lead + .lead { margin-top: 14px; }

.intro-cols > div:first-child .lead {
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.018em;
  max-width: 24ch;
}
.section-head .h2,
.section-head .display { margin-top: 14px; }
.section-head .lead { margin-top: 18px; }
.section-head .lead + .lead { margin-top: 14px; }

/* --------------------------------------------------------------------------
   6. Boutons
   -------------------------------------------------------------------------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
              color 0.18s ease, transform 0.18s ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-1px); }

.btn__arrow {
  transition: transform 0.18s ease;
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   7. Accueil — hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.hero__portrait {
  width: 100%;
  height: auto;          /* neutralise l'attribut height du <img> */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.hero__title { margin-top: 18px; }

.hero__title span { display: block; }
.hero__title span + span { color: var(--ink-soft); }
.hero__title span + span + span { color: var(--muted); }

.hero__text { margin-top: 22px; }
.hero__text p + p { margin-top: 14px; }

.hero .actions { margin-top: 32px; }

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero__portrait { max-width: 240px; }
}

/* --------------------------------------------------------------------------
   8. Chiffres
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat {
  background: var(--paper);
  padding: 26px 22px;
}

.stat__value {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat__label {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
}

@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   9. Services — liste
   -------------------------------------------------------------------------- */

.services {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(26px, 3.5vw, 38px) 0;
  border-bottom: 1px solid var(--line);
}

.service__body p { margin-top: 10px; color: var(--muted); max-width: 54ch; }

.service__tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  padding-top: 5px;
}

.tag {
  display: inline-block;
  padding: 5px 11px;
  background: var(--surface);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .service { grid-template-columns: 1fr; gap: 16px; }
  .service__tags { padding-top: 0; }
}

/* --------------------------------------------------------------------------
   10. Stack
   -------------------------------------------------------------------------- */

.stack {
  display: grid;
  /* 260px force 3 colonnes sur desktop : les 6 groupes tombent en 2 rangées pleines */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stack__group {
  background: var(--paper);
  padding: 24px 22px;
}

.stack__title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.stack__items {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   11. Parcours — chronologie
   -------------------------------------------------------------------------- */

.timeline { border-top: 1px solid var(--line); }

.entry {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 3vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}

.entry__period {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-top: 3px;
}

.entry__now {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}
.entry__now::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.entry__org {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}

.entry__desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

@media (max-width: 640px) {
  .entry { grid-template-columns: 1fr; gap: 8px; }
}

/* --------------------------------------------------------------------------
   12. Certifications
   -------------------------------------------------------------------------- */

.certs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 10px;
}

.cert {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.cert > div { flex: 1; min-width: 0; }

.cert__mark {
  display: grid;
  place-items: center;
  width: 36px;
  min-height: 36px;
  flex: none;
  border-radius: 9px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}

.cert__mark svg {
  width: 17px;
  height: 17px;
  display: block;
  color: var(--ink);
}

/* Une certification peut être un lien vers son justificatif */
a.cert {
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
a.cert:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.cert__name { font-size: 15px; font-weight: 500; letter-spacing: -0.012em; }
.cert__org { margin-top: 3px; font-size: 13px; color: var(--muted); }

.cert__year,
.cert__date {
  align-self: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  flex: none;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */

.contact-list { border-top: 1px solid var(--line); }

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-row__key {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-row__value {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size 0.25s ease, color 0.2s ease;
}

a.contact-row:hover .contact-row__value {
  background-size: 100% 1px;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   14. Appel à l'action de fin de page
   -------------------------------------------------------------------------- */

.cta {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}

.cta .lead { margin: 16px auto 0; max-width: 48ch; }
.cta .actions { margin-top: 30px; justify-content: center; }

/* --------------------------------------------------------------------------
   15. Pied de page
   -------------------------------------------------------------------------- */

.footer {
  /* le filet est porté par .footer__line, à la largeur du contenu */
  padding: 0 0 clamp(88px, 12vw, 118px);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer__icon {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: 0.65;
  transition: opacity 0.18s ease;
}
.footer__links a:hover .footer__icon { opacity: 1; }

.footer a {
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   16. Contenu long (mentions légales)
   -------------------------------------------------------------------------- */

.prose { max-width: 68ch; }
.prose h2 { font-size: 1.25rem; margin-top: 44px; }
.prose h2:first-of-type { margin-top: 32px; }
.prose p { margin-top: 12px; color: var(--ink-soft); font-size: 15.5px; }
.prose ul { margin-top: 12px; }
.prose li {
  position: relative;
  padding-left: 18px;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 1px;
  background: var(--muted);
}
.prose a { color: var(--accent); }

/* --------------------------------------------------------------------------
   17. Cartes — modes et types d'intervention
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.card {
  background: var(--paper);
  padding: 26px 22px;
}

.card__key {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.card__name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.25;
}
.card__key + .card__name { margin-top: 14px; }

.card__desc {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.card__desc + .card__desc { margin-top: 12px; }

.card__note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

/* Variante à deux colonnes, plus aérée : les deux façons d'intervenir */
.cards--pair { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.cards--pair .card { padding: clamp(26px, 3.4vw, 38px); }
.cards--pair .card__name { font-size: clamp(1.15rem, 1.9vw, 1.35rem); }
.cards--pair .card__desc { font-size: 15px; }

/* --------------------------------------------------------------------------
   18. Panneau mis en avant — la plateforme principale
   -------------------------------------------------------------------------- */

.panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.6vw, 40px);
}

.panel .lead { margin-top: 14px; color: var(--ink-soft); }

.panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.panel__tags .tag {
  background: var(--paper);
  padding: 8px 14px;
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   19. Apparition au défilement
   -------------------------------------------------------------------------- */

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

/* --------------------------------------------------------------------------
   20. Mouvement réduit
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   21. Page unique — bandeau d'état, identité, sections en lignes
   -------------------------------------------------------------------------- */

.wrap--narrow { max-width: 780px; }

/* (le rythme du site en une page est fixé plus haut et plus bas) */

/* Bandeau d'état */
.status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.status__clock { display: inline-flex; align-items: center; gap: 8px; }

.status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ec96b;
  box-shadow: 0 0 0 3px rgba(62, 201, 107, 0.16);
}

/* Identité */
.identity {
  margin-top: clamp(34px, 5vw, 52px);
  display: flex;
  align-items: center;
  gap: 18px;
}

.identity__portrait {
  position: relative;
  flex: none;
  width: 74px;
  height: 74px;
}

.identity__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface);
}

.identity__portrait::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #3ec96b;
  border: 3px solid var(--paper);
}

.identity__name {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: -0.03em;
}

.identity__role { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* Phrase d'accroche */
.intro {
  margin-top: clamp(26px, 4vw, 36px);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  /* Assez d'air pour que les encadrés n'écartent pas les lignes entre elles */
  line-height: 1.5;
  letter-spacing: -0.032em;
  color: var(--ink);
}

.intro__soft { color: var(--muted); }

.chip {
  display: inline-flex;
  align-items: center;
  vertical-align: -0.16em;
  /* de l'air de chaque côté : sans ça les encadrés collent au texte */
  margin-inline: 5px;
  gap: 8px;
  padding: 3px 13px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.82em;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.chip svg { width: 0.92em; height: 0.92em; color: var(--brand, currentColor); }

/* Raccourci clavier */
.hint {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.hint__done {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hint__done.is-on { opacity: 1; transform: none; }

/* Sections */
.sec { margin-top: clamp(52px, 7vw, 84px); scroll-margin-top: 96px; }
.sec__line { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 64ch; }
.sec__line strong { color: var(--ink); font-weight: 600; }

.link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.18s ease;
}
.link:hover { border-color: var(--accent); }

/* Lignes */
.rows { margin-top: 30px; border-top: 1px solid var(--line); }

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 20px;
  padding: 17px 12px;
  margin-inline: -12px;
  border-bottom: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

a.row:hover { background: var(--surface); }

.row--tight { padding-block: 14px; }

.row__title {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.row__badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.row__desc {
  margin-top: 5px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 62ch;
}

.row__meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.18s ease;
}
a.row:hover .row__meta { color: var(--ink); }

@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .row__meta { justify-self: start; }
}

/* Logos d'outils */
.logos {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 6px;
}

@media (max-width: 720px) {
  .logos { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
}

.logo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand, var(--ink));
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.logo:hover { transform: translateY(-3px); border-color: var(--brand, var(--line)); }
.logo svg { width: clamp(15px, 46%, 25px); height: auto; }

/* Outil sans logo officiel : monogramme */
.logo__txt {
  font-family: var(--mono);
  font-size: clamp(9px, 22%, 12px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Infobulle : le nom de l'outil au survol */
.logo::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(3px);
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.logo:hover::after { opacity: 1; transform: translateX(-50%); }

/* Avis qui défilent */
.marquee {
  margin-top: 30px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 56s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-50%); } }

.quote-card {
  width: 330px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.quote-card__stars { color: var(--accent); font-size: 11px; letter-spacing: 3px; }

.quote-card blockquote {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.quote-card figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* Étiquettes en ligne (prestations d'un Hub) */
.row__tags {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* --------------------------------------------------------------------------
   22. Formulaire de contact
   -------------------------------------------------------------------------- */

.form { margin-top: 20px; display: grid; gap: 10px; }

.form__pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.field {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.field::placeholder { color: var(--muted); }
.field:focus { outline: none; border-color: var(--ink-soft); background: var(--surface-2); }

textarea.field { min-height: 150px; resize: vertical; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.form__note { font-size: 13px; color: var(--muted); }

/* Section personnelle */
.personal-line {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* Pied de page en deux lignes, façon fiche technique */
.footer__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   23. Accordéon — services et Hubs, repliés par défaut
   -------------------------------------------------------------------------- */

.acc { margin-top: 30px; border-top: 1px solid var(--line); }

.acc__item { border-bottom: 1px solid var(--line); }

.acc__head {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
}
.acc__head::-webkit-details-marker { display: none; }

/* Bande de survol pleine largeur, comme les autres lignes */
.acc__head::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: var(--surface);
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: -1;
}
.acc__head:hover::after { opacity: 1; }

.acc__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.acc__title {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.acc__meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.acc__sign {
  width: 16px;
  text-align: center;
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.18s ease;
}
.acc__head:hover .acc__sign { color: var(--ink); }
.acc__sign::before { content: "+"; }
.acc__item[open] .acc__sign { transform: rotate(45deg); color: var(--ink); }

.acc__body {
  padding: 2px 0 22px 36px;
  animation: acc-in 0.22s ease;
}

.acc__body .row__tags { margin-top: 18px; }

.acc__body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

@keyframes acc-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .acc__body { padding-left: 12px; }
}

/* --------------------------------------------------------------------------
   24. Ruban d'avis — deux filets et défilement inversé
   -------------------------------------------------------------------------- */

.marquee + .marquee { margin-top: 12px; }

.marquee--rtl .marquee__track { animation-direction: reverse; }

/* --------------------------------------------------------------------------
   25. Lien discret « voir » sur une carte
   -------------------------------------------------------------------------- */

.cert { position: relative; }

.cert__see {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.18s ease;
}
a.cert:hover .cert__see { color: var(--accent); }

/* --------------------------------------------------------------------------
   24. Projets et lignes de lien — bande de survol pleine largeur
   -------------------------------------------------------------------------- */

/* La bande grise déborde du conteneur sans créer de défilement horizontal */
body { overflow-x: hidden; }

.projs,
.lrows { margin-top: 30px; }

.proj,
.lrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
  color: inherit;
}

.proj::before,
.lrow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: var(--surface);
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: -1;
}

a.proj:hover::before,
a.lrow:hover::before { opacity: 1; }

/* --- Projets */

.proj__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--brand, var(--surface-2));
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
}

.proj__mark img,
.proj__mark svg { width: 24px; height: 24px; display: block; }

.proj__text { flex: 1; min-width: 0; display: block; }
.proj__name {
  display: block;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.proj__role { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }

.proj__arrow {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted);
  transition: color 0.18s ease, transform 0.18s ease;
}
a.proj:hover .proj__arrow,
a.lrow:hover .proj__arrow { color: var(--ink); transform: translate(2px, -2px); }

/* --- Lignes e-mail / LinkedIn / Malt */

.lrow__icon {
  display: grid;
  place-items: center;
  width: 22px;
  flex: none;
  color: var(--muted);
  transition: color 0.18s ease;
}
.lrow__icon svg { width: 19px; height: 19px; display: block; }
a.lrow:hover .lrow__icon { color: var(--ink); }

.lrow__label { flex: 1; font-size: 15.5px; font-weight: 500; letter-spacing: -0.015em; }

.lrow__value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.18s ease;
}
a.lrow:hover .lrow__value { color: var(--ink); }

@media (max-width: 520px) {
  .lrow__value { font-size: 13.5px; }
}

/* Pied de page centré */
.footer__inner--center {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer__copy { font-size: 14px; color: var(--muted); }

/* --------------------------------------------------------------------------
   25. Lignes de liste : certifications, diplômes
   -------------------------------------------------------------------------- */

.wrows { margin-top: 26px; }

.wrow {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 13px 0;
  text-decoration: none;
  color: inherit;
}

.wrow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: var(--surface);
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: -1;
}
a.wrow:hover::before { opacity: 1; }

.wrow__date {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}

.wrow__title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.wrow__mark {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--brand, var(--muted));
}
.wrow__mark svg { width: 17px; height: 17px; display: block; }
.wrow__mark > span { display: grid; place-items: center; color: var(--brand); }

.wrow__letter {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.wrow__meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.18s ease;
}
.wrow__meta .proj__arrow { width: 14px; height: 14px; }
a.wrow:hover .wrow__meta { color: var(--accent); }
a.wrow:hover .wrow__meta .proj__arrow { color: var(--accent); }

@media (max-width: 620px) {
  /* Une seule colonne : la date, puis le titre, puis le libellé gris dessous. */
  .wrow { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .wrow__title { align-items: flex-start; }
  .wrow__mark { margin-top: 1px; }
  .wrow__meta {
    justify-self: start;
    /* aligné sous le texte du titre, pas sous sa pastille */
    padding-left: 30px;
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   26. Agenda Cal.com
   -------------------------------------------------------------------------- */

.cal {
  margin-top: 30px;
  width: min(1080px, calc(100vw - 2 * var(--gutter)));
  margin-inline: calc(50% - min(540px, calc(50vw - var(--gutter))));
  min-height: 500px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cal iframe { width: 100% !important; border: 0; }

@media (max-width: 900px) {
  .cal {
    width: 100%;
    margin-inline: 0;
    min-height: 620px;
    overflow: auto;
  }
}

.cal__todo {
  padding: 22px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--muted);
}
.cal__todo code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}
.cal__todo a { color: var(--accent); }

/* --------------------------------------------------------------------------
   27. Logos en image, source des avis
   -------------------------------------------------------------------------- */

.logo--img img {
  width: clamp(17px, 52%, 28px);
  height: auto;
  border-radius: 6px;
}

.proj__mark img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* Le logo Malt, dans chaque témoignage, à droite du prénom */
.reviews { position: relative; }

/* Les cartes ont la même hauteur : le pied reste collé en bas */
.quote-card { display: flex; flex-direction: column; }
.quote-card blockquote { flex: 1; }
.quote-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quote-card__src {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 5px;
  opacity: 0.85;
}

/* Second métier, en retrait sous le nom */
.identity__alt { color: var(--muted); }

/* Le petit coucou de l'intro */
.wave {
  display: inline-block;
  font-size: 0.86em;
  transform-origin: 70% 80%;
  animation: wave 2.6s ease-in-out 0.6s 3;
}

@keyframes wave {
  0%, 60%, 100% { transform: none; }
  10%, 30%      { transform: rotate(14deg); }
  20%, 40%      { transform: rotate(-8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .wave { animation: none; }
}

/* Expérience : même ligne que les projets, l'année à la place de la flèche */
.proj__year {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  flex: none;
}

/* Logo qui a besoin d'air dans sa pastille */
.proj__mark--pad img {
  object-fit: contain;
  padding: 8px;
  background: var(--surface-2);
}

/* --------------------------------------------------------------------------
   28. Héros : occupe l'écran, contenu centré, rien de coupé
   -------------------------------------------------------------------------- */

.page--onepage { padding-top: 0; }

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  /* tout le bloc, du bandeau date/heure jusqu'à la ligne « Appuyez sur C »,
     est centré dans la hauteur d'écran, mais chaque ligne garde toute la largeur */
  /* les quatre blocs se répartissent sur toute la hauteur d'écran,
     avec des écarts égaux entre eux */
  justify-content: space-between;
  align-items: stretch;
  row-gap: clamp(26px, 4vh, 64px);
  padding-top: clamp(26px, 4vw, 46px);
  /* de quoi passer sous la barre flottante */
  padding-bottom: clamp(92px, 11vw, 124px);
}

/* Les marges propres à chaque bloc sont neutralisées : seul l'écart du héros compte */
.hero > *, .hero__mid > * { margin-top: 0; }

/* Le portrait et le texte restent serrés, au centre de l'écran */
.hero__mid {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.4vh, 38px);
}

@media (max-height: 620px) {
  .hero { min-height: 0; padding-bottom: 72px; row-gap: 26px; }
}

/* Petite mention à côté d'un nom d'entreprise */
.proj__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: 0.14em;
}

/* Écrans peu hauts (portables 13") : on resserre les espaces,
   jamais la taille du texte. */
@media (min-width: 760px) and (max-height: 900px) {
  .hero { padding-top: 30px; padding-bottom: 110px; }
}

/* Pied de page : une seule ligne, sobre */
.footer__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__line a { color: inherit; text-decoration: none; transition: color 0.18s ease; }
.footer__line a:hover { color: var(--ink); }

/* Source HubSpot sur un avis */
.quote-card__src--hs {
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--surface-2);
  color: #ff7a59;
}
.quote-card__src--hs svg { width: 12px; height: 12px; display: block; }

/* Cal.com affiche sa signature tout en bas de l'iframe. Le contenu est servi
   depuis leur domaine : impossible de le viser en CSS. On rogne donc les
   derniers pixels du cadre. Retirez ce bloc pour la réafficher. */
.cal { overflow: hidden; }
.cal cal-inline { display: block; margin-bottom: -58px; }

/* La salutation, plus grande que le reste du paragraphe */
.intro__hi {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 1.55em;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

/* Les deux raccourcis, l'un sous l'autre */
.hints {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hints .hint { margin-top: 0; }

/* Les indices A / B sont aussi des boutons cliquables */
button.hint {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease;
}
button.hint:hover { color: var(--ink); }
button.hint:hover kbd { border-color: var(--ink); color: var(--ink); }

/* --------------------------------------------------------------------------
   29. Mobile : alignement des lignes « Expérience »
   Placé en fin de feuille pour passer après .proj__badge (même spécificité).
   -------------------------------------------------------------------------- */

@media (max-width: 620px) {
  /* Le logo et le millésime s'alignent sur la 1re ligne du nom
     au lieu d'être centrés sur un bloc devenu haut. */
  .proj { align-items: flex-start; }
  .proj__mark { margin-top: 2px; }
  .proj__year { margin-top: 3px; }

  /* La mention passe sous le nom de l'entreprise, calée à gauche. */
  .proj__name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .proj__badge { margin-left: 0; white-space: normal; }
}
