/* Page « Rester en contact ». Pensée d'abord pour un téléphone tenu à la main, devant les œuvres. */
.rester-page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body.rester-page>header{position:relative;display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:24px 3%;min-height:0}
.rester-page main{flex:1;padding:0 5%}
.rester-page .muted{opacity:.62}
.rester{max-width:560px;margin:0 auto;padding:70px 0 80px}
.rester h1{font:inherit;font-size:48px;font-weight:400;line-height:1.05;margin:0 0 20px}
.rester h1:focus{outline:none}
.rester-intro{margin:0 0 36px;line-height:1.55}

.rester-form{gap:20px}
.rester-form label>span:first-child{line-height:1.3}
.rester-form input:not([type=checkbox]){min-height:50px;padding:12px;font-size:max(16px,1em)}
.rester-form input:focus-visible{outline:1px solid #35352e;outline-offset:2px}
.rester-form input[aria-invalid=true],.rester-form textarea[aria-invalid=true]{border-color:#b3261e}

.rester-form textarea{min-height:130px;padding:12px;font-size:max(16px,1em)}
.rester-form textarea:focus-visible{outline:1px solid #35352e;outline-offset:2px}
.rester-form .rester-consent{grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;cursor:pointer;margin-top:2px}
.rester-consent input{width:16px;height:16px;margin:3px 0 0;accent-color:#252520}
.rester-consent input:focus-visible{outline:1px solid #35352e;outline-offset:2px}
.rester-consent input[aria-invalid=true]{outline:1px solid #b3261e;outline-offset:2px}
.rester-consent>span{line-height:1.35}
.rester-consent small{display:block;font-size:.75em;opacity:.75;margin-top:2px}

.rester-form .rester-submit{justify-self:stretch;min-height:54px;margin-top:8px;background:#252520;color:#f3f2ec;border-color:#252520}
.rester-form .rester-submit:hover{background:#3a3a33}
.rester-form .rester-submit:focus-visible{outline:1px solid #35352e;outline-offset:3px}
.rester-form .contact-status{margin:0;min-height:1.35em}
.rester-form .contact-status.error{color:#b3261e}
.rester-legal{font-size:.8em;line-height:1.5;opacity:.62}

.rester-done{display:grid;gap:14px;line-height:1.55}.rester-done p{margin:0}
.rester-done-links{margin-top:16px!important}
.rester-done-links a{text-decoration:underline;text-underline-offset:5px}

@media(max-width:700px){
 body.rester-page>header{padding:max(16px,env(safe-area-inset-top)) 16px 16px}
 .rester-page main{padding:0 16px}
 .rester{padding:28px 0 48px;padding-bottom:max(48px,env(safe-area-inset-bottom))}
 .rester h1{font-size:36px;margin-bottom:14px}
 .rester-intro{margin-bottom:26px}
 .rester-form{gap:18px}
 body.rester-page>footer{padding:22px 16px}
}
