/*
Theme Name: Carnet PV
Theme URI: https://example.com/carnet-pv
Author: OpenAI
Description: Un espace calme et autonome pour partager des procès-verbaux et recueillir des réponses.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: carnet-pv
*/

:root{--ink:#243640;--muted:#687982;--paper:#f4f7f8;--surface:#fff;--line:#dfe8ec;--green:#24799f;--green-dark:#175873;--sage:#e5f0f4;--gold:#4a9bc0;--radius:16px;--shadow:0 12px 34px rgba(34,75,95,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--green);text-underline-offset:3px}a:hover{color:var(--green-dark)}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,.button,input[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:0;border-radius:9px;background:var(--green);color:#fff;padding:.75rem 1.1rem;font-weight:650;text-decoration:none;cursor:pointer;transition:.18s ease}button:hover,.button:hover,input[type=submit]:hover{background:var(--green-dark);color:#fff;transform:translateY(-1px)}.button--quiet{background:var(--sage);color:var(--green)}.button--quiet:hover{background:#d6e3da;color:var(--green-dark)}
.site-header{background:var(--surface);border-bottom:1px solid var(--line)}.header-inner{max-width:1160px;margin:auto;padding:1rem 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:750;text-decoration:none;font-size:1.1rem}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--green);color:white;font-size:1.1rem}.brand-tagline{display:block;font-size:.75rem;color:var(--muted);font-weight:450}.site-nav{display:flex;align-items:center;gap:24px}.site-nav a{font-size:.93rem;text-decoration:none;color:var(--ink);font-weight:550}.site-nav a:hover{color:var(--green)}.menu-toggle{display:none}.wrap{max-width:1160px;margin:0 auto;padding:44px 24px 80px}.narrow{max-width:790px;margin:0 auto}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--green);font-size:.75rem;font-weight:750}.hero{display:grid;grid-template-columns:1.3fr .7fr;align-items:center;gap:38px;padding:38px 0 54px}.hero h1{font-size:clamp(2.4rem,5vw,4.15rem);line-height:1.08;letter-spacing:-.045em;margin:.55rem 0 1rem;max-width:750px}.hero p{font-size:1.12rem;color:var(--muted);max-width:650px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.hero-art{min-height:270px;border-radius:26px;background:linear-gradient(145deg,#e8efe9,#d9e6dc);padding:26px;position:relative;overflow:hidden}.paper-card{background:#fff;padding:24px;border-radius:12px;box-shadow:var(--shadow);transform:rotate(2deg);max-width:280px;margin:18px auto}.paper-card:before{content:"";display:block;width:42px;height:5px;border-radius:9px;background:#c6d8ca;margin-bottom:20px}.paper-line{height:8px;border-radius:10px;background:#edf1ed;margin:12px 0}.paper-line.short{width:62%}.paper-stamp{position:absolute;bottom:35px;right:28px;transform:rotate(-12deg);border:2px solid var(--gold);color:#9f773e;border-radius:99px;padding:7px 13px;font-size:.8rem;font-weight:800;letter-spacing:.08em}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:16px 0 20px}.section-heading h2{font-size:1.6rem;letter-spacing:-.025em;margin:0}.section-heading p{color:var(--muted);margin:.25rem 0 0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 4px 16px rgba(31,53,43,.025)}.card h3{line-height:1.3;margin:.35rem 0 .6rem;font-size:1.15rem}.card h3 a{text-decoration:none;color:var(--ink)}.card p{color:var(--muted);margin:.5rem 0}.meta{font-size:.83rem;color:var(--muted)}.pill{display:inline-flex;align-items:center;border-radius:99px;background:var(--sage);color:var(--green);font-size:.75rem;font-weight:700;padding:.25rem .6rem}.empty-state{background:#fff;border:1px dashed #c9d5cb;border-radius:var(--radius);padding:34px;text-align:center;color:var(--muted)}.page-title{font-size:clamp(2rem,4vw,3rem);line-height:1.15;letter-spacing:-.04em;margin:.4rem 0 1rem}.content-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(22px,5vw,48px);box-shadow:var(--shadow)}.content-card p:first-child{margin-top:0}.entry-content{font-size:1.03rem}.entry-content h2,.entry-content h3{margin-top:1.8em;line-height:1.25}.entry-content li{padding:.2rem 0}.site-footer{border-top:1px solid var(--line);background:#fff;color:var(--muted)}.footer-inner{max-width:1160px;padding:24px;margin:auto;display:flex;justify-content:space-between;gap:20px;font-size:.88rem}.notice{padding:14px 17px;border-radius:10px;margin:18px 0;background:var(--sage);color:var(--green-dark)}.notice.error{background:#f9e9e6;color:#873f34}
.form-field{margin:1.1rem 0}.form-field label{display:block;font-weight:650;margin-bottom:6px}.form-field input:not([type=checkbox]):not([type=radio]),.form-field textarea,.form-field select{width:100%;border:1px solid #ccd7cf;background:#fff;border-radius:8px;padding:11px 13px;color:var(--ink)}.form-field input:focus,.form-field textarea:focus,.form-field select:focus{outline:3px solid #dce9df;border-color:var(--green)}.form-field textarea{min-height:120px;resize:vertical}.form-field .required{color:#a24e40}.response-list{display:grid;gap:12px}.response-item{background:white;border:1px solid var(--line);border-radius:12px;padding:18px}.response-item pre{white-space:pre-wrap;font:inherit;margin:.5rem 0}.pv-tools{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.pagination{display:flex;gap:8px;margin-top:28px}.pagination a,.pagination span{background:#fff;border:1px solid var(--line);border-radius:8px;padding:8px 12px;text-decoration:none}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.hero{grid-template-columns:1fr;padding-top:20px}.hero-art{min-height:220px}.cards{grid-template-columns:repeat(2,1fr)}.site-nav{gap:14px}}@media(max-width:600px){.header-inner{padding:12px 18px}.menu-toggle{display:inline-flex;padding:.55rem .75rem}.site-nav{display:none;position:absolute;z-index:5;left:0;right:0;top:64px;background:#fff;border-bottom:1px solid var(--line);padding:14px 22px 20px;flex-direction:column;align-items:flex-start}.site-nav.is-open{display:flex}.wrap{padding:30px 18px 56px}.cards{grid-template-columns:1fr}.hero h1{font-size:2.6rem}.footer-inner{flex-direction:column}.section-heading{align-items:start;flex-direction:column}}
.hero-art{background:linear-gradient(145deg,#e7f1f5,#d6e8ef)}.paper-card:before{background:#b9d9e6}.paper-line{background:#eaf0f2}.paper-stamp{color:#24799f}.button--quiet:hover{background:#d6e8ef}
.pdf-viewer{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#eef1ee}.pdf-viewer iframe{display:block;width:100%;height:min(78vh,1000px);border:0}
