body { font-family: 'Poppins', sans-serif; }

/* ── BREADCRUMB ── */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}
.breadcrumb-nav a { color: #6c757d; text-decoration: none; transition: color 0.2s; }
.breadcrumb-nav a:hover { color: #252F52; }
.breadcrumb-nav i.sep { font-size: 0.55rem; opacity: 0.4; }
.breadcrumb-nav .current { color: #252F52; font-weight: 600; }
[data-theme="dark"] .breadcrumb-nav a:hover  { color: #60a5fa; }
[data-theme="dark"] .breadcrumb-nav .current { color: #60a5fa; }

/* ── HERO ── */
.ani-hero {
    padding: 4rem 0 3.5rem;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(25,135,84,0.08);
    color: #146c43;
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}
[data-theme="dark"] .hero-badge {
    background: rgba(52,211,153,0.12);
    color: #34d399;
}
.ani-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #212529;
    line-height: 1.15;
    margin-bottom: 1rem;
}
[data-theme="dark"] .ani-hero h1 { color: #f1f5f9; }
.ani-hero .lead {
    font-size: 1rem;
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── STATS STRIP ── */
.stats-strip {
    background: rgba(25,135,84,0.05);
    border: 1px solid rgba(25,135,84,0.12);
    border-radius: 16px;
    padding: 1.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3.5rem;
}
[data-theme="dark"] .stats-strip {
    background: rgba(25,135,84,0.07);
    border-color: rgba(52,211,153,0.15);
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #212529;
}
[data-theme="dark"] .stat-item { color: #f1f5f9; }
.stat-num { font-size: 1.4rem; font-weight: 800; color: #198754; line-height: 1; }
.stat-item i { color: #198754; }
[data-theme="dark"] .stat-num,
[data-theme="dark"] .stat-item i { color: #34d399; }

/* ── SECTION LABEL ── */
.section-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}
.section-label h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #212529;
    white-space: nowrap;
}
[data-theme="dark"] .section-label h2 { color: #f1f5f9; }
.section-label::after { content: ''; flex: 1; height: 1px; background: #dee2e6; }
[data-theme="dark"] .section-label::after { background: #2d3748; }

/* ── ANIMAL CARD ── */
.ani-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.8rem 1.4rem 1.4rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 3px solid transparent;
}
[data-theme="dark"] .ani-card {
    background: #161b2e;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.ani-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.1);
}

/* couleurs par animal */
.ani-card.shiba      { border-bottom-color: #fd7e14; }
.ani-card.panda      { border-bottom-color: #212529; }
.ani-card.raton      { border-bottom-color: #6c757d; }
.ani-card.chat       { border-bottom-color: #ffc107; }
.ani-card.renard     { border-bottom-color: #fd7e14; }
.ani-card.kangourou  { border-bottom-color: #c65a00; }
.ani-card.husky      { border-bottom-color: #4a6cf7; }
.ani-card.oiseau     { border-bottom-color: #0dcaf0; }
.ani-card.chien      { border-bottom-color: #198754; }
.ani-card.koala      { border-bottom-color: #94a3b8; }
.ani-card.baleine    { border-bottom-color: #0d6efd; }
.ani-card.canard     { border-bottom-color: #ffc107; }

.ani-emoji {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.9rem;
    display: block;
    transition: transform 0.3s ease;
}
.ani-card:hover .ani-emoji { transform: scale(1.15) rotate(-5deg); }

.ani-name {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.3rem;
}
[data-theme="dark"] .ani-name { color: #f1f5f9; }

.ani-desc {
    font-size: 0.78rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 0.9rem;
    flex: 1;
}
[data-theme="dark"] .ani-desc { color: #94a3b8; }

.ani-cmd {
    display: inline-block;
    background: rgba(25,135,84,0.08);
    color: #198754;
    border-radius: 7px;
    padding: 0.22rem 0.6rem;
    font-family: 'Courier New', monospace;
    font-size: 0.76rem;
    font-weight: 700;
}
[data-theme="dark"] .ani-cmd { background: rgba(52,211,153,0.12); color: #34d399; }

/* couleurs cmd par animal */
.ani-card.shiba     .ani-cmd,
.ani-card.renard    .ani-cmd,
.ani-card.kangourou .ani-cmd { background: rgba(253,126,20,0.1); color: #c96000; }
.ani-card.panda     .ani-cmd { background: rgba(33,37,41,0.08);  color: #212529; }
.ani-card.raton     .ani-cmd,
.ani-card.koala     .ani-cmd { background: rgba(108,117,125,0.1); color: #6c757d; }
.ani-card.chat      .ani-cmd,
.ani-card.canard    .ani-cmd { background: rgba(255,193,7,0.12);  color: #997404; }
.ani-card.husky     .ani-cmd { background: rgba(74,108,247,0.1);  color: #4a6cf7; }
.ani-card.oiseau    .ani-cmd { background: rgba(13,202,240,0.1);  color: #099ab5; }
.ani-card.baleine   .ani-cmd { background: rgba(13,110,253,0.1);  color: #0d6efd; }

[data-theme="dark"] .ani-card.shiba     .ani-cmd,
[data-theme="dark"] .ani-card.renard    .ani-cmd,
[data-theme="dark"] .ani-card.kangourou .ani-cmd { background: rgba(251,146,60,0.12);  color: #fb923c; }
[data-theme="dark"] .ani-card.panda     .ani-cmd { background: rgba(241,245,249,0.1);  color: #e2e8f0; }
[data-theme="dark"] .ani-card.raton     .ani-cmd,
[data-theme="dark"] .ani-card.koala     .ani-cmd { background: rgba(148,163,184,0.12); color: #94a3b8; }
[data-theme="dark"] .ani-card.chat      .ani-cmd,
[data-theme="dark"] .ani-card.canard    .ani-cmd { background: rgba(251,191,36,0.12);  color: #fbbf24; }
[data-theme="dark"] .ani-card.husky     .ani-cmd { background: rgba(99,129,250,0.15);  color: #818cf8; }
[data-theme="dark"] .ani-card.oiseau    .ani-cmd { background: rgba(34,211,238,0.12);  color: #22d3ee; }
[data-theme="dark"] .ani-card.baleine   .ani-cmd { background: rgba(96,165,250,0.12);  color: #60a5fa; }

/* ── SOURCE API ── */
.api-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(13,202,240,0.08);
    color: #099ab5;
    border: 1px solid rgba(13,202,240,0.2);
    border-radius: 50px;
    padding: 0.2rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
[data-theme="dark"] .api-pill { background: rgba(34,211,238,0.1); color: #22d3ee; border-color: rgba(34,211,238,0.2); }

/* ── HOW TO ── */
.how-strip {
    background: rgba(25,135,84,0.04);
    border: 1px solid rgba(25,135,84,0.1);
    border-radius: 16px;
    padding: 1.8rem 2rem;
    margin-bottom: 3.5rem;
}
[data-theme="dark"] .how-strip {
    background: rgba(25,135,84,0.06);
    border-color: rgba(52,211,153,0.15);
}
.how-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #198754;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.how-title::after { content: ''; flex: 1; height: 1px; background: rgba(25,135,84,0.15); }
.how-step { display: flex; align-items: flex-start; gap: 0.9rem; }
.how-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #198754;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.how-step h5 { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.2rem; color: #212529; }
[data-theme="dark"] .how-step h5 { color: #f1f5f9; }
.how-step p  { font-size: 0.8rem; color: #6c757d; margin: 0; line-height: 1.5; }

/* ── CTA ── */
.ani-cta {
    background: linear-gradient(135deg, #252F52 0%, #0f3d28 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
}
.ani-cta h3 {
    font-weight: 800;
    font-size: 1.7rem;
    margin-bottom: 0.7rem;
    background: linear-gradient(135deg, #ffffff 0%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.ani-cta p { opacity: 0.75; margin-bottom: 1.5rem; max-width: 440px; margin-left:auto; margin-right:auto; }
.btn-sky {
    background: white;
    color: #252F52;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-sky:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: #252F52;
    text-decoration: none;
}