:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --text: #1d2723;
  --muted: #6c756f;
  --accent: #3f6b54;
  --accent-dark: #294a39;
  --border: #dddcd4;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(247,245,239,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.brand { font-family: "Playfair Display", serif; font-size: 1.35rem; font-weight: 700; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { font-size: .95rem; color: var(--muted); }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; }

.hero {
  min-height: 78vh; position: relative; display: grid; align-items: center;
  background: url('https://images.unsplash.com/photo-1558904541-efa843a96f01?auto=format&fit=crop&w=1800&q=85') center/cover;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,30,23,.78), rgba(18,30,23,.2)); }
.hero-content { position: relative; max-width: 760px; margin-left: max(24px, calc((100vw - var(--max)) / 2)); padding: 90px 0; color: white; }
.hero h1, .page-hero h1 { font-family: "Playfair Display", serif; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: 1.02; margin: .2em 0 .25em; }
.hero p:not(.eyebrow) { max-width: 650px; font-size: 1.1rem; color: rgba(255,255,255,.88); }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 700; }
.eyebrow.dark { color: var(--accent); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { border-color: rgba(255,255,255,.5); color: white; }

.section { max-width: var(--max); margin: auto; padding: 90px 24px; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
h2 { font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; margin: .2em 0 .5em; }
h3 { margin-bottom: .4em; }
.light-section { max-width: none; background: #ecebe4; }
.light-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-heading { padding: 0 24px; }
.cards { padding: 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card { background: var(--surface); padding: 32px; border-radius: 18px; }
.card-number { color: var(--accent); font-weight: 700; font-size: .8rem; }

.cta { display: flex; justify-content: space-between; gap: 30px; align-items: center; background: var(--text); color: white; max-width: none; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); }

.page-hero { background: var(--text); color: white; padding: 95px max(24px, calc((100vw - var(--max)) / 2)); }
.page-hero p:last-child { max-width: 720px; color: rgba(255,255,255,.8); }
.page-hero h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { margin: 0; background: white; border-radius: 16px; overflow: hidden; }
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption { padding: 14px 16px 16px; font-size: .9rem; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-info a { color: var(--accent); }
.contact-note, .form-help { font-size: .88rem; color: var(--muted); }
.contact-form { display: grid; gap: 18px; }
.contact-form label { font-weight: 600; font-size: .92rem; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--border); background: white; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(63,107,84,.2); border-color: var(--accent); }
.contact-form .btn { justify-self: start; border: 0; }

footer { padding: 30px 24px; text-align: center; color: var(--muted); font-size: .88rem; }

@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; padding: 20px 24px; flex-direction: column; align-items: flex-start; background: var(--bg); border-bottom: 1px solid var(--border); }
  .main-nav.open { display: flex; }
  .hero-content { margin-left: 24px; margin-right: 24px; }
  .intro-grid, .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .cards, .gallery-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
}

/* Logo GREEN SIGNATURE — ajout sans modifier le style d'origine */
.brand-logo { display: flex; align-items: center; }
.brand-logo img { width: auto; height: 52px; max-width: 235px; object-fit: contain; }
@media (max-width: 800px) {
  .brand-logo img { height: 42px; max-width: 190px; }
}

/* Identité GREEN SIGNATURE — logo PNG fourni et marque plus présente */
.site-header { min-height: 118px; padding-top: 10px; padding-bottom: 10px; }
.brand-logo img { height: 96px; max-width: 360px; width: auto; object-fit: contain; }
.hero .eyebrow { font-size: clamp(1.05rem, 1.7vw, 1.35rem); letter-spacing: .18em; }
@media (max-width: 800px) {
  .site-header { min-height: 88px; }
  .brand-logo img { height: 70px; max-width: 260px; }
  .main-nav { top: 88px; }
}


/* Ajustements identité demandés */
.site-header { min-height: 132px; }
.brand-logo { gap: 22px; flex-shrink: 0; }
.brand-logo img { height: 112px; max-width: 280px; }
.brand-name {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.55rem, 2.25vw, 2.15rem);
  line-height: 1;
  letter-spacing: .035em;
  font-weight: 800;
  color: #153524;
  white-space: nowrap;
}
.gallery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 70px;
  align-items: center;
}
.gallery-hero-text p:last-child { max-width: 720px; }
.gallery-hero-logo {
  width: 100%;
  max-width: 320px;
  max-height: 300px;
  object-fit: contain;
  justify-self: end;
}
@media (max-width: 800px) {
  .site-header { min-height: 96px; }
  .brand-logo { gap: 10px; }
  .brand-logo img { height: 76px; max-width: 155px; }
  .brand-name { font-size: clamp(.95rem, 4vw, 1.25rem); white-space: normal; }
  .main-nav { top: 96px; }
  .gallery-hero { grid-template-columns: 1fr; gap: 30px; }
  .gallery-hero-logo { justify-self: start; max-width: 230px; }
}

/* Ajustement final de l'identité : pictogramme seul + nom centré dans l'en-tête */
.site-header {
  display: grid;
  grid-template-columns: 170px minmax(280px, 1fr) auto;
  align-items: center;
  column-gap: 28px;
  min-height: 142px;
}
.brand-logo {
  display: contents;
}
.brand-logo img {
  grid-column: 1;
  height: 126px;
  width: 158px;
  max-width: 158px;
  object-fit: contain;
  justify-self: start;
}
.brand-name {
  grid-column: 2;
  justify-self: center;
  text-align: center;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  letter-spacing: .055em;
  font-weight: 800;
}
.menu-toggle, .main-nav { grid-column: 3; }
.main-nav { justify-self: end; }
.gallery-hero {
  grid-template-columns: minmax(0, 1fr) 360px;
}
.gallery-hero-logo {
  max-width: 360px;
  max-height: 330px;
}
@media (max-width: 800px) {
  .site-header {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 42px;
    column-gap: 10px;
    min-height: 104px;
  }
  .brand-logo { display: contents; }
  .brand-logo img {
    grid-column: 1;
    height: 82px;
    width: 82px;
    max-width: 82px;
  }
  .brand-name {
    grid-column: 2;
    justify-self: center;
    font-size: clamp(1.05rem, 4.8vw, 1.45rem);
    white-space: nowrap;
    letter-spacing: .025em;
  }
  .menu-toggle { grid-column: 3; justify-self: end; }
  .main-nav { grid-column: 1 / -1; top: 104px; }
  .gallery-hero-logo { max-width: 260px; }
}
