/* Template « Easy Soft Edit » - site de reference easysoftedit.org (30/10/2026)
   Couleurs : les 6 ronds du logo + le bleu du lettrage. Deux Templates : ese_accueil (pleine largeur) et ese_contenu (bandeau de titre + contenu). */
:root {
  --c1: #418BCA; --c2: #1a1a2e; --c3: #58C4E9; --gris: #5b6572; --rayon: 14px; --accent: #EA621A; --fond: #ffffff; --fond-doux: #f4f8fc; --ligne: #e1e8f0;
  --d1: #E5097F; --d2: #FF0000; --d3: #6EBA2E; --d4: #58C4E9; --d5: #EA621A; --d6: #752492;
  --container: 1180px;
}
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--c2); background: var(--fond); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; }
a { color: var(--c1); }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--c2); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
h1, h2, h3, .ese-bouton, .main-nav .menu-lien, .ese-offre .prix, .eyebrow { font-family: "Nunito", "Century Gothic", "Segoe UI", sans-serif; }
h1, h2, h3 { line-height: 1.2; }

/* motif des 6 ronds */
.page-dots, .footer-dots { display: flex; gap: 8px; }
.page-dots i, .footer-dots i { display: block; width: 14px; height: 14px; border-radius: 50%; }
.page-dots i:nth-child(1), .footer-dots i:nth-child(1) { background: var(--d1); }
.page-dots i:nth-child(2), .footer-dots i:nth-child(2) { background: var(--d2); }
.page-dots i:nth-child(3), .footer-dots i:nth-child(3) { background: var(--d3); }
.page-dots i:nth-child(4), .footer-dots i:nth-child(4) { background: var(--d4); }
.page-dots i:nth-child(5), .footer-dots i:nth-child(5) { background: var(--d5); }
.page-dots i:nth-child(6), .footer-dots i:nth-child(6) { background: var(--d6); }

/* en-tete */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand img { display: block; width: 210px; height: auto; }
.main-nav { flex: 1 1 0; display: flex; justify-content: flex-end; min-width: 0; }
.header-tools { display: flex; align-items: center; gap: 14px; }
.langues select { padding: 7px 10px; border: 1px solid var(--ligne); border-radius: 8px; background: #fff; color: var(--c2); font: inherit; font-size: 14px; }
.langues a { margin-right: 8px; font-size: 14px; }
.acces .compte-zone { color: var(--c1); }
.main-nav .menu { width: 100%; }
.main-nav .menu-niveau-1 { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 2px 6px; min-width: 0; }
.main-nav .menu-lien { position: relative; padding: 10px 12px; color: var(--c2); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; border-radius: 8px; transition: color .15s, background .15s; }
.main-nav .menu-lien:hover, .main-nav .menu-actif > .menu-lien, .main-nav .menu-item:focus-within > .menu-lien { color: var(--c1); background: var(--fond-doux); }
.main-nav .menu-parent > .menu-lien { padding-right: 6px; }
.main-nav .menu-sous-bouton { color: var(--c1); }
.main-nav .menu-niveau-2, .main-nav .menu-niveau-3 { top: calc(100% - 2px); min-width: 250px; padding: 8px; border: 1px solid var(--ligne); border-radius: 12px; background: #fff; box-shadow: 0 14px 34px rgba(26, 26, 46, .14); }
.main-nav .menu-niveau-2 .menu-lien, .main-nav .menu-niveau-3 .menu-lien { display: block; padding: 9px 14px; font-size: 14.5px; font-weight: 500; white-space: normal; }
.main-nav .menu-niveau-1 > .menu-item:last-child > .menu-niveau-2 { right: 0; left: auto; }
.main-nav .menu-burger { border-color: var(--ligne); color: var(--c2); border-radius: 8px; }

/* accueil : hero et sections */
.principal { min-height: 60vh; }
.pleine { width: 100%; }
.eyebrow { margin: 0 0 8px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c1); }
.accueil .hero-widget { position: relative; overflow: hidden; background-image: none; }
.accueil .hero-widget::before, .accueil .hero-widget::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.accueil .hero-widget::before { width: 380px; height: 380px; right: -90px; top: -110px; background: radial-gradient(circle at 30% 30%, rgba(229, 9, 127, .22), rgba(229, 9, 127, 0) 68%); }
.accueil .hero-widget::after { width: 440px; height: 440px; left: -140px; bottom: -190px; background: radial-gradient(circle at 60% 40%, rgba(88, 196, 233, .30), rgba(88, 196, 233, 0) 68%); }
.accueil .hero-widget .hero-title { text-shadow: none !important; }
.accueil .hero-widget .hero-title em { font-style: normal; background: linear-gradient(90deg, var(--d1), var(--d5) 40%, var(--d3) 70%, var(--d6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accueil .hero-widget .hero-subtitle { opacity: 1 !important; }
.accueil .hero-widget .hero-btn { border-radius: 999px !important; font-weight: 700; padding: 14px 28px !important; }
.hero-dots { display: flex; gap: 12px; justify-content: center; margin: 0 0 22px; }
.hero-dots i { display: block; width: 18px; height: 18px; border-radius: 50%; animation: pulse 2.6s ease-in-out infinite; }
.hero-dots i:nth-child(1) { background: var(--d1); } .hero-dots i:nth-child(2) { background: var(--d2); animation-delay: .2s; } .hero-dots i:nth-child(3) { background: var(--d3); animation-delay: .4s; }
.hero-dots i:nth-child(4) { background: var(--d4); animation-delay: .6s; } .hero-dots i:nth-child(5) { background: var(--d5); animation-delay: .8s; } .hero-dots i:nth-child(6) { background: var(--d6); animation-delay: 1s; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .75; } }

/* bandeau de titre des pages de contenu */
.page-hero { background: linear-gradient(180deg, var(--fond-doux), #fff); border-bottom: 1px solid var(--ligne); }
.page-hero-inner { padding: 54px 0 40px; }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.page-intro { max-width: 820px; color: var(--gris); font-size: 1.1rem; }
.page-intro p { margin: 0 0 8px; }
.page-dots { margin-top: 22px; }
.page-corps { padding: 28px 0 34px; }
.related-section { background: var(--fond-doux); padding: 44px 0 56px; border-top: 1px solid var(--ligne); }
.related-titre { margin: 0 0 18px; font-size: 1.5rem; }

/* pied de page */
.site-footer { background: var(--c2); color: #c9d2e0; margin-top: 0; position: relative; }
.footer-dots { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 0 36px; }
.footer-brand img { display: block; width: 170px; height: auto; background: none; padding: 0; margin: 0 0 14px; }
.footer-brand p { margin: 0; color: #aab6c8; font-size: .95rem; }
.site-footer h2 { margin: 0 0 12px; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.site-footer a { color: #c9d2e0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-column .menu-niveau-1 { display: block; }
.footer-column .menu-lien { display: block; padding: 3px 0; font-size: 15px; }
.footer-column .menu-niveau-2 { display: none !important; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.pied-liens-extra { display: block; margin-top: 8px; }
.pied-admin a, .pied-cookies a { color: #c9d2e0; }
.footer-tools .recherche-champ { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.footer-tools .recherche-bouton { background: var(--c1); color: #fff; border-color: var(--c1); }
.a-completer { background: #fff3cd; color: #7a5200; padding: 0 4px; border-radius: 3px; font-weight: 600; }

/* sections composees avec les widgets du Builder (respiration) */
.accueil .text-widget { padding-top: 60px; padding-bottom: 6px; }
.accueil .cardgrid-widget { margin-bottom: 30px; }
.accueil .two-col-widget { padding-top: 40px; padding-bottom: 40px; }
.ese-section { padding: 56px 20px; }
.ese-section.bas-court { padding-bottom: 14px; }
.ese-section.haut-court { padding-top: 14px; }
.ese-section.rangee-sect { padding-top: 30px; padding-bottom: 30px; }
.ese-section.fond { background: var(--fond-doux); }
.ese-section.sombre { background: var(--c2); color: #e9eef6; }
.ese-section.sombre h2, .ese-section.sombre h3 { color: #fff; }
.ese-in { max-width: 1100px; margin: 0 auto; }
.ese-in h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.ese-in .chapeau { max-width: 720px; color: var(--gris); margin: 0 0 28px; }
.ese-section.sombre .chapeau { color: #b9c4d6; }
.ese-centre { text-align: center; }
.ese-centre .chapeau { margin-left: auto; margin-right: auto; }
.ese-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.ese-carte { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px 22px; border-top: 5px solid var(--c1); }
.ese-carte h3 { margin: 0 0 8px; font-size: 1.15rem; }
.ese-carte p { margin: 0; color: var(--gris); }
.ese-carte.c1 { border-top-color: var(--d1); } .ese-carte.c2 { border-top-color: var(--d2); } .ese-carte.c3 { border-top-color: var(--d3); }
.ese-carte.c4 { border-top-color: var(--d4); } .ese-carte.c5 { border-top-color: var(--d5); } .ese-carte.c6 { border-top-color: var(--d6); }
.ese-carte .tag { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c1); }
.ese-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ese-versus > div { border-radius: var(--rayon); padding: 24px; border: 1px solid var(--ligne); background: #fff; }
.ese-versus .ese { border-color: var(--c1); box-shadow: 0 10px 30px rgba(65, 139, 202, .16); }
.ese-versus h3 { margin: 0 0 10px; }
.ese-versus ul { margin: 0; padding-left: 20px; } .ese-versus li { margin: 6px 0; }
.ese-tableau { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: .97rem; }
.ese-tableau th, .ese-tableau td { border: 1px solid var(--ligne); padding: 10px 12px; text-align: left; vertical-align: top; }
.ese-tableau thead th { background: var(--c2); color: #fff; }
.ese-tableau tbody tr:nth-child(even) { background: var(--fond-doux); }
.ese-tableau .total th, .ese-tableau .total td { font-weight: 700; background: #e7f1fb; }
.ese-prix { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.ese-offre { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 26px 24px; display: flex; flex-direction: column; }
.ese-offre.vedette { border: 2px solid var(--c1); box-shadow: 0 14px 36px rgba(65, 139, 202, .2); position: relative; }
.ese-offre h3 { margin: 0; font-size: 1.3rem; }
.ese-offre .prix { font-size: 2rem; font-weight: 800; margin: 10px 0 0; color: var(--c1); }
.ese-offre .prix small { font-size: .9rem; font-weight: 500; color: var(--gris); }
.ese-offre .creation { color: var(--gris); margin: 0 0 14px; }
.ese-offre ul { margin: 0 0 18px; padding-left: 20px; flex: 1; } .ese-offre li { margin: 6px 0; }
.ese-offre .badge { position: absolute; top: -13px; left: 20px; background: var(--c1); color: #fff; border-radius: 999px; padding: 3px 14px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ese-note { background: #fff8e6; border-left: 4px solid var(--accent); padding: 10px 14px; border-radius: 6px; color: #6b4a00; font-size: .95rem; margin: 16px 0; }
.ese-etapes { counter-reset: e; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ese-etapes li { counter-increment: e; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px 18px 16px 64px; position: relative; }
.ese-etapes li::before { content: counter(e); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--c1); color: #fff; font-weight: 700; display: grid; place-items: center; }
.ese-cta { text-align: center; padding: 64px 20px; background: linear-gradient(135deg, #eaf3fb, #f6eefa 55%, #fff1e8); }
.ese-cta h2 { margin: 0 0 10px; } .ese-cta p { max-width: 640px; margin: 0 auto 22px; color: var(--gris); }
.ese-bouton, a.ese-bouton { display: inline-block; background: var(--c1); color: #fff !important; border-radius: 999px; padding: 13px 28px; font-weight: 700; text-decoration: none !important; box-shadow: 0 8px 20px rgba(65, 139, 202, .3); transition: transform .15s, filter .15s; }
.ese-bouton:hover { transform: translateY(-2px); filter: brightness(1.07); }
.ese-bouton.clair { background: #fff; color: var(--c1) !important; border: 2px solid var(--c1); box-shadow: none; }

/* MODE BURGER : classe .nav-burger posee par js/main.js (burger visible, ou impose par .nav-force quand le menu ne tient pas).
   Plus de largeur fixe a regler dans ce fichier : le script mesure la place disponible. */
.site-header.nav-burger .header-inner { flex-wrap: nowrap; min-height: 68px; gap: 12px; }
.site-header.nav-burger .brand { flex: 0 0 auto; }
.site-header.nav-burger .brand img { width: 170px; }
.site-header.nav-burger .header-tools { margin-left: auto; }
.site-header.nav-burger .main-nav { order: 3; flex: 0 0 auto; position: static; }
.site-header.nav-burger .header-inner, .site-header.nav-burger .main-nav .menu { position: static; }
/* le menu ouvert se deploie sous l'en-tete, sur toute la largeur (le module Menu impose ses regles par identifiant : !important) */
.site-header.nav-burger .main-nav .menu-ouvert .menu-liste.menu-niveau-1 { position: absolute !important; left: 0 !important; right: 0 !important; top: 100% !important; z-index: 120; padding: 6px max(20px, calc((100% - var(--container)) / 2)) 16px; background: #fff; border-bottom: 1px solid var(--ligne); box-shadow: 0 18px 30px rgba(26, 26, 46, .14); max-height: calc(100vh - 76px); overflow-y: auto; text-align: left; align-items: stretch !important; }
.site-header.nav-burger .main-nav .menu-niveau-1 > .menu-item { text-align: left; border-bottom: 1px solid var(--ligne); }
.site-header.nav-burger .main-nav .menu-lien { display: inline-block; padding: 11px 2px; font-size: 16px; }
.site-header.nav-burger .main-nav .menu-niveau-2, .site-header.nav-burger .main-nav .menu-niveau-3 { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 6px 14px; background: transparent; }
/* burger IMPOSE par le script : reproduit ce que le module Menu fait lui-meme sous sa largeur de rupture */
.site-header.nav-force .main-nav .menu-burger { display: flex !important; margin-left: auto; }
.site-header.nav-force .main-nav .menu-liste.menu-niveau-1 { display: none; flex-direction: column; }
.site-header.nav-force .main-nav .menu-ouvert .menu-liste.menu-niveau-1 { display: flex !important; }
.site-header.nav-force .main-nav .menu-item .menu-liste.menu-niveau-2, .site-header.nav-force .main-nav .menu-item .menu-liste.menu-niveau-3, .site-header.nav-force .main-nav .menu-item .menu-liste.menu-niveau-4 { display: none; position: static; }
.site-header.nav-force .main-nav .menu-item.menu-sous-ouvert > .menu-liste { display: block; }
.site-header.nav-force .main-nav .menu-sous-bouton { display: inline-block; }
@media (max-width: 520px) {
  .brand img { width: 140px; }
  .header-tools { gap: 8px; }
}
@media (max-width: 1020px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .ese-hero-in { grid-template-columns: 1fr; gap: 34px; }
  .ese-rangee { grid-template-columns: 1fr; gap: 26px; }
  .ese-rangee.inverse .ese-rangee-texte { order: 0; }
}
@media (max-width: 860px) {
  .ese-versus { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .accueil .two-col-widget { flex-wrap: wrap; }
  .ese-hero { padding: 36px 20px 44px; }
}
@media (max-width: 480px) {
  .pleine #maincontentarticle .counters-widget { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .pleine #maincontentarticle .counters-widget .counter-item { padding: 20px 10px !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } .hero-dots i { animation: none; } }

/* Accueil : hero en deux colonnes (texte + capture du Builder) */
.ese-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #f4f8fc 0%, #ffffff 55%, #fdf2f8 100%); padding: 56px 20px 64px; }
.ese-hero::before, .ese-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.ese-hero::before { width: 380px; height: 380px; right: -90px; top: -110px; background: radial-gradient(circle at 30% 30%, rgba(229, 9, 127, .20), rgba(229, 9, 127, 0) 68%); }
.ese-hero::after { width: 440px; height: 440px; left: -140px; bottom: -190px; background: radial-gradient(circle at 60% 40%, rgba(88, 196, 233, .28), rgba(88, 196, 233, 0) 68%); }
.ese-hero-in { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
.ese-hero h1 { margin: 0 0 16px; font-size: clamp(2rem, 3.9vw, 3.2rem); font-weight: 800; line-height: 1.12; }
.ese-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--d1), var(--d5) 40%, var(--d3) 70%, var(--d6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ese-hero-sous { margin: 0 0 22px; color: var(--gris); font-size: 1.1rem; }
.ese-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.ese-hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--gris); font-size: .93rem; }
.ese-hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--d3); }
.ese-hero-points li:nth-child(2)::before { background: var(--d4); } .ese-hero-points li:nth-child(3)::before { background: var(--d5); }
.ese-hero .hero-dots { justify-content: flex-start; margin: 0 0 18px; }

/* Capture d'ecran dans un cadre de navigateur */
.ese-cadre { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--ligne); box-shadow: 0 24px 60px rgba(26, 26, 46, .18), 0 4px 12px rgba(26, 26, 46, .08); }
.ese-cadre-barre { display: flex; gap: 6px; padding: 10px 12px; background: #eef2f7; border-bottom: 1px solid var(--ligne); }
.ese-cadre-barre span { width: 10px; height: 10px; border-radius: 50%; background: var(--d1); }
.ese-cadre-barre span:nth-child(2) { background: var(--d5); } .ese-cadre-barre span:nth-child(3) { background: var(--d3); }
.ese-cadre img { display: block; width: 100%; height: auto; }
.ese-cadre-large { max-width: 980px; margin: 0 auto; padding-bottom: 26px; }
.ese-section.bas-court .chapeau { margin-bottom: 6px; }

/* « Le CMS en action » : texte et capture, en alternance */
.ese-rangee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.ese-rangee.inverse .ese-rangee-texte { order: 2; }
.ese-rangee h3 { margin: 0 0 10px; font-size: 1.55rem; }
.ese-rangee p { color: var(--gris); }
.ese-section.fond .ese-cadre { box-shadow: 0 18px 44px rgba(26, 26, 46, .14); }

/* Adaptation aux petits ecrans pour le hero et les rangees (placee APRES les regles de base ci-dessus) */
@media (max-width: 980px) {
  .ese-hero-in { grid-template-columns: 1fr; gap: 34px; }
  .ese-rangee { grid-template-columns: 1fr; gap: 26px; }
  .ese-rangee.inverse .ese-rangee-texte { order: 0; }
}
@media (max-width: 860px) {
  .ese-hero { padding: 36px 20px 44px; }
  .ese-hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}
@media (max-width: 480px) {
  .pleine #maincontentarticle .counters-widget { margin-left: 16px !important; margin-right: 16px !important; }
}

/* ---- Styles des modules et finitions (widgets du Builder, recherche, a la une, cookies...) ---- */
/* Blocs reutilisables dans les articles (widgets HTML) */
.bloc { padding: 56px 20px; }
.bloc.alt { background: #fff; }
.bloc-in { max-width: 1100px; margin: 0 auto; }
.bloc h2 { font-size: 1.9rem; color: var(--c2); margin: 0 0 8px; text-align: center; }
.bloc .chapeau { text-align: center; color: var(--gris); max-width: 680px; margin: 0 auto 30px; }
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 10px 0; }
.carte { background: #fff; border-radius: var(--rayon); padding: 24px 22px; box-shadow: 0 4px 18px rgba(20, 61, 122, .09); border-top: 4px solid var(--c1); transition: transform .2s, box-shadow .2s; }
.carte:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(20, 61, 122, .16); }
.carte .pastille { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--c1), var(--c3)); display: grid; place-items: center; margin-bottom: 12px; }
.carte .pastille svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carte h3 { margin: 0 0 6px; color: var(--c2); font-size: 1.15rem; }
.carte p { margin: 0; color: var(--gris); }
.etapes { counter-reset: e; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.etapes li { counter-increment: e; background: #fff; border-radius: var(--rayon); padding: 16px 18px 16px 64px; position: relative; box-shadow: 0 2px 10px rgba(20, 61, 122, .08); }
.etapes li::before { content: counter(e); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--c1); color: #fff; font-weight: 700; display: grid; place-items: center; }
.etiquette { display: inline-block; background: #e8f0fd; color: var(--c2); border-radius: 999px; padding: 2px 12px; font-size: .85rem; font-weight: 600; }
.note-exemple { background: #fff8e6; border-left: 4px solid var(--accent); padding: 10px 14px; border-radius: 6px; color: #6b4a00; font-size: .95rem; }

/* ---- Finitions (13/10/2026) : marges des widgets du Builder, liens et boutons ---- */
:root { --lien: #0a58ca; --lien-survol: #c2410c; }

/* Liens du contenu : couleur franche, gras leger, soulignement doux qui se renforce au survol (les liens avec une classe : boutons, menus... gardent le leur) */
.principal a:not([class]) { color: var(--lien); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(10, 88, 202, .35); text-underline-offset: 3px; text-decoration-thickness: 2px; transition: color .15s, text-decoration-color .15s; }
.principal a:not([class]):hover, .principal a:not([class]):focus-visible { color: var(--lien-survol); text-decoration-color: currentColor; }

/* Widgets du Builder (compteurs, temoignages, FAQ, formulaires, modules...) : colonne centree avec marges laterales, jamais colles au bord */
.pleine #maincontentarticle .faq-widget, .pleine #maincontentarticle .tst-outer, .pleine #maincontentarticle .button-widget,
.pleine #maincontentarticle .form-widget, .pleine #maincontentarticle .cms-plugin-widget { max-width: 1100px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
.pleine #maincontentarticle .counters-widget { max-width: 1100px; margin: 28px auto 0; border-radius: var(--rayon); }
#maincontentarticle .faq-widget .faq-title { color: var(--c2); font-size: 1.9rem; text-align: center; margin: 44px 0 24px; line-height: 1.25; }
#maincontentarticle .faq-widget .faq-item { margin-bottom: 10px; }
#maincontentarticle .tst-outer { margin-top: 36px; margin-bottom: 14px; }

/* Bouton du Builder : espace au-dessus et en dessous, survol net */
#maincontentarticle .button-widget { margin: 28px 0 14px; }
.pleine #maincontentarticle .button-widget { margin-top: 36px; margin-bottom: 36px; }
#maincontentarticle .button-widget a { font-weight: 600; box-shadow: 0 2px 8px rgba(20, 61, 122, .18); transition: filter .15s, transform .15s, box-shadow .15s; }
#maincontentarticle .button-widget a:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20, 61, 122, .25); }

/* Listes numerotees des etapes et blocs de texte : respiration en fin de bloc */
.lecture .etapes { margin-bottom: 8px; }

.a-completer { background: #fff3cd; color: #7a5200; padding: 0 4px; border-radius: 3px; font-weight: 600; }
.table-cookies { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: .95em; }
.table-cookies th, .table-cookies td { border: 1px solid #d5dce6; padding: 8px 10px; text-align: left; vertical-align: top; }
.table-cookies th { background: #eef3fb; }
@media (max-width: 720px) { .table-cookies, .table-cookies thead, .table-cookies tbody, .table-cookies tr, .table-cookies th, .table-cookies td { display: block; } .table-cookies thead { display: none; } .table-cookies tr { margin-bottom: 12px; } }


/* Marge laterale des widgets pleine largeur (23/10/2026) : la galerie touchait le bord de la fenetre */
.pleine #maincontentarticle > .gallery-widget { box-sizing: border-box; max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

/* Marge laterale des autres widgets en pleine largeur (23/10/2026) : jamais colles au bord de la fenetre. Le hero, les blocs HTML (qui ont leur propre
   marge), l'espaceur et le separateur restent en pleine largeur ; faq, boutons, formulaires, compteurs et galerie ont deja leur regle. */
.pleine #maincontentarticle > .text-widget,
.pleine #maincontentarticle > .image-widget,
.pleine #maincontentarticle > .two-col-widget,
.pleine #maincontentarticle > .three-col-widget,
.pleine #maincontentarticle > .table-widget,
.pleine #maincontentarticle > .accordion-widget,
.pleine #maincontentarticle > .tabs-widget,
.pleine #maincontentarticle > .quote-widget,
.pleine #maincontentarticle > .pricing-widget,
.pleine #maincontentarticle > .timeline-widget,
.pleine #maincontentarticle > .cardgrid-widget,
.pleine #maincontentarticle > .carousel-widget,
.pleine #maincontentarticle > .map-widget,
.pleine #maincontentarticle > .gmap-widget,
.pleine #maincontentarticle > .calendar-widget,
.pleine #maincontentarticle > .countdown-widget,
.pleine #maincontentarticle > .chart-widget,
.pleine #maincontentarticle > .stopwatch-widget,
.pleine #maincontentarticle > .testimonials-widget,
.pleine #maincontentarticle > .nav-manual-widget,
.pleine #maincontentarticle > .flexbox-widget,
.pleine #maincontentarticle > .card-widget,
.pleine #maincontentarticle > .video-widget,
.pleine #maincontentarticle > .esb-widget-audio { box-sizing: border-box; max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

/* Modules de contenu (25/10/2026) : recherche, a la une, liste d'articles, categories, resultats, evenement, lien d'administration */
.recherche { display: flex; gap: 6px; align-items: center; margin: 0; }
.recherche-champ { font: inherit; font-size: .9rem; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12); color: #fff; min-width: 150px; }
.recherche-champ::placeholder { color: rgba(255, 255, 255, .75); }
.recherche-bouton { font: inherit; font-size: .88rem; padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .55); background: #fff; color: #1f3b73; cursor: pointer; }
main .recherche-champ { color: #1f2933; background: #fff; border-color: #b8c2d0; min-width: 240px; }
main .recherche-champ::placeholder { color: #6b7785; }
main .recherche-bouton { background: #1f4e9c; color: #fff; border-color: #1f4e9c; }
.a-la-une, .liste-articles, .categories, .resultats { max-width: 1100px; margin: 16px auto; padding: 0 20px; box-sizing: border-box; }
.a-la-une { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.une-item, .liste-item, .resultat-item { border: 1px solid #d5dce6; border-radius: 12px; padding: 14px 16px; background: #fff; }
.une-titre, .liste-titre, .resultat-titre { margin: 0 0 6px; font-size: 1.1rem; }
.une-chapo, .liste-chapo, .resultat-extrait { color: #52606d; }
.une-photo img, .liste-photo img { max-width: 100%; border-radius: 8px; }
.liste-item, .resultat-item { margin-bottom: 12px; }
.categories { display: flex; flex-wrap: wrap; gap: 8px; }
.categorie-lien { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid #1f4e9c; color: #1f4e9c; text-decoration: none; }
.categorie-lien[aria-current="true"] { background: #1f4e9c; color: #fff; }
.resultats-info { max-width: 1100px; margin: 10px auto; padding: 0 20px; box-sizing: border-box; color: #52606d; }
.resultats mark, .resultat-titre mark { background: #fff3a8; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 16px 0; }
.evenement { max-width: 1100px; margin: 10px auto; padding: 10px 20px; box-sizing: border-box; background: #eef3fb; border-radius: 10px; }
.evenement p { margin: 4px 0; }

@media (max-width: 640px) { .recherche-champ { min-width: 0; width: 100%; } .recherche { width: 100%; } }

/* ---- Finitions du 30/10/2026 : marges des textes simples et liens « surligneur » ---------------------------------------------------------------------------- */

/* 1. Les blocs « HTML » qui contiennent du texte simple (paragraphes, titres, listes, tableaux...) ne touchent plus le bord de la fenetre :
      colonne de lecture centree (940 px au plus), avec au moins 20 px de marge a gauche et a droite. Les bandeaux pleine largeur
      (<section> avec leur propre fond) ne sont pas touches. Pour changer la largeur de la colonne, modifiez les deux « 940px ». */
.pleine #maincontentarticle .html-widget > :is(p, h1, h2, h3, h4, h5, h6, ul, ol, dl, table, blockquote, pre, hr, details, figure) {
  margin-left: max(20px, calc((100% - 940px) / 2)) !important;
  margin-right: max(20px, calc((100% - 940px) / 2)) !important;   /* !important : certains paragraphes portent un « margin-left:0 » en ligne dans l'article */
}

/* 2. Liens du contenu : texte bleu fonce en gras, trait epais bleu clair derriere les lettres (comme un surligneur) ; au survol, le trait se renforce. */
.principal a:not([class]) {
  color: #0b4f8a;
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-color: rgba(88, 196, 233, .5);
  text-decoration-thickness: .5em;
  text-underline-offset: -.3em;
  text-decoration-skip-ink: none;
  transition: color .15s, text-decoration-color .15s;
}
.principal a:not([class]):hover,
.principal a:not([class]):focus-visible {
  color: #1a1a2e;
  text-decoration-color: rgba(88, 196, 233, .95);
}
.principal a:not([class]):focus-visible { outline: 2px solid #418BCA; outline-offset: 2px; border-radius: 2px; }

/* Titres de cartes (a la une, listes d'articles, resultats de recherche) : texte sombre sans surligneur, souligne au survol seulement. */
.principal :is(.une-titre, .liste-titre, .resultat-titre) a:not([class]) { color: #1a1a2e; text-decoration-line: none; }
.principal :is(.une-titre, .liste-titre, .resultat-titre) a:not([class]):hover,
.principal :is(.une-titre, .liste-titre, .resultat-titre) a:not([class]):focus-visible { color: #418BCA; text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: currentColor; }

/* ---- Finitions du 31/10/2026 : drapeaux du selecteur de langue, fenetre modale des exemples ---------------------------------------------------------------- */

/* Drapeaux : sans JavaScript (liens du module langues) comme avec (liste deroulante). Les images sont dans le dossier images/flags/ du Template. */
.lang-flag, .langues nav a[hreflang]::before { background-size: cover; background-position: center; background-repeat: no-repeat; }
.lang-flag { display: inline-block; flex: none; width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(26, 26, 46, .22); }
.lang-flag-vide { display: none; }
.langues nav a[hreflang]::before { content: ""; display: inline-block; width: 18px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(26, 26, 46, .22); }
.lang-flag[data-l="fr"], .langues nav a[hreflang="fr"]::before { background-image: url(../images/flags/fr.png); }
.lang-flag[data-l="en"], .langues nav a[hreflang="en"]::before { background-image: url(../images/flags/gb.png); }
.lang-flag[data-l="de"], .langues nav a[hreflang="de"]::before { background-image: url(../images/flags/de.png); }
.lang-flag[data-l="it"], .langues nav a[hreflang="it"]::before { background-image: url(../images/flags/it.png); }
.lang-flag[data-l="es"], .langues nav a[hreflang="es"]::before { background-image: url(../images/flags/es.png); }
.lang-flag[data-l="pt"], .langues nav a[hreflang="pt"]::before { background-image: url(../images/flags/pt.png); }

.lang-select { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--ligne); border-radius: 8px; background: #fff; color: var(--c2); font: inherit; font-size: 14px; line-height: 1.2; cursor: pointer; }
.lang-btn:hover, .lang-select.ouvert .lang-btn { border-color: var(--c1); }
.lang-btn:focus-visible, .lang-liste a:focus-visible { outline: 2px solid var(--c1); outline-offset: 2px; }
.lang-fleche { width: 7px; height: 7px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang-select.ouvert .lang-fleche { transform: translateY(1px) rotate(-135deg); }
.lang-liste { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 100%; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--ligne); border-radius: 10px; box-shadow: 0 14px 34px rgba(26, 26, 46, .16); }
.lang-liste[hidden] { display: none; }
.lang-liste li { margin: 0; }
.lang-liste a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; color: var(--c2); font-size: 14px; text-decoration: none; white-space: nowrap; }
.lang-liste a:hover, .lang-liste a.actuelle { background: var(--fond-doux); }
.lang-liste a.actuelle { font-weight: 700; }

/* Fenetre modale (exemples de widgets) : l'article est charge dans un cadre ; dans ce cadre, seul le contenu est affiche. */
html.modale-ouverte { overflow: hidden; }
.ese-modale { position: fixed; inset: 0; z-index: 2147483600; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(26, 26, 46, .62); }
.ese-modale-boite { display: flex; flex-direction: column; width: min(1040px, 100%); height: min(88vh, 900px); background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.ese-modale-haut { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--ligne); background: var(--fond-doux); }
.ese-modale-titre { flex: 1; margin: 0; font-weight: 800; font-size: 1.05rem; line-height: 1.3; color: var(--c2); }
.ese-modale-page { font-size: .88rem; font-weight: 600; color: var(--c1); white-space: nowrap; }
.ese-modale-croix { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--c2); font-size: 28px; line-height: 1; cursor: pointer; }
.ese-modale-croix:hover, .ese-modale-croix:focus-visible { background: #e8eef6; outline: 2px solid var(--c1); outline-offset: -2px; }
.ese-modale-cadre { flex: 1; width: 100%; border: 0; background: #fff; }
@media (max-width: 640px) { .ese-modale { padding: 0; } .ese-modale-boite { height: 100%; border-radius: 0; } .ese-modale-page { display: none; } }

/* Dans le cadre de la fenetre modale (le Template pose html.modale) : on ne garde que le contenu de l'article. */
html.modale body > *:not(main) { display: none !important; }
html.modale main .page-hero, html.modale main .related-section, html.modale main .evenement { display: none !important; }
html.modale .page-corps { padding-top: 6px; }
html.modale body { background: #fff; }
html.modale .ese-a11y, html.modale .ese-er, html.modale .ese-ck { display: none !important; }

/* Template « Alterdia » (02/11/2026) : ajoute au socle du Template Easy Soft Edit (en-tete, menu, burger, pied, widgets) l'identite d'Alterdia.
   Charge APRES style-base.css, les styles des modules et style-fin.css : ce fichier gagne a specificite egale. */
:root {
  --c1: #2f74b5;            /* actions et liens : contraste 4,9 sur blanc */
  --c1-logo: #428bca;       /* bleu du lettrage du logo */
  --c2: #0f2a47;            /* marine : titres, fonds sombres */
  --c3: #58c4e9;
  --gris: #4f6174;
  --fond-doux: #eef5fb;
  --ligne: #dfe9f3;
}
body { font-family: "Nunito", "Segoe UI", -apple-system, Roboto, Arial, sans-serif; color: #1d2b3a; }
h1, h2, h3 { color: var(--c2); font-weight: 800; }
.brand img { width: 200px; }
.site-header .header-inner.container { width: min(1360px, calc(100% - 40px)); }
.site-header { border-bottom-color: var(--ligne); }
.header-tools .alt-cta { padding: 9px 18px; font-size: 15px; white-space: nowrap; box-shadow: none; }
.site-header.nav-burger .header-tools .alt-cta, .site-header.nav-force .header-tools .alt-cta { display: none; }
@media (max-width: 1100px) { .header-tools .alt-cta { display: none; } }
.site-footer { background: #0a1e34; }
.footer-brand img { width: 190px; }
.footer-brand .propulse { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-size: .9rem; }
.footer-brand .propulse a { color: #fff; font-weight: 700; }
.footer-tools-bas { margin-top: 18px; }
.page-hero { background: linear-gradient(135deg, #f4f9fe 0%, #e3effa 100%); }
.page-hero .eyebrow { color: var(--c1); }
.ese-bouton, a.ese-bouton { background: var(--c1); box-shadow: 0 8px 20px rgba(47, 116, 181, .28); }
.ese-bouton:hover { background: var(--c2); filter: none; }
.ese-bouton.clair { background: #fff; color: var(--c1) !important; border-color: var(--c1); }
.ese-bouton.blanc { background: #fff; color: var(--c2) !important; border-color: #fff; box-shadow: none; }
.ese-cta { background: linear-gradient(135deg, #2f74b5 0%, #1d4f86 100%); color: #fff; }
.ese-cta h2 { color: #fff; } .ese-cta p { color: #dcebf8; }
.ese-cta .ese-bouton { background: #fff; color: var(--c2) !important; border: 2px solid #fff; box-shadow: none; }
.ese-cta .ese-bouton.clair { background: transparent; color: #fff !important; border-color: #fff; }
.ese-note { background: #eef5fb; border-left-color: var(--c1); color: #26384b; }
.ese-carte { border-top-color: var(--c1); }
.ese-carte .plus { display: inline-block; margin-top: 12px; font-weight: 800; text-decoration: none; }
.ese-carte .plus::after { content: " \2192"; }
.ese-offre.vedette { border-color: var(--c1); }
.ese-tableau thead th { background: var(--c2); }
.a-completer { background: #fff3b8; color: #5b4300; }

/* ---------------------------------------------------------------- Accueil ---------------------------------------------------------------- */
.alt-hero { background: linear-gradient(135deg, #f4f9fe 0%, #e3effa 100%); overflow: hidden; }
.alt-hero-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding: 68px 24px 76px; }
.alt-pastilles { display: flex; gap: 7px; margin-bottom: 18px; }
.alt-pastilles i { width: 14px; height: 14px; border-radius: 50%; display: block; }
.alt-pastilles i:nth-child(1), .alt-rubans i:nth-child(1) { background: #e5097f; } .alt-pastilles i:nth-child(2), .alt-rubans i:nth-child(2) { background: #ff0000; }
.alt-pastilles i:nth-child(3), .alt-rubans i:nth-child(3) { background: #6eba2e; } .alt-pastilles i:nth-child(4), .alt-rubans i:nth-child(4) { background: #58c4e9; }
.alt-pastilles i:nth-child(5), .alt-rubans i:nth-child(5) { background: #ea621a; } .alt-pastilles i:nth-child(6), .alt-rubans i:nth-child(6) { background: #752492; }
.alt-etiquette { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c1); margin-bottom: 10px; }
.alt-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.1; margin: 0 0 18px; font-weight: 900; letter-spacing: -.02em; }
.alt-hero h1 em { font-style: normal; color: var(--c1-logo); }
.alt-hero .alt-chapeau { font-size: 1.2rem; color: #34475b; margin: 0 0 28px; max-width: 34em; }
.alt-cta-ligne { display: flex; gap: 14px; flex-wrap: wrap; }
.alt-confiance { display: flex; gap: 8px 26px; margin: 30px 0 0; padding: 0; list-style: none; flex-wrap: wrap; font-size: .92rem; font-weight: 700; color: var(--gris); }
.alt-confiance li::before { content: "\2713"; color: #4d9a1a; font-weight: 900; margin-right: 7px; }
.alt-visuel { position: relative; min-height: 340px; }
.alt-fenetre { background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 42, 71, .22); overflow: hidden; border: 1px solid #dbe6f1; }
.alt-fenetre .barre { background: #eaf1f8; height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.alt-fenetre .barre i { width: 10px; height: 10px; border-radius: 50%; background: #c5d4e3; }
.alt-fenetre .barre span { margin-left: 12px; font-size: 12px; color: var(--gris); background: #fff; padding: 2px 14px; border-radius: 99px; }
.alt-fenetre .corps { padding: 22px; display: grid; gap: 14px; }
.alt-fenetre .ligne { height: 12px; border-radius: 6px; background: #e3ecf5; }
.alt-fenetre .ligne.t { height: 20px; width: 58%; background: var(--c2); } .alt-fenetre .ligne.b { width: 82%; } .alt-fenetre .ligne.c { width: 66%; }
.alt-fenetre .tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.alt-fenetre .tuiles div { height: 70px; border-radius: 10px; background: var(--fond-doux); border: 1px solid #dbe6f1; position: relative; }
.alt-fenetre .tuiles div::after { content: ""; position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; }
.alt-fenetre .tuiles div:nth-child(1)::after { background: #e5097f; } .alt-fenetre .tuiles div:nth-child(2)::after { background: #58c4e9; } .alt-fenetre .tuiles div:nth-child(3)::after { background: #6eba2e; }
.alt-flot { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 14px 34px rgba(15, 42, 71, .2); padding: 12px 16px; font-size: 14px; font-weight: 800; color: var(--c2); display: flex; gap: 12px; align-items: center; border: 1px solid #e3ebf3; }
.alt-flot small { display: block; font-weight: 600; color: var(--gris); font-size: 12px; }
.alt-flot .pt { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 17px; flex: none; }
.alt-flot.a { left: -22px; bottom: 34px; } .alt-flot.a .pt { background: #4d9a1a; }
.alt-flot.b { right: -8px; top: 52px; } .alt-flot.b .pt { background: #ea621a; }

.alt-chiffres { background: var(--c2); color: #fff; }
.alt-chiffres-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 24px; text-align: center; }
.alt-chiffres b { display: block; font-size: 2.1rem; font-weight: 900; line-height: 1.1; }
.alt-chiffres span { font-size: .9rem; color: #b9cde2; font-weight: 600; }

.alt-section { padding: 74px 20px; }
.alt-section.ciel { background: var(--fond-doux); }
.alt-in { max-width: 1180px; margin: 0 auto; }
.alt-centre { text-align: center; }
.alt-in h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin: 0 0 12px; font-weight: 900; }
.alt-sous { color: var(--gris); font-size: 1.1rem; max-width: 42em; margin: 0 0 38px; }
.alt-centre .alt-sous { margin-left: auto; margin-right: auto; }
.alt-grille { display: grid; gap: 22px; }
.alt-g4 { grid-template-columns: repeat(4, 1fr); } .alt-g3 { grid-template-columns: repeat(3, 1fr); } .alt-g2 { grid-template-columns: repeat(2, 1fr); }
.alt-carte { background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 26px 24px 24px; text-align: left; transition: transform .2s, box-shadow .2s; }
.alt-carte:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15, 42, 71, .12); }
.alt-carte .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; }
.alt-carte .ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.alt-carte h3 { margin: 0 0 8px; font-size: 1.3rem; }
.alt-carte p { margin: 0 0 14px; color: #3d4f63; font-size: 1rem; }
.alt-carte a.plus { font-weight: 800; text-decoration: none; font-size: .95rem; }
.alt-carte a.plus::after { content: " \2192"; }
.alt-carte.c1 .ico { background: #3aa6cf; } .alt-carte.c2 .ico { background: #e5097f; } .alt-carte.c3 .ico { background: #752492; } .alt-carte.c4 .ico { background: #ea621a; } .alt-carte.c5 .ico { background: #4d9a1a; }

.alt-moteur { background: var(--c2); color: #fff; position: relative; overflow: hidden; }
.alt-moteur::before { content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(66, 139, 202, .45), transparent 68%); pointer-events: none; }
.alt-moteur .alt-in { position: relative; }
.alt-moteur h2 { color: #fff; } .alt-moteur .alt-sous { color: #c4d6e8; }
.alt-moteur .alt-logo-ese { display: inline-block; background: #fff; border-radius: 12px; padding: 7px 12px; margin-bottom: 14px; }
.alt-moteur .alt-logo-ese img { height: 38px; width: auto; display: block; }
.alt-atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 32px; }
.alt-atout { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 22px; }
.alt-atout h3 { margin: 0 0 6px; font-size: 1.15rem; color: #fff; display: flex; align-items: center; gap: 10px; }
.alt-atout h3 i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.alt-atout p { margin: 0; color: #cfe0f0; font-size: .97rem; }

.alt-etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: e; text-align: left; }
.alt-etape { position: relative; padding-top: 58px; }
.alt-etape::before { counter-increment: e; content: counter(e); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--c1); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 20px; }
.alt-etape::after { content: ""; position: absolute; top: 21px; left: 56px; right: -22px; height: 2px; background: repeating-linear-gradient(90deg, #b9cde2 0 6px, transparent 6px 12px); }
.alt-etape:last-child::after { display: none; }
.alt-etape h3 { margin: 0 0 6px; font-size: 1.15rem; } .alt-etape p { margin: 0; font-size: .97rem; color: #3d4f63; }

.alt-liste-coches { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; text-align: left; }
.alt-liste-coches li { padding-left: 34px; position: relative; font-size: 1.02rem; }
.alt-liste-coches li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: #4d9a1a; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.alt-heb { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; text-align: left; }
.alt-panneau { background: #fff; border: 1px solid var(--ligne); border-radius: 18px; padding: 28px; box-shadow: 0 16px 40px rgba(15, 42, 71, .1); }
.alt-panneau .etat { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--c2); margin-bottom: 14px; }
.alt-panneau .etat i { width: 12px; height: 12px; border-radius: 50%; background: #6eba2e; box-shadow: 0 0 0 5px rgba(110, 186, 46, .2); }
.alt-panneau .ligne-etat { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid #e6eef6; font-size: .95rem; }
.alt-panneau .ligne-etat b { color: var(--c2); } .alt-panneau .ligne-etat span { color: #3f8a14; font-weight: 800; }

/* References : texte generique ; les logos se deposent dans le bloc .logos-clients (vide = invisible) */
.logos-clients { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 44px; margin: 34px auto 0; max-width: 1100px; }
.logos-clients:empty { display: none; }
.logos-clients img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logos-clients img:hover { filter: none; opacity: 1; }

/* Pages de contenu */
.alt-corps { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 44px; align-items: start; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.alt-corps > .alt-principal { min-width: 0; }
.alt-lateral { position: sticky; top: 100px; display: grid; gap: 18px; padding-top: 44px; }
.alt-boite { background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 22px; box-shadow: 0 8px 24px rgba(15, 42, 71, .06); }
.alt-boite h2 { margin: 0 0 8px; font-size: 1.15rem; } .alt-boite p { margin: 0 0 14px; font-size: .97rem; color: #3d4f63; }
.alt-boite.sombre { background: var(--c2); border-color: var(--c2); } .alt-boite.sombre h2 { color: #fff; } .alt-boite.sombre p { color: #c4d6e8; }
.alt-boite.sombre .ese-bouton { background: #fff; color: var(--c2) !important; box-shadow: none; }
.alt-boite .alt-logo-ese { display: block; margin: 0 0 12px; } .alt-boite .alt-logo-ese img { height: 30px; width: auto; }
.alt-boite a.lien { font-weight: 800; }
.alt-principal .ese-section { padding-left: 0; padding-right: 0; }
.alt-encart { background: var(--fond-doux); border-left: 5px solid var(--c1); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 22px 0; }
.alt-principal .ese-in { max-width: none; }
.alt-principal .ese-in h2 { font-size: 1.7rem; margin-top: 30px; }
.alt-principal .ese-in > h2:first-child { margin-top: 0; }
.alt-principal ul { padding-left: 22px; } .alt-principal li { margin-bottom: 6px; }
@media (max-width: 1000px) {
  .alt-hero-in, .alt-heb, .alt-corps { grid-template-columns: 1fr; }
  .alt-g4, .alt-etapes, .alt-chiffres-in { grid-template-columns: repeat(2, 1fr); }
  .alt-g3, .alt-atouts { grid-template-columns: 1fr; }
  .alt-lateral { position: static; padding-top: 0; }
  .alt-flot.a { left: 8px; } .alt-flot.b { right: 8px; }
}
@media (max-width: 560px) {
  .alt-g4, .alt-g2, .alt-etapes, .alt-chiffres-in { grid-template-columns: 1fr; }
  .alt-etape::after { display: none; }
  .alt-hero-in { padding-top: 40px; padding-bottom: 48px; }
  .alt-section { padding: 52px 18px; }
}
