/*
Theme Name: Pause Lumière
Description: Pratiques personnelles, exploration intérieure, parcours et journal local.
Version: 1.1.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; } }
