/* Module entretien : flashcards, vocabulaire, annonces */
.intro-hero { background: linear-gradient(135deg, #0a2240, #16467e); color: #fff; border-radius: 16px; padding: 34px 30px; margin-bottom: 26px; }
.intro-hero h1 { color: #fff; font-size: 27px; margin: 0 0 8px; }
.intro-hero p { color: #cfe0f3; max-width: 60ch; margin: 0; font-size: 15px; line-height: 1.6; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; cursor: pointer; text-align: left; box-shadow: 0 1px 3px rgba(16,40,70,.05); transition: transform .15s ease, border-color .15s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-4px); border-color: #bcd2f0; box-shadow: 0 16px 38px rgba(16,40,70,.12); }
.tile .ic { width: 40px; height: 40px; border-radius: 11px; background: #eef3fd; color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.tile b { display: block; font-size: 16px; margin-bottom: 4px; }
.tile span { font-size: 13px; color: var(--text-soft); }

.cat-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-chip { border: 1px solid var(--border); background: #fff; border-radius: 99px; padding: 8px 15px; font-size: 13px; cursor: pointer; color: var(--text-soft); transition: background .15s, color .15s, border-color .15s; }
.cat-chip:hover { border-color: #bcd2f0; }
.cat-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.flash { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; max-width: 780px; box-shadow: 0 1px 3px rgba(16,40,70,.05); }
.flash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.flash-cat { font-size: 12px; font-weight: 600; color: var(--accent); background: #eef3fd; border-radius: 99px; padding: 4px 12px; }
.flash-count { font-size: 13px; color: var(--muted); }
.flash-q { font-size: 22px; font-weight: 600; margin: 0 0 6px; line-height: 1.35; }
.flash-fr { font-size: 15px; color: var(--text-soft); margin: 0 0 22px; font-style: italic; }
.reveal-btn { background: var(--accent); color: #fff; border: none; border-radius: 10px; padding: 12px 18px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .18s ease; }
.reveal-btn:hover { background: var(--accent-dark); }
.answer { margin-top: 22px; border-top: 1px solid var(--border); padding-top: 20px; display: none; }
.answer.show { display: block; animation: acFadeUp .4s ease both; }
.answer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 6px; }
.answer .tips { background: #fff7ec; border: 1px solid #f6d9b0; border-radius: 10px; padding: 12px 15px; font-size: 14px; color: #7a5320; margin-bottom: 16px; line-height: 1.55; }
.answer .model { background: var(--soft); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 14px 16px; font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
.answer .crit { display: flex; flex-wrap: wrap; gap: 8px; }
.answer .crit span { background: #e7f6ef; color: var(--success); font-size: 12.5px; border-radius: 99px; padding: 5px 12px; }
.flash-nav { display: flex; justify-content: space-between; margin-top: 24px; }

.vocab-block { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(16,40,70,.05); }
.vocab-block h3 { font-size: 16px; margin: 0 0 10px; }
.vocab-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.vocab-row:last-child { border-bottom: none; }
.vocab-row .en { font-weight: 600; }
.vocab-row .fr { color: var(--text-soft); text-align: right; }

.ann-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(16,40,70,.05); }
.ann-card h3 { font-size: 16px; margin: 0 0 2px; }
.ann-card .when { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.ann-card .script { background: var(--soft); border-radius: 10px; padding: 14px 16px; font-size: 15px; line-height: 1.7; color: var(--text); }

.foot-link { display: block; color: #adc4e2; font-size: 13px; padding: 5px 0; }
.foot-link:hover { color: #fff; text-decoration: none; }

.lang-toggle { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; color: var(--text-soft); flex-wrap: wrap; }
.lang-btn { border: 1px solid var(--border); background: #fff; border-radius: 99px; padding: 6px 15px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text-soft); transition: background .15s, color .15s, border-color .15s; }
.lang-btn:hover { border-color: #bcd2f0; }
.lang-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
