:root {
  --bg: #fbfaf7;
  --bg2: #f4f1ea;
  --ink: #1c1917;
  --muted: #6b665e;
  --line: #e7e1d6;
  --accent: #e8590c;
  --accent-ink: #fff;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(28, 25, 23, .25);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0 0 .4em; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 900; font-size: 1.15rem; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #f0a24b);
  color: #fff; font-size: 1.2rem;
}
.brand em { font-style: normal; color: var(--accent); }
.brand-name { white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav-links a:not(.btn) { font-weight: 500; color: var(--ink); }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 60;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink, #fff); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #d24b05; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.kicker {
  display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; }
.lede { font-size: 1.1rem; color: var(--muted, #55504a); max-width: 52ch; }
.btn-row { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: .9rem; margin-top: 20px; }

.hero-art { position: relative; height: 360px; }
.art-card {
  position: absolute; display: grid; place-items: center;
  border-radius: 22px; font-family: var(--serif); font-weight: 900; font-size: 1.3rem; color: #fff;
  border: 8px solid var(--bg); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.art-card span { text-shadow: 0 2px 10px rgba(0,0,0,.2); }
.card-1 { width: 150px; height: 150px; top: 0; right: 30px; background: linear-gradient(135deg,#7c3aed,#4f46e5); }
.card-2 { width: 120px; height: 200px; left: 10px; bottom: 10px; background: linear-gradient(135deg,#0ea5e9,#0891b2); animation-delay: -2s; }
.card-3 { width: 130px; height: 130px; right: 0; bottom: 0; background: linear-gradient(135deg,#f59e0b,#dc2626); animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Strip ---------- */
.strip { background: var(--ink); color: var(--bg); }
.strip-row { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; padding-block: 22px; }
.strip-row span { font-size: .95rem; color: #cfc9bf; }
.strip-row strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: #fff; font-weight: 900; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.clean { background: var(--bg2); }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.sec-head p { color: var(--muted); margin: 0; }
.tag {
  display: inline-block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); background: #fdece1; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* Portfolio grid */
.grid-portfolio {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.project-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .25s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-thumb {
  position: relative; height: 190px; overflow: hidden;
  background: linear-gradient(135deg, var(--c), var(--c2));
  display: grid; place-items: center;
}
.project-thumb::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.25), transparent 60%); }
.mono { position: relative; z-index: 2; color: rgba(255,255,255,.95); font-family: var(--serif); font-weight: 900; font-size: 1.4rem; letter-spacing: .02em; }
.orb {
  position: absolute; width: 90px; height: 90px; border-radius: 50%;
  background: rgba(255,255,255,.22); bottom: -30px; right: -20px; z-index: 1;
}
.orb::after { content:""; position:absolute; width:44px; height:44px; border-radius:50%; background: rgba(255,255,255,.28); top:-28px; left:18px; }
.project-body { padding: 18px 20px 22px; }
.chip {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  background: var(--ink); color: #fff; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.project-body h3 { font-size: 1.25rem; }
.project-body p { margin: 0; font-size: .92rem; color: var(--muted); }
.load-more { margin-top: 32px; }

/* Services */
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.num {
  font-family: var(--serif); font-weight: 900; font-size: 2rem; color: var(--line);
  margin-bottom: 14px; line-height: 1;
}
.service-card h3 { font-size: 1.2rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* A propos */
.apropos-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.apropos-text p { color: #55504a; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { padding: 8px 0 8px 30px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--accent); font-weight: 700; }

/* Contact */
.contact-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--ink); color: #fff; border-radius: 22px; padding: 40px 44px;
}
.contact-band h2 { font-size: 2rem; }
.contact-band p { margin: 0; color: #cfc9bf; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; }
.footer-top .brand-name { color: var(--ink); }
.footer-tag { margin: 0; color: var(--muted); font-family: var(--serif); font-style: italic; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: .9rem;
}
.social a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .apropos-grid { grid-template-columns: 1fr; }
  .grid-portfolio, .grid-services { grid-template-columns: repeat(2, 1fr); }
  .hero-art { height: 300px; max-width: 420px; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; top: 0; flex-direction: column; justify-content: center; gap: 30px;
    background: var(--bg); z-index: 55; display: none; font-size: 1.3rem;
  }
  .site-header.open .nav-links { display: flex; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .brand-name { font-size: 1rem; }
  .grid-portfolio, .grid-services { grid-template-columns: 1fr; }
  .strip-row { flex-direction: column; align-items: center; text-align: center; }
  .contact-band { padding: 30px; }
}