/* ==========================================================
   GÉNÉRATEUR DE SEMAINE ACM — DESIGN PREMIUM V3
   Remplacement complet de la feuille V2.
   Toutes les classes HTML existantes sont conservées.
   Scope principal : .ajw
   ========================================================== */

.ajw {
  --ajw-navy: #073b53;
  --ajw-navy-deep: #052b3d;
  --ajw-blue: #1577a4;
  --ajw-blue-light: #31a1ce;
  --ajw-blue-dark: #0b5778;
  --ajw-orange: #f47b20;
  --ajw-orange-dark: #cf5c09;
  --ajw-orange-soft: #fff2e6;
  --ajw-green: #15805a;
  --ajw-green-soft: #eaf8f1;
  --ajw-red: #b9403b;
  --ajw-red-soft: #fff1f0;
  --ajw-text: #243943;
  --ajw-muted: #60747e;
  --ajw-border: #d8e5eb;
  --ajw-border-strong: #bfd5de;
  --ajw-soft: #f4f9fb;
  --ajw-soft-blue: #eaf6fb;
  --ajw-white: #fff;
  --ajw-shadow-sm: 0 7px 20px rgba(7, 59, 83, .07);
  --ajw-shadow: 0 15px 40px rgba(7, 59, 83, .11);
  --ajw-shadow-lg: 0 24px 60px rgba(7, 59, 83, .17);
  --ajw-radius-sm: 11px;
  --ajw-radius: 17px;
  --ajw-radius-lg: 23px;

  overflow: hidden;
  min-height: 760px;
  padding-bottom: 80px;
  background:
    radial-gradient(circle at 8% 520px, rgba(49, 161, 206, .08), transparent 300px),
    linear-gradient(180deg, #edf8fc 0, #fff 680px, #fff 100%);
  color: var(--ajw-text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.5;
}

.ajw *,
.ajw *::before,
.ajw *::after {
  box-sizing: border-box;
}

.ajw a {
  color: var(--ajw-blue-dark);
  text-underline-offset: 3px;
}

.ajw a:hover,
.ajw a:focus {
  color: var(--ajw-orange-dark);
}

.ajw button,
.ajw input,
.ajw select,
.ajw textarea {
  font: inherit;
}

.ajw-wrap {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

/* ==========================================================
   HERO
   ========================================================== */

.ajw-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 20px 92px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.17), transparent 29%),
    radial-gradient(circle at 90% 12%, rgba(244,123,32,.30), transparent 30%),
    linear-gradient(135deg, var(--ajw-navy-deep) 0%, var(--ajw-navy) 34%, var(--ajw-blue) 72%, #2497c2 100%);
  color: #fff;
}

.ajw-hero::before,
.ajw-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  background: rgba(255,255,255,.045);
}

.ajw-hero::before {
  width: 360px;
  height: 360px;
  left: -185px;
  bottom: -225px;
}

.ajw-hero::after {
  width: 245px;
  height: 245px;
  right: -90px;
  top: -125px;
}

.ajw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr);
  gap: 48px;
  align-items: center;
}

.ajw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.ajw-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb264;
  box-shadow: 0 0 0 5px rgba(255,178,100,.15);
}

.ajw-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.ajw-lead {
  max-width: 780px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
}

.ajw-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.ajw-hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 11px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.ajw-hero-points span::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  font-size: 10px;
}

.ajw-example {
  position: relative;
  overflow: hidden;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.07));
  box-shadow: 0 22px 56px rgba(2, 25, 36, .24);
  backdrop-filter: blur(10px);
}

.ajw-example::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(244,123,32,.15);
}

.ajw-example strong,
.ajw-example p,
.ajw-example small {
  position: relative;
  z-index: 1;
}

.ajw-example strong {
  display: block;
  margin-bottom: 10px;
  color: #ffd7b5;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ajw-example p {
  margin: 0 0 13px;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
}

.ajw-example small {
  display: block;
  color: rgba(255,255,255,.74);
  font-size: 12px;
  line-height: 1.65;
}

/* ==========================================================
   FIL D’ARIANE ET NAVIGATION INTERNE
   ========================================================== */

.ajw-breadcrumb-wrap {
  position: relative;
  z-index: 3;
  margin-top: -38px;
}

.ajw-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid rgba(216,229,235,.96);
  border-radius: 15px;
  background: rgba(255,255,255,.98);
  color: var(--ajw-muted);
  font-size: 12.5px;
  box-shadow: var(--ajw-shadow);
}

.ajw-breadcrumb a {
  color: var(--ajw-blue-dark);
  font-weight: 900;
  text-decoration: none;
}

.ajw-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 13px;
}

.ajw-anchor-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--ajw-border);
  border-radius: 11px;
  background: #fff;
  color: var(--ajw-blue-dark);
  font-size: 11.5px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--ajw-shadow-sm);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ajw-anchor-nav a:hover,
.ajw-anchor-nav a:focus {
  transform: translateY(-2px);
  border-color: var(--ajw-blue);
  background: var(--ajw-soft-blue);
}

/* ==========================================================
   TITRES DE SECTION
   ========================================================== */

.ajw-form-section,
.ajw-results,
.ajw-seo {
  padding-top: 44px;
}

.ajw-section-heading {
  margin-bottom: 23px;
}

.ajw-section-heading > span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: var(--ajw-orange-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.ajw-section-heading h2 {
  max-width: 920px;
  margin: 0 0 9px;
  color: var(--ajw-navy);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: -.018em;
  text-wrap: balance;
}

.ajw-section-heading p {
  max-width: 860px;
  margin: 0;
  color: var(--ajw-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ==========================================================
   ALERTES
   ========================================================== */

.ajw-alert {
  margin-bottom: 19px;
  padding: 18px 20px;
  border-radius: 15px;
  font-size: 13.5px;
  line-height: 1.65;
}

.ajw-alert strong {
  display: block;
  margin-bottom: 7px;
  font-weight: 950;
}

.ajw-alert ul {
  margin: 0;
  padding-left: 20px;
}

.ajw-alert-error {
  border: 1px solid #efc9c6;
  background: var(--ajw-red-soft);
  color: #8e312d;
}

.ajw-alert-warning {
  border: 1px solid #edc99f;
  background: #fff8ef;
  color: #76502d;
}

/* ==========================================================
   FORMULAIRE
   ========================================================== */

.ajw-form {
  display: grid;
  gap: 18px;
}

.ajw-form-card {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--ajw-border);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--ajw-shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ajw-form-card:hover {
  transform: translateY(-2px);
  border-color: var(--ajw-border-strong);
  box-shadow: var(--ajw-shadow);
}

.ajw-form-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -60px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: rgba(21,119,164,.035);
  pointer-events: none;
}

.ajw-form-card-title {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 19px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--ajw-border);
}

.ajw-form-card-title > span,
.ajw-needs legend > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, #e9f7fc, #dff1f8);
  color: var(--ajw-blue-dark);
  font-size: 13px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(21,119,164,.08);
}

.ajw-form-card-title h3,
.ajw-needs legend strong {
  margin: 0;
  color: var(--ajw-navy);
  font-size: 18px;
  font-weight: 950;
}

.ajw-fields {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.ajw-fields-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ajw-fields-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ajw-field {
  display: block;
  min-width: 0;
}

.ajw-field > span {
  display: block;
  margin-bottom: 7px;
  color: #38525f;
  font-size: 12.5px;
  font-weight: 900;
}

.ajw-field em {
  color: var(--ajw-muted);
  font-style: normal;
  font-weight: 650;
}

.ajw-field small {
  display: block;
  margin-top: 7px;
  color: var(--ajw-muted);
  font-size: 10.5px;
  line-height: 1.45;
}

.ajw-field input,
.ajw-field select {
  display: block;
  width: 100%;
  min-height: 47px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid #c9dbe3;
  border-radius: 11px;
  background: #fff;
  color: var(--ajw-text);
  font-size: 13px;
  box-shadow: 0 1px 0 rgba(7,59,83,.02);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ajw-field input:hover,
.ajw-field select:hover {
  border-color: #9fc4d3;
}

.ajw-field input:focus,
.ajw-field select:focus {
  outline: none;
  border-color: var(--ajw-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(21,119,164,.12);
}

.ajw-field-span-2 {
  grid-column: span 2;
}

.ajw-needs {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
}

.ajw-needs legend {
  display: flex;
  gap: 11px;
  align-items: center;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}

.ajw-needs legend small {
  color: var(--ajw-muted);
  font-size: 11px;
  font-weight: 700;
}

.ajw-needs > p {
  margin: 0 0 17px;
  color: var(--ajw-muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.ajw-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ajw-check-grid label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 52px;
  padding: 12px 13px;
  border: 1px solid #dee9ed;
  border-radius: 12px;
  background: #f9fcfd;
  color: var(--ajw-text);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.ajw-check-grid label:hover {
  transform: translateY(-1px);
  border-color: #acd0de;
  background: #f1f9fc;
}

.ajw-check-grid input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--ajw-blue);
}

.ajw-submit-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border: 1px solid #bddce7;
  border-radius: 18px;
  background:
    radial-gradient(circle at 95% 20%, rgba(244,123,32,.08), transparent 28%),
    linear-gradient(135deg, #edf9fd, #fff);
  box-shadow: var(--ajw-shadow-sm);
}

.ajw-submit-row p {
  max-width: 680px;
  margin: 0;
  color: var(--ajw-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

/* ==========================================================
   BOUTONS
   ========================================================== */

.ajw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 17px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 950;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.ajw-btn:hover,
.ajw-btn:focus {
  transform: translateY(-2px);
}

.ajw-btn-primary {
  border: 1px solid var(--ajw-blue);
  background:
    linear-gradient(135deg, var(--ajw-blue-light), var(--ajw-blue-dark));
  color: #fff !important;
  box-shadow: 0 10px 23px rgba(21,119,164,.22);
}

.ajw-btn-primary:hover,
.ajw-btn-primary:focus {
  filter: brightness(1.03);
  box-shadow: 0 14px 28px rgba(21,119,164,.26);
}

.ajw-btn-light {
  border: 1px solid #cddfe6;
  background: #fff;
  color: var(--ajw-blue-dark) !important;
  box-shadow: var(--ajw-shadow-sm);
}

/* ==========================================================
   RÉSULTAT
   ========================================================== */

.ajw-results {
  margin-top: 44px;
  padding-bottom: 14px;
  background:
    radial-gradient(circle at 10% 20%, rgba(21,119,164,.06), transparent 280px),
    linear-gradient(180deg, #eff9fc, #fff);
}

.ajw-print-cover {
  display: none;
}

.ajw-result-actions {
  position: sticky;
  z-index: 12;
  top: 10px;
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid var(--ajw-border);
  border-radius: 19px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--ajw-shadow);
  backdrop-filter: blur(10px);
}

.ajw-result-actions span {
  display: block;
  margin-bottom: 5px;
  color: var(--ajw-green);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ajw-result-actions h2 {
  margin: 0;
  color: var(--ajw-navy);
  font-size: 26px;
  font-weight: 950;
  line-height: 1.25;
}

.ajw-action-buttons {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ==========================================================
   KPI
   ========================================================== */

.ajw-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 20px;
}

.ajw-kpis > div {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--ajw-border);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: var(--ajw-shadow-sm);
}

.ajw-kpis > div::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -45px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(21,119,164,.045);
}

.ajw-kpis strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--ajw-navy);
  font-size: 29px;
  font-weight: 950;
}

.ajw-kpis span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 5px;
  color: var(--ajw-muted);
  font-size: 11px;
  font-weight: 800;
}

.ajw-kpi-ok {
  border-color: #c9e6d9 !important;
  background: var(--ajw-green-soft) !important;
}

.ajw-kpi-warn {
  border-color: #efd0af !important;
  background: var(--ajw-orange-soft) !important;
}

/* ==========================================================
   FIL ROUGE
   ========================================================== */

.ajw-story-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 22px;
  margin-bottom: 22px;
  padding: 27px;
  border: 1px solid var(--ajw-border);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--ajw-shadow-sm);
}

.ajw-story-card .ajw-eyebrow {
  color: var(--ajw-blue-dark);
  border-color: #c5e0eb;
  background: var(--ajw-soft-blue);
}

.ajw-story-card h2 {
  margin: 0 0 11px;
  color: var(--ajw-navy);
  font-size: 27px;
  font-weight: 950;
  line-height: 1.25;
}

.ajw-story-card p {
  margin: 0;
  color: var(--ajw-muted);
  font-size: 14px;
  line-height: 1.75;
}

.ajw-story-final {
  padding: 21px;
  border: 1px solid #edcba6;
  border-radius: 15px;
  background:
    radial-gradient(circle at 90% 20%, rgba(244,123,32,.09), transparent 35%),
    #fff8f1;
}

.ajw-story-final strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ajw-orange-dark);
  font-size: 12px;
  font-weight: 950;
}

.ajw-story-final small {
  display: block;
  margin-top: 10px;
  color: var(--ajw-muted);
  font-size: 11px;
  line-height: 1.55;
}

/* ==========================================================
   PLANNING SUR 5 JOURS
   ========================================================== */

.ajw-schedule,
.ajw-details,
.ajw-materials,
.ajw-checklist {
  margin-top: 38px;
}

.ajw-day-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ajw-day-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ajw-border);
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--ajw-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ajw-day-card:hover {
  transform: translateY(-3px);
  border-color: #b6d5e1;
  box-shadow: var(--ajw-shadow);
}

.ajw-day-card > header {
  min-height: 156px;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.12), transparent 35%),
    linear-gradient(145deg, var(--ajw-navy), var(--ajw-blue));
  color: #fff;
}

.ajw-day-card:nth-child(2) > header {
  background: linear-gradient(145deg, #0b4966, #1b86b0);
}

.ajw-day-card:nth-child(3) > header {
  background: linear-gradient(145deg, #0b5068, #2994b9);
}

.ajw-day-card:nth-child(4) > header {
  background: linear-gradient(145deg, #0b596b, #35a0bd);
}

.ajw-day-card:nth-child(5) > header {
  background: linear-gradient(145deg, #8d450f, var(--ajw-orange));
}

.ajw-day-card > header span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,.75);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ajw-day-card > header h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.4;
}

.ajw-day-card > header p {
  margin: 0;
  color: rgba(255,255,255,.80);
  font-size: 11px;
  line-height: 1.55;
}

.ajw-slot {
  padding: 15px;
  border-bottom: 1px solid #e5edf1;
}

.ajw-slot-final {
  border-left: 4px solid var(--ajw-orange);
  background: #fff8f1;
}

.ajw-slot-top {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--ajw-muted);
  font-size: 9.5px;
  font-weight: 750;
}

.ajw-slot h4 {
  margin: 0 0 6px;
  color: var(--ajw-navy);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.4;
}

.ajw-slot p {
  margin: 0;
  color: var(--ajw-muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.ajw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.ajw-tags span {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--ajw-soft-blue);
  color: var(--ajw-blue-dark);
  font-size: 8.5px;
  font-weight: 900;
}

.ajw-backup-mini {
  padding: 13px 15px;
  background: #f7fbfd;
}

.ajw-backup-mini strong,
.ajw-backup-mini span {
  display: block;
}

.ajw-backup-mini strong {
  margin-bottom: 4px;
  color: var(--ajw-orange-dark);
  font-size: 9.5px;
  font-weight: 950;
}

.ajw-backup-mini span {
  color: var(--ajw-muted);
  font-size: 10px;
  line-height: 1.45;
}

/* ==========================================================
   FICHES DÉTAILLÉES
   ========================================================== */

.ajw-detail-day {
  margin-bottom: 25px;
}

.ajw-detail-day > h3 {
  margin: 0 0 13px;
  color: var(--ajw-navy);
  font-size: 21px;
  font-weight: 950;
}

.ajw-activity {
  margin-bottom: 11px;
  overflow: hidden;
  border: 1px solid var(--ajw-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--ajw-shadow-sm);
}

.ajw-activity[open] {
  border-color: #b7d6e1;
  box-shadow: var(--ajw-shadow);
}

.ajw-activity-final {
  border-color: #edc99f;
}

.ajw-activity summary {
  position: relative;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 18px 48px 18px 20px;
  cursor: pointer;
  list-style: none;
}

.ajw-activity summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  transform: translateY(-50%);
  border-radius: 8px;
  background: var(--ajw-soft-blue);
  color: var(--ajw-blue-dark);
  font-size: 17px;
  font-weight: 950;
}

.ajw-activity[open] summary::after {
  content: "−";
  background: var(--ajw-orange-soft);
  color: var(--ajw-orange-dark);
}

.ajw-activity summary::-webkit-details-marker {
  display: none;
}

.ajw-activity summary span {
  color: var(--ajw-blue-dark);
  font-size: 11px;
  font-weight: 900;
}

.ajw-activity summary strong {
  color: var(--ajw-navy);
  font-size: 14px;
  font-weight: 950;
}

.ajw-activity summary small {
  color: var(--ajw-muted);
  font-size: 10px;
  text-align: right;
}

.ajw-activity-body {
  padding: 21px;
  border-top: 1px solid var(--ajw-border);
  background: #fbfdfe;
}

.ajw-activity-body h4 {
  margin: 0 0 7px;
  color: var(--ajw-navy);
  font-size: 13px;
  font-weight: 950;
}

.ajw-activity-body p,
.ajw-activity-body li {
  color: var(--ajw-muted);
  font-size: 12px;
  line-height: 1.68;
}

.ajw-activity-intro,
.ajw-activity-columns,
.ajw-safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.ajw-inline-warning {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #edcba6;
  border-radius: 12px;
  background: #fff8f1;
  color: #76502d;
  font-size: 12px;
  line-height: 1.65;
}

.ajw-timeline {
  display: grid;
  gap: 8px;
  margin: 0 0 21px;
  padding: 0;
  list-style: none;
}

.ajw-timeline li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid #dfe9ed;
  border-radius: 11px;
  background: #fff;
}

.ajw-timeline span {
  color: var(--ajw-blue-dark);
  font-weight: 950;
}

.ajw-backup-card {
  padding: 19px;
  border: 1px solid #edcba6;
  border-radius: 15px;
  background: #fff8f1;
}

.ajw-backup-card > span {
  display: block;
  margin-bottom: 5px;
  color: var(--ajw-orange-dark);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ajw-backup-card h4 {
  margin: 0 0 8px;
  color: var(--ajw-navy);
  font-size: 15px;
  font-weight: 950;
}

.ajw-backup-card p {
  margin: 0 0 7px;
  color: var(--ajw-muted);
  font-size: 11.5px;
  line-height: 1.65;
}

/* ==========================================================
   BUDGET ET MATÉRIEL
   ========================================================== */

.ajw-budget-box {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 20px 22px;
  border-radius: 15px;
}

.ajw-budget-box span,
.ajw-budget-box strong {
  display: block;
}

.ajw-budget-box span {
  color: var(--ajw-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ajw-budget-box strong {
  color: var(--ajw-navy);
  font-size: 29px;
  font-weight: 950;
}

.ajw-budget-box p {
  max-width: 690px;
  margin: 0;
  color: var(--ajw-muted);
  font-size: 12px;
  line-height: 1.65;
}

.ajw-budget-ok {
  border: 1px solid #c9e6d9;
  background: var(--ajw-green-soft);
}

.ajw-budget-over {
  border: 1px solid #edcba6;
  background: var(--ajw-orange-soft);
}

.ajw-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ajw-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--ajw-shadow-sm);
}

.ajw-table-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 11.5px;
}

.ajw-table-wrap th,
.ajw-table-wrap td {
  padding: 13px 14px;
  border-bottom: 1px solid #e5edf1;
  text-align: left;
  vertical-align: top;
}

.ajw-table-wrap th {
  background: #edf8fc;
  color: var(--ajw-navy);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.ajw-table-wrap tbody tr:nth-child(even) {
  background: #fbfdfe;
}

.ajw-table-wrap tbody tr:hover {
  background: #f2f9fc;
}

.ajw-table-wrap td {
  color: var(--ajw-muted);
}

.ajw-table-wrap td strong,
.ajw-table-wrap td small {
  display: block;
}

.ajw-table-wrap td strong {
  color: var(--ajw-navy);
}

.ajw-table-wrap td small {
  margin-top: 3px;
  color: #83959e;
  font-size: 9.5px;
}

.ajw-status-ok {
  color: var(--ajw-green);
  font-weight: 950;
}

/* ==========================================================
   CHECKLIST
   ========================================================== */

.ajw-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ajw-checklist-grid label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 14px;
  border: 1px solid #dfe9ed;
  border-radius: 12px;
  background: #fff;
  color: var(--ajw-muted);
  font-size: 11.5px;
  line-height: 1.58;
  box-shadow: 0 4px 14px rgba(7,59,83,.035);
}

.ajw-checklist-grid label span {
  color: var(--ajw-blue-dark);
  font-size: 16px;
  font-weight: 950;
}

.ajw-professional-note {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid #bddce7;
  border-radius: 14px;
  background: #edf9fd;
}

.ajw-professional-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ajw-navy);
  font-size: 12px;
  font-weight: 950;
}

.ajw-professional-note p {
  margin: 0;
  color: var(--ajw-muted);
  font-size: 11.5px;
  line-height: 1.65;
}

.ajw-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-top: 27px;
}

/* ==========================================================
   CONTENU SEO ET FAQ
   ========================================================== */

.ajw-seo {
  margin-top: 40px;
}

.ajw-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ajw-seo-grid article,
.ajw-seo-content,
.ajw-faq {
  padding: 24px;
  border: 1px solid var(--ajw-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--ajw-shadow-sm);
}

.ajw-seo-grid article {
  position: relative;
  overflow: hidden;
}

.ajw-seo-grid article::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: rgba(21,119,164,.04);
}

.ajw-seo-grid h3,
.ajw-seo-content h2,
.ajw-faq h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--ajw-navy);
  font-weight: 950;
  line-height: 1.35;
}

.ajw-seo-grid h3 {
  font-size: 16px;
}

.ajw-seo-content,
.ajw-faq {
  margin-top: 19px;
}

.ajw-seo-content h2,
.ajw-faq h2 {
  font-size: 24px;
}

.ajw-seo-grid p,
.ajw-seo-content p,
.ajw-faq p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ajw-muted);
  font-size: 13px;
  line-height: 1.75;
}

.ajw-seo-content p + p {
  margin-top: 12px;
}

.ajw-faq details {
  border-top: 1px solid var(--ajw-border);
}

.ajw-faq details:first-of-type {
  border-top: 0;
}

.ajw-faq summary {
  position: relative;
  padding: 16px 38px 16px 0;
  color: var(--ajw-navy);
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

.ajw-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  transform: translateY(-50%);
  border-radius: 8px;
  background: var(--ajw-soft-blue);
  color: var(--ajw-blue-dark);
  font-size: 16px;
}

.ajw-faq details[open] summary::after {
  content: "−";
  background: var(--ajw-orange-soft);
  color: var(--ajw-orange-dark);
}

.ajw-faq summary::-webkit-details-marker {
  display: none;
}

.ajw-faq details p {
  padding: 0 0 17px;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1080px) {
  .ajw-day-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .ajw-hero-grid {
    grid-template-columns: 1fr;
  }

  .ajw-example {
    max-width: 660px;
  }

  .ajw-fields-3,
  .ajw-check-grid,
  .ajw-seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ajw-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ajw-story-card {
    grid-template-columns: 1fr;
  }

  .ajw-day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ajw-result-actions {
    position: static;
  }
}

@media (max-width: 700px) {
  .ajw {
    padding-bottom: 50px;
  }

  .ajw-wrap {
    width: min(100% - 20px, 1220px);
  }

  .ajw-hero {
    padding: 50px 15px 66px;
  }

  .ajw-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .ajw-hero-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ajw-breadcrumb-wrap {
    margin-top: -24px;
  }

  .ajw-anchor-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ajw-anchor-nav a {
    justify-content: center;
  }

  .ajw-form-section,
  .ajw-results,
  .ajw-seo {
    padding-top: 32px;
  }

  .ajw-fields-2,
  .ajw-fields-3,
  .ajw-check-grid,
  .ajw-kpis,
  .ajw-day-grid,
  .ajw-checklist-grid,
  .ajw-seo-grid {
    grid-template-columns: 1fr;
  }

  .ajw-field-span-2 {
    grid-column: auto;
  }

  .ajw-form-card {
    padding: 20px 17px;
  }

  .ajw-submit-row,
  .ajw-result-actions,
  .ajw-budget-box {
    align-items: stretch;
    flex-direction: column;
  }

  .ajw-submit-row .ajw-btn,
  .ajw-action-buttons,
  .ajw-action-buttons .ajw-btn {
    width: 100%;
  }

  .ajw-action-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ajw-story-card {
    padding: 21px 18px;
  }

  .ajw-day-card > header {
    min-height: 0;
  }

  .ajw-activity summary {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-right: 52px;
  }

  .ajw-activity summary small {
    text-align: left;
  }

  .ajw-activity-intro,
  .ajw-activity-columns,
  .ajw-safety-grid {
    grid-template-columns: 1fr;
  }

  .ajw-timeline li {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .ajw-seo-content,
  .ajw-faq,
  .ajw-seo-grid article {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ajw *,
  .ajw *::before,
  .ajw *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ==========================================================
   IMPRESSION / PDF
   ========================================================== */

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  body {
    background: #fff !important;
  }

  .ajw {
    min-height: 0;
    padding: 0;
    background: #fff;
    color: #111;
    font-family: Arial, sans-serif;
  }

  .ajw-no-print {
    display: none !important;
  }

  .ajw-print-cover {
    display: block;
    min-height: 250mm;
    page-break-after: always;
    padding: 28mm 18mm;
    border: 2px solid #073b53;
  }

  .ajw-print-brand {
    display: block;
    margin-bottom: 20px;
    color: #555;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .ajw-print-cover h2 {
    margin: 0 0 20px;
    color: #073b53;
    font-size: 31px;
    line-height: 1.2;
  }

  .ajw-print-cover p {
    font-size: 13px;
    line-height: 1.6;
  }

  .ajw-print-meta {
    margin-top: 26px;
    color: #555;
    font-size: 10px;
  }

  .ajw-wrap {
    width: 100%;
    margin: 0;
  }

  .ajw-results {
    margin: 0;
    padding: 0;
    background: #fff;
  }

  .ajw-section-heading h2 {
    color: #073b53;
    font-size: 21px;
  }

  .ajw-story-card,
  .ajw-day-card,
  .ajw-activity,
  .ajw-backup-card,
  .ajw-materials,
  .ajw-checklist,
  .ajw-kpis > div {
    break-inside: avoid;
    box-shadow: none !important;
  }

  .ajw-story-card,
  .ajw-day-card,
  .ajw-activity,
  .ajw-table-wrap {
    border-color: #aaa;
  }

  .ajw-day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8mm;
  }

  .ajw-day-card > header {
    min-height: 0;
    background: #073b53 !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .ajw-slot-final,
  .ajw-story-final,
  .ajw-budget-over,
  .ajw-budget-ok {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .ajw-activity {
    display: block;
  }

  .ajw-activity > summary {
    display: grid;
  }

  .ajw-activity summary::after,
  .ajw-faq summary::after {
    display: none;
  }

  .ajw-activity-body {
    display: block !important;
  }

  .ajw-table-wrap {
    overflow: visible;
  }

  .ajw-table-wrap table {
    min-width: 0;
    font-size: 8.5px;
  }

  .ajw-table-wrap th,
  .ajw-table-wrap td {
    padding: 6px;
  }

  .ajw-seo {
    display: none;
  }
}
