/* ============================================================
   scrum.css — Design "sprint board physique numérisé"
   Thème : ardoise sombre · post-its · orange vif · Rubik bold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&family=Rubik+Mono+One&family=Fira+Code:wght@400;500&display=swap');

/* ── VARIABLES ─────────────────────────────────────────── */
:root {
    --slate:    #1e2228;
    --slate2:   #252b34;
    --slate3:   #2d3440;
    --slate4:   #353d4a;
    --border:   #3a4250;
    --border2:  #303844;

    --orange:   #ff6b2b;
    --orange2:  #e55a1f;
    --orange-bg:rgba(255,107,43,.1);

    --yellow:   #ffd166;
    --yellow2:  #f5c33a;
    --cyan:     #06d6a0;
    --blue:     #4895ef;
    --red:      #ef233c;
    --purple:   #b388ff;

    /* Post-it colors */
    --post-yellow: #fef08a;
    --post-blue:   #bfdbfe;
    --post-green:  #bbf7d0;
    --post-pink:   #fecdd3;
    --post-purple: #e9d5ff;

    --text:    #e8ecf1;
    --text2:   #8d9ab0;
    --text3:   #4a5568;

    --mono:    'Fira Code', monospace;
    --display: 'Rubik Mono One', sans-serif;
    --sans:    'Rubik', system-ui, sans-serif;
    --r:       10px;
    --shadow:  0 8px 32px rgba(0,0,0,.5);
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    font-weight: 400;
    background: var(--slate);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    /* Texture bois/liège très subtile via SVG inline */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Ccircle cx='1' cy='1' r='.5' fill='rgba(255,255,255,.015)'/%3E%3Ccircle cx='31' cy='31' r='.5' fill='rgba(255,255,255,.015)'/%3E%3C/svg%3E");
}

/* ── PROGRESS BAR ──────────────────────────────────────── */
#sprint-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    z-index: 600;
    background: linear-gradient(90deg, var(--orange), var(--yellow));
    box-shadow: 0 0 12px rgba(255,107,43,.5);
    transition: width .08s linear;
}

/* ── HEADER ────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(30,34,40,.95);
    backdrop-filter: blur(14px);
    border-bottom: 2px solid var(--border);
    box-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.hdr {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hdr-logo {
    font-family: var(--display);
    font-size: 1.3rem;
    color: var(--orange);
    letter-spacing: 1px;
    text-shadow: 0 0 16px rgba(255,107,43,.4);
    white-space: nowrap;
}
.hdr-sep { color: var(--border); font-size: .6rem; }
.hdr-sprint-badge {
    font-family: var(--mono);
    font-size: .68rem;
    color: var(--cyan);
    background: rgba(6,214,160,.1);
    border: 1px solid rgba(6,214,160,.3);
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sprint-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 5px var(--cyan);
    animation: spdot 2s ease-in-out infinite;
}
@keyframes spdot { 0%,100%{opacity:1}50%{opacity:.3} }

nav {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}
nav::-webkit-scrollbar { display: none; }
nav a {
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 500;
    color: var(--text3);
    text-decoration: none;
    padding: 0 14px;
    height: 56px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    letter-spacing: .3px;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}
nav a:hover, nav a.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
    background: var(--slate2);
    border-bottom: 1px solid var(--border);
    padding: 64px 24px 56px;
    position: relative;
    overflow: hidden;
}

/* Grille en fond, style tableau blanc */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border2) 1px, transparent 1px),
        linear-gradient(90deg, var(--border2) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .4;
    pointer-events: none;
}
/* Glow orange */
.hero::after {
    content: '';
    position: absolute;
    width: 500px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,107,43,.12) 0%, transparent 70%);
    top: -60px; left: -100px;
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
}

.hero-label {
    font-family: var(--mono);
    font-size: .65rem;
    color: var(--orange);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-label::before { content: '//'; opacity: .5; }

.hero h1 {
    font-family: var(--display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: .95;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 20px;
}
.hero h1 .hl { color: var(--orange); }

.hero-desc {
    font-size: 1.05rem;
    color: var(--text2);
    max-width: 560px;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 28px;
}

/* Mini post-its dans le hero */
.hero-postits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.postit {
    padding: 14px 16px;
    border-radius: 2px;
    position: relative;
    box-shadow: 2px 4px 12px rgba(0,0,0,.35), inset 0 -2px 0 rgba(0,0,0,.1);
    transition: transform .2s, box-shadow .2s;
    cursor: default;
}
.postit:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 4px 8px 20px rgba(0,0,0,.4);
}
.postit::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 28px; height: 8px;
    background: rgba(255,255,255,.3);
    border-radius: 0 0 4px 4px;
}
.postit:nth-child(1) { background: var(--post-yellow); transform: rotate(-1.5deg); color: #2a1f00; }
.postit:nth-child(2) { background: var(--post-blue);   transform: rotate(.8deg);   color: #0c2a4a; }
.postit:nth-child(3) { background: var(--post-green);  transform: rotate(-0.5deg); color: #0a2e1a; }
.postit:nth-child(1):hover { transform: rotate(0deg) translateY(-4px); }
.postit:nth-child(2):hover { transform: rotate(0deg) translateY(-4px); }
.postit:nth-child(3):hover { transform: rotate(0deg) translateY(-4px); }
.postit strong {
    display: block;
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: 5px;
    font-family: var(--sans);
}
.postit p { font-size: .78rem; margin: 0; line-height: 1.5; opacity: .8; }

/* Sprint timer widget */
.sprint-timer {
    background: var(--slate3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px;
    text-align: center;
    min-width: 200px;
    box-shadow: var(--shadow);
}
.st-label {
    font-family: var(--mono);
    font-size: .6rem;
    color: var(--text3);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.st-ring {
    width: 100px; height: 100px;
    margin: 0 auto 12px;
    position: relative;
}
.st-ring svg { transform: rotate(-90deg); }
.st-ring-bg { stroke: var(--border); fill: none; stroke-width: 8; }
.st-ring-fill {
    stroke: var(--orange);
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 4px var(--orange));
}
.st-day {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--display);
    font-size: 1.5rem;
    color: var(--text);
    line-height: 1;
}
.st-day small {
    display: block;
    font-family: var(--mono);
    font-size: .55rem;
    color: var(--text3);
    letter-spacing: 1px;
    font-weight: 400;
}
.st-info {
    font-family: var(--mono);
    font-size: .65rem;
    color: var(--text2);
    letter-spacing: .5px;
}

/* ── CONTAINER ─────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* ── CARDS ─────────────────────────────────────────────── */
.card {
    background: var(--slate2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 30px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .4s ease, transform .4s ease, border-color .25s;
}
.card.visible { opacity: 1; transform: translateY(0); }
.card:hover { border-color: rgba(255,107,43,.35); }

/* Orange top accent on hover */
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--yellow));
    opacity: 0;
    transition: opacity .3s;
}
.card:hover::before { opacity: 1; }

/* Section number watermark */
.card[data-n]::after {
    content: attr(data-n);
    position: absolute;
    bottom: 10px; right: 18px;
    font-family: var(--display);
    font-size: 5rem;
    color: rgba(255,107,43,.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* ── TWO COL ───────────────────────────────────────────── */
.cols-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

/* ── HEADINGS ──────────────────────────────────────────── */
h2 {
    font-family: var(--sans);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
    letter-spacing: -.3px;
    line-height: 1.2;
}
h3 {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange);
    margin: 20px 0 8px;
    letter-spacing: .2px;
}

/* ── BADGE ─────────────────────────────────────────────── */
.badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: .6rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
    border: 1px solid;
}
.b1 { background: rgba(72,149,239,.1); color: #90bfff; border-color: rgba(72,149,239,.3); }
.b2 { background: rgba(6,214,160,.1);  color: var(--cyan); border-color: rgba(6,214,160,.3); }
.b3 { background: rgba(255,209,102,.1);color: var(--yellow); border-color: rgba(255,209,102,.3); }
.b4 { background: rgba(239,35,60,.1);  color: #ff8899; border-color: rgba(239,35,60,.3); }

/* ── PARAGRAPH ─────────────────────────────────────────── */
p { font-size: .95rem; color: var(--text2); margin-bottom: 14px; line-height: 1.75; font-weight: 300; }
p:last-child { margin-bottom: 0; }
p strong { color: var(--text); font-weight: 600; }

/* ── LISTS ─────────────────────────────────────────────── */
ul, ol { list-style: none; margin: 12px 0; padding: 0; }
ul li, ol li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: .92rem;
    color: var(--text2);
    line-height: 1.6;
    font-weight: 300;
}
ul li::before { content: '▸'; position: absolute; left: 0; color: var(--orange); font-size: .7rem; top: 4px; }
ol { counter-reset: ol; }
ol li { counter-increment: ol; }
ol li::before {
    content: counter(ol, decimal-leading-zero);
    position: absolute; left: 0;
    font-family: var(--mono); font-size: .7rem;
    color: var(--orange); font-weight: 700; top: 3px;
}
li strong { color: var(--text); font-weight: 600; }

/* ── TOC ───────────────────────────────────────────────── */
.toc-links { display: flex; flex-direction: column; gap: 4px; }
.toc-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--text2);
    font-size: .88rem;
    border: 1px solid transparent;
    transition: background .15s, color .15s, border-color .15s, padding-left .15s;
}
.toc-links a .tn {
    font-family: var(--mono);
    font-size: .62rem;
    color: var(--text3);
    min-width: 22px;
}
.toc-links a:hover {
    background: var(--orange-bg);
    color: var(--text);
    border-color: rgba(255,107,43,.25);
    padding-left: 16px;
}
.toc-links a:hover .tn { color: var(--orange); }

/* ── ROLE CARDS (post-it style) ─────────────────────────── */
.role-card {
    background: var(--slate3);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.role-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
.role-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--rc-color, var(--orange));
}
.role-card.po { --rc-color: var(--cyan); }
.role-card.po:hover { border-color: rgba(6,214,160,.4); }
.role-card.sm { --rc-color: var(--yellow); }
.role-card.sm:hover { border-color: rgba(255,209,102,.4); }
.role-card.dev { --rc-color: var(--blue); }
.role-card.dev:hover { border-color: rgba(72,149,239,.4); }

/* ── EVENTS TABLE ──────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--r);
    border: 1px solid var(--border);
    margin: 14px 0;
}
table { width: 100%; border-collapse: collapse; }
th {
    font-family: var(--mono);
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 16px;
    background: var(--slate3);
    color: var(--orange);
    text-align: left;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border2);
    white-space: nowrap;
}
th:first-child { color: var(--text2); }
td {
    padding: 11px 16px;
    font-size: .88rem;
    color: var(--text2);
    border-bottom: 1px solid var(--border2);
    border-right: 1px solid var(--border2);
    vertical-align: top;
    line-height: 1.55;
}
td strong { color: var(--text); font-weight: 600; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,107,43,.04); }

/* ── NOTICE ────────────────────────────────────────────── */
.notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 13px 16px;
    border-radius: 8px;
    border: 1px solid;
    margin: 16px 0;
    font-size: .88rem;
    line-height: 1.65;
}
.notice .ni { flex-shrink: 0; margin-top: 1px; }
.notice.success { background: rgba(6,214,160,.07);  border-color: rgba(6,214,160,.3);  color: #8dffd9; }
.notice.warn    { background: rgba(255,209,102,.07); border-color: rgba(255,209,102,.3); color: #ffe9a0; }
.notice.info    { background: rgba(72,149,239,.07);  border-color: rgba(72,149,239,.3);  color: #a8d0ff; }
.notice p { margin: 0; color: inherit; font-size: inherit; }

/* ── BURNDOWN CHART ────────────────────────────────────── */
.burndown-wrap {
    background: var(--slate3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px;
    margin: 16px 0;
}
.burndown-title {
    font-family: var(--mono);
    font-size: .62rem;
    color: var(--text3);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.burndown-title::before { content: '📉'; font-size: .9rem; }
#burndown-svg { width: 100%; height: 180px; display: block; }

/* ── SPRINT KANBAN ─────────────────────────────────────── */
.kanban {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 16px 0;
}
.kanban-col {
    background: var(--slate3);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 14px;
    min-height: 200px;
}
.kanban-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border2);
}
.kanban-col-title {
    font-family: var(--mono);
    font-size: .65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}
.col-todo   .kanban-col-title { color: var(--text2); }
.col-doing  .kanban-col-title { color: var(--yellow); }
.col-done   .kanban-col-title { color: var(--cyan); }
.kanban-count {
    font-family: var(--mono);
    font-size: .65rem;
    background: var(--border);
    color: var(--text2);
    padding: 1px 7px;
    border-radius: 10px;
}
.k-card {
    background: var(--slate2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 8px;
    font-size: .8rem;
    color: var(--text2);
    line-height: 1.4;
    cursor: default;
    transition: border-color .15s, transform .15s;
    position: relative;
}
.k-card:hover { border-color: var(--orange); transform: translateX(3px); }
.k-card .kc-pts {
    display: inline-block;
    font-family: var(--mono);
    font-size: .58rem;
    color: var(--orange);
    background: var(--orange-bg);
    border: 1px solid rgba(255,107,43,.25);
    padding: 1px 5px;
    border-radius: 3px;
    margin-bottom: 4px;
}
.col-doing .k-card { border-left: 2px solid var(--yellow); }
.col-done  .k-card { border-left: 2px solid var(--cyan); opacity: .75; }
.col-done  .k-card::after {
    content: '✓';
    position: absolute;
    top: 8px; right: 10px;
    color: var(--cyan);
    font-size: .75rem;
}

/* ── VALUES CARDS ──────────────────────────────────────── */
.val-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin: 14px 0;
}
.val-card {
    background: var(--slate3);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 16px;
    transition: border-color .2s, transform .2s;
    cursor: default;
    position: relative;
    overflow: hidden;
}
.val-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--vc-color, var(--orange));
    transform: scaleX(0);
    transition: transform .25s;
    transform-origin: left;
}
.val-card:hover { transform: translateY(-3px); border-color: var(--vc-color, var(--orange)); }
.val-card:hover::after { transform: scaleX(1); }
.val-n {
    font-family: var(--display);
    font-size: 2rem;
    color: var(--vc-color, var(--orange));
    opacity: .15;
    line-height: 1;
    position: absolute;
    top: 8px; right: 12px;
}
.val-title {
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.val-body { font-size: .78rem; color: var(--text2); line-height: 1.5; }

/* ── FAQ ACCORDION ─────────────────────────────────────── */
.faq-item {
    border: 1px solid var(--border2);
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item.open { border-color: rgba(255,107,43,.4); }
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    background: var(--slate3);
    font-weight: 500;
    font-size: .92rem;
    color: var(--text);
    user-select: none;
    gap: 12px;
    transition: background .15s;
}
.faq-q:hover { background: rgba(255,107,43,.08); }
.faq-arr {
    color: var(--orange);
    font-size: .7rem;
    transition: transform .25s;
    flex-shrink: 0;
}
.faq-item.open .faq-arr { transform: rotate(90deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    font-size: .9rem;
    color: var(--text2);
    line-height: 1.7;
    background: var(--slate2);
    transition: max-height .3s ease, padding .2s;
}
.faq-item.open .faq-a { max-height: 200px; padding: 14px 18px; }

/* ── SPRINT STEPS ──────────────────────────────────────── */
.sprint-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 16px 0;
    position: relative;
}
.sprint-steps::before {
    content: '';
    position: absolute;
    left: 20px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--orange), var(--yellow), var(--cyan));
    opacity: .4;
}
.ss-item {
    display: flex;
    gap: 18px;
    padding: 12px 0 12px 0;
    position: relative;
}
.ss-dot {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--slate3);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--mono);
    font-size: .68rem;
    color: var(--orange);
    font-weight: 700;
    z-index: 1;
    transition: background .2s, border-color .2s;
}
.ss-item:hover .ss-dot {
    background: var(--orange-bg);
    border-color: var(--orange);
}
.ss-content { flex: 1; padding-top: 9px; }
.ss-content strong { font-size: .95rem; color: var(--text); font-weight: 600; }
.ss-content span { font-size: .85rem; color: var(--text2); display: block; margin-top: 2px; line-height: 1.5; }

/* ── INLINE CODE ───────────────────────────────────────── */
code.inline {
    font-family: var(--mono);
    font-size: .82em;
    background: rgba(255,107,43,.1);
    color: var(--orange);
    border: 1px solid rgba(255,107,43,.2);
    padding: 1px 7px;
    border-radius: 4px;
}

/* ── SCROLL TO TOP ─────────────────────────────────────── */
#top-btn {
    position: fixed;
    right: 22px; bottom: 22px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--slate2);
    border: 2px solid var(--border);
    color: var(--orange);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    opacity: 0; pointer-events: none;
    transform: translateY(8px);
    transition: opacity .25s, transform .25s, border-color .2s, box-shadow .2s;
    z-index: 200;
}
#top-btn.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
#top-btn:hover { border-color: var(--orange); box-shadow: 0 0 20px rgba(255,107,43,.3); }

/* ── FOOTER ────────────────────────────────────────────── */
footer {
    background: var(--slate2);
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    font-family: var(--mono);
    font-size: .65rem;
    color: var(--text3);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
footer .fo { color: var(--orange); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-postits { max-width: 480px; }
    .sprint-timer { display: none; }
    .kanban { grid-template-columns: 1fr; }
    .val-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hero h1 { font-size: 3rem; }
    .container { padding: 24px 14px 60px; gap: 16px; }
    .card { padding: 20px 16px; }
    .hero-postits { grid-template-columns: 1fr; }
    .val-grid { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .cols-2 { grid-template-columns: 1fr; }
    .hdr { padding: 0 14px; }
}
