:root {
  --bg: #15110d;
  --bg-raised: #1c1712;
  --wood: #7a4b26;
  --wood-light: #a9713f;
  --brass: #c9a227;
  --brass-soft: #d9bb5e;
  --steel: #9ba6a3;
  --cream: #ede6d8;
  --cream-dim: #b9b0a0;
  --line: rgba(237, 230, 216, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--cream);
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(21, 17, 13, 0.88);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brass-soft);
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--cream-dim);
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--brass-soft); }

/* Hero */
.hero {
  position: relative;
  padding: 88px 32px 96px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(201, 162, 39, 0.10), transparent 60%),
    var(--bg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: left;
}

.hero-logo {
  flex: 0 0 auto;
  width: 220px;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgba(0,0,0,0.6);
}

.hero-line {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.hero-line span {
  display: block;
}

.hero-line span:first-child {
  color: var(--cream);
}

.hero-line span:last-child {
  color: var(--wood-light);
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    100deg,
    rgba(122, 75, 38, 0.06) 0px,
    rgba(122, 75, 38, 0.06) 1px,
    transparent 1px,
    transparent 7px
  );
}

/* Sections */
.section {
  padding: 96px 32px;
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: 640px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 32px;
}

.lede {
  font-size: 1.15rem;
  color: var(--cream);
  max-width: 54ch;
}

.section p {
  max-width: 62ch;
  color: var(--cream-dim);
}

.section p + p {
  margin-top: 18px;
}

/* Ce que je fais */
.practice-list {
  margin: 0;
  display: grid;
  gap: 36px;
}

.practice-item dt {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brass-soft);
  margin-bottom: 6px;
}

.practice-item dd {
  margin: 0;
  color: var(--cream-dim);
  max-width: 56ch;
}

/* Projets */
.project-card {
  margin-bottom: 56px;
}

.project-card h3, .agenda-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--cream);
}

.project-card p {
  margin-bottom: 22px;
}

.visual-slot {
  border: 1px dashed var(--line);
  border-radius: 4px;
  background: var(--bg-raised);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  font-size: 0.9rem;
}

.visual-slot--wide {
  min-height: 140px;
}

/* Contact */
.contact-form {
  margin-top: 36px;
  display: grid;
  gap: 20px;
  max-width: 480px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.88rem;
  color: var(--cream-dim);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  resize: vertical;
}

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

.contact-form button {
  justify-self: start;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bg);
  background: var(--brass-soft);
  border: none;
  border-radius: 3px;
  padding: 13px 28px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form button:hover {
  background: var(--brass);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--cream-dim);
}

@media (max-width: 700px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-logo {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 600px) {
  .header-inner { padding: 16px 20px; }
  .site-nav { gap: 16px; }
  .hero { padding: 64px 20px 72px; }
  .section { padding: 64px 20px; }
}

/* Confirmation page */
.confirm-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(201, 162, 39, 0.10), transparent 60%),
    var(--bg);
}

.confirm-card {
  max-width: 420px;
  text-align: center;
}

.confirm-logo {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  margin: 0 auto 32px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgba(0,0,0,0.6);
}

.confirm-card h1 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.confirm-card p {
  color: var(--cream-dim);
  margin-bottom: 32px;
}

.confirm-button {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bg);
  background: var(--brass-soft);
  border-radius: 3px;
  padding: 13px 28px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.confirm-button:hover {
  background: var(--brass);
}
