diff --git a/landing/src/App.jsx b/landing/src/App.jsx index e5b75e5..314e12a 100644 --- a/landing/src/App.jsx +++ b/landing/src/App.jsx @@ -759,7 +759,7 @@ function HeroGraph({ className = '' }) {
diff --git a/landing/src/index.css b/landing/src/index.css index 0508dda..f9a3a92 100644 --- a/landing/src/index.css +++ b/landing/src/index.css @@ -102,9 +102,9 @@ html.logo-intro .lk-nom { animation: lk-nom 700ms var(--ease-out) 380ms both; } .hero-txt { display: grid; gap: 24px; justify-items: start; } .hero-txt .t-d1 { max-width: 17ch; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; } .hero-txt .lede { max-width: 44ch; } -/* Le visuel du hero déborde sur la marge droite, jamais au-delà de l'écran (24px de garde pour la barre de défilement) */ +/* Le visuel du hero gagne un peu de place sur la gouttière et la marge droite (80px au plus, 24px de garde pour la barre de défilement) */ @media (min-width: 1024px) { - .hero-graph { max-width: none; margin-left: -40px; width: calc(100% + 40px + var(--gut) + max(0px, (100vw - 1200px) / 2) - 24px); } + .hero-graph { max-width: none; margin-left: -40px; width: calc(100% + 40px + min(80px, var(--gut) + max(0px, (100vw - 1200px) / 2) - 24px)); } } .ctas { display: flex; gap: 10px; flex-wrap: wrap; }