/* Idéal Web — correctifs locaux de lisibilité et de mise en page
   Ne modifie ni navigation, ni parcours, ni video. */
html { overflow-x: clip; }
body { overflow-x: clip; }
.video-section, .video-section .shell, .video-wrap { max-width: 100%; min-width: 0; }
.video-wrap video { display: block; max-width: 100%; height: auto; aspect-ratio: 1280 / 674; object-fit: cover; }
/* Contraste des textes secondaires sur fond clair */
.hero-lead, .video-section p, .breadcrumbs, .breadcrumbs ol,
section p, section li { color: #354f45; }
.hero-proof span { color: #173d30; }
/* Garder des boutons lisibles, sans changer leur destination */
a.button, button.button { font-weight: 700; }
:where(a,button,input,select,textarea):focus-visible { outline: 3px solid #126b45; outline-offset: 3px; }
/* Empêcher les grilles et médias de pousser la largeur du viewport */
.shell, .hero-grid, .hero-grid > *, .video-wrap, main, section { min-width: 0; }
img, svg, video { max-width: 100%; }
@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 1180px); margin-inline: auto; }
  .hero-grid { display: grid; grid-template-columns: minmax(0,1fr); }
  .hero h1, .hero-lead, .hero-actions, .hero-proof { max-width: 100%; }
  .hero h1 { overflow-wrap: break-word; }
  .hero-actions { justify-items: stretch; }
  .video-wrap { border-radius: 18px; }
  .video-section { padding-inline: 0; }
}
@media (max-width: 420px) {
  .shell { width: calc(100% - 28px); }
  .hero-proof { grid-template-columns: minmax(0,1fr); }
}
