:root {
  /* =============================
     PG AFFAIR — Design tokens
     Univers nettoyage & entretien
     ============================= */
  --c-white: #ffffff;
  --c-primary: #1B4332;    /* vert profond naturel — structure, confiance */
  --c-secondary: #2D6A4F;  /* vert forêt — secondaire, profondeur */
  --c-accent: #40916C;     /* vert émeraude — CTA, action propre */
  --c-surface: #F1F8F4;    /* blanc-vert — surfaces propres */
  --c-surface-alt: #E8F3EC; /* vert sauge pâle — sections alternées */
  --c-hero-bg: #F6FBF8;    /* blanc naturel — fond hero lumineux */
  --c-text: #1A2E26;       /* vert très sombre — texte principal */
  --c-muted: #4A6B5D;      /* gris-vert — texte secondaire */
  --c-border: #C8DDD1;     /* vert gris clair — bordures */
  --r-1: 4px;
  --r-2: 6px;
  --r-3: 8px;
  --r-4: 10px;
  --sh-1: 0 1px 6px rgba(27,67,50,0.05);
  --sh-2: 0 4px 18px rgba(27,67,50,0.08);
  --s-1: 6px; --s-2: 10px; --s-3: 14px; --s-4: 18px;
  --s-5: 24px; --s-6: 32px; --s-7: 44px; --s-8: 56px;
  --ff-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --fs-0: 0.95rem; --fs-1: 1.05rem; --fs-2: 1.2rem; --fs-3: 1.5rem; --fs-4: 2rem; --fs-5: 2.8rem;
  --lh: 1.6;
  --container: 1120px;
  --gutter: 16px;
  --t-fast: 140ms; --t-med: 240ms;
  --ease: cubic-bezier(.2,.8,.2,1);
  --focus: 0 0 0 3px rgba(27,67,50,0.16);
  --focus-accent: 0 0 0 3px rgba(64,145,108,0.22);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-0);
  line-height: var(--lh);
  color: var(--c-text);
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 var(--s-3); color: var(--c-muted); }
h1,h2,h3 { margin: 0 0 var(--s-3); color: var(--c-primary); letter-spacing: -0.015em; }
h1 { font-size: clamp(1.8rem,3.2vw,var(--fs-5)); line-height: 1.12; }
h2 { font-size: clamp(1.4rem,2vw,var(--fs-4)); line-height: 1.18; }
h3 { font-size: var(--fs-2); line-height: 1.25; }
.muted { color: var(--c-muted); }

/* =============================
   Titres décoratifs — nettoyage écologique
   Hiérarchie : H1 fort > H2 structuré > H3 discret
   Tous centrés, encadrés, respirants
   ============================= */

/* — Section head : centré avec sous-titre — */
.section__head {
  text-align: center;
  margin: 0 auto var(--s-4);
  max-width: 65ch;
}
.section__head h2 {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--r-3);
  background: linear-gradient(135deg, var(--c-white) 0%, var(--c-surface) 50%, var(--c-surface-alt) 100%);
  box-shadow: var(--sh-1);
  margin-bottom: var(--s-3);
}
.section--surface .section__head h2 {
  background: linear-gradient(135deg, var(--c-surface-alt) 0%, var(--c-surface) 50%, var(--c-white) 100%);
}
.section__head p {
  max-width: 55ch;
  margin: 0 auto;
}

/* — Page head H1 : impact fort, centré — */
.pageHead {
  text-align: center;
  padding: var(--s-7) 0 var(--s-5);
  max-width: 70ch;
  margin: 0 auto;
}
.pageHead h1 {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--c-border);
  border-bottom: 3px solid var(--c-accent);
  border-radius: var(--r-3);
  background: linear-gradient(135deg, var(--c-white) 0%, var(--c-surface) 40%, var(--c-surface-alt) 100%);
  box-shadow: var(--sh-2);
  margin-bottom: var(--s-4);
}
.pageHead p {
  max-width: 55ch;
  margin: var(--s-2) auto 0;
}

/* — Hero H1 : pas de boîte, centré — */
.hero__title {
  text-align: center;
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
  width: 100%;
}

/* — Card/inline H3 : léger, discret — */
.serviceCard h3,
.card h3,
.contactBlock h3 {
  padding-bottom: 6px;
  border-bottom: 2px solid var(--c-surface-alt);
  margin-bottom: var(--s-2);
}

/* — Standalone H3 centré — */
.section h3:not(.serviceCard h3):not(.card h3):not(.contactBlock h3) {
  text-align: center;
}

.container {
  width: min(var(--container), calc(100% - var(--gutter)*2));
  margin: 0 auto;
}
.section { padding: var(--s-7) var(--gutter); }
.section--surface { background: var(--c-surface); }

/* === Focus / a11y === */
.sr-only { position:absolute!important; width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
:focus-visible { outline:none; box-shadow:var(--focus); border-radius:var(--r-2); }
.btn:focus-visible { box-shadow:var(--focus-accent); }
@media (prefers-reduced-motion:reduce) {
  html{scroll-behavior:auto}
  *{transition-duration:0.01ms!important;animation-duration:0.01ms!important}
}

/* =============================
   TOP STRIP — identité métier
   ============================= */
.topstrip {
  background: var(--c-primary);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topstrip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 6px 0;
  flex-wrap: wrap;
}
.topstrip__label { font-weight: 600; opacity: 0.9; }
.topstrip__contact { display: flex; gap: 8px; align-items: center; }
.topstrip__contact a { color: rgba(255,255,255,0.95); font-weight: 600; }
.topstrip__contact a:hover { text-decoration: underline; }
.topstrip__sep { opacity: 0.4; }

/* =============================
   HEADER — dégradé écologique décoratif
   ============================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 35%, #40916C 70%, #2D6A4F 100%);
  border-bottom: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 2px 16px rgba(27,67,50,0.2);
}
.topbar--scrolled {
  box-shadow: 0 4px 24px rgba(27,67,50,0.25);
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 50%, #1B4332 100%);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 12px 0;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.15;
}
.brand__logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.brand__text {
  display: flex;
  flex-direction: column;
}
.brand__name {
  font-weight: 900;
  letter-spacing: 0.10em;
  color: var(--c-white);
  font-size: 1.1rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.brand__tagline {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.navToggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  padding: 9px;
  border-radius: var(--r-2);
  cursor: pointer;
}
.navToggle__bar {
  width: 18px; height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
}

.nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  box-shadow: var(--sh-2);
  position: absolute;
  right: var(--gutter);
  left: var(--gutter);
  top: 60px;
}
.nav a:not(.btn) {
  padding: 10px 12px;
  border-radius: var(--r-2);
  color: var(--c-primary);
  font-weight: 600;
}
.nav a:not(.btn):hover { background: var(--c-surface); }
.nav.is-open { display: flex; }

@media (min-width:900px) {
  .navToggle { display:none; }
  .nav {
    display:flex; position:static; flex-direction:row; align-items:center;
    justify-content:flex-end; padding:0; background:transparent; border:0; box-shadow:none; gap:6px;
  }
  .nav a:not(.btn) {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
  }
  .nav a:not(.btn):hover {
    background: rgba(255,255,255,0.12);
    color: var(--c-white);
  }
  .nav .btn--accent {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--c-white);
  }
  .nav .btn--accent:hover {
    background: rgba(255,255,255,0.25);
  }
  .nav .btn--ghost {
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
  }
  .nav .btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    color: var(--c-white);
  }
}

/* =============================
   Buttons
   ============================= */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 18px; border-radius:var(--r-2); border:1px solid transparent;
  font-weight:700; font-size:0.9rem; cursor:pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-fast);
  min-height:42px;
}
.btn:hover { transform:translateY(-1px); }
.btn:active { transform:translateY(0); }
.btn--primary { background:var(--c-primary); color:var(--c-white); }
.btn--accent { background:var(--c-accent); color:var(--c-white); }
.btn--accent:hover { background:#357A5C; }
.btn--ghost { background:transparent; border-color:var(--c-border); color:var(--c-primary); }
.btn--ghost:hover { background:var(--c-surface); }
.btn--sm { padding:8px 14px; font-size:0.85rem; min-height:36px; }
.btn[disabled],.btn:disabled { opacity:0.7; cursor:not-allowed; transform:none; }

.actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:var(--s-4); }

/* =============================
   Reveal (scroll)
   ============================= */
html.js [data-reveal] {
  opacity:0; transform:translateY(12px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
html.js [data-reveal].is-visible { opacity:1; transform:translateY(0); }

/* =============================
   HERO — image plein écran + texte superposé
   ============================= */
.hero {
  position: relative;
  padding: var(--s-8) var(--gutter);
  overflow: hidden;
  background: var(--c-hero-bg);
  border-bottom: 1px solid var(--c-border);
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Version image pleine largeur */
.hero--fullimage {
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Overlay sombre semi-transparent pour lisibilité */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27,67,50,0.72) 0%,
    rgba(27,67,50,0.6) 50%,
    rgba(27,67,50,0.78) 100%
  );
  pointer-events: none;
}
/* Sans image : dégradé léger */
.hero:not(.hero--fullimage) .hero__overlay {
  background:
    radial-gradient(ellipse 50% 60% at 10% 30%, rgba(45,106,79,0.05), transparent 70%),
    radial-gradient(ellipse 40% 50% at 90% 70%, rgba(27,67,50,0.04), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.6), var(--c-hero-bg));
}
/* Ligne de finition bas */
.hero::after {
  content:""; position:absolute; bottom:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--c-accent), rgba(64,145,108,0.3), transparent);
  z-index: 2;
}
/* Contenu centré horizontal + vertical */
.hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - var(--gutter)*2));
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* Texte blanc sur image */
.hero--fullimage .hero__title { color: var(--c-white); }
.hero--fullimage .hero__subtitle { color: rgba(255,255,255,0.9); }
/* Texte sombre sans image */
.hero:not(.hero--fullimage) .hero__title { color: var(--c-primary); }
.hero:not(.hero--fullimage) .hero__subtitle { color: var(--c-muted); }

.hero__title { font-size: clamp(1.8rem,3.2vw,var(--fs-5)); line-height:1.12; margin-bottom:var(--s-4); }
.hero__subtitle { font-size:var(--fs-1); max-width:60ch; margin:0 auto var(--s-4); }

.hero__content .actions { justify-content:center; }
.hero--fullimage .btn--ghost { border-color:rgba(255,255,255,0.4); color:var(--c-white); }
.hero--fullimage .btn--ghost:hover { background:rgba(255,255,255,0.12); }

.trustRow { display:flex; gap:14px; flex-wrap:wrap; margin-top:var(--s-5); justify-content:center; }
.trustItem { display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:0.88rem; }
.hero--fullimage .trustItem { color:rgba(255,255,255,0.9); }
.hero:not(.hero--fullimage) .trustItem { color:var(--c-muted); }
.trustIcon {
  width:30px; height:30px; display:grid; place-items:center;
  border-radius:var(--r-2); color:var(--c-accent);
}
.hero--fullimage .trustIcon {
  background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.2); color:rgba(255,255,255,0.95);
}
.hero:not(.hero--fullimage) .trustIcon {
  background:var(--c-surface-alt); border:1px solid var(--c-border);
}
.trustIcon svg { display:block; }

@media (min-width:900px) {
  .hero--fullimage { min-height:90vh; }
  .hero__content { max-width:780px; }
}

/* =============================
   Trust band — réassurance
   ============================= */
.trustBand { background:var(--c-white); border-bottom:1px solid var(--c-border); }
.trustBand__inner {
  width:min(var(--container),calc(100% - var(--gutter)*2));
  margin:0 auto; padding:14px 0;
  display:grid; grid-template-columns:1fr; gap:8px;
}
.trustPill {
  display:flex; gap:10px; align-items:center;
  border:1px solid var(--c-border); border-radius:var(--r-3);
  background:var(--c-surface); padding:10px 14px;
  border-left:3px solid var(--c-accent);
}
.trustPill__dot { width:6px; height:6px; border-radius:999px; background:var(--c-accent); flex:0 0 auto; }
.trustPill__t { font-weight:700; color:var(--c-primary); font-size:0.88rem; }
.trustPill__s { font-size:0.82rem; color:var(--c-muted); }
@media (min-width:900px) {
  .trustBand__inner { grid-template-columns:repeat(4,1fr); }
  .trustPill { background:var(--c-white); }
}

/* =============================
   Section transitions — nettes
   ============================= */
.section + .section:not(.section--surface) { border-top: 1px solid var(--c-border); }

/* =============================
   Cards / service grid
   ============================= */
.card {
  border:1px solid var(--c-border); border-radius:var(--r-3);
  background:var(--c-white); box-shadow:var(--sh-1); padding:var(--s-5);
}
.serviceGrid { display:grid; grid-template-columns:1fr; gap:var(--s-3); }
.serviceCard {
  border:1px solid var(--c-border); border-radius:var(--r-3);
  background:var(--c-white); box-shadow:var(--sh-1); padding:var(--s-5);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med), border-color var(--t-med);
  border-top:2px solid transparent;
}
.serviceCard:hover { transform:translateY(-2px); box-shadow:var(--sh-2); border-top-color:var(--c-accent); }

/* Service card avec image de fond */
.serviceCard--img {
  position: relative;
  background-size: 160%;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  border-top: none;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med), background-size 500ms var(--ease);
}
.serviceCard--img:hover {
  background-size: 180%;
}
.serviceCard--img:hover { border-top-color: transparent; }
.serviceCard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,67,50,0.1) 0%, rgba(27,67,50,0.85) 100%);
  border-radius: inherit;
  pointer-events: none;
}
.serviceCard:not(.serviceCard--img) .serviceCard__overlay { display: none; }
.serviceCard__content {
  position: relative;
  z-index: 1;
  padding: var(--s-4);
  width: 100%;
}
.serviceCard--img .serviceCard__content h3 { color: var(--c-white); margin-bottom: 4px; border: none; padding: 0; }
.serviceCard--img .serviceCard__content p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.88rem; }
.serviceCard:not(.serviceCard--img) .serviceCard__content { padding: 0; }
.serviceCard:not(.serviceCard--img) .serviceCard__content p { color: var(--c-muted); }

.icon {
  width:40px; height:40px; display:grid; place-items:center;
  border-radius:var(--r-2); background:var(--c-surface-alt);
  border:1px solid var(--c-border); color:var(--c-accent);
}
.icon svg { display:block; }
.icon img { width:22px; height:22px; object-fit:contain; }
@media (min-width:768px) { .serviceGrid { grid-template-columns:repeat(2,1fr); } }
@media (min-width:1100px) { .serviceGrid { grid-template-columns:repeat(4,1fr); } }

/* =============================
   Process / method
   ============================= */
.process { display:grid; grid-template-columns:1fr; gap:var(--s-3); }
.step {
  border:1px solid var(--c-border); border-radius:var(--r-3);
  background:var(--c-white); box-shadow:var(--sh-1); padding:var(--s-5);
  position: relative;
}
.step__n {
  width:32px; height:32px; border-radius:var(--r-2);
  display:grid; place-items:center;
  background:var(--c-accent); color:var(--c-white); font-weight:800; font-size:0.85rem;
}
.step__t { margin-top:var(--s-2); font-weight:700; color:var(--c-primary); }
@media (min-width:768px) { .process { grid-template-columns:repeat(2,1fr); } }
@media (min-width:1100px) { .process { grid-template-columns:repeat(4,1fr); } }

/* =============================
   Sectors
   ============================= */
.sectorsGrid { display:grid; grid-template-columns:1fr; gap:var(--s-2); }
.sectorTag {
  border:1px solid var(--c-border); border-radius:var(--r-3);
  background:var(--c-white); box-shadow:var(--sh-1);
  padding:12px var(--s-4); font-weight:600; color:var(--c-primary);
  border-left:3px solid var(--c-secondary);
}
@media (min-width:768px) { .sectorsGrid { grid-template-columns:repeat(2,1fr); } }
@media (min-width:1100px) { .sectorsGrid { grid-template-columns:repeat(3,1fr); } }

/* =============================
   Engagements
   ============================= */
.engagementGrid { display:grid; grid-template-columns:1fr; gap:var(--s-3); }
@media (min-width:768px) { .engagementGrid { grid-template-columns:repeat(2,1fr); } }
@media (min-width:1100px) { .engagementGrid { grid-template-columns:repeat(3,1fr); } }

.whyList { margin:0; padding:0; list-style:none; display:grid; gap:10px; }
.whyList li { display:grid; grid-template-columns:22px 1fr; gap:10px; align-items:start; }
.check {
  width:16px; height:16px; border-radius:var(--r-1);
  border:1px solid var(--c-border); background:var(--c-surface-alt);
  position:relative; margin-top:3px;
}
.check::after { content:""; position:absolute; inset:3px; border-radius:2px; background:var(--c-accent); }

/* =============================
   FAQ
   ============================= */
.faq { display:grid; gap:6px; }
.faqItem {
  border:1px solid var(--c-border); border-radius:var(--r-3);
  background:var(--c-white); padding:12px 16px;
}
.faqItem summary { cursor:pointer; font-weight:700; list-style:none; color:var(--c-primary); }
.faqItem summary::-webkit-details-marker { display:none; }
.faqBody { margin-top:8px; }
.faqItem[open] { border-color:var(--c-accent); background:var(--c-surface); }

/* =============================
   Forms
   ============================= */
.form__grid { display:grid; grid-template-columns:1fr; gap:var(--s-3); }
.field { display:grid; gap:5px; }
.field label {
  font-weight:700; color:var(--c-primary); text-transform:uppercase;
  letter-spacing:0.04em; font-size:0.76rem;
}
.help { font-size:0.82rem; color:var(--c-muted); }
.field input, .field select, .field textarea {
  width:100%; border-radius:var(--r-2); border:1px solid var(--c-border);
  background:var(--c-white); padding:10px 12px; color:var(--c-text);
  font-family:var(--ff-sans); font-size:var(--fs-0);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color:var(--c-accent); outline:none; }
.field textarea { min-height:100px; resize:vertical; }
.field--full { grid-column:1/-1; }
.form__actions { margin-top:var(--s-3); display:flex; justify-content:flex-end; }
.form__note { text-align:center; margin-top:var(--s-3); font-size:0.85rem; margin-bottom:0; }
.form.is-loading [data-submit] { opacity:0.7; pointer-events:none; }
ul.errorlist { margin:0; padding-left:16px; color:#c0392b; font-weight:700; }
ul.errorlist li { margin:4px 0 0; }
@media (min-width:768px) { .form__grid { grid-template-columns:repeat(2,1fr); } }

/* =============================
   Contact page — IHM moderne
   ============================= */

/* Quick bar — 3 cartes cliquables */
.ctctQuickBar {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-4) var(--gutter);
}
.ctctQuickBar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2);
}
.ctctQuickCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-2);
  padding: var(--s-4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: var(--c-white);
  transition: transform var(--t-fast), box-shadow var(--t-med), border-color var(--t-med);
}
.ctctQuickCard:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
  border-color: var(--c-accent);
}
.ctctQuickCard__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-3);
  background: linear-gradient(135deg, var(--c-surface-alt), var(--c-surface));
  border: 1px solid var(--c-border);
  color: var(--c-accent);
  flex-shrink: 0;
}
.ctctQuickCard__icon--wa { color: #25D366; }
.ctctQuickCard__label { font-size: 0.75rem; font-weight: 600; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.ctctQuickCard__value { font-weight: 700; color: var(--c-primary); font-size: 0.92rem; }
@media (min-width:768px) { .ctctQuickCard { min-width: 260px; } }

/* Main grid — formulaire + sidebar */
.ctctMainGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: start;
}
@media (min-width:900px) { .ctctMainGrid { grid-template-columns: 1.4fr 0.6fr; } }

/* Form card */
.ctctFormCard {
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: var(--c-white);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.ctctFormCard__head {
  padding: var(--s-4) var(--s-5) var(--s-3);
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-white) 100%);
  border-bottom: 1px solid var(--c-border);
}
.ctctFormCard__head h2 {
  display: block;
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
  text-align: left;
  font-size: var(--fs-3);
  margin-bottom: var(--s-1);
}
.ctctFormCard__head p { margin-bottom: 0; }
.ctctFormCard .form { padding: var(--s-5); }
.btn--full { width: 100%; }

/* Sidebar cards */
.ctctSidebar {
  display: grid;
  gap: var(--s-2);
}
.ctctSideCard {
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: linear-gradient(160deg, var(--c-white) 0%, var(--c-surface) 100%);
  box-shadow: var(--sh-1);
  padding: var(--s-4);
}
.ctctSideCard__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--r-2);
  background: linear-gradient(135deg, var(--c-surface-alt), var(--c-surface));
  border: 1px solid var(--c-border);
  color: var(--c-accent);
  margin-bottom: var(--s-2);
}
.ctctSideCard h3 {
  font-size: 0.95rem;
  border: none;
  padding: 0;
  margin-bottom: var(--s-1);
}
.ctctSideCard p { margin-bottom: 0; font-size: 0.88rem; }
.ctctSideCard__hours { font-size: 0.88rem; }
.ctctSideCard__hours div {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px solid var(--c-border);
}
.ctctSideCard__hours div:last-child { border-bottom: none; }
.ctctSideCard__hours strong { color: var(--c-primary); }

/* Highlight card */
.ctctSideCard--highlight {
  background: linear-gradient(135deg, var(--c-primary) 0%, #2D6A4F 100%);
  border-color: transparent;
  color: rgba(255,255,255,0.9);
}
.ctctSideCard--highlight h3 { color: var(--c-white); }
.ctctSideCard--highlight .ctctSideCard__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ctctSideCard--highlight .ctctSideCard__list li {
  padding: 5px 0 5px 16px;
  position: relative;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ctctSideCard--highlight .ctctSideCard__list li:last-child { border-bottom: none; }
.ctctSideCard--highlight .ctctSideCard__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255,255,255,0.6);
}

/* =============================
   À propos — composants dédiés
   ============================= */

/* Hero À propos */
.aboutHero {
  background: linear-gradient(135deg, var(--c-primary) 0%, #2D6A4F 60%, #40916C 100%);
  padding: var(--s-7) var(--gutter);
  text-align: center;
}
.aboutHero__inner { max-width: 700px; margin: 0 auto; }
.aboutHero__badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: var(--s-4);
}
.aboutHero h1 {
  color: var(--c-white);
  font-size: clamp(1.6rem,2.8vw,2.4rem);
  line-height: 1.15;
  margin-bottom: var(--s-4);
  /* Pas de boîte décorative dans ce hero */
  border: none; padding: 0; background: none; box-shadow: none;
}
.aboutHero__lead {
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-1);
  max-width: 60ch;
  margin: 0 auto;
}

/* Mission — 3 cartes icône */
.aboutMission {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
.aboutMission__card {
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: linear-gradient(160deg, var(--c-white) 0%, var(--c-surface) 100%);
  box-shadow: var(--sh-1);
  padding: var(--s-4);
  text-align: center;
}
.aboutMission__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-3);
  background: linear-gradient(135deg, var(--c-surface-alt) 0%, var(--c-surface) 100%);
  border: 1px solid var(--c-border);
  color: var(--c-accent);
  margin: 0 auto var(--s-3);
}
.aboutMission__card h3 { text-align: center; border: none; padding: 0; }
.aboutMission__card p { margin-bottom: 0; }
@media (min-width:768px) { .aboutMission { grid-template-columns: repeat(3, 1fr); } }

/* Chiffres clés */
.aboutStats {
  background: linear-gradient(135deg, var(--c-primary) 0%, #2D6A4F 50%, var(--c-primary) 100%);
  padding: var(--s-5) var(--gutter);
}
.aboutStats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2);
}
.aboutStats__item {
  text-align: center;
  padding: var(--s-4);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-3);
  background: rgba(255,255,255,0.06);
}
.aboutStats__number {
  font-size: clamp(1.6rem,2.4vw,2rem);
  font-weight: 900;
  color: var(--c-white);
  letter-spacing: -0.02em;
}
.aboutStats__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}
@media (min-width:768px) { .aboutStats__grid { grid-template-columns: repeat(4, 1fr); } }

/* Organisation — cartes numérotées */
.aboutOrgGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
.aboutOrgCard {
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: linear-gradient(160deg, var(--c-white) 0%, var(--c-surface) 100%);
  box-shadow: var(--sh-1);
  padding: var(--s-4);
  position: relative;
}
.aboutOrgCard__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--c-surface-alt);
  line-height: 1;
  margin-bottom: var(--s-2);
  letter-spacing: -0.03em;
}
.aboutOrgCard h3 { border: none; padding: 0; }
.aboutOrgCard p { margin-bottom: 0; }
@media (min-width:768px) { .aboutOrgGrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1100px) { .aboutOrgGrid { grid-template-columns: repeat(2, 1fr); } }

/* Valeurs — cartes avec barre accent */
.aboutValuesGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
.aboutValueCard {
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: var(--c-white);
  box-shadow: var(--sh-1);
  padding: var(--s-4);
  position: relative;
  overflow: hidden;
}
.aboutValueCard__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-secondary));
}
.aboutValueCard h3 { border: none; padding: 0; }
.aboutValueCard p { margin-bottom: 0; }
@media (min-width:768px) { .aboutValuesGrid { grid-template-columns: repeat(2, 1fr); } }

/* Engagement éco — cartes icône */
.aboutEcoGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
.aboutEcoCard {
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: linear-gradient(160deg, var(--c-white) 0%, var(--c-surface) 100%);
  box-shadow: var(--sh-1);
  padding: var(--s-4);
  text-align: center;
}
.aboutEcoCard__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-3);
  background: linear-gradient(135deg, var(--c-surface-alt), var(--c-surface));
  border: 1px solid var(--c-border);
  color: var(--c-accent);
  margin: 0 auto var(--s-3);
}
.aboutEcoCard h3 { text-align: center; border: none; padding: 0; }
.aboutEcoCard p { margin-bottom: 0; }
@media (min-width:768px) { .aboutEcoGrid { grid-template-columns: repeat(3, 1fr); } }

/* =============================
   Services — composants dédiés
   ============================= */

/* Détail service — carte dépliée numérotée */
.svcDetail {
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: var(--c-white);
  box-shadow: var(--sh-1);
  margin-bottom: var(--s-2);
  overflow: hidden;
  transition: box-shadow var(--t-med);
}
.svcDetail:hover { box-shadow: var(--sh-2); }
.svcDetail__head {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-5);
  border-bottom: 1px solid var(--c-border);
  background: linear-gradient(135deg, var(--c-white) 0%, var(--c-surface) 100%);
}
.svcDetail__num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--c-accent);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.7;
}
.svcDetail__head h3 { border: none; padding: 0; margin-bottom: 4px; }
.svcDetail__head p { margin: 0; }
.svcDetail__body { padding: var(--s-5); }
.svcDetail__list {
  margin: 0 0 var(--s-3);
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.svcDetail__list li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--c-text);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--c-surface);
}
.svcDetail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c-accent);
}
@media (min-width:768px) {
  .svcDetail__body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--s-4);
    align-items: start;
  }
  .svcDetail__tags {
    flex-direction: column;
    align-items: flex-end;
  }
}
.svcDetail__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.svcDetail__tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-surface);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-secondary);
}

/* Environnements — grille icônes */
.svcEnvGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
.svcEnvCard {
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: linear-gradient(160deg, var(--c-white) 0%, var(--c-surface) 100%);
  box-shadow: var(--sh-1);
  padding: var(--s-5);
  text-align: center;
  transition: transform var(--t-fast), box-shadow var(--t-med), border-color var(--t-med);
}
.svcEnvCard:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
  border-color: var(--c-accent);
}
.svcEnvCard__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-3);
  background: linear-gradient(135deg, var(--c-surface-alt), var(--c-surface));
  border: 1px solid var(--c-border);
  color: var(--c-accent);
  margin: 0 auto var(--s-3);
}
.svcEnvCard h3 { text-align: center; border: none; padding: 0; font-size: 1rem; }
.svcEnvCard p { margin-bottom: 0; font-size: 0.85rem; }
@media (min-width:768px) { .svcEnvGrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1100px) { .svcEnvGrid { grid-template-columns: repeat(3, 1fr); } }

/* CTA final À propos */
.aboutCta {
  text-align: center;
  padding: var(--s-5);
  border: 1px solid var(--c-border);
  border-radius: var(--r-4);
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-white) 50%, var(--c-surface-alt) 100%);
  box-shadow: var(--sh-2);
}
.aboutCta h2 {
  /* Pas de boîte décorative ici */
  display: block;
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
  font-size: clamp(1.3rem,1.8vw,1.7rem);
}
.aboutCta p { max-width: 55ch; margin: 0 auto var(--s-2); }

/* =============================
   Login page
   ============================= */
.loginPage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-7) var(--gutter);
  background: linear-gradient(160deg, var(--c-hero-bg) 0%, var(--c-surface) 50%, var(--c-surface-alt) 100%);
}
.loginPage__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  width: min(920px, 100%);
  align-items: center;
}
@media (min-width:900px) {
  .loginPage__inner { grid-template-columns: 1fr 1fr; }
}

/* Branding side */
.loginBrand {
  padding: var(--s-5);
}
.loginBrand__logo {
  width: 56px;
  height: 56px;
  margin-bottom: var(--s-3);
}
.loginBrand__title {
  font-size: var(--fs-4);
  color: var(--c-primary);
  margin-bottom: var(--s-2);
  /* No decorative box */
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
  text-align: left;
  display: block;
}
.loginBrand__text {
  color: var(--c-muted);
  font-size: var(--fs-0);
  margin-bottom: var(--s-4);
}
.loginBrand__features {
  display: grid;
  gap: 8px;
}
.loginBrand__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-primary);
}
.loginBrand__feature svg { color: var(--c-accent); flex-shrink: 0; }

/* Form card */
.loginFormCard {
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: var(--c-white);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.loginFormCard__head {
  padding: var(--s-4) var(--s-5) var(--s-3);
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-white) 100%);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}
.loginFormCard__head h2 {
  display: block;
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
  font-size: var(--fs-3);
  margin-bottom: var(--s-1);
}
.loginFormCard__head p { margin-bottom: 0; }

.loginForm {
  padding: var(--s-5);
}
.loginForm__fields {
  display: grid;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.loginForm__error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: var(--s-3);
  margin-bottom: var(--s-3);
  border: 1px solid #e74c3c;
  border-radius: var(--r-2);
  background: #fdf0ef;
  color: #c0392b;
  font-size: 0.88rem;
  font-weight: 600;
}
.loginForm__error svg { color: #c0392b; flex-shrink: 0; }
.loginForm__help {
  text-align: center;
  margin-top: var(--s-3);
  font-size: 0.82rem;
  margin-bottom: 0;
}

/* =============================
   Portail / Dashboard — pages internes
   ============================= */
.portalPage {
  padding: var(--s-6) var(--gutter);
  background: var(--c-surface);
}

/* Header portail */
.portalHeader {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.portalHeader__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-3);
  background: linear-gradient(135deg, var(--c-primary), #2D6A4F);
  color: var(--c-white);
  flex-shrink: 0;
}
.portalHeader h1 {
  font-size: var(--fs-3);
  margin-bottom: 2px;
  border: none; padding: 0; background: none; box-shadow: none;
  text-align: left; display: block;
}
.portalHeader p { margin: 0; }

/* Navigation cards */
.portalNav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}
@media (min-width:768px) { .portalNav { grid-template-columns: repeat(3, 1fr); } }
@media (min-width:1100px) { .portalNav { grid-template-columns: repeat(4, 1fr); } }
@media (min-width:768px) { .portalNav--6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width:1100px) { .portalNav--6 { grid-template-columns: repeat(4, 1fr); } }

.portalNavCard {
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: var(--c-white);
  box-shadow: var(--sh-1);
  padding: var(--s-4);
  text-align: center;
  transition: transform var(--t-fast), box-shadow var(--t-med), border-color var(--t-med);
}
.portalNavCard:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
  border-color: var(--c-accent);
}
.portalNavCard--accent {
  background: linear-gradient(135deg, var(--c-accent), #2D6A4F);
  border-color: transparent;
  color: var(--c-white);
}
.portalNavCard--accent:hover { border-color: var(--c-white); }
.portalNavCard__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-2);
  background: var(--c-surface-alt);
  border: 1px solid var(--c-border);
  color: var(--c-accent);
  margin: 0 auto var(--s-2);
}
.portalNavCard--accent .portalNavCard__icon {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.2);
  color: var(--c-white);
}
.portalNavCard__label { font-weight: 700; font-size: 0.9rem; color: var(--c-primary); }
.portalNavCard--accent .portalNavCard__label { color: var(--c-white); }
.portalNavCard__desc { font-size: 0.78rem; color: var(--c-muted); margin-top: 2px; }
.portalNavCard--accent .portalNavCard__desc { color: rgba(255,255,255,0.8); }

/* Toolbar */
.portalToolbar {
  display: flex;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  flex-wrap: wrap;
}

/* List items */
.portalList {
  display: grid;
  gap: var(--s-2);
}
.portalListItem {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: var(--c-white);
  box-shadow: var(--sh-1);
  flex-wrap: wrap;
}
.portalListItem__status {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  background: var(--c-surface-alt);
  color: var(--c-primary);
}
.portalListItem__status--pending { background: #FEF3C7; color: #92400E; }
.portalListItem__status--assigned { background: #DBEAFE; color: #1E40AF; }
.portalListItem__status--in_progress { background: #D1FAE5; color: #065F46; }
.portalListItem__status--done { background: #D1FAE5; color: #065F46; }
.portalListItem__status--invoiced { background: #E0E7FF; color: #3730A3; }
.portalListItem__status--draft { background: var(--c-surface-alt); color: var(--c-muted); }
.portalListItem__status--issued { background: #FEF3C7; color: #92400E; }
.portalListItem__status--paid { background: #D1FAE5; color: #065F46; }

.portalListItem__body { flex: 1; min-width: 0; }
.portalListItem__body strong { display: block; color: var(--c-primary); }
.portalListItem__meta { text-align: right; flex-shrink: 0; }
.portalListItem__amount { font-weight: 800; color: var(--c-primary); font-size: 1.05rem; flex-shrink: 0; }
.portalListItem__actions { display: flex; gap: 6px; flex-shrink: 0; }

/* Empty state */
.portalEmpty {
  text-align: center;
  padding: var(--s-6);
  border: 1px dashed var(--c-border);
  border-radius: var(--r-3);
  background: var(--c-white);
}

/* Form card portail */
.portalFormCard {
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: var(--c-white);
  box-shadow: var(--sh-1);
  padding: var(--s-5);
  max-width: 700px;
}

/* Footer portail */
.portalFooter {
  text-align: center;
  padding-top: var(--s-3);
}

/* =============================
   KPIs — tableau de bord visuel
   ============================= */
.kpiSection { margin-bottom: var(--s-4); }
.kpiSection__title {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  margin-bottom: var(--s-2);
  padding-bottom: var(--s-1);
  border-bottom: 1px solid var(--c-border);
}

.kpiGrid {
  display: grid;
  gap: var(--s-2);
}
.kpiGrid--2 { grid-template-columns: repeat(2, 1fr); }
.kpiGrid--3 { grid-template-columns: repeat(1, 1fr); }
.kpiGrid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width:768px) {
  .kpiGrid--3 { grid-template-columns: repeat(3, 1fr); }
  .kpiGrid--4 { grid-template-columns: repeat(4, 1fr); }
}

.kpiCard {
  border: 1px solid var(--c-border);
  border-radius: var(--r-3);
  background: var(--c-white);
  box-shadow: var(--sh-1);
  padding: var(--s-3) var(--s-4);
  text-align: center;
}
.kpiCard__value {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 900;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}
.kpiCard__value--accent { color: var(--c-accent); }
.kpiCard__label {
  font-size: 0.78rem;
  color: var(--c-muted);
  margin-top: 2px;
  font-weight: 600;
}
.kpiCard__sub {
  font-size: 0.78rem;
  color: var(--c-muted);
  margin-top: 4px;
}

/* States */
.kpiCard--positive { border-left: 3px solid var(--c-accent); }
.kpiCard--positive .kpiCard__value { color: var(--c-accent); }
.kpiCard--negative { border-left: 3px solid #c0392b; }
.kpiCard--negative .kpiCard__value { color: #c0392b; }
.kpiCard--warning { border-left: 3px solid #D97706; background: #FFFBEB; }
.kpiCard--warning .kpiCard__value { color: #92400E; }

/* Progress bar */
.kpiBar {
  height: 6px;
  border-radius: 999px;
  background: var(--c-surface-alt);
  margin-top: 8px;
  overflow: hidden;
}
.kpiBar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-secondary));
  transition: width 600ms var(--ease);
}

/* =============================
   Dashboard décisionnel — zones IHM
   ============================= */
.dashSection { margin-bottom: var(--s-4); }
.dashSection__title {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  margin-bottom: var(--s-2);
  padding-bottom: var(--s-1);
  border-bottom: 1px solid var(--c-border);
}

/* Alertes */
.dashAlerts { display: grid; gap: var(--s-2); }
.dashAlert {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-3);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-med);
}
.dashAlert:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }
.dashAlert__count {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: var(--r-2);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.dashAlert--info { background: #EBF5FB; color: #1A5276; border: 1px solid #AED6F1; }
.dashAlert--info .dashAlert__count { background: #AED6F1; color: #1A5276; }
.dashAlert--warning { background: #FEF9E7; color: #7D6608; border: 1px solid #F9E79F; }
.dashAlert--warning .dashAlert__count { background: #F9E79F; color: #7D6608; }
.dashAlert--danger { background: #FDEDEC; color: #922B21; border: 1px solid #F5B7B1; }
.dashAlert--danger .dashAlert__count { background: #F5B7B1; color: #922B21; }

/* Activité récente */
.dashActivity { display: grid; gap: 4px; }
.dashActivityItem {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 8px var(--s-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2);
  background: var(--c-white);
  font-size: 0.88rem;
}
.dashActivityItem__body {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}
.dashActivityItem__body strong { color: var(--c-primary); }

/* =============================
   IHM — Affordances, signifiants, feedback
   ============================= */

/* Affordance : tous les éléments cliquables */
a.portalListItem, .portalListItem a, .portalNavCard, .dashAlert, .svcDetail, .serviceCard {
  cursor: pointer;
}

/* Signifiant hover : élévation + bordure */
.portalListItem { transition: transform var(--t-fast), box-shadow var(--t-med), border-color var(--t-med); }
.portalListItem:hover { box-shadow: var(--sh-2); border-color: var(--c-accent); }

/* Focus visible — accessibilité clavier */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: var(--r-2);
}

/* Tooltips natifs — style amélioré */
[title] { position: relative; }

/* États interactifs boutons */
.btn { transition: transform var(--t-fast), box-shadow var(--t-med), background var(--t-fast), opacity var(--t-fast); }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 36px; }

/* Feedback loading sur formulaires */
form[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
form[aria-busy="true"] button[type="submit"]::after { content: " ..."; }

/* État désactivé */
.portalListItem--disabled { opacity: 0.5; pointer-events: none; }
.portalNavCard--disabled { opacity: 0.4; pointer-events: none; }

/* Badge compteur */
.badge-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; font-size: 0.72rem; font-weight: 800;
  background: var(--c-accent); color: var(--c-white);
  margin-left: 6px;
}

/* Statuts améliorés — signifiants couleur */
.portalListItem__status { transition: background var(--t-fast); }
.portalListItem__status--new { background: #DBEAFE; color: #1E40AF; }
.portalListItem__status--in_review { background: #FEF3C7; color: #92400E; }
.portalListItem__status--won { background: #D1FAE5; color: #065F46; }
.portalListItem__status--lost { background: #FEE2E2; color: #991B1B; }
.portalListItem__status--sent { background: #E0E7FF; color: #3730A3; }
.portalListItem__status--accepted { background: #D1FAE5; color: #065F46; }
.portalListItem__status--rejected { background: #FEE2E2; color: #991B1B; }
.portalListItem__status--cancelled { background: #F3F4F6; color: #6B7280; }
.portalListItem__status--available { background: #D1FAE5; color: #065F46; }
.portalListItem__status--in_use { background: #FEF3C7; color: #92400E; }
.portalListItem__status--maintenance { background: #FEE2E2; color: #991B1B; }
.portalListItem__status--retired { background: #F3F4F6; color: #6B7280; }

/* Actions boutons — espacement et alignement */
.portalListItem__actions {
  display: flex; gap: 4px; flex-shrink: 0; align-items: center;
}
.portalListItem__actions .btn--sm { padding: 4px 10px; min-height: 30px; font-size: 0.78rem; }

/* Confirmation suppression — couleur danger */
.btn--danger { background: #c0392b; color: #fff; border: none; }
.btn--danger:hover { background: #a93226; }

/* Séparation visuelle actions primaires / secondaires */
.portalToolbar { border-bottom: 1px solid var(--c-border); padding-bottom: var(--s-2); }

/* Messages feedback améliorés */
.message { animation: slideDown 300ms var(--ease); }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Formulaires — labels clairs, champs visibles */
.field label { display: flex; align-items: center; gap: 4px; }
.field input:required + .help::after, .field select:required + .help::after { content: " *"; color: var(--c-accent); }

/* Responsive portalListItem */
@media (max-width: 768px) {
  .portalListItem { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  .portalListItem__actions { width: 100%; }
  .portalListItem__meta { text-align: left; }
}

/* Messages */
.messages { margin:var(--s-4) 0; display:grid; gap:8px; }
.message {
  border:1px solid var(--c-border); border-radius:var(--r-3);
  padding:12px 14px; background:var(--c-surface); color:var(--c-primary);
}
.message--success { border-left:3px solid var(--c-accent); }
.message--error { border-left:3px solid #c0392b; }

/* Callout */
.callout {
  margin:var(--s-5) 0 0; display:flex; align-items:center; justify-content:space-between;
  gap:var(--s-4); border:1px solid var(--c-border); border-left:3px solid var(--c-accent);
  border-radius:var(--r-3); background:var(--c-surface); padding:var(--s-5); flex-wrap:wrap;
}

/* =============================
   FOOTER — institutionnel
   ============================= */
.footer {
  margin-top:0;
  background: var(--c-primary);
  border-top: 3px solid var(--c-accent);
  color: rgba(255,255,255,0.88);
}
.footer__grid {
  display:grid; grid-template-columns:1fr; gap:var(--s-5); padding:var(--s-7) 0 var(--s-5);
}
.footer__col { display:grid; gap:5px; align-content:start; }
.footer__col--brand { gap:6px; }
.footer__title { color:var(--c-white); font-weight:900; font-size:1.05rem; letter-spacing:0.06em; }
.footer__subtitle { color:rgba(255,255,255,0.75); font-size:0.88rem; }
.footer__mention { color:rgba(255,255,255,0.5); font-size:0.78rem; margin-top:4px; }
.footer .muted { color:rgba(255,255,255,0.55); font-size:0.85rem; }
.footer__heading { color:var(--c-white); font-weight:700; font-size:0.85rem; text-transform:uppercase; letter-spacing:0.04em; margin-bottom:6px; }
.footer__link { display:block; padding:3px 0; color:rgba(255,255,255,0.8); font-size:0.88rem; }
.footer__link:hover { color:var(--c-white); text-decoration:underline; }
.footer__whatsapp { display:inline-flex; align-items:center; gap:5px; color:#25D366; }
.footer__whatsapp:hover { color:#20bd5a; }
.footer__whatsapp svg { flex-shrink:0; }
.footer__address { color:rgba(255,255,255,0.65); font-size:0.85rem; margin-top:6px; }
.footer__hours { color:rgba(255,255,255,0.6); font-size:0.82rem; margin-top:4px; }
.footer__hours div { padding:1px 0; }

.footer__bottom {
  border-top:1px solid rgba(255,255,255,0.08);
  padding:12px 0;
  font-size:0.78rem;
  color:rgba(255,255,255,0.45);
}
.footer__bottom-inner { text-align:center; }

@media (min-width:900px) {
  .footer__grid { grid-template-columns:1.3fr 1fr 1fr 1.2fr; }
}
