@charset "UTF-8";
/* Schibsted Grotesk, hébergée sur le site (police variable 400–800, licence SIL OFL, voir /fonts/OFL.txt) */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-v7.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-ext-v7.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ==========================================================================
   Accueil Digital Business Concept
   Mise en page : colonne éditoriale large, signature en très grand, bandeau
   de contact bleu nuit avec le formulaire sur une carte blanche.
   ========================================================================== */
:root {
  --nuit: #0f1133;
  --nuit-2: #171a45;
  --electrique: #542bf3;      /* le D du logo */
  --electrique-fonce: #4320d4;
  --violet: #8a34e4;          /* pixels du logo */
  --magenta: #cb55d0;
  --cyan: #17c2e5;
  --papier: #f6f6fb;
  --blanc: #ffffff;
  --trait: #e1e1ee;
  --texte: #1c1e3f;
  --gris: #5c5f7d;
  --gris-clair: #a9abc6;
  --erreur: #d0342c;

  --f-texte: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --large: 1120px;
  --gouttiere: max(20px, 5vw);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--texte);
  font: 400 17px/1.6 var(--f-texte);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--electrique);
  outline-offset: 3px;
}

.in {
  max-width: var(--large);
  margin: 0 auto;
  padding-left: max(var(--gouttiere), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gouttiere), env(safe-area-inset-right, 0px));
}

.surtitre {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gris);
}

/* ── En-tête ─────────────────────────────────────────────────────────────── */
.entete .in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px;
}

.marque {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.marque img {
  width: 44px;
  height: 44px;
  display: block;
}

.marque span {
  border-left: 1px solid #352d52;
  padding-left: 12px;
  color: #352d53;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.entete nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.entete nav a {
  text-decoration: none;
  color: var(--gris);
}

.entete nav a:hover {
  color: var(--texte);
}

.entete nav .pastille {
  color: var(--texte);
  font-weight: 500;
  border: 1px solid var(--trait);
  background: var(--blanc);
  border-radius: 999px;
  padding: 9px 16px;
}

.entete nav .pastille:hover {
  border-color: var(--electrique);
  color: var(--electrique);
}

/* ── Accroche ────────────────────────────────────────────────────────────── */
.accroche .in {
  display: grid;
  gap: clamp(24px, 3.5vw, 36px);
  padding-block: clamp(40px, 8vw, 104px) clamp(56px, 8vw, 104px);
}

.signature {
  font-weight: 800;
  font-size: clamp(44px, 9vw, 112px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--nuit);
  text-wrap: balance;
}

.signature .ligne {
  display: block;
}

/* « démultiplie » se dédouble, comme une sortie de machine */
.echo {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

/* Écho dessiné par la feuille de style : absent du texte de la page (référencement)
   et ignoré par les lecteurs d'écran grâce au texte alternatif vide après « / ». */
.echo::before,
.echo::after {
  content: attr(data-echo);
  content: attr(data-echo) / "";
  position: absolute;
  user-select: none;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.echo::before {
  color: var(--cyan);
  opacity: .75;
  transform: translate(.05em, -.045em);
}

.echo::after {
  color: var(--magenta);
  opacity: .35;
  transform: translate(.1em, -.09em);
}

/* « imagine » : la couleur du logo */
.signature em {
  font-style: normal;
  color: var(--electrique);
}

.chapo {
  max-width: 44ch;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
  color: #34375a;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

.bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--electrique);
  color: var(--blanc);
  border: 0;
  border-radius: 999px;
  font: 600 16px/1 var(--f-texte);
  text-decoration: none;
  padding: 17px 26px;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}

.bouton:hover {
  background: var(--electrique-fonce);
}

.bouton:active {
  transform: translateY(1px);
}

/* La flèche avance au survol */
.bouton .fleche {
  display: inline-block;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}

.bouton:hover .fleche,
.bouton:focus-visible .fleche {
  transform: translateX(5px);
}

@media (prefers-reduced-motion: no-preference) {
  .bouton:hover .fleche {
    animation: fleche 1s cubic-bezier(.2, .7, .2, 1) .25s infinite;
  }

  @keyframes fleche {
    0%, 100% { transform: translateX(5px); }
    50% { transform: translateX(9px); }
  }
}

.bouton:disabled {
  opacity: .6;
  cursor: wait;
}

.lien-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  color: var(--texte);
}

.lien-linkedin svg {
  color: #0a66c2;
  flex: none;
}

.lien-linkedin span {
  border-bottom: 1px solid var(--trait);
  padding-bottom: 1px;
}

.lien-linkedin:hover span {
  border-bottom-color: currentColor;
}

/* ── Savoir-faire ───────────────────────────────────────────────────────── */
.savoir {
  background: var(--blanc);
  border-top: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
}

.savoir .in {
  display: grid;
  gap: 36px;
  padding-block: clamp(48px, 7vw, 88px);
}

.savoir ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px clamp(24px, 4vw, 56px);
}

.savoir li {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.savoir .pixel {
  width: 14px;
  height: 14px;
  background: var(--electrique);
}

.savoir li:nth-child(2) .pixel {
  background: var(--cyan);
}

.savoir li:nth-child(3) .pixel {
  background: var(--violet);
}

.savoir h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--nuit);
  text-wrap: balance;
}

.savoir li p {
  color: var(--gris);
  font-size: 16px;
}

/* ── Qui sommes-nous ─────────────────────────────────────────────────────── */
.studio .in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 20px clamp(24px, 4vw, 56px);
  padding-block: clamp(48px, 7vw, 88px);
}

.studio .texte {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.studio .texte p {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--texte);
  max-width: 34em;
}

.studio .texte p strong {
  font-weight: 700;
  color: var(--electrique);
}

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact {
  background: var(--nuit);
  color: var(--blanc);
  scroll-margin-top: 0;
}

.contact .in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px clamp(32px, 6vw, 88px);
  align-items: start;
  padding-block: clamp(56px, 8vw, 104px);
}

.contact .surtitre {
  color: var(--gris-clair);
}

.contact-texte {
  display: grid;
  gap: 22px;
  align-content: start;
}

.contact h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.contact h2 em {
  font-style: normal;
  color: #a896ff;
}

.contact-texte > p {
  color: #c9cbe3;
  max-width: 36ch;
}

.contact-texte .adresse {
  color: var(--blanc);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  user-select: all;
  word-break: break-all;
}

.contact-texte .adresse:hover {
  border-bottom-color: var(--blanc);
}

.contact-texte .lien-linkedin {
  color: var(--blanc);
}

.contact-texte .lien-linkedin svg {
  color: var(--blanc);
}

.contact-texte .lien-linkedin span {
  border-bottom-color: rgba(255, 255, 255, .35);
}

/* Carte du formulaire */
.carte {
  background: var(--blanc);
  color: var(--texte);
  border-radius: 18px;
  padding: clamp(22px, 3.5vw, 36px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55);
}

.formulaire {
  display: grid;
  gap: 18px;
}

.champ {
  display: grid;
  gap: 7px;
}

.champ label {
  font-size: 14px;
  font-weight: 500;
  color: var(--texte);
}

.champ input,
.champ textarea {
  width: 100%;
  font: 400 16px/1.5 var(--f-texte);
  color: var(--texte);
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: 10px;
  padding: 13px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.champ textarea {
  resize: vertical;
  min-height: 132px;
}

.champ input:focus,
.champ textarea:focus {
  background: var(--blanc);
  border-color: var(--electrique);
  box-shadow: 0 0 0 4px rgba(84, 43, 243, .12);
}

.error-msg {
  display: none;
  color: var(--erreur);
  font-size: 13px;
  line-height: 1.3;
}

.has-error input,
.has-error textarea {
  border-color: var(--erreur);
  box-shadow: 0 0 0 4px rgba(208, 52, 44, .1);
}

.has-error .error-msg {
  display: block;
}

/* Piège à robots */
.piege {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* Case à cocher accessible au clavier */
.case {
  display: grid;
  gap: 6px;
}

.case label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gris);
  cursor: pointer;
}

.case input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.case .coche {
  flex: none;
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid var(--gris-clair);
  border-radius: 6px;
  background: var(--blanc);
  transition: background-color .15s ease, border-color .15s ease;
}

.case .coche::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--blanc);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

.case input:checked + .coche {
  background: var(--electrique);
  border-color: var(--electrique);
}

.case input:checked + .coche::after {
  display: block;
}

.case input:focus-visible + .coche {
  outline: 2px solid var(--electrique);
  outline-offset: 2px;
}

.case.has-error .coche {
  border-color: var(--erreur);
}

.case a {
  color: var(--texte);
}

.formulaire .bouton {
  justify-self: start;
  margin-top: 4px;
}

/* Messages après envoi (affichés par home.js) */
.form-message {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 360px;
  text-align: center;
}

.form-message svg {
  width: 56px;
  height: 56px;
}

.form-message h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.form-message p {
  color: var(--gris);
}

#retry-message {
  margin-top: 6px;
}

/* ── Pied de page ────────────────────────────────────────────────────────── */
.pied {
  background: #0a0b25;
  color: var(--gris-clair);
  font-size: 14px;
}

.pied .in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 28px;
  padding-block: 24px;
}

.pied ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.pied a {
  text-decoration: none;
}

.pied a:hover {
  color: var(--blanc);
}

/* ── Pages légales ───────────────────────────────────────────────────────── */
.document {
  background: var(--blanc);
  border-top: 1px solid var(--trait);
}

.document .in {
  max-width: calc(720px + 2 * var(--gouttiere));
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px);
}

.document h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--nuit);
  text-wrap: balance;
}

.document .maj {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gris);
}

.document h2 {
  margin-top: 44px;
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--nuit);
}

.document p,
.document li {
  color: #34375a;
  font-size: 16.5px;
  line-height: 1.7;
}

.document p + p {
  margin-top: 12px;
}

.document ul,
.document ol {
  margin: 12px 0;
  padding-left: 1.3em;
  display: grid;
  gap: 6px;
}

.document a {
  color: var(--electrique);
  text-underline-offset: 3px;
  word-break: break-word;
}

/* ── Page introuvable ────────────────────────────────────────────────────── */
.introuvable .in {
  display: grid;
  gap: 22px;
  justify-items: start;
  padding-block: clamp(56px, 10vw, 140px);
}

.introuvable h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--nuit);
  text-wrap: balance;
}

.introuvable p:not(.surtitre) {
  max-width: 44ch;
  font-size: 19px;
  color: #34375a;
}

/* ── Mouvement : un seul effet, l'écho s'écarte du mot ───────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .echo::before {
    animation: ecart-1 1.1s cubic-bezier(.2, .7, .2, 1) .25s both;
  }

  .echo::after {
    animation: ecart-2 1.3s cubic-bezier(.2, .7, .2, 1) .35s both;
  }

  @keyframes ecart-1 { from { transform: translate(0, 0); } }
  @keyframes ecart-2 { from { transform: translate(0, 0); } }
}

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

/* ── Petits écrans ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact .in {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .savoir ul {
    grid-template-columns: 1fr;
  }

  .studio .in {
    grid-template-columns: 1fr;
  }

  .entete nav .masquable {
    display: none;
  }

  .formulaire .bouton {
    justify-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .marque span {
    font-size: 14px;
  }
}
