:root {
  --wag-bg: #f8f6f1;
  --wag-text: #1e1e1c;
  --wag-muted: #706c64;
  --wag-line: #ded8cf;
  --wag-card: #fffdf8;
  --wag-accent: #111111;
  --wag-max: 1080px;
  --wag-wide: 1320px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--wag-bg);
  color: var(--wag-text);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { color: var(--wag-muted); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-header {
  border-bottom: 1px solid var(--wag-line);
  background: rgba(248, 246, 241, 0.95);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.site-branding {
  flex: 0 0 auto;
}

.site-title {
  font-size: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-logo {
  max-height: 64px;
  width: auto;
}

.primary-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-navigation a {
  font-family: Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--wag-text);
  background: transparent;
  padding: 8px 12px;
  font-family: Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-main {
  min-height: 70vh;
}

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

.content-wrap-wide {
  max-width: var(--wag-wide);
}

.entry-title,
.section-title {
  margin: 0 0 32px;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
}

.section-title {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--wag-line);
  font-size: clamp(28px, 4vw, 46px);
}

.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }

.artworks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.artwork-card {
  margin: 0;
}

.artwork-card-link {
  display: block;
}

.artwork-card-image {
  aspect-ratio: 4 / 5;
  background: var(--wag-card);
  border: 1px solid var(--wag-line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, opacity 240ms ease;
}

.artwork-card-link:hover img {
  transform: scale(1.025);
  opacity: 0.92;
}

.artwork-placeholder {
  color: var(--wag-muted);
  font-style: italic;
}

.artwork-card-title {
  margin: 14px 0 0;
  font-weight: 400;
  font-size: 20px;
}

.artwork-hero {
  margin: 0 0 36px;
  background: var(--wag-card);
  border: 1px solid var(--wag-line);
  padding: 12px;
}

.site-footer {
  border-top: 1px solid var(--wag-line);
  padding: 44px 24px;
}

.footer-widgets {
  max-width: var(--wag-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  color: var(--wag-muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.footer-widget-title {
  margin: 0 0 12px;
  color: var(--wag-text);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  margin-top: 40px;
  display: flex;
  gap: 16px;
}

@media (max-width: 820px) {
  body { font-size: 17px; }

  .site-header-inner {
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .menu-toggle { display: inline-block; }

  .primary-navigation {
    display: none;
    width: 100%;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    display: grid;
    gap: 12px;
    padding-top: 16px;
  }

  .content-wrap {
    padding: 42px 20px;
  }

  .artworks-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .artworks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Container formulaire */
.wpcf7 {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
}

/* Champs */
.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 5px;
  font-size: 16px;
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
}

/* Focus */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-bottom: 1px solid #000;
}

/* Labels */
.wpcf7 p {
  margin-bottom: 30px;
  font-size: 14px;
  color: #666;
}

/* Bouton */
.wpcf7 input[type="submit"] {
  border: 1px solid #000;
  background: transparent;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Hover bouton */
.wpcf7 input[type="submit"]:hover {
  background: #000;
  color: #fff;
}

/* Messages */
.wpcf7-response-output {
  border: none;
  margin-top: 20px;
  font-size: 14px;
}