/* ============================================================
   EGO NON — V5.12.1
   Passe responsive publique : mobile + tablette
   Cette feuille est volontairement limitée aux petits écrans.
   ============================================================ */

.mobile-nav-shell,.mobile-site-menu,.v512-filter-bar{display:none}
/* La métadonnée mobile de la vidéo à la une est séparée de la vignette. */
.home .big-video-media{position:absolute;inset:0}
.home .big-video-mobile-meta{display:none}

@media (max-width:1024px){
  html,body{max-width:100%;overflow-x:hidden}
  body.mobile-menu-open{overflow:hidden}

  /* ---------- Frontispice : vraie navigation mobile/tablette ---------- */
  .belles-frontispiece{padding-bottom:8px!important}
  .belles-frontispiece>.wrap{width:100%!important;max-width:100%!important;padding:0 22px!important}
  .belles-frontispiece .mast-top.belles-utility{display:none!important}
  .belles-brand{transform:none!important;padding:16px 0 15px!important}
  .belles-logo-link{margin-bottom:9px!important}
  .belles-logo-link img{width:72px!important;height:72px!important}
  .belles-motto{max-width:720px;text-align:center!important;font-size:30px!important;line-height:1.04!important;letter-spacing:.075em!important}
  .belles-nav{display:none!important}
  .search-popover{display:none!important}

  .mobile-nav-shell{
    display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;
    min-height:54px;padding:7px 2px;
    border-top:3px double rgba(45,40,35,.35);border-bottom:3px double rgba(45,40,35,.35)
  }
  .mobile-menu-toggle,.mobile-account-quick{
    min-height:40px;border:0;background:transparent;color:#514941;text-decoration:none;
    font-family:Baskerville,"Baskerville Old Face","Times New Roman",serif;font-size:17px
  }
  .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:flex-start;gap:11px;padding:0 8px;cursor:pointer}
  .mobile-account-quick{display:inline-flex;align-items:center;justify-content:center;padding:0 10px;color:var(--wine);white-space:nowrap}
  .mobile-menu-bars{display:grid;gap:4px;width:19px}
  .mobile-menu-bars i{display:block;height:1px;background:currentColor;width:100%}

  .mobile-site-menu{
    display:block;position:fixed;inset:0;z-index:180;background:var(--paper);
    opacity:0;visibility:hidden;pointer-events:none;transform:translateX(100%);
    transition:transform .22s ease,opacity .18s ease,visibility .18s ease;overflow:auto
  }
  .mobile-site-menu.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(0)}
  .mobile-site-menu-inner{min-height:100%;padding:24px 24px 38px;display:flex;flex-direction:column}
  .mobile-menu-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid var(--line);font:400 27px Baskerville,"Baskerville Old Face","Times New Roman",serif}
  .mobile-menu-close{width:44px;height:44px;border:1px solid var(--line);background:transparent;color:#4f463f;font-size:29px;line-height:1;cursor:pointer}
  .mobile-menu-links{display:grid!important;grid-template-columns:1fr!important;min-height:0!important;border:0!important;padding:18px 0!important;overflow:visible!important}
  .mobile-menu-links a{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:48px!important;width:100%!important;padding:0!important;border-bottom:1px solid rgba(23,20,17,.09);font:400 23px Baskerville,"Baskerville Old Face","Times New Roman",serif!important;letter-spacing:0!important;color:#2f2924!important;text-decoration:none!important;text-align:left!important}
  .mobile-menu-links a:after{content:"→";font-size:16px;color:#9b8f84}
  .mobile-menu-links a.private-link{color:var(--wine)!important}
  .mobile-menu-search{padding:19px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
  .mobile-menu-search label{display:block;margin-bottom:8px;font:11px Arial,sans-serif;text-transform:uppercase;letter-spacing:.13em;color:#7e7369}
  .mobile-menu-search>div{display:grid;grid-template-columns:1fr 48px;height:46px}
  .mobile-menu-search input{min-width:0;border:1px solid var(--line);border-right:0;background:#eee6dc;padding:0 13px;font:17px Baskerville,"Baskerville Old Face","Times New Roman",serif;outline:0}
  .mobile-menu-search button{border:1px solid var(--line);background:#e1d7ca;color:var(--wine);font-size:22px}
  .mobile-menu-account{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:20px 0}
  .mobile-menu-account a{display:flex;align-items:center;justify-content:center;min-height:45px;border:1px solid var(--wine);color:var(--wine);text-decoration:none;font:17px Baskerville,"Baskerville Old Face","Times New Roman",serif}
  .mobile-menu-account a:last-child{background:var(--wine);color:#fff}
  .mobile-menu-social{margin-top:auto;padding-top:18px;border-top:1px solid var(--line);display:flex;gap:15px;flex-wrap:wrap}
  .mobile-menu-social a,.mobile-menu-social span{color:#81766c;text-decoration:none;font:12px Baskerville,"Baskerville Old Face","Times New Roman",serif}

  /* ---------- Largeurs communes ---------- */
  body .wrap,body .ported-page .wrap{width:100%!important;max-width:100%!important;padding-left:22px!important;padding-right:22px!important}
  body img,body iframe{max-width:100%}

  /* ---------- Accueil ---------- */
  .hero-wrap{width:100%!important;max-width:100%!important;padding:0 22px!important}
  .hero-wrap .hero{width:100%!important;max-width:100%!important}
  .home{width:100%!important;padding-top:20px!important}
  .home .section{padding:50px 0!important}
  .home .section-head{margin-bottom:24px!important}
  .home .video-feature,.home .library-grid,.home .article-layout{grid-template-columns:1fr!important;gap:28px!important;width:100%!important}
  .home .big-video{min-height:0!important;aspect-ratio:16/9}
  .home .side-videos{display:grid!important;gap:16px!important}
  .home .side-video{grid-template-columns:150px minmax(0,1fr)!important;gap:15px!important}
  .home .side-video img{width:150px!important}
  .home .library-grid{align-items:start!important}
  .home .library-visual{height:auto!important;aspect-ratio:16/9}
  .home .library-price{padding-left:0!important;border-left:0!important;border-top:1px solid rgba(255,255,255,.16)!important;padding-top:22px!important}
  .home .small-articles{grid-template-columns:1fr 1fr!important;gap:28px 22px!important}
  .home .follow-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .home .social-card{min-height:190px!important;padding:20px 12px!important}
  .home .home-library-grid{grid-template-columns:1fr!important}
  .home .home-book-slide{flex-basis:min(72vw,520px)!important}
  footer .footer-main{grid-template-columns:1fr 1fr!important;gap:30px 24px!important}
  footer .footer-brand{grid-column:1/-1}

  /* ---------- Catalogues : barre de filtres commune ---------- */
  body .ported-page .v512-filter-bar{display:block!important;margin:0 0 16px;padding:0!important}
  .v512-filter-toggle{width:100%;min-height:46px;border:1px solid rgba(43,34,28,.16);background:#eee5d9;color:#2d2823;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:0 14px;text-align:left;font:18px Baskerville,"Baskerville Old Face","Times New Roman",serif;cursor:pointer}
  .v512-filter-toggle b{display:grid;place-items:center;min-width:24px;height:24px;border-radius:12px;background:#ddd1c3;color:#6e211d;font:11px Arial,sans-serif}
  .v512-filter-toggle i{font-style:normal;color:#7c7168}
  .v512-filter-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}
  .v512-filter-chip{border:1px solid rgba(110,33,29,.24);background:#f7efe5;color:#6e211d;padding:6px 9px;font:12px Baskerville,"Baskerville Old Face","Times New Roman",serif;cursor:pointer}
  .v512-filter-more{display:inline-flex;align-items:center;padding:0 5px;color:#81766c;font-size:12px}
  body .ported-page .v512-filter-panel{display:block!important;width:100%!important;border-right:0!important;padding-right:0!important;border-bottom:1px solid var(--line)!important;padding-bottom:16px!important;margin-bottom:20px!important}
  body .ported-page .v512-filter-panel.v512-panel-collapsed[data-v512-keep-first="false"]>.v512-filter-group{display:none!important}
  body .ported-page .v512-filter-panel.v512-panel-collapsed[data-v512-keep-first="true"]>.v512-filter-group:not(.v512-filter-permanent){display:none!important}
  body .ported-page .v512-filter-panel>.v512-filter-group{margin:0!important;padding:14px 0!important;border-bottom:1px solid rgba(40,33,27,.09)!important}
  body .ported-page .v512-filter-panel>.v512-filter-group:last-child{border-bottom:0!important}
  body .ported-page .v512-filter-panel .v512-filter-heading{position:relative;margin:0!important;padding:6px 32px 6px 0!important;cursor:pointer;font-size:18px!important;letter-spacing:.02em!important;text-transform:none!important;color:#2e2925!important}
  body .ported-page .v512-filter-panel .v512-filter-heading:after{content:"+";position:absolute;right:5px;top:50%;transform:translateY(-50%);font:20px Baskerville,serif;color:#877b70}
  body .ported-page .v512-filter-panel .v512-filter-heading[aria-expanded="true"]:after{content:"−"}
  body .ported-page .v512-filter-panel .v512-group-collapsed>:not(h3):not(h4){display:none!important}
  .v512-filter-search{height:39px;margin:9px 0 8px;display:grid;grid-template-columns:34px 1fr;border:1px solid rgba(40,33,27,.12);background:#f6efe6}
  .v512-filter-search span{display:grid;place-items:center;color:#8a2b24}
  .v512-filter-search input{min-width:0;border:0;background:transparent;outline:0;padding:0 9px 0 0;font:15px Baskerville,"Baskerville Old Face","Times New Roman",serif}
  body .ported-page .v512-filter-panel .filter-option,body .ported-page .v512-filter-panel .private-filter{font-size:16px!important;padding:7px 0!important}
  body .ported-page .v512-filter-panel .access-row{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
  body .ported-page .v512-filter-panel .access-btn{min-height:38px!important;padding:0 13px!important}

  /* ---------- Vidéos ---------- */
  body .ported-page .pagehead{padding:38px 0 24px!important}
  body .ported-page .pagehead-inline{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
  body .ported-page .pagehead-inline h1{font-size:50px!important;line-height:1!important}
  body .ported-page .page-search-wrap{width:100%!important;max-width:none!important}
  body .ported-page .page-search{width:100%!important;height:46px!important}
  body .ported-page .main{grid-template-columns:1fr!important;gap:0!important;padding-top:0!important}
  body .ported-page .results-head-simple{margin:8px 0 16px!important}
  body .ported-page .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px 20px!important}
  body .ported-page .video-card h3{font-size:24px!important;line-height:1.08!important}

  /* ---------- Articles ---------- */
  body .ported-page .feature{grid-template-columns:1fr!important;gap:28px!important}
  body .ported-page .feature-title{font-size:39px!important;line-height:1.02!important}
  body .ported-page .feature-excerpt{font-size:18px!important;line-height:1.48!important}
  body .ported-page .searchbar{padding:18px 0!important}
  body .ported-page .searchbar .search{width:100%!important}
  body .ported-page .results-head h2{font-size:34px!important}
  body .ported-page .article-row{grid-template-columns:270px minmax(0,1fr)!important;gap:24px!important}
  body .ported-page .article-row h3{font-size:28px!important;line-height:1.05!important}
  body .ported-page .article-row p{font-size:17px!important;line-height:1.48!important}

  /* ---------- Espace privé ---------- */
  body .ported-page .private-intro{padding:34px 30px!important}
  body .ported-page .private-intro h1{font-size:48px!important}
  body .ported-page .private-intro-bottom{grid-template-columns:1fr auto!important;gap:30px!important}
  body .ported-page .private-lead{font-size:22px!important}
  body .ported-page .private-mark img{width:165px!important}
  body .ported-page .featured-private-card{grid-template-columns:1fr!important}
  body .ported-page .featured-private-copy{padding:28px 0!important}
  body .ported-page .private-catalog-layout{grid-template-columns:1fr!important;gap:18px!important;padding-top:20px!important}
  body .ported-page .private-sidebar{display:block!important}
  body .ported-page .private-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:32px 20px!important}
  body .ported-page .catalog-title-row{align-items:flex-start!important;flex-direction:column!important;gap:14px!important}
  body .ported-page .catalog-search{width:100%!important;max-width:none!important}

  /* ---------- Livres ---------- */
  body .books-intro-grid,body .books-subhead-grid,body .books-section-grid,body .book-list-row,body .book-detail-hero{grid-template-columns:1fr!important}
  body .books-intro,body .books-subhead{padding:42px 0 38px!important}
  body .books-intro h1,body .books-subhead h1{font-size:52px!important}
  body .books-intro-copy p{font-size:19px!important}
  body .books-section-grid{gap:24px!important}
  body .books-section-copy{padding:23px 24px 25px!important}
  body .book-detail-page{padding-top:30px!important}
  body .book-detail-hero{gap:30px!important;padding:25px 0 42px!important}
  body .book-detail-cover{min-height:0!important;padding:20px!important}
  body .book-detail-cover img{max-height:520px!important}
  body .book-detail-copy h1{font-size:45px!important}
  body .book-detail-body{width:100%!important;max-width:760px!important;margin-top:40px!important;font-size:19px!important;line-height:1.62!important}
  body .home-library-grid{grid-template-columns:1fr!important}

  /* ---------- Forum / À propos / formulaires ---------- */
  body .ported-page .forum-page{padding-top:42px!important}
  body .ported-page .forum-page h1{font-size:47px!important}
  body .ported-page .forum-categories{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body .ported-page .new-topic-page{padding-top:38px!important}
  body .ported-page .new-topic-shell{width:100%!important;max-width:760px!important}
  body .ported-page .new-topic-header h1{font-size:44px!important}
  body .ported-page .community-toolbar{gap:6px!important}
  body .ported-page .community-toolbar button,body .ported-page .community-toolbar select{min-height:38px!important}
  body .ported-page .community-editor-surface{min-height:180px!important}

  body .ported-page .about-page .about-body,body .ported-page .about-copy,body .ported-page .about-section p{font-size:19px!important;line-height:1.62!important}

  body .ported-page .login-page{padding-top:48px!important}
  body .ported-page .login-shell{max-width:520px!important}
  body .ported-page .account-grid{grid-template-columns:1fr!important}

  /* ---------- Abonnement ---------- */
  body .ported-page .plans-grid{grid-template-columns:1fr!important;max-width:620px!important;margin:0 auto!important}
  body .ported-page .subscription-raphael-band .subscription-benefits{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media (max-width:650px){
  /* Marges réellement mobiles : aucun contenu tassé sur la moitié gauche */
  body .wrap,body .ported-page .wrap{padding-left:16px!important;padding-right:16px!important}
  .belles-frontispiece>.wrap{padding:0 16px!important}
  .belles-brand{padding:12px 0 12px!important}
  .belles-logo-link img{width:62px!important;height:62px!important}
  .belles-motto{font-size:24px!important;line-height:1.05!important;letter-spacing:.055em!important;max-width:350px;margin:auto}
  .belles-motto .motto-line-one,.belles-motto .motto-line-two{display:block;white-space:nowrap}
  .mobile-nav-shell{min-height:50px}
  .mobile-menu-toggle,.mobile-account-quick{font-size:16px}
  .mobile-site-menu-inner{padding:18px 18px 30px}
  .mobile-menu-links a{font-size:21px!important}

  /* Accueil */
  .hero-wrap{padding:0!important;width:100%!important;max-width:100%!important}
  .hero-wrap .hero{width:100%!important;max-width:100%!important;min-height:430px!important;background-position:65% 27%!important}
  .hero-wrap .hero-inner{width:100%!important;max-width:100%!important;min-height:430px!important;padding:0!important}
  .home{width:100%!important;max-width:100%!important}
  .home .section{width:100%!important;padding:40px 0!important}
  .home .section>.wrap{width:100%!important;max-width:100%!important}
  .home .section-head{align-items:flex-start!important;gap:13px!important;margin-bottom:21px!important}
  .home .section-title h2{font-size:28px!important}
  .home .more{font-size:8px!important;max-width:135px;text-align:right;line-height:1.35}
  .home .big-video{aspect-ratio:auto!important;overflow:visible!important;background:transparent!important}
  .home .big-video:after{display:none!important}
  .home .big-video-media{position:relative!important;inset:auto!important;display:block;aspect-ratio:16/9;overflow:hidden;background:#251b17}
  .home .big-video-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(11,10,9,.78) 100%);z-index:1;pointer-events:none}
  .home .big-video-media>img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important}
  .home .big-video-copy{left:18px!important;right:18px!important;bottom:17px!important;z-index:2!important}
  .home .big-video-copy .micro{display:none!important}
  .home .big-video-copy h3{font-size:28px!important}
  .home .big-video-mobile-meta{display:block!important;margin:10px 0 0;color:#9b5f42!important;font:700 9px Arial,sans-serif!important;text-transform:uppercase;letter-spacing:.13em;line-height:1.35}
  .home .side-video{grid-template-columns:118px minmax(0,1fr)!important;gap:13px!important;padding-bottom:13px!important}
  .home .side-video img{width:118px!important}
  .home .side-video h4{font-size:18px!important}
  .home .library-grid{gap:22px!important}
  .home .library-copy h2{font-size:36px!important}
  .home .library-copy p{font-size:16px!important}
  .home .price{font-size:36px!important}
  .home .article-layout{gap:32px!important}
  .home .lead-copy h3{font-size:29px!important}
  .home .small-articles{grid-template-columns:1fr!important;gap:20px!important}
  .home .small-article{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;gap:13px!important}
  .home .small-art-img{margin:0!important}
  .home .small-article h4{font-size:18px!important}
  .home .follow-section{padding:42px 0 54px!important}
  .home .follow-head h2{font-size:32px!important}
  .home .follow-head p{font-size:16px!important}
  .home .follow-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .home .social-card{min-height:155px!important;padding:16px 8px!important}
  .home .social-icon{margin-bottom:10px!important;transform:scale(.82)}
  .home .social-name{font-size:18px!important}
  .home .social-handle{font-size:12px!important;margin-bottom:13px!important}
  .home .home-library-card{width:100%!important}
  .home .home-library-cover{height:auto!important;aspect-ratio:16/10!important}
  .home .home-book-slide{flex:0 0 calc(100vw - 32px)!important;grid-template-columns:1fr!important;gap:14px!important}
  .home .home-book-slide-cover{height:270px!important}
  .home .carousel-arrow{width:38px!important;height:38px!important}

  /* Footer */
  footer{padding-top:30px!important}
  footer .footer-main{grid-template-columns:1fr 1fr!important;gap:28px 20px!important}
  footer .footer-brand{grid-column:1/-1}
  footer .footer-brand b{font-size:24px!important}
  footer .legal{gap:15px!important}
  footer .legal-links{gap:12px 18px!important}

  /* Vidéos */
  body .ported-page .pagehead{padding:28px 0 18px!important}
  body .ported-page .pagehead-inline{gap:14px!important}
  body .ported-page .pagehead-inline h1{font-size:45px!important}
  body .ported-page .page-search{height:46px!important}
  body .ported-page .main{padding-bottom:56px!important}
  body .ported-page .grid{grid-template-columns:1fr!important;gap:28px!important}
  body .ported-page .video-card h3{font-size:25px!important}
  body .ported-page .video-card .thumb{width:100%!important}

  /* Articles */
  body .ported-page .feature-wrap{padding:26px 0!important}
  body .ported-page .feature{gap:20px!important}
  body .ported-page .feature-title{font-size:34px!important;line-height:1.03!important;margin:11px 0 13px!important}
  body .ported-page .feature-excerpt{font-size:17px!important}
  body .ported-page .results-head{align-items:baseline!important;margin-top:8px!important}
  body .ported-page .results-head h2{font-size:32px!important}
  body .ported-page .article-row{grid-template-columns:1fr!important;gap:16px!important;padding:28px 0!important}
  body .ported-page .article-row h3{font-size:27px!important}
  body .ported-page .article-row p{font-size:17px!important}
  body .ported-page .byline{font-size:11px!important}

  /* Article individuel : bandeau sombre continu, sans taxonomie tronquée */
  body .ported-page .article-hero{background:#1b1917!important;padding-bottom:28px!important;margin-top:10px!important}
  body .ported-page .article-hero:before,body .ported-page .article-hero:after{display:none!important}
  body .ported-page .article-hero .tags{position:relative;z-index:3;margin-bottom:0!important}
  body .ported-page .article-hero .tag{color:#d9cec1!important;border-color:rgba(238,228,214,.26)!important}
  body .ported-page .article-hero .hero-image{margin-bottom:0!important}
  body .ported-page .reading{padding-top:42px!important}

  /* Espace privé */
  body .ported-page .private-intro-shell{padding-top:14px!important}
  body .ported-page .private-intro{padding:28px 24px!important;min-height:0!important}
  body .ported-page .private-intro h1{font-size:41px!important}
  body .ported-page .private-intro-bottom{grid-template-columns:1fr!important;gap:25px!important;margin-top:28px!important}
  body .ported-page .private-lead{font-size:20px!important;line-height:1.4!important}
  body .ported-page .private-mark{justify-content:flex-start!important}
  body .ported-page .private-mark img{width:145px!important}
  body .ported-page .private-feature{padding:48px 0 42px!important}
  body .ported-page .featured-private-copy h2{font-size:31px!important}
  body .ported-page .featured-private-copy p{font-size:17px!important}
  body .ported-page .catalog-title-row h2{font-size:32px!important;line-height:1.05!important}
  body .ported-page .catalog-search{height:46px!important}
  body .ported-page .private-video-grid{grid-template-columns:1fr!important;gap:30px!important}
  body .ported-page .private-video-card h3{font-size:25px!important}

  /* Livres */
  body .books-intro,body .books-subhead{padding:34px 0 32px!important}
  body .books-intro-grid{gap:20px!important}
  body .books-subhead-grid{gap:28px!important}
  body .books-intro h1,body .books-subhead h1{font-size:46px!important}
  body .books-intro-copy p{font-size:18px!important}
  body .books-intro-copy blockquote{font-size:19px!important;line-height:1.45!important;padding-left:18px!important}
  body .books-sections{padding:40px 0 64px!important}
  body .books-section-grid{grid-template-columns:1fr!important;gap:22px!important}
  body .books-section-copy{align-items:flex-start!important;flex-direction:column!important;gap:11px!important;padding:22px 24px 24px!important}
  body .books-section-copy h2{font-size:31px!important}
  body .book-list-row{grid-template-columns:1fr!important;gap:22px!important;padding:30px 0!important}
  body .book-list-image{min-height:0!important;padding:18px!important}
  body .book-list-copy h2{font-size:34px!important}
  body .book-list-copy p{font-size:18px!important}
  body .book-detail-page{padding:26px 0 70px!important}
  body .book-detail-hero{grid-template-columns:1fr!important;gap:24px!important;padding:18px 0 34px!important}
  body .book-detail-cover{padding:16px!important}
  body .book-detail-copy h1{font-size:39px!important}
  body .book-detail-copy h2{font-size:23px!important}
  body .book-lead{font-size:18px!important;line-height:1.55!important}
  body .book-detail-body{font-size:18.5px!important;line-height:1.62!important;margin-top:32px!important}
  body .book-detail-body h2{font-size:30px!important;line-height:1.15!important}
  body .book-detail-body h3{font-size:24px!important;line-height:1.18!important}

  /* Forum */
  body .ported-page .forum-page{padding-top:32px!important}
  body .ported-page .forum-page h1{font-size:42px!important}
  body .ported-page .forum-quote{font-size:19px!important;line-height:1.5!important}
  body .ported-page .forum-categories{grid-template-columns:1fr!important}
  body .ported-page .forum-category-card{padding:24px 22px!important}
  body .ported-page .forum-category-card h3{font-size:27px!important}
  body .ported-page .new-topic-page{padding:30px 0 62px!important}
  body .ported-page .new-topic-header h1{font-size:39px!important}
  body .ported-page .new-topic-header p{font-size:16px!important}
  body .ported-page .community-toolbar{padding:8px!important;gap:5px!important}
  body .ported-page .community-toolbar button{padding:5px 8px!important;font-size:13px!important}
  body .ported-page .community-toolbar select{max-width:145px!important;font-size:14px!important}
  body .ported-page .community-editor-surface{min-height:170px!important;padding:15px!important;font-size:17px!important}
  body .ported-page .community-submit{width:100%!important;min-height:46px!important}

  /* À propos / lecture longue */
  body .ported-page .about-page h1,body .ported-page .about-title{font-size:40px!important;line-height:1.05!important}
  body .ported-page .about-page h2,body .ported-page .about-section h2{font-size:29px!important;line-height:1.12!important}
  body .ported-page .about-page p,body .ported-page .about-copy p,body .ported-page .about-section p{font-size:18.5px!important;line-height:1.62!important}

  /* Connexion, récupération, compte */
  body .ported-page .login-page{padding:36px 16px 66px!important}
  body .ported-page .login-shell{width:100%!important;max-width:470px!important}
  body .ported-page .login-mark{width:58px!important;height:58px!important;margin-bottom:17px!important}
  body .ported-page .login-heading{margin-bottom:27px!important}
  body .ported-page .login-heading h1{font-size:37px!important;line-height:1.03!important}
  body .ported-page .login-heading p{font-size:16px!important}
  body .ported-page .login-form{gap:18px!important}
  body .ported-page .login-field input,body .ported-page .login-form input{max-width:100%!important}
  body .ported-page .account-page{padding:34px 0 66px!important}
  body .ported-page .account-title{font-size:38px!important}
  body .ported-page .account-card,body .ported-page .account-side-card{padding:22px 18px!important}
  body .ported-page .account-info-row{grid-template-columns:1fr!important;gap:9px!important}
  body .ported-page .account-primary,body .ported-page .account-secondary{width:100%!important;max-width:100%!important;margin-left:0!important}
  body .ported-page .account-subscription-actions{display:grid!important;gap:10px!important}

  /* Abonnement */
  body .ported-page .subscription-raphael-band{min-height:0!important;padding-bottom:38px!important}
  body .ported-page .subscription-raphael-band .subscription-band-head{padding:28px 22px 0!important}
  body .ported-page .subscription-raphael-band h1{font-size:36px!important}
  body .ported-page .subscription-raphael-band .subscription-benefits{grid-template-columns:1fr!important;margin:38px 22px 0!important;gap:24px!important}
  body .ported-page .subscription-raphael-band .benefit-icon{width:58px!important;height:58px!important;margin-bottom:10px!important}
  body .ported-page .subscription-raphael-band .benefit-text{font-size:17px!important}
  body .ported-page .plans-section{padding:42px 0 58px!important}
  body .ported-page .plan-portrait{aspect-ratio:16/10!important}
  body .ported-page .plan-body{padding:24px 20px 26px!important}

  /* Divers : boutons tactiles et sécurité anti-débordement */
  input,select,textarea,button{max-width:100%}
  .back-to-top{right:12px!important;bottom:14px!important}
}

@media (max-width:650px){
  /* Forum : classes réellement utilisées par la page dynamique */
  body .ported-page .forum-intro{gap:24px!important;margin-bottom:42px!important}
  body .ported-page .forum-intro-copy h1{font-size:40px!important}
  body .ported-page .forum-new-topic{min-height:48px!important;padding:0 20px!important}
  body .ported-page .forum-section{margin-top:38px!important}
  body .ported-page .forum-section-head{margin-bottom:14px!important}
  body .ported-page .forum-section-head h2{font-size:30px!important;line-height:1.08!important}
  body .ported-page .category-row{grid-template-columns:1fr!important;gap:16px!important;padding:22px 0!important}
  body .ported-page .category-main h3{font-size:25px!important}
  body .ported-page .category-main p{font-size:16.5px!important}
  body .ported-page .category-info{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:24px!important;max-width:none!important;text-align:left!important}
  body .ported-page .topic-row{grid-template-columns:1fr!important;gap:10px!important;padding:17px 0!important}
  body .ported-page .topic-stat{text-align:left!important}
  body .ported-page .topic-last{grid-column:auto!important}
}
