/*
Theme Name: Pause Lumière — Univers
Description: Pratiques personnelles, exploration intérieure, parcours et journal local.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: pause-lumiere
*/

:root {
  --paper: #f8f5ed;
  --ink: #173a35;
  --clay: #a65345;
  --line: #173a3526;
  --soft: #e7eadf;
  --sand: #ead6c7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.75 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--clay); }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); padding: .72rem 1.3rem; border-radius: 30px; text-decoration: none; display: inline-block; }
button:hover, .button:hover { background: var(--clay); color: white; border-color: var(--clay); }
button:disabled { cursor: default; opacity: .5; }
.outline { background: transparent; color: var(--ink); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 5px; }
h1, h2, h3, .brand, blockquote { font-family: Georgia, "Palatino Linotype", serif; font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7vw, 7rem); margin: 1rem 0 1.7rem; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.85rem; }
p { margin: 1rem 0; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1200px, calc(100% - 3rem)); margin: auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); padding: 1rem 0; background: #f8f5edeb; backdrop-filter: blur(16px); }
.site-header .wrap { display: flex; gap: 1.7rem; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: 2rem; text-decoration: none; }
.brand::before { content: ""; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%; background: radial-gradient(circle at 65% 35%, var(--paper) 0 25%, transparent 27%), linear-gradient(135deg, transparent 46%, var(--clay) 47% 51%, transparent 52%); transform: rotate(-8deg); }
.nav-links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-links a { text-decoration: none; }
.menu-toggle { display: none; }

.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; }
.hero { padding: 4rem 0 5rem; }
.hero-copy { display: grid; grid-template-columns: 1.4fr .6fr; gap: 3rem; align-items: end; }
.hero-copy p { font-size: 1.1rem; max-width: 29rem; }
.hero-copy .signature { font-family: Georgia, "Palatino Linotype", serif; font-size: 1.35rem; font-style: italic; }
.hero h1 { line-height: .9; letter-spacing: -.055em; }
.hero h1 em { color: var(--clay); display: block; margin-left: 8vw; }

.practice-picker { border: 1px solid var(--line); border-radius: 25px; display: grid; grid-template-columns: 1.25fr 1fr; overflow: hidden; margin: 3rem 0 0; box-shadow: 0 30px 90px #27363118; background: #fffdf8; }
.picker-controls, .recommendation { padding: 2.3rem; }
.picker-controls h2 { margin-top: .4rem; }
.recommendation { background: radial-gradient(circle at 85% 10%, #a6534550, transparent 34%), linear-gradient(145deg, #204e47, #112e2a); color: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.recommendation h2 { margin-bottom: .5rem; }
.recommendation p:not(.eyebrow) { color: #ffffffb0; }
.button-light, .recommendation .button { background: var(--paper); color: var(--ink); }
fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; }
legend { font-weight: 650; margin-bottom: .8rem; }
.needs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.needs label { border: 1px solid var(--line); padding: .75rem; border-radius: 12px; cursor: pointer; }
.needs label:has(input:checked) { background: var(--soft); border-color: var(--ink); }
input[type="radio"] { accent-color: var(--ink); }
select { padding: .5rem; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; color: var(--ink); }

.method-strip { background: #f0ece1; padding: 2.2rem 0; }
.method-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.method-inner h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); margin: 0; }
.method-inner h2 span { color: var(--clay); }
.method-inner p { margin: 0; font-size: .95rem; }

.section { padding: 3rem 0; }
.section-roomy { padding-block: 5.5rem; }
.section-roomy > h2 { max-width: 780px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { padding: 1.8rem; border: 1px solid var(--line); border-radius: 18px; background: #fff9; }
.card h3 { margin: 1rem 0; }
.card p { font-size: 1rem; }
.universe-grid { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.universe-card { position: relative; border: 0; border-radius: 0; background: var(--paper); min-height: 275px; display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.universe-icon { font-family: Georgia, serif; font-size: 2rem; color: var(--clay); }
.card-number { position: absolute; right: 1.8rem; top: 1.8rem; font-family: Georgia, serif; opacity: .35; }
.universe-card h3 { margin-top: auto; }
.card-link { font-size: .9rem; font-weight: 700; color: var(--clay); opacity: 0; transform: translateX(-6px); transition: .2s; }
.universe-card:hover .card-link { opacity: 1; transform: none; }

.feature-section { padding-bottom: 5rem; }
.feature-image { width: 100%; max-height: 520px; object-fit: cover; border-radius: 24px; box-shadow: 0 25px 70px #2736311d; }

.journey-band { background: #173a35; color: #f7f2e8; padding: 6rem 0; }
.journey-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 5rem; }
.journey-layout > div:first-child { position: sticky; top: 7rem; align-self: start; }
.journey-layout h2 em { display: block; color: #d9aa91; }
.journey-layout > div:first-child > p:last-child { color: #ffffffa6; }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.journey-card { border: 1px solid #ffffff20; border-radius: 22px; padding: 2rem; background: #ffffff0a; }
.journey-card h3 { margin-top: 3rem; }
.journey-card p { color: #ffffff9e; }
.journey-card a { color: #f0c8b3; }
.journey-featured { grid-column: 1 / -1; min-height: 330px; background: radial-gradient(circle at 85% 10%, #a6534560, transparent 38%), #214b45; }
.journey-featured h3 { font-size: clamp(2.2rem, 4vw, 3.7rem); max-width: 650px; }
.tag { display: inline-block; border: 1px solid #ffffff35; border-radius: 99px; padding: .35rem .8rem; font-size: .8rem; }

.journal-band { background: #a65345; color: #fff8ef; padding: 6rem 0; }
.journal-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 5rem; align-items: start; }
.journal-layout > div:first-child > p:last-child { color: #ffffffc2; }
.journal-panel { background: #fff8ef; color: #173a35; padding: 2rem; border-radius: 24px; box-shadow: 0 25px 70px #51201935; }
.journal-panel blockquote { margin: 0 0 1.5rem; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.05; font-style: italic; }
.journal-area { display: block; min-height: 210px; width: 100%; border: 1px solid var(--line); border-radius: 18px; background: white; padding: 1.2rem; font-size: 1.05rem; }
.journal-panel .outline { background: transparent; color: var(--ink); }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.2rem 0; }
output { display: block; margin: 1rem 0; }

.article { max-width: 760px; margin: 3rem auto 5rem; }
.article h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.article h2 { font-size: 2.1rem; margin-top: 2.5rem; }
.article p, .article li { font-size: 1.12rem; line-height: 1.9; }
.meta { font-size: .9rem; opacity: .75; }
.post-content > p:first-child { font-size: 1.25rem; }

.site-footer { background: #102d29; color: #f5efe4; padding: 4rem 0 2rem; }
.site-footer .brand::before { --paper: #102d29; }
.footer-inner { display: grid; grid-template-columns: 1.4fr .6fr; gap: 4rem; padding-bottom: 3rem; border-bottom: 1px solid #ffffff20; }
.footer-inner > div > p { max-width: 520px; color: #ffffff9e; }
.footer-inner nav { display: grid; align-content: start; gap: .4rem; }
.footer-note { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.5rem; color: #ffffff82; }
.site-footer p { font-size: .9rem; }

.skip-link { position: absolute; top: -100px; left: 1rem; background: white; padding: 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
dialog { max-width: min(680px, calc(100% - 2rem)); max-height: 90vh; overflow: auto; border: 0; border-radius: 24px; padding: 2rem; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #0b211ed9; backdrop-filter: blur(7px); }
dialog h2 { font-size: 2.5rem; }
.timer { font-size: 3rem; font-family: Georgia, serif; font-variant-numeric: tabular-nums; }
.close-dialog { float: right; }
.dialog-note { font-size: .9rem; opacity: .7; }

@media (max-width: 850px) {
  .hero-copy, .practice-picker, .method-inner, .journey-layout, .journal-layout { grid-template-columns: 1fr; }
  .hero-copy { gap: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: block; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; padding: 1rem 0; }
  .nav-links.is-open { display: flex; }
  .hero { padding-top: 2rem; }
  .journey-layout > div:first-child { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .grid, .journey-grid { grid-template-columns: 1fr; }
  .needs { grid-template-columns: 1fr; }
  .picker-controls, .recommendation { padding: 1.5rem; }
  .wrap { width: calc(100% - 2rem); }
  .hero h1 em { margin-left: 0; }
  .actions { gap: .6rem; }
  .footer-note { flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, button, .actions { display: none; } .article { max-width: none; } }

/* Pause Lumière 2 — identité, lecture et navigation. */
.brand::before { display:none; }
.brand { flex-shrink:0; font-size:1.7rem; letter-spacing:-.045em; }
.brand img { width:44px; height:44px; flex-shrink:0; }
.brand small { display:block; font:9px/1.8 system-ui,sans-serif; letter-spacing:.18em; text-transform:uppercase; margin-top:5px; }
.nav-links { gap:1.1rem; font-size:.91rem; }
.nav-links a { padding:.5rem 0; display:block; }
.site-header { padding:.85rem 0; }
.hero h1 { font-size:clamp(3.7rem,6.8vw,6.4rem); }
.hero-copy { grid-template-columns:1.2fr 1fr; }
.hero-copy p { max-width:34rem; }
.universe-card { transition:transform .2s,border-color .2s; }
.universe-card:hover { transform:translateY(-4px); border-color:var(--clay); }
.card-link { display:block; margin-top:auto; padding-top:1rem; }
.universe-card,.editorial-card { display:flex; flex-direction:column; }
.discovery-split { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; }
.discovery-split h2 { margin:.5rem 0 1.4rem; }
.discovery-split em { color:var(--clay); }
.mineral-art { height:470px; border-radius:180px 180px 24px 24px; background:radial-gradient(ellipse at 60% 40%,#f1e1c8,transparent 60%),#ece5d9; position:relative; overflow:hidden; }
.art-orbit { position:absolute; width:75%; height:75%; border:1px solid #a97b4c70; border-radius:50%; top:10%; left:12%; }
.art-orbit::after { content:'✦'; position:absolute; right:12%; top:4%; color:#936345; font-size:30px; }
.crystal { position:absolute; bottom:85px; width:140px; height:230px; clip-path:polygon(50% 0,95% 25%,90% 85%,50% 100%,10% 85%,5% 25%); filter:drop-shadow(5px 20px 12px #44354a30); }
.crystal-a { left:18%; height:270px; width:160px; background:conic-gradient(from 40deg at 50% 30%,#ccb7d5,#796484,#d9cbdc,#9581a3,#ccb7d5); transform:rotate(-13deg); }
.crystal-b { left:47%; background:conic-gradient(from 30deg at 50% 35%,#e7bfbb,#d39391,#f7d9ca,#cfa0a0,#e7bfbb); transform:rotate(16deg); }
.crystal-c { left:63%; bottom:73px; width:115px; height:160px; background:conic-gradient(from 20deg at 50% 35%,#98b6ae,#476d67,#c4d4c3,#3d615d,#98b6ae); transform:rotate(27deg); }
.art-label { position:absolute; bottom:28px; left:0; width:100%; text-align:center; letter-spacing:.16em; font-size:10px; }
.editorial-card { text-decoration:none; min-height:280px; background:#fffdf8; }
.editorial-card:nth-child(2) { background:#ebe7ee; }
.editorial-card:nth-child(3) { background:#e5ebe2; }
.journey-card { min-height:260px; display:flex; flex-direction:column; }
.journey-card h3 { margin:1.5rem 0 .7rem; }
.journey-card > a { margin-top:auto; padding-top:1rem; }
.journey-featured > .button { align-self:flex-start; padding:.72rem 1.3rem; margin-top:1rem; }
.journey-card p,.journey-layout > div > p { color:#e0e8df; }
.journey-card a:hover { color:#fff; }
.journey-featured .button { color:#173a35; }
.reading-shell { padding-bottom:4rem; }
.breadcrumbs { font-size:.78rem; padding:1.8rem 0; color:#4b625c; }
.breadcrumbs span:last-child { display:inline; }
.reading-heading { max-width:950px; padding:1.7rem 0 2.5rem; }
.reading-heading h1 { font-size:clamp(2.6rem,5vw,4.7rem); line-height:1.06; margin:1rem 0; text-wrap:balance; }
.reading-byline { font-size:.85rem; color:#53655c; }
.reading-layout { display:grid; grid-template-columns:255px minmax(0,760px); gap:clamp(2rem,5vw,5rem); border-top:1px solid var(--line); padding-top:2.5rem; align-items:start; }
.reading-sidebar { position:sticky; top:110px; max-height:calc(100vh - 140px); overflow:auto; padding:0 .7rem 1rem 0; }
.toc summary { font-weight:700; cursor:pointer; font-size:.9rem; }
.toc ol { padding-left:1.15rem; font-size:.83rem; line-height:1.5; }
.toc li { padding:.4rem 0; }
.toc a { text-decoration:none; }
.toc a:hover { text-decoration:underline; }
.side-cta { display:block; background:#e6eadf; padding:1.2rem; margin:1.5rem 0 0; border-radius:12px; text-decoration:none; font-size:.85rem; }
.reading-article { margin:0; max-width:none; min-width:0; }
.reading-article p,.reading-article li { font-size:1.04rem; line-height:1.85; }
.reading-article .lead { font-family:Georgia,serif; font-size:1.5rem; line-height:1.55; margin-top:0; }
.reading-article h2 { font-size:clamp(1.7rem,3vw,2.2rem); line-height:1.2; margin-top:2.8rem; scroll-margin-top:120px; text-wrap:balance; }
.reading-article li { margin:.7rem 0; }
.reading-article a { overflow-wrap:anywhere; }
.editorial-note { margin:3rem 0; padding:1rem 1.3rem; border-left:3px solid #b47849; background:#eee9dc; }
.editorial-note p { font-size:.9rem; }
.reading-more { margin-top:4rem; padding-top:1.5rem; border-top:1px solid var(--line); }
.reading-more h2 { font-size:2rem; }
.topic-chips { display:flex; flex-wrap:wrap; gap:.7rem; }
.topic-chips a { padding:.6rem 1rem; border:1px solid var(--line); border-radius:99px; text-decoration:none; font-size:.9rem; }
.journey-progress { border:1px solid var(--line); border-radius:16px; background:#e7eadf; padding:1.2rem; margin-bottom:2rem; }
.journey-progress progress { display:block; width:100%; height:10px; accent-color:var(--ink); margin:.8rem 0; }
.journey-progress output { margin:.5rem 0; font-weight:600; }
.journey-progress p { margin:.5rem 0 0; font-size:.85rem; }
.day-check { display:flex; align-items:center; gap:.7rem; padding:.7rem 1rem; background:#edece2; border-radius:9px; font-size:.9rem; width:fit-content; margin:1rem 0; cursor:pointer; }
.day-check input { accent-color:var(--ink); width:20px; height:20px; }
.day-check:has(input:checked) { background:#d7e6d7; }
.site-footer .brand small { color:#e2dace; }
body.admin-bar .site-header { top:32px; }
@media(max-width:1050px){.menu-toggle{display:block}.site-header .wrap{flex-wrap:wrap}.site-header nav{width:100%}.nav-links{display:none}.nav-links.is-open{display:flex;gap:1rem}.discovery-split{gap:2rem}.reading-layout{grid-template-columns:210px minmax(0,1fr);gap:2rem}}
@media(max-width:760px){.hero-copy,.discovery-split,.reading-layout{grid-template-columns:1fr}.reading-sidebar{position:static;max-height:none;padding:0}.toc{border:1px solid var(--line);border-radius:12px;padding:1rem}.side-cta{display:none}.reading-heading{padding-top:.5rem}.reading-layout{padding-top:1.5rem;gap:1.5rem}.mineral-art{height:370px}.nav-links.is-open{display:grid;grid-template-columns:1fr 1fr}.reading-more{margin-top:2rem}.reading-heading h1{font-size:2.8rem}.breadcrumbs span:last-child{display:none}body.admin-bar .site-header{top:46px}}
@media(max-width:480px){.brand{font-size:1.5rem}.brand img{width:37px;height:37px}.brand small{font-size:8px}.site-header .wrap{gap:.5rem}.reading-heading h1{font-size:2.45rem}.hero h1{font-size:3.6rem}.crystal-a{left:12%}.crystal-b{left:43%}.reading-article .lead{font-size:1.3rem}.mineral-art{height:340px}.journey-card{min-height:0}.journey-card a{margin-top:1rem}}
@media(prefers-reduced-motion:reduce){.universe-card{transition:none}.universe-card:hover{transform:none}}
@media print{.reading-sidebar,.reading-more,.breadcrumbs{display:none}.reading-layout{display:block}.reading-heading h1{font-size:28pt}.reading-article h2{break-after:avoid}.journey-progress{display:none}}
