/* Reading roles validated by Daniel, 2026-10-31. Titles and document previews keep their own composition. */
:root{--type-reading-size:18px;--type-reading-line:28px;--type-compact-size:16px;--type-compact-line:24px;--type-caption-size:14px;--type-caption-line:20px}
/* Footer only: two linked panels, a compact utility row and four balanced groups. */
.mv-footer .mv-footer-grid{position:relative;gap:30px;align-items:stretch}
.mv-footer .mv-footer-grid>.mv-footer-card{position:relative;min-width:0}
.mv-footer .mv-footer-grid>.mv-footer-card:nth-child(2)::before{content:'';position:absolute;left:-31px;top:50%;transform:translateY(-50%);width:32px;height:50px;background:var(--ui-surface);mask:url('assets/mivora-review-junction.svg') center/100% 100% no-repeat;-webkit-mask:url('assets/mivora-review-junction.svg') center/100% 100% no-repeat;pointer-events:none}
.mv-footer .mv-footer-grid>.mv-footer-card:nth-child(2){padding:0;display:block}
.mv-footer .mv-footer-grid>.contact{padding:40px;gap:18px;min-height:520px}
.mv-footer #contact>.mv-footer-tagline{font:400 var(--type-caption-size)/var(--type-caption-line) Geist,sans-serif;margin-top:-8px}
.mv-footer #contact>h2{margin-top:12px;max-width:560px}
.mv-footer #contact>p:not(.mv-small-copy):not(.mv-footer-tagline){font:400 var(--type-reading-size)/var(--type-reading-line) Geist,sans-serif;max-width:46ch}
.mv-footer .mv-footer-links{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr auto;gap:0;height:100%;padding:0}
.mv-footer .mv-footer-links>div{padding:24px 32px;min-width:0}
.mv-footer .mv-footer-links>div:nth-child(odd){border-right:1px dashed var(--ui-line)}
.mv-footer .mv-footer-links>div:nth-child(-n+2){border-bottom:1px dashed var(--ui-line)}
.mv-footer .mv-footer-links h3{margin:0 0 12px;font:500 18px/24px 'Bricolage Grotesque',sans-serif;text-wrap:balance}
.mv-footer .mv-footer-links p{font:400 var(--type-compact-size)/var(--type-compact-line) Geist,sans-serif;margin:0 0 8px}
.mv-footer .mv-footer-links p:last-child{margin-bottom:0}
.mv-footer .mv-footer-links a{display:flex;align-items:center;min-height:44px;margin:0;padding:8px 0;font:400 var(--type-caption-size)/var(--type-caption-line) Geist,sans-serif;text-decoration:none;overflow-wrap:anywhere}
.mv-footer .mv-footer-links a:hover{text-decoration:underline;text-underline-offset:4px}
.mv-footer .mv-footer-links .mv-footer-pages{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-rows:min-content;column-gap:20px;align-content:start}
.mv-footer .mv-footer-pages>h3{grid-column:1/-1}
.mv-footer .mv-footer-nav-links,.mv-footer .mv-footer-guides{display:contents}
.mv-footer .mv-footer-pages>h3,.mv-footer .mv-footer-contact-links>h3{margin-bottom:8px}
.mv-footer .mv-footer-pages a,.mv-footer .mv-footer-contact-links a{padding-top:2px;padding-bottom:2px}
.mv-footer .mv-footer-group-label,.mv-footer .mv-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mv-footer .mv-footer-preferences{width:100%;display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:auto;padding-top:12px}
.mv-footer .mv-footer-preferences .mv-footer-toggles{display:flex;flex-wrap:nowrap;align-items:center;gap:2px;margin:0;padding:3px;background-color:var(--ui-soft);border:1px solid var(--ui-line);border-radius:999px}
.mv-footer .mv-footer-preferences .mv-footer-toggles button{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background-color:transparent;color:var(--ui-muted);box-shadow:none;font:500 14px/20px Geist,sans-serif;cursor:pointer}
.mv-footer .mv-footer-preferences .mv-footer-toggles button[aria-pressed=true]{background-color:var(--ui-action);color:var(--ui-action-text);box-shadow:none}
.mv-footer .mv-footer-preferences svg{display:block;width:20px;height:20px;pointer-events:none}
.mv-footer .mv-footer-meta{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 20px;padding-top:12px;border-top:1px solid var(--ui-line)}
.mv-footer .mv-footer-legal{width:100%;display:flex;flex-wrap:wrap;column-gap:20px;align-items:center}
.mv-footer .mv-footer-legal a{display:flex;align-items:center;min-height:44px;padding:8px 0;font:400 var(--type-caption-size)/var(--type-caption-line) Geist,sans-serif;color:var(--ui-muted);text-decoration:none}
.mv-footer .mv-footer-legal a:hover{text-decoration:underline;text-underline-offset:4px}
.mv-footer .mv-footer-meta .mv-small-copy{margin:0;font:400 var(--type-caption-size)/var(--type-caption-line) Geist,sans-serif}
.mv-footer .mv-footer-social-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.mv-footer .mv-footer-social-links>a:not(.mv-footer-google){position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--ui-line);border-radius:50%;color:var(--ui-text)}
.mv-footer .mv-footer-social-links svg{width:20px;height:20px;flex:none;color:currentColor}
.mv-footer .mv-footer-social-links .mv-footer-google{flex:1;min-width:140px;margin-top:0;padding:8px 0;border:0;border-radius:0}
.mv-footer .mv-footer-social .mv-footer-link-note{margin:4px 0 0;font:400 var(--type-caption-size)/var(--type-caption-line) Geist,sans-serif}
.mv-footer .mv-control-tooltip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%,4px);z-index:5;max-width:200px;white-space:nowrap;border:1px solid var(--ui-line);border-radius:6px;padding:6px 9px;background-color:var(--ui-action);color:var(--ui-action-text);font:400 14px/20px Geist,sans-serif;opacity:0;pointer-events:none;transition:opacity 180ms ease-in-out,transform 180ms ease-in-out}
.mv-footer :is(button,a):focus-visible>.mv-control-tooltip{opacity:1;transform:translate(-50%,0)}
.mv-footer :is(a,button):focus-visible{outline:2px solid var(--ui-focus);outline-offset:4px}
.mv-footer #accompagnement{scroll-margin-top:132px}
@media(hover:hover) and (pointer:fine){
 .mv-footer .mv-footer-preferences button,.mv-footer .mv-footer-social-links>a{transition:background-color 200ms ease-in-out,color 200ms ease-in-out,border-color 200ms ease-in-out}
 .mv-footer .mv-footer-preferences button:not([aria-pressed=true]):hover,.mv-footer .mv-footer-social-links>a:not(.mv-footer-google):hover{background-color:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-strong)}
 .mv-footer :is(button,a):hover>.mv-control-tooltip{opacity:1;transform:translate(-50%,0)}
}
@media(min-width:620px) and (hover:hover) and (pointer:fine){
 .mv-footer .mv-footer-pages a,.mv-footer .mv-footer-contact-links a{min-height:36px}
}
@media(max-width:1199px){
 .mv-footer .mv-footer-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .mv-footer .mv-footer-grid>.contact{padding:36px;gap:18px;min-height:0}
 .mv-footer .mv-footer-grid>.mv-footer-card:nth-child(2)::before{left:50%;top:-28px;transform:translateX(-50%) rotate(90deg)}
 .mv-footer .mv-footer-links>div{padding:24px 32px}
}
@media(max-width:619px){
 footer.mv-footer{padding-top:64px;padding-bottom:64px}
 .mv-footer .mv-footer-grid>.contact{padding:24px;gap:16px}
 .mv-footer .mv-footer-preferences{gap:12px;padding-top:8px}
 .mv-footer .mv-footer-links{grid-template-rows:auto}
 .mv-footer .mv-footer-links>div{padding:16px 20px}
 .mv-footer .mv-footer-links>.mv-footer-pages,.mv-footer .mv-footer-links>.mv-footer-support{grid-column:1/-1;border-right:0}
 .mv-footer .mv-footer-links h3{font-size:18px;line-height:24px}
 .mv-footer .mv-footer-links .mv-footer-pages{column-gap:20px}
 .mv-footer .mv-footer-meta{display:block}
 .mv-footer .mv-footer-legal{column-gap:16px;margin-bottom:8px}
 .mv-footer .mv-footer-social-links .mv-footer-google{flex-basis:100%;min-width:0;margin-top:0}
 .mv-footer .mv-footer-meta p+p{margin-top:6px}
}
@media(max-width:359px){
 .mv-footer .mv-footer-grid>.contact{padding:20px}
 .mv-footer .mv-footer-preferences{gap:8px}
 .mv-footer .mv-footer-links>div{padding:16px}
 .mv-footer .mv-footer-links h3{font-size:16px;line-height:24px}
}
@media(prefers-reduced-motion:reduce){.mv-footer .mv-control-tooltip,.mv-footer .mv-footer-preferences button,.mv-footer .mv-footer-social-links>a{transition:none}}
