:root {
  --ink: #1a1814;
  --muted: #5c574e;
  --paper: #f4efe6;
  --cream: #fbf8f2;
  --line: #e4dccf;
  --accent: #b45309;
  --accent-deep: #92400e;
  --white: #ffffff;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: var(--accent-deep);
}

a:hover {
  color: var(--ink);
}

.wrap {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
}

.wide {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.top {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.pub-mark {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.pub-mark:hover {
  color: var(--ink);
}

.top nav {
  display: flex;
  gap: 0.95rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.top nav a:hover,
.top nav a[aria-current="page"] {
  color: var(--ink);
}

.masthead {
  padding: 2.2rem 0 0.4rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.masthead > p:first-of-type {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.masthead h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.masthead .dek {
  margin: 0.75rem auto 0;
  max-width: 38rem;
}

.hero-article {
  padding: 2.4rem 0 1.2rem;
}

.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
.home-list h2,
.related h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.4vw, 2.75rem);
  line-height: 1.18;
}

.dek {
  margin: 0;
  font-size: 1.12rem;
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.cover {
  margin: 1.75rem 0 0;
  border-radius: 16px;
  overflow: hidden;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.cover-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  color: #fff;
  font-size: 0.82rem;
  background: rgba(26, 24, 20, 0.58);
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
}

.cover-trafic {
  background:
    linear-gradient(165deg, rgba(26, 24, 20, 0.28), rgba(26, 24, 20, 0.05)),
    radial-gradient(circle at 18% 78%, #65a30d 0%, transparent 42%),
    radial-gradient(circle at 82% 18%, #c2410c 0%, transparent 38%),
    repeating-linear-gradient(90deg, #44403c 0 18px, #292524 18px 36px);
}

.cover-itineraire {
  background:
    linear-gradient(160deg, rgba(26, 24, 20, 0.2), rgba(26, 24, 20, 0.05)),
    radial-gradient(circle at 70% 30%, #d97706 0%, transparent 45%),
    linear-gradient(180deg, #78716c, #292524);
}

.cover-alertes {
  background:
    linear-gradient(165deg, rgba(26, 24, 20, 0.35), rgba(26, 24, 20, 0.08)),
    radial-gradient(circle at 50% 100%, #b45309 0%, transparent 50%),
    linear-gradient(180deg, #1c1917, #44403c);
}

.cover-weekends {
  background:
    linear-gradient(165deg, rgba(26, 24, 20, 0.15), rgba(26, 24, 20, 0.05)),
    radial-gradient(circle at 20% 20%, #86efac 0%, transparent 40%),
    linear-gradient(180deg, #65a30d, #365314);
}

.cover-ville {
  background:
    linear-gradient(165deg, rgba(26, 24, 20, 0.25), rgba(26, 24, 20, 0.08)),
    repeating-linear-gradient(90deg, #57534e 0 28px, #292524 28px 36px),
    linear-gradient(180deg, #78716c, #1c1917);
}

.cover-ecran {
  background:
    linear-gradient(165deg, rgba(26, 24, 20, 0.2), rgba(26, 24, 20, 0.4)),
    radial-gradient(circle at 60% 40%, #fdba74 0%, transparent 35%),
    linear-gradient(180deg, #44403c, #0c0a09);
}

article.prose {
  padding: 2rem 0 3.5rem;
}

.prose p,
.prose li {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.08rem;
}

.prose h2 {
  font-size: 1.45rem;
  margin: 2.4rem 0 0.7rem;
}

.prose h3 {
  font-size: 1.12rem;
  margin: 1.6rem 0 0.45rem;
}

.prose .lede {
  font-size: 1.18rem;
}

.callout {
  background: #fff7ed;
  border-left: 3px solid var(--accent);
  padding: 0.9rem 1rem;
  margin: 1.5rem 0;
  border-radius: 0 10px 10px 0;
}

.callout p {
  margin: 0;
  font-size: 0.98rem;
  color: #7c2d12;
  font-family: "Source Sans 3", sans-serif;
}

.sources {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-top: 2rem;
}

.sources h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.sources ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.sources li {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}

.fact {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.fact h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.fact p {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
}

.related {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
}

.related h2 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover {
  border-color: #d6d3d1;
}

.card span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq {
  padding: 0 0 1rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
}

.faq p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.98rem;
}

.note-box {
  margin-top: 2.4rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.note-box h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.note-box p {
  margin: 0.35rem 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 1.4rem 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.foot-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.foot-links a {
  color: var(--muted);
  text-decoration: none;
}

.legal {
  padding: 2.2rem 0 4rem;
}

.legal h1 {
  font-size: 2rem;
}

.legal h2 {
  font-size: 1.15rem;
  margin-top: 1.8rem;
}

.home-list {
  padding: 1.6rem 0 3.5rem;
}

.featured {
  display: grid;
  gap: 1.1rem;
  padding: 1.6rem 0 1.8rem;
  border-bottom: 1px solid var(--line);
}

.featured .thumb {
  min-height: 220px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}

.featured h2 {
  margin: 0.2rem 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.featured h2 a {
  color: inherit;
  text-decoration: none;
}

.featured h2 a:hover {
  color: var(--accent-deep);
}

.home-list article.post {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.post-thumb {
  width: 140px;
  height: 96px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.home-list h2 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.32rem;
}

.home-list h2 a {
  color: inherit;
  text-decoration: none;
}

.home-list h2 a:hover {
  color: var(--accent);
}

.home-list article p {
  margin: 0;
  color: var(--muted);
}

.cookie {
  position: sticky;
  bottom: 0;
  background: #292524;
  color: #e7e5e4;
  font-size: 0.85rem;
  padding: 0.7rem 0;
}

.cookie .wrap {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie a {
  color: #fdba74;
}

.cookie button {
  border: 0;
  background: #fff;
  color: #1c1917;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-weight: 650;
  cursor: pointer;
}

@media (max-width: 800px) {
  .grid-3,
  .cards {
    grid-template-columns: 1fr;
  }

  .home-list article.post {
    grid-template-columns: 1fr;
  }

  .post-thumb {
    width: 100%;
    height: 150px;
  }

  .top-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0;
  }
}
