/* Cette feuille est chargée uniquement pour les vues qui affichent accueil.html. */
#wrapper {
    font-family: system-ui, sans-serif;
    color: #202c3e;
    line-height: 1.5;
}
#wrapper #content {
    width: min(58rem, calc(100% - 2rem));
    max-width: none !important;
    flex-grow: 0;
}
.sp-home { font-size: 1rem; }
.sp-home .welcome { margin-block: clamp(1rem,2.2vw,2rem); overflow: hidden; background: white; border: 1px solid #d9e0e8; border-radius: .95rem; box-shadow: var(--sp-surface-shadow); }
.sp-home .photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; object-position: center 51%; }
.sp-home .body { text-align: center; padding: clamp(1.4rem,3.2vw,2.7rem) clamp(1.1rem,5vw,4.5rem) 1.5rem; }
.sp-home h1 { margin: 0; color: #202c3e; font-size: clamp(1.55rem,3.4vw,2.48rem); letter-spacing: -.048em; line-height: 1.15; font-weight: 700; text-wrap: balance; }
.sp-home .intro { max-width: 64ch; margin: .85rem auto 1.45rem; color: #48586c; font-size: 1rem; text-wrap: pretty; }
.sp-home .choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.sp-home .choice { display: flex; align-items: center; justify-content: space-between; gap: .45rem; padding: 1.05rem 1.15rem; border: 1px solid; border-radius: .65rem; text-decoration: none; text-align: left; }
.sp-home .choice strong, .sp-home .choice small { display: block; }
.sp-home .choice strong { font-size: clamp(1.06rem,1.6vw,1.28rem); font-weight: 680; letter-spacing: -.025em; line-height: 1.2; }
.sp-home .choice small { margin-top: .25rem; font-size: .86rem; }
.sp-home .companies { background: #ffebc6; border-color: #e8c98f; color: #503915; }
.sp-home .firms { background: #e3efda; border-color: #c2d7b3; color: #30492a; }
.sp-home .companies:hover { background: #ffe0a7; }
.sp-home .firms:hover { background: #d4e9c7; }
.sp-home .arrow { font: 1.35rem/1 Arial, sans-serif; }
.sp-home .resume { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .65rem; color: #285594; font-weight: 600; font-size: .91rem; text-decoration: underline; text-underline-offset: .18rem; }
.sp-home a:focus-visible { outline: 3px solid #285db8; outline-offset: 3px; }
@media (max-width: 620px) {
    #wrapper #content { width: calc(100% - 1.4rem); }
    .sp-home .photo { aspect-ratio: 2.15 / 1; }
    .sp-home .body { padding-bottom: .85rem; }
    .sp-home .intro { margin: .65rem auto 1.15rem; font-size: .96rem; }
    .sp-home .choices { grid-template-columns: 1fr; gap: .5rem; }
    .sp-home .choice { padding: .8rem 1rem; }
}
