/* La page de confidentialité : une page de lecture, sans script. Les
   couleurs reprennent les jetons de l'application (src/styles/tokens.css),
   recopiés ici parce que la page ne charge pas l'application. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("polices/outfit-latin.woff2") format("woff2");
}

:root {
  --encre: #0E1216;
  --encre-douce: #4A5560;
  --filet: #E4E6E8;
  --fond: #FFFFFF;
  --fond-creux: #F6F7F8;
  --vif: #B05656;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font: 400 16px/1.6 "Outfit", system-ui, sans-serif;
}

.conf {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

.conf-marque img { height: 28px; display: block; margin-bottom: 40px; }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 4px; font-weight: 600; }
h2 { font-size: 20px; margin: 44px 0 12px; font-weight: 600; }

.conf-date { color: var(--encre-douce); margin: 0 0 24px; font-size: 14px; }
.conf-chapeau { font-size: 18px; }

a { color: var(--encre); text-decoration-color: var(--vif); text-underline-offset: 3px; }
a:hover { color: var(--vif); }

code {
  font: 500 14px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  background: var(--fond-creux);
  padding: 2px 5px;
  border-radius: 4px;
}

ul { padding-left: 20px; }
li { margin: 6px 0; }

.conf-table { overflow-x: auto; margin: 8px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--filet); }
th { font-weight: 600; background: var(--fond-creux); }
.conf-table:not(.conf-tarifs) td:first-child { width: 42%; }
.conf-tarifs td:nth-child(2) { min-width: 9.5em; }
.conf-tarifs td, .conf-tarifs th { white-space: nowrap; }
.conf-tarifs td:nth-child(2) { white-space: normal; }

.conf-pied { margin-top: 48px; }

@media (max-width: 600px) {
  h1 { font-size: 26px; }
  .conf-chapeau { font-size: 17px; }
  table, thead, tbody, tr, th, td { display: block; width: 100% !important; }
  thead { display: none; }
  tr { border-bottom: 1px solid var(--filet); padding: 8px 0; }
  td { border: 0; padding: 4px 0; }
  .conf-tarifs td { white-space: normal; }
  .conf-tarifs td[data-libelle]::before { content: attr(data-libelle) " : "; color: var(--encre-douce); }
}

.conf-fin { color: var(--encre-douce); font-size: 14px; }

/* Le pied des pages publiques : les liens que Paddle cherche, et l'éditeur. */
.conf-bas {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--filet);
  color: var(--encre-douce);
  font-size: 14px;
}
.conf-bas nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 10px; }
.conf-bas a { color: var(--encre-douce); }
