/* TentoniNumérik 1.40 — référence téléphone / tablette. N'altère pas le bureau. */
.tn-responsive-extras,.tn-ref-hero-actions{display:none}
@media (max-width:1280px){
  body.tn-reference-device{background:#eaf6ff!important}
  body.tn-reference-device .ambient-scene{opacity:.14!important}
  body.tn-reference-device .site-shell{width:100%!important;max-width:none!important;margin:0!important;background:linear-gradient(180deg,#f7fbff,#edf8ff)!important}
  body.tn-reference-device .topbar-inner,body.tn-reference-device .nav-inner,body.tn-reference-device .home-page,body.tn-reference-device .footer-inner{width:min(100% - 28px,1080px)!important;max-width:none!important;margin-inline:auto!important}
  body.tn-reference-device .topbar{height:70px!important;background:#fff!important;border-bottom:1px solid #e5edf8!important}
  body.tn-reference-device .topbar-inner{height:70px!important;padding:0 8px!important;gap:10px!important}
  body.tn-reference-device .brand{min-width:205px!important}.tn-reference-device .brand-mark{width:42px!important;height:42px!important}.tn-reference-device .brand-copy strong{font-size:20px!important}.tn-reference-device .brand-copy small{font-size:8px!important}
  body.tn-reference-tablet .mobile-menu-btn{display:flex!important;order:0;margin-right:6px!important}
  body.tn-reference-tablet .top-meta{margin-left:auto!important;gap:10px!important}.tn-reference-tablet .top-date,.tn-reference-tablet .top-time{display:flex!important}.tn-reference-tablet .top-weather-inline{display:flex!important;max-width:390px!important}.tn-reference-tablet .top-weather-place{max-width:160px!important}
  body.tn-reference-tablet .top-actions{gap:7px!important}.tn-reference-tablet .round-action{width:38px!important;height:38px!important}.tn-reference-tablet .connect-btn{height:40px!important;padding:0 15px!important}
  body.tn-reference-device .mainnav{background:#fff!important;border-bottom:1px solid #e0eaf6!important;box-shadow:0 3px 12px rgba(35,73,130,.06)!important}
  body.tn-reference-tablet .nav-inner{height:64px!important;padding:0!important}.tn-reference-tablet .nav-links{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;width:100%!important;gap:2px!important}.tn-reference-tablet .nav-link{height:64px!important;justify-content:center!important;gap:5px!important;font-size:10px!important;padding:0 4px!important}.tn-reference-tablet .nav-link img{width:26px!important;height:26px!important}.tn-reference-tablet .search-form{display:none!important}
  body.tn-reference-device .home-page{height:auto!important;min-height:0!important;overflow:visible!important;padding:14px 0 18px!important;display:block!important;background:transparent!important}
  body.tn-reference-device .home-dashboard-121{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;height:auto!important;min-height:0!important}
  body.tn-reference-device .home-left-121{display:contents!important}
  body.tn-reference-device .hero-121{order:1!important;height:280px!important;min-height:280px!important;margin:0!important;border-radius:0!important;display:grid!important;grid-template-columns:50% 50%!important;overflow:hidden!important;background:linear-gradient(90deg,#eff8ff 0%,#edf7ff 48%,#d7efff 100%)!important;box-shadow:none!important}
  body.tn-reference-device .hero-copy-121{padding:34px 12px 20px 18px!important;z-index:2!important;align-self:stretch!important}.tn-reference-device .hero-visual-121{height:100%!important;min-height:0!important}.tn-reference-device .hero-photo-121{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
  .tn-reference-device .hero-welcome-121{font-size:27px!important;line-height:1.05!important}.tn-reference-device .hero-brand-121{font-size:44px!important;line-height:1!important;letter-spacing:-1.8px!important;white-space:nowrap!important}.tn-reference-device .hero-sub-122{font-size:15px!important;line-height:1.5!important;max-width:430px!important;margin-top:16px!important}
  .tn-ref-hero-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:22px!important}.tn-ref-pill{display:inline-flex;align-items:center;gap:7px;color:#fff!important;text-decoration:none!important;font-weight:800;font-size:12px!important;padding:10px 13px;border-radius:12px;box-shadow:0 7px 16px rgba(30,77,145,.15)}.tn-ref-pill.blue{background:#176ce5}.tn-ref-pill.purple{background:#7038df}.tn-ref-pill.orange{background:#ff820d}.tn-ref-pill.green{background:#10a653}
  body.tn-reference-device .news-pro-121{order:2!important;margin:0!important;height:auto!important;min-height:310px!important;border-radius:18px!important;padding:12px 18px 14px!important;background:rgba(255,255,255,.93)!important;box-shadow:0 7px 22px rgba(28,70,125,.10)!important}.tn-reference-device .news-heading-121{height:auto!important;margin-bottom:8px!important}.tn-reference-device .news-heading-121 h2{font-size:20px!important}.tn-reference-device .news-slider-121{height:235px!important}.tn-reference-device .news-slide-121{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.tn-reference-device .news-card{height:235px!important;border-radius:14px!important;grid-template-rows:45% 55%!important}.tn-reference-device .news-body{padding:8px 10px!important}.tn-reference-device .news-body h3{font-size:14px!important}.tn-reference-device .news-body p{font-size:11px!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.tn-reference-device .news-pagination-121{margin-top:6px!important}
  body.tn-reference-device .quick-access-121{order:3!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;height:auto!important;margin:0!important}.tn-reference-device .quick-access-121 .quick-access:nth-child(4){display:grid!important;visibility:visible!important;opacity:1!important}.tn-reference-device .quick-access{height:210px!important;display:grid!important;grid-template-rows:90px 1fr!important;border-radius:17px!important;padding:0!important;overflow:hidden!important;background:#fff!important;box-shadow:0 5px 18px rgba(32,79,135,.08)!important}.tn-reference-device .quick-access-icon-shell{width:58px!important;height:58px!important;align-self:end!important;justify-self:center!important;z-index:2!important;margin-bottom:-28px!important}.tn-reference-device .quick-access-copy{padding:35px 15px 12px!important;text-align:center!important;display:flex!important;align-items:center!important}.tn-reference-device .quick-access-copy strong{font-size:17px!important}.tn-reference-device .quick-access-copy small{font-size:11px!important;line-height:1.35!important}.tn-reference-device .quick-access-cta{font-size:11px!important;padding:8px 17px!important}
  .tn-responsive-extras{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:12px!important;margin-top:14px!important}.tn-ref-utility,.tn-ref-help{background:#fff;border:1px solid #dbe8f5;border-radius:16px;box-shadow:0 5px 18px rgba(32,79,135,.07);padding:14px}.tn-ref-utility h3,.tn-ref-help h3{margin:0;color:#092a64;font-size:17px}.tn-ref-utility header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.tn-ref-utility header a,.tn-ref-more{font-size:11px;color:#0869e8;text-decoration:none;font-weight:800}
  .tn-ref-events{grid-column:1}.tn-ref-resources{grid-column:2}.tn-ref-weather{grid-column:3;grid-row:1}.tn-ref-games{grid-column:3;grid-row:2}.tn-ref-help{grid-column:3;grid-row:3;display:grid!important;grid-template-columns:76px 1fr 48px;align-items:center;gap:10px;padding:8px 12px!important}.tn-ref-help img{width:76px;height:90px;object-fit:contain;align-self:end}.tn-ref-help p{font-size:12px;margin:4px 0 0;color:#1b3b70}.tn-ref-help button{width:46px;height:46px;border:0;border-radius:50%;background:#0874ef;color:white;font-size:23px;box-shadow:0 8px 18px rgba(0,95,230,.25)}
  .tn-ref-event{display:grid;grid-template-columns:52px 1fr;gap:9px;padding:9px 0;border-bottom:1px solid #e8eef6}.tn-ref-event>b{font-size:24px;color:#0e6fea;text-align:center}.tn-ref-event>b small{display:block;font-size:9px}.tn-ref-event span strong{display:block;font-size:12px;color:#102b5d}.tn-ref-event span small{font-size:9px;color:#55709b}.tn-ref-resources>a:not(.tn-ref-more){display:grid;grid-template-columns:38px 1fr 16px;gap:8px;align-items:center;text-decoration:none;padding:10px 0;border-bottom:1px solid #e8eef6;color:#102b5d}.tn-ref-resources>a span{font-size:28px}.tn-ref-resources>a strong{font-size:11px}.tn-ref-resources>a small{display:block;font-size:9px;font-weight:500;color:#647b9d}.tn-ref-weather-body{display:grid;grid-template-columns:40% 60%;gap:8px}.tn-ref-now{display:grid;grid-template-columns:50px 1fr;align-items:center}.tn-ref-sun{font-size:48px;color:#ffb000}.tn-ref-now strong{font-size:25px;color:#112b5b}.tn-ref-now small,.tn-ref-now em{grid-column:2;font-size:10px;font-style:normal;color:#5d7396}.tn-ref-forecast{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.tn-ref-forecast span{display:flex;flex-direction:column;align-items:center;background:#f5f9fe;border-radius:10px;padding:5px 2px;font-size:10px}.tn-ref-forecast b{color:#ffb000}.tn-ref-games>div{display:grid;grid-template-columns:72px 1fr;align-items:center}.tn-ref-game-icon{font-size:54px}.tn-ref-games p{font-size:11px;margin:5px 0}.tn-ref-games a{display:inline-flex;background:#6a28dc;color:#fff;text-decoration:none;border-radius:18px;padding:8px 13px;font-size:11px;font-weight:800}
  body.tn-reference-device .site-footer{margin-top:12px!important;min-height:92px!important}.tn-reference-device .footer-inner{min-height:92px!important;padding:12px 18px!important;border-radius:0!important;background:linear-gradient(90deg,#07398c,#0050aa 64%,#07398c)!important}.tn-reference-device .footer-brand{min-width:190px!important}.tn-reference-device .footer-middle{gap:6px!important}.tn-reference-device .footer-copy{font-size:9px!important}
  body.tn-reference-device .floating-tools.public-floating,body.tn-reference-device .floating-tools.logged-floating{display:none!important}
}
@media (max-width:720px){
  body.tn-reference-phone .topbar{height:74px!important}.tn-reference-phone .topbar-inner{width:100%!important;padding:0 14px!important}.tn-reference-phone .mobile-menu-btn{display:flex!important;width:38px!important;height:38px!important}.tn-reference-phone .brand{min-width:0!important;flex:1!important}.tn-reference-phone .brand-mark{width:38px!important;height:38px!important}.tn-reference-phone .brand-copy strong{font-size:18px!important}.tn-reference-phone .brand-copy small{font-size:7px!important}.tn-reference-phone .top-meta,.tn-reference-phone .connect-btn{display:none!important}.tn-reference-phone .top-actions{display:flex!important;gap:5px!important}.tn-reference-phone .round-action{display:grid!important;width:38px!important;height:38px!important}
  body.tn-reference-phone .mainnav{position:absolute!important;top:74px!important;left:0!important;right:0!important;z-index:120!important;display:none!important}.tn-reference-phone .mainnav.open{display:block!important}.tn-reference-phone .nav-inner{width:100%!important;height:auto!important;padding:10px!important}.tn-reference-phone .nav-links{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}.tn-reference-phone .nav-link{height:48px!important;justify-content:flex-start!important;padding:0 12px!important}.tn-reference-phone .search-form{display:none!important}
  body.tn-reference-phone .home-page{width:100%!important;padding:0 12px 14px!important}.tn-reference-phone .home-dashboard-121{gap:10px!important}.tn-reference-phone .hero-121{height:250px!important;min-height:250px!important;grid-template-columns:55% 45%!important;margin:0 -12px!important;width:calc(100% + 24px)!important}.tn-reference-phone .hero-copy-121{padding:22px 0 14px 16px!important}.tn-reference-phone .hero-welcome-121{font-size:21px!important}.tn-reference-phone .hero-brand-121{font-size:36px!important;white-space:normal!important}.tn-reference-phone .hero-sub-122{font-size:12px!important;line-height:1.4!important;margin-top:11px!important}.tn-reference-phone .hero-photo-121{object-position:54% center!important}.tn-reference-phone .tn-ref-hero-actions{gap:5px!important;margin-top:13px!important}.tn-reference-phone .tn-ref-pill{font-size:8px!important;padding:7px 8px!important;border-radius:10px!important}.tn-reference-phone .tn-ref-pill span{font-size:10px}
  .tn-reference-phone .news-pro-121{min-height:280px!important;padding:10px 11px 12px!important}.tn-reference-phone .news-heading-121 h2{font-size:17px!important}.tn-reference-phone .news-heading-121 a{font-size:10px!important}.tn-reference-phone .news-slider-121{height:220px!important}.tn-reference-phone .news-slide-121{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.tn-reference-phone .news-card{height:220px!important}.tn-reference-phone .news-body{padding:6px!important}.tn-reference-phone .news-body h3{font-size:11px!important}.tn-reference-phone .news-body p{font-size:9px!important;-webkit-line-clamp:2!important}.tn-reference-phone .news-tag{font-size:8px!important}.tn-reference-phone .soft-link{font-size:9px!important}.tn-reference-phone .news-arrow-121{width:34px!important;height:34px!important}
  body.tn-reference-phone .quick-access-121{grid-template-columns:1fr!important;gap:8px!important}.tn-reference-phone .quick-access{height:92px!important;display:grid!important;grid-template-columns:38% 62%!important;grid-template-rows:1fr!important}.tn-reference-phone .quick-access-icon-shell{grid-column:1;grid-row:1;width:52px!important;height:52px!important;align-self:center!important;justify-self:end!important;margin:0 -26px 0 0!important}.tn-reference-phone .quick-access-copy{grid-column:2;grid-row:1;padding:10px 12px 8px 35px!important;align-items:flex-start!important;text-align:left!important}.tn-reference-phone .quick-access-copy strong{font-size:15px!important}.tn-reference-phone .quick-access-copy small{font-size:9px!important}.tn-reference-phone .quick-access-cta{position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;font-size:0!important;padding:8px 10px!important}.tn-reference-phone .quick-access-cta b{font-size:14px!important}
  .tn-reference-phone .tn-responsive-extras{grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:10px!important}.tn-reference-phone .tn-ref-weather{grid-column:1;grid-row:1}.tn-reference-phone .tn-ref-games{grid-column:2;grid-row:1}.tn-reference-phone .tn-ref-events{grid-column:1;grid-row:2}.tn-reference-phone .tn-ref-resources{grid-column:2;grid-row:2}.tn-reference-phone .tn-ref-help{grid-column:1/-1;grid-row:3;min-height:82px!important}.tn-reference-phone .tn-ref-utility{padding:10px!important}.tn-reference-phone .tn-ref-utility h3{font-size:13px!important}.tn-reference-phone .tn-ref-weather-body{grid-template-columns:1fr!important}.tn-reference-phone .tn-ref-now{grid-template-columns:42px 1fr!important}.tn-reference-phone .tn-ref-sun{font-size:38px!important}.tn-reference-phone .tn-ref-now strong{font-size:21px!important}.tn-reference-phone .tn-ref-forecast{grid-template-columns:repeat(4,1fr)!important}.tn-reference-phone .tn-ref-forecast span{font-size:8px!important}.tn-reference-phone .tn-ref-games>div{grid-template-columns:48px 1fr!important}.tn-reference-phone .tn-ref-game-icon{font-size:38px!important}.tn-reference-phone .tn-ref-games h3{font-size:13px!important}.tn-reference-phone .tn-ref-games p{font-size:9px!important}.tn-reference-phone .tn-ref-games a{font-size:9px!important;padding:6px 9px!important}.tn-reference-phone .tn-ref-event{grid-template-columns:38px 1fr!important;padding:7px 0!important}.tn-reference-phone .tn-ref-event>b{font-size:17px!important}.tn-reference-phone .tn-ref-event span strong{font-size:9px!important}.tn-reference-phone .tn-ref-event span small{font-size:7px!important}.tn-reference-phone .tn-ref-resources>a:not(.tn-ref-more){grid-template-columns:28px 1fr 12px!important;padding:7px 0!important}.tn-reference-phone .tn-ref-resources>a span{font-size:20px!important}.tn-reference-phone .tn-ref-resources>a strong{font-size:9px!important}.tn-reference-phone .tn-ref-resources>a small{font-size:7px!important}.tn-reference-phone .tn-ref-more{font-size:9px!important}
  body.tn-reference-phone .site-footer{min-height:58px!important}.tn-reference-phone .footer-inner{width:100%!important;min-height:58px!important;padding:8px 12px!important;display:flex!important;justify-content:center!important}.tn-reference-phone .footer-brand,.tn-reference-phone .footer-links,.tn-reference-phone .socials,.tn-reference-phone .footer-copy{display:none!important}.tn-reference-phone .secure-badge{margin:0!important}
}

/* 1.40.0-preview.1 — affinage visuel selon les maquettes téléphone/tablette. */
.tn-ref-news-device,.tn-ref-quick-photo{display:none}
@media (max-width:1280px){
  body.tn-reference-device{overflow-x:hidden!important}

  /* Sur tablette/téléphone, les actualités utilisent une vue dédiée de 3 cartes,
     sans modifier le slider bureau déjà fonctionnel. */
  .tn-reference-device .news-slider-121,.tn-reference-device .news-pagination-121{display:none!important}
  .tn-reference-device .tn-ref-news-device{display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px;grid-template-rows:auto 18px;align-items:center;gap:8px 10px;position:relative;width:100%;min-width:0}
  .tn-reference-device .tn-ref-news-pages{grid-column:2;grid-row:1;min-width:0;overflow:hidden}
  .tn-reference-device .tn-ref-news-page{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0}
  .tn-reference-device .tn-ref-news-page.active{display:grid}
  .tn-reference-device .tn-ref-news-page .news-card{display:grid!important;width:100%!important;min-width:0!important;height:238px!important;margin:0!important;border:1px solid #dce8f5!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 3px 10px rgba(28,70,125,.07)!important;grid-template-rows:46% 54%!important}
  .tn-reference-device .tn-ref-news-page .news-media{min-height:0!important;height:auto!important}
  .tn-reference-device .tn-ref-news-page .news-media img{width:100%!important;height:100%!important;object-fit:cover!important}
  .tn-reference-device .tn-ref-news-page .news-body{padding:7px 9px 9px!important;min-width:0!important}
  .tn-reference-device .tn-ref-news-page .publication-meta{display:block!important;margin-bottom:3px!important}
  .tn-reference-device .tn-ref-news-page .publication-source{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-top:2px!important}
  .tn-reference-device .tn-ref-news-page .news-body h3{font-size:13px!important;line-height:1.15!important;margin:4px 0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .tn-reference-device .tn-ref-news-page .news-body p{font-size:10px!important;line-height:1.3!important;margin:3px 0 5px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .tn-reference-device .tn-ref-news-page .soft-link{font-size:10px!important;margin-top:auto!important}
  .tn-reference-device .tn-ref-news-arrow{grid-row:1;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;border:1px solid #d5e3f2;background:#fff;color:#0e61ce;font-size:28px;line-height:1;box-shadow:0 5px 14px rgba(29,72,129,.12);cursor:pointer}
  .tn-reference-device .tn-ref-news-arrow.prev{grid-column:1}.tn-reference-device .tn-ref-news-arrow.next{grid-column:3}
  .tn-reference-device .tn-ref-news-dots{grid-column:1/-1;grid-row:2;display:flex;justify-content:center;gap:5px}
  .tn-reference-device .tn-ref-news-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#cbd7e6;cursor:pointer}
  .tn-reference-device .tn-ref-news-dots button.active{background:#126ee5}

  /* Photos locales/distantes déjà utilisées par le site : ajout de présentation uniquement. */
  .tn-reference-device .tn-ref-quick-photo{display:block;grid-row:1;width:100%;height:90px;background-position:center;background-size:cover;background-repeat:no-repeat}
  .tn-reference-device .quick-access{position:relative!important}
  .tn-reference-device .quick-access-icon-shell{position:relative!important}
}
@media (max-width:720px){
  .tn-reference-phone .news-pro-121{min-height:255px!important}
  .tn-reference-phone .tn-ref-news-device{grid-template-columns:30px minmax(0,1fr) 30px;gap:5px;grid-template-rows:auto 14px}
  .tn-reference-phone .tn-ref-news-page{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .tn-reference-phone .tn-ref-news-page .news-card{height:194px!important;border-radius:10px!important;grid-template-rows:43% 57%!important}
  .tn-reference-phone .tn-ref-news-page .news-tag{font-size:6px!important;padding:3px 5px!important;top:4px!important;left:4px!important}
  .tn-reference-phone .tn-ref-news-page .news-body{padding:4px 5px 5px!important}
  .tn-reference-phone .tn-ref-news-page .publication-meta{font-size:6.5px!important;line-height:1.15!important}
  .tn-reference-phone .tn-ref-news-page .publication-source{font-size:6px!important}
  .tn-reference-phone .tn-ref-news-page .news-body h3{font-size:8.5px!important;line-height:1.13!important;margin:2px 0!important;-webkit-line-clamp:3!important}
  .tn-reference-phone .tn-ref-news-page .news-body p{font-size:7px!important;line-height:1.18!important;-webkit-line-clamp:2!important;margin:2px 0!important}
  .tn-reference-phone .tn-ref-news-page .soft-link{font-size:7px!important}
  .tn-reference-phone .tn-ref-news-arrow{width:28px;height:28px;font-size:21px}
  .tn-reference-phone .tn-ref-news-dots button{width:6px;height:6px}

  /* Cartes Education/Territoires/Partenaires comme les maquettes : photo à gauche,
     contenu à droite et icône sur la jonction. */
  .tn-reference-phone .quick-access{height:96px!important;grid-template-columns:37% 63%!important;grid-template-rows:1fr!important;overflow:hidden!important}
  .tn-reference-phone .tn-ref-quick-photo{display:block!important;grid-column:1;grid-row:1;width:100%;height:100%;min-height:96px;background-position:center;background-size:cover}
  .tn-reference-phone .quick-access-icon-shell{position:absolute!important;left:37%!important;top:50%!important;transform:translate(-50%,-50%)!important;z-index:3!important;margin:0!important;justify-self:auto!important;align-self:auto!important}
  .tn-reference-phone .quick-access-copy{grid-column:2;grid-row:1;padding:10px 46px 8px 31px!important;justify-content:center!important;min-width:0!important}
  .tn-reference-phone .quick-access-copy strong{font-size:14px!important;line-height:1.05!important}
  .tn-reference-phone .quick-access-copy small{font-size:8px!important;line-height:1.24!important}
  .tn-reference-phone .quick-access-cta{right:8px!important;padding:7px 8px!important}

  /* La maquette téléphone ne comporte aucun débordement horizontal. */
  .tn-reference-phone .home-dashboard-121,.tn-reference-phone .news-pro-121,.tn-reference-phone .tn-responsive-extras,.tn-reference-phone .quick-access-121{min-width:0!important;max-width:100%!important}
}

/* === 1.40 — calage final sur les deux maquettes jointes (941×1672 et 1086×1448) === */
@media (max-width:1280px){
  html[data-tn-device="tablet"],html[data-tn-device="phone"]{overflow-x:hidden}
  body.tn-reference-device{font-synthesis:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  body.tn-reference-device .site-shell{min-height:100dvh!important;overflow:clip!important}
  body.tn-reference-device .home-page{box-sizing:border-box!important}
  body.tn-reference-device .hero-121,
  body.tn-reference-device .news-pro-121,
  body.tn-reference-device .quick-access-121,
  body.tn-reference-device .tn-responsive-extras{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  body.tn-reference-tablet .home-page{width:min(100% - 72px,1120px)!important;padding-top:18px!important}
  .tn-reference-tablet .hero-121{height:278px!important;min-height:278px!important;border-radius:0!important}
  .tn-reference-tablet .hero-copy-121{padding:34px 20px 18px 24px!important}
  .tn-reference-tablet .hero-brand-121{font-size:47px!important;letter-spacing:-2px!important}
  .tn-reference-tablet .hero-sub-122{max-width:480px!important;font-size:15px!important}
  .tn-reference-tablet .tn-ref-hero-actions{margin-top:20px!important}
  .tn-reference-tablet .news-pro-121{padding:13px 18px 15px!important;min-height:306px!important}
  .tn-reference-tablet .tn-ref-news-page .news-card{height:232px!important}
  .tn-reference-tablet .quick-access-121{gap:13px!important}
  .tn-reference-tablet .quick-access{height:205px!important;border:1px solid #d7e5f5!important}
  .tn-reference-tablet .tn-responsive-extras{gap:13px!important;margin-top:14px!important;align-items:start!important}
  .tn-reference-tablet .tn-ref-events,.tn-reference-tablet .tn-ref-resources{min-height:286px!important}
  .tn-reference-tablet .tn-ref-weather{min-height:137px!important}
  .tn-reference-tablet .tn-ref-games{min-height:108px!important}
  .tn-reference-tablet .tn-ref-help{min-height:95px!important}
  .tn-reference-tablet .site-footer{margin-top:14px!important}
}

@media (max-width:720px){
  body.tn-reference-phone{background:#f3f9ff!important}
  body.tn-reference-phone .site-shell{background:linear-gradient(180deg,#f8fbff 0%,#edf7ff 100%)!important}
  body.tn-reference-phone .topbar{height:72px!important;position:relative!important;z-index:140!important}
  .tn-reference-phone .topbar-inner{width:100%!important;max-width:none!important;padding:0 15px!important;gap:8px!important}
  .tn-reference-phone .mobile-menu-btn{flex:0 0 38px!important;margin:0!important}
  .tn-reference-phone .brand{justify-content:flex-start!important;min-width:0!important;overflow:hidden!important}
  .tn-reference-phone .brand-copy{min-width:0!important}
  .tn-reference-phone .brand-copy strong{font-size:18px!important;line-height:1!important;white-space:nowrap!important}
  .tn-reference-phone .brand-copy small{font-size:7px!important;white-space:nowrap!important}
  .tn-reference-phone .top-actions{flex:0 0 auto!important}
  .tn-reference-phone .round-action{width:37px!important;height:37px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 3px 12px rgba(22,62,112,.08)!important}

  body.tn-reference-phone .home-page{width:100%!important;max-width:none!important;padding:0 12px 13px!important;margin:0!important}
  .tn-reference-phone .home-dashboard-121{gap:10px!important}
  .tn-reference-phone .hero-121{height:252px!important;min-height:252px!important;margin:0 -12px!important;width:calc(100% + 24px)!important;grid-template-columns:55% 45%!important}
  .tn-reference-phone .hero-copy-121{padding:22px 2px 13px 17px!important}
  .tn-reference-phone .hero-welcome-121{font-size:21px!important;margin-bottom:4px!important}
  .tn-reference-phone .hero-brand-121{font-size:36px!important;line-height:.98!important;letter-spacing:-1.3px!important;overflow-wrap:anywhere!important}
  .tn-reference-phone .hero-sub-122{font-size:12px!important;line-height:1.42!important;margin-top:12px!important;max-width:340px!important}
  .tn-reference-phone .hero-photo-121{object-position:55% center!important}
  .tn-reference-phone .tn-ref-hero-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin-top:13px!important;width:calc(100% + 85%)!important;max-width:420px!important}
  .tn-reference-phone .tn-ref-pill{min-width:0!important;justify-content:center!important;font-size:8px!important;padding:7px 5px!important;white-space:nowrap!important}

  .tn-reference-phone .news-pro-121{margin-top:0!important;min-height:292px!important;padding:10px 10px 12px!important;border-radius:16px!important}
  .tn-reference-phone .news-heading-121{padding:0 4px!important}
  .tn-reference-phone .news-heading-121 h2{font-size:17px!important}
  .tn-reference-phone .tn-ref-news-device{grid-template-columns:26px minmax(0,1fr) 26px!important;gap:4px!important}
  .tn-reference-phone .tn-ref-news-page{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  .tn-reference-phone .tn-ref-news-page .news-card{height:210px!important;min-width:0!important;border-radius:10px!important}
  .tn-reference-phone .tn-ref-news-page .news-body h3{font-size:8.7px!important;line-height:1.15!important}
  .tn-reference-phone .tn-ref-news-page .news-body p{font-size:7.1px!important}
  .tn-reference-phone .tn-ref-news-arrow{width:27px!important;height:27px!important;font-size:20px!important}

  body.tn-reference-phone .quick-access-121{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .tn-reference-phone .quick-access{height:101px!important;min-height:101px!important;border-radius:13px!important;border:1px solid #d7e5f5!important;grid-template-columns:37% 63%!important}
  .tn-reference-phone .tn-ref-quick-photo{min-height:101px!important}
  .tn-reference-phone .quick-access-icon-shell{width:51px!important;height:51px!important;left:37%!important}
  .tn-reference-phone .quick-access-copy{padding:10px 45px 8px 32px!important}
  .tn-reference-phone .quick-access-copy strong{font-size:14px!important}
  .tn-reference-phone .quick-access-copy small{font-size:8px!important;line-height:1.22!important}
  .tn-reference-phone .quick-access-cta{right:8px!important}

  .tn-reference-phone .tn-responsive-extras{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:10px!important}
  .tn-reference-phone .tn-ref-weather,.tn-reference-phone .tn-ref-games{min-height:126px!important}
  .tn-reference-phone .tn-ref-events,.tn-reference-phone .tn-ref-resources{min-height:228px!important}
  .tn-reference-phone .tn-ref-help{min-height:82px!important;border-radius:14px!important;grid-template-columns:76px 1fr 45px!important}
  .tn-reference-phone .tn-ref-help img{width:72px!important;height:88px!important}
  .tn-reference-phone .tn-ref-help h3{font-size:14px!important}
  .tn-reference-phone .tn-ref-help p{font-size:10px!important;line-height:1.25!important}

  body.tn-reference-phone .site-footer{margin-top:9px!important;min-height:56px!important}
  .tn-reference-phone .footer-inner{min-height:56px!important;gap:16px!important;color:#67809e!important;background:transparent!important;border-top:1px solid #dbe8f5!important}
  .tn-reference-phone .secure-badge{font-size:11px!important}
  .tn-reference-phone .footer-inner::after{content:"tentoninumerik.fr";font-size:11px;color:#7185a1;white-space:nowrap}

  /* Tout doit tenir dans la largeur réelle du téléphone, sans zoom arrière du navigateur. */
  .tn-reference-phone *, .tn-reference-phone *::before, .tn-reference-phone *::after{box-sizing:border-box}
  .tn-reference-phone img,.tn-reference-phone video,.tn-reference-phone canvas,.tn-reference-phone svg{max-width:100%}
}

/* Petits téléphones : conserver exactement la composition, en réduisant seulement les textes. */
@media (max-width:390px){
  .tn-reference-phone .brand-copy strong{font-size:16px!important}
  .tn-reference-phone .hero-brand-121{font-size:32px!important}
  .tn-reference-phone .hero-sub-122{font-size:11px!important}
  .tn-reference-phone .tn-ref-pill{font-size:7px!important;padding-inline:4px!important}
  .tn-reference-phone .tn-ref-news-page .news-body h3{font-size:7.9px!important}
  .tn-reference-phone .quick-access-copy strong{font-size:13px!important}
}
