/* FranceMax — carnet de voyage
   Static, self-contained styles. No external fonts or assets. */

:root {
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --paper-3: #e7ddcd;
  --ink: #1e1b16;
  --muted: #6d6458;
  --line: #ddd3c4;
  --accent: #b84a2b;
  --accent-dark: #8f3520;
  --green: #2f5d50;
  --sun: #e3a63f;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-dark);
}

::selection {
  background: var(--sun);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 236, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.02em;
}

.brand-tag {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.015em;
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

.nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-cta {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-cta:hover {
  border-color: var(--ink);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.lang-switch a {
  padding: 4px 6px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--accent);
}

.lang-switch a.is-active {
  color: var(--ink);
  font-weight: 700;
}

/* Layout ------------------------------------------------------------------ */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 76px 0;
}

.section-tight {
  padding: 44px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-sub {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 56px;
  padding: 70px 0 38px;
}

.hero h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(44px, 6.2vw, 76px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.038em;
}

.hero .lead {
  max-width: 47ch;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero-art {
  position: relative;
}

.hero-art > svg {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 26px 60px rgba(30, 27, 22, 0.16);
}

.hero-note {
  position: absolute;
  left: -16px;
  bottom: 20px;
  max-width: 260px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(30, 27, 22, 0.08);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero-note strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
}

/* Intro strip ------------------------------------------------------------- */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.strip-item {
  padding: 26px 30px;
  border-right: 1px solid var(--line);
}

.strip-item:first-child {
  padding-left: 0;
}

.strip-item:last-child {
  border-right: 0;
}

.strip-k {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
}

.strip-v {
  color: var(--muted);
  font-size: 13px;
}

/* Cards ------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f2;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.card:hover {
  transform: translateY(-3px);
  border-color: #cbbfae;
  box-shadow: 0 18px 36px rgba(30, 27, 22, 0.09);
  color: var(--ink);
}

.card-art {
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 250;
  background: var(--paper-3);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.card-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.card-text {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.card-more {
  margin-top: auto;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}

.card-more::after {
  content: " →";
}

.card details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.card summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}

.card summary::-webkit-details-marker {
  display: none;
}

.card summary::after {
  content: "→";
  font-weight: 400;
  transition: transform 0.2s ease;
}

.card details[open] summary::after {
  transform: rotate(90deg);
}

.card summary:hover {
  color: var(--accent-dark);
}

.card details p {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.65;
}

.card details p:first-of-type {
  margin-top: 14px;
}

/* About band -------------------------------------------------------------- */

.about-band {
  background: var(--green);
  color: #f3eee4;
}

.about-band .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.about-band .eyebrow {
  color: #e8c48e;
}

.about-band h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.about-band p {
  max-width: 56ch;
  margin: 0 0 24px;
  color: #d9d3c6;
  font-size: 16px;
}

.about-band a {
  color: #f3eee4;
}

.about-band .btn-ghost {
  border-color: rgba(243, 238, 228, 0.28);
  color: #f3eee4;
}

.about-band .btn-ghost:hover {
  border-color: #f3eee4;
}

.about-quote {
  position: relative;
  padding: 28px 30px;
  border: 1px solid rgba(243, 238, 228, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.about-quote p {
  margin: 0;
  color: #f3eee4;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.35;
}

.about-quote cite {
  display: block;
  margin-top: 18px;
  color: #c9c2b3;
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Contact ----------------------------------------------------------------- */

.contact-band {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-inner h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.contact-inner p {
  margin: 0;
  color: var(--muted);
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 38px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-note {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* Article ----------------------------------------------------------------- */

.article-head {
  padding: 56px 0 34px;
  border-bottom: 1px solid var(--line);
}

.article-head .wrap {
  max-width: 860px;
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.article-head h1 {
  max-width: 20ch;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 60px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 13px;
}

.article-meta span + span::before {
  content: "·";
  margin-right: 18px;
  color: var(--line);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 46px 0 24px;
}

.article-body p {
  margin: 0 0 1.35em;
}

.article-body p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.1em 0 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 4.1em;
  line-height: 0.78;
}

.article-body h2 {
  margin: 2.1em 0 0.7em;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.5em;
  padding-left: 1.25em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.pullquote {
  margin: 2.2em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.35;
}

.article-foot {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 70px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.back-link {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent);
}

/* About page -------------------------------------------------------------- */

.page-head {
  padding: 64px 0 36px;
}

.page-head .wrap {
  max-width: 860px;
}

.page-head h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 62px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.page-head .lead {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
  padding: 24px 0 72px;
}

.portrait {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f2;
}

.portrait svg {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.portrait figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.prose {
  max-width: 680px;
}

.prose p {
  margin: 0 0 1.25em;
}

.prose h2 {
  margin: 1.9em 0 0.6em;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.45em;
}

/* Legal / prose page ------------------------------------------------------ */

.legal {
  max-width: 760px;
  padding: 20px 0 72px;
}

.legal h2 {
  margin: 2em 0 0.6em;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 15.5px;
}

.legal p {
  margin: 0 0 1.1em;
}

.legal ul {
  padding-left: 1.2em;
}

/* 404 --------------------------------------------------------------------- */

.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 70px 24px;
  text-align: center;
}

.error-code {
  margin: 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(90px, 18vw, 180px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.error-page h1 {
  margin: 18px 0 12px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.error-page p {
  max-width: 46ch;
  margin: 0 auto 26px;
  color: var(--muted);
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 48px;
  }

  .hero-art {
    max-width: 640px;
  }

  .hero-note {
    left: 14px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards .card:last-child {
    grid-column: span 2;
  }

  .about-band .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .portrait {
    position: static;
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    padding: 13px 18px;
  }

  .brand-tag {
    display: none;
  }

  .nav {
    gap: 10px;
  }

  .nav .nav-link {
    display: none;
  }

  .nav-cta {
    padding: 7px 12px;
  }

  .lang-switch {
    margin-left: 0;
  }

  .wrap {
    padding: 0 18px;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 26px;
  }

  .section-sub {
    margin-top: 10px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .hero .lead {
    font-size: 17px;
  }

  .strip-inner {
    grid-template-columns: 1fr;
  }

  .strip-item {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip-item:last-child {
    border-bottom: 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .cards .card:last-child {
    grid-column: auto;
  }

  .contact-inner {
    display: block;
  }

  .contact-inner .btn {
    margin-top: 20px;
  }

  .article-head {
    padding-top: 38px;
  }

  .article-body {
    padding-top: 34px;
  }

  .article-head h1 {
    font-size: clamp(34px, 9vw, 46px);
  }

  .article-body p:first-of-type::first-letter {
    font-size: 3.4em;
  }

  .pullquote {
    font-size: 21px;
  }

  .footer-inner {
    display: block;
    padding: 30px 18px;
  }

  .footer-links {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
