/* PROJELA mobile V2 — visual redesign and touch-first conversion, 2026-10-18.
   Production homepage keeps exactly two real links and all backend forms intact. */
@media screen and (max-width:760px) {
  html { scroll-behavior:smooth; scroll-padding-top:86px; -webkit-text-size-adjust:100%;}
  body {overscroll-behavior-x:none}
  /* Edge-to-edge immersive portal. The two choices stay the only central actions. */
  .gallery {
    border-radius:0!important;
    min-height:100svh!important;min-height:100dvh!important;
    width:100%;max-width:none;overflow:hidden;
    background:
      radial-gradient(ellipse 95% 42% at 5% 47%,rgba(0,255,224,.16),transparent 75%),
      radial-gradient(ellipse 95% 40% at 102% 53%,rgba(180,102,255,.18),transparent 70%),
      radial-gradient(ellipse 60% 55% at 55% 1%,rgba(30,113,157,.21),transparent 74%),
      #050c1d!important;
    box-shadow:inset 0 0 0 1px rgba(167,229,255,.11)!important;
    padding-inline:13px!important;
  }
  .gallery .gallery-choices {
    position:relative;
    z-index:3;
    width:min(100%,430px)!important;max-width:430px!important;
    display:flex!important;flex-direction:column!important;gap:clamp(12px,2.8vh,24px)!important;
    padding:0 2px!important;margin:auto!important;box-sizing:border-box;
  }
  .gallery .role-section{
    display:flex!important;align-items:center;justify-content:center;
    width:100%;max-width:none;
    min-height:clamp(140px,22vh,196px)!important;
    padding:0 4px!important;box-sizing:border-box;isolation:isolate;
    animation:mobile-panel-enter .8s cubic-bezier(.17,1,.25,1) both;
  }
  .gallery .role-pro {animation-delay:.18s}
  .gallery .role-button,.gallery .role-pro .role-button {
    isolation:isolate;box-sizing:border-box;position:relative;
    width:100%!important;max-width:100%!important;
    min-height:clamp(126px,20vh,178px)!important;height:clamp(126px,20vh,178px)!important;
    display:flex!important;justify-content:flex-start!important;align-items:center!important;
    text-align:left!important;
    border-radius:33px!important;
    padding:30px 20px 8px 22px!important;
    border:2px solid rgba(139,255,233,.89)!important;
    color:#e6fffd!important;
    background:
      radial-gradient(ellipse 110% 98% at 5% 0%,rgba(43,253,205,.29),transparent 60%),
      linear-gradient(130deg,rgba(7,87,89,.97),rgba(3,22,38,.99) 70%,rgba(5,43,55,.97))!important;
    box-shadow:inset 0 2px 0 #c1fff360,inset 0 -1px 0 #4bffce30,
      0 0 0 5px #35ffcd15,0 0 36px #32ffd04d,0 21px 46px rgba(0,0,0,.55)!important;
    text-shadow:0 3px 15px #0009,0 0 21px #4bffd333!important;
    font-family:"Anton","Impact",sans-serif!important;
    letter-spacing:.015em!important;
    font-size:clamp(37px,10.1vw,52px)!important;line-height:1!important;
    filter:none!important;
    animation:mobile-card-breathe 4.5s ease-in-out infinite alternate!important;
    transition:transform .24s ease,box-shadow .25s ease!important;
    -webkit-tap-highlight-color:transparent;touch-action:manipulation;
  }
  .gallery .role-pro .role-button {
    background:
       radial-gradient(ellipse 100% 102% at 4% 0%,rgba(199,127,255,.27),transparent 65%),
       linear-gradient(130deg,rgba(82,40,129,.98),rgba(18,18,43,.99) 70%,rgba(52,24,88,.98))!important;
    border-color:rgba(227,179,255,.93)!important;
    box-shadow:inset 0 2px 0 #eed5ff66,inset 0 -1px 0 #d0a1ff36,
      0 0 0 5px #c38cff18,0 0 39px #9f65ff70,0 21px 46px rgba(0,0,0,.55)!important;
    text-shadow:0 3px 15px #0008,0 0 22px #a16bff4e!important;
    animation-delay:-2s!important;
  }
  /* Visibly new numbered label, inside each of the only two buttons. */
  .gallery .role-button::before{
    content:"01   /   VOTRE PROJET"!important;
    position:absolute!important;inset:15px auto auto 22px!important;
    height:auto!important;width:auto!important;
    transform:none!important;animation:none!important;mix-blend-mode:normal!important;
    opacity:1!important;background:none!important;
    font:700 10px/1.4 "Space Grotesk",sans-serif!important;
    letter-spacing:.20em!important;color:#aeffeb!important;
    filter:none!important;pointer-events:none!important;z-index:2!important;
    white-space:nowrap;
  }
  .gallery .role-pro .role-button::before{
    content:"02   /   VOTRE ACTIVITÉ"!important;color:#e7c7ff!important;
  }
  .gallery .role-button::after{
    content:"↗"!important;position:absolute!important;
    inset:auto 17px 15px auto!important;
    width:42px!important;height:42px!important;
    display:flex!important;align-items:center;justify-content:center;
    border-radius:14px!important;
    border:1px solid rgba(142,255,228,.55)!important;
    box-shadow:inset 0 1px 0 #ffffff3b,0 0 18px #36ffbd38!important;
    background:rgba(89,255,215,.12)!important;
    color:#adffe8!important;
    font:400 28px/1 "Space Grotesk",sans-serif!important;
    text-align:center;pointer-events:none!important;z-index:3;
  }
  .gallery .role-pro .role-button::after{
    color:#f2d7ff!important;border-color:#d6b4ff80!important;
    background:#a878fb23!important;
    box-shadow:inset 0 1px 0 #ffffff3b,0 0 20px #d3a5ff55!important;
  }
  .gallery .role-button span{
    width:100%;display:block;white-space:nowrap!important;
    font:inherit!important;color:inherit!important;letter-spacing:inherit!important;
    position:relative;z-index:2!important;
  }
  .gallery .role-button:active,.gallery .role-pro .role-button:active{
    transform:scale(.975)!important;animation-play-state:paused!important;
  }
  .gallery .role-button:focus-visible {
    outline:3px solid #fff!important;outline-offset:5px!important;
  }
  /* Give animated tools more space without letting them cover the copy. */
  .gallery .role-section .led-halo-satellite {inset:-19px -11px!important;opacity:.85}
  .gallery .role-section .led-aurora{opacity:.75}
  .gallery .projela-culture-fact{
    width:min(100% - 20px,470px)!important;
    left:50%!important;bottom:max(16px,env(safe-area-inset-bottom,0px) + 13px)!important;
    background:linear-gradient(100deg,transparent,rgba(1,12,29,.90) 16%,rgba(1,12,29,.90) 84%,transparent)!important;
    padding:9px 11px!important;
    font:italic 11.6px/1.42 "Space Grotesk",sans-serif!important;
    color:#deedff!important;border-radius:17px!important;
  }
  /* Interior pages are now a legible mobile app layout, not tiny desktop pages. */
  body:has(.pro-wrap),body:has(#quick-project-form){background:#eaf3fb}
  header .inner {
    padding:10px 15px!important;
    gap:9px!important;
    border-bottom:1px solid #61ecff55;
  }
  header .inner>a:first-child strong{letter-spacing:.07em!important}
  .projela-nav-toggle,.projela-header-cta{
    min-height:46px!important;
    padding:11px 14px!important;
    border-radius:15px!important;
    font-size:13px!important;
    touch-action:manipulation;
  }
  .projela-header-cta{background:#9af8f3!important;box-shadow:0 0 17px #2fd5ff66}
  header nav#projela-nav a{min-height:47px!important;font-size:16px!important}
  .pro-wrap{padding-inline:12px!important;margin-top:12px!important}
  .pro-hero{
    border-radius:30px!important;
    padding:30px 22px!important;
    background:radial-gradient(ellipse at 90% 12%,#236895a6,transparent 65%),linear-gradient(140deg,#071b34,#174568)!important;
    box-shadow:0 16px 32px #0b315733,0 0 0 1px #76d8ff70 inset!important;
  }
  .pro-hero h1{font-size:clamp(36px,9.6vw,47px)!important;line-height:1.12!important;letter-spacing:-.04em!important}
  .pro-hero p{font-size:16px!important;line-height:1.63!important}
  .pro-hero a{
    min-height:54px;box-sizing:border-box;
    border-radius:18px!important;
    box-shadow:0 9px 22px #0004,0 0 22px #6afff53e!important;
    font-size:16px!important;
  }
  main>.wp-block-group:first-child{
    border-radius:30px!important;
    padding:34px 20px 28px!important;
    background:radial-gradient(ellipse at 100% 0,#2b78987a,transparent 50%),linear-gradient(140deg,#061729,#124361)!important;
    box-shadow:0 18px 36px #00254931!important;
  }
  main>.wp-block-group:first-child h1{
    font-size:clamp(37px,9.7vw,47px)!important;
    line-height:1.11!important;letter-spacing:-.04em!important;
  }
  .pro-card,.pro-form,.projela-faq-card{
    border-radius:22px!important;
    box-shadow:0 8px 25px #113a5f17;
  }
  .pro-form{padding:20px 15px!important}
  .pro-form h2{font-size:clamp(25px,7vw,32px)!important;line-height:1.2!important}
  .pro-fields{grid-template-columns:minmax(0,1fr)!important}
  .pro-fields input,.pro-fields select,.pro-form textarea{
    box-sizing:border-box;width:100%!important;min-height:50px!important;
    max-width:100%!important;
    border-radius:14px!important;
    font-size:16px!important;
  }
  #quick-project-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]),
  #quick-project-form select,#quick-project-form textarea{font-size:16px!important;max-width:100%!important}
  #quick-project-form button:not([hidden]),.pro-submit,#projela-pro-next,#projela-create-presentation{
    min-height:48px!important;touch-action:manipulation
  }
  .pro-submit{width:100%!important;border-radius:18px!important;font-size:16px!important}
  .pro-services-options{grid-template-columns:minmax(0,1fr)!important}
  .pro-service-chip{min-height:51px!important}
}
@media screen and (max-width:355px){
 .gallery .gallery-choices{gap:13px!important}
 .gallery .role-section{min-height:136px!important}
 .gallery .role-button,.gallery .role-pro .role-button{
  min-height:127px!important;height:127px!important;
  font-size:clamp(32px,9.9vw,39px)!important;
  padding-inline:17px!important;border-radius:28px!important
 }
 .gallery .role-button::before{left:18px!important;top:13px!important;letter-spacing:.16em!important;font-size:9px!important}
 .gallery .role-button::after{width:35px!important;height:35px!important;right:12px!important;bottom:11px!important}
 .gallery .projela-culture-fact{font-size:10.5px!important;bottom:max(10px,env(safe-area-inset-bottom,0px) + 7px)!important}
 .pro-hero{padding:23px 17px!important}
 .pro-hero h1{font-size:33px!important}
}
@media screen and (max-width:760px) and (max-height:610px){
 .gallery .role-section{min-height:130px!important}
 .gallery .role-button,.gallery .role-pro .role-button{
  min-height:123px!important;height:123px!important
 }
 .gallery .role-button{font-size:clamp(32px,9.4vw,43px)!important}
 .gallery .gallery-choices{gap:10px!important}
 .gallery .projela-culture-fact{bottom:max(5px,env(safe-area-inset-bottom,0px) + 4px)!important;padding:4px 7px!important}
}
@media screen and (hover:none) and (pointer:coarse){
 .gallery .role-button:hover,.gallery .role-pro .role-button:hover{
   transform:none!important;
   filter:none!important;
 }
}
@keyframes mobile-panel-enter{from{opacity:0;transform:translateY(27px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes mobile-card-breathe{from{filter:brightness(.94)}to{filter:brightness(1.1)}}
@media(prefers-reduced-motion:reduce){
 .gallery .role-section,.gallery .role-button,.gallery .role-pro .role-button{
   animation:none!important;transition:none!important
 }
}

[executed on device: recrulead-server (2ede2a2a-f360-4e90-b024-3723090acc13)]
