:root{--ink:#0f1829;--blue:#0275d9;--coral:#ff7979;--yellow:#ffc365;--muted:#626976;--line:#e3e6eb;--paper:#fff;--display:'Manrope',Arial,sans-serif;--body:'Manrope',Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:16px;-webkit-font-smoothing:antialiased}.page{max-width:1440px;margin:auto;padding:0 6.2%}.header{height:136px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brands{width:367px;height:84px;background:url('assets/invitation.png') -85px -56px / 760px auto no-repeat}.private-label{font-size:12px;letter-spacing:.16em;font-weight:600}main{display:grid;grid-template-columns:1.18fr 1fr;gap:8%;padding:64px 0;align-items:center}
h1{font-family:var(--display);font-size:clamp(46px,5.3vw,76px);font-weight:800;letter-spacing:-.065em;line-height:1.04;margin:0 0 28px;position:relative;z-index:0}.last-word{position:relative;white-space:nowrap}.period{color:var(--yellow)}.sun{position:absolute;z-index:-1;right:-31px;top:-23px;width:103px;height:103px;background:var(--yellow);clip-path:polygon(50% 0%,57% 26%,75% 7%,75% 33%,93% 25%,81% 45%,100% 50%,77% 57%,93% 75%,67% 75%,75% 93%,55% 81%,50% 100%,43% 77%,25% 93%,25% 67%,7% 75%,19% 55%,0% 50%,23% 43%,7% 25%,33% 25%,25% 7%,45% 19%)}.tags{display:flex;gap:8px;flex-wrap:wrap}.tags span{background:var(--yellow);border-radius:30px;font-size:12px;font-weight:600;letter-spacing:.02em;padding:9px 16px}.intro{font-family:Georgia,serif;font-style:italic;font-size:27px;line-height:1.35;margin:31px 0 17px}.description{font-size:15px;line-height:1.75;color:var(--muted);max-width:460px;margin:0}.description strong{font-weight:600;color:var(--ink)}.details{border-top:1px solid var(--line);margin-top:30px;padding-top:26px;display:grid;gap:21px}.detail{display:flex;gap:15px;align-items:flex-start}.detail svg{width:22px;height:22px;flex-shrink:0;margin-top:2px}.detail strong{display:block;font-size:15px;font-weight:700;margin-bottom:5px}.detail span{display:block;font-size:14px;color:var(--muted);line-height:1.5}.detail small{display:block;font-size:12px;color:var(--muted);line-height:1.5;margin-top:6px}
.card{background:var(--blue);color:#fff;border-radius:6px;padding:38px 36px 30px;position:relative;overflow:hidden;box-shadow:0 18px 50px #0275d916}h2{font-family:var(--display);font-size:38px;font-weight:300;letter-spacing:-.045em;line-height:1.15;margin:0 0 19px;position:relative}h2 strong{font-weight:800}.card-intro{font-size:15px;line-height:1.6;color:#fff;margin:0 0 29px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}label{font-size:14px;display:block;margin-bottom:9px;font-weight:500}input{width:100%;min-width:0;border:1px solid white;border-radius:3px;background:white;color:var(--ink);font:inherit;font-size:16px;height:51px;padding:0 13px}input::placeholder{color:#656d79;font-size:14px}input:focus{outline:2px solid var(--yellow);outline-offset:3px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}.submit{width:100%;background:var(--coral);color:var(--ink);border:0;border-radius:3px;min-height:55px;font-family:'Alumni Sans',Arial,sans-serif;font-size:27px;line-height:1;font-weight:600;letter-spacing:.035em;text-transform:uppercase;display:flex;align-items:center;justify-content:space-between;padding:12px 19px;margin-top:20px;transition:background .2s,transform .2s}.submit:hover{background:#ff9595;transform:translateY(-2px)}.submit:disabled{cursor:wait;opacity:.75;transform:none}.submit svg{width:23px;height:23px;transform:rotate(-45deg)}.privacy{font-size:12px;line-height:1.6;color:#fff;margin:16px 0 0}.honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.error{font-size:14px;line-height:1.5;background:white;color:#a41d31;border-radius:3px;padding:10px 12px;margin:15px 0 0}[hidden]{display:none!important}a:focus-visible,button:focus-visible,.details:focus-visible{outline:3px solid var(--yellow);outline-offset:5px}.submit:focus-visible{outline-color:white}
#success-view{text-align:center;padding-top:0;animation:appear .55s ease both}.success-mark{width:67px;height:67px;border-radius:50%;background:var(--yellow);color:var(--ink);margin:auto;animation:pop .65s ease both}.success-mark svg{width:100%;height:100%}.success-mark path{stroke-dasharray:50;stroke-dashoffset:50;animation:check .5s .25s forwards}#success-title{font-size:35px;margin:21px 0 17px;outline:none}.success-copy{color:#fff;font-size:15px;line-height:1.7;margin:0}.signature{font-family:Georgia,serif;font-style:italic;font-size:24px;color:var(--yellow);margin:18px 0 29px}.calendar{padding:25px 0 0;border-top:1px solid #ffffff70}.calendar h3{font-size:17px;font-weight:700;margin:0 0 8px}.calendar p{font-size:13px;color:#fff;margin:0 0 19px}.calendar-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.calendar-links a{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;text-decoration:none;color:var(--ink);background:white;border:1px solid white;border-radius:3px;padding:12px 7px;font-size:13px;font-weight:600;transition:background .2s}.calendar-links a:hover{background:#e7f2ff}.calendar-links img{width:22px;height:22px;object-fit:contain}.calendar-links a span{font-size:13px}.confetti{pointer-events:none;position:absolute;top:34%;left:50%;width:6px;height:11px;background:var(--yellow);animation:burst 1.15s ease-out forwards;opacity:0}
footer{padding:24px 0;display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;letter-spacing:.03em}footer>span:first-child,footer>span:last-child{font-size:10px;letter-spacing:.09em}
.admin-main{display:block;max-width:1000px;padding:50px 0}.admin-title{font-size:48px;margin-bottom:35px}.eyebrow{font-size:12px;letter-spacing:.12em;margin-bottom:24px}#admin-login{max-width:440px}#admin-login input{border-color:#b8bbc2}.admin-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.admin-toolbar p{margin-right:auto}.admin-button{border:1px solid #c8cad0;background:white;border-radius:4px;padding:12px 15px}.admin-error{color:#ad2636}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;margin-top:24px;text-align:left}th,td{padding:16px 14px;border-bottom:1px solid var(--line);font-size:15px}th{background:#f4f4f6}header a{color:var(--ink);font-size:14px}
@keyframes appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes pop{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.09)}100%{transform:scale(1);opacity:1}}@keyframes check{to{stroke-dashoffset:0}}@keyframes burst{0%{opacity:1;transform:translate(0,0) rotate(0)}90%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r))}}

/* Mobile baseline: compact context, then the primary action. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-block:20px}
.page{padding:0 max(16px,env(safe-area-inset-left)) 0 max(16px,env(safe-area-inset-right))}
.header{height:76px;justify-content:center}.brands{width:270px;height:62px;background-size:560px auto;background-position:-62px -41px}.private-label{display:none}
main{grid-template-columns:minmax(0,1fr);gap:18px;padding:22px 0 26px}.invitation,.rsvp{width:100%;max-width:540px;min-width:0;margin:auto}
h1{font-size:clamp(2.125rem,9.8vw,3.5rem);margin-bottom:16px}.sun{width:66px;height:66px;right:-8px;top:-16px}.tags{gap:7px}.tags span{font-size:.6875rem;padding:7px 11px}.intro,.description{display:none}
.details{grid-template-columns:minmax(128px,.9fr) minmax(154px,1.1fr);gap:12px;margin-top:18px;padding:14px 0 4px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:var(--yellow) transparent;overscroll-behavior-x:contain}.detail{display:block;scroll-snap-align:start}.detail svg{display:none}.detail strong{font-size:.875rem;line-height:1.4;margin-bottom:5px}.detail span{font-size:.875rem;line-height:1.45}
.card{padding:23px 20px 20px;box-shadow:none}.card h2{font-size:clamp(1.75rem,7.7vw,2.125rem);line-height:1.12;margin-bottom:20px}.card-intro{display:none}.fields{gap:12px}label{font-size:.875rem;margin-bottom:8px}input{font-size:1rem;min-height:50px;padding:0 11px;scroll-margin-block:24px}input::placeholder{font-size:.875rem}.submit{min-height:54px;margin-top:16px;touch-action:manipulation}.privacy{margin-top:12px;font-size:.75rem;line-height:1.5}.parking{font-size:.75rem;line-height:1.6;color:var(--muted);text-align:center;margin:15px 4px 0}
#success-title{font-size:clamp(1.75rem,8vw,2.1875rem);margin:16px 0}.success-mark{width:56px;height:56px}.success-copy{font-size:.9375rem}.signature{font-size:1.375rem;margin:15px 0 22px}.calendar{padding-top:21px}.calendar h3{font-size:1rem}.calendar p{font-size:.8125rem;margin-bottom:16px}.calendar-links{gap:8px}.calendar-links a{flex-direction:column;min-height:74px;gap:8px;padding:12px 6px;font-size:.875rem;touch-action:manipulation}.calendar-links a span{display:none}
footer{flex-wrap:wrap;justify-content:center;text-align:center;padding:18px 0 max(20px,env(safe-area-inset-bottom));gap:8px;font-size:.75rem}footer>span:first-child,footer>span:last-child{font-size:.6875rem}footer>span:nth-child(2){width:100%;order:3}
.admin-main{display:block}.admin-title{font-size:clamp(2rem,7vw,3rem)}.admin-button{min-height:44px}.admin-main section{min-width:0}.admin-toolbar{gap:8px}
@media(min-width:600px){.header{height:98px}.brands{width:320px;height:76px;background-size:663px auto;background-position:-74px -49px}main{padding-top:32px;gap:24px}.card{padding:30px}.details{gap:24px}.detail{display:flex;gap:12px}.detail svg{display:block}.calendar-links a{flex-direction:row;min-height:50px}.parking{font-size:.8125rem}}
@media(min-width:900px){.page{padding:0 5%}.header{height:130px;justify-content:space-between}.brands{width:367px;height:84px;background-size:760px auto;background-position:-85px -56px}.private-label{display:block}main{grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:6%;padding:58px 0;align-items:center}.invitation,.rsvp{max-width:none}h1{font-size:clamp(46px,5.3vw,76px);margin-bottom:28px}.sun{width:90px;height:90px;right:-22px;top:-23px}.tags span{font-size:.75rem;padding:9px 16px}.intro,.description{display:block}.details{grid-template-columns:1fr;gap:21px;margin-top:30px;padding-top:26px;overflow:visible}.detail{display:flex;gap:15px}.detail strong{font-size:.9375rem}.card{padding:36px 28px 28px;box-shadow:0 18px 50px #0275d916}.card h2{font-size:clamp(32px,2.8vw,38px);margin-bottom:19px}.card-intro{display:block;margin-bottom:27px}.fields{gap:14px}.calendar-links a{flex-direction:column}.parking{margin-top:18px}footer{justify-content:space-between;text-align:left;padding:24px 0}footer>span:nth-child(2){width:auto;order:initial}.admin-main{display:block}}
@media(min-width:1200px){.page{padding:0 6.2%}main{gap:8%;padding:64px 0}.card{padding:38px 36px 30px}.calendar-links a{flex-direction:row}.sun{width:103px;height:103px;right:-31px}}
@media(min-width:1440px){.page{padding:0 90px}}
@media(hover:none){.submit:hover{transform:none;background:var(--coral)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.success-mark path{stroke-dashoffset:0}.confetti{display:none}}
/* Footer repris du site Les Mobinotes, avec une grille mobile dédiée. */
.brand-footer{display:block;border:0;padding:34px 0 max(24px,env(safe-area-inset-bottom));text-align:left;font-size:1rem;letter-spacing:normal;color:var(--ink)}
.brand-footer-main{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;padding-bottom:34px}.brand-footer-message{min-width:0}.brand-footer-specialties{position:relative}.brand-footer-specialty{display:flex;gap:12px;align-items:flex-start;font-size:clamp(1.25rem,5.6vw,1.75rem);line-height:1.3;font-weight:800;letter-spacing:-.035em}.brand-footer-specialty:not(:first-child){display:none}.brand-footer-specialty img{width:24px;height:24px;flex:none;margin-top:2px}.brand-footer-statement{font-size:clamp(1.2rem,5.4vw,1.65rem);font-weight:300;letter-spacing:-.045em;line-height:1.4;margin:6px 0 14px 36px}.brand-footer-welcome{font-size:.875rem;font-weight:700;line-height:1.6;margin:0 0 0 36px}.brand-footer-contact{margin-left:36px}.brand-footer-cta{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-family:'Alumni Sans',Arial,sans-serif;font-size:1.625rem;font-weight:600;text-transform:uppercase;text-decoration:none;color:var(--coral);letter-spacing:.015em}.brand-footer-cta span{font-family:Arial,sans-serif;font-size:1.25rem}.brand-footer-contact address{font-style:normal;font-size:.875rem;line-height:1.55;margin-top:8px}.brand-footer-bottom{border-top:1px solid #969ba4;padding-top:22px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px}.brand-footer-logo{display:flex;align-items:center;min-width:44px;min-height:44px}.brand-footer-logo img{width:30px;height:36px;object-fit:contain}.brand-footer-legal{grid-column:1/-1;grid-row:2;text-align:center;color:var(--muted);font-size:.875rem;text-decoration:none;min-height:44px;display:flex;align-items:center;justify-content:center}.brand-footer-social{justify-self:end;display:flex;gap:2px}.brand-footer-social a{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0}.brand-footer-social img{width:20px;height:20px;object-fit:contain}.brand-footer a{touch-action:manipulation}.brand-footer a:hover{opacity:.75}.brand-footer a:focus-visible{outline-color:var(--blue)}
@media(min-width:700px){.brand-footer{padding-top:60px}.brand-footer-main{grid-template-columns:minmax(0,1.6fr) minmax(180px,1fr);gap:36px;padding-bottom:64px;align-items:start}.brand-footer-contact{margin:0;text-align:center;justify-self:center}.brand-footer-specialty{font-size:1.75rem;gap:15px}.brand-footer-specialty img{width:29px;height:29px}.brand-footer-statement{font-size:1.65rem;margin-left:44px}.brand-footer-welcome{font-size:1rem;margin-left:44px}.brand-footer-bottom{grid-template-columns:1fr 1fr 1fr;padding-top:26px}.brand-footer-legal{grid-column:auto;grid-row:auto}.brand-footer-contact address{font-size:1rem}}
@media(min-width:1100px){.brand-footer-main{padding-bottom:82px}.brand-footer-specialty{font-size:2.25rem}.brand-footer-statement{font-size:2.125rem}.brand-footer-specialty img{margin-top:7px}.brand-footer-welcome{font-size:1.125rem}.brand-footer-contact{padding-top:8px}.brand-footer-cta{font-size:1.75rem}}

.calendar .calendar-help{margin:16px 0 0;padding:12px;border:1px solid #ffffff80;border-radius:3px;font-size:.8125rem;line-height:1.6;text-align:left}.calendar-download{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:10px;color:white;text-underline-offset:3px;font-size:.8125rem;line-height:1.5}

/* Un intitulé toutes les 400 ms, avec une hauteur stable sur mobile. */
.footer-rotation{display:grid;min-width:0;flex:1}
.footer-rotation>span{grid-area:1/1;visibility:hidden;animation:footer-specialty-cycle 2s steps(1,end) infinite;animation-delay:var(--rotation-delay)}
@keyframes footer-specialty-cycle{0%{visibility:visible}20%,100%{visibility:hidden}}
@media(prefers-reduced-motion:reduce){.footer-rotation>span{animation:none!important;visibility:hidden}.footer-rotation>span:first-child{visibility:visible}}

/* Informations pratiques : date compacte, adresse et accès en pleine largeur. */
.details{grid-template-columns:minmax(0,1fr);gap:0;overflow:visible;padding:0;margin-top:22px;scroll-snap-type:none;border-bottom:1px solid var(--line)}
.details .detail{display:flex;gap:12px;min-width:0;padding:16px 0;align-items:flex-start}
.details .detail svg{display:block;width:20px;height:20px;margin-top:2px;flex:none}
.details .detail>div{min-width:0;flex:1}
.details .detail-date{align-items:center;border-bottom:1px solid var(--line)}
.details .detail-date>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.details .detail-date strong{margin:0;font-size:.875rem}
.details .detail-date span{flex:none;border-radius:20px;background:var(--yellow);color:var(--ink);padding:5px 10px;font-size:.8125rem;font-weight:700;white-space:nowrap}
.details .detail-location strong{margin-bottom:3px}
.details .detail-parking{margin-top:8px;font-size:.75rem;line-height:1.5}
@media(min-width:600px){.details .detail{padding:18px 0}.details .detail-date strong{font-size:.9375rem}.details .detail-parking{font-size:.8125rem}}
