/* Home page — Team photography, film and field guide */
.picasso-home main {
  --home-pad:max(clamp(18px,5vw,72px),calc((100% - 1220px)/2));
  --home-block:clamp(36px,5.2vw,80px);
}
.picasso-home .hero#accueil {
  grid-template-columns:minmax(0,44fr) minmax(0,56fr);
  grid-template-rows:auto; align-items:stretch; background:#091e2e;
}
.picasso-home .hero .hero-content {
  grid-area:1/1; align-self:center; position:relative; z-index:2; margin:0;
  padding:clamp(34px,4.3vw,76px) clamp(18px,2.6vw,46px) clamp(34px,4.3vw,76px) max(clamp(18px,5vw,72px),calc((100vw - 1220px)/2));
}
.picasso-home .hero h1 {
  max-width:12ch; font-size:clamp(3.4rem,5.45vw,6rem); line-height:.98; letter-spacing:-.055em;
}
.picasso-home .hero .hero-content .lead { max-width:41ch; font-size:clamp(1.06rem,1.23vw,1.23rem); }
.picasso-home .hero .hero-photo {
  grid-area:1/2; min-height:clamp(445px,38vw,665px); max-height:none; margin:0;
  clip-path:polygon(5% 0,100% 0,100% 100%,0 100%); background:#20394a;
}
.picasso-home .hero .hero-photo>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 62%; }
.picasso-home .hero .hero-photo figcaption {
  display:flex; flex-direction:column; align-items:flex-end; gap:.4rem; position:absolute;
  inset:auto 0 0; max-width:none; padding:2.6rem clamp(12px,2.4vw,40px) .9rem;
  color:white; background:linear-gradient(transparent,#071b2cbb); border-radius:0; text-shadow:0 1px 4px #00131d;
}
.picasso-home .hero .hero-photo .signature { display:block; position:static; width:85px; height:auto; margin:0; opacity:1; }
.picasso-home #accueil.hero .hero-content .actions { gap:.45rem .85rem; }
.picasso-home #accueil.hero .hero-content .actions .tp-plain-route {
  border:none; border-radius:0; border-bottom:1px solid #577283; padding:.5rem 0;
  font-size:.91rem; font-weight:600; background:transparent;
}
.picasso-home main #video-team-picasso {
  grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr); gap:clamp(1.5rem,5vw,5rem);
  background:#f6f3ec; padding-block:clamp(32px,4.6vw,68px); border:0;
}
.picasso-home main #video-team-picasso h2 {
  font:italic 600 clamp(2.5rem,4.3vw,4.75rem)/1.025 Georgia,serif; letter-spacing:-.052em;
}
.picasso-home #video-team-picasso .team-short { max-width:none; }
.picasso-home #video-team-picasso .home-film-shell { aspect-ratio:16/10; border-radius:7px; }
.picasso-home #video-team-picasso .home-film-label {
  padding:.55rem .95rem .55rem .55rem; gap:.55rem; min-height:44px;
  background:#fff; color:#132e41; box-shadow:0 2px 12px #041c2e40;
}
.picasso-home #video-team-picasso .home-film-label::before{
  width:32px; height:32px; border:0; border-radius:50%;
  background:#ad1936;
}
.picasso-home #video-team-picasso .home-film-label::after{
  content:""; position:absolute; left:calc(.55rem + 13px); top:50%; transform:translateY(-50%);
  border-block:5px solid transparent; border-inline-start:8px solid white;
}
.picasso-home #video-team-picasso .team-short>.mondiaux-link { min-height:44px; margin:0; }
.picasso-home main .event-clock {
  box-sizing:border-box; position:static; inset:auto; display:grid; width:100%; max-width:none;
  grid-template-columns:minmax(0,1fr) minmax(240px,1.1fr) minmax(0,1fr);
  grid-template-rows:auto auto; align-items:center; align-content:center;
  gap:0 clamp(18px,4vw,60px); margin:0; padding:clamp(16px,2vw,30px) var(--home-pad);
  background:#102f44; color:white; border:0; border-radius:0; box-shadow:none; text-align:left;
}
.event-clock>b {grid-column:1; grid-row:1; align-self:end; color:#fff; font:700 clamp(1.06rem,1.6vw,1.5rem)/1.35 system-ui,sans-serif;}
.picasso-home .event-clock>time {grid-column:1;grid-row:2;align-self:start; margin:.15rem 0 0; color:#c6deea;font:500 .95rem/1.35 system-ui,sans-serif;}
.picasso-home .event-clock #race-time:not([hidden]) {grid-column:2; grid-row:1/3; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; gap:0; margin:0;}
.picasso-home .event-clock #race-time span {display:grid; gap:.15rem; min-width:0; padding-inline:.15rem; text-align:center; border-inline-start:1px solid #536d7d;}
.picasso-home .event-clock #race-time strong {font:600 clamp(1.4rem,2.3vw,2.2rem)/1 system-ui,sans-serif; color:#fff; font-variant-numeric:tabular-nums;}
.picasso-home .event-clock #race-time small {font:500 .77rem/1.4 system-ui,sans-serif; color:#c5e0eb;}
.picasso-home .event-clock .hero-worlds-link {display:inline-flex; grid-column:3;grid-row:1/3; min-height:44px;align-items:center; justify-self:end; max-width:28ch; color:#d9f3ff; font:600 .95rem/1.45 system-ui,sans-serif; text-underline-offset:.22em;}
.picasso-home #mission {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.2rem,3.7vw,3.6rem);padding-bottom:0;}
.picasso-home #mission>figure {width:100%;max-width:none;}
.picasso-home #mission>figure img {aspect-ratio:1.22; object-position:50% 59%; max-height:none; width:100%; height:auto;}
.picasso-home .relief-notes{grid-column:1/-1; background:#f3f7f7; margin:0; border-block:1px solid #c9d9df;}
.picasso-home :is(.relief-notes,.day-fold)>summary {cursor:pointer; padding:1rem clamp(.85rem,2vw,1.7rem);display:flex; justify-content:space-between; align-items:center; gap:1rem; font:650 1.05rem/1.38 system-ui,sans-serif; list-style:none;}
.picasso-home :is(.relief-notes,.day-fold)>summary::-webkit-details-marker {display:none}
.picasso-home :is(.relief-notes,.day-fold)>summary::after {content:"+";font:400 1.5rem/1 system-ui,sans-serif;}
.picasso-home :is(.relief-notes,.day-fold)[open]>summary::after {content:"−";}
.relief-spread {display:grid; grid-template-columns:1fr 1fr; gap:clamp(1rem,3vw,3.2rem);padding:clamp(1rem,2vw,2rem);}
.picasso-home #mission .relief-spread figure img{width:100%;height:auto;max-height:350px;object-fit:contain;}
.picasso-home #mission .relief-spread .diagram {max-width:380px;}
.picasso-home #questions-picasso {padding-block:clamp(26px,3.2vw,48px);border-bottom:1px solid #d6e2e6;}
.picasso-home main #questions-picasso h2{font-size:clamp(1.6rem,2.6vw,2.65rem);}
.picasso-home #questions-picasso summary {min-height:44px; padding-block:.68rem;}
.picasso-home #one-shot {padding-bottom:clamp(1.2rem,2.8vw,2.6rem);}
.picasso-home #journee-picasso{padding-block:0 clamp(32px,4vw,58px);background:#0d2c40;color:white;}
.picasso-home .day-fold {border-block:1px solid #577383;}
.picasso-home .day-fold>summary {color:#e6f5fd;padding-inline:0;}
.picasso-home .day-fold>summary h2 {color:inherit; font:650 clamp(1.1rem,1.65vw,1.55rem)/1.35 system-ui,sans-serif;letter-spacing:-.015em;max-width:none;margin:0;}
.picasso-home .day-fold ol{padding:1.1rem;background:#f3f7f8;color:#132f43;border-radius:5px;}
.picasso-home .day-fold>a {color:#d5f1ff;}
.picasso-home #photos .tp-strip {grid-template-columns:minmax(0,1.18fr) minmax(0,.86fr) minmax(0,1fr);align-items:start;gap:clamp(10px,1.6vw,22px);}
.picasso-home #photos .tp-strip a {display:block;text-decoration:none;color:#143449;}
.picasso-home #photos .tp-strip img {width:100%;height:clamp(210px,26vw,400px);object-fit:cover;object-position:center 58%;border-radius:5px;}
.album-caption{display:block;margin-top:.5rem;font:600 .95rem/1.4 system-ui,sans-serif;}
.picasso-home #responsables .mondiaux-link {color:#d3eef9;}
@media(max-width:900px) and (min-width:741px){
  .picasso-home .hero#accueil{grid-template-columns:1fr 1fr;}
  .picasso-home .hero h1{font-size:clamp(2.75rem,5.1vw,3.4rem);}
}
@media(max-width:740px){
  .picasso-home .hero#accueil{display:flex;flex-direction:column; align-items:stretch;}
  .picasso-home .hero .hero-photo {min-height:0;aspect-ratio:1.8;clip-path:none;}
  .picasso-home .hero .hero-photo>img{object-position:50% 66%;}
  .picasso-home .hero .hero-photo figcaption{flex-direction:row;align-items:center;justify-content:space-between;font-size:.7rem;gap:.4rem;padding:1.15rem 12px .35rem;}
  .picasso-home .hero .hero-photo .signature{width:50px;}
  .picasso-home .hero .hero-content{padding:clamp(20px,5vw,32px) var(--home-pad);width:100%;}
  .picasso-home .hero h1{font-size:clamp(2.7rem,8.6vw,3.6rem);max-width:16ch;}
  .picasso-home #accueil.hero .hero-content .actions{grid-template-columns:repeat(2,minmax(0,1fr));align-self:stretch;margin-top:.8rem;}
  .picasso-home #accueil.hero .hero-content .actions .tp-plain-route{font-size:.88rem;}
  .picasso-home main #video-team-picasso,.picasso-home #mission,.relief-spread {grid-template-columns:minmax(0,1fr);}
  .picasso-home main #video-team-picasso{gap:1rem;}
  .picasso-home main #video-team-picasso h2 {max-width:17ch; font-size:clamp(2.05rem,6.6vw,2.9rem);}
  .picasso-home main #video-team-picasso p{margin-block:.25rem;}
  .picasso-home #video-team-picasso .home-film-shell {aspect-ratio:1.55;}
  .picasso-home #video-team-picasso .home-film-shell.is-playing{aspect-ratio:9/16;max-width:340px;margin:auto;}
  .picasso-home main .event-clock{grid-template-columns:minmax(0,1fr) auto;row-gap:.65rem;}
  .picasso-home .event-clock>b{grid-area:1/1;}
  .picasso-home .event-clock>time{grid-area:1/2;align-self:end;font-size:.85rem;}
  .picasso-home .event-clock #race-time:not([hidden]){grid-column:1/-1;grid-row:2;}
  .picasso-home .event-clock #race-time span:first-child{border-left:0;}
  .picasso-home .event-clock .hero-worlds-link{grid-column:1/-1;grid-row:3;justify-self:start;max-width:none;font-size:.88rem;}
  .picasso-home #photos .tp-strip {grid-template-columns:repeat(2,minmax(0,1fr));}
  .picasso-home #photos .tp-strip a:first-child{grid-column:1/-1;}
  .picasso-home #photos .tp-strip img {height:auto;aspect-ratio:1.1;}
  .picasso-home #photos .tp-strip a:first-child img {aspect-ratio:1.55;}
}
@media(prefers-reduced-motion:reduce){.picasso-home *, .picasso-home *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important;}}

