:root {
  --bg: #f6f1e8;
  --bg-2: #fffaf3;
  --ink: #1c1714;
  --muted: #6d645c;
  --line: rgba(28, 23, 20, 0.12);
  --tomato: #c23b22;
  --tomato-deep: #8e2616;
  --crust: #e4a24a;
  --green: #2f6b45;
  --shadow: 0 18px 50px rgba(48, 28, 16, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(226, 162, 74, 0.18), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; background: #fff; padding: .5rem .8rem; z-index: 20;
}
.skip:focus { top: .5rem; }

.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(1120px, calc(100% - 2rem)); margin: .75rem auto;
  padding: .7rem .8rem .7rem 1rem;
  background: rgba(246, 241, 232, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand strong { font-family: var(--serif); font-weight: 560; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand span { display: block; color: var(--muted); font-size: .72rem; margin-top: -2px; }
.menu { display: flex; align-items: center; gap: .15rem; }
.menu a {
  text-decoration: none; padding: .45rem .7rem; border-radius: 999px; color: var(--ink); font-size: .95rem;
}
.menu a:hover, .menu a[aria-current="page"] { background: #fff; }
.burger {
  display: none; border: 0; background: #fff; border-radius: 999px; padding: .55rem .8rem; cursor: pointer;
}

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; padding: 1.5rem 0 3rem; }
.kicker {
  letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; color: var(--tomato-deep); font-weight: 650;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 6vw, 5rem); margin: .4rem 0 .8rem; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border-radius: 999px; padding: .85rem 1.15rem; border: 1px solid transparent; cursor: pointer;
}
.btn.primary { background: var(--ink); color: #fffaf3; }
.btn.primary:hover { background: var(--tomato); }
.btn.ghost { background: transparent; border-color: var(--line); }
.btn.ghost:hover { background: #fff; }
.hero-visual { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.hero-visual img { width: 100%; height: min(640px, 78vh); object-fit: cover; }

.section { padding: 1rem 0 3.2rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.2rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: .2rem 0 0; }
.section-head a { color: var(--tomato-deep); }
.grid { display: grid; gap: 1rem; }
.grid.cards { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: 1.1fr .9fr; align-items: center; }
.card, .note, .person, .job, .video, form.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.card { overflow: hidden; text-decoration: none; display: flex; flex-direction: column; color: inherit; }
.card img { height: 190px; width: 100%; object-fit: cover; }
.card div, .note, .person, .job { padding: 1rem 1.1rem 1.15rem; }
.card h3, .note h3, .job h3, .person h3, .video h3 { margin: .25rem 0 .35rem; font-size: 1.45rem; }
.card p, .note p, .job p, .person p, .video p { margin: 0; color: var(--muted); }
.meta { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.pill {
  display: inline-flex; border-radius: 999px; padding: .15rem .55rem; background: #f3e2c4; color: #6b3e12;
  font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 650;
}
.pill.demo { background: #efe7dc; color: #5c534c; }
.fiche { display: grid; grid-template-columns: 280px 1fr; gap: 1.2rem; margin-bottom: 1rem; }
.fiche img { height: 100%; min-height: 220px; object-fit: cover; border-radius: 22px; }
.fiche .copy { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 1.2rem 1.3rem; }
.fiche p { color: var(--muted); }
.split img { width: 100%; height: 420px; object-fit: cover; border-radius: 28px; }
.advice { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 18px 18px 0 0; background: #1c1714; }
.page-hero { padding: 1.2rem 0 1.4rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
form.panel { padding: 1.2rem; display: grid; gap: .7rem; }
label { display: grid; gap: .3rem; font-size: .92rem; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: .75rem .85rem;
}
textarea { min-height: 120px; resize: vertical; }
.form-msg { min-height: 1.2rem; color: var(--green); }
.form-msg.err { color: var(--tomato); }
footer {
  border-top: 1px solid var(--line); padding: 1.5rem 0 2.2rem; color: var(--muted); display: flex;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
@media (max-width: 900px) {
  .hero, .grid.cards, .grid.two, .fiche, .advice { grid-template-columns: 1fr; }
  .hero-visual img, .split img, .fiche img { height: 280px; min-height: 0; }
  .burger { display: inline-flex; }
  .menu {
    display: none; position: absolute; top: 74px; left: 1rem; right: 1rem;
    flex-direction: column; align-items: stretch; background: #fffaf3; border: 1px solid var(--line);
    border-radius: 20px; padding: .4rem;
  }
  .menu.open { display: flex; }
  .nav { position: sticky; }
}
