/* 01.12.2026 : page Logiciel de gestion en 3D, refaite « type Apple » : une idée par section, de grands visuels, peu de mots.
   Aucun script (CSP script-src 'none'). Apparition douce au défilement seulement si le navigateur sait le faire et si le mouvement est permis. */
@font-face { font-family: 'Playfair Display'; src: url(polices/playfair-display-latin-wght-normal.woff2) format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(polices/inter-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --creme: #F7F3EE; --creme-2: #EFE8DF; --encre: #1C1C1C; --gris: #5F5952; --nuit: #141210; --nuit-2: #1F1B18;
  --clair: #F2ECE4; --clair-2: #B8AEA3; --cuivre: #A9511C; --cuivre-vif: #E07A3D; --trait: #E3DACE;
  --large: min(1180px, calc(100% - 40px)); --etroit: min(760px, calc(100% - 40px));
  --titre: 'Playfair Display', Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--encre); font: 17px/1.55 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--cuivre-vif); outline-offset: 3px; border-radius: 4px; }

/* En-tête : sobre, sur le fond sombre du premier écran */
.lg-tete { position: absolute; inset: 0 0 auto; z-index: 2; }
.lg-tete .dedans { width: var(--large); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px 0; }
.lg-marque { font: 600 19px/1 var(--titre); color: var(--clair); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.lg-tete ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0 22px; }
.lg-tete ul a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--clair-2); text-decoration: none; white-space: nowrap; }
.lg-tete ul a:hover { color: var(--clair); }

/* Boutons */
.lg-bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--cuivre-vif); color: #1C120B; font-weight: 600; font-size: 17px; text-decoration: none; transition: background .2s; }
.lg-bouton:hover { background: #F08D50; }
.lg-lien { display: inline-flex; align-items: center; min-height: 50px; font-size: 17px; font-weight: 500; color: var(--cuivre-vif); text-decoration: none; }
.lg-lien:hover { text-decoration: underline; text-underline-offset: 4px; }
.clair .lg-lien { color: var(--cuivre); }
.lg-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; margin-top: 32px; }

/* Sections */
.lg-sec { padding: clamp(88px, 12vw, 160px) 0; text-align: center; }
.sombre { background: var(--nuit); color: var(--clair); }
.sombre-2 { background: var(--nuit-2); color: var(--clair); }
.clair { background: var(--creme); }
.clair-2 { background: var(--creme-2); }
.lg-surtitre { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cuivre-vif); }
.clair .lg-surtitre, .clair-2 .lg-surtitre { color: var(--cuivre); }
.lg-sec h1, .lg-sec h2 { margin: 0 auto; width: var(--large); font-family: var(--titre); font-weight: 500; letter-spacing: -.015em; text-wrap: balance; }
.lg-sec h1 { font-size: clamp(46px, 8.4vw, 104px); line-height: 1.02; }
.lg-sec h2 { font-size: clamp(38px, 6.2vw, 76px); line-height: 1.05; }
.lg-sous { width: var(--etroit); margin: 20px auto 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; color: var(--gris); text-wrap: balance; }
.sombre .lg-sous, .sombre-2 .lg-sous { color: var(--clair-2); }
.lg-note { width: var(--etroit); margin: 18px auto 0; font-size: 14px; color: var(--gris); }
.sombre .lg-note, .sombre-2 .lg-note { color: #8E847A; }

/* Premier écran */
.lg-hero { padding-top: clamp(120px, 15vw, 176px); padding-bottom: 0; overflow: hidden; }
.lg-ecran { width: var(--large); margin: clamp(48px, 7vw, 80px) auto 0; border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: 0 -1px 0 rgba(255,255,255,.08), 0 40px 120px rgba(224,122,61,.18); }
.lg-ecran img { width: 100%; }

/* Visuel encadré */
.lg-visuel { width: var(--large); margin: clamp(44px, 6vw, 72px) auto 0; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(28,20,12,.14); }
.sombre .lg-visuel, .sombre-2 .lg-visuel { box-shadow: 0 30px 90px rgba(0,0,0,.5); }

/* Décision : texte à gauche, panneau à droite */
.lg-duo { width: var(--large); margin: 0 auto; display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(40px, 7vw, 110px); align-items: center; text-align: left; }
.lg-duo h2, .lg-duo .lg-sous, .lg-duo .lg-note { width: auto; margin-left: 0; }
.lg-panneau { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(28,20,12,.16); }
.lg-faits { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.lg-faits li { font-size: 18px; padding-left: 26px; position: relative; }
.lg-faits li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--cuivre); }

/* Tuiles */
.lg-tuiles { width: var(--large); margin: clamp(44px, 6vw, 72px) auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.lg-tuile { background: var(--creme); border-radius: 20px; padding: 30px 26px 32px; }
.lg-tuile strong { display: block; font: 500 25px/1.15 var(--titre); margin-bottom: 10px; }
.lg-tuile p { margin: 0; color: var(--gris); font-size: 16px; }

/* Vidéo */
.lg-video { width: var(--large); margin: clamp(44px, 6vw, 72px) auto 0; }
.lg-video video { width: 100%; border-radius: 18px; background: #000; }

/* Pilote : les chiffres en très grand */
.lg-clause { width: var(--etroit); margin: clamp(48px, 7vw, 80px) auto 0; font: 500 clamp(26px, 3.4vw, 38px)/1.25 var(--titre); color: var(--clair); text-wrap: balance; }
.lg-clause::before { content: ''; display: block; width: 48px; height: 2px; margin: 0 auto 28px; background: var(--cuivre-vif); }

/* FAQ */
.lg-faq { width: var(--etroit); margin: clamp(36px, 5vw, 56px) auto 0; text-align: left; }
.lg-faq details { border-top: 1px solid var(--trait); }
.lg-faq details:last-child { border-bottom: 1px solid var(--trait); }
.lg-faq summary { min-height: 64px; padding: 18px 40px 18px 0; cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; position: relative; }
.lg-faq summary::-webkit-details-marker { display: none; }
.lg-faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 300; font-size: 28px; color: var(--cuivre); transition: transform .25s; }
.lg-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lg-faq details p { margin: 0 0 22px; color: #3D3833; font-size: 17px; }

/* Fin */
.lg-qui { width: var(--etroit); margin: 28px auto 0; display: grid; gap: 6px; font-size: 16px; color: var(--clair-2); }
.lg-qui strong { color: var(--clair); font-weight: 600; }
.lg-qui a { color: var(--clair); text-underline-offset: 3px; }
.lg-pied { background: var(--nuit); color: #8E847A; font-size: 13px; text-align: center; padding: 0 20px 36px; }
.lg-pied a { color: var(--clair-2); padding: 14px 2px; }   /* 01.12 : zone cliquable de 44 px */

/* Apparition douce au défilement (sans script) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .apparait { animation: lg-entree linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes lg-entree { from { opacity: 0; transform: translateY(40px) scale(.985); } to { opacity: 1; transform: none; } }
  }
}

/* Tablette et téléphone */
@media (max-width: 960px) {
  .lg-tuiles { grid-template-columns: 1fr 1fr; }
  .lg-duo { grid-template-columns: 1fr; text-align: center; }
  .lg-duo h2, .lg-duo .lg-sous, .lg-duo .lg-note { margin-left: auto; }
  .lg-duo .lg-faits { justify-items: center; }
  .lg-panneau { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .lg-tete .dedans { flex-wrap: wrap; padding: 8px 0 0; }
  .lg-tete nav { width: calc(100% + 40px); margin: 0 -20px; overflow-x: auto; scrollbar-width: none; }
  .lg-tete nav::-webkit-scrollbar { display: none; }
  .lg-tete ul { padding: 0 20px; width: max-content; gap: 0 18px; }
  .lg-hero { padding-top: 132px; }
  .lg-ecran { border-radius: 12px 12px 0 0; }
  .lg-visuel, .lg-video video { border-radius: 12px; }
  .lg-tuiles { grid-template-columns: 1fr; }
  .lg-actions { flex-direction: column; gap: 4px; }
  .lg-bouton { width: 100%; }
}
.insecable { white-space: nowrap; }
/* 01.12 (Mosane) : deux panneaux côte à côte, deux téléphones */
.lg-paire { width: var(--large); margin: clamp(44px, 6vw, 72px) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(16px, 3vw, 32px); align-items: center; }
.sombre-2 .lg-panneau, .sombre .lg-panneau { box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
.lg-hero .lg-note { margin-top: 14px; padding-bottom: 28px; }
.lg-hero { padding-bottom: 0; }
.lg-tels { width: var(--large); margin: clamp(44px, 6vw, 72px) auto 0; display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px); }
.lg-tels figure { margin: 0; width: min(300px, 42vw); }
.lg-tels img { width: 100%; border-radius: clamp(22px, 4vw, 40px); border: clamp(5px, 1vw, 9px) solid var(--encre); box-shadow: 0 30px 70px rgba(28, 20, 12, .22); }
.lg-tels figcaption { margin-top: 16px; font-size: 16px; font-weight: 600; color: var(--gris); }
@media (max-width: 760px) { .lg-paire { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .lg-duo .lg-faits { justify-items: start; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; } }
/* 01.12 (audit) : le pilote en une phrase, les prix dans le texte (plus de rangée de gros chiffres) */
.lg-phrase { width: var(--large); max-width: 30em; margin: clamp(28px, 4vw, 48px) auto 0; text-align: center; font: 400 clamp(26px, 3.4vw, 42px)/1.25 var(--titre); text-wrap: balance; }
.lg-phrase b { font-weight: 600; color: var(--cuivre-vif); }
