/* design.css — FEUILLE DE STYLE NEUVE, écrite par nous (tools/build2.py l'assemble).
   Reproduit FIDÈLEMENT la maquette d'origine de learn-english.co.il : les valeurs de design
   (couleurs, polices, espacements, mise en page) ont été lues comme DONNÉES dans le dump,
   auditées (0 construct malveillant), puis ré-écrites ici dans notre propre structure.
   Aucun fichier du dump n'est copié. Zéro style inline : les styles de contenu lus comme
   données deviennent des classes cs-N (ajoutées au build), les fonds d'image des classes
   dédiées, les délais d'animation des règles nth-child. */

:root {
  --red: #bd1428;
  --ink: #182038;
  --blue: #14406f;
  --navy: #0e305d;
  --muted: #d7d9e2;
  --font: Assistant, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body {
  margin: 0;
  color: #282b38;
  background: #fff;
  font: 16px/1.5 var(--font);
  direction: rtl;
}
button, input, select, textarea { font: inherit; }
button, a, input { touch-action: manipulation; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
img, video { max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0 0 20px; }
h1, h2, h3, h4 { line-height: 1.1; }
h1 { font-size: 42px; font-weight: 800; color: var(--blue); }
h2 { font-size: 32px; font-weight: 800; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #19a4b6;
  outline-offset: 4px;
}
picture { display: block; }
.wrap { max-width: 1200px; margin: auto; padding: 10px; }
.skip-link {
  position: fixed; top: -100px; right: 15px;
  background: white; z-index: 100; padding: 12px;
}
.skip-link:focus { top: 10px; }

/* ---------- icônes : PNG rasterisés (pixels neufs) en masque CSS + currentColor ---------- */
.icon {
  display: inline-block;
  width: 1em; height: 1em;
  background-color: currentColor;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  vertical-align: middle;
}
.icon-menu { -webkit-mask-image: url(/images/icon-menu.png); mask-image: url(/images/icon-menu.png); }
.icon-search { -webkit-mask-image: url(/images/icon-search.png); mask-image: url(/images/icon-search.png); }
.icon-play { -webkit-mask-image: url(/images/icon-play.png); mask-image: url(/images/icon-play.png); }
.icon-whatsapp { -webkit-mask-image: url(/images/icon-whatsapp.png); mask-image: url(/images/icon-whatsapp.png); }
.icon-phone { -webkit-mask-image: url(/images/icon-phone.png); mask-image: url(/images/icon-phone.png); }
.icon-mail { -webkit-mask-image: url(/images/icon-mail.png); mask-image: url(/images/icon-mail.png); }

/* ---------- en-tête ---------- */
.site-header {
  height: 90px;
  display: flex; align-items: center; gap: 20px;
  padding: 10px 20px;
  background: white;
  box-shadow: 0 0 20px -5px #282b3857;
  position: relative; z-index: 20;
}
.brand { flex: 0 0 235px; }
.brand img { width: 100%; display: block; }
.brand .mobile-logo { display: none; }
.site-nav { flex: 1; min-width: 0; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
.site-nav li { position: relative; }
.site-nav a { display: block; color: var(--ink); font-size: 17.6px; white-space: nowrap; }
.site-nav > ul > li > a,
.site-nav > ul > li > .nav-link > a { padding: 14px 0; border-bottom: 1px solid transparent; }
.site-nav > ul > li > a:hover,
.site-nav > ul > li > .nav-link > a:hover,
.site-nav > ul > li > a[aria-current=page],
.site-nav > ul > li > .nav-link > a[aria-current=page] { border-bottom-color: var(--ink); }
.site-nav .submenu {
  position: absolute; top: 100%; right: 0;
  background: #f4f4f4; min-width: 230px;
  box-shadow: 0 5px 15px #0002;
  visibility: hidden; opacity: 0;
  transition: opacity .2s;
}
.submenu a { font-size: 17px; padding: 9px 18px; border-bottom: 1px solid #a3a3a3; }
.submenu a:hover { background: var(--red); color: white; }
.site-nav li:hover > .submenu,
.site-nav li:focus-within > .submenu,
.site-nav li.expanded > .submenu { visibility: visible; opacity: 1; }
.site-nav .submenu .submenu { top: 0; right: 100%; }
.sub-toggle { border: 0; background: none; padding: 8px; color: inherit; }
.nav-link { display: flex; align-items: center; }
.nav-link > a { flex: 1; }
.header-search { display: flex; flex: 0 0 108px; min-width: 0; height: 50px; direction: rtl; }
.header-search input {
  width: 58px; min-width: 0; border: 0;
  background: #f1f2f3; padding: 8px;
  transition: width .25s;
}
.header-search:focus-within { flex-basis: 220px; }
.header-search:focus-within input { width: 170px; }
.header-search button { width: 50px; border: 0; background: var(--ink); color: white; }
.menu-toggle { display: none; }

/* ---------- boutons ---------- */
.button {
  display: inline-block;
  background: var(--blue); color: white;
  padding: 7px 16px 10px;
  border: 0; border-radius: 3px;
  line-height: 1.2;
}
.button:hover { background: var(--navy); color: white; }
.button.red { background: var(--red); }
.button.red:hover { background: #7e1918; }

/* ---------- héros (accueil) ---------- */
.hero { position: relative; overflow: hidden; min-height: 465px; background: white; }
.hero-backdrop {
  position: absolute; inset: 0;
  background-image: url(/images/img-0278-1200.jpg);
  background-image: url(/images/img-0278-1200.webp);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top right;
  will-change: filter;
}
.hero:after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(270deg, #fff 20%, #fff0 83%);
}
.hero-copy { position: relative; z-index: 1; width: 52.268%; padding: 114px 10px 137px; }
.hero h1 { font-size: 3.7em; font-weight: 800; margin: 0 0 75px; line-height: 1; }
.hero h2 {
  font-size: 5.7em; font-weight: 800; line-height: 1;
  text-shadow: -4px 2px 11px #0005;
  color: var(--red);
  margin: -5px 0 85px;
}
.animated-line { font-size: 33px; font-weight: 600; line-height: 1.5; }
.animated-line strong { color: var(--red); font-weight: 700; white-space: normal; }
.animated-line .letter {
  display: inline-block;
  animation: letter-reveal 3.5s infinite;
}
@keyframes letter-reveal {
  0%, 5% { opacity: 0; transform: translateY(14px); }
  18%, 80% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-8px); }
}

/* ---------- bandeau contact ---------- */
.contact-strip {
  background: linear-gradient(190deg, #182038fa 0%, #17979b 100%);
  padding: 15px 25px;
  display: flex; align-items: center; gap: 15px;
  color: white;
  box-shadow: 0 0 20px -5px #282b3857;
  border-block: 1px solid var(--muted);
}
.strip-copy { width: 34%; text-align: center; font-size: 25px; line-height: 1; }
.strip-copy p { margin: 0; }
.strip-copy a { color: white; }
.strip-copy b.phone { color: #87cee0; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; flex: 1; }
.contact-form input {
  width: 100%; height: 46px;
  border: .5px solid var(--muted); border-radius: 3px;
  padding: 10px 15px;
  font-size: 18px; font-weight: 300;
  background: white;
}
.contact-form button { font-weight: 700; font-size: 20px; }
.form-notice { grid-column: 1 / -1; margin: 0; line-height: 1.4; }
.form-notice[hidden] { display: none; }
/* honeypot : clip 1px, SANS décalage offscreen (sûr en RTL) */
input.hp, .contact-form input.hp {   /* spécificité > « .contact-form input » (sinon width:100% l'emporte → débordement horizontal) */
  position: absolute;
  width: 1px; height: 1px; min-width: 0;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ---------- section atouts (accueil) ---------- */
.features {
  padding: 50px 0 25px;
  background: linear-gradient(#fff, #e2e2e255);
  text-align: center;
}
.features .intro-logo { width: 390px; max-width: 78%; display: block; margin: 0 auto 20px; }
.intro-logo img { width: 100%; }
.features h2 { font-size: 32px; color: #424442; margin-bottom: 20px; }
.features .tagline { font-size: 30px; font-weight: 300; color: var(--blue); margin-top: -5px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1200px; margin: auto; }
.feature { margin: 10px; padding: 25px; display: flex; flex-direction: column; align-items: stretch; }
.feature-icon { font-size: 96px; color: var(--red); height: 110px; margin-bottom: 20px; }
.feature h3 { font-size: 28px; font-weight: 800; color: var(--blue); margin-bottom: 20px; }
.feature .copy { font-size: 19px; line-height: 1; min-height: 105px; margin-bottom: 20px; flex: 1; }
.feature .copy p { margin-bottom: 16px; }
.feature .button { font-size: 15px; }

/* ---------- panneau communauté (accueil) ---------- */
.community-panel {
  position: relative;
  background-image: url(/images/img-0279-1200.jpg);
  background-image: url(/images/img-0279-1200.webp);
  background-size: cover; background-position: center;
  padding: 55px 0;
  color: white; text-align: center;
  overflow: hidden;
}
.community-panel:before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(250deg, #182038, #1da1aa);
  opacity: .66;
}
.community-panel .wrap { position: relative; max-width: 784px; }
.community-panel h2 { font-size: 58px; font-weight: 500; text-shadow: 2px 2px 2px #0005; }
.community-panel .copy { font-size: 24px; line-height: 1.1; }
.community-panel .copy p { margin: 0 0 20px; padding: 0; }
.community-panel .copy br { display: none; }
.community-panel .button { font-size: 22px; border-radius: 0; }

/* ---------- solution + vidéo (accueil) ---------- */
.solution { padding: 35px 0; }
.solution .wrap { max-width: 1002px; display: grid; grid-template-columns: 71.158% 28.842%; align-items: center; }
.solution-copy { padding: 10px 10px 10px 45px; font-size: 21px; line-height: 1.1; }
.solution h2 { font-size: 55px; font-weight: 200; color: var(--blue); }
.solution .button { font-size: 20px; }
.video-link {
  display: block; position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee; color: white;
  border: 0; padding: 0; width: 100%;
}
.video-link img { width: 100%; height: 100%; object-fit: cover; }
.video-link .play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 88px; color: white;
  filter: drop-shadow(0 0 5px #27282bd4);
}
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.unavailable-video { background: linear-gradient(#333 65%, #070707); color: white; }
.unavailable-video .play { opacity: .85; }
.unavailable-media { display: block; font-size: 14px; color: #686c74; margin: 12px 0; }

/* ---------- info langue + articles (accueil) ---------- */
.language-info { max-width: 1002px; margin: auto; padding: 35px 10px; }
.text-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.home-posts-title { text-align: center; font-size: 38px; font-weight: 200; color: var(--blue); }
.home-posts-subtitle { text-align: center; font-size: 33px; font-weight: 200; color: var(--red); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 25px 0; }
.post-card {
  border: 1px solid var(--muted); border-radius: 3px;
  background: white; padding: 18px;
  display: flex; flex-direction: column; min-width: 0;
}
.post-card img { width: 100%; height: 150px; object-fit: cover; }
.post-card h3 {
  font-size: 22px; font-weight: 800;
  background: #d7d9e23d;
  padding: 9px 13px 6px 14px;
  line-height: 1.1; margin: 0 0 15px;
}
.post-card .excerpt { font-size: 16px; flex: 1; }
.post-card .button { align-self: flex-end; font-size: 19px; margin-top: 15px; }

/* ---------- en-tête de page ---------- */
.page-heading {
  padding: 35px 50px 35px 0;
  background: linear-gradient(90deg, #fff0, #ffffffb5), #f7fcff;
  border-bottom: 1px solid var(--muted);
}
.page-heading .wrap { max-width: 1200px; padding-top: 10px; padding-bottom: 10px; }
.page-heading h1 { margin: 0; line-height: 1; }
.page-heading h2 { font-size: 32px; color: var(--red); font-weight: 600; margin: 20px 0; }
.page-heading .breadcrumbs { margin-top: 0; margin-bottom: 14.4px; font-size: 16px; }
.article-heading .breadcrumbs { margin: 0 0 32px; }

/* ---------- corps d'article / de cours ---------- */
.article-body {
  max-width: 1200px; margin: 0 auto; padding: 10px;
  font-size: 18px; line-height: 1.5; color: var(--ink);
}
.article-body h2 { font-size: 32px; }
.article-body h3 { font-size: 28px; font-weight: 600; }
.article-body h2, .article-body h3, .article-body h4 {
  line-height: 1.2; margin-top: 8px; margin-bottom: 16px;
}
.article-body p { margin-bottom: 14.4px; }
.article-body ul, .article-body ol { padding-inline-start: 40px; margin-block: 0; }
.article-body picture { display: block; margin: 20px auto; max-width: 100%; }
.article-body img { display: block; margin: 0 auto; }
.article-body figure { margin: 20px 0; }
.article-body :where(table) {
  border-collapse: collapse; width: 100%;
  font-size: 16px; margin-bottom: 20px; table-layout: auto;
}
.article-body :where(td, th) { border: 1px solid #ccc; padding: 9px 12px; }
.article-body :where(th) { font-weight: 700; background: #f2f2f2; }
:where(.article-body tr:nth-child(even)) { background: #f8f8f8; }
.table-scroll { max-width: 100%; overflow: auto; overscroll-behavior-inline: contain; }
.article-body details { margin: 12px 0; border: 1px solid #ddd; padding: 12px; }
.article-body summary { cursor: pointer; font-weight: 700; }
.course-body { background: linear-gradient(180deg, #182038d1, #ffffff80); padding: 10px; }
.course-body .article-body { background: white; padding: 25px; max-width: 1200px; }
.featured-image { width: 100%; }
.featured-image img { width: 100%; }

/* ---------- articles liés ---------- */
.related { background: #282b38db; padding: 45px 0; }
.related h2 { color: white; font-size: 42px; font-weight: 500; }
.related .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- archives ---------- */
.archive-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px 30px;
  max-width: 1200px; margin: 0 auto; padding: 10px;
}
.archive-card img { width: 100%; height: 220px; object-fit: cover; }
.archive-card h2 { font-size: 28px; color: var(--blue); }
.archive-card p { font-size: 20px; }
.archive-card .read-more { font-size: 27px; }
.pagination { display: flex; justify-content: center; gap: 18px; padding: 25px; flex-wrap: wrap; }
.pagination .current { color: var(--red); font-weight: bold; }
.archive-description { max-width: 1367px; margin: auto; padding: 10px; font-size: 16px; line-height: 1.5; }
.archive-description img { width: 100%; height: auto; }
.archive-description h2 { font-size: 38px; font-weight: 600; margin: 20px 0; }
.archive-description h3 { margin: 20px 0; }
.archive-description :where(table) { border-collapse: collapse; width: 100%; }
.archive-description :where(td, th) { border: 1px solid #ddd; padding: 10px; }
.archive-wide { max-width: 1600px; }

/* ---------- onglets ---------- */
.tabs { margin: 20px 0; }
.tab-list { display: flex; justify-content: center; gap: 10px; }
.tab-list button {
  border: 0; padding: 15px 22px;
  background: #f1f2f3; color: var(--ink); font-weight: 600;
}
.tab-list button[aria-selected=true] { background: var(--blue); color: white; }
.tab-panel { padding: 20px; }
.tab-panel[hidden] { display: none; }

/* ---------- page contact ---------- */
.contact-page {
  padding: 65px 0;
  background-size: cover; background-position: top center;
  min-height: 570px;
}
.contact-card { background: white; padding: 25px; width: 38.417%; }
.contact-card h1 { color: var(--ink); }
.contact-card h2 { font-size: 42px; color: var(--blue); }
.contact-card .subtitle { font-size: 29px; font-weight: 200; color: var(--blue); line-height: 1.1; }
.contact-card .contact-form { grid-template-columns: 1fr; }
.contact-card .button { width: 100%; text-align: center; }
.contact-card .phone-button { margin-top: 20px; font-weight: 700; font-size: 20px; }

/* ---------- pied de page ---------- */
.footer-call {
  background: linear-gradient(120deg, #0e305dfa, #0093ad);
  color: white;
  padding: 15px 25px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 32px; line-height: 1.1;
}
.footer-call p { margin: 0; }
.footer-call a { font-size: 35px; font-weight: 700; color: white; }
.footer-main { background: #fff; padding: 50px 25px 70px; }
.footer-grid {
  display: grid; grid-template-columns: 30% 23% 22% 25%;
  max-width: 1200px; padding: 10px; margin: auto; gap: 0;
}
.footer-grid > div { padding-inline-end: 20px; }
.footer-grid h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 0; }
.footer-grid hr { width: 125px; margin: 12px 0; border: 0; border-top: 1px solid var(--muted); }
.footer-grid p, .footer-grid li { margin: 0 0 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid > div:last-child p:first-of-type { font-size: 19px; font-weight: 300; color: #0e305d; margin-top: 14px; }
.footer-grid > div:last-child p:nth-of-type(2) { font-size: 18px; font-weight: 700; margin-top: 12px; }
.footer-grid > div:last-child p:nth-of-type(3) { font-size: 15px; font-weight: 500; margin-top: 10px; }
.footer-grid .video-link { aspect-ratio: 9 / 16; }
.social-links { display: flex; gap: 10px; font-size: 23px; }
.social-links a {
  display: grid; place-items: center;
  width: 29px; height: 29px;
  border-radius: 2px;
  background: #3b5998; color: white;
  font: bold 18px Arial;
}
.social-links a:last-child { background: #cd201f; font-size: 16px; }
.copyright {
  text-align: center;
  background: #182038; color: #fff;
  font: 300 16px/1.5 Rubik, Arial, sans-serif;
  padding: 15px;
}
.copyright p { margin: 0; }
.copyright a { color: #fff; }

/* ---------- barre contact mobile ---------- */
.mobile-contact { display: none; }

/* ---------- révélation au défilement ---------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s, transform .7s; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- dialogue contact ---------- */
.modal {
  border: 0; border-radius: 6px;
  width: min(600px, calc(100% - 30px));
  padding: 32px;
}
.modal::backdrop { background: #0009; }
.modal-close { position: absolute; left: 12px; top: 8px; border: 0; background: none; font-size: 30px; }
.modal h2 { color: var(--blue); }
.modal .contact-form { grid-template-columns: 1fr; }

/* ---------- recherche locale ---------- */
.search-results { max-width: 1200px; margin: auto; padding: 30px 20px; }
.search-results article { border-bottom: 1px solid var(--muted); padding: 22px 0; }
.search-results h2 { font-size: 28px; }
.search-results p { font-size: 18px; }
.local-course-notice { padding: 40px; }
.empty-results { font-size: 20px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---------- libellé survol ---------- */
.hover-label { position: relative; overflow: hidden; transition: background-color .3s; }
.hover-label .hover-copy { display: none; }
.hover-label:hover > span:first-child { display: none; }
.hover-label:hover .hover-copy { display: inline; }

/* ---------- responsive : ≤1190px ---------- */
@media (max-width: 1190px) {
  .site-header { gap: 10px; }
  .brand { flex-basis: 185px; }
  .site-nav a { font-size: 16px; }
  .site-nav > ul { gap: 7px; }
  .header-search { flex-basis: 90px; }
  .header-search input { width: 40px; }
  .feature { padding: 20px 12px; }
  .hero h1 { font-size: 54px; }
  .hero h2 { font-size: 76px; }
  .animated-line { font-size: 23px; }
}

/* ---------- responsive : ≤1024px ---------- */
@media (max-width: 1024px) {
  .site-header { height: 95px; justify-content: space-between; flex-wrap: wrap; }
  .brand { flex-basis: 55%; max-width: 360px; }
  .brand .desktop-logo { display: none; }
  .brand .mobile-logo { display: block; }
  .menu-toggle { display: block; background: transparent; border: 0; color: var(--ink); font-size: 29px; padding: 10px; }
  .header-search { display: none; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; right: 0; left: 0;
    background: #f4f4f4;
    box-shadow: 0 10px 15px #0002;
    max-height: 75vh; overflow-y: auto;
  }
  .site-nav.open { display: block; }
  .site-nav > ul { display: block; }
  .site-nav li > a, .site-nav .nav-link { border-bottom: 1px solid #aaa; padding: 8px 20px; }
  .site-nav a { font-size: 17px; }
  .site-nav .submenu, .site-nav .submenu .submenu {
    position: static; box-shadow: none;
    display: none; visibility: visible; opacity: 1;
    padding-inline-start: 18px;
  }
  .site-nav li.expanded > .submenu { display: block; }
  .site-nav li:hover > .submenu:not(.expanded) { visibility: visible; }
  .contact-strip { flex-wrap: wrap; }
  .strip-copy { width: 100%; }
  .contact-form { flex-basis: 100%; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { width: 68%; }
  .page-heading { padding: 25px 20px; }
  .archive-grid { padding: 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
  .hero-copy { width: 58%; }
  .footer-main { padding: 30px 20px 10px; }
}

/* ---------- responsive : ≤767px ---------- */
@media (max-width: 767px) {
  html { scroll-padding-top: 15px; }
  body { padding-bottom: 65px; }
  .site-header { height: 82px; padding: 10px 20px; }
  .brand { flex-basis: 77%; }
  .hero { min-height: 200px; padding: 30px 15px 0 0; }
  .hero-backdrop { background-size: cover; background-position: center left; }
  .hero-copy { width: 75%; padding: 0 0 30px 10px; }
  .hero h1 { font-size: 27px; margin-bottom: 26px; }
  .hero h2 { font-size: 39px; margin-top: 0; margin-bottom: 25px; }
  .animated-line { font-size: 17px; line-height: 1.15; }
  .animated-line strong { display: block; font-size: 42px; margin-top: 10px; }
  .contact-strip { padding: 20px 25px; }
  .strip-copy { font-size: 21px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form input { height: 46px; }
  .contact-form button { min-height: 46px; }
  .features { padding: 25px 15px 5px; }
  .features .intro-logo { display: none; }
  .features h2 { font-size: 38px; }
  .features .tagline { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 5px 35px 15px; margin: 10px 0; }
  .feature-icon { font-size: 88px; height: 100px; }
  .feature h3 { font-size: 31px; }
  .feature .copy { font-size: 19px; min-height: 0; }
  .feature .button { font-size: 23px; }
  .community-panel { padding: 35px 15px 20px; }
  .community-panel h2 { font-size: 38px; }
  .community-panel .copy { font-size: 24px; }
  .solution { padding: 20px 0; }
  .solution .wrap { display: flex; flex-direction: column; }
  .solution-copy { padding: 15px 20px; width: 100%; }
  .solution h2 { font-size: 38px; }
  .solution .video-link { max-width: 350px; margin: 20px auto; }
  .solution .button { font-size: 23px; }
  .language-info { padding: 30px 25px; }
  .text-columns { grid-template-columns: 1fr; gap: 0; }
  .cards, .archive-grid, .related .cards { grid-template-columns: 1fr; }
  .home-posts-subtitle { font-size: 20px; }
  .home-posts-title { font-size: 38px; }
  .page-heading { padding: 20px 15px; }
  .page-heading h1 { font-size: 31px; overflow-wrap: anywhere; }
  .page-heading h2 { font-size: 25px; }
  .article-heading .breadcrumbs { margin-bottom: 20px; }
  .article-body { padding: 20px 25px; overflow-wrap: anywhere; }
  .article-body h2 { font-size: 28px; }
  .article-body h3 { font-size: 25px; }
  .course-body { padding: 0; }
  .course-body .article-body { padding: 20px 25px; }
  .article-body td, .article-body th { padding: 8px; }
  .table-scroll table { min-width: 550px; }
  .article-body iframe { max-width: 100%; }
  .related { padding: 25px 15px; }
  .related h2 { font-size: 40px; }
  .related .post-card img { height: 220px; }
  .tab-list { flex-direction: column; }
  .tab-panel { padding: 15px 0; }
  .contact-page { padding: 15px; }
  .contact-card { width: 100%; padding: 15px 25px; }
  .contact-card h1 { font-size: 31px; }
  .contact-card h2 { font-size: 38px; }
  .footer-call { font-size: 24px; display: block; text-align: center; }
  .footer-call a { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; padding: 20px 25px; }
  .footer-grid > div { padding: 0; }
  .footer-grid .video-link { max-width: 300px; }
  .copyright { padding: 15px 20px; font-size: 17px; }
  .footer-main { padding: 30px 20px; margin-bottom: 10px; }
  .footer-grid .video-link { max-width: 220px; }
  .archive-description { padding: 15px 25px; }
  .archive-description h2 { font-size: 30px; }
  .mobile-contact {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; bottom: 0; right: 0; left: 0; z-index: 30;
    background: linear-gradient(190deg, #182038fa, #17979b);
    min-height: 62px;
    box-shadow: 0 0 8px #0003;
  }
  .mobile-contact a {
    color: white; text-align: center;
    padding: 6px; font-size: 16px; line-height: 1.1;
    border-inline-end: 1px solid #fff3;
  }
  .mobile-contact .icon { font-size: 23px; display: block; margin: 0 auto 3px; }
}

/* ---------- grands écrans : fond fixe + grille pied 5 colonnes ---------- */
@media (min-width: 1025px) {
  .hero-backdrop { background-attachment: fixed; }
  .community-panel { background-attachment: fixed; }
  .footer-grid { grid-template-columns: 19.06% 16.25% 15.917% 23.338% 25.435%; gap: 0; }
  .footer-grid > div:first-child { padding-inline-end: 47px; }
  .footer-call p { margin-inline-start: 8%; flex: 0 0 34.5%; font-weight: 400; }
  .footer-call > a { flex: 1; text-align: center; }
}

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
/* Classes de contenu GÉNÉRÉES : styles inline du source lus comme données assainies. */
.cs-0 { border:1px solid #ccc;padding:8px }
.cs-1 { background-color:#f2f2f2 }
.cs-2 { background-color:#fafafa }
.cs-3 { width:100%;border-collapse:collapse;margin:15px 0 }
.cs-4 { margin:4px 0 }
.cs-5 { text-align:left;background-color:#f8f9fa;padding:12px 16px;margin:15px 0 }
.cs-6 { text-align:center }
.cs-7 { text-align:left }
.cs-8 { border-collapse:collapse;width:100% }
.cs-9 { font-weight:400 }
.cs-10 { font-size:16px }
.cs-11 { text-align:left;background-color:#f8f9fa;padding:12px 16px }
.cs-12 { margin:0 0 4px 0 }
.cs-13 { margin:14px 0 4px 0 }
.cs-14 { margin:4px 0 0 18px;padding:0 }
.cs-15 { margin:10px 0 4px 0 }
.cs-16 { margin:14px 0 0 0 }
.cs-17 { text-align:left;background-color:#f8f9fa;border:1px solid #ddd;padding:20px;margin:15px 0 }
.cs-18 { width:100%;border-collapse:collapse;text-align:center }
.cs-19 { text-align:left;font-size:1.2em }
.cs-20 { width:100%;border-collapse:collapse }

/* Délais de révélation des lettres (nth-child, sans style inline). */
.animated-line strong .letter:nth-child(1) { animation-delay: 0ms }
.animated-line strong .letter:nth-child(2) { animation-delay: 40ms }
.animated-line strong .letter:nth-child(3) { animation-delay: 80ms }
.animated-line strong .letter:nth-child(4) { animation-delay: 120ms }
.animated-line strong .letter:nth-child(5) { animation-delay: 160ms }
.animated-line strong .letter:nth-child(6) { animation-delay: 200ms }
.animated-line strong .letter:nth-child(7) { animation-delay: 240ms }
.animated-line strong .letter:nth-child(8) { animation-delay: 280ms }
.animated-line strong .letter:nth-child(9) { animation-delay: 320ms }
.animated-line strong .letter:nth-child(10) { animation-delay: 360ms }
.animated-line strong .letter:nth-child(11) { animation-delay: 400ms }
.animated-line strong .letter:nth-child(12) { animation-delay: 440ms }
.animated-line strong .letter:nth-child(13) { animation-delay: 480ms }
.animated-line strong .letter:nth-child(14) { animation-delay: 520ms }
.animated-line strong .letter:nth-child(15) { animation-delay: 560ms }
.animated-line strong .letter:nth-child(16) { animation-delay: 600ms }
.animated-line strong .letter:nth-child(17) { animation-delay: 640ms }
.animated-line strong .letter:nth-child(18) { animation-delay: 680ms }
.animated-line strong .letter:nth-child(19) { animation-delay: 720ms }
.animated-line strong .letter:nth-child(20) { animation-delay: 760ms }
.animated-line strong .letter:nth-child(21) { animation-delay: 800ms }
.animated-line strong .letter:nth-child(22) { animation-delay: 840ms }
.animated-line strong .letter:nth-child(23) { animation-delay: 880ms }
.animated-line strong .letter:nth-child(24) { animation-delay: 920ms }
.animated-line strong .letter:nth-child(25) { animation-delay: 960ms }
.animated-line strong .letter:nth-child(26) { animation-delay: 1000ms }
.animated-line strong .letter:nth-child(27) { animation-delay: 1040ms }
.animated-line strong .letter:nth-child(28) { animation-delay: 1080ms }
