/* local_automatismes — Roboto, nuancier de la charte, gris Ardoise (extension du 2026-09-11).
   Lycee = primaires (sapin / hawai / orangeade), college = bleu terra : regle de cycle. */
.au-landing {
  --sapin:#0e5c4b; --hawai:#39b8b0; --orangeade:#f59c27; --creme:#feebcc; --terra:#1F527D;
  --ardoise:#515b59; --ardoise-claire:#6d7977; --brume:#8d9795; --filet:#e4e6e6;
  font-family: Roboto, system-ui, sans-serif; color: var(--ardoise);
  max-width: 1000px; margin: 0 auto; padding: 8px 20px 56px;
}
.au-landing h1 { font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; color: var(--sapin); letter-spacing: -.02em; line-height: 1.1; margin: 8px 0 12px; }
.au-landing h2 { font-size: 1.25rem; font-weight: 700; color: var(--sapin); margin: 26px 0 10px; }
.au-kicker { display: inline-block; background: var(--creme); color: var(--sapin); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 6px 14px; border-radius: 50px; margin-top: 28px; }
.au-lead { font-size: 1.1rem; color: var(--ardoise-claire); max-width: 640px; line-height: 1.6; }
.au-crumbs { font-size: .9em; color: var(--brume); margin: 14px 0 0; }
.au-crumbs a { color: var(--sapin); }
.au-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; margin-top: 28px; }
.au-card { border: 1px solid var(--filet); border-radius: 8px; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.08); overflow: hidden; display: flex; flex-direction: column; }
.au-card-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; background: #f8f9fa; border-bottom: 1px solid var(--filet); }
.au-card-body { padding: 16px 15px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.au-card-body h2 { margin: 0; font-size: 1.15rem; }
.au-card-body p { margin: 0; color: var(--ardoise-claire); }
.au-pill { display: inline-block; padding: 4px 12px; border-radius: 15px; font-size: .85em; font-weight: 700; color: #fff; }
.au-card-lycee .au-pill { background: var(--orangeade); }
.au-card-college .au-pill { background: var(--terra); }
.au-format { font-size: .85em; color: var(--ardoise-claire); }
.au-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 50px; background: var(--sapin); color: #fff !important; font-weight: 700; text-decoration: none !important; margin-top: auto; }
.au-btn-soon { background: var(--creme); color: var(--sapin) !important; }
.au-soon { display: inline-block; background: var(--creme); color: var(--sapin); padding: 10px 16px; border-radius: 8px; font-weight: 500; }
.au-how ol { padding-left: 1.2em; line-height: 1.7; }
.au-theme-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 8px; }
.au-theme-list li { padding: 10px 14px; border: 1px solid var(--filet); border-radius: 8px; background: #fff; color: var(--ardoise-claire); }
.au-theme-list li.au-ready { border-color: var(--hawai); color: var(--ardoise); }
.au-college .au-theme-list li.au-ready { border-color: var(--terra); }

/* --- joueur (phase 2, 2026-09-14) --- */
.au-run { --sapin:#0e5c4b; --hawai:#39b8b0; --orangeade:#f59c27; --creme:#feebcc; --terra:#1F527D; --ardoise:#515b59; --ardoise-claire:#6d7977; --brume:#8d9795; --filet:#e4e6e6;
  font-family: Roboto, system-ui, sans-serif; color: var(--ardoise); max-width: 960px; margin: 0 auto; padding: 8px 20px 56px; }
.au-card { background: #fff; border: 1px solid var(--filet); border-radius: 18px; box-shadow: 0 6px 24px rgba(14,92,75,.08); overflow: hidden; margin-top: 22px; }
.au-run-bar { display: flex; flex-direction: column; gap: 6px; padding: 14px 24px 12px; background: none; border: 0; margin: 0; }
.au-run-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.au-run-row-2 { align-items: flex-start; }
.au-run-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; text-align: right; }
.au-run-cycle { font-weight: 700; color: var(--sapin); }
.au-run-theme { display: inline-block; padding: 4px 12px; border-radius: 15px; font-size: .85em; font-weight: 600; border: 0; color: var(--sapin); background: var(--creme); }
.au-college .au-run-theme { color: #fff; background: var(--terra); }
.au-run-counter { font-variant-numeric: tabular-nums; color: var(--ardoise-claire); }
.au-run-timer { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; font-weight: 800; color: var(--sapin); background: none; border: 0; padding: 0; font-size: 1.45rem; letter-spacing: .5px; }
.au-timer-ico { flex: none; opacity: .75; }
.au-college .au-run-timer { color: var(--terra); }
.au-run-pos { font-weight: 700; color: var(--ardoise); }
.au-run-progress { height: 6px; background: #eef1f0; border-radius: 0; margin: 0; overflow: hidden; }
.au-run-progress-fill { height: 100%; background: var(--orangeade); transition: width .4s ease; }
.au-college .au-run-progress-fill { background: var(--terra); }
.au-run-body { position: relative; padding: 18px 24px 0; }
.au-run-help { font-size: .95em; color: var(--brume); margin: 0 0 6px; }
.au-run-help-error { color: #b42318; }
.au-run-stage { position: relative; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.au-frame { display: block; width: 100%; border: 0; margin-bottom: -19px; }
.au-run-veil { position: absolute; inset: -8px; background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.au-spinner { width: 34px; height: 34px; border: 4px solid var(--filet); border-top-color: var(--sapin); border-radius: 50%; animation: au-spin .8s linear infinite; }
@keyframes au-spin { to { transform: rotate(360deg); } }
.au-run-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 24px 16px; margin: 0; border-top: 1px solid var(--filet); background: #fcfdfd; }
.au-btn-skip { background: none; border: 0; color: var(--brume); text-decoration: underline; cursor: pointer; font: inherit; padding: 8px 0; }
.au-btn-skip:hover { color: var(--ardoise); }
.au-run .au-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 50px; background: var(--sapin); color: #fff !important; font-weight: 700; border: 0; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none !important; margin-left: auto; }
.au-run-verdict { margin: 4px 24px 0; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.au-v-ok { background: #e6f4ea; color: var(--sapin); }
.au-v-ko { background: #fdecea; color: #b42318; }
.au-v-skip { background: var(--creme); color: var(--sapin); }
body.au-run-page.pagelayout-standard #page.drawers #topofscroll.main-inner { max-width: 1040px !important; }
@media (max-width: 600px) { .au-run { padding: 4px 10px 36px; }
  .au-card { border-radius: 14px; }
  .au-run-bar { padding: 12px 14px 10px; }
  .au-run-cycle { font-size: .95rem; }
  .au-run-theme { font-size: .78em; }
  .au-run-body { padding: 14px 12px 0; }
  .au-run-actions { padding: 12px 14px; }
  .au-run-verdict { margin: 4px 14px 0; } }

/* --- page de cycle : démarrage / reprise --- */
.au-start-form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 8px 0 4px; }
.au-start-form .au-btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; margin-top: 0; }
.au-btn-soft { background: var(--creme) !important; color: var(--sapin) !important; }
.au-resume-note { width: 100%; margin: 0 0 4px; color: var(--ardoise-claire); }
.au-next-note { color: var(--ardoise-claire); font-size: .95em; }

/* --- bilan : tableau de bord (v2, 2026-09-15) --- */
.au-db-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 12px; }
.au-db-ring { flex: none; }
.au-db-headtext { flex: 1; min-width: 240px; }
.au-db-headtext .au-kicker { margin-top: 0; }
.au-bilan h1 { margin: 8px 0 4px; }
.au-db-delta { margin: 0 0 12px; color: var(--ardoise-claire); font-size: 1.05rem; }
.au-dots { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.au-dots li { display: flex; flex-direction: column; align-items: center; width: 56px; }
.au-dot-n { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85em; color: #fff; }
.au-ok .au-dot-n { background: var(--hawai); } .au-ko .au-dot-n { background: #e05a4e; } .au-skipped .au-dot-n { background: var(--filet); color: var(--brume); }
.au-dot-t { font-size: .68em; color: var(--brume); text-align: center; line-height: 1.15; margin-top: 3px; max-width: 56px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-db-counts { margin: 10px 0 0; font-size: .95em; color: var(--ardoise-claire); }
.au-c-ok { color: var(--sapin); font-weight: 700; } .au-c-ko { color: #b42318; font-weight: 700; } .au-c-skip { color: var(--brume); }
.au-db-cta { margin: 18px 0 8px; }
.au-next-form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 8px; }
.au-next-form .au-btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; margin-top: 0; }
.au-account-line { margin: 0; font-size: .92em; color: var(--ardoise-claire); }
.au-account-line a { color: var(--sapin); font-weight: 600; }
.au-account-google img { vertical-align: -3px; margin-right: 2px; }
.au-db-grid { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); gap: 16px; margin-top: 18px; }
.au-db-card { border: 1px solid var(--filet); border-radius: 10px; background: #fff; padding: 14px 16px; box-shadow: 0 2px 5px rgba(0,0,0,.06); }
.au-db-card h2 { font-size: 1.05rem; margin: 0 0 10px; }
.au-bars-wrap { overflow-x: auto; }
.au-bars { display: block; max-width: 100%; }
.au-db-note { color: var(--ardoise-claire); font-size: .88em; margin: 6px 0 10px; }
.au-states { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.au-states li { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 8px; background: #f8f9fa; position: relative; }
.au-st-n { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.au-st-acquis .au-st-n { color: var(--hawai); } .au-st-encours .au-st-n { color: var(--orangeade); } .au-st-nouveau .au-st-n { color: var(--brume); }
.au-st-l { font-size: .7em; color: var(--ardoise-claire); text-transform: uppercase; letter-spacing: .4px; margin-top: 4px; text-align: center; }
.au-st-d { position: absolute; top: 4px; right: 6px; font-size: .75em; font-weight: 700; color: var(--sapin); }
.au-db-themes h3 { font-size: .78em; text-transform: uppercase; letter-spacing: .6px; color: var(--ardoise-claire); margin: 10px 0 6px; font-weight: 700; }
.au-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.au-tile-t { padding: 7px 9px; border-radius: 8px; background: #f8f9fa; border: 1px solid var(--filet); font-size: .88em; color: var(--ardoise); }
.au-tile-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-gauge { display: block; height: 6px; border-radius: 3px; background: var(--filet); margin-top: 5px; overflow: hidden; }
.au-gauge-fill { display: block; height: 100%; border-radius: 3px; background: var(--brume); }
.au-th-acquis .au-gauge-fill { background: var(--hawai); } .au-th-encours .au-gauge-fill { background: var(--orangeade); }
.au-th-acquis { border-color: var(--hawai); } .au-th-encours { border-color: var(--orangeade); }
.au-th-nouveau { color: var(--brume); }
.au-touched .au-tile-name::after { content: ' ●'; color: var(--orangeade); font-size: .7em; vertical-align: middle; }
.au-legend { color: var(--ardoise-claire); font-size: .82em; margin: 10px 0 0; }
.au-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 5px 0 12px; vertical-align: middle; }
.au-legend .au-dot:first-child { margin-left: 0; }
.au-dot-acquis { background: var(--hawai); } .au-dot-encours { background: var(--orangeade); } .au-dot-nouveau { background: var(--filet); border: 1px solid var(--brume); }
.au-dot-touched { color: var(--orangeade); font-size: .7em; margin: 0 4px 0 12px; }
.au-details { margin-top: 18px; color: var(--ardoise-claire); }
.au-details summary { cursor: pointer; color: var(--sapin); font-weight: 600; }
.au-lines { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px; counter-reset: q; }
.au-lines li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--filet); border-radius: 8px; background: #fff; font-size: .95em; }
.au-lines li::before { counter-increment: q; content: counter(q); width: 22px; color: var(--brume); font-variant-numeric: tabular-nums; }
.au-line-mark { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.au-ok .au-line-mark { background: var(--hawai); } .au-ko .au-line-mark { background: #e05a4e; } .au-skipped .au-line-mark { background: var(--filet); border: 1px solid var(--brume); }
.au-table { width: 100%; border-collapse: collapse; font-size: .92em; margin-top: 8px; }
.au-table th, .au-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--filet); }
.au-note { color: var(--ardoise-claire); font-size: .92em; margin-top: 14px; }
@media (max-width: 700px) {
  .au-db-grid { grid-template-columns: 1fr; }
  .au-tiles { grid-template-columns: repeat(2, 1fr); }
  .au-dots li { width: 34px; } .au-dot-t { display: none; }
  .au-db-head { gap: 14px; }
}

/* --- accueil retouché (2026-09-15) : mise en valeur charte --- */
.au-landing .au-lead strong, .au-landing .au-who strong, .au-landing .au-how strong, .au-landing .au-exam strong { color: var(--sapin); font-weight: 700; }
.au-card-body .au-who { color: var(--ardoise); line-height: 1.5; }
.au-card-lycee .au-card-body h2 { color: var(--orangeade); }
.au-card-college .au-card-body h2 { color: var(--terra); }
.au-how ol li { margin-bottom: 6px; }
.au-free { display: inline-block; margin-top: 14px; padding: 10px 16px; border-radius: 8px; background: var(--creme); color: var(--sapin); }
.au-exam { color: var(--ardoise-claire); max-width: 640px; line-height: 1.6; margin-top: -6px; }

/* --- bilan : carte compte mise en valeur (2026-09-15) --- */
.au-account-card { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 12px 0 0; padding: 14px 18px; border-radius: 10px; background: var(--creme); border: 1px solid #f3dd9a; color: var(--sapin); }
.au-account-icon { font-size: 1.7rem; line-height: 1; }
.au-account-body { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 2px; }
.au-account-body strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 4px; }
.au-account-body span { color: var(--ardoise); font-size: .95em; }
.au-account-actions { flex: 0 0 auto; width: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.au-account-actions .gsi-material-button { margin: 0 auto; }
@media (max-width: 700px) { .au-account-actions { width: 100%; } }
.au-account-link { font-size: .92em; color: var(--sapin) !important; font-weight: 600; }

/* --- tableau de bord (/automatismes/moi), 2026-09-16 --- */
.au-moi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 22px; align-items: start; }
/* Tableau de bord : la carte dont on ouvre le choix prend toute la largeur, sinon la grille des
   thèmes se retrouve dans une colonne étroite. */
.au-moi-card:has(.au-choice:not([hidden])) { grid-column: 1 / -1; }
.au-moi-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.au-moi-head h2 { margin: 0; }
.au-moi-format { color: var(--ardoise-claire); font-size: .95em; }
.au-moi-card .au-start { margin: 14px 0 6px; }
.au-moi-stats { border-top: 1px solid var(--filet); padding-top: 12px; margin-top: 4px; }
.au-moi-links { margin: 10px 0 0; font-size: .95em; }
.au-moi-card { border: 1px solid var(--filet); border-radius: 10px; background: #fff; padding: 16px 18px; box-shadow: 0 2px 5px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 10px; }
.au-moi-card h2 { margin: 0; font-size: 1.15rem; }
.au-moi-lycee h2 { color: var(--orangeade); } .au-moi-college h2 { color: var(--terra); }
.au-moi-empty { color: var(--ardoise-claire); }
.au-moi-meta { color: var(--ardoise-claire); font-size: .92em; }
.au-moi-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.au-moi-actions .au-btn { margin: 0; height: 42px; padding: 0 18px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.au-moi-actions .au-btn-soft { background: var(--creme) !important; color: var(--sapin) !important; }
.au-moi-card .au-states { margin-top: 4px; }
.au-moi-card .au-bars { max-width: 100%; height: auto; }

/* --- session sur mesure (2026-09-17) --- */
.au-custom { margin: 14px 0 6px; border: 1px solid var(--filet); border-radius: 10px; background: #fff; padding: 10px 16px; }
.au-custom summary { cursor: pointer; font-weight: 700; color: var(--sapin); font-size: 1.05rem; }
.au-custom-form .au-custom-lead { color: var(--ardoise-claire); margin: 8px 0 4px; }
.au-custom-form h3 { font-size: .78em; text-transform: uppercase; letter-spacing: .6px; color: var(--ardoise-claire); margin: 12px 0 6px; font-weight: 700; }
.au-custom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 6px; }
.au-check { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--filet); border-radius: 10px; cursor: pointer; font-size: .95em; color: var(--ardoise); background: #fff; transition: border-color .15s ease, background-color .15s ease, transform .12s ease; }
.au-check:hover { transform: translateY(-1px); }
.au-check-off { opacity: .5; cursor: default; }

/* Une couleur par grande famille de thèmes : le titre du domaine et le fond des vignettes.
   Les quatre teintes viennent du nuancier (sapin, hawaï, orangeade, kaki — ce dernier était la
   réserve prévue par la charte). Les titres sont assombris pour tenir 4,5:1 sur blanc. */
.au-dom { margin-bottom: 14px; }
.au-dom h3 { color: var(--dom); border-bottom: 2px solid var(--domline); padding-bottom: 4px; }
.au-dom .au-check { background: var(--domfond); border-color: var(--domline); }
.au-dom .au-check:hover { border-color: var(--dom); }
.au-dom .au-check:has(input:checked) { border-color: var(--dom); background: var(--domfort); box-shadow: 0 2px 8px rgba(14,92,75,.12); font-weight: 600; }
.au-dom .au-check input { accent-color: var(--dom); flex: none; width: 17px; height: 17px; }
.au-dom-CALC  { --dom: #0e5c4b; --domline: #cfe2dc; --domfond: #f2f8f6; --domfort: #e2efea; }
.au-dom-GRAPH { --dom: #1f7d76; --domline: #cdeae7; --domfond: #f1fafa; --domfort: #dff3f1; }
.au-dom-DATA  { --dom: #a4610d; --domline: #f6ddb9; --domfond: #fff8ee; --domfort: #fdeed6; }
.au-dom-GEOM  { --dom: #7a6914; --domline: #e6dfbe; --domfond: #faf8ee; --domfort: #f2ecd6; }
.au-custom-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; }
.au-custom-actions .au-btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; margin-top: 0; }
.au-custom-actions .au-btn:disabled { opacity: .45; cursor: not-allowed; }
.au-run-custom { display: inline-block; margin-left: 8px; padding: 4px 10px; border-radius: 15px; font-size: .8em; background: var(--creme); color: var(--sapin); font-weight: 700; }
.au-custom-badge { margin: 0 0 8px; color: var(--sapin); font-weight: 600; }

/* --- page de cycle v2 (2026-09-17) --- */
.au-cycle .au-crumbs { margin: 0 0 22px; }
.au-cycle h1 { margin: 4px 0 10px; }
.au-cycle .au-kicker { margin: 0 0 14px; }
.au-cycle .au-lead { margin: 0 0 6px; }
.au-cycle .au-exam { margin: 0 0 8px; }
.au-start { margin: 30px 0 26px; text-align: center; }
.au-start-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.au-start-buttons form { margin: 0; }
.au-btn-big { height: 54px; padding: 0 34px; font-size: 1.08rem; border: 0; cursor: pointer; font-family: inherit; }
.au-resume-note { margin: 0 0 10px; color: var(--ardoise-claire); }
.au-center { text-align: center; margin-top: 10px; }
.au-choice { margin-top: 18px; text-align: left; }
.au-choice-title { text-align: center; font-weight: 700; color: var(--sapin); font-size: 1.2rem; margin: 0 0 14px; }
.au-choice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; max-width: 760px; margin: 0 auto; }
.au-choice-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 20px; border: 2px solid var(--filet); border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.06); margin: 0; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease, opacity .18s ease; }
.au-choice-card:hover, .au-choice-card:focus-within { transform: translateY(-4px); border-color: var(--orangeade); box-shadow: 0 10px 24px rgba(14,92,75,.16); }
.au-college .au-choice-card:hover, .au-college .au-choice-card:focus-within { border-color: var(--terra); }
.au-choice-card:hover .au-choice-ico { transform: scale(1.18) rotate(-6deg); }
.au-choice-card:active { transform: translateY(-1px) scale(.985); }
.au-choice-card::after { content: '✓'; position: absolute; top: 10px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--orangeade); color: #fff; font-weight: 800; font-size: .95rem; line-height: 26px; opacity: 0; transform: scale(.4); transition: opacity .18s ease, transform .22s cubic-bezier(.34,1.56,.64,1); }
.au-college .au-choice-card::after { background: var(--terra); }
.au-choice-card-active::after { opacity: 1; transform: scale(1); }
.au-choice-cards.au-has-choice .au-choice-card:not(.au-choice-card-active) { opacity: .55; transform: none; box-shadow: 0 2px 6px rgba(0,0,0,.06); border-color: var(--filet); }
.au-choice-cards.au-has-choice .au-choice-card:not(.au-choice-card-active):hover { opacity: 1; }
.au-choice-card.au-choice-card-busy .au-btn { opacity: .7; pointer-events: none; }
/* Décompte avant la session */
.au-count { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: rgba(14,92,75,.985); color: #fff; text-align: center; padding: 24px; animation: au-fade .25s ease; }
.au-count-college { background: rgba(31,82,125,.985); }
body.au-counting #custom-cookie-banner, body.au-counting .toast-wrapper { display: none !important; }
.au-count-num { font-size: clamp(6rem, 22vw, 11rem); font-weight: 900; line-height: 1; color: #fff; animation: au-pop .9s ease-out; }
.au-count-num.au-go { color: var(--orangeade); }
.au-count-tip { max-width: 30rem; font-size: 1.25rem; line-height: 1.5; color: #fff; background: rgba(255,255,255,.12); border-radius: 14px; padding: 14px 20px; }
.au-count-tip strong { color: var(--creme); }
.au-count-sub { color: rgba(255,255,255,.75); font-size: .95rem; }
@keyframes au-pop { 0% { transform: scale(.5); opacity: 0; } 25% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes au-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .au-count, .au-count-num { animation: none !important; } }
@media (prefers-reduced-motion: reduce) { .au-choice-card, .au-choice-card::after, .au-choice-ico { transition: none !important; transform: none !important; } }
/* Fil d'Ariane collé sous la barre : le thème pose 24 px sur le corps et 42 px sur le bloc principal. */
body#page-automatismes-lycee, body#page-automatismes-college { margin-top: 0 !important; }
body#page-automatismes-lycee #topofscroll.main-inner, body#page-automatismes-college #topofscroll.main-inner { margin-top: 0 !important; padding-top: 12px !important; }
.au-choice-card strong { font-size: 1.1rem; color: var(--sapin); }
.au-choice-card span:not(.au-choice-ico) { color: var(--ardoise-claire); font-size: .95em; line-height: 1.45; }
.au-choice-ico { font-size: 2rem; line-height: 1; transition: transform .2s ease; }
.au-choice-card .au-btn { margin-top: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.au-choice-card-active { border-color: var(--orangeade); background: #fff8ec; box-shadow: 0 10px 24px rgba(245,156,39,.22); }
.au-college .au-choice-card-active { border-color: var(--terra); background: #f1f6fb; box-shadow: 0 10px 24px rgba(31,82,125,.2); }
.au-custom-form { margin: 20px auto 0; max-width: 900px; border: 1px solid var(--filet); border-radius: 12px; background: #fff; padding: 12px 18px 16px; }
.au-themes-title { margin-top: 56px !important; padding-top: 28px; border-top: 1px solid var(--filet); }
@media (max-width: 600px) { .au-btn-big { width: 100%; } }
