/*
Theme Name: Les Maisons de Marie
Author: Mathéo Bocquet
Description: Theme personnalisé pour Les Maisons de Marie
Version: 1.0
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0f0f0f;
  --surface: #161616;
  --card: #1c1c1c;
  --border: #2a2a2a;
  --text: #e8e4de;
  --muted: #7a7570;
  --accent: #c9a96e;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── HERO SECTION ── */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://wp.matheo-bocquet.fr/wp-content/uploads/2026/04/hero-bg.avif') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
}

.logo {
  width: 100px;
  height: 100px;
  background: url('https://wp.matheo-bocquet.fr/wp-content/uploads/2026/04/logo.png') center/cover no-repeat;
  border-radius: 50%;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

/* ── MAIN NAVIGATION ── */
.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px 40px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent !important;
}

.nav-link {
  padding: 12px 24px;
  text-decoration: none;
  color: var(--white) !important;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.nav-link:hover {
  background: rgba(255,255,255,0.2) !important;
  border: none !important;
}

.nav-link.active {
  background: transparent !important;
  color: var(--white) !important;
  border: none !important;
  box-shadow: none !important;
}

/* ── CONTENT ── */
.main-content {
  flex: 1;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  background: transparent !important;
}

.main-content::before {
  display: none !important;
}

.section {
  margin-bottom: 48px;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text);
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

/* ── FOOTER ── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}