:root {
  color-scheme: light;
  --ink: #10283a;
  --muted: #496171;
  --paper: #f4f8fb;
  --white: #ffffff;
  --blue: #0868d4;
  --deep-blue: #123a64;
  --line: #cbdbe6;
  --green: #2cc868;
  --orange: #ed9a37;
  --red: #ed555b;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 20; padding: .65rem 1rem; background: var(--white); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: relative; z-index: 2; background: var(--paper); }
.header-inner { width: min(100% - 3rem, 1400px); margin: auto; min-height: 90px; display: flex; align-items: center; gap: clamp(2rem, 5vw, 6rem); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.brand img { border-radius: 10px; box-shadow: 0 3px 10px #10283a1a; }
.site-nav { display: flex; gap: clamp(1.2rem, 2.5vw, 2.5rem); font-size: .95rem; font-weight: 500; }
.site-nav a { text-decoration: none; transition: color .15s ease; }
.site-nav a:hover { color: var(--blue); }
.availability { margin-left: auto; color: var(--muted); font-size: .875rem; white-space: nowrap; }

.hero { overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 53%) minmax(0, 47%); width: min(100%, 1600px); margin: auto; min-height: 690px; }
.hero-copy { padding: clamp(4.5rem, 9vw, 10rem) clamp(2rem, 5.5vw, 6rem) 5rem max(1.5rem, calc((min(100vw, 1600px) - 1400px) / 2)); display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
.hero-context { display: inline-flex; align-items: center; gap: .6rem; font-size: .91rem; font-weight: 600; margin: 0 0 1.75rem; color: var(--deep-blue); }
.context-dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 .27rem #2cc86821; }
h1, h2, p, figure { margin-top: 0; }
h1 { font-size: clamp(3rem, 4.8vw, 5.5rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; margin-bottom: 2rem; text-wrap: balance; }
.hero-subtitle { max-width: 36rem; color: var(--ink); font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; margin: -.9rem 0 1.4rem; }
.hero-lead { max-width: 36rem; color: var(--muted); font-size: clamp(1.15rem, 1.4vw, 1.35rem); line-height: 1.57; margin-bottom: 2.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem 1.75rem; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 3.4rem; padding: .75rem 1.5rem; border-radius: .8rem; background: var(--blue); color: var(--white); font-weight: 600; text-decoration: none; box-shadow: 0 9px 22px #0868d42d; transition: background .15s ease, transform .15s ease; }
.primary-link:hover { background: #075ab6; transform: translateY(-2px); }
.text-link { text-decoration-thickness: 1px; text-underline-offset: .35rem; font-weight: 600; }
.text-link:hover { color: var(--blue); }
.hero-note { margin: 1.8rem 0 0; font-size: .875rem; color: var(--muted); }

.hero-art { background: var(--deep-blue); padding: 1.75rem clamp(1.5rem, 5vw, 5rem) 0; min-width: 0; display: flex; justify-content: center; overflow: hidden; }
.hero-art-inner { width: min(100%, 570px); align-self: flex-start; }
.menu-bar { min-height: 2.5rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: 1rem; color: #d1e5fa; font-size: .9rem; font-weight: 650; }
.menu-label { font-size: .72rem; letter-spacing: .13em; opacity: .75; }
.menu-spacer { flex: 1; }
.menu-signal { border: 1px solid #ffffff3a; border-radius: 999px; padding: .23rem .7rem; display: inline-flex; align-items: center; gap: .5rem; }
.menu-signal span { width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); }
.app-preview { margin: 0; }
.app-preview img { width: 100%; height: auto; filter: drop-shadow(0 22px 45px #0416267d); }
.app-preview figcaption { margin: .25rem 0 1.5rem; text-align: center; color: #d0e0ee; font-size: .8125rem; }

.section-shell { width: min(100% - 3rem, 1400px); margin: auto; }
.signal-section { padding: clamp(5rem, 8vw, 8rem) 0 clamp(5rem, 8vw, 8rem); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(14rem, .65fr); gap: 0 4rem; align-items: end; }
.section-label { grid-column: 1 / -1; margin-bottom: 1.3rem; color: var(--blue); font-size: .9rem; font-weight: 600; }
h2 { font-size: clamp(2.2rem, 3.7vw, 3.9rem); line-height: 1.14; letter-spacing: -.04em; font-weight: 600; margin-bottom: 0; text-wrap: balance; }
.section-intro > p:last-child { color: var(--muted); font-size: 1.0625rem; line-height: 1.65; margin: 0 0 .45rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 4rem; }
.metric { display: flex; flex-direction: column; gap: .4rem; padding: 1.8rem clamp(1rem, 2vw, 2rem); border-right: 1px solid var(--line); }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; }
.metric-mark { color: var(--blue); font-size: .8rem; font-weight: 600; margin-bottom: .6rem; }
.metric strong { font-size: 1.25rem; letter-spacing: -.03em; }
.metric > span:last-child { color: var(--muted); font-size: .9rem; }
.states-section { background: #e5eef5; padding: clamp(5rem, 8vw, 8rem) 0; }
.states-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.states-copy h2 { max-width: 14ch; }
.states-copy > p:not(.section-label) { max-width: 33rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; margin: 1.6rem 0 0; }
.states-copy > p.states-disclaimer { font-size: .85rem; margin-top: 2.5rem; }
.state-demo { padding: clamp(1rem, 2.3vw, 2rem); background: #10283a; border-radius: 1.5rem; box-shadow: 0 28px 60px #10283a1a; }
.state-tabs { display: flex; gap: .4rem; margin-bottom: 2rem; }
.state-tabs[hidden] { display: none; }
.state-tab { appearance: none; min-height: 44px; min-width: 44px; border: 1px solid #ffffff35; color: #c8d8e3; background: transparent; border-radius: 999px; padding: .6rem 1rem; cursor: pointer; font: inherit; font-size: .75rem; font-weight: 600; letter-spacing: .045em; transition: color .15s ease, background .15s ease; }
.state-tab:hover { color: #fff; background: #ffffff12; }
.state-tab[aria-pressed="true"] { color: #10283a; background: #f4f8fb; }
.state-card { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); min-height: 12rem; padding: clamp(1.25rem, 3vw, 2.5rem); background: #193c30; border-left: .45rem solid var(--green); border-radius: 1rem; color: #f8fff9; }
.state-icon { flex: none; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; color: #153b29; background: var(--green); font-size: 1.8rem; font-weight: 600; }
.state-name { color: var(--green); font-size: 1.2rem; }
.state-description { font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.4; font-weight: 500; margin: .4rem 0 0; }
.state-caption { color: #c8d8e3; font-size: .8rem; margin: 1rem 0 0; }
.static-states { color: #c8d8e3; font-size: .95rem; line-height: 1.5; margin: 1.5rem 0 0; }
.static-states dt { color: #f4f8fb; font-weight: 600; }
.static-states dd { margin: .25rem 0 1rem; }
.state-demo[data-state="prudence"] .state-card { background: #392e25; border-color: var(--orange); }
.state-demo[data-state="prudence"] .state-icon { color: #3f2e13; background: var(--orange); }
.state-demo[data-state="prudence"] .state-name { color: var(--orange); }
.state-demo[data-state="attends"] .state-card { background: #3a2529; border-color: var(--red); }
.state-demo[data-state="attends"] .state-icon { color: #411d22; background: var(--red); }
.state-demo[data-state="attends"] .state-name { color: var(--red); }
.projects-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 9rem); padding: clamp(5rem, 9vw, 9rem) 0; }
.projects-heading h2 { max-width: 15ch; }
.projects-body { color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.projects-body p { margin-bottom: 1.5rem; }
.projects-note { border-left: 3px solid var(--blue); padding-left: 1.25rem; color: var(--ink); font-weight: 550; }
.privacy-section { background: #10283a; color: #f4f8fb; padding: clamp(5rem, 8vw, 8rem) 0; }
.privacy-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 9rem); }
.privacy-section .section-label { color: #80b9f5; }
.privacy-layout h2 { max-width: 15ch; }
.privacy-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #ffffff40; }
.privacy-list li { display: flex; flex-direction: column; gap: .35rem; padding: 1.35rem 0; border-bottom: 1px solid #ffffff40; line-height: 1.5; }
.privacy-list strong { font-size: 1.15rem; }
.privacy-list span { color: #b8cbd9; }
.closing-section { padding: clamp(5rem, 9vw, 9rem) 0; text-align: center; }
.closing-section h2 { margin-bottom: 1.2rem; }
.closing-section > p:not(.section-label) { color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }
.coming-soon { display: inline-block; margin-top: 1rem; padding: .9rem 1.3rem; border: 1px solid var(--line); border-radius: .8rem; color: var(--muted); font-weight: 600; }
.site-footer { display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); width: min(100% - 3rem, 1400px); margin: auto; padding: 2rem 0; color: var(--muted); font-size: .875rem; }
.site-footer span:first-child { color: var(--ink); font-weight: 600; }
.site-footer a { text-underline-offset: .25rem; }

@media (max-width: 980px) {
  .header-inner { min-height: 78px; gap: 2rem; }
  .availability { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 5.5rem 1.5rem 5rem; width: min(100%, 720px); margin: auto; }
  .hero-art { padding-top: 2rem; }
  .hero-art-inner { width: min(100%, 520px); }
  .section-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-intro > p:last-child { max-width: 40rem; }
  .states-layout, .projects-section, .privacy-layout { grid-template-columns: 1fr; }
  .states-copy h2, .projects-heading h2, .privacy-layout h2 { max-width: none; }
}

@media (max-width: 620px) {
  .header-inner { width: min(100% - 2rem, 1400px); min-height: 72px; flex-wrap: wrap; gap: .75rem; padding: 1rem 0 .5rem; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 36px; height: 36px; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: .35rem 1rem; font-size: .82rem; }
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .hero-copy { padding: 3.5rem 1.25rem 3.5rem; }
  .hero-context { margin-bottom: 1.5rem; }
  h1 { font-size: clamp(2.7rem, 10vw, 4.35rem); }
  .hero-lead { font-size: 1.0625rem; }
  .hero-actions { align-items: stretch; gap: 1rem; }
  .primary-link { width: 100%; }
  .hero-art { padding: 1rem 1rem 0; }
  .menu-bar { margin-bottom: .2rem; }
  .section-shell, .site-footer { width: min(100% - 2.5rem, 1400px); }
  .signal-section { padding: 5rem 0; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); margin-top: 2.7rem; }
  .metric { min-height: 9rem; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric:nth-child(3) { padding-left: 0; }
  .state-tabs { gap: .25rem; margin-bottom: 1.5rem; }
  .state-tab { padding: .55rem .6rem; font-size: .65rem; }
  .state-card { min-height: 10rem; }
  .state-icon { width: 2.7rem; height: 2.7rem; font-size: 1.4rem; }
  .state-description { font-size: 1rem; }
  .closing-section h2 br { display: none; }
  .site-footer { display: block; }
  .site-footer span { display: block; }
  .site-footer span + span { margin-top: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .primary-link, .site-nav a { transition: none; }
  .primary-link:hover { transform: none; }
}

/* Pages de texte : confidentialité et support. */
.doc-page { width: min(100% - 3rem, 46rem); margin: auto; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); line-height: 1.7; }
.doc-page h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.doc-page h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); letter-spacing: -.02em; margin: 2.8rem 0 .8rem; }
.doc-page p, .doc-page li { color: var(--muted); font-size: 1.0625rem; }
.doc-page ul { padding-left: 1.2rem; }
.doc-page li { margin-bottom: .5rem; }
.doc-page strong { color: var(--ink); }
.doc-page a { text-underline-offset: .25rem; }
.doc-updated { font-size: .9rem; }
.doc-contact { display: inline-block; max-width: 100%; margin-top: .5rem; padding: .9rem 1.3rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
@media (max-width: 620px) {
  .doc-page { width: min(100% - 2.5rem, 46rem); }
  .site-footer span.footer-links { display: flex; margin-top: .5rem; }
  .site-footer > a { display: inline-block; margin-top: 1rem; }
  .doc-contact { padding: .8rem 1rem; font-size: 1rem; }
}
