/* Composition immersive lumineuse : platine, vert et rouge. */
.globe-page{background:#eee;color:#243026}
.globe-page .prototype{display:none}
.globe-page .site-header{position:relative;z-index:10;background:#498c3c}
.globe-page .compact-header>.wrap{padding-top:0}
.globe-page .compact-header .header-row{min-height:80px;border:0}
.globe-comparison{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;min-height:42px;color:#505b50}
.globe-comparison>div{display:flex;gap:24px;align-items:center}
.globe-comparison a{color:#315f29;display:flex;align-items:center;min-height:36px}
.globe-hero{position:relative;isolation:isolate;overflow:hidden;min-height:900px;padding:30px 0 350px;background:#eee;text-align:center}
.globe-copy{position:relative;z-index:2;display:flex;align-items:center;flex-direction:column}
.globe-copy h1{font:800 clamp(48px,7vw,94px)/1 var(--font-title);letter-spacing:.08em;color:#243026;max-width:none;margin-bottom:22px}
.globe-copy .pill{background:#eeeeeed9;border:1px solid #c4cdc0;color:#315f29;font-size:12px;margin-bottom:20px;padding:7px 16px;box-shadow:0 4px 12px #24302605}
.globe-words{font:600 clamp(38px,4vw,58px)/1.12 var(--font-title);letter-spacing:-.03em;min-height:1.12em;max-width:none;color:#da2525}
.globe-words .type-line{display:block;min-height:1.12em;white-space:nowrap}
.globe-copy .typing-toggle{font-size:11px;min-height:34px;margin:0}
.globe-copy h2{font:500 clamp(24px,2.5vw,32px)/1.3 var(--font-title);margin-top:6px}
.globe-lead{font-size:17px;line-height:1.65;max-width:70ch;margin:14px auto 0;color:#243026}
.globe-principles{display:flex;justify-content:center;gap:32px;margin-top:22px;font-size:13px;color:#315f29;font-weight:600}
.globe-principles>span+span{position:relative}
.globe-principles>span+span:before{content:'';position:absolute;left:-17px;top:9px;width:3px;height:3px;border-radius:50%;background:#498c3c}
.globe-primary{margin-top:24px;padding:14px 28px;min-height:50px;gap:16px;box-shadow:0 8px 24px #da25251a;font-size:14px}
.earth-stage{position:absolute;z-index:0;left:50%;bottom:-150px;width:max(1100px,118vw);max-width:1800px;transform:translateX(-50%);margin:0;pointer-events:none;aspect-ratio:1672/941}
.earth-stage img{width:100%;max-width:none;height:100%;display:block;object-fit:contain;mask-image:linear-gradient(to bottom,transparent 0%,#000 24%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 24%)}
.earth-route{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.earth-route-shadow{fill:none;stroke:#fff;stroke-width:7;opacity:.8}
.earth-route-line{fill:none;stroke:#da2525;stroke-width:2.5;stroke-linecap:round}
.globe-art-note{position:absolute;bottom:20px;left:24px;z-index:2;font-size:10px;background:#eeeeeee8;color:#505b50;border-radius:4px;padding:6px 10px;text-align:left}
.globe-scroll{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);z-index:3;width:46px;height:46px;display:flex;align-items:center;justify-content:center;border:1px solid #aebda6;border-radius:50%;background:#eeeeeedb;color:#315f29;text-decoration:none;font-size:25px}
.globe-scroll:hover{background:#fff}
.globe-mobile-territories{display:none}
.light-story{padding-block:90px;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;scroll-margin-top:24px}
.light-kicker{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:#315f29;font-weight:600;margin-bottom:22px}
.light-story h2{font-size:clamp(30px,3.8vw,50px);font-weight:600;letter-spacing:-.035em;line-height:1.2}
.light-story-heading>p:last-child{font-size:17px;color:#505b50;margin-top:24px}
.light-story-content>p:first-child{font-size:20px;line-height:1.65}
.light-disclaimer{font-size:11px;color:#505b50;margin-top:18px}
.light-story-content .text-link{margin-top:18px}
.light-actions{background:#e3e8df;padding-block:72px}
.light-actions-heading{text-align:center;margin-bottom:40px}
.light-actions-heading .light-kicker{margin-inline:auto;margin-bottom:16px}
.light-actions h2{font-size:clamp(28px,3vw,40px)}
.light-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.light-action-grid article{padding:28px;border:1px solid #bbc7b4;border-radius:12px;background:#eeeeee80}
.light-number{font-size:11px;color:#315f29;display:block;margin-bottom:24px}
.light-action-grid h3{font-size:23px;font-weight:600;line-height:1.25}
.light-action-grid p{font-size:16px;line-height:1.6;margin-top:16px}
.light-action-grid a{font-size:14px;margin-top:22px}
.light-extra-links{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;margin-top:34px;font-size:14px}
.light-extra-links a{display:flex;align-items:center;min-height:44px;color:#315f29}
.globe-page .reveal-on-scroll{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.globe-page .reveal-on-scroll.is-visible{opacity:1;transform:none}
@media(min-width:1440px){.globe-hero{padding-bottom:380px;min-height:940px}}
@media(max-width:719px){.globe-comparison{font-size:10px;flex-wrap:wrap;gap:0;padding-block:5px}.globe-comparison>div{gap:18px}.globe-hero{padding-top:30px;padding-bottom:300px;min-height:0}.globe-copy h1{font-size:clamp(42px,11vw,70px);margin-bottom:20px}.globe-copy .pill{font-size:10px;padding:7px 11px}.globe-words{font-size:38px}.globe-lead{font-size:16px;line-height:1.7}.globe-principles{gap:22px;font-size:11px}.globe-principles>span+span:before{left:-12px;top:8px}.earth-stage{width:860px;bottom:-30px}.earth-route{display:none}.globe-mobile-territories{position:absolute;display:flex;gap:22px;bottom:115px;left:50%;transform:translateX(-50%);z-index:2;background:#eeeeeee8;padding:7px 16px;border:1px solid #b3c0ab;border-radius:30px;color:#315f29;font-size:12px}.globe-art-note{bottom:9px;left:12px;right:12px;font-size:8px;text-align:center}.globe-scroll{bottom:41px;width:40px;height:40px}.light-story{padding-block:54px;grid-template-columns:1fr;gap:28px}.light-story-content>p:first-child{font-size:18px}.light-actions{padding-block:54px}.light-action-grid{grid-template-columns:1fr}.light-action-grid article{padding:24px}.light-number{margin-bottom:18px}.light-extra-links{gap:10px 24px}}
@media(prefers-reduced-motion:reduce){.globe-page .reveal-on-scroll{opacity:1;transform:none;transition:none}}
@media print{.globe-comparison,.globe-scroll{display:none}.globe-hero{min-height:0;padding-bottom:320px}.globe-page [data-reveal]{opacity:1!important;transform:none!important}}

/* Globe 3D lent : une révolution en quatre minutes. */
.globe-hero{min-height:820px;padding-bottom:290px}
.earth-stage{width:min(1440px,max(1000px,118vw));height:clamp(360px,34vw,500px);bottom:0;aspect-ratio:auto}
.earth-stage canvas{display:block;width:100%;height:100%;mask-image:linear-gradient(to bottom,transparent,#000 12%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%)}
.earth-stage[data-render=static-fallback] img{object-fit:cover;object-position:center bottom}
.earth-pause{position:absolute;right:24px;bottom:18px;z-index:4;min-height:44px;padding:8px 14px;background:#eeeeeef2;border:1px solid #8d9e83;border-radius:24px;color:#315f29;font-size:12px;cursor:pointer}
.earth-pause:hover{background:#fff}
.globe-art-note{max-width:42ch}
.globe-art-note a{color:#505b50}
@media(max-width:719px){.globe-hero{min-height:0;padding-bottom:290px}.earth-stage{width:850px;height:330px;bottom:0}.earth-pause{right:12px;bottom:42px;font-size:10px;padding:6px 10px;min-height:40px}.globe-art-note{left:12px;right:auto;font-size:8px;bottom:10px;max-width:85%}}
@media print{.earth-pause{display:none}}

/* Le globe se dissout dans le fond platine avant la section de lecture. */
.globe-hero:after{content:'';position:absolute;z-index:1;left:0;right:0;bottom:-1px;height:clamp(130px,16vw,220px);background:linear-gradient(to bottom,rgba(238,238,238,0) 0%,rgba(238,238,238,.12) 20%,rgba(238,238,238,.46) 48%,rgba(238,238,238,.84) 76%,#eee 100%);pointer-events:none}
.globe-page .light-story{padding-top:64px}
@media(max-width:719px){.globe-hero:after{height:140px}.globe-page .light-story{padding-top:40px}}

/* En-tête léger : logo discret, navigation en capsule, actions à droite. */
.globe-page .capsule-header{background:#eee}
.globe-page .capsule-header .header-row{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;min-height:80px;padding-block:14px}
.globe-page .capsule-header .header-brand{font-size:25px;color:#243026;gap:8px;justify-self:start;letter-spacing:-.04em}
.globe-page .capsule-header .header-brand svg{width:29px;height:29px;color:#315f29}
.globe-page .capsule-header .header-brand .accent-text{color:#da2525}
.capsule-nav{display:flex;align-items:center;gap:2px;padding:4px;background:#e1e5de;border:1px solid #d7ddd2;border-radius:50px}
.capsule-nav a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 10px;border-radius:30px;color:#243026!important;font-size:13px;font-weight:500;text-decoration:none;white-space:nowrap}
.capsule-nav a:hover{background:#f7f8f5;color:#315f29!important}
.capsule-actions{display:flex;align-items:center;gap:9px;justify-self:end}
.capsule-actions>a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:30px;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.globe-page .capsule-header .capsule-contact{background:transparent;border:1px solid #818d7b;color:#243026}
.globe-page .capsule-header .capsule-contact:hover{background:#e3e8df}
.globe-page .capsule-header .capsule-join{background:#da2525;border:1px solid #da2525;color:#fff}
.globe-page .capsule-header .capsule-join:hover{background:#315f29;border-color:#315f29}
.globe-page .capsule-header a:focus-visible,.globe-page .capsule-header .menu-toggle:focus-visible{outline:3px solid #315f29;outline-offset:4px}
.globe-page .capsule-header .menu-toggle{display:none;color:#243026}
.globe-page .capsule-header .menu-toggle:hover{background:#dce3d7}
.globe-page .globe-comparison{border-top:1px solid #d7ddd2}
@media(max-width:899px){.globe-page .capsule-header .header-row{grid-template-columns:1fr auto}.capsule-nav{display:none}.globe-page .capsule-header .menu-toggle{display:flex}}
@media(max-width:719px){.globe-page .capsule-header .header-row{min-height:74px;padding-block:12px;gap:12px}.capsule-actions>a{min-height:44px;font-size:12px;padding:9px 14px}.globe-page .capsule-header .capsule-contact{display:none}.globe-page .capsule-header .header-brand{font-size:24px}}
@media(max-width:519px){.globe-page .capsule-header .capsule-join{display:none}}
@media print{.capsule-nav,.capsule-actions{display:none}}


/* Composition resserrée : davantage de Terre, moins d'espace avant le bouton. */
.globe-page .globe-hero{min-height:0;padding:8px 0 0}
.globe-page .globe-copy h1{font-size:clamp(44px,5.2vw,68px);margin-bottom:10px}
.globe-page .globe-copy .pill{margin-bottom:10px;padding:5px 14px}
.globe-page .globe-words{margin:0;font-size:clamp(34px,3.4vw,48px)}
.globe-page .globe-copy .typing-toggle{min-height:28px;padding:4px 0}
.globe-page .globe-copy h2{font-size:clamp(23px,2.1vw,28px);margin-top:2px}
.globe-page .globe-lead{font-size:16px;line-height:1.55;max-width:78ch;margin-top:8px}
.globe-page .globe-principles{margin-top:12px}
.globe-page .globe-primary{margin-top:14px;min-height:46px;padding:11px 25px}
.globe-page .earth-stage{position:relative;width:min(1100px,100vw);height:min(682px,62vw);left:50%;bottom:auto;margin-top:-8px;max-width:none}
.globe-page .earth-stage canvas{mask-image:linear-gradient(to bottom,transparent,#000 7%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 7%)}
.globe-page .capsule-header .header-row{gap:16px}
.globe-page .capsule-nav{gap:0}
.globe-page .capsule-nav a{font-size:12px;padding-inline:8px}
.globe-page .capsule-actions>a{padding-inline:14px}
@media(max-width:719px){
 .globe-page .globe-hero{padding-top:10px}
 .globe-page .globe-copy h1{font-size:44px;margin-bottom:10px}
 .globe-page .globe-copy .pill{font-size:10px;margin-bottom:8px}
 .globe-page .globe-words{font-size:34px}
 .globe-page .globe-lead{font-size:15px;line-height:1.6;max-width:44ch}
 .globe-page .globe-principles{gap:22px;font-size:11px;margin-top:12px}
 .globe-page .earth-stage{width:min(700px,140vw);height:min(434px,86.8vw);margin-top:0}
 .globe-page .globe-hero:after{height:100px}
}

/* Lisibilité : le contenu reste visible même sans exécution des animations. */
.globe-page .reveal-on-scroll,
.globe-page .reveal-on-scroll.is-visible{opacity:1;transform:none;transition:none}
.globe-page .light-story,
.globe-page .light-story-heading>p:last-child,
.globe-page .light-story-content,
.globe-page .light-action-grid p,
.globe-page .globe-lead{color:#18251b}
.globe-page .light-disclaimer,
.globe-page .light-number,
.globe-page .typing-toggle{color:#354331;font-size:14px}

/* Keep the home navigation above the section reached from the globe. */
html:has(body.globe-page) { scroll-padding-top: var(--globe-header-height, 80px); }
html.lecodev-trial body.globe-page > .site-header.compact-header.capsule-header {
  position: sticky;
  inset-block-start: 0;
  background-color: var(--trial-paper, #f5f2ec) !important;
}
.globe-page main #partenariat-esg {
  scroll-margin-top: 0;
  padding-block-start: clamp(.8rem, 2.5vw, 1.85rem);
}
@media (max-width: 719px) {
  html:has(body.globe-page) { scroll-padding-top: var(--globe-header-height, 74px); }
}
@media (min-width: 720px) and (max-width: 1100px) {
  html:has(body.globe-page) { scroll-padding-top: var(--globe-header-height, 127px); }
}
@media print {
  html.lecodev-trial body.globe-page > .site-header.compact-header.capsule-header { position: static; }
}

.globe-page .network-feature-actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-block: 1rem .65rem;
}
html.lecodev-trial body.globe-page .drive-feature .network-feature-actions .btn {
  inline-size: max-content;
  max-inline-size: 100%;
  min-height: 44px;
  padding: 7px 13px;
  margin: 0;
  font-size: .85rem;
  line-height: 1.25;
  border-radius: 8px;
  text-align: center;
  background-color: #f3ede3 !important;
}
html.lecodev-trial body.globe-page .drive-feature .network-feature-actions .btn.secondary {
  border-color: #8c7b64 !important;
}
