@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-Latin-Variable.woff2") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("assets/fonts/SourceSerif4-Latin-Variable.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("assets/fonts/SourceSerif4-Italic-Latin-Variable.woff2") format("woff2"); font-style: italic; font-weight: 400 700; font-display: swap; }

:root {
  --forest: #0b3d2e; --forest-deep: #062a20; --leaf: #78a916;
  --ivory: #f3f5f0; --white: #fff; --ink: #173029; --muted: #62716c;
  --line: rgba(11, 61, 46, .14); --page: min(1180px, calc(100% - 48px));
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; } button { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; background: var(--white); padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; height: 80px; width: 100%; padding-inline: max(24px, calc((100% - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid transparent; background: rgba(243,245,240,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: height .2s ease, border-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { height: 72px; border-color: var(--line); box-shadow: 0 8px 28px rgba(6,42,32,.07); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 650; letter-spacing: -.02em; }
.brand-mark { width: 50px; height: 50px; overflow: hidden; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px rgba(11,61,46,.1); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.brand-name { font-size: 1.02rem; }
.brand-name { color: var(--forest); }
.site-header nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); font-size: .9rem; font-weight: 550; }
.site-header nav > a:not(.nav-cta) { position: relative; }
.site-header nav > a:not(.nav-cta)::after { content: ""; position: absolute; height: 1px; inset: auto 0 -.35rem; background: var(--leaf); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-header nav > a:hover::after { transform: scaleX(1); }
.nav-cta { padding: .72rem 1.1rem; border: 1px solid var(--forest); border-radius: 10px; }
.nav-cta:hover { background: var(--forest); color: var(--white); }
.menu-button { display: none; border: 0; background: transparent; padding: .5rem 0; align-items: center; gap: .65rem; font-size: .9rem; font-weight: 650; }
.menu-button i, .menu-button i::before { width: 20px; height: 1px; display: block; background: currentColor; transition: transform .2s ease; }
.menu-button i { position: relative; }
.menu-button i::before { content: ""; position: absolute; transform: translateY(6px); }

.hero { min-height: 700px; padding: 140px max(24px, calc((100% - 1180px) / 2)) 0; display: grid; grid-template-rows: 1fr auto; background: var(--ivory); }
.hero-copy { align-self: center; max-width: 1080px; padding: 1rem 0 5rem; }
.eyebrow { margin: 0 0 1.35rem; color: var(--leaf); font-size: .73rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
.hero h1, .section-intro h2, .area h2, .work h2, .contact h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.hero h1 { font-size: clamp(4rem, 8vw, 7.5rem); }
.hero h1 em, .section-intro h2 em, .contact h2 em { color: var(--forest); font-family: var(--serif); font-style: italic; font-weight: 450; letter-spacing: -.035em; }
.hero-intro { max-width: 620px; margin: 2rem 0 2.25rem; color: #40544d; font-size: 1.14rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .78rem 1.25rem; border: 1px solid transparent; border-radius: 10px; font-weight: 650; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: var(--white); }
.button-primary:hover { background: var(--forest-deep); }
.text-link { padding: .5rem 0; border-bottom: 1px solid var(--forest); font-weight: 600; }
.text-link:hover { color: var(--leaf); border-color: var(--leaf); }

.hero-services { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.hero-services span { padding: 1.1rem 0; text-align: center; color: #53655f; font-size: .84rem; font-weight: 600; border-right: 1px solid var(--line); }
.hero-services span:first-child { text-align: left; }
.hero-services span:last-child { text-align: right; border-right: 0; }

.section { padding: clamp(6rem, 10vw, 10rem) max(24px, calc((100% - 1180px) / 2)); }
.services { background: var(--white); display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); gap: clamp(4rem, 10vw, 10rem); }
.section-intro { align-self: start; position: sticky; top: 3rem; }
.section-intro h2, .work h2, .contact h2 { font-size: clamp(3rem, 5.1vw, 5.3rem); }
.section-intro > p:last-child { max-width: 480px; margin: 2rem 0 0; color: var(--muted); font-size: 1.04rem; }
.service-list { border-top: 1px solid var(--line); }
.service-list article { position: relative; padding: 1.8rem 0 1.8rem 2.5rem; border-bottom: 1px solid var(--line); }
.service-list article::before { content: "+"; position: absolute; left: .2rem; top: 1.7rem; color: var(--leaf); font-size: 1.3rem; font-weight: 300; }
.service-list h3 { margin: 0 0 .35rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.service-list p { margin: 0; color: var(--muted); font-size: .96rem; }

.area { padding: 3.3rem max(24px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1.25fr 1fr auto; gap: clamp(2rem, 5vw, 5rem); align-items: center; background: var(--forest); color: var(--white); }
.area .eyebrow { color: #b8d878; margin-bottom: .8rem; }
.area h2 { font-size: clamp(2rem, 3.5vw, 3.9rem); color: var(--white); }
.area h2 span { color: #b8d878; }
.area > p { max-width: 390px; margin: 0; color: #cad8d2; }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.6); white-space: nowrap; }
.button-outline:hover { color: var(--forest); background: var(--white); }

.work { background: var(--ivory); }
.work-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.work-heading > p { max-width: 410px; margin: 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 1rem; }
.project-card { min-height: 430px; position: relative; display: grid; grid-template-rows: minmax(330px, 1fr) auto; background: transparent; }
.project-card:first-child { min-height: 520px; }
.project-visual { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #e7ebe6; }
.project-card:nth-child(2) .project-visual, .project-card:nth-child(3) .project-visual { background: #e7ebe6; }
.project-visual::before { content: "Photo réelle à ajouter"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(11,61,46,.55); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-content { width: 100%; padding: 1rem 0 0; color: var(--ink); }
.project-content h3 { margin: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.15; }
.project-content p { margin: .35rem 0 0; color: var(--muted); font-size: .87rem; }
.demo-label { position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: .38rem .65rem; border-radius: 7px; background: rgba(247,245,239,.92); color: var(--forest); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: clamp(4rem, 10vw, 10rem); color: var(--white); background: var(--forest-deep); }
.contact .eyebrow { color: #b8d878; }
.contact h2 span { color: #b8d878; }
.contact-copy > p:not(.eyebrow) { max-width: 560px; color: #b9cbc4; font-size: 1.04rem; }
.contact-info { margin: 3rem 0 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact-info > div { display: grid; grid-template-columns: 115px 1fr; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-info dt { color: #89a097; font-size: .85rem; }
.contact-info dd { margin: 0; font-weight: 600; }
.contact form { align-self: center; display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact label { display: flex; flex-direction: column; gap: .3rem; }
.contact label span { color: #a8bbb4; font-size: .79rem; }
.contact input, .contact textarea { width: 100%; padding: .72rem 0; border: 0; border-bottom: 1px solid #527168; border-radius: 0; outline: 0; resize: vertical; color: var(--white); background: transparent; }
.contact input:focus, .contact textarea:focus { border-color: #b8d878; }
.button-light { align-self: flex-start; color: var(--forest); background: var(--white); }
.form-note { margin: 0; color: #829a91; font-size: .76rem; }

footer { padding: 2rem max(24px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1fr 2fr auto; gap: 2rem; align-items: center; background: var(--white); color: var(--muted); font-size: .76rem; }
.footer-brand { color: var(--ink); }
.footer-brand .brand-mark { width: 42px; height: 42px; }
footer p { margin: 0; text-align: center; }
footer p:last-child { text-align: right; }
.mobile-contact { display: none; }

@media (max-width: 980px) {
  .hero { min-height: 650px; padding-top: 125px; }
  .hero-copy { max-width: 900px; padding-bottom: 4rem; }
  .hero-services { margin-top: 0; }
  .services { grid-template-columns: 1fr; gap: 4rem; }
  .section-intro { position: static; }
  .section-intro > p:last-child { max-width: 650px; }
  .area { grid-template-columns: 1fr 1fr; }
  .area .button { justify-self: start; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .project-card:first-child { grid-column: 1 / -1; min-height: 470px; }
  .contact { grid-template-columns: 1fr; }
  .contact-copy { max-width: 700px; }
}

@media (max-width: 720px) {
  :root { --page: calc(100% - 40px); }
  body { padding-bottom: 68px; }
  .site-header { height: 68px; padding-inline: 20px; }
  .site-header.is-scrolled { height: 64px; }
  .brand-mark { width: 43px; height: 43px; }
  .site-header .brand-name { display: none; }
  .menu-button { display: inline-flex; position: relative; z-index: 22; }
  .site-header nav { position: fixed; z-index: 21; inset: 0; display: flex; visibility: hidden; opacity: 0; padding: 115px 24px 100px; flex-direction: column; align-items: flex-start; gap: 1.4rem; color: var(--white); background: var(--forest-deep); transition: opacity .2s ease, visibility .2s ease; }
  .site-header nav.open { visibility: visible; opacity: 1; }
  .site-header nav a { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
  .site-header nav .nav-cta { margin-top: auto; width: 100%; color: var(--forest); background: var(--white); border-color: var(--white); font-family: var(--sans); font-size: .95rem; text-align: center; }
  body.menu-open .menu-button { color: var(--white); }
  body.menu-open .mobile-contact { visibility: hidden; }
  body.menu-open .menu-button i { transform: rotate(45deg); }
  body.menu-open .menu-button i::before { transform: rotate(90deg); }
  .hero { min-height: 650px; padding: 112px 20px 0; }
  .hero-copy { padding: 0 0 3rem; }
  .hero h1 { font-size: clamp(3.3rem, 15vw, 4.5rem); line-height: 1.01; }
  .hero-intro { margin: 1.5rem 0 1.8rem; font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .8rem; }
  .hero-actions .button { width: 100%; }
  .text-link { align-self: center; }
  .hero-services { margin-top: 0; grid-template-columns: repeat(5, 1fr); }
  .hero-services span { padding-inline: .15rem; font-size: .68rem; }
  .hero-services span, .hero-services span:first-child, .hero-services span:last-child { text-align: center; }
  .section { padding: 5.5rem 20px; }
  .section-intro h2, .work h2, .contact h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .services { gap: 3rem; }
  .service-list article { padding: 1.4rem 0 1.4rem 2rem; }
  .service-list article::before { top: 1.3rem; }
  .service-list h3 { font-size: 1.3rem; }
  .service-list p { font-size: .9rem; }
  .area { padding: 3.5rem 20px; grid-template-columns: 1fr; gap: 1.4rem; }
  .area h2 { font-size: 2.65rem; }
  .area .button { width: 100%; }
  .work-heading { align-items: flex-start; flex-direction: column; gap: 1.4rem; margin-bottom: 2rem; }
  .gallery { width: calc(100vw - 20px); overflow-x: auto; grid-template-columns: repeat(3, minmax(78vw, 1fr)); gap: .75rem; padding-right: 20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .project-card, .project-card:first-child { grid-column: auto; min-height: 430px; scroll-snap-align: start; }
  .contact { gap: 3.5rem; }
  .contact-info { margin-top: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .button-light { width: 100%; }
  footer { padding: 2rem 20px; grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-content: center; }
  footer p:last-child { text-align: center; }
  .mobile-contact { position: fixed; z-index: 19; display: flex; align-items: center; justify-content: center; left: 12px; right: 12px; bottom: 10px; min-height: 50px; border-radius: 10px; color: var(--white); background: var(--forest); box-shadow: 0 8px 30px rgba(6,42,32,.28); font-size: .92rem; font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Palette du flyer et de la carte de visite. */
:root { --forest: #043020; --forest-deep: #03271a; --leaf: #78a916; --ivory: #fafbf8; }
.site-header { background: rgba(255,255,255,.97); }
.site-header nav { gap: clamp(.65rem, 1.65vw, 1.5rem); }
.brand-mark img { object-fit: contain; transform: none; }
.eyebrow { color: #466718; }
.area .eyebrow, .contact .eyebrow { color: #b8d878; }
.nav-group { position: relative; display: flex; align-items: center; gap: .25rem; }
.submenu-toggle { background: transparent; border: 0; padding: .3rem .45rem; cursor: pointer; font-size: 1.1rem; }
.submenu { display: none; position: absolute; inset: 100% auto auto 0; min-width: 15rem; padding: .45rem; background: var(--white); color: var(--forest); border: 1px solid var(--line); border-radius: 8px; }
.submenu a { display: block; padding: .55rem .7rem; border-radius: 4px; }
.submenu a:hover, .submenu a:focus-visible { background: var(--ivory); }
.submenu-toggle[aria-expanded="true"] + .submenu { display: block; }
@media (min-width: 721px) and (hover: hover) {
  .nav-group:hover .submenu { display: block; }
}
.site-header nav [aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
main > section:first-child:not(.hero) { padding-top: clamp(7.5rem, 14vw, 11rem); min-height: 62vh; }
main h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: 1.07; margin: 0; }
.hero h1 { font-size: clamp(2.55rem, 7.5vw, 6.75rem); }
.section h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
.quick-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.5rem; }
.quick-links a { border-bottom: 1px solid var(--forest); padding-block: .4rem; }
@media (min-width: 721px) and (max-width: 900px) {
  .site-header .brand-name { display: none; }
  .site-header nav { font-size: .82rem; }
}
@media (max-width: 720px) {
  .site-header nav { overflow-y: auto; gap: .7rem; padding-block: 82px 1.5rem; }
  .site-header nav a { font: 600 1.05rem/1.4 var(--sans); padding-block: .55rem; }
  .nav-group { flex-wrap: wrap; width: 100%; justify-content: space-between; }
  .submenu-toggle { min-width: 44px; min-height: 44px; }
  .submenu { position: static; flex-basis: 100%; border: 0; background: transparent; color: inherit; padding-left: 1rem; }
  .submenu a:hover, .submenu a:focus-visible { color: var(--forest); }
  .site-header nav .nav-cta { margin-top: .5rem; }
}
.profile h2, .work.profile h2 {
  font: 400 clamp(2.5rem, 6vw, 4.5rem)/1.1 var(--serif);
  letter-spacing: -.035em;
  margin: 0;
}
.profile p { max-width: 62ch; }
.profile { border-top: 1px solid var(--line); }
#espaces-verts { background: var(--ivory); }
.contact select {
  font: inherit;
  padding: .65rem;
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}
.contact-info dd { overflow-wrap: anywhere; }

.page-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.service-list h2, .service-notes h2 {
  margin: 0 0 .45rem;
  font: 500 clamp(1.45rem, 2vw, 2rem)/1.15 var(--serif);
  letter-spacing: -.025em;
}

.service-list a {
  display: inline-block;
  margin-top: .65rem;
  font-size: .9rem;
}

.service-list article:target {
  background: var(--ivory);
  border-left: 2px solid var(--leaf);
}

.service-notes {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.service-notes p { max-width: 68ch; }
.service-notes h2:not(:first-child) { margin-top: 2rem; }
.service-notes .button { margin-top: .6rem; }

.publication-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.publication-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow-wrap: anywhere;
}

.publication-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--ivory);
  border-radius: 4px;
  margin-bottom: 1rem;
}

.profile .publication-title {
  font: 500 1.5rem/1.15 var(--serif);
  margin: 0;
}

.publication-card p { white-space: pre-line; margin-bottom: 0; }
#email-draft .button { margin-top: .8rem; }
#email-draft textarea { width: 100%; }
#form-note:empty { display: none; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.site-header .brand-mark, .footer-brand .brand-mark {
  width: 56px; height: 56px; border-radius: 0; box-shadow: none;
}
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: center; }
.legal-copy h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-top: 2rem; }
.services { row-gap: 1.5rem; }
.services .section-intro { position: static; }
.service-index { display: flex; flex-direction: column; align-items: start; gap: .25rem; }
.service-index a { padding: .45rem 0; text-decoration: none; text-underline-offset: .2em; }
.service-detail { padding: 1.65rem 0; border-bottom: 1px solid var(--line); }
.service-detail:target { border-left: 3px solid var(--leaf); padding-left: 1rem; }
.service-detail h2 { margin-bottom: .6rem; }
.service-detail p { font-size: 1rem; }
.service-detail img { width: 100%; height: auto; border-radius: 8px; margin-top: 1rem; }
.reply-fields { border: 1px solid #638579; border-radius: 8px; margin: 0; min-inline-size: 0; padding: 1rem; }
.reply-fields legend { padding-inline: .35rem; font-weight: 650; }
.reply-fields p { margin-top: 0; color: #c8dad2; }

/* Interactions partagées par les pages publiques et l’éditeur. */
:root {
  --control-radius: 8px;
  --control-hover: #e8efe6;
  --control-filled-hover: #19523c;
}

:is(.button, .nav-cta, .mobile-contact, .submenu-toggle, .menu-button) {
  border-radius: var(--control-radius);
  font-weight: 650;
}
.button:hover { transform: none; }
.button-primary:hover, .mobile-contact:hover, .nav-cta:hover {
  background: var(--control-filled-hover);
  color: var(--white);
}
.button-light:hover, .button-outline:hover {
  background: var(--control-hover);
  color: var(--forest);
}
.button:disabled { opacity: .65; cursor: default; }
.menu-button, .submenu-toggle { min-height: 44px; padding-inline: .65rem; cursor: pointer; }
.site-header nav > a:not(.nav-cta)::after { content: none; }

:is(.text-link, .quick-links a, .service-index a, .service-detail a,
  .site-header nav a:not(.nav-cta), .footer-links a, .legal-copy a,
  .form-note a, .contact-info a) {
  border-bottom: 0;
  text-underline-offset: .24em;
  text-decoration-thickness: 1px;
}
.submenu a:hover, .submenu a:focus-visible { background: var(--control-hover); color: var(--forest); }

footer {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem 2rem;
  border-top: 1px solid var(--line);
  font-size: .875rem;
}
.footer-links { justify-content: flex-end; gap: .15rem 1.15rem; text-align: left; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a[aria-current="page"] { color: var(--forest); text-decoration: underline; }
footer > p:last-child {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  text-align: left;
}
@media (max-width: 720px) {
  footer { grid-template-columns: 1fr; text-align: left; }
  footer .brand { justify-content: flex-start; }
  .footer-links { justify-content: flex-start; }
}
@media (min-width: 981px) {
  .services { grid-template-rows: auto 1fr; }
  .service-list { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 720px) {
  .site-header .brand-mark { width: 48px; height: 48px; }
}

@media (max-width: 720px) {
  .site-header {
    background: var(--white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header nav {
    inset: 68px 0 0;
    padding: 1rem 24px max(1.5rem, env(safe-area-inset-bottom));
  }
  .site-header.is-scrolled nav { top: 64px; }
  body.menu-open .menu-button { color: var(--white); }
}

.button, .site-header nav .nav-cta.button, body.menu-open .menu-button.button {
  min-height: 44px;
  padding: .6rem .95rem;
  border: 1px solid #739182;
  border-radius: var(--control-radius);
  background: var(--forest);
  color: var(--white);
  font: 650 .95rem/1.4 var(--sans);
  text-align: center;
  transition: box-shadow .16s ease, transform .16s ease;
}
.button:not(:disabled):hover {
  box-shadow: 0 3px 9px rgba(3, 39, 26, .18);
  transform: translateY(-1px);
}
.button:not(:disabled):active { transform: translateY(0); }
.button:focus-visible { outline-color: var(--forest); }
:is(.contact, .area, .submenu, .site-header nav) .button:focus-visible {
  outline-color: currentColor;
}
.site-header .nav-cta.button:focus-visible,
.site-header .button:focus-visible,
.mobile-contact:focus-visible { outline-color: var(--forest); }
.site-header .menu-button, .submenu-toggle { border: 0; background: transparent; box-shadow: none; }
@media (min-width: 721px) {
  .site-header .menu-button, .site-header .submenu-toggle { display: none; }
  .nav-group:focus-within .submenu { display: block; }
}
@media (max-width: 720px) {
  body.menu-open .site-header .menu-button { color: var(--forest); }
  .submenu-toggle span {
    display: inline-block;
    width: .55rem;
    height: .55rem;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .submenu-toggle[aria-expanded="true"] span { transform: rotate(225deg); }
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.footer-group ul { list-style: none; padding: 0; margin: .35rem 0 0; }
.footer-group p { font-weight: 750; color: var(--forest); text-align: left; padding: 0; border: 0; }
.footer-group a { min-height: 36px; }
@media (max-width: 850px) {
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-header nav .nav-cta.button { margin-top: .5rem; }
  .site-header nav .button:focus-visible { outline-color: var(--white); }
  .contact .button { width: 100%; }
  .footer-group a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .button:not(:disabled):hover { transform: none; }
}

.site-header, .site-header.is-scrolled { height: 136px; }
.site-header .brand-mark { width: 122px; height: 122px; flex: 0 0 auto; }
.footer-brand .brand-mark { width: 144px; height: 144px; flex: 0 0 auto; }
html { scroll-padding-top: 152px; }
.hero { padding-top: max(160px, 10vw); }
main > section:first-child:not(.hero) { padding-top: clamp(160px, 14vw, 11rem); }

@media (min-width: 981px) {
  .services { grid-template-rows: auto; }
  .service-list { grid-row: 1; }
  .service-sidebar {
    position: sticky;
    top: 152px;
    align-self: start;
  }
  .service-sidebar h1 { font-size: clamp(2.4rem, 4vw, 4rem); }
  .service-sidebar .section-intro > p:last-child { margin-top: 1rem; }
}

.service-index { margin-top: 1rem; padding-left: 1rem; border-left: 1px solid var(--line); }
a[href]:is([aria-current="page"], [aria-current="location"]) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}
/* Le même état interactif s’applique aux liens texte et aux liens-boutons. */
a[href]:is(:hover, :focus-visible) {
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .24em;
}
.service-list { position: relative; }
.service-list.has-marker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: var(--marker-height, 0px);
  background: var(--leaf);
  transform: translateY(var(--marker-top, 0px));
  transition: transform .24s ease, height .24s ease;
  pointer-events: none;
}
.service-list.has-marker .service-detail { border-left: 0; padding-left: 1rem; }

@media (max-width: 720px) {
  .site-header, .site-header.is-scrolled { height: 106px; }
  .site-header .brand-mark { width: 94px; height: 94px; }
  .site-header nav, .site-header.is-scrolled nav { top: 106px; }
  html { scroll-padding-top: 122px; }
  .hero, main > section:first-child:not(.hero) { padding-top: 134px; }
}
