
/* Mise en page : colonne éditoriale alignée à gauche sur fond clair ; les trois pales de l'éventail
   du logo codent les trois métiers (marine = outil sur mesure, bleu = diagnostic, turquoise = automatisations).
   Un seul thème, clair, par choix : le logo est dessiné pour un fond blanc. */
:root {
  --papier: #fbfcfd;
  --voile: #edf3f7;
  --encre: #0e3060;
  --texte: #2c3d57;
  --discret: #5d6d85;
  --filet: #d6e1ea;
  --pale-1: #0e305e;
  --pale-2: #2286af;
  --pale-3: #4bbecd;
  --pale-eteinte: #d9e4ec;
  --sur-encre: #ffffff;
  --sur-encre-discret: #b9cbe0;
  --titre: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --corps: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --gouttiere: clamp(16px, 4vw, 40px);
  --large: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--papier);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.6;
}
a { color: var(--encre); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--pale-3); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--titre); color: var(--encre); text-wrap: balance; margin: 0; line-height: 1.12; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.cadre { width: 100%; max-width: var(--large); margin-inline: auto; padding-inline: var(--gouttiere); }
.bloc { padding-block: clamp(36px, 4.5vw, 60px); }
.surtitre {
  font-family: var(--titre); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--pale-2);
}
.titre-bloc { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.015em; }
.chapeau { max-width: 62ch; color: var(--texte); }
.entete-bloc { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(20px, 3vw, 36px); }

/* éventail */
.eventail { display: block; }
.eventail .p1 { fill: var(--pale-1); }
.eventail .p2 { fill: var(--pale-2); }
.eventail .p3 { fill: var(--pale-3); }
.eventail--1 .p2, .eventail--1 .p3,
.eventail--2 .p1, .eventail--2 .p3,
.eventail--3 .p1, .eventail--3 .p2 { fill: var(--pale-eteinte); }

/* en-tête */
.entete { border-bottom: 1px solid var(--filet); background: var(--papier); }
.entete .cadre { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 16px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marque .eventail { width: 34px; height: auto; }
.marque img { height: 30px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 6px 24px; flex-wrap: wrap; }
.nav a { font-size: 0.9375rem; font-weight: 500; color: var(--texte); text-decoration: none; }
.nav a:hover { color: var(--encre); text-decoration: underline; }

.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--titre); font-weight: 600; font-size: 0.9375rem;
  padding: 12px 20px; border-radius: 4px; border: 1.5px solid var(--encre);
  background: var(--encre); color: var(--sur-encre); text-decoration: none; cursor: pointer;
}
.bouton:hover { background: var(--pale-2); border-color: var(--pale-2); }
.bouton--clair { background: transparent; color: var(--encre); }
.bouton--clair:hover { background: var(--voile); border-color: var(--encre); }
.nav .bouton { padding: 9px 16px; color: var(--sur-encre); }
.nav .bouton:hover { color: var(--sur-encre); text-decoration: none; }
.metier ul strong { color: var(--encre); font-weight: 600; }
.mention-app { font-size: .9375rem; color: var(--discret); }
.points .bouton { align-self: flex-start; }
.pied-app a { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.actions-contact { display: flex; flex-wrap: wrap; gap: 12px; }
.bouton--contact { background: var(--sur-encre); color: var(--encre); border-color: var(--sur-encre); }
.bouton--contact:hover { background: var(--pale-3); border-color: var(--pale-3); color: var(--encre); }
.real-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.texte-real { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.liste-real { display: flex; flex-direction: column; gap: 8px; }
.liste-real li { padding-left: 22px; position: relative; }
.liste-real li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 2px; background: var(--pale-3); }
.note-real { font-size: .875rem; color: var(--discret); }
.mail-real { margin: 0; background: #fff; border: 1px solid var(--filet); border-radius: 10px; padding: 20px 22px; box-shadow: 0 8px 24px rgba(14,48,96,.08); font-size: .9375rem; }
.mail-tete { display: flex; justify-content: space-between; gap: 8px; font-size: .8125rem; color: var(--discret); border-bottom: 1px solid var(--filet); padding-bottom: 10px; }
.mail-de { font-weight: 600; color: var(--encre); }
.mail-objet { font-family: var(--titre); font-weight: 700; color: var(--encre); font-size: 1.125rem; margin: 14px 0 10px; }
.mail-sous { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--pale-2); margin: 14px 0 6px; }
.mail-table { width: 100%; border-collapse: collapse; }
.mail-table td { padding: 6px 0; border-bottom: 1px solid var(--voile); }
.mail-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mail-table tr.fort td { font-weight: 700; color: var(--encre); }
.audit { background: var(--voile); }
@media (max-width: 820px) { .real-grille { grid-template-columns: minmax(0, 1fr); } }
.demo-audit { background: var(--voile); }
.demo-grille { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(16px,3vw,28px); }
.constat { background: #fff; border: 1px solid var(--filet); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.constat h3 { font-size: 1.125rem; font-weight: 700; }
.constat p { font-size: .9375rem; color: var(--texte); }
.constat strong { color: var(--encre); font-weight: 600; }
.constat-num { font-family: var(--titre); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pale-2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prio { font-size: .75rem; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; text-transform: none; font-weight: 600; }
.prio-1 { background: var(--encre); color: #fff; }
.prio-2 { background: #e2f3f6; color: var(--encre); }
@media (max-width: 900px) { .demo-grille { grid-template-columns: minmax(0,1fr); } }
.avap { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: clamp(16px,3vw,32px); align-items: stretch; }
.avap-col { border-radius: 12px; padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.avap-avant { background: #f3f4f6; border: 1px solid var(--filet); }
.avap-apres { background: var(--encre); color: var(--sur-encre); }
.avap-titre { font-family: var(--titre); font-weight: 700; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; }
.avap-avant .avap-titre { color: var(--discret); }
.avap-apres .avap-titre { color: var(--pale-3); }
.avap ul { display: flex; flex-direction: column; gap: 8px; font-size: .9375rem; }
.avap li { padding-left: 20px; position: relative; }
.avap-avant li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: #b8c2cc; }
.avap-apres li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 2px; background: var(--pale-3); }
.avap-apres li { color: var(--sur-encre); }
.avap-chiffre { margin-top: auto; padding-top: 12px; font-family: var(--titre); font-weight: 700; font-size: clamp(1.75rem,3vw,2.25rem); line-height: 1; }
.avap-chiffre span { font-size: .875rem; font-weight: 500; color: inherit; opacity: .75; margin-left: 6px; }
.avap-avant .avap-chiffre { color: var(--discret); }
.avap-fleche { align-self: center; font-size: 2rem; color: var(--pale-2); }
.apropos .cadre { align-items: start; }
.portrait-cadre { display: inline-block; padding: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--pale-3), var(--pale-2)); margin-top: 8px; }
@media (max-width: 820px) { .avap { grid-template-columns: minmax(0,1fr); } .avap-fleche { transform: rotate(90deg); justify-self: center; } }
.portrait { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; display: block; border: 4px solid #fff; }

/* ouverture */
.ouverture .cadre { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.insecable { white-space: nowrap; }
.ouverture h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); font-weight: 700; letter-spacing: -0.025em; }
.ouverture .texte { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ouverture .chapeau { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); max-width: 54ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ouverture .eventail { width: min(100%, 360px); height: auto; margin-inline: auto; }

/* métiers */
.metiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.metier { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.metier .eventail { width: 52px; height: auto; }
.metier h3 { font-size: 1.375rem; font-weight: 700; }
.metier ul { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--filet); font-size: 0.9375rem; color: var(--discret); }

/* Nivalap */
.bande-activites { padding: clamp(18px, 3vw, 28px) 0; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); background: var(--papier); }
.bande-activites p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--encre); max-width: 60ch; }
.bande-activites a, .mention-app a { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.points ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.points > p { margin: 0; }
@media (max-width: 820px) { .produit .cadre { grid-template-columns: 1fr; } }

.produit { background: var(--voile); }
.produit .cadre { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.produit .texte { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.accroche { font-family: var(--titre); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.3; color: var(--encre); }
.etat {
  align-self: flex-start; font-family: var(--titre); font-weight: 600; font-size: 0.8125rem;
  padding: 6px 12px; border-radius: 999px; background: var(--papier); color: var(--encre); border: 1px solid var(--filet);
}
.signature { font-weight: 600; color: var(--encre); }
.points { background: var(--papier); border: 1px solid var(--filet); border-radius: 6px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.points li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; }
.points li::before { content: ""; width: 9px; height: 18px; margin-top: 4px; border-radius: 2px 6px 2px 6px; background: var(--pale-3); transform: skewX(-12deg); }
.points strong { color: var(--encre); font-weight: 600; }

/* méthode */
.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); counter-reset: etape; }
.etape { display: flex; flex-direction: column; gap: 10px; min-width: 0; counter-increment: etape; }
.etape::before { content: counter(etape); font-family: var(--titre); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--pale-3); font-variant-numeric: tabular-nums; }
.etape h3 { font-size: 1.25rem; font-weight: 700; }
.principe { margin-top: clamp(36px, 5vw, 64px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--filet); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px clamp(24px, 5vw, 72px); align-items: baseline; }
.principe .mot { font-family: var(--titre); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.125rem); color: var(--encre); line-height: 1.15; }

/* à propos */
.apropos .cadre { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px clamp(24px, 5vw, 72px); }
.apropos .texte { display: flex; flex-direction: column; gap: 16px; max-width: 62ch; }
.apropos { border-top: 1px solid var(--filet); }

/* contact */
.contact { background: var(--encre); color: var(--sur-encre); }
.contact .cadre { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.contact h2 { color: var(--sur-encre); }
.contact .texte { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.contact p { color: var(--sur-encre-discret); max-width: 52ch; }
.adresse { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.adresse a { font-family: var(--titre); font-weight: 600; font-size: clamp(1.25rem, 3vw, 1.875rem); color: var(--sur-encre); overflow-wrap: anywhere; }
.copier { font-family: var(--titre); font-weight: 600; font-size: 0.875rem; padding: 8px 14px; border-radius: 4px; border: 1.5px solid var(--sur-encre-discret); background: transparent; color: var(--sur-encre); cursor: pointer; }
.copier:hover { border-color: var(--sur-encre); }
.contact .lien { color: var(--sur-encre); }
.contact .eventail { width: min(100%, 240px); height: auto; margin-inline: auto; }
.contact .eventail .p1 { fill: var(--sur-encre); }
.contact .eventail .p2 { fill: var(--pale-2); }
.contact .eventail .p3 { fill: var(--pale-3); }

/* pied */
.pied { padding-block: 28px 36px; font-size: 0.875rem; color: var(--discret); }
.pied .cadre { display: flex; flex-direction: column; gap: 12px; }
.pied details { max-width: 70ch; }
.pied summary { cursor: pointer; color: var(--encre); font-weight: 600; width: fit-content; }
.pied details p { margin-top: 10px; }

@media (max-width: 820px) {
  .ouverture .cadre, .produit .cadre, .contact .cadre, .apropos .cadre, .principe { grid-template-columns: minmax(0, 1fr); }
  .metiers, .etapes { grid-template-columns: minmax(0, 1fr); }
  .ouverture .eventail { width: 180px; margin-inline: 0; order: -1; }
  .contact .eventail { display: none; }
  .nav { gap: 6px 18px; }
.nav .bouton { background: transparent; border: 0; padding: 0; color: var(--texte); font-family: var(--corps); font-weight: 500; text-decoration: underline; }
.nav .bouton:hover { background: transparent; color: var(--encre); }
}
