/* Clic & Commune 1.0.2 — composition du PDF, socle des pages internes Abril. */
:root {
  --ccm-ink: #0a3452; --ccm-accent: #32afc8; --ccm-link: #087c95;
  --ccm-pale: #e0f3f8; --ccm-surface: #f2f5f6;
  --couleur-noir: #0a3452; --couleur-blanc: #fff;
  --couleur-principale: #0a3452; --couleur-secondaire: #087c95; --autre-couleur-secondaire: #e0f3f8;
  --gris-fonce: #233e51; --gris-clair: #e1e8ed; --gris-tres-clair: #f2f5f6;
  --police: 'Nunito', sans-serif; --police-secondaire: 'Nunito', sans-serif;
  --taille-texte: 1rem; --taille-titre: 2.5rem;
  --reguliere: 400; --demi-gras: 700; --gras: 800; --interligne: 1.5;
  --couleur-marker-cluster-small: #32afc899; --couleur-marker-cluster-small-div: #32afc8;
  --couleur-marker-cluster-medium: #087c9599; --couleur-marker-cluster-medium-div: #087c95;
  --couleur-marker-cluster-large: #0a345299; --couleur-marker-cluster-large-div: #0a3452;
}
body.ccm-site { color: var(--ccm-ink); background: #fff; margin: 0; line-height: 1.5; }
.ccm-site .screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ccm-site :is(a,button,input):focus-visible { outline: 3px solid #00738e; outline-offset: 4px; }
.ccm-site .ccm-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.ccm-site [hidden] { display: none !important; }
.ccm-container { width: 91%; max-width: 1320px; margin: 0 auto; }
.ccm-skip { position: fixed; top: 8px; left: 8px; z-index: 999999; transform: translateY(-150%); padding: 12px 20px; background: #fff; color: var(--ccm-ink); }
.ccm-skip:focus { transform: none; }
.ccm-header { position: relative; z-index: 1000; background: #fff; }
.ccm-header-inner { width: 95%; max-width: 1600px; min-height: 88px; margin: auto; display: flex; align-items: center; gap: 28px; }
.ccm-brand { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; color: var(--ccm-ink); text-decoration: none; }
.ccm-brand img { width: 80px; height: 56px; object-fit: contain; }
.ccm-brand img.ccm-plugin-icon { width: 64px; height: 64px; flex-shrink: 0; }
.ccm-brand strong { display: block; font-size: 36px; letter-spacing: -1.3px; font-weight: 900; line-height: 1; }
.ccm-brand small { display: block; font-size: 11px; color: var(--ccm-link); line-height: 1.5; margin-top: 3px; }
.ccm-brand img.ccm-custom-logo { width: auto; max-width: 265px; max-height: 64px; }
.ccm-navigation { margin: 0 auto; min-width: 0; }
.ccm-menu { display: flex; align-items: center; gap: clamp(12px,1.35vw,25px); list-style: none; padding: 0; margin: 0; }
.ccm-menu li { position: relative; list-style: none; padding: 0; margin: 0; }
.ccm-menu a { color: var(--ccm-ink); text-decoration: none; font-size: 13px; font-weight: 650; display: block; padding: 15px 0; }
.ccm-menu a:hover, .ccm-menu .current-menu-item > a { color: var(--ccm-link); text-decoration: underline; text-underline-offset: 6px; }
.ccm-menu .sub-menu { display: none; position: absolute; min-width: 230px; max-width: 300px; top: 100%; left: 0; padding: 10px 18px; margin: 0; background: #fff; box-shadow: 0 10px 30px #0a345222; border-radius: 6px; }
.ccm-menu .sub-menu .sub-menu { position: static; box-shadow: none; min-width: 0; padding: 0 0 0 16px; }
.ccm-menu .sub-menu a { padding: 9px 0; }
.ccm-menu li:hover > .sub-menu, .ccm-menu li:focus-within > .sub-menu, .ccm-menu li.submenu-open > .sub-menu { display: block; }
.ccm-nav-ready .ccm-menu li:not(.submenu-open) > .sub-menu { display: none; }
.ccm-submenu-toggle { color: var(--ccm-ink); background: transparent; border: 0; cursor: pointer; padding: 8px; }
.ccm-menu .menu-item-has-children > a { display: inline-block; }
.ccm-header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.ccm-icon-button { display: inline-flex; gap: 6px; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 9px; border: 0; border-radius: 50%; background: #f0f5f7; color: var(--ccm-ink); cursor: pointer; text-decoration: none; }
.ccm-contact { background: var(--ccm-ink); color: white; padding: 11px 22px; border-radius: 25px; font-size: 13px; white-space: nowrap; text-decoration: none; }
.ccm-contact:hover { background: #087c95; }
.ccm-menu-toggle { display: none; }
.ccm-home :is(h1,h2,h3,p) { margin: 0; padding: 0; }
.ccm-home :is(h1,h2,h3) { font-family: var(--police); color: var(--ccm-ink); text-transform: none; letter-spacing: -.035em; }
.ccm-home h2 { font-size: 30px; font-weight: 850; line-height: 1.2; }
#main-accueil.ccm-home { width: 100%; padding: 0; margin: 0; }
.ccm-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 400px; }
.ccm-hero-image { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.ccm-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#041e26aa,transparent 70%); }
.ccm-hero-inner { min-height: clamp(360px,30vw,460px); display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 0; }
.ccm-hero-copy { max-width: 510px; color: #fff; }
.ccm-hero .ccm-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 16px; font-weight: 650; }
.ccm-hero h1 { color: #fff; font-size: clamp(52px,6vw,80px); line-height: 1.1; font-weight: 900; margin: 3px 0 8px; }
.ccm-hero .ccm-hero-intro { font-size: 25px; max-width: 380px; line-height: 1.2; font-weight: 650; margin: 0 0 22px; text-wrap: balance; }
.ccm-site .ccm-button { background: var(--ccm-accent); color: #052c42; border-radius: 30px; border: 0; padding: 12px 23px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: 800 14px/1.35 var(--police); cursor: pointer; text-align: center; min-height: 44px; }
.ccm-site .ccm-button:hover { background: #72d0df; }
.ccm-button .ccm-icon { width: 19px; height: 19px; }
.ccm-weather { align-self: flex-end; border: 1px solid #ffffff35; color: #fff; padding: 18px 20px 12px; border-radius: 15px; min-width: 190px; background: #3b5348b8; backdrop-filter: blur(14px); }
.ccm-weather-main { display: flex; align-items: flex-start; gap: 12px; }
.ccm-weather-main > .ccm-icon { width: 36px; height: 36px; color: #ffdf74; margin-top: 4px; }
.ccm-weather strong { font-size: 32px; line-height: 1.1; font-weight: 750; }
.ccm-weather small { display: block; font-size: 14px; margin-top: 3px; }
.ccm-weather-caption { display: block; border-top: 1px solid #ffffff55; padding-top: 10px; margin-top: 14px; font-size: 11px; text-align: center; }
.ccm-quick { background: #f4f8f9; }
.ccm-quick ul { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); list-style: none; padding: 23px 0 25px; }
.ccm-quick li { list-style: none; margin: 0; padding: 0; }
.ccm-quick a { display: flex; align-items: center; flex-direction: column; gap: 8px; color: var(--ccm-ink); text-decoration: none; text-align: center; font-size: 15px; line-height: 1.25; font-weight: 750; }
.ccm-quick a > span:last-child { max-width: 120px; }
.ccm-quick-icon { width: 64px; height: 64px; display: grid; place-items: center; background: #d9f1f7; border-radius: 50%; transition: background .15s, transform .15s; }
.ccm-quick-icon .ccm-icon { width: 32px; height: 32px; }
.ccm-quick a:hover .ccm-quick-icon { background: #afe1eb; transform: translateY(-3px); }
.ccm-section { padding: 36px 0; }
.ccm-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.ccm-section-heading h2::after { content: ''; display: block; width: 43px; height: 3px; background: var(--ccm-accent); margin-top: 14px; }
.ccm-section-heading > a { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ccm-link); text-decoration: none; }
.ccm-section-heading > a:hover { text-decoration: underline; }
.ccm-section-heading > a .ccm-icon { width: 18px; }
.ccm-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.ccm-card { display: flex; flex-direction: column; position: relative; background: #fff; border: 1px solid #dfe7eb; border-radius: 7px; text-decoration: none; color: var(--ccm-ink); overflow: hidden; min-width: 0; transition: box-shadow .2s, transform .2s; }
a.ccm-card:hover { box-shadow: 0 7px 24px #143b5215; transform: translateY(-3px); }
.ccm-card .ccm-card-image { display: block; width: 100%; height: auto; aspect-ratio: 2.35; object-fit: cover; }
.ccm-card-copy { flex: 1; position: relative; padding: 17px 20px 22px; }
.ccm-card time { display: block; font-size: 11px; font-weight: 650; text-transform: uppercase; margin-bottom: 9px; }
.ccm-card h3 { font-size: 19px; font-weight: 850; line-height: 1.22; max-width: 310px; padding-right: 18px; }
.ccm-card p { font-size: 15px; line-height: 1.45; margin-top: 9px; padding-right: 18px; }
.ccm-card-arrow { position: absolute; bottom: 15px; right: 17px; }
.ccm-projects { background: #f1f4f5; }
.ccm-project-card { border: 0; }
.ccm-project-card .ccm-card-image { aspect-ratio: 3.15; }
.ccm-project-card .ccm-card-copy { padding: 15px 20px; }
.ccm-project-card h3 { font-size: 18px; max-width: 290px; padding-right: 32px; }
.ccm-project-card .ccm-card-arrow { color: var(--ccm-link); bottom: 20px; }
.ccm-promotion { width: calc(100% - 32px); max-width: 1440px; margin: 2px auto 26px; min-width: 0; }
.ccm-promotion .kcc-delivered-card, .ccm-promotion .kcc-card { margin: 0; max-width: none; }
.ccm-promotion .kcc-delivered-card { overflow: hidden; border-radius: 15px; }
.ccm-promotion .kcc-delivered-card img { width: 100%; height: auto !important; object-fit: contain !important; }
.ccm-discover { position: relative; isolation: isolate; padding: 48px 0; background: var(--ccm-ink); color: #fff; }
.ccm-discover > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; opacity: .22; }
.ccm-discover .ccm-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ccm-discover h2 { color: #fff; }
.ccm-discover h2::after { content: ''; display: block; width: 44px; height: 3px; background: #fff; margin-top: 14px; }
.ccm-footer { padding: 28px 0; font-size: 13px; background: #fff; color: #446078; }
.ccm-footer .ccm-container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.ccm-footer p { margin: 3px 0; }
.ccm-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.ccm-footer a { color: var(--ccm-ink); text-decoration: none; }
.ccm-footer a:hover { text-decoration: underline; }
.ccm-footer strong { font-weight: 850; }
.ccm-search-dialog { width: min(660px,calc(100% - 32px)); max-width: none; padding: 44px 32px 32px; border: 0; border-radius: 16px; color: var(--ccm-ink); }
.ccm-search-dialog::backdrop { background: #062a42b3; backdrop-filter: blur(3px); }
.ccm-search-dialog h2 { font: 850 27px/1.2 var(--police); margin: 0 0 24px; padding: 0; }
.ccm-search-close { position: absolute; top: 8px; right: 8px; }
.ccm-search-dialog form { display: flex; gap: 10px; }
.ccm-search-dialog input { min-width: 0; flex: 1; border: 1px solid #aec4d1; border-radius: 6px; padding: 14px; font: 16px var(--police); color: var(--ccm-ink); }
.ccm-page { padding: 50px 0 70px; min-height: 50vh; }
.ccm-page > .ccm-container { max-width: 1050px; }
.ccm-page h1 { font: 900 clamp(32px,4vw,48px)/1.15 var(--police); letter-spacing: -.025em; margin: 15px 0 30px; color: var(--ccm-ink); }
.ccm-page h2 { color: var(--ccm-ink); font-family: var(--police); }
.ccm-page-content { max-width: 780px; font-size: 18px; line-height: 1.7; }
.ccm-page-content a { color: var(--ccm-link); }
.ccm-page-photo { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 8px; }
/* Aucun conteneur Abril ni colonne de navigation autour du guide du plugin. */
.ccm-guide-page > .ccm-container { width: 91%; max-width: none; }
.ccm-guide-content { width: 100%; min-width: 0; }
.ccm-guide-content .kcc-guide { width: 100%; max-width: none; }
/* Les widgets d’actualités du socle restent prioritaires. */
.ccm-news-grid > .widget { display: contents; }
.ccm-news-grid .bloc-actu { width: 100%; float: none; margin: 0; border-radius: 7px; border: 1px solid #dfe7eb; background: #fff; text-decoration: none; color: var(--ccm-ink); overflow: hidden; }
.ccm-news-grid .bloc-actu .actu-img { display: block; overflow: hidden; }
.ccm-news-grid .bloc-actu .actu-img img { display: block; width: 100%; aspect-ratio: 2.35; height: auto !important; object-fit: cover; }
.ccm-news-grid .bloc-actu .titre-actu { display: block; margin: 0; padding: 18px; font: 850 19px/1.3 var(--police); }
.ccm-site #image-header-page { height: 220px; }
.ccm-site #image-header-page img { height: 100%; width: 100%; object-fit: cover; }
@media (min-width:1181px) and (max-width:1350px) {
  .ccm-header-inner { gap: 16px; }
  .ccm-brand img { width: 60px; }
  .ccm-brand strong { font-size: 30px; }
  .ccm-brand small { font-size: 10px; }
  .ccm-header-actions { gap: 10px; }
  .ccm-contact { padding: 11px 15px; }
  .ccm-menu { gap: 12px; }
  .ccm-menu a { font-size: 12px; }
}
@media (max-width:1180px) {
  .ccm-header-inner { flex-wrap: wrap; min-height: 82px; gap: 14px; padding: 10px 0; }
  .ccm-brand { margin-right: auto; }
  .ccm-brand strong { font-size: 31px; }
  .ccm-brand img { width: 64px; height: 48px; }
  .ccm-brand img.ccm-plugin-icon { width: 56px; height: 56px; }
  .ccm-navigation { width: 100%; order: 5; }
  .ccm-menu { flex-wrap: wrap; gap: 4px 24px; }
  .ccm-menu a { font-size: 15px; }
  .ccm-nav-ready .ccm-navigation { display: none; }
  .ccm-nav-ready .ccm-navigation.is-open { display: block; border-top: 1px solid #e1e8ed; padding: 12px 0; }
  .ccm-nav-ready .ccm-menu-toggle { display: inline-flex; width: auto; padding: 10px 12px; border-radius: 7px; font: 750 13px var(--police); }
  .ccm-nav-ready .ccm-menu { display: block; }
  .ccm-menu .sub-menu { position: static; max-width: none; box-shadow: none; border-left: 2px solid #d9f1f7; }
  .ccm-nav-ready .ccm-menu li:focus-within:not(.submenu-open) > .sub-menu, .ccm-nav-ready .ccm-menu li:hover:not(.submenu-open) > .sub-menu { display: none; }
  .ccm-menu .menu-item-has-children { display: grid; grid-template-columns: 1fr 44px; }
  .ccm-menu .menu-item-has-children > .sub-menu { grid-column: 1/-1; }
  .ccm-submenu-toggle { min-height: 44px; font-size: 24px; }
  .ccm-hero-inner { min-height: 380px; }
  .ccm-card-copy { padding: 15px 16px 25px; }
  .ccm-cards { gap: 20px; }
}
@media (max-width:767px) {
  .ccm-container { width: calc(100% - 36px); }
  .ccm-header-inner { width: calc(100% - 28px); gap: 8px; min-height: 76px; }
  .ccm-brand { gap: 5px; }
  .ccm-brand img { width: 48px; height: 45px; }
  .ccm-brand img.ccm-plugin-icon { width: 45px; height: 45px; }
  .ccm-brand strong { font-size: 27px; }
  .ccm-brand small { font-size: 8px; }
  .ccm-brand img.ccm-custom-logo { max-width: 180px; max-height: 50px; }
  .ccm-header-actions { gap: 0; }
  .ccm-contact { display: none; }
  .ccm-menu-toggle span { display: none; }
  .ccm-nav-ready .ccm-menu-toggle { width: 40px; padding: 8px; }
  .ccm-icon-button { width: 40px; height: 40px; }
  .ccm-hero { min-height: 380px; }
  .ccm-hero-inner { min-height: 380px; padding: 40px 0; }
  .ccm-hero-image { object-position: 57% center; }
  .ccm-hero::after { background: linear-gradient(90deg,#041e26bc,#041e2620); }
  .ccm-hero h1 { font-size: clamp(48px,13vw,68px); overflow-wrap: anywhere; }
  .ccm-hero .ccm-hero-intro { font-size: 22px; max-width: 285px; }
  .ccm-hero .ccm-eyebrow { font-size: 13px; }
  .ccm-weather { display: none; }
  .ccm-quick ul { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px 10px; padding: 24px 0; }
  .ccm-quick a { font-size: 13px; }
  .ccm-quick-icon { width: 54px; height: 54px; }
  .ccm-quick-icon .ccm-icon { width: 28px; height: 28px; }
  .ccm-section { padding: 30px 0; }
  .ccm-section-heading { margin-bottom: 20px; align-items: flex-start; }
  .ccm-home h2 { font-size: 27px; }
  .ccm-section-heading > a { font-size: 12px; padding-top: 8px; gap: 4px; }
  .ccm-cards { grid-template-columns: 1fr; gap: 20px; }
  .ccm-card .ccm-card-image { aspect-ratio: 2; }
  .ccm-card-copy { padding: 18px 20px 25px; }
  .ccm-card h3 { font-size: 20px; max-width: none; }
  .ccm-project-card .ccm-card-image { aspect-ratio: 2.6; }
  .ccm-project-card .ccm-card-copy { padding: 17px 20px; }
  .ccm-project-card h3 { font-size: 18px; }
  .ccm-promotion { display: none !important; }
  .ccm-discover { padding: 38px 0; }
  .ccm-discover .ccm-container { flex-direction: column; align-items: flex-start; gap: 24px; }
  .ccm-footer .ccm-container { display: block; }
  .ccm-footer nav { gap: 14px 20px; margin-top: 18px; }
  .ccm-search-dialog { padding: 50px 20px 24px; }
  .ccm-search-dialog form { flex-direction: column; }
  .ccm-page { padding: 28px 0 40px; }
  .ccm-page-content { font-size: 16px; }
  .ccm-guide-page > .ccm-container { width: calc(100% - 28px); }
}
@media (hover:none) and (pointer:coarse), (display-mode:standalone) { .ccm-promotion { display: none !important; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .ccm-site * { transition: none !important; } }
@media print { .ccm-header-actions,.ccm-navigation,.ccm-quick,.ccm-promotion,.ccm-weather,.ccm-footer { display: none !important; } .ccm-hero { min-height: 0; } .ccm-hero-inner { min-height: 200px; } }
