/* Les pages publiques du carnet (/destinations/…) : du HTML statique, sans
   JavaScript. Mêmes papier, encre et polices que l'application, pour qu'on
   passe de l'une aux autres sans changer de monde. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/polices/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/polices/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/polices/inter-tight-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/polices/inter-tight-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --papier: #fffdf8;
  --papier-fonce: #f4efe4;
  --filet: #e6ddcb;
  --encre: #1a1713;
  --encre-douce: #6b6355;
  --accent: #1a5fb4;
  --accent-fonce: #134a90;
  --or: #c08a2e;
  --or-pale: #f7ecd6;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --papier: #1c1915;
    --papier-fonce: #131110;
    --filet: #352f26;
    --encre: #f4efe4;
    --encre-douce: #a79c8a;
    --accent: #7ba7e2;
    --accent-fonce: #b3cbef;
    --or: #e8c37a;
    --or-pale: #2c2518;
  }
}

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

body {
  margin: 0;
  background: var(--papier-fonce);
  color: var(--encre);
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}
a:hover {
  color: var(--accent-fonce);
}

h1,
h2,
h3 {
  font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  line-height: 1.2;
  font-weight: 600;
}
h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 0.2rem 0 0.75rem;
}
h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 0.75rem;
}
h3 {
  font-size: 1.15rem;
  margin: 1.25rem 0 0.4rem;
}

main,
.pied {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.barre {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1rem;
  background: color-mix(in srgb, var(--papier) 92%, transparent);
  border-bottom: 1px solid var(--filet);
  backdrop-filter: blur(8px);
}
.marque {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--encre);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.bouton {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fffdf8;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.bouton:hover {
  background: var(--accent-fonce);
  color: #fffdf8;
}
.bouton-discret {
  padding: 0.45rem 0.9rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--filet);
  font-size: 0.9rem;
}
.bouton-discret:hover {
  background: var(--papier-fonce);
  color: var(--accent-fonce);
}

.ariane {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--encre-douce);
}

.entete {
  margin: 1rem 0 1.5rem;
}
.surtitre {
  margin: 0;
  color: var(--or);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chapo {
  font-size: 1.15rem;
  color: var(--encre-douce);
}

.appel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--or-pale);
  border: 1px solid var(--filet);
}
.appel p {
  flex: 1 1 18rem;
  margin: 0;
}

.activites {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.activite {
  padding: 1rem 1.1rem;
  background: var(--papier);
  border: 1px solid var(--filet);
  border-radius: 0.75rem;
}
.activite h3 {
  margin-top: 0;
}
.activite p {
  margin: 0.3rem 0;
}
.source {
  font-size: 0.875rem;
  white-space: nowrap;
}
.faits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.faits span {
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: var(--papier-fonce);
  color: var(--encre-douce);
  font-size: 0.8rem;
}

.defile {
  overflow-x: auto;
}
.climat {
  width: 100%;
  border-collapse: collapse;
  background: var(--papier);
  border-radius: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.climat caption {
  text-align: left;
  padding-bottom: 0.4rem;
  color: var(--encre-douce);
  font-size: 0.875rem;
}
.climat th,
.climat td {
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--filet);
  text-align: left;
}
.climat thead th {
  font-size: 0.8rem;
  color: var(--encre-douce);
}
.climat tr.bon th {
  font-weight: 700;
}
.pastille {
  margin-left: 0.3rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--or-pale);
  color: var(--or);
  font-size: 0.7rem;
  font-weight: 700;
}

.budget,
.pratique {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
  margin: 0;
}
.budget div,
.pratique div {
  padding: 0.8rem 1rem;
  background: var(--papier);
  border: 1px solid var(--filet);
  border-radius: 0.75rem;
}
.budget dt,
.pratique dt {
  color: var(--encre-douce);
  font-size: 0.85rem;
}
.budget dd {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
}
.pratique dd {
  margin: 0;
  font-weight: 600;
}

.liens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.liste {
  margin: 0;
  padding-left: 1.1rem;
}
.liste li {
  margin: 0.3rem 0;
}

.partenaires {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}
.partenaires a {
  font-weight: 600;
}

.mois {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 1rem;
}
.mois a,
.mois span {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--filet);
  background: var(--papier);
  text-decoration: none;
  font-size: 0.9rem;
}
.mois span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fffdf8;
  font-weight: 600;
}

.discret {
  color: var(--encre-douce);
  font-size: 0.875rem;
}

.pied {
  margin-top: 3rem;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--filet);
  font-size: 0.9rem;
}
