:root {
  --ink: #1d2429;
  --muted: #566367;
  --primary: #225367;
  --primary-hover: #183d4d;
  --brand-blue: #0066b3;
  --brand-green: #009e49;
  --brand-red: #e03c31;
  --line: #dbe3e3;
  --soft: #f5f7f6;
  --green-soft: #edf5f0;
  --max-width: 1216px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 5px; border-radius: 3px; }
::selection { background: #dcebf3; color: var(--ink); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(44px, 4.7vw, 66px); font-weight: 750; }
h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 720; }
h3 { font-size: 20px; letter-spacing: -.02em; font-weight: 700; }
p + p { margin-top: 16px; }
.wrap { width: min(var(--max-width), calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-block: 88px; }
section[id] { scroll-margin-top: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: var(--ink); color: white; border-radius: 4px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.brand img { width: 206px; }
.site-header .brand img { filter: drop-shadow(0 1px 1px rgba(20, 35, 40, 0.14)) drop-shadow(0 3px 5px rgba(20, 35, 40, 0.12)); }
.header-nav { display: flex; align-items: center; gap: 30px; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-link:hover, .footer-nav a:hover { color: var(--primary); text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 13px 20px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; text-align: center; font-size: 14px; font-weight: 650; line-height: 1.35; }
.button-primary { background: var(--primary); color: #fff; }
.button-primary:hover { background: var(--primary-hover); }
.button-outline { border-color: #b6c2c5; background: #fff; }
.button-outline:hover { border-color: var(--primary); background: var(--soft); }
.button-small { min-height: 44px; padding: 10px 17px; }
.blue-text { color: var(--primary); }
.eyebrow { font-size: 11px; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; font-weight: 750; color: var(--muted); margin-bottom: 20px; }
.hero { display: grid; grid-template-columns: .95fr 1.08fr; align-items: start; gap: 40px; padding-block: 64px 58px; }
.hero > *, .features-grid > *, .origin-grid > *, .open-source-grid > *, .support-grid > *, .contact-section > *, .footer-top > * { min-width: 0; }
.product-label { display: flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .1em; color: var(--ink); }
.status-dot { width: 7px; height: 7px; background: var(--brand-green); border-radius: 50%; flex-shrink: 0; }
.version { margin-left: 7px; color: var(--muted); font-weight: 500; letter-spacing: 0; font-size: 11px; text-transform: none; }
.release-number { display: inline-block; min-width: 6ch; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-description { margin-top: 27px; font-size: 19px; line-height: 1.55; letter-spacing: -.015em; font-weight: 550; }
.hero-detail { margin-top: 20px; max-width: 480px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.real-world-note { border-left: 2px solid var(--brand-green); padding-left: 15px; margin-top: 30px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.real-world-note strong { color: var(--ink); font-weight: 600; }
.hero-principles { display: flex; flex-wrap: wrap; gap: 7px 16px; list-style: none; padding: 0; margin: 27px 0 0; font-size: 11px; color: var(--muted); }
.hero-principles li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.interface-preview { min-width: 0; }
.hero-photo { align-self: start; margin-top: 40px; }
.hero-photo .screenshot-link { padding: 0; border-radius: 16px; }
.hero-photo img { width: 100%; border-radius: 16px; }
#hero-title { font-size: clamp(2.15rem, 4.1vw, 3.45rem); line-height: 1.1; text-wrap: balance; }
.document-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
#documentation .feature p + p { margin-top: .75rem; }
@media (max-width: 600px) {
  #telechargements .features-grid, #documentation .features-grid { grid-template-columns: 1fr; gap: 22px; }
  #telechargements .installation-steps, #documentation .installation-steps { margin-bottom: 0; }
}
.browser-frame { border: 1px solid #ccd7da; border-radius: 11px; overflow: hidden; background: white; box-shadow: 0 12px 30px rgba(29, 36, 41, .055); }
.browser-bar { height: 42px; display: flex; align-items: center; gap: 12px; padding-inline: 15px; background: var(--soft); border-bottom: 1px solid var(--line); }
.window-dots { display: flex; gap: 5px; width: 50px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #bac6c9; }
.browser-label { display: flex; align-items: center; justify-content: center; gap: 7px; flex: 1; color: var(--muted); font-size: 10px; }
.window-mark { width: 30px; text-align: right; color: var(--muted); font-size: 14px; }
.screenshot-link { display: block; padding: 13px; }
.screenshot-link:focus-visible { outline-offset: -4px; }
.app-screenshot { width: 100%; }
figcaption { margin-top: 16px; font-size: 12px; line-height: 1.6; color: var(--ink); }
.caption-dot { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--brand-green); }
.capture-date { margin-left: 12px; color: var(--muted); font-size: 11px; }
.features { border-top: 1px solid var(--line); padding-bottom: 64px; }
.features-heading { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.features-heading .eyebrow { margin-bottom: 16px; }
.features-heading h2 { margin-bottom: 18px; }
.features-intro { color: var(--muted); font-size: 16px; line-height: 1.7; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.section-heading p:last-child { color: var(--muted); font-size: 14px; line-height: 1.7; }
.section-heading .eyebrow { margin-bottom: 15px; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 34px; row-gap: 34px; }
.feature { padding-top: 19px; border-top: 1px solid var(--line); }
.feature-number { display: block; font-size: 11px; line-height: 1; color: var(--primary); font-weight: 650; margin-bottom: 16px; }
.feature h3 { margin-bottom: 12px; }
.feature p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.features-extra { margin-top: 35px; font-size: 12px; color: var(--muted); }
.plugin-compatibility .text-link { font-size: inherit; }
.origin-section, .product-demos { border-top: 1px solid var(--line); }
.origin-heading { margin-bottom: 36px; }
.origin-grid { display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 56px; }
.founder-portrait { width: 160px; border-radius: 28px; }
.origin-quote blockquote { margin: 0; }
.origin-quote blockquote p { font-size: 23px; line-height: 1.6; letter-spacing: -.015em; }
.origin-quote figcaption { margin-top: 23px; font-size: 13px; }
.origin-quote figcaption strong, .origin-quote figcaption span { display: block; }
.origin-quote figcaption strong { font-weight: 650; }
.origin-quote figcaption span { color: var(--muted); margin-top: 3px; }
.product-demos { display: grid; gap: 76px; }
.demo-row { display: grid; grid-template-columns: .8fr 1.6fr; align-items: center; gap: 64px; }
.demo-row-reverse { grid-template-columns: 1.6fr .8fr; }
.demo-row-reverse .demo-copy { order: 2; }
.demo-row-reverse .demo-figure { order: 1; }
.demo-copy, .demo-figure { min-width: 0; }
.demo-copy h2 { font-size: clamp(30px, 2.8vw, 38px); }
.demo-copy > p:not(.eyebrow) { margin-top: 22px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.demo-copy .demo-lead { color: var(--ink) !important; font-weight: 600; }
.configuration-list { padding-left: 19px; margin: 22px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.configuration-list li + li { margin-top: 12px; }
.configuration-list strong { font-weight: 650; color: var(--ink); }
.demo-viewport { min-width: 0; max-width: 100%; border: 1px solid #ccd7da; border-radius: 11px; background: #fff; }
.demo-image-link { display: block; min-width: 0; max-width: 100%; padding: 12px; }
.demo-image-link:focus-visible { outline-offset: -4px; }
.demo-image-link img { width: 100%; }
.demo-figure figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; color: var(--muted); }
.demo-mobile-help { display: none; }
.interface-gallery { border: 1px solid var(--line); border-radius: 16px; background: var(--soft); overflow: hidden; }
.gallery-track[data-enhanced] { touch-action: pan-y pinch-zoom; }
.gallery-track:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: -4px; }
.gallery-slide { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 20px; }
.gallery-slide[hidden] { display: none; }
.gallery-track:not([data-enhanced]) .gallery-slide + .gallery-slide { border-top: 1px solid var(--line); }
.gallery-slide figure { min-width: 0; margin: 0; }
.gallery-image-link { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 9px; overflow: hidden; }
.gallery-image-link:focus-visible { outline-offset: -4px; }
.gallery-image-link img { width: auto; height: auto; max-width: 100%; max-height: min(45vw, 500px); object-fit: contain; }
.gallery-copy { min-width: 0; }
.gallery-copy h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; letter-spacing: -.03em; margin: 14px 0; }
.gallery-copy p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.gallery-copy .gallery-detail { font-size: 13px; margin-top: 15px; }
.gallery-copy .gallery-caption { margin-top: 14px; font-size: 11px; line-height: 1.6; color: var(--primary); font-weight: 600; }
.gallery-number { color: var(--primary); font-size: 12px; font-weight: 650; letter-spacing: .06em; }
.gallery-track[data-enhanced] .gallery-number { display: none; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 16px 14px; }
.gallery-controls[hidden] { display: none; }
.gallery-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; color: var(--primary); background: transparent; cursor: pointer; border-radius: 50%; }
.gallery-controls button:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; }
.gallery-arrow { font: inherit; font-size: 22px !important; border: 1px solid var(--line) !important; background: #fff !important; }
.gallery-arrow[aria-disabled="true"] { opacity: .42; cursor: default; }
.gallery-count { min-width: 5.5ch; text-align: center; color: var(--primary); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gallery-caption { font-size: 12px; color: var(--muted); margin-top: 13px; }
.screenshot-link, .demo-image-link, .gallery-image-link { cursor: zoom-in; }
@media (hover: hover) {
  .gallery-image-link:hover { border-color: #a4b7bd; box-shadow: 0 3px 10px #22536712; }
  .demo-image-link:hover, .screenshot-link:hover { box-shadow: inset 0 0 0 1px #a4b7bd; }
}
.capture-lightbox { width: min(1500px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); }
.capture-lightbox::backdrop { background: #14232bdd; }
.capture-lightbox:not([open]) { display: none; }
.lightbox-heading { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lightbox-heading p { font-size: 13px; line-height: 1.5; }
.lightbox-close { flex-shrink: 0; font: inherit; font-size: 13px; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--primary); cursor: pointer; }
.lightbox-close:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; }
.lightbox-image { width: 100%; height: auto; max-height: calc(100dvh - 135px); object-fit: contain; }
.lightbox-open { overflow: hidden; }
.notifications-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px 64px; align-items: center; border-top: 1px solid var(--line); }
.notifications-section > * { min-width: 0; }
.notifications-copy p:not(.eyebrow) { color: var(--muted); font-size: 15px; margin-top: 22px; line-height: 1.75; }
.notification-mockups { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 30px 24px; min-width: 0; padding: 12px 0; }
/* Les cadres gardent leurs proportions et passent à la ligne, sans réduire leur parent. */
.device-example { margin: 0; min-width: 0; max-width: 100%; flex: 0 0 auto; padding-inline: 8px; }
.device-example figcaption { text-align: center; font-size: 11px; color: var(--muted); max-width: 220px; margin-top: 17px; }
.watch-device { width: 208px; max-width: 100%; padding: 38px 10px; position: relative; }
.watch-device::before { content: ''; position: absolute; top: 0; bottom: 0; left: 56px; right: 56px; border-radius: 24px; background: linear-gradient(90deg, #b7c8c9, #e0e9e8 45%, #b7c8c9); box-shadow: inset 0 0 0 1px #b2c2c4; }
.watch-face { position: relative; height: 198px; padding: 7px; border: 1px solid #738185; border-radius: 43px; background: linear-gradient(135deg, #e0e6e6, #93a1a5 42%, #bbc5c7 75%, #78888d); color: #fff; box-shadow: inset 0 0 0 2px #d8dfe0, 0 8px 20px #1d242915; }
.watch-face::before { content: ''; position: absolute; right: -8px; top: 49px; width: 9px; height: 25px; border: 1px solid #67777c; border-radius: 4px; background: repeating-linear-gradient(0deg, #aab7bb 0 2px, #718287 2px 3px); }
.watch-face::after { content: ''; position: absolute; right: -4px; top: 92px; width: 4px; height: 32px; border-radius: 3px; background: #89999e; }
.watch-screen { height: 100%; padding: 14px 13px; border: 2px solid #182023; border-radius: 35px; background: #080c0e; box-shadow: inset 0 0 0 1px #394247; }
.device-clock { text-align: right; font-size: 20px; font-weight: 650; margin-bottom: 13px; }
.device-notification { font-size: 12px; line-height: 1.5; }
.device-notification p { margin: 6px 0 0; }
.device-notification > strong { font-size: 13px; display: block; margin-top: 8px; }
.notification-source { display: flex; gap: 6px; align-items: center; font-size: 10px; font-weight: 600; }
.discord-mark { display: inline-grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; background: #5865f2; border-radius: 5px; width: 18px; height: 18px; }
.phone-device { width: 220px; max-width: 100%; height: 448px; position: relative; padding: 20px 13px; border: 4px solid #87979c; border-radius: 43px; background: linear-gradient(150deg, #e4eef1, #b8d6dc); box-shadow: inset 0 0 0 2px #1f2b30, 0 8px 20px #1d242915; }
.phone-device::before, .phone-device::after { content: ''; position: absolute; width: 3px; border-radius: 2px; background: #87979c; }
.phone-device::before { left: -6px; top: 75px; height: 34px; box-shadow: 0 44px #87979c; }
.phone-device::after { right: -6px; top: 112px; height: 42px; }
.phone-top { display: flex; justify-content: space-between; padding: 0 6px; font-size: 10px; color: #223740; font-weight: 650; }
.phone-island { position: absolute; top: 12px; width: 72px; height: 20px; left: calc(50% - 36px); background: #11191d; border-radius: 20px; }
.phone-island::after { content: ''; position: absolute; right: 8px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #253d47; }
.phone-device .device-notification { margin-top: 81px; background: #ffffffed; color: #213841; padding: 13px; border-radius: 18px; }
.notification-title { font-weight: 650; }
.device-notification .occupied-note { font-size: 10px; color: #516570; }
.phone-bottom { position: absolute; bottom: 12px; width: 76px; height: 3px; left: calc(50% - 38px); background: #52656c; border-radius: 9px; }
.notification-summary { grid-column: 1 / -1; max-width: 760px; }
.notification-summary > p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.notification-summary .simulation-note { margin-top: 10px; font-size: 11px; }
.brittany { white-space: nowrap; }
.ermine { display: inline-block; vertical-align: -.18em; color: var(--primary); margin-left: 2px; }
.privacy-note { margin-top: 36px; padding-top: 25px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.open-source-section { background: var(--soft); }
.open-source-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
.open-source-copy > p:not(.eyebrow) { margin-top: 22px; font-size: 15px; color: var(--muted); }
.open-source-copy .repository-note { margin-top: 12px !important; max-width: 360px; font-size: 12px !important; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--primary); text-decoration: underline; font-weight: 650; font-size: 14px; }
.open-source-copy .text-link { margin-top: 15px; }
.open-source-copy .hosting-principles { font-size: 12px; line-height: 1.8; }
.installation-steps { margin-top: 18px; padding-left: 22px; color: var(--primary); }
.installation-steps li + li { margin-top: 4px; }
.installation-steps .text-link { margin-top: 0; }
.open-source-list { padding-top: 7px; }
.open-source-list > div { padding-block: 23px; border-bottom: 1px solid var(--line); }
.open-source-list > div:first-child { padding-top: 0; }
.open-source-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.open-source-list dt { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.check-mark { color: #08763c; font-size: 17px; }
.open-source-list dd { margin-left: 31px; margin-top: 9px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.field-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.field-copy, .field-figure { min-width: 0; }
.field-copy > p { font-size: 15px; color: var(--muted); }
.field-copy .eyebrow { font-size: 11px; }
.field-copy .lead { color: var(--ink); font-size: 18px; line-height: 1.55; margin-top: 22px; margin-bottom: 19px; }
.field-copy .thanks { font-size: 12px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
.field-figure img { width: 100%; height: auto; border-radius: 16px; }
.field-figure figcaption { color: var(--muted); font-size: 12px; }
.support-section { background: var(--green-soft); padding-block: 58px; }
.support-grid { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 96px; }
.support-grid .eyebrow { color: #356048; margin-bottom: 15px; }
.support-grid h2 { font-size: clamp(28px, 3vw, 36px); }
.support-grid > div > p:not(.eyebrow) { margin-top: 20px; font-size: 15px; color: #405d4b; max-width: 590px; }
.support-action { text-align: center; }
.support-action p { font-size: 12px !important; margin-top: 14px !important; }
.contact-section { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 96px; }
.contact-section h2 { font-size: clamp(30px, 3vw, 38px); }
.contact-section > div:not(.contact-person) > p:not(.eyebrow) { color: var(--muted); margin-top: 22px; font-size: 15px; }
.contact-person { padding-left: 35px; border-left: 1px solid var(--line); }
.contact-rule { display: block; width: 30px; height: 3px; background: var(--brand-blue); margin-bottom: 20px; }
.contact-person .person-name { color: var(--ink); font-size: 22px; font-weight: 650; letter-spacing: -.025em; margin-top: 0; }
.contact-person > p + p { color: var(--muted); font-size: 13px; margin-top: 3px; }
.contact-links { display: grid; justify-items: start; gap: 8px; margin-top: 12px; min-width: 0; }
.contact-email { min-width: 0; }
.contact-links .text-link { margin-top: 0; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); padding-block: 34px 26px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand img { width: 185px; }
.footer-nav { display: flex; gap: 26px; align-items: center; }
.footer-nav a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: 13px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 36px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 27px; }
.footer-bottom p { font-size: 10px; color: var(--muted); margin: 0; }
.footer-bottom p:last-child { max-width: 590px; text-align: right; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 32px; grid-template-columns: .95fr 1.05fr; padding-block: 50px; }
  h1 { font-size: 48px; }
  .hero-actions { flex-direction: column; align-items: start; }
  .hero-actions .button { min-width: 230px; }
  .open-source-grid, .field-section, .support-grid, .contact-section { gap: 55px; }
  .features-grid { column-gap: 24px; }
  .origin-grid, .demo-row { gap: 36px; }
  .gallery-slide { gap: 24px; }
  .notifications-section { grid-template-columns: 1fr; gap: 24px; }
  .field-section { grid-template-columns: 1fr; gap: 34px; }
  .field-copy { max-width: 760px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 590px; }
  .hero-photo { width: 100%; max-width: 680px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .gallery-slide { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .gallery-image-link img { max-height: clamp(165px, 56vw, 310px); }
  .gallery-copy { padding: 0 4px; }
  .gallery-copy h3 { font-size: 21px; margin: 0 0 7px; }
  .gallery-copy p { font-size: 14px; }
  .gallery-copy .gallery-detail { font-size: 12px; margin-top: 10px; }
  .gallery-copy .gallery-caption { margin-top: 9px; }
  .gallery-controls { padding-bottom: 10px; }
  .notifications-section { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 86px; gap: 16px; flex-wrap: wrap; padding-block: 17px; }
  .brand img { width: 161px; }
  .header-nav { gap: 18px; }
  .nav-link { font-size: 12px; }
  .button-small { font-size: 12px; padding-inline: 13px; }
  .hero { grid-template-columns: 1fr; padding-block: 44px; gap: 42px; }
  h1 { font-size: clamp(43px, 8vw, 60px); }
  .hero-copy { max-width: 590px; }
  .hero-description { font-size: 18px; margin-top: 23px; }
  .hero-detail { max-width: 560px; }
  .hero-actions { flex-direction: row; align-items: stretch; }
  .hero-actions .button { min-width: auto; }
  .hero-principles { margin-top: 22px; }
  .interface-preview { max-width: 580px; width: 100%; margin-inline: auto; }
  .section-space { padding-block: 56px; }
  .features { padding-bottom: 40px; }
  .features-heading { margin-bottom: 32px; }
  .features-heading h2 { margin-bottom: 16px; }
  .features-intro { font-size: 15px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { margin-top: 20px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .feature h3 { font-size: 19px; }
  .features-extra { line-height: 1.7; }
  .origin-heading { margin-bottom: 28px; }
  .origin-grid, .demo-row, .demo-row-reverse { grid-template-columns: 1fr; gap: 26px; }
  .founder-portrait { width: 120px; }
  .origin-quote blockquote p { font-size: 20px; }
  .product-demos { gap: 54px; }
  .demo-row-reverse .demo-copy, .demo-row-reverse .demo-figure { order: 0; }
  .demo-mobile-help { display: block; width: 100%; font-size: 11px; }
  .open-source-grid, .field-section, .support-grid, .contact-section { grid-template-columns: 1fr; gap: 34px; }
  .open-source-list { padding: 0; }
  .field-copy .lead { font-size: 17px; }
  .support-section { padding-block: 45px; }
  .support-action { text-align: left; }
  .contact-person { padding-left: 0; border-left: 0; }
  .footer-top { flex-wrap: wrap; align-items: center; row-gap: 14px; }
  .footer-nav { gap: 10px; flex-wrap: wrap; align-items: center; }
  .footer-nav a { min-height: 44px; }
  .footer-bottom { display: block; }
  .footer-bottom p:last-child { text-align: left; margin-top: 12px; }
}
@media (orientation: landscape) and (min-width: 520px) and (max-height: 540px) {
  .gallery-slide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; padding: 10px; }
  .gallery-image-link img { max-height: min(47vh, 250px); }
  .gallery-copy h3 { font-size: 19px; margin: 0 0 6px; }
  .gallery-copy p { font-size: 13px; line-height: 1.5; }
  .gallery-copy .gallery-detail, .gallery-copy .gallery-caption { margin-top: 7px; }
  .gallery-controls { padding-bottom: 7px; }
}
@media (max-width: 440px) {
  .site-header { gap: 7px; }
  .header-nav { width: 100%; justify-content: space-between; margin-top: 4px; }
  .brand img { width: 171px; }
  .hero { padding-top: 34px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-principles { font-size: 10px; gap: 6px 10px; }
  .hero-principles li + li { padding-left: 10px; }
  .browser-bar { padding-inline: 10px; }
  .browser-label { font-size: 9px; }
  .window-dots { width: 27px; gap: 4px; }
  .window-dots i { width: 5px; height: 5px; }
  .screenshot-link { padding: 8px; }
  .features-grid { column-gap: 20px; }
  .feature h3 { font-size: 18px; }
  .feature p { font-size: 13px; }
  .footer-brand { max-width: 215px; }
  .footer-brand img { width: 163px; }
  .desktop-break { display: none; }
}
@media (max-width: 360px) {
  /* Les indicateurs reviennent à la ligne sans réduire leurs cibles tactiles. */
  .gallery-controls { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
