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

:root {
  --navy: #344e2a;
  --navy-light: #455f35;
  --gold: #b8963e;
  --gold-light: #d4af6a;
  --green: #2d5016;
  --green-light: #eaf2e3;
  --cream: #f8f5f0;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --text: #1f2937;
  --border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(52,78,42,0.08);
  --shadow-lg: 0 12px 48px rgba(52,78,42,0.14);
}

/* ── LOGO IMAGE NAV ── */
.nav-logo-img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  margin-right: 0.9rem;
  flex-shrink: 0;
  border-radius: 8px;
  background: white;
  padding: 4px;
  display: inline-block;
  vertical-align: middle;
}

/* ── MONOGRAMME NAV ── */
.nav-monogram {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--gold); color: var(--white);
  font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700;
  margin-right: 0.6rem; flex-shrink: 0; letter-spacing: -0.02em;
  transition: background 0.2s;
}
.nav-logo:hover .nav-monogram { background: var(--gold-light); }

/* ── SCROLL ANIMATIONS ── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate="left"] { transform: translateX(-24px); }
[data-animate="left"].visible { transform: translateX(0); }
[data-animate="right"] { transform: translateX(24px); }
[data-animate="right"].visible { transform: translateX(0); }
[data-animate="scale"] { transform: scale(0.94); }
[data-animate="scale"].visible { transform: scale(1); }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ── ACCENT VERT AGRICOLE ── */
.tag-agricole, .cat-agricole {
  background: var(--green-light) !important;
  color: var(--green) !important;
}
.card-agricole .card-icon {
  background: var(--green-light) !important;
  color: var(--green) !important;
}
.card-agricole:hover .card-icon {
  background: var(--green) !important;
  color: var(--white) !important;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(52,78,42,0.97); backdrop-filter: blur(10px);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-logo {
  color: var(--white); font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700; text-decoration: none; line-height: 1.25;
  display: flex; align-items: center; gap: 0.9rem;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text .nav-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.nav-logo-text .nav-subtitle { font-family: 'Inter', sans-serif; font-size: 0.63rem; font-weight: 400; color: var(--gold-light); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.15rem; }
/* Legacy span fallback — removed */
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.88rem;
  font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-cta {
  background: var(--gold); color: var(--white) !important;
  padding: 0.45rem 1.1rem; border-radius: var(--radius);
  font-weight: 600 !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; transition: 0.3s; }

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; padding-top: 68px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem; position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(184,150,62,0.15); border: 1px solid rgba(184,150,62,0.3);
  color: var(--gold-light); padding: 0.35rem 0.9rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--white); line-height: 1.2; max-width: 720px; margin-bottom: 1.5rem;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-sub {
  color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px;
  margin-bottom: 2.5rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.btn-primary {
  background: var(--gold); color: var(--white); padding: 0.85rem 2rem;
  border-radius: var(--radius); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,0.1); color: var(--white);
  padding: 0.85rem 2rem; border-radius: var(--radius); font-weight: 500;
  font-size: 0.95rem; text-decoration: none; border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s; display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); }
.hero-badges { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.badge-icon { color: var(--gold-light); font-size: 1.1rem; }

/* PAGE HERO (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 6rem 2rem 4rem; text-align: center; color: white;
}
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* TRUST BAR */
.trust-bar { background: var(--cream); padding: 2.5rem 2rem; border-bottom: 1px solid var(--border); }
.trust-bar-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.trust-item { text-align: center; }
.trust-item strong { display: block; font-size: 1.8rem; font-weight: 700; color: var(--navy); font-family: 'Playfair Display', serif; }
.trust-item span { font-size: 0.82rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; }

/* SECTIONS */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-block; color: var(--gold); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--navy); line-height: 1.25; margin-bottom: 1rem;
}
.section-sub { color: var(--gray); font-size: 1rem; max-width: 580px; line-height: 1.7; margin-bottom: 3rem; }

/* PRESTATIONS */
.prestations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.prestation-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.8rem; transition: box-shadow 0.2s, transform 0.2s;
}
.prestation-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.prestation-card:hover .card-icon { background: var(--gold); color: var(--white); }
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(184,150,62,0.1); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.2rem; transition: 0.2s;
}
.prestation-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.prestation-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }

/* PRESTATION DETAIL */
.prestation-detail-card {
  display: grid; grid-template-columns: 60px 1fr; gap: 1.5rem;
  align-items: start; padding: 2rem; border: 1px solid var(--border); border-radius: 12px;
}
.prestation-detail-card.featured { border-color: var(--navy); background: var(--cream); }
.prestation-detail-card h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--navy); margin-bottom: 0.75rem; }
.prestation-detail-card p { color: var(--gray); line-height: 1.75; margin-bottom: 0.75rem; }
.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.tag { background: rgba(184,150,62,0.1); color: var(--gold); padding: 0.3rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }

/* ABOUT */
.about-section { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
.about-photo-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 16px; aspect-ratio: 3/4; max-width: 340px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 5rem;
}
.about-content p { color: var(--gray); line-height: 1.8; margin-bottom: 1.2rem; }
.credentials { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
.credential {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: var(--white); border-radius: var(--radius);
  padding: 0.9rem 1.1rem; border: 1px solid var(--border);
}
.credential-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 0.35rem; flex-shrink: 0; }
.credential p { font-size: 0.88rem; color: var(--text); margin: 0; }
.credential strong { color: var(--navy); }

/* ZONE */
.zone-section { background: var(--navy); color: var(--white); }
.zone-section .section-title { color: var(--white); }
.zone-section .section-sub { color: rgba(255,255,255,0.65); }
.zone-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.zone-item {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1.2rem 1.5rem; text-align: center;
}
.zone-item strong { display: block; color: var(--gold-light); font-size: 0.95rem; margin-bottom: 0.3rem; }
.zone-item span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
#map { height: 360px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--gold) 0%, #9a7a2e 100%);
  text-align: center; padding: 4rem 2rem;
}
.cta-band h2 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 2rem; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1rem; }
.btn-white {
  background: var(--white); color: var(--gold); padding: 0.85rem 2.2rem;
  border-radius: var(--radius); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; display: inline-block; transition: transform 0.2s;
}
.btn-white:hover { transform: translateY(-2px); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(184,150,62,0.1); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.85rem; color: var(--gray); font-weight: 500; margin-bottom: 0.2rem; }
.contact-item span { font-size: 0.95rem; color: var(--navy); font-weight: 600; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.82rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
input, select, textarea {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 0.7rem 1rem; font-size: 0.9rem; font-family: 'Inter', sans-serif;
  color: var(--text); background: var(--white); transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; background: var(--navy); color: var(--white);
  padding: 0.9rem; border: none; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  font-family: 'Inter', sans-serif; transition: background 0.2s; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--navy-light); }
.form-note { font-size: 0.78rem; color: var(--gray); text-align: center; margin-top: 0.75rem; }

/* FOOTER */
footer { background: var(--navy); padding: 3rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand { color: var(--white); }
.footer-brand strong { font-family: 'Playfair Display', serif; font-size: 1rem; display: block; margin-bottom: 0.3rem; }
.footer-brand span { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.82rem; text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy);
    border-top: 2px solid var(--gold);
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open li { list-style: none; }
  .nav-links.open a {
    display: block;
    padding: 0.95rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9) !important;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: background 0.15s, color 0.15s;
  }
  .nav-links.open a:hover { background: rgba(255,255,255,0.06); color: var(--gold-light) !important; }
  .nav-links.open .nav-cta {
    margin: 0.75rem 1.75rem 0;
    padding: 0.85rem 1.75rem !important;
    border-radius: 8px !important;
    border-bottom: none !important;
    text-align: center;
    background: var(--gold) !important;
    color: white !important;
    font-weight: 600 !important;
  }
  .nav-links.open .nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }
  .hero h1 { font-size: 2rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo-placeholder { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .zone-layout { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 1.5rem; }
  .prestation-detail-card { grid-template-columns: 1fr; }
  /* Footer stacking */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
  /* Section padding reduction */
  section { padding: 3rem 1.25rem; }
  .hero-inner { padding: 3.5rem 1.25rem; }
  .cta-band { padding: 3rem 1.25rem; }
  .page-hero { padding: 5rem 1.25rem 3rem; }
}

@media (max-width: 480px) {
  /* Small phones (iPhone SE, Galaxy A series) */
  .hero h1 { font-size: 1.7rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-badges { gap: 0.75rem; }
  .badge { font-size: 0.78rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }
  .btn-primary, .btn-secondary { width: 100%; padding: 0.85rem 1rem; }
  .trust-bar-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .trust-item strong { font-size: 1.4rem; }
  .zone-grid { grid-template-columns: 1fr; }
  .prestations-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
  .cta-band h2 { font-size: 1.5rem; }
  .form-card { padding: 1.5rem 1rem; }
  .footer-links { gap: 0.75rem; }
  .footer-links a { font-size: 0.78rem; }
  nav { padding: 0 1.25rem; }
}
