:root{
  --black:#1b1b1b;
  --white:#ffffff;
  --coral:#f37b66;
  --pink:#e4167d;
  --text:#191919;
  --muted:#5b5b5b;
  --line:#e7e7e7;
  --grad:linear-gradient(90deg,#f37b66 0%,#ef5d78 45%,#e4167d 100%);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.35}
a{color:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 48px));margin:0 auto}
.site-header{background:var(--black);color:#fff;padding:22px 0}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:32px}
.brand{display:flex;align-items:center;text-decoration:none}
.brand img{width:320px;max-width:38vw;height:auto;display:block}
.main-nav{display:flex;gap:28px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.main-nav a{font-size:14px;font-weight:700;text-decoration:none;text-transform:uppercase}
.main-nav a:hover,.main-nav a[aria-current="page"]{text-decoration:underline}
.hero{background:var(--grad);padding:54px 0 42px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:48px;align-items:center}
.hero h1{font-size:clamp(52px,7vw,92px);line-height:.95;margin:0 0 52px;font-weight:800;letter-spacing:-2.6px;max-width:820px}
.hero-copy{font-size:15px;max-width:900px}
.hero-actions h2{font-size:29px;line-height:1.05;margin:0 0 30px}
.button{display:inline-flex;align-items:center;justify-content:center;background:var(--black);color:#fff;text-decoration:none;border:0;border-radius:999px;padding:15px 30px;font-size:16px;min-width:250px;cursor:pointer}
.button + .button{margin-top:16px}
.button.small{min-width:0;padding:11px 21px}
.section{padding:54px 0}
.intro-grid{display:grid;grid-template-columns:400px 1fr;gap:58px;align-items:start}
.project-card{background:var(--grad);padding:28px 24px;border-radius:10px;min-height:315px}
.project-card h2{font-size:31px;line-height:1.05;margin:0 0 18px}
.project-card hr{border:0;border-top:1px solid #222;margin:0 0 24px}
.project-card ul{list-style:none;padding:0;margin:0;font-weight:700}
.manifesto h2{font-size:34px;margin:0 0 28px}
.manifesto p{margin:0 0 22px;font-size:16px}
.split-section{padding:58px 0}
.split-section.coral{background:#f27a66}
.split-section.pink{background:#e2187c;color:#fff}
.split-grid{display:grid;grid-template-columns:360px 1fr;gap:74px;align-items:center}
.split-copy h2{font-size:36px;margin:0 0 28px;text-transform:uppercase}
.split-copy p,.split-copy li{font-size:16px}
.split-copy ul{margin-top:15px;padding-left:24px}
.split-cta{display:flex;justify-content:center}
.split-section.pink .button{background:var(--black)}
.site-footer{background:var(--black);color:#fff;padding:58px 0 38px}
.footer-grid{display:grid;grid-template-columns:280px 1fr 1.2fr;gap:50px;align-items:end}
.footer-logo img{width:145px;height:auto;display:block}
.socials{display:flex;gap:12px;align-items:center;justify-content:center;padding-bottom:48px}
.socials a{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#111;font-size:12px;font-weight:700;text-decoration:none}
.footer-copy{font-size:14px}
.footer-copy p{margin:0 0 24px}
.footer-copy a{color:#fff}
.footer-legal{display:flex;gap:4px;flex-wrap:wrap}
.footer-copyright{margin-top:38px}
.page-main{padding:36px 0 28px}
.page-grid{display:grid;grid-template-columns:245px 1fr;gap:30px;align-items:center}
.offer-card{background:var(--grad);color:#fff;padding:22px 20px;border-radius:8px}
.offer-card h2{font-size:34px;line-height:1.05;margin:0 0 26px}
.offer-card p{font-size:15px;font-weight:700}
.page-content h1{font-size:38px;line-height:1.05;margin:0 0 20px}
.page-content h2{font-size:34px;line-height:1.05;margin:22px 0 20px}
.page-content p{font-size:15px;margin:0 0 18px}
.steps{margin-top:20px}
.step{margin-bottom:20px}
.step strong{display:block}
.contact-wrap{width:min(720px,calc(100% - 48px));margin:0 auto;padding:28px 0 52px}
.contact-wrap h1{font-size:clamp(48px,6.5vw,82px);text-align:center;line-height:1;margin:0 0 28px}
.contact-wrap .lead{text-align:center;margin-bottom:42px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 26px}
.field{display:flex;flex-direction:column;gap:8px}
.field.full{grid-column:1/-1}
label{font-size:15px}
input,textarea{width:100%;padding:14px 12px;border:1px solid #777;font:inherit;background:#fff}
textarea{min-height:110px;resize:vertical}
.checks{display:grid;gap:12px;margin:8px 0 6px}
.checks label{display:flex;gap:12px;align-items:flex-start}
.checks input{width:16px;height:16px;margin-top:2px}
.submit{width:100%;border-radius:0;background:#cf1d82;margin-top:8px}
.about-wrap{width:min(1060px,calc(100% - 48px));margin:0 auto;padding:34px 0 50px}
.about-wrap h1{font-size:34px;margin:0 0 24px}
.about-wrap h2{font-size:22px;margin:28px 0 2px}
.about-wrap p{font-size:16px;max-width:980px}
.legal-wrap{width:min(920px,calc(100% - 48px));margin:0 auto;padding:48px 0 70px}
.legal-wrap h1{font-size:42px;margin-top:0}
.legal-wrap h2{margin-top:28px}
@media(max-width:900px){
 .header-inner{align-items:flex-start;flex-direction:column}.brand img{max-width:100%;width:270px;height:auto}.main-nav{gap:16px}
 .hero-grid,.intro-grid,.split-grid,.page-grid,.footer-grid{grid-template-columns:1fr}
 .hero h1{margin-bottom:34px}.hero-actions{padding-top:0}.intro-grid{gap:28px}.project-card{min-height:0}.split-grid{gap:28px}.split-cta{justify-content:flex-start}.footer-grid{align-items:start}.socials{justify-content:flex-start;padding:0}.footer-logo img{width:125px;height:auto}
}
@media(max-width:620px){
 .container,.contact-wrap,.about-wrap,.legal-wrap{width:min(100% - 28px,1180px)}
 .site-header{padding:12px 0}.brand img{width:180px;height:auto;max-width:58vw}.main-nav{font-size:12px;gap:12px}.main-nav a{font-size:12px}
 .hero{padding:30px 0}.hero h1{font-size:clamp(34px,10.5vw,44px);line-height:.98;letter-spacing:-1px;margin-bottom:22px}.hero-actions h2{font-size:24px}.button{min-width:0;width:100%}
 .section,.split-section{padding:36px 0}.intro-grid{grid-template-columns:1fr}.project-card h2{font-size:28px}.manifesto h2{font-size:30px}.split-copy h2{font-size:30px}
 .form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.contact-wrap h1{font-size:52px}
}


/* Visuels Studio2p — Pixel & Print */
.home-hero-visual{width:min(1180px,calc(100% - 48px));margin:42px auto 0;border-radius:18px;overflow:hidden;box-shadow:0 18px 45px rgba(0,0,0,.18);background:#1b1b1b}
.home-hero-visual img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.page-visual{margin:26px 0 34px;border-radius:14px;overflow:hidden;background:#f4f4f4}
.page-visual img{width:100%;height:auto;max-height:520px;object-fit:cover}
.ia-hero-visual{margin:34px 0 0;border-radius:16px;overflow:hidden;box-shadow:0 16px 40px rgba(0,0,0,.16)}
.ia-hero-visual img{width:100%;height:auto;max-height:650px;object-fit:cover}
.portrait-visual{margin:22px auto 38px;width:min(430px,100%);border-radius:18px;overflow:hidden;background:#f4f4f4;box-shadow:0 14px 34px rgba(0,0,0,.12)}
.portrait-visual img{width:100%;height:auto;display:block}
.about-portrait{float:right;margin:0 0 28px 44px;width:min(390px,44%)}
.about-wrap::after{content:"";display:block;clear:both}
@media(max-width:900px){
 .home-hero-visual{width:min(100% - 28px,1180px);margin-top:30px;border-radius:12px}
 .about-portrait{float:none;width:min(430px,100%);margin:18px auto 34px}
 .page-visual img,.ia-hero-visual img{max-height:none}
}


/* Menu mobile Studio2p */
.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  padding:10px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:10px;
  background:transparent;
  color:#fff;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  -webkit-tap-highlight-color:transparent;
}
.menu-toggle span{
  display:block;
  width:24px;
  height:2px;
  border-radius:2px;
  background:#fff;
  transition:transform .22s ease,opacity .18s ease;
}
.menu-toggle:hover,.menu-toggle:focus-visible{
  border-color:var(--coral);
  outline:none;
}

@media(max-width:720px){
  .site-header{position:relative;z-index:1000;padding:12px 0}
  .header-inner{
    position:relative;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:18px;
  }
  .brand img{width:180px;max-width:58vw;height:auto}
  .menu-toggle{display:flex;flex:0 0 auto}
  .main-nav{
    position:absolute;
    top:calc(100% + 12px);
    left:0;
    right:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:8px;
    background:var(--black);
    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;
    box-shadow:0 18px 38px rgba(0,0,0,.28);
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    pointer-events:none;
    transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
  }
  .main-nav.is-open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
  }
  .main-nav a{
    display:block;
    padding:13px 15px;
    border-radius:8px;
    font-size:13px;
    text-decoration:none;
  }
  .main-nav a:hover,.main-nav a:focus-visible,.main-nav a[aria-current="page"]{
    background:linear-gradient(90deg,rgba(243,123,102,.20),rgba(228,22,125,.20));
    text-decoration:none;
    outline:none;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}


/* Accueil — visuel Pixel & Print intégré au hero */
.hero-home{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#171717;
  color:#fff;
  min-height:690px;
  display:flex;
  align-items:center;
  padding:72px 0;
}
.hero-home::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:url("assets/images/accueil.webp") center center / cover no-repeat;
}
.hero-home::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(90deg,rgba(19,19,22,.90) 0%,rgba(19,19,22,.76) 34%,rgba(19,19,22,.28) 58%,rgba(19,19,22,.62) 100%),
    linear-gradient(180deg,rgba(228,22,125,.08),rgba(243,123,102,.06));
}
.hero-home .hero-grid{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
  gap:72px;
}
.hero-home h1{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.32)}
.hero-home .hero-copy{
  max-width:700px;
  font-size:17px;
  line-height:1.55;
  color:rgba(255,255,255,.94);
  background:rgba(20,20,24,.34);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  padding:18px 20px;
  border-left:4px solid var(--coral);
  border-radius:0 10px 10px 0;
}
.hero-home .hero-actions{
  background:rgba(20,20,24,.72);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  padding:30px;
  box-shadow:0 18px 42px rgba(0,0,0,.24);
}
.hero-home .hero-actions h2{color:#fff}
.hero-home .hero-actions .button{
  width:100%;
  background:linear-gradient(90deg,var(--coral),var(--pink));
  color:#fff;
  font-weight:700;
  border:1px solid rgba(255,255,255,.14);
}
.hero-home .hero-actions .button:hover{filter:brightness(1.07);transform:translateY(-1px)}

@media(max-width:900px){
  .hero-home{min-height:0;padding:52px 0;background:#171717}
  .hero-home::before{background-position:52% center}
  .hero-home::after{background:linear-gradient(180deg,rgba(19,19,22,.88) 0%,rgba(19,19,22,.72) 56%,rgba(19,19,22,.82) 100%)}
  .hero-home .hero-grid{width:min(100% - 28px,1180px);grid-template-columns:1fr;gap:30px}
  .hero-home .hero-actions{padding:24px}
}
@media(max-width:620px){
  .hero-home{padding:34px 0 40px}
  .hero-home::before{background-position:center top}
  .hero-home .hero-copy{font-size:15px;padding:14px 16px}
  .hero-home .hero-actions{padding:20px;border-radius:14px}
  .hero-home h1 br{display:none}
}

/* Correctif accueil/mobile — 08-10-2026 */
@media(max-width:720px){
  .brand img{
    width:120px !important;
    max-width:42vw !important;
    height:auto !important;
  }
  .site-header{padding:9px 0}
  .menu-toggle{width:42px;height:42px;padding:9px}
}
@media(max-width:420px){
  .brand img{width:105px !important;max-width:40vw !important}
}

/* L'image Pixel & Print reste réellement visible dans le hero */
.hero-home{
  background-color:#171717;
  background-image:
    linear-gradient(90deg,rgba(18,18,21,.91) 0%,rgba(18,18,21,.76) 34%,rgba(18,18,21,.24) 61%,rgba(18,18,21,.50) 100%),
    url("assets/images/accueil.webp");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
.hero-home::before,.hero-home::after{display:none !important}

@media(max-width:900px){
  .hero-home{
    background-image:
      linear-gradient(180deg,rgba(18,18,21,.80) 0%,rgba(18,18,21,.56) 46%,rgba(18,18,21,.76) 100%),
      url("assets/images/accueil.webp");
    background-position:center center;
  }
}
@media(max-width:620px){
  .hero-home{
    min-height:680px;
    background-size:auto 100%;
    background-position:center top;
  }
  .hero-home h1{
    font-size:clamp(30px,9vw,38px) !important;
    line-height:1.04 !important;
    letter-spacing:-.6px !important;
    overflow-wrap:anywhere;
  }
  .hero-home .hero-copy{font-size:14px;line-height:1.48}
}

/* === CORRECTIF MOBILE DEFINITIF 08-10-2026 === */
@media (max-width: 720px){
  .site-header{padding:8px 0 !important;}
  .site-header .header-inner{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;
  }
  .site-header .brand{
    display:block !important;
    flex:0 0 auto !important;
    line-height:0 !important;
  }
  .site-header .brand img{
    width:110px !important;
    max-width:110px !important;
    height:auto !important;
    display:block !important;
  }
  .menu-toggle{
    flex:0 0 40px !important;
    width:40px !important;
    height:40px !important;
    margin-left:auto !important;
  }
}
@media (max-width: 390px){
  .site-header .brand img{
    width:96px !important;
    max-width:96px !important;
  }
}

/* Accueil : le visuel Pixel & Print est une vraie composante du hero. */
.hero-home{
  background-color:#171717 !important;
  background-image:
    linear-gradient(90deg,rgba(18,18,21,.88) 0%,rgba(18,18,21,.70) 34%,rgba(18,18,21,.18) 61%,rgba(18,18,21,.40) 100%),
    url("assets/images/accueil.webp") !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}
@media (max-width: 720px){
  .hero-home{
    background-image:
      linear-gradient(180deg,rgba(18,18,21,.76) 0%,rgba(18,18,21,.44) 48%,rgba(18,18,21,.74) 100%),
      url("assets/images/accueil.webp") !important;
    background-size:cover !important;
    background-position:center center !important;
  }
}


/* =========================================================
   Studio2p — correctif final logo + titre accueil mobile
   ========================================================= */

.home-title span{
  display:block;
}

/* Desktop : conserver volontairement les 4 lignes demandées */
.hero-home .home-title{
  max-width:none;
}

@media(max-width:720px){
  /* Logo assez grand pour lire clairement "Studio2p — L'image qui imprime" */
  .site-header{
    padding:12px 0 !important;
  }
  .header-inner{
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:16px !important;
  }
  .brand{
    min-width:0;
    flex:1 1 auto;
  }
  .brand img{
    width:220px !important;
    max-width:calc(100vw - 100px) !important;
    height:auto !important;
  }
  .menu-toggle{
    width:46px !important;
    height:46px !important;
    flex:0 0 46px !important;
  }

  /* Titre : 4 lignes fixes, sans coupure au milieu des mots */
  .hero-home .home-title{
    font-size:clamp(38px,11.4vw,48px) !important;
    line-height:.95 !important;
    letter-spacing:-1.3px !important;
    margin:0 0 24px !important;
    max-width:none !important;
  }
  .hero-home .home-title span{
    display:block !important;
    white-space:nowrap;
  }

  /* Le visuel reste bien présent en fond */
  .hero-home{
    background-image:
      linear-gradient(180deg,rgba(18,18,21,.70) 0%,rgba(18,18,21,.48) 45%,rgba(18,18,21,.72) 100%),
      url("assets/images/accueil.webp") !important;
    background-size:cover !important;
    background-position:center top !important;
    background-repeat:no-repeat !important;
  }
}

/* Petits téléphones : réduire légèrement sans redevenir illisible */
@media(max-width:380px){
  .brand img{
    width:190px !important;
    max-width:calc(100vw - 92px) !important;
  }
  .hero-home .home-title{
    font-size:clamp(34px,10.8vw,41px) !important;
    letter-spacing:-1px !important;
  }
}


/* =========================================================
   Studio2p — AJUSTEMENT MOBILE 14:05
   Force logo lisible + titre accueil en 4 lignes.
   ========================================================= */
@media (max-width:720px){

  .site-header .header-inner{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
  }

  .site-header .brand{
    flex:1 1 auto !important;
    min-width:0 !important;
    line-height:0 !important;
  }

  /* Plus grand que la version précédente : le nom Studio2p doit être lisible */
  .site-header .brand img{
    width:245px !important;
    max-width:calc(100vw - 92px) !important;
    height:auto !important;
    display:block !important;
  }

  .site-header .menu-toggle{
    flex:0 0 44px !important;
    width:44px !important;
    height:44px !important;
  }

  /* 4 lignes EXACTES sur l'accueil */
  .hero-home .home-title{
    font-size:44px !important;
    line-height:.98 !important;
    letter-spacing:-1.25px !important;
    margin:0 0 24px !important;
    max-width:none !important;
    overflow:visible !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }

  .hero-home .home-title > span{
    display:block !important;
    white-space:nowrap !important;
  }
}

@media (max-width:390px){
  .site-header .brand img{
    width:220px !important;
    max-width:calc(100vw - 88px) !important;
  }

  .hero-home .home-title{
    font-size:39px !important;
    line-height:.99 !important;
    letter-spacing:-1px !important;
  }
}

@media (max-width:350px){
  .site-header .brand img{
    width:195px !important;
  }

  .hero-home .home-title{
    font-size:35px !important;
  }
}
