/* ==========================================================================
   Socle : réinitialisation minimale
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
    margin-top: 0;
}

img,
svg,
video {
    display: block;
    height: auto;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

input[type="range"] {
    width: 100%;
}

:root {
    --ink: #18312d;
    --muted-ink: #60716d;
    --paper: #f7f8f3;
    --warm-white: #fffefa;
    --pine: #1b5048;
    --deep-pine: #123d37;
    --sage: #c5d7ca;
    --mist: #e7efea;
    --coral: #e88466;
    --line: rgba(24, 49, 45, 0.14);
    --shadow: 0 24px 60px rgba(22, 56, 49, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    padding-top: 0;
}

body:after {
    display: none;
}

body,
button,
input {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(232, 132, 102, 0.72);
    outline-offset: 3px;
}

.site-header {
    align-items: center;
    background: rgba(247, 248, 243, 0.94);
    border-bottom: 1px solid rgba(24, 49, 45, 0.1);
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: none;
    padding: 1.25rem max(5vw, 1.5rem);
    position: sticky;
    text-align: left;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.brand a {
    color: var(--deep-pine);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    text-decoration: none;
}

.brand span {
    color: var(--muted-ink);
    display: inline;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-left: 0.45rem;
}

.site-nav {
    align-items: center;
    background: transparent;
    display: flex;
    gap: 1.7rem;
    height: auto;
    padding: 0;
    position: static;
    width: auto;
}

.site-nav a,
.site-nav li a {
    background: transparent;
    color: var(--ink);
    display: inline;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    height: auto;
    line-height: normal;
    min-width: 0;
    text-decoration: none;
}

.site-nav a:hover {
    background: transparent;
    color: var(--pine);
}

.site-nav .nav-cta {
    background: var(--pine);
    border-radius: 99px;
    color: #fff;
    padding: 0.7rem 1.25rem;
}

.site-nav .nav-cta:hover {
    background: var(--deep-pine);
    color: #fff;
}

#main > .inner {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    max-width: none;
    width: 100%;
}

.coherence-hero {
    background:
        radial-gradient(circle at 10% 15%, rgba(219, 235, 223, 0.9), transparent 29rem),
        linear-gradient(135deg, #eef3ef 0%, #f7f8f3 60%, #f5efe5 100%);
    display: grid;
    gap: clamp(2.5rem, 7vw, 8.5rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 0.8fr);
    min-height: min(43rem, calc(100vh - 4rem));
    padding: clamp(4.5rem, 8vw, 9rem) max(6vw, 1.5rem);
}

.hero-intro {
    align-self: center;
    max-width: 39rem;
}

.eyebrow {
    color: var(--pine);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin: 0 0 1.15rem;
    text-transform: uppercase;
}

.hero-intro h1 {
    color: var(--deep-pine);
    font-size: clamp(3rem, 5.4vw, 5.7rem);
    font-weight: 600;
    letter-spacing: -0.075em;
    line-height: 0.98;
    margin: 0;
}

.hero-copy {
    color: var(--muted-ink);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.8;
    margin: 2rem 0 1.8rem;
    max-width: 34rem;
}

.text-link {
    border-bottom: 1px solid currentColor;
    color: var(--pine);
    font-size: 0.88rem;
    font-weight: 700;
    padding-bottom: 0.25rem;
    text-decoration: none;
}

.text-link span {
    display: inline-block;
    margin-left: 0.4rem;
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translateY(0.22rem);
}

.breathing-card {
    align-self: center;
    background: var(--warm-white);
    border: 1px solid rgba(24, 49, 45, 0.08);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    padding: clamp(1.7rem, 3.2vw, 2.8rem);
    scroll-margin-top: 7rem;
}

.session-heading {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.5rem;
}

.session-heading .eyebrow {
    font-size: 0.65rem;
    margin-bottom: 0.55rem;
}

.session-heading h2,
.section-heading h2,
.custom-intro h2,
.practice-card h2 {
    color: var(--deep-pine);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin: 0;
}

.breathing-stage {
    align-items: center;
    display: flex;
    flex-direction: column;
    min-height: 20rem;
    justify-content: center;
    margin-top: 2.75rem;
    text-align: center;
}

.breath-orbit {
    align-items: center;
    background: rgba(157, 190, 168, 0.55);
    border: 1px solid rgba(24, 49, 45, 0.1);
    border-radius: 50%;
    display: flex;
    height: clamp(10rem, 19vw, 13rem);
    justify-content: center;
    position: relative;
    width: clamp(10rem, 19vw, 13rem);
}

.breath-orbit:before,
.breath-orbit:after {
    border: 1px solid rgba(27, 80, 72, 0.28);
    border-radius: inherit;
    content: '';
    inset: -0.7rem;
    position: absolute;
}

.breath-orbit:after {
    inset: -1.35rem;
    opacity: 0.55;
}

.breath-circle {
    background: radial-gradient(circle at 32% 28%, #fbfff5 0%, #dcead8 32%, #80af95 100%);
    border-radius: 50%;
    box-shadow: 0 18px 30px rgba(23, 80, 69, 0.18), inset 0 2px 8px rgba(255, 255, 255, 0.8);
    height: 76%;
    position: relative;
    transform: scale(0.76);
    width: 76%;
    will-change: transform, opacity;
}

.breath-circle:after {
    border: 3px solid transparent;
    border-radius: inherit;
    content: '';
    inset: -0.2rem;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: border-color 180ms ease-out, opacity 180ms ease-out;
}

.breath-circle.is-cue-inhale:after {
    border-color: var(--pine);
    opacity: 1;
}

.breath-circle.is-cue-exhale:after {
    border-color: var(--coral);
    opacity: 1;
}

.phase-label {
    color: var(--deep-pine);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin: 2.5rem 0 0.35rem;
}

.phase-guidance,
.keyboard-hint {
    color: var(--muted-ink);
    font-size: 0.82rem;
    margin: 0;
}

.session-progress {
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
}

.progress-track {
    background: var(--mist);
    border-radius: 99px;
    height: 0.4rem;
    overflow: hidden;
}

.progress-track span {
    background: var(--coral);
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width 100ms linear;
    width: 0;
}

.time-row {
    display: flex;
    justify-content: space-between;
    margin-top: 0.8rem;
}

.time-row strong {
    color: var(--deep-pine);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.time-row span {
    color: var(--muted-ink);
    font-size: 0.78rem;
}

.session-actions {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr 0.7fr;
    margin-top: 1.7rem;
}

.button {
    border-radius: 0.7rem;
    box-shadow: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.79rem;
    font-weight: 700;
    height: auto;
    letter-spacing: 0.04em;
    line-height: 1.1;
    min-width: 0;
    padding: 1rem 1.25rem;
    text-transform: none;
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.primary-action {
    background: var(--pine);
    color: #fff !important;
}

.primary-action:hover {
    background: var(--deep-pine);
    box-shadow: 0 10px 18px rgba(27, 80, 72, 0.22);
}

.quiet-action {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--pine) !important;
}

.quiet-action:hover {
    background: var(--mist);
}

.keyboard-hint {
    margin-top: 1.15rem;
    text-align: center;
}

.session-section,
.custom-section,
.practice-section {
    padding: clamp(4.5rem, 8vw, 8rem) max(6vw, 1.5rem);
}

.session-section {
    background: var(--warm-white);
}

.section-heading {
    margin: 0 auto clamp(2.5rem, 4vw, 4rem);
    max-width: 43rem;
    text-align: center;
}

.section-heading > p:last-child,
.custom-intro > p:last-child {
    color: var(--muted-ink);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 1.25rem auto 0;
}

.preset-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: auto;
    max-width: 88rem;
}

.preset-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font: inherit;
    gap: 1.3rem;
    min-height: 16.5rem;
    padding: 1.5rem;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.preset-card:hover {
    border-color: rgba(27, 80, 72, 0.45);
    box-shadow: 0 14px 26px rgba(23, 80, 69, 0.1);
    transform: translateY(-4px);
}

.preset-card.is-selected {
    background: #f4f8f2;
    border-color: var(--pine);
    box-shadow: inset 0 0 0 1px var(--pine);
}

.preset-icon {
    align-items: center;
    background: var(--mist);
    border-radius: 50%;
    color: var(--pine);
    display: inline-flex;
    font-size: 1.55rem;
    height: 3rem;
    justify-content: center;
    line-height: 1;
    width: 3rem;
}

.is-selected .preset-icon {
    background: var(--pine);
    color: #fff;
}

.preset-content {
    display: grid;
    gap: 0.55rem;
}

.preset-content strong {
    color: var(--deep-pine);
    font-size: 1.03rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.preset-content span,
.preset-note {
    color: var(--muted-ink);
    font-size: 0.77rem;
    line-height: 1.55;
}

.preset-note {
    border-top: 1px solid var(--line);
    margin-top: auto;
    padding-top: 1rem;
}

.custom-section {
    background: #e8f0ea;
    display: grid;
    gap: clamp(2rem, 6vw, 8rem);
    grid-template-columns: minmax(0, 0.75fr) minmax(24rem, 0.95fr);
}

.custom-intro {
    align-self: center;
    max-width: 31rem;
}

.custom-intro > p:last-child {
    margin-left: 0;
}

.settings-panel {
    background: var(--warm-white);
    border: 1px solid rgba(24, 49, 45, 0.1);
    border-radius: 1.25rem;
    box-shadow: 0 18px 42px rgba(22, 56, 49, 0.08);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.setting-row + .setting-row {
    border-top: 1px solid var(--line);
    margin-top: 1.7rem;
    padding-top: 1.7rem;
}

.setting-row label {
    align-items: center;
    color: var(--deep-pine);
    display: flex;
    font-size: 0.88rem;
    font-weight: 600;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.setting-row output {
    color: var(--pine);
    font-size: 0.8rem;
}

.setting-row input[type='range'] {
    appearance: none;
    background: linear-gradient(90deg, var(--pine), var(--sage));
    border: 0;
    border-radius: 99px;
    cursor: pointer;
    display: block;
    height: 0.35rem;
    margin: 0;
    padding: 0;
    width: 100%;
}

.setting-row input[type='range']::-webkit-slider-thumb {
    appearance: none;
    background: var(--warm-white);
    border: 2px solid var(--pine);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(22, 56, 49, 0.2);
    height: 1.25rem;
    width: 1.25rem;
}

.setting-row input[type='range']::-moz-range-thumb {
    background: var(--warm-white);
    border: 2px solid var(--pine);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(22, 56, 49, 0.2);
    height: 1rem;
    width: 1rem;
}

.range-labels {
    color: var(--muted-ink);
    display: flex;
    font-size: 0.7rem;
    justify-content: space-between;
    margin-top: 0.65rem;
}

.settings-button {
    background: var(--coral);
    color: #fff !important;
    margin-top: 2.2rem;
    width: 100%;
}

.settings-button:hover {
    background: #d87153;
    box-shadow: 0 10px 18px rgba(200, 93, 64, 0.2);
}

.practice-section {
    background: var(--deep-pine);
    color: #fff;
}

.practice-card {
    margin: 0 auto;
    max-width: 44rem;
}

.practice-card .eyebrow {
    color: #bcdcc7;
}

.practice-card h2 {
    color: #fff;
}

.practice-list {
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.practice-list li {
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    font-size: 0.94rem;
    line-height: 1.7;
    padding: 0;
}

.practice-list li:before {
    color: #bcdcc7;
    content: '○';
    flex: 0 0 1.5rem;
    font-size: 1.1rem;
    line-height: 1.35;
}

.practice-note {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.72rem;
    line-height: 1.55;
    margin: 3rem auto 0;
    max-width: 44rem;
    padding-top: 1.25rem;
}

.faq-section {
    background: var(--warm-white);
    padding: clamp(4.5rem, 8vw, 8rem) max(6vw, 1.5rem);
}

.faq-intro {
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    max-width: 45rem;
    text-align: center;
}

.faq-intro h2 {
    color: var(--deep-pine);
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.08;
    margin: 0;
}

.faq-intro > p:last-child {
    color: var(--muted-ink);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 1.25rem auto 0;
}

.faq-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: auto;
    max-width: 72rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    padding: clamp(1.35rem, 2.5vw, 2rem);
}

.faq-item h3 {
    color: var(--deep-pine);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.35;
    margin: 0;
}

.faq-item p {
    color: var(--muted-ink);
    font-size: 0.84rem;
    line-height: 1.7;
    margin: 0.9rem 0 0;
}

.resources-section,
.related-section {
    background: var(--mist);
    padding: clamp(4.5rem, 8vw, 8rem) max(6vw, 1.5rem);
}

.resources-section > .eyebrow,
.resources-section > h2,
.related-section > .eyebrow,
.related-section > h2 {
    margin-left: auto;
    margin-right: auto;
    max-width: 72rem;
}

.resources-section h2,
.related-section h2 {
    color: var(--deep-pine);
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.08;
    margin-bottom: clamp(2.3rem, 5vw, 4rem);
    margin-top: 0;
}

.resources-grid,
.related-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: auto;
    max-width: 72rem;
}

.resources-grid a,
.related-grid a {
    background: var(--warm-white);
    border: 1px solid rgba(24, 49, 45, 0.1);
    border-radius: 0.9rem;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    min-height: 13.5rem;
    padding: 1.4rem;
    text-decoration: none;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.resources-grid a:hover,
.related-grid a:hover {
    box-shadow: 0 15px 28px rgba(23, 80, 69, 0.13);
    transform: translateY(-4px);
}

.resource-number {
    color: var(--pine);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.resources-grid strong,
.related-grid strong {
    color: var(--deep-pine);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.35;
    margin-top: 2.2rem;
}

.resources-grid a > span:last-child,
.related-grid a > span {
    color: var(--muted-ink);
    font-size: 0.77rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

.article-hero {
    background:
        radial-gradient(circle at 20% 4%, rgba(219, 235, 223, 0.92), transparent 30rem),
        linear-gradient(135deg, #eef3ef 0%, #f7f8f3 72%, #f5efe5 100%);
    padding: clamp(4.5rem, 9vw, 9rem) max(6vw, 1.5rem) clamp(4rem, 8vw, 7rem);
    text-align: center;
}

.article-hero > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 54rem;
}

.breadcrumb {
    align-items: center;
    color: var(--muted-ink);
    display: flex;
    font-size: 0.74rem;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2.7rem;
}

.breadcrumb a {
    color: var(--pine);
    text-decoration: none;
}

.article-hero .eyebrow {
    margin-bottom: 1rem;
}

.article-hero h1 {
    color: var(--deep-pine);
    font-size: clamp(2.8rem, 5.8vw, 5.2rem);
    font-weight: 600;
    letter-spacing: -0.07em;
    line-height: 0.98;
    margin-bottom: 1.7rem;
    margin-top: 0;
}

.article-lead {
    color: var(--muted-ink);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.article-cta {
    display: inline-block;
    text-decoration: none;
}

.article-layout {
    display: grid;
    gap: clamp(2.5rem, 7vw, 8rem);
    grid-template-columns: minmax(13rem, 0.33fr) minmax(0, 1fr);
    margin: auto;
    max-width: 78rem;
    padding: clamp(4.5rem, 9vw, 8rem) max(6vw, 1.5rem);
}

.article-aside {
    align-self: start;
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
    position: sticky;
    top: 7rem;
}

.article-aside .eyebrow {
    font-size: 0.62rem;
    margin-bottom: 0.85rem;
}

.article-aside ol {
    display: grid;
    gap: 0.55rem;
    list-style: decimal;
    margin: 0;
    padding-left: 1.1rem;
}

.article-aside li {
    color: var(--muted-ink);
    font-size: 0.75rem;
    padding-left: 0.2rem;
}

.article-aside a {
    color: var(--ink);
    line-height: 1.45;
    text-decoration: none;
}

.article-aside a:hover {
    color: var(--pine);
}

.article-content {
    max-width: 45rem;
}

.article-content h2 {
    color: var(--deep-pine);
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.1;
    margin: 0 0 1.35rem;
    scroll-margin-top: 7rem;
}

.article-content h2:not(:first-child) {
    border-top: 1px solid var(--line);
    margin-top: 3.8rem;
    padding-top: 3.8rem;
}

.article-content h3 {
    color: var(--deep-pine);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.35;
    margin: 0;
}

.article-content p {
    color: var(--muted-ink);
    font-size: 0.96rem;
    line-height: 1.85;
    margin: 0 0 1.25rem;
}

.article-content strong {
    color: var(--ink);
    font-weight: 600;
}

.steps-list {
    display: grid;
    gap: 1rem;
    margin: 2rem 0 0;
}

.steps-list section {
    background: var(--mist);
    border-radius: 0.8rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: 2.25rem 1fr;
    padding: 1.2rem;
}

.steps-list section > span {
    align-items: center;
    background: var(--pine);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 0.8rem;
    font-weight: 700;
    height: 2.15rem;
    justify-content: center;
    width: 2.15rem;
}

.steps-list p {
    font-size: 0.82rem;
    line-height: 1.65;
    margin: 0.45rem 0 0;
}

.article-callout {
    background: var(--deep-pine);
    border-radius: 0.8rem;
    color: rgba(255, 255, 255, 0.84) !important;
    margin-top: 2rem !important;
    padding: 1.45rem;
}

.article-callout a {
    border-bottom: 1px solid currentColor;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.related-section {
    background: #f1f4ef;
}

.related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-grid strong {
    margin-top: auto;
}

.error-page {
    min-height: 65vh;
}

#footer {
    background: #0f302b;
    color: rgba(255, 255, 255, 0.72);
    padding: 3rem max(6vw, 1.5rem) 1.5rem;
    text-align: center;
}

#footer p {
    font-size: 0.8rem;
    margin: 0.4rem 0;
}

#footer .footer-brand {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

#footer .copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.68rem;
    margin: 1.5rem 0 0;
}

@media screen and (max-width: 1080px) {
    .coherence-hero,
    .custom-section {
        grid-template-columns: 1fr;
    }

    .coherence-hero {
        min-height: 0;
    }

    .breathing-card {
        max-width: 39rem;
        width: 100%;
    }

    .preset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-list {
        grid-template-columns: 1fr;
    }

    .custom-intro {
        max-width: 38rem;
    }
}

@media screen and (max-width: 736px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        padding: 1.15rem 1.25rem;
        position: relative;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 0.7rem 1.1rem;
        width: 100%;
    }

    .site-nav a,
    .site-nav li a {
        font-size: 0.73rem;
    }

    .site-nav .nav-cta {
        margin-left: auto;
        padding: 0.55rem 0.85rem;
    }

    .coherence-hero,
    .session-section,
    .custom-section,
    .practice-section,
    .faq-section {
        padding: 4rem 1.25rem;
    }

    .hero-intro h1 {
        font-size: clamp(2.8rem, 14vw, 4.3rem);
    }

    .breathing-card {
        border-radius: 1.15rem;
        padding: 1.35rem;
    }

    .breathing-stage {
        min-height: 18rem;
    }

    .session-actions {
        grid-template-columns: 1fr;
    }

    .preset-grid {
        grid-template-columns: 1fr;
    }

    .preset-card {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Polices auto-hébergées (aucune requête externe)
   ========================================================================== */

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('/assets/font/poppins-400.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('/assets/font/poppins-500.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('/assets/font/poppins-600.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('/assets/font/poppins-700.woff2') format('woff2');
}

/* ==========================================================================
   Accessibilité : lien d'évitement
   ========================================================================== */

.skip-link {
    background: var(--pine);
    border-radius: 0 0 8px 0;
    color: #fff;
    font-size: 0.85rem;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: absolute;
    text-decoration: none;
    top: 0;
    transform: translateY(-120%);
    transition: transform 0.15s ease;
    z-index: 2000;
}

.skip-link:focus {
    transform: translateY(0);
}

/* ==========================================================================
   Navigation : page courante et repli mobile
   ========================================================================== */

.site-nav a[aria-current="page"] {
    color: var(--pine);
    font-weight: 600;
}

.site-nav a[aria-current="page"]:not(.nav-cta) {
    box-shadow: 0 2px 0 var(--coral);
}

/* ==========================================================================
   Pied de page
   ========================================================================== */

#footer .footer-grid {
    display: grid;
    gap: 2.25rem;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    margin: 0 auto;
    max-width: 68rem;
    text-align: left;
}

#footer .footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer .footer-col li {
    margin: 0 0 0.5rem;
    padding: 0;
}

#footer .footer-title {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin: 0 0 0.9rem;
    text-transform: uppercase;
}

#footer a {
    border-bottom: 1px solid transparent;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

#footer a:hover {
    border-bottom-color: var(--coral);
    color: #fff;
}

#footer .footer-author {
    margin-top: 0.9rem;
}

#footer .footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    line-height: 1.6;
    margin: 2.5rem auto 0;
    max-width: 52rem;
    padding-top: 1.5rem;
}

@media screen and (max-width: 980px) {
    #footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 736px) {
    .site-header {
        flex-direction: column;
        gap: 0.9rem;
        padding: 1rem 1.25rem;
        position: static;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 0.65rem 1.1rem;
        justify-content: center;
    }

    .site-nav .nav-cta {
        padding: 0.55rem 1.1rem;
    }

    #footer .footer-grid {
        gap: 1.75rem;
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Accueil : points forts et bouton d'installation
   ========================================================================== */

.hero-points {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
}

.hero-points li {
    color: var(--muted-ink);
    font-size: 0.92rem;
    margin: 0 0 0.55rem;
    padding-left: 1.6rem;
    position: relative;
}

.hero-points li:before {
    color: var(--pine);
    content: '✓';
    font-weight: 700;
    left: 0;
    position: absolute;
}

.button.ghost-action {
    background: transparent;
    border: 1.5px solid var(--pine);
    color: var(--pine);
    margin-top: 1.6rem;
}

.button.ghost-action:hover {
    background: var(--pine);
    color: #fff;
}

.session-summary {
    color: var(--muted-ink);
    font-size: 0.76rem;
    line-height: 1.55;
    margin: 0.5rem 0 0;
}

/* ==========================================================================
   Panneau de pratique
   ========================================================================== */

.practice-panel {
    background: var(--warm-white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    margin: 0 auto 5rem;
    max-width: 58rem;
    padding: 2.5rem max(2rem, 4vw);
}

.practice-panel[hidden] {
    display: none;
}

.practice-heading h2 {
    font-size: 1.6rem;
    margin: 0.2rem 0 0;
}

.stat-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 1.8rem 0 0;
}

.stat-card {
    background: var(--mist);
    border-radius: 16px;
    padding: 1.4rem 1rem;
    text-align: center;
}

.stat-card strong {
    color: var(--deep-pine);
    display: block;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.stat-card span {
    color: var(--muted-ink);
    display: block;
    font-size: 0.78rem;
    margin-top: 0.35rem;
}

.practice-feedback {
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 1.6rem 0 0;
}

.practice-privacy {
    color: var(--muted-ink);
    font-size: 0.78rem;
    line-height: 1.6;
    margin: 0.8rem 0 0;
}

/* ==========================================================================
   Réglages avancés
   ========================================================================== */

.rate-readout {
    background: var(--mist);
    border-radius: 12px;
    color: var(--muted-ink);
    font-size: 0.85rem;
    margin: 1.4rem 0 0;
    padding: 0.8rem 1rem;
    text-align: center;
}

.rate-readout strong {
    color: var(--deep-pine);
    font-size: 1.05rem;
}

.toggle-row {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.85rem;
    margin: 1.6rem 0 0;
    padding-top: 1.4rem;
}

.toggle {
    align-items: flex-start;
    color: var(--muted-ink);
    cursor: pointer;
    display: flex;
    font-size: 0.86rem;
    gap: 0.7rem;
    line-height: 1.5;
}

.toggle input {
    accent-color: var(--pine);
    flex: 0 0 auto;
    height: 1.15rem;
    margin-top: 0.1rem;
    width: 1.15rem;
}

/* ==========================================================================
   Sections rédactionnelles longues
   ========================================================================== */

.article-section {
    margin: 0 auto 5rem;
    max-width: 44rem;
}

.article-section h2 {
    font-size: 1.85rem;
    letter-spacing: -0.03em;
    margin: 3rem 0 1rem;
}

.article-section h2:first-child {
    margin-top: 0;
}

.article-section h3 {
    font-size: 1.05rem;
    margin: 0 0 0.4rem;
}

.article-section p {
    color: var(--muted-ink);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 1.1rem;
}

.article-section a {
    color: var(--pine);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-section ul {
    color: var(--muted-ink);
    line-height: 1.75;
    margin: 0 0 1.4rem;
    padding-left: 1.2rem;
}

.article-section li {
    margin-bottom: 0.5rem;
}

.source-list {
    background: var(--mist);
    border-radius: 16px;
    font-size: 0.86rem;
    list-style: none;
    margin: 2rem 0 0;
    padding: 1.6rem 1.8rem;
}

.source-list li {
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.source-list li:last-child {
    margin-bottom: 0;
}

.medical-notice {
    background: rgba(232, 132, 102, 0.1);
    border-left: 3px solid var(--coral);
    border-radius: 0 12px 12px 0;
    color: var(--ink);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 2rem 0;
    padding: 1.2rem 1.4rem;
}

.author-line {
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--muted-ink);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 0.4rem;
    margin-top: 3rem;
    padding-top: 1.4rem;
}

.author-line a {
    color: var(--pine);
}

@media screen and (max-width: 736px) {
    .stat-grid {
        gap: 0.6rem;
    }

    .stat-card {
        padding: 1.1rem 0.5rem;
    }

    .stat-card strong {
        font-size: 1.6rem;
    }

    .practice-panel {
        padding: 1.8rem 1.4rem;
    }

    .article-section h2 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Page de séance guidée
   ========================================================================== */

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.guided-session {
    margin: 0 auto 4.5rem;
    max-width: 39rem;
}

.session-choices {
    margin-top: 2.2rem;
    text-align: center;
}

.choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 0.9rem;
}

.choice-button {
    background: var(--warm-white);
    border: 1.5px solid var(--line);
    border-radius: 99px;
    color: var(--ink);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.choice-button:hover {
    border-color: var(--pine);
}

.choice-button.is-selected {
    background: var(--pine);
    border-color: var(--pine);
    color: #fff;
}

.choice-note {
    color: var(--muted-ink);
    font-size: 0.82rem;
    margin: 1.2rem 0 0;
}

.choice-note a {
    color: var(--pine);
}

.contact-address {
    background: var(--mist);
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.1rem 1.4rem;
    text-align: center;
}

/* ==========================================================================
   Correctifs responsive des grilles de liens et des sections rédactionnelles
   ========================================================================== */

@media screen and (max-width: 1080px) {
    .resources-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 860px) {
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .resources-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .resources-section,
    .related-section,
    .guided-session,
    .practice-panel {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .article-section {
        padding: 0 1.25rem;
    }

    .steps-list section {
        gap: 0.9rem;
    }

    .source-list {
        padding: 1.2rem 1.1rem;
    }

    .breath-orbit {
        max-width: 100%;
    }
}

/* ==========================================================================
   Hero : l'outil doit rester accessible sans défilement, y compris sur mobile
   ========================================================================== */

.coherence-hero {
    align-items: center;
    grid-template-areas: 'intro card' 'detail card';
    grid-template-rows: auto auto;
    row-gap: 1.6rem;
}

.hero-intro   { grid-area: intro; align-self: end; }
.hero-detail  { grid-area: detail; align-self: start; max-width: 39rem; }
.breathing-card { grid-area: card; }

@media screen and (max-width: 1080px) {
    .coherence-hero {
        grid-template-areas: 'intro' 'card' 'detail';
        grid-template-columns: minmax(0, 1fr);
        row-gap: 2rem;
    }

    .hero-intro,
    .hero-detail {
        align-self: auto;
        max-width: 42rem;
    }
}

@media screen and (max-width: 736px) {
    .coherence-hero {
        min-height: 0;
        padding-bottom: 3rem;
        padding-top: 2rem;
        row-gap: 1.5rem;
    }

    .hero-intro h1 {
        font-size: clamp(2.1rem, 9vw, 2.9rem);
        letter-spacing: -0.05em;
        line-height: 1.08;
    }

    .hero-intro .eyebrow {
        margin-bottom: 0.5rem;
    }

    .hero-copy {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   En-tête compact et séance accessible sans défilement sur mobile
   ========================================================================== */

.site-header .nav-cta {
    background: var(--pine);
    border-radius: 99px;
    color: #fff;
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 500;
    order: 3;
    padding: 0.7rem 1.25rem;
    text-decoration: none;
    transition: background 0.15s ease;
}

.site-header .nav-cta:hover {
    background: var(--deep-pine);
    color: #fff;
}

.site-header .brand { order: 1; }
.site-header .site-nav { order: 2; }

@media screen and (max-width: 736px) {
    .site-header {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.85rem 1.25rem;
    }

    .site-header .brand {
        flex: 1 1 auto;
    }

    .site-header .nav-cta {
        order: 2;
        padding: 0.5rem 1rem;
    }

    /* Les liens passent sur une bande défilante : tous restent présents et cliquables. */
    .site-header .site-nav {
        -ms-overflow-style: none;
        flex-wrap: nowrap;
        gap: 1.15rem;
        /* flex-start impératif : avec 'center', le début de la bande
           devient inaccessible au défilement. */
        justify-content: flex-start;
        margin: 0;
        order: 3;
        overflow-x: auto;
        padding: 0;
        scrollbar-width: none;
        width: 100%;
    }

    /* Espace de fin de bande, pour que le dernier lien ne colle pas au bord. */
    .site-header .site-nav::after {
        content: '';
        flex: 0 0 1.25rem;
    }

    .site-header .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-header .site-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    /* La carte de séance : plus compacte, pour rester visible d'emblée. */
    .session-heading {
        padding-bottom: 0.9rem;
    }

    .session-heading h2 {
        font-size: 1.45rem;
    }

    .breathing-stage {
        margin-top: 3.8rem;
        min-height: 15rem;
    }

    .breath-orbit {
        height: 9.5rem;
        width: 9.5rem;
    }

    .breath-orbit:before {
        inset: -0.35rem;
    }

    .breath-orbit:after {
        inset: -0.65rem;
    }

    .session-actions {
        gap: 0.6rem;
        grid-template-columns: 1fr auto;
    }

    .keyboard-hint {
        display: none;
    }
}
