/* ===== Ars Naturae — full site ===== */
:root {
  --sand: #f3ede1;
  --sand-deep: #e9ded0;
  --cream: #faf6ee;
  --ink: #26301f;
  --muted: #5c6450;
  --green: #16432b;
  --green-deep: #0f3320;
  --green-mid: #2e7d4f;
  --accent: #b46a44;
  --line: rgba(38, 48, 31, .14);
  --maxw: 1240px;
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-ui: 'Hanken Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--ff-ui);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* type */
.display {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--green);
}
.display em { font-style: italic; font-weight: 500; color: var(--accent); }
.eyebrow {
  font-family: var(--ff-ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-mid);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .num { color: var(--accent); }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
section { position: relative; }

/* ===== buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  transition: .18s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { flex: none; }
.btn-lg { font-size: 15.5px; padding: 16px 30px; }
.btn-wa { background: var(--green); color: var(--cream); }
.btn-wa:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-line { background: transparent; border-color: rgba(38, 48, 31, .28); color: var(--ink); }
.btn-line:hover { background: rgba(38, 48, 31, .05); }
.btn-glass {
  background: rgba(243, 237, 225, .10);
  border-color: rgba(243, 237, 225, .45);
  color: var(--cream);
}
.btn-glass:hover { background: rgba(243, 237, 225, .2); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 40px;
  transition: .25s;
}
.nav.scrolled {
  background: rgba(250, 246, 238, .86);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 13px 40px;
}
.navlogo { height: 44px; width: auto; transition: .25s; }
.nav.scrolled .navlogo { height: 38px; }
.navlinks { display: flex; gap: 30px; margin-left: 6px; }
.navlinks a {
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  opacity: .82;
  position: relative;
  padding: 4px 0;
}
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--green-mid);
  transition: .22s;
}
.navlinks a:hover { opacity: 1; }
.navlinks a:hover::after { width: 100%; }
.navcta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.navtoggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.navtoggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .2s;
}

/* ===== hero ===== */
.hero { position: relative; overflow: hidden; padding: 172px 0 0; }
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}
.hero .display { font-size: clamp(44px, 6.4vw, 88px); align-self: stretch; }
.hero .lede { max-width: 54ch; align-self: center; }
.hero .cta-row { justify-content: center; margin-top: 2px; }
.hero-chips {
  display: flex;
  gap: 14px 26px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-chips span { display: inline-flex; align-items: center; gap: 7px; }
.hero-arch {
  position: relative;
  z-index: 1;
  margin: 64px auto 0;
  max-width: var(--maxw);
  padding: 0 40px;
}
.arch-frame {
  position: relative;
  border-radius: 300px 300px 0 0;
  overflow: hidden;
  height: 520px;
  background: var(--green);
}
.arch-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-arch {
  position: absolute;
  left: 50%;
  top: 120px;
  transform: translateX(-50%);
  width: 680px;
  height: 680px;
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  border: 1.5px solid rgba(22, 67, 43, .10);
  border-bottom: none;
  z-index: 0;
  pointer-events: none;
}

/* ===== section heading ===== */
.sec { padding: 120px 0; }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.sec-head .display { font-size: clamp(38px, 5vw, 60px); }
.sec-head .lede { max-width: 42ch; }

/* ===== services ===== */
.services { background: var(--cream); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.svc {
  display: flex;
  gap: 24px;
  padding: 38px 36px;
  border-top: 1px solid var(--line);
  position: relative;
  transition: .2s;
}
.svc:nth-child(odd) { border-right: 1px solid var(--line); }
.svc:hover { background: rgba(22, 67, 43, .025); }
.svc-ico {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  background: var(--sand);
}
.svc-num {
  position: absolute;
  top: 38px;
  right: 36px;
  font-family: var(--ff-display);
  font-size: 18px;
  color: var(--accent);
  font-style: italic;
}
.svc h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 30px;
  margin: 2px 0 8px;
  color: var(--green);
}
.svc p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 38ch; }

/* ===== réalisations ===== */
.gallery { background: var(--sand); }
.gal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  grid-auto-rows: 230px;
}
.gal-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: var(--green);
}
.gal-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gal-item:hover img { transform: scale(1.04); }
.gal-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gal-item:nth-child(2) { grid-column: span 3; }
.gal-item:nth-child(3) { grid-column: span 3; }
.gal-item:nth-child(4) { grid-column: span 2; }
.gal-item:nth-child(5) { grid-column: span 2; }
.gal-item:nth-child(6) { grid-column: span 2; }
.gal-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 18px;
  color: var(--cream);
  font-size: 13px;
  letter-spacing: .04em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
  transition: .2s;
}
.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 32, 21, .55), transparent 55%);
  z-index: 1;
  transition: .25s;
}
.gal-item:hover::after { background: linear-gradient(0deg, rgba(10, 32, 21, .7), transparent 70%); }
.gal-item:hover .gal-cap { transform: translateY(-2px); }

/* ===== zones ===== */
.zones { background: var(--cream); }
.zones-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.zone-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chip {
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  transition: .18s;
}
.chip:hover { background: var(--green); color: var(--cream); border-color: var(--green); }
.zone-map {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 420px;
  background: var(--green);
}
.zone-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.7) brightness(.9);
}
.zone-pin {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  pointer-events: none;
}
.zone-pin .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(180, 106, 68, .3), 0 0 0 14px rgba(180, 106, 68, .15);
}
.zone-pin .lbl {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

/* ===== contact ===== */
.contact { background: var(--green); color: var(--cream); overflow: hidden; padding-bottom: 80px; }
.contact .eyebrow { color: rgba(243, 237, 225, .7); }
.contact .eyebrow .num { color: #d8a07d; }
.contact .display { color: var(--cream); }
.contact .display em { color: #e0b596; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-lede {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(243, 237, 225, .82);
  max-width: 42ch;
  margin: 22px 0 34px;
}
.contact-meta { display: flex; flex-direction: column; gap: 18px; margin-top: 38px; }
.cmeta { display: flex; align-items: center; gap: 14px; font-size: 15px; color: rgba(243, 237, 225, .9); }
.cmeta .ci {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(243, 237, 225, .28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.cmeta b {
  display: block;
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
}
.cmeta small {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(243, 237, 225, .6);
  text-transform: uppercase;
}
.form {
  background: rgba(243, 237, 225, .06);
  border: 1px solid rgba(243, 237, 225, .16);
  border-radius: 14px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form label {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(243, 237, 225, .6);
  margin-bottom: 6px;
  display: block;
}
.form input,
.form textarea {
  width: 100%;
  background: rgba(250, 246, 238, .04);
  border: 1px solid rgba(243, 237, 225, .22);
  border-radius: 8px;
  padding: 13px 15px;
  color: var(--cream);
  font-family: var(--ff-ui);
  font-size: 15px;
  resize: vertical;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #d8a07d;
  background: rgba(250, 246, 238, .08);
}
.form input::placeholder,
.form textarea::placeholder { color: rgba(243, 237, 225, .4); }
.form .btn-wa { background: var(--cream); color: var(--green); justify-content: center; width: 100%; }
.form .btn-wa:hover { background: #fff; }

/* ===== footer ===== */
.footer {
  background: var(--green-deep);
  color: rgba(243, 237, 225, .7);
  padding: 60px 0 36px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(243, 237, 225, .12);
}
.footlogo { height: 56px; }
.foot-tag {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
  color: rgba(243, 237, 225, .85);
  max-width: 30ch;
  margin-top: 16px;
}
.foot-links { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-col h5 {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(243, 237, 225, .45);
  margin: 0 0 14px;
}
.foot-col a {
  display: block;
  text-decoration: none;
  font-size: 14.5px;
  margin-bottom: 9px;
  color: rgba(243, 237, 225, .8);
}
.foot-col a:hover { color: var(--cream); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(243, 237, 225, .5);
}

/* ===== reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ===== mobile float CTA ===== */
.float-cta { display: none; }

/* ===== lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 26, 17, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox .lb-inner { max-width: 1000px; width: 100%; }
.lightbox #lb-img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: 8px;
}
.lightbox .lb-cap {
  color: var(--cream);
  text-align: center;
  margin-top: 18px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
}
.lb-close {
  position: absolute;
  top: 24px;
  right: 30px;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
}

/* ===== responsive ===== */
@media (max-width: 900px) {
  .navlinks,
  .navcta { display: none; }
  .navtoggle { display: block; }
  .nav.open .navlinks {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 40px;
    gap: 18px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
  }
  .nav.open .navcta {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 170px;
    padding: 0 40px 24px;
    background: var(--cream);
  }
  .svc-grid { grid-template-columns: 1fr; }
  .svc:nth-child(odd) { border-right: none; }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gal-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gal-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .zones-inner,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { flex-direction: column; }
  .float-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    gap: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .12);
  }
  .float-cta a {
    flex: 1;
    justify-content: center;
    border-radius: 0;
    padding: 16px;
    font-size: 15px;
  }
  .float-cta .btn-line { border: 0; background: var(--cream); color: var(--green); }
  body { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  .hero { padding-top: 130px; }
  .hero-inner { padding: 0 22px; }
  .arch-frame { height: 360px; border-radius: 180px 180px 0 0; }
  .sec { padding: 80px 0; }
  .nav { padding: 16px 22px; }
}
