/* Desk&Data — identité sobre, proche et contemporaine.
   Couleurs : utiliser ces variables plutôt que des valeurs en dur. Les teintes
   ponctuelles des illustrations (page Web) et les ombres transparentes restent locales. */
:root {
  /* Marque */
  --ink: #173f38;
  --forest: #245b49;
  --moss: #47694b;
  --lime: #d9f59c;
  /* Texte */
  --text: #465d57;
  --muted: #62726b;
  --on-dark: #fff;
  --on-dark-muted: #d7e4dc;
  /* Surfaces, bordures et états */
  --paper: #fff;
  --soft: #f3f7f4;
  --line: #dce5df;
  --focus: #43895c;
  --danger: #9a302b;
  /* Mise en page */
  --radius: 20px;
  --page: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 16px/1.65 'Avenir Next',
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.13;
  font-weight: 650;
  letter-spacing: -0.045em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 {
  font-size: clamp(2.5rem, 4.65vw, 4.35rem);
}
h1 em {
  font-style: normal;
  color: #43765b;
}
h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.8rem);
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}
p {
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
textarea,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.container {
  width: min(var(--page), calc(100% - clamp(36px, 6vw, 88px)));
  margin-inline: auto;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}
.button,
.link-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-align: center;
  max-width: 100%;
  transition:
    background 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.button {
  padding: 16px 22px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  color: var(--on-dark);
  background: var(--ink);
}
.button:hover {
  background: var(--forest);
  box-shadow: 0 5px 12px #173f3814;
  transform: translateY(-2px);
}
.button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
.button .icon,
.link-button .icon {
  width: 19px;
  height: 19px;
}
/* Navigation */
.menu-toggle {
  display: none;
}
.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
  font-weight: 650;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 18px;
}
.lead {
  font-size: 1.1875rem;
  line-height: 1.65;
}
/* Un accueil court, deux niveaux de lecture. */
/* Services et méthode */
.section {
  padding: 72px 0;
}
/* Pages intérieures */
details {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  line-height: 1.5;
}
summary::-webkit-details-marker {
  display: none;
}
summary .icon {
  width: 26px;
  height: 26px;
  background: var(--soft);
  border-radius: 50%;
  padding: 4px;
}
details[open] summary .icon {
  transform: rotate(45deg);
  background: var(--lime);
}
details p {
  padding-top: 14px;
  padding-right: 35px;
  font-size: 0.9375rem;
}
/* Un formulaire simple, avec des choix lisibles. */
form {
  border: 1px solid #d4dfd7;
  background: var(--paper);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px -18px #173f3830;
}
form h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 17px;
}
.optional {
  font-weight: 400;
  color: var(--muted);
}
input,
select,
textarea {
  font-size: 1rem;
  line-height: 1.5;
  width: 100%;
  min-width: 0;
  display: block;
  padding: 12px 13px;
  border: 1px solid #7d9384;
  background: var(--paper);
  border-radius: 8px;
  color: var(--ink);
  margin-top: 7px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input:hover,
textarea:hover {
  border-color: #668471;
}
input::placeholder,
textarea::placeholder {
  color: #687a70;
}
input[type='hidden'] {
  display: none;
}
textarea {
  resize: vertical;
}
fieldset {
  padding: 0;
  margin: 23px 0 0;
  border: 0;
}
legend {
  font-weight: 600;
  font-size: 0.875rem;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
form > .button {
  width: 100%;
}
.prose {
  max-width: 780px;
}
.prose .lead {
  margin: 25px 0;
}
.prose h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
}
footer {
  padding: 36px 0 18px;
  background: var(--paper);
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--paper);
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
[hidden] {
  display: none !important;
}
/* Espace de gestion : mêmes repères visuels que le site public. */
p,
.button,
.link-button,
label {
  overflow-wrap: break-word;
}
/* Tablette et petits écrans */
@media (max-width: 960px) {
.menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 9px 13px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
  }
.section {
    padding: 58px 0;
  }
}
@media (max-width: 760px) {
html {
    scroll-padding-top: 94px;
  }
.section {
    padding: 43px 0;
  }
h2 {
    font-size: clamp(1.8rem, 6.4vw, 2.4rem);
  }
h2 br {
    display: none;
  }
form h2 {
    font-size: 1.4rem;
  }
}
@media (max-width: 360px) {
.menu-toggle {
    padding: 8px 10px;
  }
.button {
    padding: 14px 12px;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
html {
    scroll-behavior: auto;
  }
*,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
.actions,
  .button,
  .menu-toggle,
  footer {
    display: none !important;
  }
.section {
    padding: 20px 0;
  }
.container {
    width: 100%;
  }
body {
    font-size: 11pt;
    background: var(--paper);
  }
}
.privacy-panel {
  position: fixed;
  z-index: 1100;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(740px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 24px;
  border: 1px solid #b8ccc3;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 44px #173f3830;
}
.privacy-panel h2 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.privacy-panel p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 8px 0;
}
.privacy-panel a {
  text-decoration: underline;
}
.privacy-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.privacy-actions .button {
  flex: 1;
  white-space: normal;
  background: var(--ink);
  color: var(--on-dark);
  justify-content: center;
}
/* Texte court et bouton « Personnaliser » : seulement dans le bandeau compact (particuliers.css). */
.privacy-short,
.privacy-more {
  display: none;
}
.privacy-actions .button:disabled {
  opacity: 0.6;
  cursor: default;
}
.privacy-link {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}
@media (max-width: 540px) {
.privacy-panel {
    padding: 18px;
    bottom: 12px;
    max-height: calc(100dvh - 24px);
  }
.privacy-actions {
    flex-direction: column;
    gap: 8px;
  }
}
/* Bilingual navigation: intentionally understated to preserve the original design. */
@media (max-width: 960px) {
.menu-toggle {
    order: 3;
  }
#navigation {
    order: 4;
  }
}
@media (max-width: 420px) {
.menu-toggle {
    gap: 6px;
    padding: 8px 9px;
  }
}
/* Web & Digital — a more expressive layer built on the Desk&Data system. */
/* Scoped to the Web page so these do not override the admin chart (.chart-area/.chart-line above). */
/* Content is only hidden for the reveal effect when JavaScript can show it again. */
@media (scripting: enabled) {
.web-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.7s ease,
      transform 0.7s ease;
  }
.web-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
.web-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* End Desk&Data social links */
