/* Le Journal du Boulanger : style moderne et minimaliste */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --black: #111111;
  --white: #ffffff;
  --grey: #757575;
  --line: #e5e5e5;
  --max-w: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

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

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

header.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  z-index: 100;
}

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

.logo {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.logo span { font-weight: 400; color: var(--grey); }

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

nav.main-nav a {
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-color: var(--black);
}

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.lang-switch a {
  padding: 4px 8px;
  border: 1px solid var(--line);
}

.lang-switch a.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.hero {
  padding: 96px 32px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.hero .eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  max-width: 820px;
  margin-bottom: 24px;
}

.hero p.lead {
  font-size: 19px;
  color: #333;
  max-width: 560px;
  font-weight: 300;
}

section { padding: 72px 0; }
section.tight { padding: 40px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.section-head h2 { font-size: 28px; }
.section-head .see-all { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--black); }

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

.article-card { display: block; }

.article-card .thumb {
  aspect-ratio: 4/3;
  background: #f2f0ec;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b7b2a8;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

img.thumb {
  width: 100%;
  object-fit: cover;
}

.article-card .cat {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey);
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.article-card p {
  font-size: 15px;
  color: #4a4a4a;
}

.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.category-tile {
  background: var(--white);
  padding: 32px 24px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.2s;
}

.category-tile:hover { background: #faf9f7; }

.category-tile .num {
  font-size: 12px;
  color: var(--grey);
}

.category-tile h3 {
  font-size: 18px;
  margin-top: 24px;
}

.newsletter-band {
  background: var(--black);
  color: var(--white);
  padding: 64px 0;
}

.newsletter-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.newsletter-band h2 {
  font-size: 26px;
  max-width: 380px;
  color: var(--white);
}

.newsletter-band p { color: #bbb; margin-top: 10px; font-size: 14px; }

form.inline-form {
  display: flex;
  gap: 0;
  min-width: 340px;
}

form.inline-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: 1px solid #555;
  border-right: none;
  padding: 14px 16px;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
}

form.inline-form input[type="email"]::placeholder { color: #888; }

form.inline-form button {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  padding: 14px 22px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-family: inherit;
}

.page-header {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
}

.page-header .eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  margin-bottom: 16px;
}

.page-header h1 { font-size: clamp(32px, 5vw, 48px); max-width: 760px; }

.prose {
  max-width: 680px;
  padding: 56px 0;
  font-size: 18px;
  font-weight: 300;
  color: #222;
}

.prose p { margin-bottom: 24px; }

.prose h2 {
  font-size: 26px;
  margin: 48px 0 20px;
  font-weight: 500;
}

.prose strong { font-weight: 500; }

.prose .byline {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey);
  margin-bottom: 8px;
}

.prose figure {
  margin: 40px 0;
}

.prose figure .thumb {
  aspect-ratio: 3/2;
  background: #f2f0ec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b7b2a8;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}

.prose figcaption {
  font-size: 13px;
  color: var(--grey);
  margin-top: 10px;
}

.contact-form { max-width: 560px; padding: 20px 0 72px; }

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey);
  margin-bottom: 8px;
}

.field input, .field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-family: inherit;
  font-size: 16px;
  background: transparent;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--black);
}

.submit-btn {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
}

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey);
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--black);
}

.footer-bottom {
  font-size: 13px;
  color: var(--grey);
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.menu-toggle { display: none; }

@media (max-width: 860px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(2, 1fr); }
  nav.main-nav { display: none; }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
  }
}

@media (max-width: 600px) {
  .article-grid { grid-template-columns: 1fr; }
  .categories { grid-template-columns: 1fr; }
  .header-inner { padding: 18px 20px; }
  .hero { padding: 56px 20px 56px; }
  .wrap { padding: 0 20px; }
  .newsletter-band .wrap { flex-direction: column; align-items: flex-start; }
  form.inline-form { width: 100%; min-width: 0; }
}
