/* Variables Paysagiste */
:root {
  --j-primaire: #2A432E; /* Forest green */
  --j-accent: #C17F59; /* Terracotta / Clay */
  --j-texte: #242A25;
  --j-texte-clair: #FAFAF8;
  --j-texte-doux: #647067;
  --j-fond: #FAFAF8; /* Soft Earth White */
  --j-fond-fonce: #EFF0EB;
  --j-bordure: rgba(42, 67, 46, 0.15);
  --j-font-titre: 'Playfair Display', serif;
  --j-font-corps: 'Lato', sans-serif;
  --j-max-width: 1100px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--j-font-corps);
  color: var(--j-texte);
  background: var(--j-fond);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select { font: inherit; color: inherit; border: none; background: none; outline: none; }

/* Utilities */
.j-container {
  max-width: var(--j-max-width);
  margin: 0 auto;
  padding: 0 48px;
}
.j-section { padding: 100px 0; }
.j-bg-dark { background: var(--j-fond-fonce); }

/* Buttons */
.j-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}
.j-btn-primary {
  background: var(--j-primaire);
  color: var(--j-texte-clair);
  border: 1px solid var(--j-primaire);
}
.j-btn-primary:hover {
  background: var(--j-accent);
  border-color: var(--j-accent);
}
.j-btn-outline {
  border: 1px solid var(--j-fond);
  color: var(--j-fond);
}
.j-btn-outline:hover {
  background: var(--j-fond);
  color: var(--j-primaire);
}
.j-btn-full { width: 100%; margin-top: 12px; }

/* Nav */
.j-nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: 80px;
  background: transparent;
  z-index: 100;
  transition: background 0.4s ease, height 0.4s ease, box-shadow 0.4s ease;
  color: #fff;
}
.j-nav.opaque {
  background: var(--j-fond);
  height: 70px;
  color: var(--j-texte);
  border-bottom: 1px solid var(--j-bordure);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.j-nav.opaque .j-btn-outline {
  border-color: var(--j-primaire);
  color: var(--j-primaire);
}
.j-nav.opaque .j-btn-outline:hover {
  background: var(--j-primaire);
  color: var(--j-fond);
}

.j-nav-inner {
  max-width: var(--j-max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.j-logo {
  font-family: var(--j-font-titre);
  font-size: 1.5rem;
  font-weight: 700;
}
.j-links {
  display: flex;
  gap: 48px;
}
.j-links a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  font-weight: 700;
}
.j-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--j-accent);
  transition: width 0.3s ease;
}
.j-links a:hover::after { width: 100%; }

/* Hero */
.j-hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #111;
}
.j-hero::before {
  content: '';
  position: absolute;
  top:0;left:0;width:100%;height:100%;
  background: url('https://images.unsplash.com/photo-1558293842-c0fd3db86157?auto=format&fit=crop&q=80&w=1600') center/cover no-repeat;
  opacity: 0.7;
}
.j-hero-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.j-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--j-accent);
  margin-bottom: 24px;
  font-weight: 700;
}
.j-title {
  font-family: var(--j-font-titre);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.j-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 520px;
  font-weight: 300;
}

/* Sections */
.j-section-header {
  text-align: center;
  margin-bottom: 64px;
}
.j-section-header h2 {
  font-family: var(--j-font-titre);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--j-primaire);
  margin-bottom: 16px;
}
.j-section-header p {
  color: var(--j-texte-doux);
  font-size: 1.1rem;
}

/* Menu / Prestations */
.j-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.j-menu-col h3 {
  font-family: var(--j-font-titre);
  font-size: 1.75rem;
  color: var(--j-primaire);
  margin-bottom: 32px;
  border-bottom: 2px solid var(--j-accent);
  padding-bottom: 12px;
  display: inline-block;
}
.j-menu-item {
  margin-bottom: 36px;
}
.j-item-head {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}
.j-item-name {
  font-family: var(--j-font-corps);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--j-primaire);
}
.j-item-dots {
  flex-grow: 1;
  border-bottom: 1px dotted var(--j-bordure);
  margin: 0 16px;
}
.j-item-price {
  font-family: var(--j-font-corps);
  font-size: 1rem;
  font-weight: 700;
  color: var(--j-accent);
}
.j-item-desc {
  font-size: 0.9375rem;
  color: var(--j-texte-doux);
}

/* Gallery */
.j-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.j-gal-item {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.j-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.j-gal-item:hover img {
  transform: scale(1.06);
}

/* Reservation */
.j-resa-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.j-resa-info h2 {
  font-family: var(--j-font-titre);
  font-size: 2.5rem;
  color: var(--j-primaire);
  margin-bottom: 24px;
}
.j-resa-info p {
  color: var(--j-texte-doux);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.8;
}
.j-contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.j-contact-details p {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
  color: var(--j-primaire);
  font-size: 1rem;
  font-weight: 700;
}
.j-resa-form {
  background: #FFF;
  padding: 48px;
  border: 1px solid var(--j-bordure);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}
.j-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.j-input-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.j-input-group label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--j-texte-doux);
}
.j-input-group input,
.j-input-group select {
  padding: 14px 16px;
  border: 1px solid var(--j-bordure);
  border-radius: 4px;
  background: var(--j-fond);
  font-size: 0.9375rem;
  transition: border-color 0.3s;
  appearance: none;
}
.j-input-group input:focus,
.j-input-group select:focus {
  border-color: var(--j-primaire);
}
.j-input-group input.erreur,
.j-input-group select.erreur {
  border-color: #EF4444;
}
.j-form-msg {
  margin-top: 16px;
  font-size: 0.875rem;
  color: #EF4444;
  text-align: center;
  min-height: 20px;
}

/* Footer */
.j-footer {
  background: var(--j-primaire);
  color: rgba(253, 251, 247, 0.7);
  padding: 40px 0;
  text-align: center;
  font-size: 0.875rem;
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive */
@media (max-width: 900px) {
  .j-menu-grid, .j-resa-container { grid-template-columns: 1fr; gap: 48px; }
  .j-gallery { grid-template-columns: 1fr; }
  .j-links { display: none; }
  .j-container { padding: 0 24px; }
  .j-nav-inner { padding: 0 24px; }
  .j-resa-form { padding: 32px 24px; }
}
