/* JR Informatique — feuille de style unique.
   Palette tirée du logo 2026. Contrastes mesurés (texte ≥ 4,5:1, contours ≥ 3:1). */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin.06b16db7a9.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin.19143dca07.woff2") format("woff2");
}

:root {
  --marine: #042469;
  --marine-profond: #031447;
  --bleu-roi: #0042C9;
  --bleu-vif: #0057F7;
  --cyan: #7FE7FF;
  --encre: #1B2540;
  --gris: #4A5674;
  --pale: #F3F6FC;
  --pale-bleu: #EAF0FD;
  --trait: #D6DEEE;
  --trait-clair: #E3E9F4;
  --sur-sombre: #C5D2EE;
  --titres: "Montserrat", system-ui, sans-serif;
  --texte: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--encre);
  font-family: var(--texte);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--titres); margin: 0; letter-spacing: -0.01em; color: var(--marine); }
p { margin: 0; }
a { color: var(--bleu-roi); }
a:hover { color: var(--marine); }
:focus-visible { outline: 3px solid var(--bleu-vif); outline-offset: 3px; border-radius: 4px; }
.sombre :focus-visible { outline-color: var(--cyan); }
main:focus { outline: none; }

.conteneur { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.evitement {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--marine); color: #FFFFFF; padding: 12px 18px; border-radius: 8px;
  font-family: var(--titres); font-weight: 700; text-decoration: none;
}
.evitement:focus { top: 12px; color: #FFFFFF; }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 10px;
  font-family: var(--titres); font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1.5px solid transparent;
}
.bouton-clair { background: #FFFFFF; color: var(--marine-profond); }
.bouton-clair:hover { background: var(--pale-bleu); color: var(--marine-profond); }
.bouton-contour { border-color: #5A7FD6; color: #FFFFFF; }
.bouton-contour:hover { border-color: var(--cyan); color: #FFFFFF; }
.bouton-plein { background: var(--bleu-roi); color: #FFFFFF; }
.bouton-plein:hover { background: var(--marine); color: #FFFFFF; }

/* Textes communs */
.surtitre {
  font-family: var(--titres); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--bleu-roi);
}
.sombre .surtitre { color: var(--cyan); }
.titre-section { font-size: 40px; line-height: 1.2; font-weight: 800; }
.intro { color: var(--gris); }
.tete-section { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

/* En-tête */
.entete { position: relative; background: #FFFFFF; border-bottom: 1px solid var(--trait-clair); z-index: 10; }
.entete-barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.marque-monogramme { height: 46px; width: auto; display: block; flex-shrink: 0; }
.marque-nom { font-family: var(--titres); color: var(--marine); font-size: 19px; font-weight: 500; letter-spacing: 0.04em; white-space: nowrap; }
.marque-jr { font-weight: 800; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; align-items: center; }
.nav a { color: var(--marine); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 0; }
.nav a:hover { color: var(--bleu-roi); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--bleu-vif); }
.nav-langue { display: none; }
.entete-actions { display: flex; align-items: center; gap: 14px; }
.entete-tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--marine); font-weight: 600; text-decoration: none;
  min-height: 44px; min-width: 44px; white-space: nowrap;
}
.entete-langue { font-family: var(--titres); font-size: 14px; font-weight: 700; color: var(--gris); }
.entete-langue .langue-courante { color: var(--marine); }
.entete-langue a { color: var(--gris); text-decoration: none; display: inline-block; padding: 10px 4px; }
.entete-langue a:hover { color: var(--bleu-roi); }
.bouton-menu {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1.5px solid #7A8BB0; border-radius: 10px;
  background: #FFFFFF; color: var(--marine); cursor: pointer;
}

/* Accroche (accueil) et bandeau des pages */
.accroche, .bandeau {
  position: relative; overflow: hidden; background: var(--marine-profond); color: #FFFFFF;
}
.accroche { padding: 104px 0 112px; }
.bandeau { padding: 72px 0 80px; }
.motif { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.bandeau .motif { opacity: 0.6; }
.accroche-contenu, .bandeau-contenu { position: relative; max-width: 760px; display: flex; flex-direction: column; gap: 28px; }
.bandeau-contenu { gap: 20px; }
.accroche h1 { font-size: 58px; line-height: 1.1; font-weight: 800; color: #FFFFFF; }
.bandeau h1 { font-size: 46px; line-height: 1.15; font-weight: 800; color: #FFFFFF; }
.accroche-texte { font-size: 21px; line-height: 1.55; color: var(--sur-sombre); max-width: 680px; }
.bandeau-texte { font-size: 20px; line-height: 1.55; color: var(--sur-sombre); max-width: 680px; }
.accroche-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }
.accroche-territoire { padding-top: 8px; font-size: 16px; color: #A9BBE0; }
.ariane { position: relative; font-size: 15px; color: var(--sur-sombre); }
.ariane a { color: #FFFFFF; }
.ariane a:hover { color: var(--cyan); }

/* Sections */
.section { padding: 104px 0; }
.section-pale { background: var(--pale); }
.section-sombre { position: relative; overflow: hidden; background: var(--marine-profond); color: #FFFFFF; }
.section-sombre h2 { color: #FFFFFF; }
.section-sombre .intro { color: var(--sur-sombre); }
.pile { display: flex; flex-direction: column; gap: 48px; }

/* Services */
.services-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.services-tete .intro { max-width: 460px; }
.familles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.famille { background: var(--pale); border-radius: 20px; padding: 36px 40px 16px; }
.famille-tete { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; color: var(--bleu-roi); }
.famille-tete h3 { font-size: 15px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.service {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 18px;
  padding: 24px 0; border-top: 1px solid var(--trait); text-decoration: none; color: var(--encre);
}
.service:hover h4 { color: var(--bleu-roi); }
.service h4 { font-family: var(--titres); font-size: 21px; font-weight: 700; color: var(--marine); margin: 0; }
.service p { color: var(--gris); }
.pastille {
  display: inline-flex; width: 44px; height: 44px; border-radius: 10px;
  background: #FFFFFF; color: var(--bleu-roi); align-items: center; justify-content: center; flex-shrink: 0;
}
.service .pastille { grid-row: span 3; }
.prix { font-family: var(--titres); font-weight: 700; font-size: 15px; color: var(--gris); padding-top: 4px; }
.prix-chiffre { color: var(--bleu-roi); }
.conseil {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 28px 36px;
  border-radius: 20px; background: var(--marine); text-decoration: none; color: #FFFFFF;
}
.conseil:hover { color: #FFFFFF; background: #072C7E; }
.conseil .pastille { background: #0B3290; color: var(--cyan); }
.conseil-texte { display: flex; flex-direction: column; gap: 4px; flex: 1 1 420px; min-width: 0; }
.conseil-surtitre { font-family: var(--titres); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.conseil h4 { font-family: var(--titres); font-size: 22px; font-weight: 700; color: #FFFFFF; margin: 0; }
.conseil p, .conseil .prix { color: var(--sur-sombre); }
.ligne-entrepreneurs a { font-weight: 600; white-space: nowrap; }

/* Trois forces */
.forces { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.forces-tete { display: flex; flex-direction: column; gap: 14px; padding-top: 32px; }
.trace-forces { margin-top: 24px; }
.force { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding: 32px 0; border-top: 1px solid var(--trait); }
.force:last-child { border-bottom: 1px solid var(--trait); }
.force-num { font-family: var(--titres); font-weight: 800; font-size: 48px; line-height: 1; color: var(--bleu-vif); }
.force h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.force p { color: var(--gris); }

/* Réalisations */
.vitrine { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.vitrine.inverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.vitrine.inverse .fenetre { order: 2; }
.vitrine-texte { display: flex; flex-direction: column; gap: 12px; }
.vitrine-texte h3 { font-size: 30px; font-weight: 800; }
.vitrine-texte p:not(.surtitre) { color: var(--gris); }
.fenetre {
  border-radius: 14px; border: 1px solid #C9D4EA; overflow: hidden; background: #FFFFFF;
  box-shadow: 0 18px 40px -24px rgba(4, 36, 105, 0.45); margin: 0;
}
.fenetre-barre { height: 34px; background: #E9EEF8; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.fenetre-barre span { width: 10px; height: 10px; border-radius: 50%; background: #B4C2DE; }
.fenetre img { display: block; width: 100%; height: auto; }
.fenetre figcaption { padding: 10px 16px; border-top: 1px solid var(--trait); background: #FFFFFF; font-size: 15px; color: var(--gris); }
.fenetre figcaption a { font-weight: 600; white-space: nowrap; }
.reserve {
  aspect-ratio: 16 / 10; background: var(--pale); display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center; color: var(--gris); font-size: 16px;
}
/* Schéma explicatif (SVG intégré : le texte suit les polices du site) */
.schema { display: block; width: 100%; height: auto; }
.schema-compact { display: none; }
.schema-num { font-family: var(--titres); font-weight: 800; font-size: 34px; fill: var(--bleu-vif); }
.schema-titre { font-family: var(--titres); font-weight: 700; font-size: 44px; fill: var(--marine); }
.schema-detail { font-family: var(--texte); font-size: 30px; fill: var(--gris); }
.schema-compact .schema-num { font-size: 44px; }
.schema-compact .schema-titre { font-size: 64px; }
.lien-realisations { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 0; }
.lien-realisations span { font-family: var(--titres); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bleu-roi); }
.realisations { display: flex; flex-direction: column; gap: 40px; }

/* Approche */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; }
.etapes::before { content: ""; position: absolute; left: 24px; right: 33%; top: 23px; height: 2px; background: var(--bleu-vif); }
.etape { display: flex; flex-direction: column; gap: 16px; position: relative; }
.etape-num {
  display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: var(--marine); color: var(--cyan);
  align-items: center; justify-content: center; font-family: var(--titres); font-weight: 800; font-size: 18px;
  box-shadow: 0 0 0 6px var(--pale);
}
.etape h3 { font-size: 22px; font-weight: 700; }
.etape p { color: var(--gris); }
.engagement { max-width: 860px; font-family: var(--titres); font-size: 22px; font-weight: 600; line-height: 1.5; color: var(--marine); }

/* Fondateur */
.fondateur { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: center; }
.photo { width: 100%; max-width: 360px; margin: 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.photo figcaption { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--gris); }
.fondateur-large { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; }
.fondateur-large .titre-section { font-size: 34px; }
.fondateur-large .photo { max-width: none; }
.fondateur-large .photo img { aspect-ratio: 16 / 9; }
.photo .reserve { aspect-ratio: auto; height: 100%; border: 1.5px dashed #8A9BBF; border-radius: 20px; }
.fondateur-sans-photo { grid-template-columns: minmax(0, 1fr); }
.fondateur-sans-photo .fondateur-texte { max-width: 820px; }
.fondateur-texte { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.fondateur-texte p:not(.surtitre) { color: var(--gris); }
.sans-coupure { white-space: nowrap; }
.diplome { display: flex; align-items: center; gap: 16px; padding-top: 6px; color: var(--encre); font-size: 17px; line-height: 1.45; }
.diplome .pastille { border-radius: 50%; background: var(--marine); color: var(--cyan); }
.lien-fort { font-weight: 600; }

/* Contact */
.motif-coin { position: absolute; right: 0; top: 0; width: 400px; height: 300px; max-width: none; }
.contact-pile { position: relative; display: flex; flex-direction: column; gap: 44px; }
.coordonnees { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; }
.coord { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid #2A3F7E; padding-top: 18px; }
.coord dt { font-family: var(--titres); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.coord dd { margin: 0; color: #FFFFFF; font-size: 18px; }
.coord a { color: #FFFFFF; font-size: 21px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.coord a:hover { color: var(--cyan); }
.coord .detail { color: var(--sur-sombre); font-size: 17px; line-height: 1.5; }

/* Pages intérieures : texte courant */
.prose { max-width: 780px; display: flex; flex-direction: column; gap: 20px; }
.prose h2 { font-size: 30px; line-height: 1.25; font-weight: 800; margin-top: 16px; }
.prose p:not(.surtitre), .prose li { color: var(--encre); }
.liste-noeuds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.liste-noeuds li { position: relative; padding-left: 30px; }
.liste-noeuds li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--bleu-vif); box-shadow: 0 0 0 4px var(--pale-bleu);
}
.encadre { background: var(--pale); border-radius: 20px; padding: 32px 36px; display: flex; flex-direction: column; gap: 12px; }
.encadre h2 { margin-top: 0; font-size: 24px; }
.deux-colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.panneau { background: var(--pale); border-radius: 20px; padding: 36px 40px; display: flex; flex-direction: column; gap: 14px; }
.panneau h2 { font-size: 26px; }
.panneau p:not(.surtitre) { color: var(--gris); }
.autres-services { display: flex; flex-wrap: wrap; gap: 12px; }
.autres-services a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px;
  border: 1px solid var(--trait); border-radius: 999px; text-decoration: none; color: var(--marine); font-weight: 600;
}
.autres-services a:hover { border-color: var(--bleu-roi); color: var(--bleu-roi); }
.autres-services .pastille { width: 28px; height: 28px; background: var(--pale-bleu); }
.autres-services .pastille svg { width: 16px; height: 16px; }

/* Pied de page */
.pied { background: #FFFFFF; padding: 64px 0 40px; border-top: 1px solid var(--trait-clair); }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.pied-marque img { width: 160px; height: auto; display: block; }
.pied-col { display: flex; flex-direction: column; gap: 4px; font-size: 16px; color: var(--gris); }
.pied-col a { text-decoration: none; padding: 4px 0; }
.pied-col a:hover { text-decoration: underline; }
.pied-titre { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.pied-bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--trait-clair); font-size: 15px; color: var(--gris);
}
.pied-langue { font-family: var(--titres); font-weight: 700; color: var(--marine); }
.pied-langue a { color: var(--gris); text-decoration: none; padding: 8px 4px; }

/* Page 404 */
.page-404 .accroche { padding: 96px 0; }

/* ——— Tablette et cellulaire ——— */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .conteneur { padding: 0 20px; }
  .entete-barre { min-height: 72px; }
  .marque-monogramme { height: 38px; }
  .marque-nom { font-size: 15px; letter-spacing: 0.03em; }
  .entete-tel-num, .entete-langue { display: none; }
  .nav-langue { display: block; }

  /* Sans JavaScript : le menu reste visible, sur deux lignes sous la marque. */
  .sans-js .entete-barre { flex-wrap: wrap; }
  .sans-js .nav { order: 3; width: 100%; padding-bottom: 12px; }
  .sans-js .nav ul { flex-wrap: wrap; gap: 4px 20px; }

  /* Avec JavaScript : menu repliable. */
  .js .bouton-menu { display: inline-flex; }
  .js .nav { display: none; }
  .js .entete.menu-ouvert .nav {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: #FFFFFF; border-bottom: 1px solid var(--trait); box-shadow: 0 16px 30px -18px rgba(4, 36, 105, 0.4);
  }
  .js .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
  .js .nav a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--trait-clair); font-size: 18px; }
  .js .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--bleu-vif); padding-left: 12px; }

  .section { padding: 64px 0; }
  .accroche { padding: 48px 0 56px; }
  .bandeau { padding: 44px 0 52px; }
  .accroche h1 { font-size: 32px; }
  .bandeau h1 { font-size: 30px; }
  .accroche-texte, .bandeau-texte { font-size: 18px; }
  .motif { inset: auto; width: 820px; height: 320px; right: -70px; bottom: -20px; opacity: 0.55; }
  .bandeau .motif { opacity: 0.4; }
  .bouton { width: 100%; }
  .titre-section { font-size: 30px; }
  .pile { gap: 36px; }
  .familles, .forces, .vitrine, .vitrine.inverse, .etapes, .fondateur, .deux-colonnes { grid-template-columns: minmax(0, 1fr); }
  .famille, .panneau { padding: 24px 20px 12px; }
  .panneau { padding-bottom: 24px; }
  .conseil { padding: 24px 20px; }
  .forces { gap: 8px; }
  .forces-tete { padding-top: 0; }
  .trace-forces { display: none; }
  .force { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 24px 0; }
  .force-num { font-size: 32px; }
  .vitrine { gap: 28px; }
  .vitrine.inverse .fenetre { order: 0; }
  .schema-complet { display: none; }
  .schema-compact { display: block; }
  .lien-realisations { padding: 8px 0; }
  .etapes { gap: 28px; }
  .etapes::before { display: none; }
  .fondateur { gap: 32px; }
  .photo { max-width: 280px; }
  .fondateur-large .photo { max-width: none; }
  .motif-coin { display: none; }
  .coordonnees { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pied-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .encadre { padding: 24px 20px; }
  .prose h2 { font-size: 26px; }
}
@media (max-width: 520px) {
  .pied-grille { grid-template-columns: minmax(0, 1fr); }
}
