/* ==========================================================================
   Vert Beau Bois — feuille de style principale
   ========================================================================== */

:root {
  --accent: #1b2002;
  --cream: #faf9f4;
  --ink: #17170f;
  --alt-bg: #eef0e3;
}

body { margin: 0; }
* { box-sizing: border-box; }

body {
  font-family: 'Archivo', sans-serif;
  background: var(--cream);
  color: var(--ink);
}

img { max-width: 100%; }

.eyebrow {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.eyebrow-light {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,249,244,0.8);
  margin: 0;
}

.nav-link {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  line-height: 1;
  padding: 15px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav-link:hover { border-bottom-color: var(--accent); color: var(--accent); }

.nav-cta {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  display: inline-block;
  line-height: 1;
  background: var(--accent);
  padding: 15px 32px;
  border-radius: 2px;
  transition: background .2s ease, transform .2s ease;
  border: none;
  cursor: pointer;
}
.nav-cta:hover { background: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor;
  white-space: nowrap;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
  cursor: pointer;
  background: transparent;
}
.btn-light { color: var(--cream); border-color: rgba(250,249,244,0.65); background: transparent; }
.btn-light:hover { background: var(--cream); color: var(--ink); }
.btn-solid { background: var(--accent); border-color: var(--accent); color: var(--cream); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }
.btn-dark { color: var(--ink); border-color: rgba(23,23,15,0.4); background: transparent; }
.btn-dark:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-cream { color: var(--ink); border-color: var(--cream); background: var(--cream); }
.btn-cream:hover { background: transparent; color: var(--cream); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 80px; }
.hairline { border: none; border-top: 1px solid rgba(23,23,15,0.12); margin: 0; }
.serif { font-family: 'Archivo', sans-serif; }
a.plain { text-decoration: none; color: inherit; }
.card-num { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 20px; color: var(--accent); }
.footer-link { font-family: 'Archivo', sans-serif; font-size: 14px; color: var(--ink); text-decoration: none; opacity: 0.8; }
.footer-link:hover { opacity: 1; text-decoration: underline; }

.tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tile-caption { position: absolute; left: 22px; bottom: 20px; color: var(--cream); }
.tile-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,17,9,0.55) 0%, rgba(15,17,9,0) 45%); }

a.plain:hover img,
.tile:hover img { transform: scale(1.04); }

.cat-card { display: block; background: var(--cream); padding: 16px 16px 30px 16px; border: 1px solid rgba(23,23,15,0.08); box-shadow: 0 1px 3px rgba(15,17,9,0.05); transition: box-shadow .35s ease, transform .35s ease; }
.cat-card:hover { box-shadow: 0 28px 56px rgba(15,17,9,0.16); transform: translateY(-6px); }
.cat-card-img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: block; }
.cat-card-img::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(250,249,244,0.18); pointer-events: none; }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.cat-card:hover .cat-card-img img { transform: scale(1.06); }
.cat-card-num { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.18em; color: var(--accent); margin: 24px 0 10px 0; }
.cat-card-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px 0; }
.cat-card-link { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(23,23,15,0.5); display: inline-flex; align-items: center; gap: 7px; margin: 0; transition: color .25s ease, gap .25s ease; }
.cat-card-link svg { transition: transform .25s ease; }
.cat-card:hover .cat-card-link { color: var(--accent); gap: 11px; }

/* ==========================================================================
   Lightbox (ouverture des photos de galerie en grand)
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(15,17,9,0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.96);
  transition: transform .25s ease;
}
.lightbox.is-open .lightbox-img { transform: scale(1); }
.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  text-align: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,249,244,0.85);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(250,249,244,0.35);
  border-radius: 2px;
  color: var(--cream);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox-close:hover { background: rgba(250,249,244,0.12); border-color: rgba(250,249,244,0.65); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(250,249,244,0.35);
  border-radius: 2px;
  color: var(--cream);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox-nav:hover { background: rgba(250,249,244,0.12); border-color: rgba(250,249,244,0.65); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 640px) {
  .lightbox { padding: 20px; }
  .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* hauteur du header sticky, pour que les ancres ne passent pas dessous */
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid rgba(23,23,15,0.10);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.site-header .logo-link { display: flex; align-items: center; }
.site-header .logo-link img { height: 80px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 44px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); }

/* ==========================================================================
   Contact form
   ========================================================================== */

.contact-form { max-width: 560px; margin: 0 auto; text-align: left; }
.contact-form .form-row { margin-bottom: 20px; }
.contact-form .form-row-double { display: flex; gap: 20px; flex-wrap: wrap; }
.contact-form .form-row-double .form-row { flex: 1 1 220px; }
.contact-form label {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,249,244,0.85);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid rgba(250,249,244,0.4);
  background: rgba(250,249,244,0.08);
  color: var(--cream);
  border-radius: 2px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='10' viewBox='0 0 13 10' fill='none'%3E%3Cpath d='M1 2l5.5 5.5L12 2' stroke='%23faf9f4' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-form select:invalid { color: rgba(250,249,244,0.45); }
.contact-form select option { color: var(--ink); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(250,249,244,0.45); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--cream); background-color: rgba(250,249,244,0.14); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .form-footer { display: flex; align-items: center; justify-content: center; margin-top: 8px; }
.contact-form .hp-field { position: absolute; left: -9999px; top: -9999px; }

.contact-direct-link {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(250,249,244,0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(250,249,244,0.35);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.contact-direct-link:hover { color: var(--cream); border-color: rgba(250,249,244,0.8); }

/* ==========================================================================
   Bouton "Appeler" flottant (mobile uniquement)
   ========================================================================== */

.mobile-call-btn {
  display: none;
  align-items: center;
  gap: 8px;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  background: var(--accent);
  color: var(--cream);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15,17,9,0.35);
}

.form-message {
  max-width: 560px;
  margin: 0 auto 28px auto;
  padding: 16px 20px;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.form-message.is-visible { display: block; }
.form-message.success { background: rgba(250,249,244,0.16); color: var(--cream); border: 1px solid rgba(250,249,244,0.5); }
.form-message.error { background: rgba(200,60,40,0.16); color: var(--cream); border: 1px solid rgba(250,249,244,0.5); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .wrap { padding: 0 40px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hero-title { font-size: 44px !important; }
}

@media (max-width: 860px) {
  section { padding-top: 72px !important; padding-bottom: 72px !important; }
  .hero-section { padding-top: 0 !important; padding-bottom: 0 !important; }

  .main-nav {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 32px 40px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav .nav-link { font-size: 16px; padding: 14px 0; border-bottom: 1px solid rgba(23,23,15,0.1); width: 100%; }
  .main-nav .nav-cta { margin-top: 16px; text-align: center; }
  .nav-toggle { display: flex; }

  .hero-wrap { flex-direction: column; align-items: flex-start !important; gap: 24px !important; }
  .hero-actions { flex-direction: column !important; align-items: flex-start !important; width: 100%; }
  .hero-actions .btn { width: auto; max-width: 100%; }

  .cat-grid { grid-template-columns: 1fr !important; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .insta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .zone-circles { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 24px; }
  section { padding-top: 56px !important; padding-bottom: 56px !important; }
  .hero-section { padding-top: 0 !important; padding-bottom: 0 !important; }
  .hero-title { font-size: 34px !important; }
  .hero-section { height: auto !important; min-height: 620px; }
  .services-grid { grid-template-columns: 1fr !important; }
  .founder-wrap { gap: 40px !important; }
  .cta-title { font-size: 30px !important; }
  .mobile-call-btn { display: inline-flex; }
}
