/* Derrick Studio : la couleur et le peps (chargé en dernier).
   Icônes d'apps qui flottent sur les côtés, une teinte par partie de page, « Pour qui ? ». */

/* ---------- les icônes d'apps qui flottent en fond, dans les marges ---------- */
.icones-fond{position:absolute;top:0;left:0;right:0;height:100vh;min-height:640px;z-index:0;pointer-events:none;overflow:hidden}   /* seulement le haut de la page : elles partent avec le défilement (Loïc, 22/11/2026) */
.icones-fond i{position:absolute;width:var(--s);height:var(--s);display:block;transform:rotate(var(--r));
  left:calc(18px + var(--f) * min(110px, (100vw - 1200px) / 2 - 36px - var(--s)));   /* décalées du bord, sans toucher le texte */
  filter:drop-shadow(0 10px 14px rgba(0,0,0,.45)) drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.icones-fond svg{display:block;width:100%;height:100%;animation:flotte var(--d) ease-in-out infinite alternate}
@keyframes flotte{from{transform:translateY(-5px) rotate(-2deg)}to{transform:translateY(6px) rotate(2deg)}}
@media (max-width:1430px){.icones-fond{display:none}}   /* marge trop étroite : les icônes passeraient sous le texte */
html[data-theme="light"] .icones-fond i{filter:drop-shadow(0 10px 14px rgba(15,33,43,.25)) drop-shadow(0 2px 3px rgba(15,33,43,.2))}
@media (prefers-reduced-motion:reduce){.icones-fond svg{animation:none}}
/* le contenu passe devant */
main,.foot{position:relative}
main{z-index:1}

/* ---------- une teinte par partie de page ---------- */
.scene[data-shape="iphone"],.scene[data-shape="iphone2"]{--accent:#ffb23e}
.scene[data-shape="android"],.scene[data-shape="android2"]{--accent:#7fe07f}
.scene[data-shape="web"],.scene[data-shape="boutique"]{--accent:#6fc8ff}
.scene[data-shape="serveur"],.scene[data-shape="serveur2"]{--accent:#c3a6ff}
html[data-theme="light"] .scene[data-shape="android"],html[data-theme="light"] .scene[data-shape="android2"]{--accent:#2a7a2a}
html[data-theme="light"] .scene[data-shape="web"],html[data-theme="light"] .scene[data-shape="boutique"]{--accent:#1767a8}
html[data-theme="light"] .scene[data-shape="serveur"],html[data-theme="light"] .scene[data-shape="serveur2"]{--accent:#6a3fc9}
.scene:not(.hero-mur){position:relative}
.scene:not(.hero-mur)::before{content:"";position:absolute;inset:8% 0 8% 38%;z-index:-1;pointer-events:none;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--accent) 17%,transparent),transparent 72%)}
.scene .link{text-decoration-color:var(--accent)}
@media (max-width:1000px){.scene:not(.hero-mur)::before{inset:0 0 40% 0}}

/* ---------- « Pour qui ? » : particuliers et entreprises ---------- */
.pourqui{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:34px}
.pourqui article{position:relative;overflow:hidden;border-radius:28px;padding:30px 30px 28px;border:1px solid var(--line);background:var(--panel);backdrop-filter:blur(8px)}
.pourqui article::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--t1),var(--t2))}
.pourqui .p-part{--t1:#ff8fb1;--t2:#ffb23e}
.pourqui .p-pro{--t1:#6fc8ff;--t2:#7fe07f}
.pourqui h3{font-family:var(--display);font-weight:900;font-size:clamp(32px,3vw,46px);line-height:1;margin:0 0 12px}
.pourqui p{color:var(--soft)}
.pourqui ul{margin:18px 0 22px;padding:0;list-style:none;display:grid;gap:10px}
.pourqui li{position:relative;padding-left:30px}
.pourqui li::before{content:"";position:absolute;left:0;top:.32em;width:18px;height:18px;border-radius:50%;background:linear-gradient(135deg,var(--t1),var(--t2))}
.pourqui li b{color:var(--ink)}
@media (max-width:1000px){.pourqui{grid-template-columns:minmax(0,1fr)}}

/* ---------- « Vous êtes » dans le formulaire ---------- */
.f-qui{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.f-qui legend{float:left;margin:0 14px 0 0}
.f-qui label{position:relative;display:block;cursor:pointer;color:var(--ink);font-size:16px}
.f-qui input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer;padding:0}
.f-qui span{display:block;padding:9px 18px;border:1px solid var(--line);border-radius:999px;background:var(--field);font-weight:600}
.f-qui input:checked + span{border-color:var(--amber);background:color-mix(in srgb,var(--amber) 16%,var(--field))}
.f-qui input:focus-visible + span{outline:2px solid var(--amber);outline-offset:2px}
@media (max-width:600px){.f-qui legend{float:none;width:100%;margin-bottom:6px}}

/* la spécialité, dite clairement au-dessus du nom */
.hero-metier{font-weight:600;font-size:clamp(16px,1.300vw,19px);color:var(--accent);margin:0 0 18px;max-width:30ch}

/* où se trouve le studio, et où il travaille */
.ou{margin-top:22px;font-size:15.500px;color:var(--soft);max-width:46ch;padding-left:14px;border-left:2px solid var(--accent)}

/* référencement : le h1 de l'accueil porte la spécialité ; h1 plus longs sur les pages de service */
h1 .hero-metier{display:block;font-family:var(--body);letter-spacing:0;line-height:1.35;text-wrap:balance}
.hero-mur.page h1{font-size:clamp(40px,4.300vw,72px);line-height:.96;max-width:16ch}
.foot .foot-titre{font-family:var(--body);font-size:14px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--soft);margin:0 0 12px;max-width:none}
.contact-infos h2{font-family:var(--display);font-weight:800;font-size:26px;line-height:1.1;margin:0 0 6px}
.metier-h2{font-size:clamp(34px,3.400vw,54px);margin-bottom:22px}
.cas h3 .cas-metier{display:block;font-family:var(--body);font-size:15px;font-weight:700;line-height:1.4;margin-bottom:6px}
.idea-lien{display:inline-block;margin-top:14px;font-size:15.500px}
/* page Android : un écran par métier */
.metiers-liste{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 22px}
.metiers-liste li{container-type:inline-size}
.metiers-liste a{display:block;text-decoration:none;transition:transform .2s}
.metiers-liste a:hover{transform:translateY(-6px)}
.metiers-liste .phone{aspect-ratio:9/19.200}
.metiers-liste b{display:block;margin-top:14px;font-family:var(--display);font-weight:800;font-size:24px;line-height:1.1;color:var(--ink)}
@media (max-width:1000px){.metiers-liste{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:600px){.metiers-liste{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.metiers-liste b{font-size:20px}.hero-mur.page h1{font-size:clamp(34px,9.500vw,44px)}}

/* rien ne doit élargir la page (halos, murs, téléphones) : sinon le site déborde sur téléphone */
main{overflow-x:clip}

/* grands schémas (serveurs) : colonne de texte un peu plus étroite pour laisser la place au dessin (Loïc, 22/11/2026) */
@media (min-width:1001px){.scene[data-shape^="serveur"] .txt,.scene[data-shape="console"] .txt{max-width:440px}}
