/*
 * Christophe Durand Site autonome - finitions V3.2.9
 * Couche volontairement limitée a des ajustements visuels a faible risque.
 * Aucun changement de structure, de contenu ou de comportement.
 */

/* 1) Sortir de la grammaire sans-serif + serif italique, sans changer les
 * dimensions imposees localement aux titres par les feuilles existantes. */
body.cd-site .cd-display-serif,
body.cd-site .cd-about-emphasis,
body.cd-site .cd-work-principle-lead,
body.cd-site .cd-contact-accent {
  font-family: "Instrument Sans", Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  letter-spacing: -0.045em !important;
}

/* 2) CTA : conserver leur gabarit et leur comportement, uniquement retirer
 * l'effet capsule integral. */
body.cd-site .cd-button,
body.cd-site .cd-header .cd-nav-cta {
  border-radius: 8px !important;
}

/* 3) Curseur editorial : meme mecanisme JS, mais presence visuelle attenuee. */
body.cd-site .cd-v2-cursor-dot {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
}
body.cd-site .cd-v2-cursor-ring {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-color: rgba(255,255,255,.72);
}
body.cd-site .cd-v2-cursor-ring.is-active {
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.88);
}


/* Correctif 3.2.8 : les pages interieures possedent aussi des accents
 * typographiques sur des span de titres sans classe .cd-display-serif. On
 * neutralise uniquement cette grammaire serif/italique, sans modifier couleur,
 * taille, marges, structure ou comportement. */
body.cd-site .cd-creation-hero h1 > span,
body.cd-site .cd-creation-section h2 > span,
body.cd-site .cd-creation-final h2 > span,
body.cd-site .cd-refonte-hero h1 > span,
body.cd-site .cd-refonte-section h2 > span,
body.cd-site .cd-refonte-final h2 > span,
body.cd-site .cd-method-hero h1 > span,
body.cd-site .cd-method-start h2 > span,
body.cd-site .cd-method-step h2 > span,
body.cd-site .cd-method-foundations h2 > span,
body.cd-site .cd-method-collab h2 > span,
body.cd-site .cd-method-decisions h2 > span,
body.cd-site .cd-method-flex h2 > span,
body.cd-site .cd-method-final h2 > span,
body.cd-site .cd-work-hero h1 > span,
body.cd-site .cd-work-principle h2 > span,
body.cd-site .cd-work-final h2 > span,
body.cd-site .cd-about-hero h1 > span,
body.cd-site .cd-about-before h2 > span,
body.cd-site .cd-about-experience h2 > span,
body.cd-site .cd-about-small-business h2 > span,
body.cd-site .cd-about-progressive h2 > span,
body.cd-site .cd-about-direct h2 > span,
body.cd-site .cd-about-useful h2 > span,
body.cd-site .cd-about-alicante h2 > span,
body.cd-site .cd-about-trust h2 > span,
body.cd-site .cd-about-final h2 > span,
body.cd-site .cd-contact-hero h1 > span,
body.cd-site.cd-home-2026 .cd-question-line-2026,
body.cd-site.cd-home-2026 .cd-proof-2026-statement {
  font-family: "Instrument Sans", Arial, sans-serif !important;
  font-style: normal !important;
}

/* Correctif d'espacement des grands titres - V3.2.9.
 * Ajustement plus mesure que la V3.2.8 :
 * - respiration reduite sur les grands titres deja corriges ;
 * - ajout de l'espacement manquant sous "A a Z" sur l'accueil ;
 * - meme regle pour les gabarits FR/ES partageant ces classes.
 * Aucun contenu, gabarit, couleur, taille de titre ou comportement n'est modifie. */
body.cd-site.cd-home-2026 #cd-home-title .cd-display-serif {
  margin-left: 0 !important;
}

body.cd-site.cd-home-2026 .cd-home-intro {
  margin-top: clamp(1.85rem, 2.6vw, 2.35rem) !important;
}

body.cd-site .cd-creation-hero h1,
body.cd-site .cd-refonte-hero h1,
body.cd-site .cd-method-hero h1,
body.cd-site .cd-work-hero h1,
body.cd-site .cd-about-hero h1,
body.cd-site .cd-contact-hero h1 {
  margin-bottom: clamp(2.1rem, 3vw, 2.8rem) !important;
}

/* Le titre "Je vous accompagne de A a Z" restait plus serre que les autres. */
body.cd-site.cd-home-2026 .cd-process-2026-heading h2 {
  margin-bottom: clamp(2.1rem, 2.8vw, 2.5rem) !important;
}

@media (max-width: 620px) {
  body.cd-site.cd-home-2026 .cd-home-intro {
    margin-top: 1.8rem !important;
  }

  body.cd-site .cd-creation-hero h1,
  body.cd-site .cd-refonte-hero h1,
  body.cd-site .cd-method-hero h1,
  body.cd-site .cd-work-hero h1,
  body.cd-site .cd-about-hero h1,
  body.cd-site .cd-contact-hero h1 {
    margin-bottom: 1.9rem !important;
  }

  body.cd-site.cd-home-2026 .cd-process-2026-heading h2 {
    margin-bottom: 1.9rem !important;
  }
}
