/* NORUBI - feuille de style partagee (legal). Ne pas modifier a la main : regenere par le bloc D. */
:root{--ink:#090909;--muted:#555;--blue:#5aa0df;--blue-deep:#2f72b7;--cream:#fff7ec;--paper:#fff;--shadow:0 22px 62px rgba(0,0,0,.12)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);background:radial-gradient(circle at 20% 0%,#fff 0,#fff7ec 40%,#eff8fb 100%);line-height:1.8}a{color:inherit}.shell{width:min(980px,100%);margin:0 auto;padding:clamp(20px,4vw,56px)}.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:28px}.brand{font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:900;letter-spacing:.18em;text-decoration:none}.nav{display:flex;gap:10px;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border-radius:999px;background:rgba(255,255,255,.76);border:1px solid rgba(255,255,255,.86);box-shadow:0 10px 22px rgba(0,0,0,.07);font-size:13px;font-weight:900;text-decoration:none}.pill.contact{background:linear-gradient(180deg,var(--blue),var(--blue-deep));color:#fff}.card{background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.88);border-radius:30px;box-shadow:var(--shadow);padding:clamp(24px,4vw,48px)}h1{font-size:clamp(32px,5vw,56px);line-height:1.16;margin:0 0 8px;letter-spacing:.05em}.subtitle{margin:0 0 34px;color:var(--muted);font-weight:800}.section{margin:28px 0}h2{font-size:clamp(22px,2.5vw,30px);margin:0 0 12px;border-bottom:2px solid rgba(90,160,223,.24);padding-bottom:8px}p,li{font-size:16px}.meta{color:var(--muted);font-weight:800}.footer{margin:24px 0 0;text-align:center;font-size:12px;color:rgba(0,0,0,.62);font-weight:800}.legal-footer{margin-top:10px;display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap}.legal-footer a{text-decoration:underline;text-underline-offset:4px}@media(max-width:620px){.shell{padding:18px 14px 32px}.topbar{display:grid}.card{border-radius:24px;padding:24px 18px}h1{font-size:32px}.legal-footer span{display:none}.legal-footer a{width:100%;display:inline-flex;justify-content:center}}

/* Image protection / anti-drag */
img{
  -webkit-user-drag:none;
  user-drag:none;
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  user-select:none;
}
.no-save-img, .image-protect img{pointer-events:none}


/* V16 iPhone/LINE Chrome overflow fix */
html,body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
*,*::before,*::after{
  min-width:0;
}
img,svg,video,canvas,iframe{
  max-width:100%;
}
body{
  position:relative;
}
@media(max-width:760px){
  .page,.shell,main,section,article,aside,header,footer,
  .lesson-card,.details-card,.form-card,.instagram-card,.panel,
  .review-card,.media-card,.faq-card,.card,.home-panel,.reservation-strip{
    max-width:100%;
    overflow-wrap:anywhere;
  }
  .page{
    padding-left:max(14px,env(safe-area-inset-left));
    padding-right:max(14px,env(safe-area-inset-right));
  }
  .shell{
    width:100%;
    max-width:100%;
  }
  .keep,.nowrap,
  h1,h2,h3,p,span,li,a,b,strong,
  .lesson-card h2,.lesson-card p,
  .details-card h2,.detail span,
  .subtitle,.main,.sub,.note,.price-label,.review-card p{
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    line-break:auto!important;
  }
  .lesson-card h2,.details-card h2{
    font-size:clamp(28px,10vw,44px)!important;
    line-height:1.18!important;
  }
  .lesson-card p,.detail span{
    font-size:clamp(15px,4.6vw,18px)!important;
    line-height:1.75!important;
  }
  .pill-row,.toplinks,.nav,.legal-footer,.latest-podcast-actions{
    max-width:100%;
    flex-wrap:wrap;
  }
  .pill,.nav-pill,.mini-button,.map-link{
    max-width:100%;
    white-space:normal!important;
    text-align:center;
  }
  .price{
    font-size:clamp(34px,13vw,52px)!important;
    line-height:1.08!important;
  }
  .price small{
    display:inline-block;
    font-size:clamp(14px,4.4vw,18px)!important;
  }
  .price-box,.detail{
    overflow:hidden;
  }
  input,select,textarea,button{
    font-size:16px;
  }
}


/* V19 — mobile readability / compact typography */
@media(max-width:760px){
  body{
    font-weight:500!important;
    line-height:1.72!important;
  }

  /* textes généraux plus doux */
  p,li,.subtitle,.section-sub,.note,.meta,.detail span,.form-note,.review-card p,
  .feature p,.info p,.direct-mail,.lesson-card p{
    font-weight:560!important;
    line-height:1.82!important;
  }

  /* titres mobiles: plus lisibles, moins énormes */
  h1,.hero-copy h1,#page-title{
    font-size:clamp(27px,7.8vw,34px)!important;
    line-height:1.22!important;
    font-weight:820!important;
    letter-spacing:.015em!important;
  }

  h2,.section-title,.details-card h2,.form-card h2,.instagram-card h2,
  .lesson-card h2,.review-title{
    font-size:clamp(24px,7vw,32px)!important;
    line-height:1.28!important;
    font-weight:780!important;
    letter-spacing:.01em!important;
  }

  h3,.feature b,.info h3{
    font-size:clamp(18px,5.4vw,23px)!important;
    line-height:1.35!important;
    font-weight:760!important;
  }

  /* cartes moins mammouth */
  .page{
    padding:16px 12px 26px!important;
  }
  .shell{
    padding:16px 12px 26px!important;
  }
  .section{
    padding:28px 0!important;
  }
  .hero{
    padding:8px 0 24px!important;
  }
  .lesson-card,.details-card,.form-card,.instagram-card,.panel,
  .discord-panel,.hero-card,.review-card,.info,.feature{
    padding:clamp(18px,5vw,24px)!important;
    border-radius:22px!important;
  }

  /* boutons moins hauts */
  .btn,.action-card,.submit,.nav-pill,.mini-button,.map-link{
    min-height:46px!important;
    padding:10px 16px!important;
    font-size:clamp(14px,4.2vw,17px)!important;
    font-weight:780!important;
    border-radius:18px!important;
  }
  .action-card{
    min-height:76px!important;
    gap:5px!important;
  }
  .action-card .main{
    font-size:clamp(15px,4.5vw,18px)!important;
    font-weight:780!important;
    line-height:1.35!important;
  }
  .action-card .sub,.strip-title,.eyebrow,.pill,.price-label,.lesson-kicker{
    font-size:12px!important;
    font-weight:720!important;
  }

  /* prix plus premium, moins criards */
  .price{
    font-size:clamp(34px,10vw,43px)!important;
    line-height:1.08!important;
    font-weight:850!important;
    letter-spacing:.005em!important;
  }
  .price small{
    font-size:clamp(13px,3.8vw,16px)!important;
    font-weight:760!important;
  }
  .price-box{
    padding:14px!important;
    border-radius:18px!important;
  }

  /* online / Discord */
  .discord-logo-card{
    min-height:190px!important;
    padding:22px!important;
    border-radius:22px!important;
  }
  .discord-face{
    width:min(112px,40vw)!important;
    height:min(112px,40vw)!important;
    font-size:clamp(52px,15vw,82px)!important;
    border-radius:34%!important;
  }
  .discord-wordmark strong{
    font-size:clamp(26px,7.5vw,36px)!important;
  }
  .discord-badge{
    font-size:14px!important;
    padding:8px 12px!important;
  }

  /* espacements moins longs */
  .reservation-strip,.lesson-grid,.details-form,.discord-panel,.form-card{
    margin-bottom:22px!important;
  }
  .pill-row{
    margin:14px 0!important;
  }
  .price-stack,.feature-grid,.info-grid,.teacher-grid{
    gap:10px!important;
  }

  /* formulaires */
  input,select,textarea{
    padding:12px 13px!important;
    border-radius:14px!important;
  }

  /* le texte japonais respire mais ne hurle pas */
  strong,b{
    font-weight:760!important;
  }
}



/* V20 — compact mobile + softer Japanese reading */
@media(max-width:760px){
  html,body{
    overflow-x:hidden!important;
    -webkit-text-size-adjust:100%!important;
    text-size-adjust:100%!important;
  }

  body{
    font-weight:500!important;
    line-height:1.68!important;
  }

  .page{
    padding:14px 12px 24px!important;
  }
  .shell{
    width:100%!important;
  }

  /* Main visual assets: stop eating the whole screen */
  .norubi-logo{
    width:min(420px,92vw)!important;
  }
  .lecole-logo{
    width:min(360px,92vw)!important;
  }
  .logo{
    margin-bottom:12px!important;
  }

  /* Titles: still premium, but no more screaming */
  h1,
  #page-title,
  .hero-copy h1{
    font-size:clamp(28px,8.2vw,38px)!important;
    line-height:1.22!important;
    font-weight:780!important;
    letter-spacing:.01em!important;
  }

  h2,
  .section-title,
  .lesson-card h2,
  .details-card h2,
  .form-card h2,
  .instagram-card h2,
  .review-title{
    font-size:clamp(23px,6.8vw,32px)!important;
    line-height:1.30!important;
    font-weight:740!important;
    letter-spacing:.005em!important;
  }

  h3,
  .info h3,
  .feature b,
  .media-card-header h3{
    font-size:clamp(18px,5.3vw,23px)!important;
    line-height:1.35!important;
    font-weight:720!important;
  }

  p,
  li,
  .subtitle,
  .section-sub,
  .lesson-card p,
  .form-note,
  .review-card p,
  .info p,
  .feature p,
  .detail span,
  .meta{
    font-size:clamp(14.5px,4vw,16px)!important;
    line-height:1.82!important;
    font-weight:500!important;
    letter-spacing:0!important;
  }

  strong,b{
    font-weight:720!important;
  }

  /* Hero sections shorter */
  .hero{
    padding:8px 0 20px!important;
  }
  .hero-copy p{
    margin:12px 0 18px!important;
    font-size:clamp(15px,4.4vw,17px)!important;
    font-weight:560!important;
    line-height:1.72!important;
  }

  /* Cards less huge */
  .reservation-strip,
  .lesson-card,
  .details-card,
  .form-card,
  .instagram-card,
  .panel,
  .hero-card,
  .media-card,
  .info,
  .feature,
  .teacher-card,
  .review-card{
    border-radius:22px!important;
  }

  .lesson-card,
  .details-card,
  .form-card,
  .instagram-card,
  .panel,
  .media-card{
    padding:18px!important;
  }

  .reservation-strip{
    padding:16px!important;
    margin-bottom:20px!important;
  }

  .section{
    padding:24px 0!important;
  }

  .action-card{
    min-height:68px!important;
    padding:12px 14px!important;
    border-radius:20px!important;
    gap:4px!important;
  }
  .action-card .main{
    font-size:clamp(15px,4.4vw,17px)!important;
    font-weight:760!important;
    line-height:1.32!important;
  }
  .action-card .sub{
    display:none!important;
  }
  .line-badge{
    height:24px!important;
    min-width:48px!important;
    font-size:12px!important;
  }

  .btn,
  .submit,
  .nav-pill,
  .back,
  .mini-button,
  .map-link,
  .home-button{
    min-height:44px!important;
    padding:9px 14px!important;
    border-radius:16px!important;
    font-size:clamp(13.5px,4vw,16px)!important;
    font-weight:760!important;
  }

  /* Home page */
  .home-title{
    margin-top:0!important;
  }
  .home-title h1{
    font-size:clamp(27px,7.2vw,34px)!important;
  }
  .home-buttons{
    gap:12px!important;
    margin:22px auto 0!important;
  }
  .home-button{
    min-height:74px!important;
    border-radius:22px!important;
  }
  .home-button .latin{
    font-size:clamp(20px,6vw,28px)!important;
    font-weight:780!important;
  }
  .home-button .jp{
    font-size:clamp(14px,4.3vw,17px)!important;
    font-weight:650!important;
  }

  /* Prices */
  .price{
    font-size:clamp(32px,10vw,42px)!important;
    line-height:1.05!important;
    font-weight:820!important;
  }
  .price small{
    font-size:clamp(13px,3.8vw,16px)!important;
    font-weight:650!important;
  }
  .price-label,
  .lesson-kicker,
  .strip-title,
  .eyebrow{
    font-size:12px!important;
    font-weight:700!important;
    letter-spacing:.12em!important;
  }
  .price-box{
    padding:13px!important;
    border-radius:16px!important;
  }

  /* Online */
  .hero-card{
    padding:18px!important;
  }
  .hero-card img.logo{
    width:min(300px,86vw)!important;
  }
  .discord-badge{
    padding:8px 12px!important;
    font-size:13px!important;
  }
  .discord-panel{
    padding:18px!important;
    border-radius:22px!important;
  }
  .feature-grid,
  .teacher-grid,
  .info-grid,
  .review-grid{
    gap:12px!important;
  }
  .teacher-head{
    padding:14px!important;
    font-size:17px!important;
    font-weight:760!important;
  }
  .teacher-dot{
    min-width:34px!important;
    height:34px!important;
    font-size:13px!important;
  }
  .teacher-body{
    padding:14px!important;
  }
  .rate-row{
    font-weight:620!important;
  }
  .rate-row strong{
    font-size:18px!important;
    font-weight:760!important;
  }
  .info .strong{
    font-size:clamp(26px,8vw,34px)!important;
    font-weight:780!important;
  }

  /* Seta details */
  .detail-list{
    gap:10px!important;
  }
  .details-card .mark{
    max-width:130px!important;
  }

  /* Forms */
  input,select,textarea{
    padding:11px 12px!important;
    border-radius:13px!important;
    font-size:16px!important;
  }
  textarea{
    min-height:105px!important;
  }

  /* TV */
  .media-showcase{
    margin:20px 0!important;
  }
  .media-title{
    font-size:clamp(25px,7vw,34px)!important;
    font-weight:760!important;
  }
  .media-sub,
  .tv-note{
    font-size:15px!important;
    font-weight:500!important;
  }

  /* reduce large empty gaps */
  .reservation-strip,
  .lesson-grid,
  .details-form,
  .form-card,
  .info-grid,
  .review-section{
    margin-bottom:20px!important;
  }
}

/* V20 general: cleaner CTA box for TV page */
.tv-soft-cta{
  margin:22px auto;
  width:min(780px,100%);
  padding:clamp(18px,3vw,28px);
  border-radius:26px;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(255,255,255,.82);
  box-shadow:0 20px 55px rgba(0,0,0,.14);
  backdrop-filter:blur(12px);
  text-align:center;
}
.tv-soft-cta p{
  margin:0 0 14px;
  color:#222;
  font-weight:650;
  line-height:1.75;
}
.tv-soft-cta .btn{
  min-height:54px;
}
.lesson-link{
  margin-top:14px;
}
