*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --col: #1a1a1a;
  --bg: #f7f5f0;
  --accent: #c8a97e;
  --muted: #888;
  --max: 1100px;
  --pad: 80px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg);
  color: var(--col);
  font-size: 15px;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--pad);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-fleur {
  width: 28px;
  height: auto;
}

.nav-nom {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--col);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--pad) 60px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-flower-wrap {
  flex-shrink: 0;
}

.hero-fleur {
  width: 220px;
  height: 220px;
  object-fit: contain;
  animation: spin 18s linear infinite;
  transform-origin: center;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-text {
  flex: 1;
}

.hero-sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-name em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.hero-desc {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 36px;
}

.hero-cta {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--col);
  color: var(--col);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}

.hero-cta:hover {
  background: var(--col);
  color: var(--bg);
}

.hero-line {
  margin-top: 60px;
  height: 1px;
  background: rgba(0,0,0,0.1);
}


main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px var(--pad) 100px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.section-count {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.projets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.projet a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.projet-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e8e4dc;
}

.projet-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.projet:hover .projet-img-wrap img {
  transform: scale(1.04);
}

.projet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.projet-overlay span {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.projet a:hover .projet-overlay {
  opacity: 1;
}

.projet-label {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background-color: #111;
  color: #eee;
  padding: 48px var(--pad) 24px;
  font-family: 'DM Sans', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-section h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}

.footer-section p,
.footer-section a {
  font-size: 13px;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.7;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  padding-top: 20px;
  font-size: 12px;
  color: #555;
  max-width: var(--max);
  margin: 0 auto;
}


@media (max-width: 900px) {
  :root { --pad: 32px; }

  .hero-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hero-fleur { width: 160px; height: 160px; }

  .projets {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  :root { --pad: 20px; }

  .nav-links { gap: 20px; }
  .nav-links a { font-size: 11px; }

  .projets {
    grid-template-columns: 1fr;
  }
}
