/* Plugin Paroisse — Documentation. Palette blanc & violet, sans CSS externe. */
:root {
  color-scheme: light;
  --accent: #8800a3;
  --accent-deep: #67127d;
  --accent-pale: #f1e8f5;
  --ink: #222026;
  --body: #514958;
  --subtle: #74697b;
  --line: #eae2ec;
  --paper: #fff;
  --card: #faf8fb;
  --code: #f0e7f4;
  --shadow: 0 5px 20px rgb(50 20 56 / 3%);
}
*,*::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:20px}
body {margin:0;background:var(--paper);color:var(--body);font:400 15px/1.65 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}
a {color:var(--accent-deep)}
a:hover {color:var(--accent)}
a:focus-visible,button:focus-visible {outline:3px solid #bc69d2;outline-offset:3px}
.wrap {width:min(1200px,calc(100% - 48px));margin-inline:auto}
.skip-link {position:absolute;left:12px;top:-100px;background:#fff;z-index:100;padding:12px}
.skip-link:focus {top:10px}
.masthead {background:#fff}
.masthead-inner {min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.laure-logo {display:flex;align-items:center}
.laure-logo img {display:block;width:166px;height:auto;max-height:69px}
.masthead-note {font-size:11px;letter-spacing:.095em;font-weight:700;color:var(--subtle);text-align:right}
.breadcrumbs {display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:22px 0;color:var(--subtle);font-size:13px}
.breadcrumbs a {text-decoration:none}
.hero {display:flex;align-items:center;gap:26px;padding:30px clamp(22px,4vw,42px);border:1px solid var(--line);border-radius:15px;background:#fbf9fc;box-shadow:var(--shadow)}
.plugin-icon {flex:0 0 auto;object-fit:contain;border-radius:11px;box-shadow:0 4px 18px rgb(40 10 45 / 6%)}
.eyebrow {color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.09em}
h1,h2,h3 {margin:0;color:var(--ink);line-height:1.26;letter-spacing:-.02em}
.hero h1 {font-size:clamp(31px,3.7vw,43px);margin:4px 0 8px}
.hero p {max-width:850px;margin:0;color:var(--body);font-size:15px}
.tabs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:29px 0 23px;padding:7px;background:#faf8fb;border:1px solid var(--line);border-radius:13px}
.tab-link {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;text-align:center;padding:13px 6px;border-radius:9px;border:1px solid transparent;text-decoration:none;color:var(--body);font-size:16px;font-weight:750;line-height:1.4;transition:background .15s,color .15s,border .15s}
.tab-link:hover {background:#f1e8f5;color:var(--accent-deep)}
.tab-link[aria-selected="true"],.tab-link.is-active {color:var(--accent-deep);background:#fff;border-color:#e3cce9;box-shadow:0 2px 8px rgb(94 22 109 / 6%)}
.tab-code {font-size:10px;font-weight:500;color:var(--subtle);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-wrap:anywhere}
.panels {min-width:0}
.faq-panel {min-width:0;scroll-margin-top:16px;padding:6px 0 12px}
.faq-panel+.faq-panel {border-top:1px solid var(--line);margin-top:24px;padding-top:30px}
.has-js .faq-panel[hidden] {display:none!important}
.panel-head {display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}
.panel-head h2 {font-size:clamp(24px,2.8vw,32px);margin-top:7px}
.panel-count {flex:0 0 auto;background:#f3e9f6;border:1px solid #ecddf1;color:#762089;font-size:12px;font-weight:650;padding:6px 10px;border-radius:50px;white-space:nowrap}
.intro {max-width:1100px;margin:0 0 13px;color:var(--body);font-size:15px}
.block-title {font-size:21px;margin:34px 0 17px}
.example-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.example-card {min-width:0;padding:21px 21px 20px;border:1px solid var(--line);border-radius:12px;background:var(--card);box-shadow:var(--shadow)}
.example-card h3 {font-size:15px;margin-bottom:13px}
.example-card p {margin:10px 0 0;color:var(--subtle);font-size:13px;line-height:1.55}
.codebox {display:flex;align-items:flex-start;gap:8px;background:var(--code);border-radius:7px;padding:10px 10px 10px 12px;min-width:0}
.codebox pre {min-width:0;flex:1 1 auto;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;color:#631b7b;font-size:12px;line-height:1.75}
.codebox code {font:inherit;background:transparent;padding:0;color:inherit}
.copy-button {flex:0 0 auto;border:1px solid #dec5e7;border-radius:6px;background:#fff;color:#711885;padding:5px 9px;cursor:pointer;font:650 11px/1.4 system-ui,sans-serif}
.copy-button:hover {border-color:#8800a3;background:#fbf6fd}
code {font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em}
:not(pre)>code {padding:2px 5px;background:#f1e9f4;color:#602073;border-radius:4px}
.table-shell {background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}
table {table-layout:fixed;border-collapse:collapse;width:100%}
.col-attribute {width:220px}.col-default {width:195px}
thead {background:#f3ecf6}
thead th {padding:14px 18px;text-align:left;font-size:12px;color:#4d3256}
tbody tr {border-top:1px solid var(--line)}
tbody tr:nth-child(even) {background:#fbf9fc}
tbody tr:hover {background:#f6eff8}
tbody th,tbody td {padding:13px 18px;vertical-align:top;text-align:left;font-size:13px;line-height:1.55}
tbody th.attribute {font-weight:600;white-space:nowrap}
tbody th.attribute code {display:inline-block;white-space:nowrap;padding:3px 6px;background:#f1e8f5;border:1px solid #eaddf0;border-radius:4px;color:#652478;font-size:12px}
tbody td.default {color:#59445f;overflow-wrap:anywhere;font-weight:550}
tbody td.description {color:var(--body);white-space:normal;overflow-wrap:break-word;hyphens:auto}
.mobile-label {display:none}
.notice {margin-top:19px;border-left:3px solid var(--accent);background:var(--card);padding:14px 18px;border-radius:0 9px 9px 0;font-size:13px}
.notes-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:17px}
.note-card {border:1px solid var(--line);background:var(--card);border-radius:11px;padding:19px 20px;min-width:0}
.note-card h3 {border-left:3px solid var(--accent);padding-left:10px;font-size:15px;margin:0 0 11px}
.note-card p {font-size:13px;line-height:1.65;margin:0}
.fine-print {margin:18px 0 0;color:var(--subtle);font-size:13px}
.section-index {margin:27px 0 33px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;border:1px solid var(--line);border-radius:11px;padding:12px 15px;background:#fff}
.section-index strong {font-size:12px;color:var(--subtle);margin-right:5px}
.section-index a {font-size:12px;text-decoration:none;color:var(--accent-deep);padding:6px 10px;background:#f5eef8;border-radius:999px;white-space:nowrap}
.section-index a span {font-size:10px;opacity:.85;margin-left:3px}
.section-index a:hover {background:#ead8ef}
.diapo-sections {display:grid;gap:34px}
.option-section {scroll-margin-top:24px;min-width:0}
.subsection-title {display:flex;gap:20px;align-items:end;justify-content:space-between;margin:0 0 14px}
.subsection-title h3 {font-size:23px;margin-top:3px}
.subsection-title p {font-size:13px;margin:0;color:var(--subtle);text-align:right;max-width:350px}
.site-footer {margin:54px 0 35px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px;padding-top:23px;border-top:1px solid var(--line);color:var(--subtle);font-size:13px}
.site-footer a {text-decoration:none;font-weight:700}
.sr-only {position:absolute!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;overflow:hidden!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important}
@media(max-width:900px){
 .col-attribute {width:205px}.col-default {width:158px}
 thead th,tbody th,tbody td {padding-inline:13px}
 .tab-code {font-size:9px}
}
@media(max-width:700px){
 .wrap {width:min(100% - 28px,1200px)}
 .masthead-inner {min-height:70px}
 .laure-logo img {width:125px}
 .masthead-note {max-width:165px;font-size:9px}
 .hero {gap:17px;padding:21px}
 .plugin-icon {width:72px;height:72px}
 .tabs {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px}
 .tab-link {padding:10px 7px;font-size:14px}
 .tab-code {font-size:9px}
 .panel-head {display:block}
 .panel-count {display:inline-flex;margin-top:11px}
 .example-grid,.notes-grid {grid-template-columns:1fr}
 .subsection-title {display:block}
 .subsection-title p {text-align:left;margin-top:7px}
 /* Chaque ligne de tableau devient une carte. L'attribut reste ENTIER. */
 .table-shell {border:0;box-shadow:none;background:transparent;overflow:visible}
 table,tbody {display:block;width:100%}
 colgroup,thead {display:none}
 tbody {display:grid;gap:11px}
 tbody tr {display:grid;grid-template-columns:max-content minmax(0,1fr);border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff!important;box-shadow:var(--shadow)}
 tbody tr:hover {background:#fff}
 tbody th.attribute {grid-column:1/2;align-self:center;min-width:0;white-space:nowrap;padding:13px 10px 13px 13px}
 tbody th.attribute code {white-space:nowrap;font-size:clamp(10px,2.4vw,12px);padding:3px 5px;letter-spacing:-.015em}
 tbody td.default {grid-column:2/3;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;text-align:right;padding:8px 12px 8px 5px;min-width:0;font-size:12px;overflow-wrap:anywhere}
 tbody td.default span:last-child {max-width:100%;overflow-wrap:anywhere;word-break:normal}
 .mobile-label {display:block;color:#85758d;font-size:10px;font-weight:400}
 tbody td.description {grid-column:1/-1;border-top:1px solid var(--line);background:#fbf9fc;padding:12px 13px 14px;font-size:13px;overflow-wrap:anywhere}
}
@media(max-width:390px){
 .hero {align-items:flex-start}
 .plugin-icon {width:58px;height:58px}
 .hero h1 {font-size:28px}
 .hero p {font-size:13px}
 .codebox {display:block}
 .copy-button {margin-top:9px}
 .section-index {align-items:flex-start}
 .section-index strong {width:100%}
 .site-footer {display:grid}
}
@media(prefers-reduced-motion:reduce){html {scroll-behavior:auto}.tab-link{transition:none}}

/* Pages de présentation : même identité que la documentation. */
main.home-wrap {width:min(1200px,calc(100% - 48px));margin:0 auto;padding:0 0 16px}
.home-wrap .intro {max-width:none;margin:0 0 28px}.home-wrap .brand {width:166px;height:auto;display:block;margin:20px 0 24px}
.home-wrap h1 {font-size:clamp(31px,3.7vw,43px);margin:8px 0 16px}.home-wrap .lead {font-size:17px}.home-wrap .notice {border-left:3px solid var(--accent)}
.plugins {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:22px;margin-top:30px}
.plugin {padding:clamp(22px,4vw,36px);border:1px solid var(--line);border-radius:15px;background:var(--card);box-shadow:var(--shadow)}
.plugin-heading {display:flex;gap:20px;align-items:center;margin-bottom:22px}.plugin-logo {width:80px;height:80px;object-fit:contain}.plugin h2 {font-size:28px}.plugin-heading h1 {margin:0!important}
.plugin-content {display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:30px}.plugin p {margin:0 0 16px}.license-actions {text-align:right}.license-button {display:inline-block;padding:10px 16px;background:var(--accent);color:white;text-decoration:none;border-radius:7px;font-weight:650;font-size:13px}.license-button:hover {color:white;background:var(--accent-deep)}
.license-help {font-size:12px;color:var(--subtle)}.back {display:inline-block;margin-top:22px}.home-links {display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.home-links a {padding:9px 14px;border:1px solid var(--line);border-radius:7px;text-decoration:none;background:white;font-weight:650}
@media(max-width:700px){main.home-wrap{width:calc(100% - 28px)}.plugin-content{grid-template-columns:1fr;gap:16px}.license-actions{text-align:left}.plugin-logo{width:60px;height:60px}}

/* Présentation du plugin : composants partagés avec la FAQ. */
.presentation-lead {display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:32px;margin:34px 0 44px;align-items:start}
.presentation-lead h2 {font-size:clamp(24px,2.8vw,32px)}
.presentation-lead p {margin:16px 0 0}.presentation-license p {margin:14px 0}.presentation-license>a:last-child {font-size:13px;font-weight:650}
.presentation-grid {margin-top:0}.presentation-grid h3 {font-size:18px}.presentation-grid p {font-size:14px;line-height:1.75;color:var(--body)}
.presentation-grid ul {margin:16px 0 0;padding-left:20px;font-size:14px;line-height:1.75}.presentation-grid li+li {margin-top:7px}
.presentation-section {margin-top:42px}.presentation-service {margin-top:34px;padding:22px 24px}.presentation-service h2 {font-size:20px}.presentation-service p {margin:12px 0 0}
@media(max-width:700px){.presentation-lead{grid-template-columns:1fr;gap:22px;margin-bottom:30px}.presentation-license{max-width:none}.presentation-section{margin-top:30px}}

.setup-steps {padding-left:24px;line-height:1.8;color:var(--body)}
.setup-steps li+li {margin-top:12px}
