/* storagepal.fr around the v3 sections (storagepal-v3.css): page base, header, member shortcuts, films, reviews, posts and
   footer. Measures from the WordPress site's own rules (mu-plugins/storagepal-ui.php and storagepal-member.php,
   6 Nov 2026); docs/backend/cms-site.md. */

/* ------------------------------------------------------------------------------------------------ base */
:root{--sp-ink:#16161a;--sp-muted:#6b6b76;--sp-line:#ebebf0;--sp-accent:#f26c4f;--sp-accent-ink:#c2410c;--sp-btn:#ca492f;--sp-btn-hover:#b84028;
  --sp-col:1120px;--sp-font:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
@media (min-width:1440px){:root{--sp-col:1208px}}
@media (min-width:1680px){:root{--sp-col:1328px}}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--sp-font);font-size:16px;line-height:1.6;color:#3d3d45;background:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img,svg,video{max-width:100%}
a{color:inherit}
.sp-main{display:block}
.sp-skip{position:absolute;left:12px;top:-60px;z-index:1000;background:#fff;color:var(--sp-ink);padding:10px 16px;border-radius:10px;box-shadow:0 6px 20px rgba(0,0,0,.15);text-decoration:none;font-weight:600}
.sp-skip:focus{top:12px}

/* ------------------------------------------------------------------------------------------------ header */
.sp-header{position:relative;z-index:50;background:#fff;border-bottom:1px solid #f0f0f2;font-family:var(--sp-font)}
.sp-header-row{display:flex;align-items:center;gap:16px;min-height:78px;padding:0 max(36px,calc((100% - var(--sp-col)) / 2))}
.sp-logo{display:flex;flex:none;align-items:center}
.sp-logo img{display:block;width:136px;height:auto}
.sp-nav{flex:1;min-width:0;padding-left:12px}
.sp-menu{display:flex;align-items:center;list-style:none;margin:0;padding:0}
.sp-menu-item{position:relative;margin:0}
.sp-menu-link{display:block;padding:28px 12px;font-size:16px;font-weight:500;line-height:1.3;color:var(--sp-ink);text-decoration:none;white-space:nowrap}
.sp-menu-item.has-sub>.sp-menu-link{padding-right:4px}
.sp-menu-link:hover,.sp-menu-link:focus-visible,.sp-menu-item.is-current>.sp-menu-link{color:var(--sp-accent-ink)}
.sp-sub-toggle{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:22px;height:22px;margin:0 6px 0 0;padding:0;border:0;background:none;color:inherit;cursor:pointer;position:relative;top:-1px}
.sp-sub-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sp-menu-item.has-sub{display:flex;align-items:center}
.sp-sub{position:absolute;top:100%;left:0;min-width:240px;list-style:none;margin:0;padding:10px 0;background:#fff;border:1px solid #ececef;border-radius:14px;box-shadow:0 18px 40px rgba(22,22,26,.12);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .15s,transform .15s,visibility .15s}
.sp-menu-item:hover>.sp-sub,.sp-menu-item:focus-within>.sp-sub,.sp-menu-item.is-open>.sp-sub{opacity:1;visibility:visible;transform:none}
.sp-sub li{margin:0}
.sp-sub a{display:block;padding:9px 20px;font-size:15px;line-height:1.4;color:var(--sp-ink);text-decoration:none;white-space:nowrap}
.sp-sub a:hover,.sp-sub a:focus-visible,.sp-sub a[aria-current]{color:var(--sp-accent-ink);background:#fff7f3}
.sp-header-right{display:flex;flex:none;align-items:center;gap:20px;margin-left:auto}
/* the language switcher (WPML's "dropdown click"): the current flag and a caret, the other language underneath */
.sp-lang{position:relative;font-size:14px;color:var(--sp-ink)}
.sp-lang summary{display:flex;align-items:center;gap:6px;padding:8px 0;cursor:pointer;list-style:none}
.sp-lang summary::-webkit-details-marker{display:none}
.sp-lang summary::after{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor}
.sp-lang summary .sp-lang-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sp-lang>a{position:absolute;right:0;top:100%;z-index:60;display:flex;align-items:center;gap:8px;min-width:150px;padding:10px 14px;background:#fff;border:1px solid #ececef;border-radius:12px;box-shadow:0 14px 30px rgba(22,22,26,.12);color:var(--sp-ink);text-decoration:none;white-space:nowrap}
.sp-lang>a:hover,.sp-lang>a:focus-visible{color:var(--sp-accent-ink)}
.sp-flag{display:block;width:18px;height:12px;flex:none}
.sp-lang-mobile summary{padding:13px 0;font-size:16px;font-weight:600}
.sp-lang-mobile summary .sp-lang-name{position:static;width:auto;height:auto;clip:auto}
.sp-lang-mobile>a{position:static;box-shadow:none;border:0;padding:4px 0 12px 24px;min-width:0}
.sp-login{padding:12px 2px;font-size:15px;font-weight:600;line-height:1.2;color:var(--sp-ink);text-decoration:none;white-space:nowrap}
.sp-login:hover,.sp-login:focus-visible{color:var(--sp-accent-ink)}
.sp-quote{display:inline-flex;align-items:center;gap:7px;padding:12px 22px;border-radius:12px;background:var(--sp-btn);color:#fff!important;font-size:15px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background .15s}
.sp-quote:hover,.sp-quote:focus-visible{background:var(--sp-btn-hover)}
.sp-quote svg{width:18px;height:18px;flex:none}
.sp-burger{display:none;align-items:center;justify-content:center;width:44px;height:44px;margin-right:-8px;padding:0;border:0;background:none;color:var(--sp-accent);cursor:pointer}
.sp-burger svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.sp-burger .sp-burger-close,.sp-burger[aria-expanded="true"] .sp-burger-open{display:none}
.sp-burger[aria-expanded="true"] .sp-burger-close{display:inline}
.sp-mobile{border-top:1px solid #f0f0f2;background:#fff;padding:8px 20px 20px}
.sp-mobile-menu,.sp-mobile-menu ul{list-style:none;margin:0;padding:0}
.sp-mobile-menu>li{border-bottom:1px solid #f2f2f4}
.sp-mobile-menu a{display:flex;align-items:center;gap:8px;padding:13px 0;font-size:16px;font-weight:600;color:var(--sp-ink);text-decoration:none}
.sp-mobile-menu ul{padding:0 0 8px 14px}
.sp-mobile-menu ul a{padding:8px 0;font-size:15px;font-weight:500;color:#3d3d45}
/* the menu tightens before it wraps (storagepal-ui.php, 922 to 1365px) */
@media (min-width:922px) and (max-width:1365px){.sp-menu-link{font-size:clamp(13.5px,.85vw + 4.8px,16px);padding-left:clamp(4px,2.7vw - 23.6px,12px);padding-right:clamp(4px,2.7vw - 23.6px,12px)}
  .sp-quote{padding:12px clamp(14px,2vw - 5px,22px);font-size:clamp(14px,.4vw + 9.5px,15px)}}
@media (min-width:922px) and (max-width:1679px){.sp-menu-phone{display:none}}
@media (min-width:922px) and (max-width:1149px){.sp-login{display:none}}
@media (min-width:922px) and (max-width:1439px){html[lang^="fr"] .sp-login{display:none}}
@media (min-width:922px) and (max-width:1023px){.sp-logo img{width:120px}.sp-header-right{gap:14px}.sp-nav{padding-left:6px}}
@media (min-width:1680px){html[lang^="fr"] .sp-menu-link{padding-left:10px;padding-right:10px}}
/* phones and tablets: logo, the button, the menu */
@media (max-width:921px){
  .sp-header-row{min-height:64px;padding:0 20px;gap:10px}
  .sp-nav,.sp-lang,.sp-login{display:none}
  .sp-burger{display:inline-flex}
  .sp-quote{font-size:13px;line-height:1;padding:10px 14px;border-radius:10px}
  .sp-mobile:not([hidden]){display:block}
}
@media (min-width:922px){.sp-mobile{display:none!important}}
@media (max-width:420px){.sp-logo img{width:112px}.sp-quote{padding:10px 12px}}
@media (max-width:374px){.sp-logo img{width:98px}}

/* ------------------------------------------------------------------------------------------------ member shortcuts */
/* every visitor gets the same HTML; html.sp-member (the sp_member cookie the catalog sets) shows the member version */
.sp-member-only{display:none!important}
html.sp-member .sp-guest-only{display:none!important}
html.sp-member .sp-mnav{display:flex!important}
.sp-mnav{align-items:center;gap:2px}
.sp-mnav a{text-decoration:none}
.sp-mnav svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor}
.sp-mnav-link{display:inline-flex;align-items:center;gap:7px;padding:10px 12px;border-radius:999px;font-size:15px;font-weight:600;line-height:1.2;color:var(--sp-ink);white-space:nowrap;transition:background .15s,color .15s}
.sp-mnav-link:hover,.sp-mnav-link:focus-visible{background:#f5f5f7;color:var(--sp-accent-ink)}
@media (min-width:922px) and (max-width:1679px){.sp-mnav-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.sp-mnav .sp-mnav-link{padding:10px}}
@media (max-width:921px){.sp-mnav .sp-mnav-link{display:none}}
@media (min-width:922px){html.sp-member .sp-menu-phone{display:none!important}}
html.sp-member .sp3.sp3-hero .sp3-actions:not(.sp-mhero),html.sp-member .sp3.sp3-hero .sp-home-note{display:none!important}
html.sp-member .sp3 .sp-mhero{display:flex!important;gap:12px}
.sp3 .sp-mhero svg{width:18px;height:18px;flex:none}
.sp3 .sp-mhero-alt{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:17px 24px;border-radius:999px;background:#fff;border:1px solid #e3e3e8;color:#16161a!important;font-family:inherit;font-size:16px;font-weight:650;line-height:1;text-decoration:none!important;transition:border-color .15s,color .15s,background .15s}
.sp3 .sp-mhero-alt:hover,.sp3 .sp-mhero-alt:focus-visible{border-color:#f26c4f;color:#c2410c!important;background:#fff7f3}
@media (max-width:767px){html.sp-member .sp3 .sp-mhero{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}.sp3 .sp-mhero .sp3-btn{grid-column:1/-1}.sp3 .sp-mhero-alt{padding:15px 12px}}

/* ------------------------------------------------------------------------------------------------ films and app videos */
.sp-app-video{position:relative;border-radius:20px;overflow:hidden;background:#f5f5f7;aspect-ratio:16/9;box-shadow:0 24px 60px rgba(29,29,31,.16)}
.sp-app-video video{display:block;width:100%;height:100%;object-fit:cover}

@media (max-width:767px){.sp-app-video{aspect-ratio:9/16;max-height:78vh;margin:0 auto;width:auto;max-width:100%}}
.sp-app-video .sp-vbtn{position:absolute;right:12px;bottom:12px;left:auto;width:40px;min-width:40px;height:40px;margin:0;padding:0;border:0;border-radius:999px;display:flex;align-items:center;justify-content:center;background:rgba(22,22,26,.55);color:#fff;cursor:pointer;opacity:.85;transition:opacity .15s,background .15s}
.sp-app-video .sp-vbtn:hover,.sp-app-video .sp-vbtn:focus-visible{opacity:1;background:rgba(22,22,26,.78)}
.sp-app-video .sp-vbtn:focus-visible{outline:3px solid rgba(242,108,79,.6);outline-offset:2px}
.sp-app-video .sp-vbtn svg{width:16px;height:16px;fill:currentColor;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.sp-app-video .sp-vbar{position:absolute;right:12px;bottom:12px;z-index:2;display:flex;gap:2px;padding:3px;border-radius:999px;background:rgba(22,22,26,.62);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.sp-app-video .sp-vbar .sp-vbtn{position:static;width:38px;min-width:38px;height:38px;background:transparent;opacity:1}
.sp-app-video .sp-vbar .sp-vbtn:hover,.sp-app-video .sp-vbar .sp-vbtn:focus-visible{background:rgba(255,255,255,.18)}
.sp-app-video .sp-vbar .sp-vbtn svg{width:18px;height:18px;stroke-width:2}
.sp-app-video .sp-vfreeze{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.sp-app-video:fullscreen{border-radius:0!important;background:#000!important;box-shadow:none!important}
.sp-app-video:fullscreen video,.sp-app-video:fullscreen .sp-vfreeze{object-fit:contain!important}
.sp-app-video:fullscreen .sp-vbar{right:24px;bottom:24px}
.sp-app-video:-webkit-full-screen{border-radius:0!important;background:#000!important;box-shadow:none!important;width:100%!important;height:100%!important}
.sp-app-video:-webkit-full-screen video,.sp-app-video:-webkit-full-screen .sp-vfreeze{object-fit:contain!important}
@media (max-width:767px){.sp-app-video .sp-vbar{right:8px;bottom:8px;padding:2px}.sp-app-video .sp-vbar .sp-vbtn{width:34px;min-width:34px;height:34px}.sp-app-video .sp-vbar .sp-vbtn svg{width:16px;height:16px}}

/* ------------------------------------------------------------------------------------------------ reviews */
/* the Google reviews as one row of cards to swipe (the WordPress widget's slider, without its script) */
.sp3 .sp-reviews{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,calc((100% - 48px) / 4));gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 14px;margin-top:20px;scrollbar-width:thin}
@media (max-width:1024px){.sp3 .sp-reviews{grid-auto-columns:minmax(260px,calc((100% - 16px) / 2))}}
@media (max-width:640px){.sp3 .sp-reviews{grid-auto-columns:86%}}
.sp3 .sp-review{scroll-snap-align:start;display:flex;flex-direction:column;gap:10px;padding:20px;background:#fff;border:1px solid var(--line,#ebebf0);border-radius:18px;box-shadow:0 10px 26px rgba(0,0,0,.04)}
.sp3 .sp-review-head{display:flex;align-items:center;gap:10px}
.sp3 .sp-review-photo{width:40px;height:40px;border-radius:50%;flex:none;background:#f2f2f4}
.sp3 .sp-review-name{flex:1;min-width:0;font-weight:650;font-size:15px;color:var(--ink,#16161a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp3 .sp-review-g{flex:none;display:inline-flex}
.sp3 .sp-review-stars{color:#f6bb06;font-size:17px;letter-spacing:2px;line-height:1}
.sp3 .sp-review-text{font-size:15px;line-height:1.55;color:#3d3d45;display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}

/* ------------------------------------------------------------------------------------------------ posts */
.sp-post{max-width:760px;margin:0 auto;padding:48px 24px 56px;font-family:var(--sp-font)}
.sp-post-header{margin:0 0 28px}
.sp-post-title{font-family:var(--sp-font);font-weight:800;font-size:clamp(32px,4vw,46px);line-height:1.1;letter-spacing:-.028em;color:var(--sp-ink);margin:0 0 12px;text-wrap:balance}
.sp-post-meta{margin:0;color:#6b6b76;font-size:14px}
.sp-post-hero{margin:0 0 32px}
.sp-post-hero img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:22px;border:1px solid #ececef}
.sp-post-content{font-size:17px;line-height:1.7;color:#2b2b31}
.sp-post-content :is(h1,h2,h3,h4){font-family:var(--sp-font);color:var(--sp-ink);letter-spacing:-.015em;line-height:1.25;font-weight:700;margin:1.6em 0 .6em}
.sp-post-content p{margin:0 0 1.1em}
.sp-post-content blockquote{border:0;border-left:3px solid var(--sp-accent);background:#fff3ed;border-radius:0 14px 14px 0;padding:16px 22px;margin:24px 0;font-size:18px;line-height:1.55;color:var(--sp-ink);font-style:normal}
.sp-post-content img{height:auto;border-radius:14px}
@media (max-width:767px){.sp-post{padding-top:28px}.sp-post-content{font-size:16.5px}}

/* ------------------------------------------------------------------------------------------------ footer */
.sp-footer{background:#16161a;color:#b4b4bd;font-family:var(--sp-font)}
.sp-footer-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding:36px max(36px,calc((100% - var(--sp-col)) / 2)) 40px}
.sp-footer h4{font-size:15px;line-height:1.4;font-weight:650;letter-spacing:0;color:#fff;margin:0 0 14px}
.sp-footer p,.sp-footer li,.sp-footer a{font-size:15px;line-height:1.85;color:#b4b4bd}
.sp-footer a{text-decoration:none}
.sp-footer a:hover,.sp-footer a:focus-visible{color:#fff}
.sp-foot-contact{margin:0}
.sp-foot-list{list-style:none;margin:0;padding:0}
.sp-foot-list li{margin:0;padding:0}
.sp-foot-list+.sp-foot-areas{margin-top:2px}
.sp-footer-bottom{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 28px;padding:16px max(36px,calc((100% - var(--sp-col)) / 2)) 22px;border-top:1px solid rgba(255,255,255,.08)}
.sp-foot-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 18px}
.sp-foot-social{display:flex;gap:18px}
.sp-footer-logo{display:flex;justify-content:center;padding:44px 20px 0}
.sp-footer-logo img{width:138px;height:auto}
.sp-footer .sp-foot-lang{color:#d4d4da}
.sp-footer .sp-foot-lang summary{padding:5px 12px;border:1px solid rgba(255,255,255,.18);border-radius:999px;font-size:14px}
.sp-footer .sp-foot-lang summary .sp-lang-name{position:static;width:auto;height:auto;clip:auto}
.sp-footer .sp-foot-lang>a{top:auto;bottom:100%;margin-bottom:6px;background:#222228;border-color:rgba(255,255,255,.12);color:#d4d4da}
.sp-footer .sp-foot-lang>a:hover{color:#fff}
.sp-footer-bottom a{font-size:14px;line-height:1.9}
.sp-footer a.social{display:inline-flex;align-items:center;gap:10px}
.sp-footer a.social::before{content:"";flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:var(--sp-ic) center/contain no-repeat;mask:var(--sp-ic) center/contain no-repeat}
.sp-footer a.social.facebook{--sp-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E")}
.sp-footer a.social.instagram{--sp-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Cpath d='M16 11.4A4 4 0 1 1 12.6 8a4 4 0 0 1 3.4 3.4zM17.5 6.5h.01'/%3E%3C/svg%3E")}
@media (max-width:921px){.sp-footer-cols{grid-template-columns:1fr 1fr;padding:48px 20px 28px}.sp-footer .sp-foot-areas{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.sp-footer-bottom{padding:16px 20px 22px}}
@media (max-width:600px){.sp-footer-cols{grid-template-columns:1fr}}

/* ------------------------------------------------------------------------------------------------ articles under the hero */
/* the catalog's pictures are drawn on white; WordPress showed cut-out copies: the white melts into the hero's ground */
.sp3 .sp-home-shelf img{mix-blend-mode:multiply}

/* the homepage's hero has the button: the header's goes (WordPress: body:has(.sp3-clean.sp3-home)) */
body:has(.sp3-clean.sp3-home) .sp-header .sp-quote.sp-guest-only{display:none}
/* the homepage's reviews follow its community section, whose last line is their heading */
.sp3.sp3-reviews.sp3-join{padding-top:0}
/* the footer's language switcher on a line of its own, under the legal links */
.sp-footer .sp-foot-lang{flex-basis:100%;display:flex;justify-content:center}

/* Text pages: on a phone, a table wider than the screen scrolls in its own box, and a long address breaks, instead of
   the whole page moving sideways (the privacy policy's tables and its address line: the browser check of 18 Nov 2026) */
.sp3-prose { overflow-wrap: break-word; }
@media (max-width: 767px) {
  .sp3-prose table { display: block; max-width: 100%; overflow-x: auto; }
}
