/* Page « Outils RGPD gratuits pour les associations » */
.page-hero { padding: 10rem 0 4rem; background: linear-gradient(135deg, #eefaf5 0%, #f0f6ff 55%, #f6f0ff 100%); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -45%; right: -15%; width: 650px; height: 650px; background: var(--c-green); opacity: 0.07; border-radius: 50%; filter: blur(80px); }
.page-hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; }
.page-hero h1 { font-size: 2.8rem; margin: 0.6rem 0 1.4rem; }
.page-hero p { font-size: 1.15rem; color: var(--text-light); margin-bottom: 1.8rem; }
.breadcrumb { margin-bottom: 1.6rem; font-size: 0.9rem; color: var(--text-light); }
.breadcrumb a:hover { color: var(--c-blue); }
.breadcrumb span { margin: 0 0.5rem; }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }
.hero-pill { display: inline-flex; align-items: center; gap: 0.45rem; background: white; border-radius: 50px; padding: 0.5rem 1rem; font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow); }
.hero-pill svg { color: var(--c-green); }

/* Sommaire des outils */
.tools-index { padding: 3.5rem 0 2rem; }
.tools-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; counter-reset: tool; }
.tools-grid li { margin: 0; }
.tools-card { height: 100%; display: flex; flex-direction: column; gap: 0.45rem; background: white; border: 2px solid #f0f0f0; border-radius: var(--radius-xl); padding: 1.5rem 1.3rem; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.tools-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tools-card strong { font-family: 'Sora', sans-serif; font-size: 1.02rem; line-height: 1.35; color: var(--text-main); }
.tools-card small { color: var(--text-light); font-size: 0.88rem; }
.tools-card-kind { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.tools-card-icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.4rem; }
.tools-card.is-blue .tools-card-icon { background: rgba(17, 138, 178, 0.12); color: var(--c-blue); } .tools-card.is-blue .tools-card-kind { color: var(--c-blue); } .tools-card.is-blue:hover { border-color: rgba(17, 138, 178, 0.4); }
.tools-card.is-purple .tools-card-icon { background: rgba(157, 78, 221, 0.12); color: var(--c-purple); } .tools-card.is-purple .tools-card-kind { color: var(--c-purple); } .tools-card.is-purple:hover { border-color: rgba(157, 78, 221, 0.4); }
.tools-card.is-rose .tools-card-icon { background: rgba(239, 71, 111, 0.12); color: var(--c-rose); } .tools-card.is-rose .tools-card-kind { color: var(--c-rose); } .tools-card.is-rose:hover { border-color: rgba(239, 71, 111, 0.4); }
.tools-card.is-green .tools-card-icon { background: rgba(6, 214, 160, 0.14); color: #04855f; } .tools-card.is-green .tools-card-kind { color: #04855f; } .tools-card.is-green:hover { border-color: rgba(6, 214, 160, 0.5); }
.tools-card.is-orange .tools-card-icon { background: rgba(255, 159, 28, 0.14); color: #c76a00; } .tools-card.is-orange .tools-card-kind { color: #c76a00; } .tools-card.is-orange:hover { border-color: rgba(255, 159, 28, 0.5); }

/* Sections outil : texte + visuel */
.tools-section { scroll-margin-top: calc(var(--nav-height) + 1rem); }
.tools-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.tools-split.is-reverse .tools-text { order: 2; }
.tools-step { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: white; background: linear-gradient(135deg, var(--c-blue), var(--c-purple)); border-radius: 50px; padding: 0.3rem 0.85rem; margin-bottom: 1rem; }
.tools-text h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin: 0 0 1rem; }
.tools-text > p { color: var(--text-light); line-height: 1.75; margin: 0 0 1rem; }
.tools-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 0.55rem; }
.tools-list li { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0; }
.tools-list svg { color: #04855f; flex-shrink: 0; margin-top: 0.3rem; }
.tools-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.tools-actions .btn, .tools-cite .btn { cursor: pointer; }
[data-copy].is-copied { background: #04855f !important; border-color: #04855f !important; color: white !important; }
.tools-note { font-size: 0.88rem; color: var(--text-light); margin-top: 0.9rem; }
.tools-mark { background: rgba(255, 209, 102, 0.45); color: inherit; border-radius: 4px; padding: 0 0.2rem; }

/* Aperçu du tableur */
.tools-sheet { margin: 0; background: white; border-radius: var(--radius-xl); box-shadow: 0 25px 60px -25px rgba(17, 138, 178, 0.45); overflow: hidden; border: 1px solid #e6edf2; }
.tools-sheet-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.8rem 1rem; background: #f3f7fa; border-bottom: 1px solid #e6edf2; }
.tools-sheet-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d4dde4; }
.tools-sheet-bar em { margin-left: 0.6rem; font-style: normal; font-size: 0.8rem; color: var(--text-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tools-sheet table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tools-sheet th { background: var(--c-blue); color: white; text-align: left; padding: 0.7rem 0.9rem; font-weight: 600; }
.tools-sheet td { padding: 0.65rem 0.9rem; border-bottom: 1px solid #eef2f5; }
.tools-sheet tbody tr:nth-child(even) td { background: #f4f9fc; }
.tools-sheet tr.is-more td { text-align: center; color: var(--c-blue); font-weight: 600; background: white; }

/* Modèles de texte présentés comme une feuille */
.tools-paper { position: relative; background: white; border-radius: 6px 6px var(--radius-xl) var(--radius-xl); padding: 2.2rem 2rem 1.8rem; box-shadow: 0 2px 0 #eee, 0 8px 0 -3px #f6f6f6, 0 25px 55px -25px rgba(0, 0, 0, 0.3); border-top: 5px solid var(--c-purple); }
#droit-image .tools-paper { border-top-color: var(--c-rose); }
.tools-paper-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem; margin: 0 0 1rem; color: var(--text-main); }
.tools-paper-text p { font-size: 0.93rem; line-height: 1.7; color: var(--text-main); margin: 0 0 0.75rem; }
.tools-paper-text p:last-child { margin-bottom: 0; }

/* Tableau des durées de conservation */
.tools-table-wrap { overflow-x: auto; border-radius: var(--radius-xl); box-shadow: var(--shadow); background: white; }
.tools-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.tools-table thead th { background: linear-gradient(135deg, var(--c-green), var(--c-blue)); color: white; text-align: left; padding: 1rem 1.2rem; font-weight: 600; }
.tools-table tbody th { text-align: left; font-weight: 600; color: var(--text-main); }
.tools-table tbody th, .tools-table td { padding: 0.95rem 1.2rem; border-bottom: 1px solid #eef1f4; vertical-align: top; }
.tools-table td:last-child { color: var(--text-light); font-size: 0.9rem; }
.tools-table tbody tr:nth-child(even) { background: #f7fbfa; }
.tools-table tbody tr:last-child th, .tools-table tbody tr:last-child td { border-bottom: none; }

/* Réutilisation */
.tools-reuse-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.tools-reuse h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin: 0 0 1rem; }
.tools-reuse p { color: var(--text-light); line-height: 1.75; }
.tools-cite { background: white; border: 2px dashed rgba(17, 138, 178, 0.35); border-radius: var(--radius-xl); padding: 1.6rem; }
.tools-cite-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-blue); margin: 0 0 0.6rem; }
.tools-cite .tools-cite-text { font-family: ui-monospace, Consolas, monospace; font-size: 0.85rem; color: var(--text-main); background: #f4f8fb; border-radius: 10px; padding: 0.9rem 1rem; margin: 0 0 1rem; word-break: break-word; }

@media (max-width: 1100px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .tools-split, .tools-reuse-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .tools-split.is-reverse .tools-text { order: 0; }
}
@media (max-width: 760px) {
  .page-hero { padding: 8rem 0 3rem; }
  .page-hero h1 { font-size: 2rem; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .tools-paper { padding: 1.8rem 1.3rem 1.4rem; }
}
@media (max-width: 480px) { .tools-grid { grid-template-columns: 1fr; } }
.tools-warning { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1rem 0 0; padding: 0.9rem 1rem; background: #fff3e0; border-left: 4px solid var(--c-orange); border-radius: 0 12px 12px 0; font-size: 0.9rem; color: #5a3a00; line-height: 1.55; }
.tools-warning svg { color: #c76a00; flex-shrink: 0; margin-top: 0.1rem; }
