/* V4.1 — navigation et mise en page sur téléphone / tablette */
.mobile-menu-button{display:none}.mobile-navigation:not([open]){display:none}
.mobile-navigation{position:fixed;inset-block:0;inset-inline-start:auto;inset-inline-end:0;margin:0;width:min(90vw,390px);max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:24px 22px;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom));background:#fffaf0;color:var(--green);overflow-y:auto;overscroll-behavior:contain;box-shadow:-16px 0 60px #001e2750;font-family:Arial,sans-serif}
.mobile-navigation::backdrop{background:#001c19b8;backdrop-filter:blur(3px)}
.mobile-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:22px;border-bottom:1px solid #dfcda9}.mobile-menu-heading small{font-size:10px;letter-spacing:.1em;color:#8a6727}.mobile-menu-heading h2{text-align:start;font-size:25px;margin:8px 0 0}.mobile-menu-close{border:1px solid #dfcda9;border-radius:8px;background:#fff;padding:12px;min-height:44px;color:var(--green);cursor:pointer}
.mobile-menu-links{display:grid;gap:6px;margin:22px 0}.mobile-menu-links a{padding:16px 12px;border-radius:8px;min-height:48px;font-size:16px;font-weight:600;border-bottom:1px solid #ebdfca;overflow-wrap:anywhere}.mobile-menu-links a:hover,.mobile-menu-links a:focus-visible,.mobile-menu-links a[aria-current]{background:#ece3d1;color:#07543d}
.mobile-menu-contact{display:grid;gap:10px;padding-top:18px;border-top:1px solid #dfcda9}.mobile-menu-contact a{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:8px;background:var(--green);color:white;padding:13px;font-size:15px}.mobile-menu-contact a+a{background:transparent;color:var(--green);border:1px solid #c2a56a}.mobile-menu-languages{margin-top:24px;justify-content:center}.mobile-menu-languages button{color:var(--green);border-color:#b49862;min-height:44px;min-width:52px;border-radius:7px;font-size:14px}.mobile-menu-languages button[aria-pressed=true]{background:var(--gold)}
body.mobile-menu-open{overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}
@media(max-width:900px){
 html{scroll-padding-top:104px}.top{padding:9px 16px;gap:8px;flex-wrap:wrap}.top>span{font-size:10px;letter-spacing:.03em}.top .lang button{min-height:36px;min-width:38px;padding:6px 7px}
 .header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;z-index:20;padding:8px 16px;direction:inherit;border-bottom-width:2px}.header>a{flex:0 1 155px}.header img{width:145px;height:78px;object-fit:contain}
 .has-mobile-menu .header>.nav{display:none}.has-mobile-menu .mobile-menu-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--green);color:#fff;border:1px solid #be9b54;border-radius:9px;padding:12px 15px;min-height:48px;font:600 14px Arial,sans-serif;cursor:pointer;flex-shrink:0}
 .header>.nav{gap:4px;font-size:13px}.hero{padding:36px 22px;min-height:340px}.hero h1{font-size:clamp(29px,7.5vw,44px);line-height:1.22;overflow-wrap:anywhere}.hero p{font-size:17px}.hero .btn{min-height:48px;line-height:1.5;max-width:100%;text-align:center;padding:14px 16px;letter-spacing:.03em}
 .wrap{padding:36px 18px}h2{font-size:27px;overflow-wrap:anywhere}.sub{font-size:16px;line-height:1.6;margin-bottom:24px}.horses{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.horse{min-width:0}.horse h3{font-size:21px}.horse p{font-size:15px}.horse button{min-height:48px;font-size:14px;letter-spacing:.01em}.horse .gallery button{flex:0 0 68px;padding:4px;width:68px}.horse .gallery img{width:60px;height:60px}.story{padding:40px 22px}.contact-panel{padding:36px 18px}.contact-links{flex-direction:column;align-items:stretch;max-width:420px;margin-inline:auto}.social-link,.contact-link{justify-content:center;min-height:48px;overflow-wrap:anywhere}.foot{padding:25px 18px;line-height:1.7}
 dialog:not(.mobile-navigation){max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);padding:16px;overflow:auto}dialog .close{min-height:44px;font-size:15px}.booking{width:calc(100vw - 20px)}.booking input,.booking textarea{font-size:16px;min-height:48px}.booking input[type=checkbox]{min-height:24px;width:24px;height:24px}.booking form{gap:18px}.booking button{font-size:16px;min-height:48px}.booking label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;line-height:1.5}.booking h2{padding-top:18px}
}
@media(max-width:540px){.horses{grid-template-columns:minmax(0,1fr)}.horse:hover{transform:none}.horse .details{padding:20px}.top>span{max-width:145px}.header img{height:70px;width:135px}.hero{padding-inline:20px}.wrap{padding-inline:14px}}
@media(prefers-reduced-motion:no-preference){.mobile-navigation[open]{animation:mobile-menu-appear .18s ease-out}@keyframes mobile-menu-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

/* V4.2 — photo cards and complete profiles on demand */
.all-horses-link{text-align:center;margin-top:25px}.horse-summary .horse-photo-button{display:block;width:100%;padding:0;margin:0;border:0;border-radius:0;background:#08223a;cursor:pointer;line-height:0}.horse-summary .horse-photo-button:hover{transform:none;box-shadow:none}.horse-summary .horse-photo-button img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;cursor:pointer}.summary-actions{padding:12px}.summary-actions button{min-height:46px;width:100%;font:600 15px Arial,sans-serif}
.horse-profile{width:min(1060px,calc(100vw - 28px));max-width:1060px;max-height:90dvh;padding:24px;color:var(--green);background:#fffaf0;overflow:auto;overscroll-behavior:contain}.horse-profile h2{text-align:start;margin:18px 0 24px;clear:both;overflow-wrap:anywhere}.profile-close{float:inline-end;min-height:44px;padding:10px 16px;border:1px solid #c3a267;border-radius:7px;background:white;color:var(--green);cursor:pointer;font:15px Arial,sans-serif}.horse-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}.profile-image-button{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;margin-bottom:12px}.profile-photos img{width:100%;max-height:62vh;object-fit:contain;border-radius:9px}.profile-info{min-width:0;font:16px/1.7 Arial,sans-serif;overflow-wrap:anywhere}.profile-info p{white-space:pre-wrap}.profile-info h3{font:700 22px Georgia,serif}.profile-info .badge{color:#88611d;font-weight:bold}.profile-action{display:block;min-height:48px;padding:12px 18px;margin:15px 0;width:100%;border:0;border-radius:7px;background:var(--green);color:white;font:600 15px Arial,sans-serif;cursor:pointer}.profile-action:disabled{opacity:.55;cursor:default}
@media(max-width:650px){.horse-profile-layout{grid-template-columns:minmax(0,1fr);gap:18px}.horse-profile{padding:16px}.profile-photos img{max-height:55dvh}.horse-profile h2{font-size:26px}.profile-info{font-size:16px}}

/* V4.3 — visuels compacts dans les listes */
.horses{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:center;gap:16px}.horse-summary{width:100%;max-width:260px}.summary-actions{padding:10px}.catalogue-status{grid-column:1/-1}
@media(max-width:1100px){.horses{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.horses{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.horses{grid-template-columns:minmax(0,1fr)}}
