/* =========================================================================
   GYESS · accueil « nature » — le site reste en noir et blanc ; le vert vient
   seulement des images : le paysage derrière le logo et la mousse sur le logo.
   Chargé après style.css, sur la page d'accueil uniquement.
   ========================================================================= */
.p-home .hero.nature-top{position:relative;isolation:isolate;background:#FBFCFD url(../img/photos/paysage-collines-2560.webp) 50% 100%/cover no-repeat;background-image:-webkit-image-set(url(../img/photos/paysage-collines-2560.webp) 1x,url(../img/photos/paysage-collines-3840.webp) 2x);background-image:image-set(url(../img/photos/paysage-collines-2560.webp) 1x,url(../img/photos/paysage-collines-3840.webp) 2x)}
.p-home .hero.nature-top::after{content:none}

/* texte noir sur fond clair */
.p-home .nature-top .hero-copy .mono{color:var(--slate)}
.p-home .nature-top .hero-lede{color:var(--slate)}
.p-home .nature-top .hero-foot{border-top-color:transparent;color:var(--ink)}
.p-home .nature-top .hero-3d .still path{fill:#C9CED3}

/* boutons : principal noir, secondaire en verre clair */
.p-home .nature-top .btn-solid,.p-home .offers-scene .btn-solid{background:var(--ink);color:var(--chalk);--spec:rgba(255,255,255,.18);--rim:rgba(255,255,255,.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 -1px 0 rgba(0,0,0,.45),0 14px 28px -16px rgba(10,10,11,.55)}
.p-home .nature-top .btn-solid:hover,.p-home .offers-scene .btn-solid:hover{background:var(--ink)}
.p-home .nature-top .btn-ghost{--spec:#fff;--rim:#fff;color:var(--ink);
  background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,.5) 55%,rgba(255,255,255,.72));border-color:rgba(255,255,255,.85);
  box-shadow:inset 0 1.5px 1px #fff,inset 0 -1.5px 1px rgba(255,255,255,.7),inset 0 0 14px rgba(255,255,255,.5),0 12px 28px -14px rgba(10,10,11,.32),0 2px 6px -2px rgba(10,10,11,.1)}
@media (hover:hover) and (pointer:fine){
  .p-home .nature-top .btn-ghost:hover{border-color:#fff;box-shadow:inset 0 1.5px 1px #fff,inset 0 -1.5px 1px rgba(255,255,255,.8),inset 0 0 14px rgba(255,255,255,.6),0 18px 34px -14px rgba(10,10,11,.38),0 2px 6px -2px rgba(10,10,11,.12)}
}
.p-home .nature-top .play-link .pc{border-color:var(--line-light);background:rgba(255,255,255,.6);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.p-home .nature-top .play-link:hover .pc{background:var(--ink);border-color:var(--ink);color:var(--chalk)}

/* grand écran : le paysage occupe tout le haut de page ; un voile blanc léger à gauche garde le texte lisible */
@media (min-width:821px){
  .p-home .hero.nature-top{min-height:100svh;
    background:linear-gradient(90deg,rgba(251,252,253,.88) 0%,rgba(251,252,253,.72) 24%,rgba(251,252,253,.3) 44%,rgba(251,252,253,0) 60%),
               #FBFCFD url(../img/photos/paysage-collines-2560.webp) 50% 100%/cover no-repeat;
    background-image:linear-gradient(90deg,rgba(251,252,253,.88) 0%,rgba(251,252,253,.72) 24%,rgba(251,252,253,.3) 44%,rgba(251,252,253,0) 60%),-webkit-image-set(url(../img/photos/paysage-collines-2560.webp) 1x,url(../img/photos/paysage-collines-3840.webp) 2x);
    background-image:linear-gradient(90deg,rgba(251,252,253,.88) 0%,rgba(251,252,253,.72) 24%,rgba(251,252,253,.3) 44%,rgba(251,252,253,0) 60%),image-set(url(../img/photos/paysage-collines-2560.webp) 1x,url(../img/photos/paysage-collines-3840.webp) 2x)}
  .p-home .nature-top .hero-grid{min-height:min(70svh,720px)}
}

/* téléphone : le paysage est derrière le logo, en haut ; le texte est sur fond blanc en dessous */
@media (max-width:820px){
  .p-home .hero.nature-top{background:#FBFCFD}
  .p-home .hero.nature-top::after{content:"";position:absolute;left:0;right:0;top:0;height:calc(150px + min(88vw,340px) + env(safe-area-inset-top,0px));z-index:-1;pointer-events:none;
    background:url(../img/photos/paysage-collines-2560.webp) 66% 100%/cover no-repeat;background-image:-webkit-image-set(url(../img/photos/paysage-collines-2560.webp) 1x,url(../img/photos/paysage-collines-3840.webp) 2x);background-image:image-set(url(../img/photos/paysage-collines-2560.webp) 1x,url(../img/photos/paysage-collines-3840.webp) 2x);
    -webkit-mask-image:linear-gradient(180deg,#000 74%,transparent 100%);mask-image:linear-gradient(180deg,#000 74%,transparent 100%)}
  .p-home .nature-top .hero-3d{max-width:340px}
}
/* téléphones : la même vue du paysage, servie dans un fichier recadré trois fois plus léger (le cadrage ne change pas) */
@media (max-width:560px){
  .p-home .hero.nature-top::after{--bw:calc((150px + min(88vw,340px) + env(safe-area-inset-top,0px)) * 1.777778);
    background-image:url(../img/photos/paysage-collines-mobile.webp);
    background-size:calc(var(--bw) * .68011) 100%;background-position:calc(var(--bw) * -.44007 + 66vw) 0}
}

/* au-dessus du paysage, l'en-tête ne s'inverse plus (le blanc inversé sur le vert devient rose) : il reste noir */
html.head-nature .site-head{mix-blend-mode:normal;color:#0A0A0B}
html.head-nature .brand svg path{fill:#0A0A0B}
html.head-nature .head-end .pill,html.head-nature .head-end .call,html.head-nature .head-end .menu-btn{color:#0A0A0B}
@media (hover:hover) and (pointer:fine){
  html.head-nature .head-end .pill:hover,html.head-nature .head-end .call:hover{color:#0A0A0B}
}
html.head-nature .nav-play:hover .pp::before{border-left-color:#fff}
/* au-dessus de la photo du bureau (herbe verte, bureau sombre), les liens du menu passent dans une capsule de verre clair */
.p-home .site-head .nav{position:relative;isolation:isolate}
.p-home .site-head .nav::before{content:"";position:absolute;inset:-7px -20px;z-index:-1;border-radius:999px;opacity:0;pointer-events:none;transition:opacity .35s;
  background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,.42));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),inset 0 1.5px 1px rgba(255,255,255,.95),inset 0 -1.5px 1px rgba(255,255,255,.45),0 10px 26px -12px rgba(0,0,0,.3);
  -webkit-backdrop-filter:blur(14px) saturate(170%);backdrop-filter:blur(14px) saturate(170%)}
html.head-photo .site-head .nav::before{opacity:1}
/* same clear glass behind the logo, and whiter header buttons, while the desk or the grass is under the header
   (on a phone the desk fills the whole width) */
.p-home .site-head .brand{position:relative;isolation:isolate}
.p-home .site-head .brand::before{content:"";position:absolute;inset:-8px -14px;z-index:-1;border-radius:999px;opacity:0;pointer-events:none;transition:opacity .35s;
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,.46));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),inset 0 1.5px 1px rgba(255,255,255,.95),0 10px 26px -12px rgba(0,0,0,.3);
  -webkit-backdrop-filter:blur(14px) saturate(170%);backdrop-filter:blur(14px) saturate(170%)}
html.head-photo .site-head .brand::before{opacity:1}
html.head-photo .hg{background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(255,255,255,.58) 52%,rgba(255,255,255,.7))}
/* keyboard focus clearly visible on the light sky and the glass */
.p-home .offers-scene a:focus-visible{outline:2px solid var(--ink);outline-offset:4px}

/* ---------- offres : la photo du bureau remplit toute la section, sans cadre. Le ciel continue au-dessus
   de la photo, l'herbe en dessous ; le titre, les bulles de verre et l'abonnement sont posés dessus.
   Les bulles restent toujours juste au-dessus de la tête du personnage (placées par main.js). ---------- */
.p-home .offers.offers-scene{isolation:isolate;background:transparent;padding-block:clamp(100px,11vw,160px) clamp(90px,10vw,140px)}
.p-home .offers.offers-scene::before{content:none}
.p-home .offers-bg{position:absolute;left:0;right:0;bottom:0;top:-9vw;z-index:-1;pointer-events:none;overflow:hidden;
  -webkit-clip-path:inset(calc(9vw - var(--c,0px)) 0 0 0 round 50% 50% 0 0 / var(--c,0px) var(--c,0px) 0 0);
  clip-path:inset(calc(9vw - var(--c,0px)) 0 0 0 round 50% 50% 0 0 / var(--c,0px) var(--c,0px) 0 0);
  background:linear-gradient(90deg,#FDFDFE 0%,#E5F2FC 25%,#D1E8F6 50%,#C9E4F3 75%,#C6E3F1 100%)}
/* l'herbe continue sous la photo si la section est plus haute qu'elle */
.p-home .offers-bg::before{content:"";position:absolute;left:0;right:0;bottom:0;top:var(--photo-bottom,100%);background:linear-gradient(180deg,#3B6A17,#2C5211)}
.p-home .offers-photo{position:absolute;left:50%;top:calc(9vw + 330px);width:100%;max-width:none;height:auto;transform:translateX(-50%);display:block;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 5%,#000 96%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 5%,#000 96%,transparent 100%)}
.p-home .offers-scene .sec-head p{color:var(--slate)}
.p-home .offer-scene{position:relative;height:calc(var(--head,430px) + var(--man,480px));margin-top:clamp(6px,1.2vw,18px)}
.p-home .bubbles{position:absolute;inset:0}
.p-home .bubble{position:absolute;isolation:isolate;display:grid;gap:8px;justify-items:center;align-content:center;text-align:center;width:min(28%,330px);min-height:228px;padding:30px 30px 28px;border-radius:38px;
  text-decoration:none;color:var(--ink);translate:-50% 0;-webkit-tap-highlight-color:transparent;
  background:linear-gradient(180deg,rgba(255,255,255,.66),rgba(255,255,255,.3) 58%,rgba(255,255,255,.46));border:1px solid rgba(255,255,255,.82);
  box-shadow:inset 0 2px 1px rgba(255,255,255,.95),inset 0 -2px 1px rgba(255,255,255,.5),inset 0 0 30px rgba(255,255,255,.35),
             0 26px 50px -24px rgba(20,40,20,.45),0 4px 12px -4px rgba(20,40,20,.18);
  -webkit-backdrop-filter:blur(14px) saturate(185%) brightness(1.06);backdrop-filter:blur(14px) saturate(185%) brightness(1.06);
  animation:bubbleFloat 6.5s ease-in-out infinite;transition:scale .6s cubic-bezier(.34,1.56,.64,1),box-shadow .4s}
.p-home .bubble.refract{-webkit-backdrop-filter:var(--hg-f) blur(5px) saturate(185%) brightness(1.08);backdrop-filter:var(--hg-f) blur(5px) saturate(185%) brightness(1.08)}
.p-home .bubble.b1{left:20%;top:34px;animation-delay:-1.4s}
.p-home .bubble.b2{left:50%;top:0;width:min(31%,360px);min-height:250px;animation-delay:-3.2s}
.p-home .bubble.b3{left:80%;top:34px;animation-delay:-5s}
@keyframes bubbleFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
/* reflet en haut à gauche, comme sur une vraie plaque de verre */
.p-home .bubble::before{content:"";position:absolute;z-index:-1;left:7%;top:5%;width:52%;height:20%;border-radius:50%;pointer-events:none;rotate:-6deg;
  background:radial-gradient(ellipse at 50% 45%,rgba(255,255,255,.85),rgba(255,255,255,0) 70%)}
.p-home .bubble .b-name{font-family:var(--f-display);font-stretch:125%;font-weight:700;text-transform:uppercase;letter-spacing:-.02em;font-size:clamp(19px,1.7vw,26px);line-height:1}
.p-home .bubble .b-for{color:var(--slate);font-size:13.5px;line-height:1.35}
.p-home .bubble .b-key{font-family:var(--f-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
.p-home .bubble .b-go{margin-top:6px;font-size:13px;font-weight:500;padding:8px 14px;border-radius:999px;background:var(--ink);color:var(--chalk)}
.p-home .bubble .b-tag{font-family:var(--f-mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;padding:4px 9px;border-radius:999px;background:rgba(10,10,11,.85);color:var(--chalk)}
/* petites bulles qui montent de la tête du personnage, comme une pensée */
.p-home .thought{position:absolute;left:50%;border-radius:50%;translate:-50% 0;
  background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,.3));border:1px solid rgba(255,255,255,.85);
  box-shadow:inset 0 1px 1px #fff,0 6px 14px -6px rgba(20,40,20,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  animation:bubbleFloat 5s ease-in-out infinite}
.p-home .thought.t3{top:calc(var(--head,430px) - 108px);width:30px;height:30px;margin-left:-10px;animation-delay:-2.5s}
.p-home .thought.t2{top:calc(var(--head,430px) - 66px);width:20px;height:20px;margin-left:-4px;animation-delay:-1.5s}
.p-home .thought.t1{top:calc(var(--head,430px) - 34px);width:12px;height:12px;animation-delay:-.5s}
@media (hover:hover) and (pointer:fine){
  .p-home .bubble:hover{scale:1.04;box-shadow:inset 0 2px 1px #fff,inset 0 -2px 1px rgba(255,255,255,.6),inset 0 0 34px rgba(255,255,255,.45),0 34px 60px -24px rgba(20,40,20,.5),0 4px 12px -4px rgba(20,40,20,.2)}
}
.p-home .offers-all{display:flex;justify-content:center;margin-top:clamp(4px,1vw,14px)}
/* l'abonnement : fond blanc, texte noir */
.p-home .offers-scene .subscription{margin-top:clamp(28px,4vw,52px);border-radius:28px;color:var(--ink);background:rgba(255,255,255,.9);border:1px solid #fff;
  box-shadow:inset 0 1.5px 1px #fff,0 30px 60px -34px rgba(20,40,20,.42),0 4px 14px -6px rgba(20,40,20,.14);
  -webkit-backdrop-filter:blur(16px) saturate(160%);backdrop-filter:blur(16px) saturate(160%)}
.p-home .offers-scene .subscription .mono{color:var(--graphite)}
.p-home .offers-scene .subscription p{color:var(--slate)}
.p-home .offers-scene .subscription .tag{color:var(--ink);border-color:var(--line-light);background:rgba(255,255,255,.7)}
@media (max-width:820px){
  .p-home .offer-scene{height:calc(var(--head,720px) + var(--man,300px));margin-top:4px}
  .p-home .offers-photo{top:calc(9vw + 1060px);width:256%}
  .p-home .bubbles{position:relative;display:grid;gap:14px;justify-items:center}
  .p-home .bubble.b1,.p-home .bubble.b2,.p-home .bubble.b3{position:relative;left:auto;top:auto;translate:none;width:100%;max-width:380px;min-height:0;padding:24px 22px 22px;border-radius:30px}
  .p-home .thought.t3{top:calc(var(--head,720px) - 62px);width:22px;height:22px;margin-left:-8px}
  .p-home .thought.t2{top:calc(var(--head,720px) - 36px);width:15px;height:15px;margin-left:-3px}
  .p-home .thought.t1{top:calc(var(--head,720px) - 17px);width:9px;height:9px}
  .p-home .offers-all{margin-top:22px}
}
@media (prefers-reduced-motion:reduce){.p-home .bubble,.p-home .thought{animation:none}}
