:root {
  --bg: #f8f6f1;
  --card: #f0ede5;
  --ink: #1c1a17;
  --ink-soft: #55504a;
  --brown: #8a4a25;
  --green: #2f4a38;
  --green-btn: #3a5a3f;
  --line: #e3ddd0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
section[id] { scroll-margin-top: 72px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px clamp(16px, 4vw, 44px);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; line-height: 1; text-align: center; flex: none; }
.brand b { display: block; font-weight: 500; font-size: 22px; letter-spacing: .14em; }
.brand span { display: block; margin-top: 4px; font-size: 13px; letter-spacing: .42em; color: var(--brown); padding-left: .42em; }
.nav ul { display: flex; gap: clamp(16px, 2.6vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: 14px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a.active { border-bottom-color: var(--brown); }
.nav ul a.active { color: var(--brown); font-weight: 500; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green-btn); color: #fff; text-decoration: none;
  font-weight: 500; font-size: 15px;
  padding: 11px 22px; border-radius: 10px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--green); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }

/* Hero : le visuel contient le nom, la devise et les valeurs */
.hero { background: #2b2a20; }
.hero img {
  display: block; width: 100%; height: auto;
  max-height: calc(100vh - 64px); object-fit: cover; object-position: center 40%;
}

.intro {
  max-width: 760px; margin: 0 auto; padding: 40px 24px 0;
  text-align: center; color: var(--ink-soft); font-size: 18px;
}

/* Notre histoire */
.story {
  max-width: 1180px; margin: 0 auto; padding: 64px clamp(20px, 4vw, 44px) 56px;
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.eyebrow { color: var(--brown); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 24px; }
.eyebrow::after { content: ""; display: block; width: 44px; height: 2px; background: var(--brown); margin-top: 8px; }
h2 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 0 0 28px; letter-spacing: -.01em; }
h2 em { display: block; font-style: normal; color: var(--brown); }
.story p { margin: 0 0 16px; max-width: 58ch; }
.story p.first { font-size: 18px; }
.story strong { color: var(--brown); font-weight: 600; }

.values { display: grid; gap: 18px; }
.value {
  display: flex; align-items: center; gap: 20px;
  background: var(--card); border-radius: 18px; padding: 24px 26px;
}
.value i {
  flex: none; width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center;
}
.value svg { width: 30px; height: 30px; }
.value h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.value p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }

/* Makizo */
#projets { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px) 72px; }
.project {
  display: grid; grid-template-columns: 280px 1px minmax(0, 1fr) 260px;
  align-items: center; gap: 36px;
  background: var(--card); border-radius: 22px; padding: 32px 40px;
}
.project .logo { text-align: center; }
.project .logo img { width: 150px; height: auto; display: block; margin: 0 auto 12px; border-radius: 26px; box-shadow: 0 6px 20px rgba(60, 50, 30, .12); }
.project .logo p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.project .sep { width: 1px; align-self: stretch; background: var(--line); }
.project h3 { margin: 0 0 8px; font-size: 21px; }
.project .text p { margin: 0 0 18px; color: var(--ink-soft); }
.script {
  font-family: "Caveat", cursive; font-size: 30px; line-height: 1.15; color: var(--ink);
  transform: rotate(-4deg); text-align: center;
}
.script::after { content: ""; display: block; height: 2px; width: 78%; margin: 6px auto 0; background: var(--ink); opacity: .7; border-radius: 2px; }

[hidden] { display: none !important; }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 42px; height: 42px; padding: 0; margin-left: 8px; cursor: pointer;
  background: transparent; border: 1.5px solid #cfc7b6; border-radius: 10px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Accueil : bandeau d'introduction */
.home-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 90% at 88% 30%, rgba(255, 255, 255, .85), transparent 70%),
    linear-gradient(100deg, #f8f6f1 25%, #efe6d6 100%);
}
.home-hero .inner {
  position: relative; max-width: 1180px; margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) clamp(20px, 4vw, 44px) clamp(56px, 8vw, 96px);
  min-height: 520px; display: flex; flex-direction: column; justify-content: center;
}
.home-hero .eyebrow { margin-bottom: 26px; letter-spacing: .26em; font-size: 12.5px; }
.home-hero .eyebrow::after { display: none; }
.home-hero h1 {
  margin: 0 0 22px; max-width: 9em;
  font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.02em; color: #12301f;
}
.home-hero h1 em { display: block; font-style: normal; color: var(--brown); }
.home-hero .rule { width: 62px; height: 2px; background: var(--brown); margin: 0 0 24px; }
.home-hero .lead { max-width: 30em; margin: 0 0 30px; font-size: 18px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-lg { padding: 15px 30px; border-radius: 999px; font-size: 16px; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid #cfc7b6; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-dark { background: #1f3a2a; }
.btn-brown { background: var(--brown); }
.btn-brown:hover { background: #6f3a1c; }
.btn.is-soon { background: #b9a898; cursor: default; pointer-events: none; }

.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco .script { position: absolute; right: 9%; top: 15%; font-size: clamp(30px, 3.4vw, 46px); transform: rotate(-9deg); text-align: left; }
.hero-deco .script::after { margin: 8px 0 0; width: 100%; transform: rotate(-3deg); }
.books { position: absolute; right: 0; bottom: 20%; display: grid; gap: 3px; width: 250px; }
.books span {
  display: block; padding: 10px 22px; font-size: 13px; letter-spacing: .2em; color: #6a5a48;
  background: linear-gradient(#f7f2e8, #ece3d2); border-radius: 3px 0 0 3px; box-shadow: 0 2px 6px rgba(80, 60, 30, .14);
}
.books span:nth-child(2) { margin-left: 16px; }
.books span:nth-child(3) { margin-left: 6px; }
.leaf { position: absolute; right: -30px; bottom: 33%; width: 150px; opacity: .92; }

/* Nos applications */
.apps { max-width: 1180px; margin: 0 auto; padding: 64px clamp(20px, 4vw, 44px) 24px; }
.section-title { font-size: clamp(28px, 3.4vw, 36px); margin: 0 0 32px; letter-spacing: -.01em; color: #12301f; }
.section-title::after { content: ""; display: block; width: 46px; height: 3px; background: var(--brown); margin-top: 10px; border-radius: 2px; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.app {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px 20px;
  padding: 30px 30px 28px; border-radius: 22px;
}
.app.makizo { background: #eaf0e6; }
.app.famiko { background: #f8ebe0; }
.app .icon { width: 108px; height: auto; display: block; margin-bottom: 14px; filter: drop-shadow(0 6px 14px rgba(60, 50, 30, .16)); }
.app h3 { margin: 0 0 6px; font-size: 32px; letter-spacing: -.01em; }
.app .tag { margin: 0 0 16px; font-size: 19px; line-height: 1.35; font-weight: 500; }
.makizo .tag { color: #3d7a4c; }
.famiko .tag { color: var(--brown); }
.app .desc { margin: 0 0 22px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; max-width: 32ch; }
.app ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 20px; align-content: start; }
.app li { display: flex; align-items: center; gap: 14px; font-size: 14.5px; }
.app li svg { flex: none; width: 26px; height: 26px; }
.makizo li svg { color: #2f4a38; }
.famiko li svg { color: #6f3a1c; }
.app .script { grid-column: 2; align-self: end; justify-self: end; font-size: 26px; transform: rotate(-6deg); padding-right: 8px; }
.app .script::after { width: 100%; margin: 4px 0 0; }
.app .cta { align-self: end; }

/* Nos valeurs */
.values-row { max-width: 1180px; margin: 0 auto; padding: 40px clamp(20px, 4vw, 44px) 72px; text-align: center; }
.values-row .section-title { font-size: 22px; margin-bottom: 30px; }
.values-row .section-title::after { margin: 10px auto 0; width: 36px; }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); }
.v { padding: 6px 20px; }
.v + .v { border-left: 1px solid var(--line); }
.v i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: #e6ede2; color: #1f3a2a; }
.v:nth-child(3) i { background: #f3e5da; color: var(--brown); }
.v i svg { width: 30px; height: 30px; }
.v h3 { margin: 0 0 6px; font-size: 17px; }
.v p { margin: 0 auto; font-size: 14px; color: var(--ink-soft); max-width: 16em; line-height: 1.45; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.site-footer .row {
  max-width: 1180px; margin: 0 auto; padding: 30px clamp(20px, 4vw, 44px) 22px;
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap;
}
.site-footer .brand { text-align: left; }
.site-footer .brand b { font-size: 24px; }
.site-footer .brand span { padding-left: 0; }
.site-footer .tagline { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.4; max-width: 15em; padding-left: 24px; border-left: 1px solid var(--line); }
.site-footer nav { margin-left: auto; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 30px; list-style: none; margin: 0; padding: 0; }
.site-footer nav a { text-decoration: none; font-size: 13.5px; color: var(--ink-soft); }
.site-footer nav a:hover { color: var(--brown); }
.site-footer .copy {
  max-width: 1180px; margin: 0 auto; padding: 16px clamp(20px, 4vw, 44px) 28px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft);
}
.site-footer .row + .copy { border-top: 0; padding-top: 0; }

@media (max-width: 960px) {
  .story { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; text-align: center; padding: 28px 24px; gap: 22px; }
  .project .sep { display: none; }
}
@media (max-width: 720px) {
  .nav { padding-top: 8px; padding-bottom: 8px; }
  .brand b { font-size: 19px; }
  .btn { padding: 9px 16px; font-size: 14px; }
  .hero img { max-height: none; }
  .intro { font-size: 16px; padding-top: 28px; }
  .story { padding-top: 44px; }
  .value { padding: 18px 20px; }
}

@media (max-width: 1100px) {
  .hero-deco .books, .hero-deco .leaf { display: none; }
}
@media (max-width: 960px) {
  .app-grid { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .v:nth-child(3) { border-left: 0; }
  .site-footer nav { margin-left: 0; width: 100%; }
}
@media (max-width: 720px) {
  .home-hero .inner { min-height: 0; }
  .hero-deco .script { position: static; display: inline-block; margin: 0 0 44px 28px; transform: rotate(-4deg); font-size: 30px; }
  .hero-deco { position: static; }
  .app { grid-template-columns: 1fr; padding: 24px 22px; }
  .app ul { margin: 6px 0 20px; }
  .app .script { grid-column: 1; justify-self: end; }
  .vgrid { grid-template-columns: 1fr; }
  .v + .v { border-left: 0; }
  .site-footer .tagline { border-left: 0; padding-left: 0; }
}

/* Contact */
.contact-hero .inner { min-height: 440px; }
.contact-hero h1 { font-size: clamp(48px, 7vw, 76px); margin-bottom: 18px; color: var(--ink); }
.contact-hero .sub { max-width: 21em; margin: 0 0 20px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; }
.contact-hero .lead { margin-bottom: 30px; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.chips li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 30px; font-size: 15px; }
.chips li:first-child { padding-left: 0; }
.chips li + li { border-left: 1px solid var(--line); }
.chips svg { width: 36px; height: 36px; color: var(--ink); }
.leaf-lg { right: -10px; bottom: 6%; width: 230px; }

.contact-wrap {
  max-width: 1180px; margin: 0 auto; padding: 44px clamp(20px, 4vw, 44px) 72px;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: start;
}
.card { background: var(--card); border-radius: 20px; padding: 32px; }
.card-title { margin: 0 0 24px; font-size: 26px; letter-spacing: -.01em; }
.card-title::after { content: ""; display: block; width: 40px; height: 2px; background: var(--brown); margin-top: 10px; }
.field { margin-bottom: 18px; }
label { display: block; margin-bottom: 7px; font-weight: 500; font-size: 15px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  padding: 14px 16px; border: 1px solid #ddd6c6; border-radius: 10px;
}
input::placeholder, textarea::placeholder { color: #9b958b; }
select:invalid { color: #9b958b; }
textarea { min-height: 150px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--green-btn); outline-offset: 1px; border-color: var(--green-btn); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit {
  width: 100%; margin-top: 6px; padding: 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 500; font-size: 16px; color: #fff; background: #1f3a2a;
  transition: background .2s;
}
.submit:hover:not(:disabled) { background: var(--green-btn); }
.submit:disabled { opacity: .65; cursor: progress; }
.status { margin: 14px 0 0; padding: 12px 16px; border-radius: 10px; font-size: 14.5px; background: #f8e3df; color: #8a2c1c; }
.form-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.success { text-align: center; padding: 28px 12px 20px; }
.success:focus { outline: none; }
.success i, .together .badge {
  display: grid; place-items: center; border-radius: 50%; background: #1f3a2a; color: #fff;
}
.success i { width: 64px; height: 64px; margin: 0 auto 16px; }
.success svg { width: 30px; height: 30px; }
.success h3 { margin: 0 0 8px; font-size: 24px; }
.success p { margin: 0 auto; max-width: 30em; color: var(--ink-soft); }

.side { display: grid; gap: 26px; }
.together { display: flex; align-items: center; gap: 22px; background: #eaf0e6; }
.together .badge { flex: none; width: 72px; height: 72px; }
.together .badge svg { width: 34px; height: 34px; }
.together h2 { margin: 0 0 6px; font-size: 21px; line-height: 1.25; }
.together p, .data p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.data .card-title { font-size: 22px; margin-bottom: 18px; }

@media (max-width: 960px) {
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .contact-hero .inner { min-height: 0; }
  .contact-hero .leaf-lg { display: none; }
  .chips li { padding: 0 16px; font-size: 14px; }
  .card { padding: 24px 20px; }
  .together { flex-direction: column; text-align: center; }
}

/* Badges « Makizo · Bientôt » et « Famiko · Bientôt » de la barre de navigation */
.nav-soon { display: flex; gap: 8px; }
.nav-soon .btn { white-space: nowrap; padding: 10px 16px; font-size: 14px; }
@media (max-width: 560px) {
  .nav-soon { display: none; }
  .nav .menu-toggle { margin-left: auto; }
}

/* Navigation en menu déroulant jusqu'à 1020 px (les badges + les liens ne tiennent pas sur une ligne) */
@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav-soon { margin-left: auto; }
  .nav > nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 4px clamp(16px, 4vw, 44px) 12px; box-shadow: 0 14px 24px rgba(40, 30, 10, .08);
  }
  .nav.open > nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav ul li:last-child a { border-bottom: 0; }
}

/* Nos projets */
.proj-hero {
  max-width: 1180px; margin: 0 auto; padding: 34px clamp(20px, 4vw, 44px) 26px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr) minmax(0, 1fr); align-items: center; gap: 24px;
}
.proj-hero .heart { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; vertical-align: -6px; }
.sticky-wrap { position: relative; justify-self: start; padding: 10px 0 0 22px; }
.sticky-wrap::before {
  content: ""; position: absolute; left: 0; top: 0; width: 214px; height: 226px;
  background: #d3e4b9; transform: rotate(-11deg); box-shadow: 0 3px 8px rgba(60, 50, 20, .12);
}
.sticky {
  position: relative; margin: 0; width: 226px; padding: 26px 20px 22px 26px; transform: rotate(-5deg);
  background: #fbe9a4; box-shadow: 0 8px 16px rgba(60, 50, 20, .16);
  font-family: "Caveat", cursive; font-style: italic; font-size: 27px; line-height: 1.14; color: #16284b;
}
.sticky .heart { display: block; margin: 8px 0 0 auto; width: 24px; height: 24px; }
.proj-title { text-align: center; }
.proj-title h1 {
  margin: 0; font-family: "Fredoka", "Inter", sans-serif; font-weight: 700;
  font-size: clamp(46px, 6.9vw, 88px); line-height: 1; letter-spacing: -.01em; color: #0d3123; white-space: nowrap;
}
.proj-title h1 em { font-style: normal; color: #f26a1b; }
.proj-title h1::after {
  content: ""; display: block; width: 116px; height: 12px; margin: 10px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 116 12'%3E%3Cpath d='M3 8C30 3 86 2 113 6' fill='none' stroke='%231c6b3a' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.script-sub {
  margin: 18px 0 0; font-family: "Caveat", cursive; font-style: italic; font-weight: 500;
  font-size: clamp(27px, 3.1vw, 40px); line-height: 1.16; color: #16284b;
}
.proj-note {
  margin: 0; justify-self: end; text-align: left; transform: rotate(-5deg);
  font-family: "Caveat", cursive; font-style: italic; font-size: clamp(25px, 2.7vw, 34px); line-height: 1.14; color: #16284b;
}

.proj-list {
  max-width: 1180px; margin: 0 auto; padding: 8px clamp(20px, 4vw, 44px) 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch;
}
.proj {
  display: flex; flex-direction: column; background: #fdfcf9; border: 1px solid #efe9dc;
  border-radius: 30px; overflow: hidden; box-shadow: 0 12px 34px rgba(70, 55, 25, .08);
}
.proj .top { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 26px 28px 6px; align-items: start; }
.proj .icon { width: 150px; height: auto; display: block; filter: drop-shadow(0 8px 16px rgba(60, 50, 30, .16)); }
.proj h2 { margin: 2px 0 6px; font-family: "Fredoka", "Inter", sans-serif; font-weight: 700; font-size: 38px; letter-spacing: -.005em; line-height: 1.05; color: #10281f; }
.proj .sub { margin: 0 0 12px; font-size: 19px; font-weight: 700; line-height: 1.25; color: #1a6a3c; }
.proj .desc { margin: 0; font-size: 14.5px; line-height: 1.5; color: #3a3630; }
.tags { list-style: none; margin: 0; padding: 14px 28px 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 20px; border-radius: 999px; font-size: 14.5px; box-shadow: 0 2px 6px rgba(60, 50, 20, .07); }
.makizo .tags li { background: #e5eedb; color: #2b4a34; }
.famiko .tags li { background: #fbdfe3; color: #6a2a34; }
.photo { position: relative; margin-top: auto; }
.photo img { display: block; width: 100%; height: 322px; object-fit: cover; }
.photo .famiko-photo { object-position: 50% 36%; }
.photo .btn { position: absolute; top: 20px; right: 22px; padding: 14px 26px; border-radius: 999px; box-shadow: 0 6px 16px rgba(60, 40, 20, .18); }

.proj-band { margin-top: 40px; line-height: 0; overflow: hidden; }
.proj-band img {
  display: block; width: 100%; height: auto; aspect-ratio: 2048 / 468; object-fit: cover; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%); mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
}

@media (max-width: 960px) {
  .proj-hero { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .sticky-wrap { display: none; }
  .proj-note { justify-self: center; text-align: center; transform: rotate(-3deg); }
  .proj-note br { display: none; }
  .proj-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .proj-band img { aspect-ratio: auto; height: 230px; }
}
@media (max-width: 560px) {
  .proj .top { grid-template-columns: 1fr; padding: 22px 20px 6px; gap: 14px; }
  .proj .icon { width: 120px; }
  .proj h2 { font-size: 34px; }
  .tags { padding: 12px 20px 20px; }
  .photo img { height: 250px; }
  .photo .btn { top: 14px; right: 14px; padding: 11px 20px; font-size: 14px; }
  .proj-band img { object-position: 46% 100%; }
}

/* Accueil : logo créateur dans le bandeau */
.home-hero .hero-logo {
  position: absolute; right: clamp(24px, 6vw, 96px); top: 50%; transform: translateY(-50%);
  width: clamp(300px, 31vw, 430px); height: auto;
}
.home-hero .with-logo .script {
  top: auto; bottom: 22px; right: clamp(24px, 6vw, 96px); font-size: 27px; transform: rotate(-3deg); text-align: center;
}
.home-hero .with-logo .script::after { margin: 6px auto 0; width: 84%; transform: none; }
@media (min-width: 901px) {
  .home-hero .inner { padding-right: calc(clamp(300px, 31vw, 430px) + 6vw + 24px); }
}
@media (max-width: 900px) {
  .hero-deco.with-logo { position: static; text-align: center; padding: 0 20px 44px; }
  .home-hero .hero-logo { position: static; transform: none; display: block; width: min(300px, 72vw); margin: 0 auto 10px; }
  .home-hero .with-logo .script { position: static; display: inline-block; margin: 0; font-size: 28px; transform: rotate(-3deg); }
}

/* Pied de page : liens légaux */
.site-footer .copy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 28px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.legal-links a { color: var(--ink-soft); text-decoration: none; }
.legal-links a:hover { color: var(--brown); text-decoration: underline; }

/* Pages légales */
.legal-hero { max-width: 820px; margin: 0 auto; padding: 56px clamp(20px, 4vw, 44px) 4px; }
.legal-hero h1 { margin: 0 0 14px; font-size: clamp(32px, 5vw, 50px); line-height: 1.1; letter-spacing: -.02em; }
.legal-hero .rule { width: 56px; height: 2px; background: var(--brown); margin-bottom: 16px; }
.legal-hero .updated { margin: 0; font-size: 14px; color: var(--ink-soft); }
.legal { max-width: 820px; margin: 0 auto; padding: 16px clamp(20px, 4vw, 44px) 80px; line-height: 1.7; }
.legal h2 { margin: 40px 0 10px; font-size: 22px; letter-spacing: -.01em; color: #12301f; }
.legal h3 { margin: 22px 0 6px; font-size: 16.5px; }
.legal p, .legal li { color: #3a3630; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--brown); text-underline-offset: 2px; }
.legal .facts {
  display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 12px 24px;
  margin: 8px 0 0; padding: 22px 26px; background: var(--card); border-radius: 16px;
}
.legal .facts dt { font-weight: 600; }
.legal .facts dd { margin: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--card); font-weight: 600; }
.legal-table th:first-child { border-radius: 10px 0 0 10px; }
.legal-table th:last-child { border-radius: 0 10px 10px 0; }
/* champs à compléter par l'éditeur : surlignage jaune, à retirer une fois renseignés */
mark.todo { background: #fff0a0; color: #5a4a00; padding: 1px 7px; border-radius: 5px; }

@media (max-width: 720px) {
  .legal .facts { grid-template-columns: 1fr; gap: 2px; padding: 18px 20px; }
  .legal .facts dt { margin-top: 10px; }
  .legal-table th, .legal-table td { padding: 10px 8px; }
}
