:root {
  /* Palette inspirée du logo Martinho (vert forêt profond, vert feuillage, beige crème et bois) */
  --bg-cream: #F9F6F0;
  --bg-sand: #F0EAE1;
  --bg-white: #FFFFFF;
  
  --sage-dark: #1E3323;
  --sage-primary: #2E4F34;
  --sage-medium: #4A734E;
  --sage-light: #E6EFE8;
  
  --wood-accent: #B18349;
  --wood-hover: #966B36;
  --wood-light: #F5EBE0;
  
  --text-dark: #1A261D;
  --text-muted: #506054;
  --text-light: #F9F6F0;
  
  --border-color: #E2DBD0;
  --shadow-sm: 0 4px 12px rgba(30, 51, 35, 0.06);
  --shadow-md: 0 12px 32px rgba(30, 51, 35, 0.11);
  --shadow-lg: 0 20px 48px rgba(30, 51, 35, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* Typographie & En-têtes de section */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-primary);
  background-color: var(--sage-light);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.tag-light {
  color: var(--bg-cream);
  background-color: rgba(255, 255, 255, 0.14);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--sage-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--sage-primary);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 51, 35, 0.25);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background-color: var(--bg-white);
  color: var(--sage-dark);
  border-color: var(--bg-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--sage-primary);
  border-color: var(--sage-primary);
  padding: 10px 22px;
}

.btn-outline:hover {
  background-color: var(--sage-primary);
  color: var(--bg-white);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--sage-dark);
}

.logo-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-medium);
  font-weight: 600;
  margin-top: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--wood-accent);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--sage-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--sage-dark);
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  color: var(--bg-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(20, 35, 24, 0.88) 0%,
    rgba(30, 51, 35, 0.76) 55%,
    rgba(46, 79, 52, 0.58) 100%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(249, 246, 240, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(249, 246, 240, 0.25);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #7CE395;
  box-shadow: 0 0 10px #7CE395;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: #E2C69E;
  font-weight: 500;
  display: block;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  color: rgba(249, 246, 240, 0.92);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-actions .btn-primary {
  background-color: var(--wood-accent);
}

.hero-actions .btn-primary:hover {
  background-color: var(--wood-hover);
}

.hero-logo-card {
  background-color: var(--bg-white);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 400px;
  margin-left: auto;
  border: 4px solid rgba(226, 198, 158, 0.45);
}

.hero-brand-logo {
  width: 290px;
  height: 290px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.hero-card-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--sage-dark);
  line-height: 1.35;
}

/* Intro / Philosophie Section */
.intro-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.intro-paragraphs p {
  color: var(--text-muted);
  font-size: 1.06rem;
  margin-bottom: 16px;
}

.intro-paragraphs .intro-highlight {
  color: var(--sage-dark);
  font-weight: 600;
  font-size: 1.12rem;
  border-left: 3px solid var(--wood-accent);
  padding-left: 16px;
  margin: 24px 0 32px;
}

.intro-images {
  position: relative;
  padding-bottom: 40px;
}

.intro-img-large {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.intro-img-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-img-small {
  position: absolute;
  bottom: 0;
  left: -28px;
  width: 210px;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 5px solid var(--bg-white);
  box-shadow: var(--shadow-lg);
}

.intro-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 48px;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card.featured {
  border-color: var(--sage-medium);
  box-shadow: var(--shadow-md);
}

.service-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.06);
}

.service-icon-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--bg-cream);
  color: var(--sage-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sage-dark);
  margin-bottom: 10px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 28px;
  flex: 1;
}

.service-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 0.93rem;
  color: var(--text-dark);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--wood-accent);
  font-weight: 700;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sage-primary);
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.service-link:hover {
  color: var(--wood-accent);
  gap: 12px;
}

/* Bannière récapitulative des 8 prestations */
.checklist-banner {
  background-color: var(--sage-dark);
  color: var(--bg-white);
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.checklist-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  margin-bottom: 22px;
  color: #E2C69E;
}

.checklist-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.check-pill {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
}

/* Les 3 Piliers Section */
.pillars-section {
  background-color: var(--bg-white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  background-color: var(--bg-cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pillar-img {
  height: 230px;
  overflow: hidden;
}

.pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-img img {
  transform: scale(1.05);
}

.pillar-content {
  padding: 28px 24px;
}

.pillar-content h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--sage-dark);
  margin-bottom: 12px;
}

.pillar-content p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Gallery Section */
.gallery-section {
  background-color: var(--bg-sand);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.filter-btn {
  background-color: var(--bg-white);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--sage-primary);
  color: var(--sage-primary);
}

.filter-btn.active {
  background-color: var(--sage-primary);
  color: var(--bg-white);
  border-color: var(--sage-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background-color: var(--sage-dark);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 38, 28, 0.9) 0%, rgba(24, 38, 28, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--bg-white);
  opacity: 0.94;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #E2C69E;
  font-weight: 600;
  margin-bottom: 4px;
}

.gallery-item-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 8px;
}

.gallery-zoom {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-cream);
  opacity: 0.85;
}

/* Contact & Rendez-vous Section (Sans formulaire) */
.contact-section {
  background-color: var(--sage-dark);
  color: var(--bg-cream);
}

.contact-centered-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--bg-white);
}

.contact-desc {
  color: rgba(249, 246, 240, 0.85);
  font-size: 1.05rem;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-card-item {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.contact-card-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.method-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--wood-accent);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.method-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #E2C69E;
  font-weight: 600;
  margin-bottom: 8px;
}

.method-value {
  font-size: 1.25rem;
  color: var(--bg-white);
  margin-bottom: 8px;
  word-break: break-word;
  user-select: all;
}

.method-sub {
  font-size: 0.86rem;
  color: rgba(249, 246, 240, 0.7);
}

/* Footer */
.site-footer {
  background-color: #142217;
  color: rgba(249, 246, 240, 0.75);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-logo-img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: contain;
  background-color: var(--bg-white);
  padding: 3px;
}

.footer-brand .logo-title {
  color: var(--bg-white);
  display: block;
}

.footer-brand .logo-subtitle {
  color: #E2C69E;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 340px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--bg-white);
}

.footer-copy {
  font-size: 0.85rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(18, 28, 21, 0.85);
  backdrop-filter: blur(6px);
}

.lightbox-dialog {
  position: relative;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.lightbox-img-container {
  height: 420px;
  background-color: var(--sage-dark);
}

.lightbox-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-info {
  padding: 28px 32px;
}

.lightbox-location {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wood-accent);
  margin-bottom: 6px;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--sage-dark);
  margin-bottom: 10px;
}

.lightbox-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-grid,
  .intro-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-logo-card {
    margin: 0 auto;
  }

  .services-grid,
  .pillars-grid,
  .gallery-grid,
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-img-small {
    left: 16px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav-container {
    height: 80px;
  }

  .logo-img {
    width: 58px;
    height: 58px;
  }

  .logo-title {
    font-size: 1.3rem;
  }

  .logo-subtitle {
    font-size: 0.65rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hero {
    padding: 116px 0 64px;
  }

  .hero-logo-card {
    padding: 22px 18px;
    max-width: 320px;
  }

  .hero-brand-logo {
    width: min(240px, 72vw);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .intro-img-large {
    height: 290px;
  }

  .intro-img-small {
    width: 165px;
    height: 125px;
    left: 12px;
  }

  .services-grid,
  .pillars-grid,
  .gallery-grid,
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .checklist-banner {
    padding: 26px 20px;
  }

  .lightbox-img-container {
    height: 240px;
  }
}
