@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #17171a;
  --ink-soft: #514e4a;
  --wine: #702a2c;
  --wine-deep: #5a2123;
  --teal: #702a2c;
  --teal-deep: #702a2c;
  --navy: #702a2c;
  --paper: #f6f4f1;
  --white: #ffffff;
  --line: #e7e2db;
  --line-strong: #d8d2c9;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --serif: "Outfit", "Segoe UI", sans-serif;
  --shadow: 0 10px 30px rgba(23, 23, 26, 0.05);
  --header: 5rem;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 430;
}

body.nav-lock { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

h1, h2, h3, .serif, .quote, .logo-name {
  font-family: var(--sans);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: rgba(112, 42, 44, 0.16); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--navy);
  color: white;
  padding: 0.55rem 0.8rem;
  border-radius: 0;
}

.skip:focus { top: 0.8rem; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
}

.lede {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.8rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.btn-primary { background: var(--wine); color: white; }
.btn-primary:hover { background: var(--wine-deep); }

.btn:hover { transform: translateY(-1px); }

.btn-ghost {
  background: #fff;
  border-color: #ddd6cf;
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--wine); color: var(--wine); }

.btn-light { background: #fff; color: var(--wine); }
.btn-light:hover { background: #f8eeee; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.site-header.is-scrolled {
  background: #fff;
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px rgba(23, 23, 26, 0.05);
}

body:has(.hero) .site-header {
  background: transparent;
}

body:has(.hero) .site-header.is-scrolled,
body:has(.hero) .site-header:has(.nav-check:checked) {
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header);
}

.logo {
  display: inline-flex;
  align-items: center;
  z-index: 2;
}

.logo img {
  height: 3.15rem;
  width: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  z-index: 30;
}

.lang-switch a,
.lang-switch span { color: var(--ink-soft); }

.lang-switch [aria-current="true"] { color: var(--wine); }

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.32rem;
  cursor: pointer;
  background: white;
}

.bar {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.8rem;
  background: transparent;
  border: 0;
  padding: 0;
}

.site-nav > a,
.nav-item > a {
  position: relative;
  padding: 0.62rem 0.75rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  font-weight: 550;
  line-height: 1.2;
  color: var(--ink);
  transition: color 0.35s var(--ease);
}

.site-nav > a:hover,
.nav-item > a:hover { color: var(--wine); }

.site-nav > a[aria-current="page"],
.nav-item > a.is-here {
  color: var(--wine);
}

.site-nav > a.nav-cta { display: none; }

.nav-item { position: relative; }

.nav-panel {
  display: grid;
  position: absolute;
  top: calc(100% + 0.7rem);
  left: auto;
  right: 0;
  width: min(32rem, calc(100vw - 2.5rem));
  padding: 0.45rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(23, 23, 26, 0.08);
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
}

.nav-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.75rem;
  height: 0.75rem;
}

.nav-item:hover .nav-panel,
.nav-item:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.nav-panel a {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.1rem;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
}

.nav-panel a:hover,
.nav-panel a[aria-current="page"] { background: #f6f6f8; }

.nav-panel a span {
  grid-row: span 2;
  align-self: center;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.82rem;
}

.nav-panel strong, .nav-panel small { display: block; }
.nav-panel strong { font-size: 0.95rem; font-weight: 640; }
.nav-panel small { color: var(--ink-soft); font-size: 0.8rem; }

.header-cta {
  position: relative;
  z-index: 30;
  margin-left: 0.55rem;
}
.nav-cta { display: none; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header) - 2.6rem);
  margin-top: calc(var(--header) * -1);
  padding: calc(var(--header) + 2.2rem) 0 5.5rem;
  overflow: hidden;
  background: #f3efe9;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: media-in 0.7s var(--ease) both;
}

@keyframes media-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-media::before {
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  height: 8.5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-media::after {
  inset: 0;
  background:
    linear-gradient(to top, #f6f4f1 0%, rgba(246, 244, 241, 0.88) 7%, rgba(246, 244, 241, 0) 24%),
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.5) 36%, rgba(246, 244, 241, 0.16) 68%);
}

.hero-intro {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin: 0 auto 1rem;
  max-width: 14em;
  color: #1a1a1d;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 520;
  letter-spacing: -0.048em;
  line-height: 1.02;
}

.hero h1 span:not(.word) { color: var(--wine); }

.hero-intro .lede {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-note {
  margin: 1.3rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-note a { text-decoration: underline; text-underline-offset: 0.15em; }

.points { background: transparent; color: var(--ink); padding: 1.4rem 0 0.2rem; }

.points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.points article {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.45rem 1.35rem 1.35rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.points article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(42, 18, 20, 0.09);
}

.points article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--wine);
}

.points h2 {
  margin: 0 0 0.3rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
}

.points p { margin: 0; color: var(--ink-soft); }

.hero-points {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.15rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-intro .hero-actions { justify-content: center; }

.hero-visual { background: transparent; }

.hero-visual img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  object-position: center 40%;
}

.photo-credit {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}

.photo-credit a { text-decoration: underline; text-underline-offset: 0.15em; }

.strip { background: white; border-block: 1px solid var(--line); }

.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }

.strip article { padding: 1.25rem 1.3rem 1.25rem 0; }

.strip article + article {
  padding-left: 1.3rem;
  border-left: 1px solid var(--line);
}

.strip h2 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 680;
}

.strip p { margin: 0; }

.strip-grid > p + p {
  padding-left: 1.3rem;
  border-left: 1px solid var(--line);
}

.section { padding: 3.5rem 0; }

.section-head {
  display: block;
  margin-bottom: 1.3rem;
}

.section-head .text-link {
  display: inline-block;
  margin-top: 0.75rem;
}

.section h2, .band h2, .stack h2, .page-hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.section-head .lede { margin-top: 0.35rem; }

#domaines + .lede { max-width: none; }

@media (min-width: 1080px) {
  #domaines + .lede { white-space: nowrap; }
}

.text-link {
  font-weight: 600;
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.text-link:hover { text-decoration: underline; text-underline-offset: 0.16em; }

.expertise-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  border: 0;
}

.expertise-index a {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.2rem 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.expertise-index a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--wine);
  transform: scaleY(0.35);
  transform-origin: center;
  transition: transform 0.45s var(--ease);
}

.expertise-index li { min-width: 0; height: 100%; }

.expertise-index a > span:first-child {
  flex: 1;
  min-width: 0;
}

.expertise-index a:hover {
  border-color: rgba(112, 42, 44, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(42, 18, 20, 0.09);
}

.expertise-index a:hover::before { transform: scaleY(1); }

@media (min-width: 801px) {
  .expertise-index li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.idx {
  flex: 0 0 2.6rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(112, 42, 44, 0.08);
  font-weight: 650;
  font-size: 0.78rem;
  color: var(--wine);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.expertise-index a:hover .idx {
  background: var(--wine);
  color: #fff;
}

.expertise-index .arrow {
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  margin-left: 0.2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--wine);
  font-size: 1rem;
  line-height: 1;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.expertise-index a:hover .arrow {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
  transform: none;
}

.expertise-index strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.desc { display: block; margin-top: 0.15rem; color: var(--ink-soft); }


.split, .location, .contact-grid, .related, .detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.panel, .founder, .value, .related a, .step, .aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel, .founder, .aside-card { padding: 1.3rem 1.35rem; }

.panel h2, .founder h2, .aside-card h2 { margin: 0 0 0.7rem; }

.quote {
  margin: 0.8rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--ink);
}

.founder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: center;
}

.portrait { display: none; }

.founder {
  grid-template-columns: 1fr;
  padding: 1.55rem 1.6rem;
  border-left: 4px solid var(--wine);
}

.meta-line { margin: 0.8rem 0 0; color: var(--ink-soft); }

.values, .pub-grid, .steps {
  display: grid;
  gap: 0.9rem;
}

.values, .steps { grid-template-columns: repeat(3, 1fr); }

.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  border: 0;
}

.value, .step, .related a { padding: 1.1rem 1.15rem; }

.value, .step {
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.value h3, .step h3, .related h3, .pub-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
}

.value p, .step p, .related p, .pub-card p, .aside-card p {
  margin: 0;
  color: var(--ink-soft);
}

.pub-card a {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.2rem 1.2rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.pub-card a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.pub-card a:hover::before { transform: scaleX(1); }

.pub-card a::after {
  content: "Lire";
  margin-top: auto;
  padding-top: 0.95rem;
  color: var(--wine);
  font-size: 0.84rem;
  font-weight: 650;
}

.pub-card a:hover,
.related a:hover,
.value:hover,
.step:hover {
  border-color: rgba(112, 42, 44, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(42, 18, 20, 0.09);
}
.pub-card h3 { text-decoration: none; }
.pub-meta { letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.75rem; }

.pub-meta, .crumbs { color: var(--ink-soft); font-size: 0.9rem; }
.pub-meta { margin: 0; }

.location, .contact-grid { align-items: stretch; }

main:has(.contact-grid) .page-hero {
  padding: 2.2rem 0 0.2rem;
  border-bottom: 0;
  background: transparent;
}

main:has(.contact-grid) .page-hero .eyebrow { display: none; }

main:has(.contact-grid) .page-hero h1 {
  max-width: none;
  margin-top: 0.35rem;
  font-size: clamp(2.35rem, 4.4vw, 3.3rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1;
}

main:has(.contact-grid) .page-hero .lede { max-width: 36rem; }

main:has(.contact-grid) .section { padding-top: 1.15rem; padding-bottom: 2.4rem; }

main:has(.contact-grid) .contact-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(16.5rem, 0.7fr);
  gap: 1.1rem;
  align-items: start;
}

main:has(.contact-grid) .form,
main:has(.contact-grid) .aside-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

main:has(.contact-grid) .form::before,
main:has(.contact-grid) .aside-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--wine);
}

main:has(.contact-grid) .form {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.45rem 1.35rem 1.3rem;
  gap: 0.9rem 0.85rem;
}

main:has(.contact-grid) .aside-card { padding: 1.45rem 1.35rem 1.35rem; }

main:has(.contact-grid) .form input,
main:has(.contact-grid) .form select,
main:has(.contact-grid) .form textarea {
  background: var(--paper);
  border-color: transparent;
}

main:has(.contact-grid) .form textarea { min-height: 8.2rem; }

main:has(.contact-grid) .band-wrap { display: none; }

@media (max-width: 800px) {
  main:has(.contact-grid) .contact-grid { grid-template-columns: 1fr; }
}

.address { font-style: normal; }
.address p, .facts { margin: 0.3rem 0; }

.facts { padding: 0; list-style: none; }
.facts li + li { margin-top: 0.25rem; }

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: #e7e2db;
  overflow: hidden;
  z-index: 0;
}

.map-pin {
  width: 22px;
  height: 22px;
}

.map-pin span {
  display: block;
  width: 22px;
  height: 22px;
  background: #702a2c;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 8px 16px rgba(42, 18, 20, 0.28);
  transform: rotate(-45deg);
}

.maplibregl-ctrl-group {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(23, 23, 26, 0.12);
}

.maplibregl-ctrl-group button {
  width: 34px;
  height: 34px;
}

.maplibregl-ctrl-attrib {
  background: rgba(255, 255, 255, 0.92);
  color: #514e4a;
  font-size: 0.68rem;
}

.maplibregl-popup-content {
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  color: #17171a;
  box-shadow: 0 10px 24px rgba(23, 23, 26, 0.12);
}

.band-wrap { padding-bottom: 3.5rem; }

.band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 2.1rem 2.2rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.14), transparent 36%),
    var(--wine);
  border: 0;
  color: #fff;
}

.band h2 { color: #fff; }

.band p {
  margin: 0.45rem 0 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero {
  padding: 3.6rem 0 2.3rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 0% 100%, rgba(112, 42, 44, 0.08), transparent 32%),
    #fff;
}

.page-hero h1 { max-width: 18em; }

main:has(#valeurs) {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(17rem, 0.72fr);
  column-gap: 1.15rem;
  row-gap: 1.15rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 1.6rem auto 0;
  align-items: start;
}

main:has(#valeurs) > .page-hero { grid-column: 1; grid-row: 1; }

main:has(#valeurs) > #dirigeante { grid-column: 2; grid-row: 1; align-self: stretch; }

main:has(#valeurs) > #valeurs,
main:has(#valeurs) > #localisation,
main:has(#valeurs) > .band-wrap { grid-column: 1 / -1; }

main:has(#valeurs) .container {
  width: 100%;
  max-width: none;
  margin: 0;
}

main:has(#valeurs) .page-hero {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.65rem 1.7rem 1.5rem;
  position: relative;
  overflow: hidden;
}

main:has(#valeurs) .page-hero::before,
main:has(#valeurs) #dirigeante .founder::before,
main:has(#valeurs) #valeurs .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--wine);
}

main:has(#valeurs) .page-hero .eyebrow { display: none; }

main:has(#valeurs) .page-hero h1 {
  max-width: none;
  margin: 0.3rem 0 0.95rem;
  color: var(--ink);
  font-size: clamp(2.05rem, 3.2vw, 2.85rem);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

main:has(#valeurs) .page-hero h1 + .lede,
main:has(#valeurs) .page-hero .lede,
main:has(#valeurs) .page-hero .lede + .lede {
  max-width: none;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

main:has(#valeurs) .page-hero h1 + .lede {
  color: var(--ink);
  font-size: 1.08rem;
}

main:has(#valeurs) #dirigeante { padding: 0; height: 100%; }

main:has(#valeurs) #dirigeante .founder {
  height: 100%;
  margin: 0;
  border-left: 0;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  padding: 1.65rem 1.4rem 1.45rem;
}

main:has(#valeurs) #valeurs {
  background: transparent;
  color: var(--ink);
  padding: 0;
  border: 0;
}

main:has(#valeurs) #valeurs .container {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0.15rem 0 0;
}

main:has(#valeurs) #valeurs .container::before { content: none; }

main:has(#valeurs) #valeurs .section-head { margin-bottom: 0.95rem; }

main:has(#valeurs) #valeurs .eyebrow { color: var(--wine); }

main:has(#valeurs) #valeurs h2 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

#valeurs .values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#valeurs .value,
#valeurs .value + .value {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  width: auto;
  margin: 0;
  padding: 1.25rem 1.2rem 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

#valeurs .value::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  height: auto;
  background: var(--wine);
  border-radius: 0;
  transform: scaleY(0.35);
  transform-origin: center;
  transition: transform 0.45s var(--ease);
}

#valeurs .value h3::before { content: none; }

#valeurs .value h3 {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

#valeurs .value:hover,
html.motion #valeurs .value.is-in:hover {
  transform: translateY(-3px);
  border-color: rgba(112, 42, 44, 0.4);
  box-shadow: 0 18px 36px rgba(42, 18, 20, 0.09);
  background: #fff;
}

#valeurs .value:hover::before,
html.motion #valeurs .value.is-in:hover::before { transform: scaleY(1); }

@media (min-width: 801px) {
  #valeurs .values { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  #valeurs .value { grid-column: span 2; }

  #valeurs .value:nth-child(4) { grid-column: 2 / span 2; }

  #valeurs .value:nth-child(5) { grid-column: 4 / span 2; }
}


main:has(#valeurs) #localisation { padding-top: 0.15rem; padding-bottom: 1.5rem; }

main:has(#valeurs) .band-wrap { padding-top: 0; }

@media (max-width: 860px) {
  main:has(#valeurs) {
    grid-template-columns: 1fr;
    width: min(1120px, calc(100% - 1.25rem));
  }

  main:has(#valeurs) > .page-hero,
  main:has(#valeurs) > #dirigeante,
  main:has(#valeurs) > #valeurs,
  main:has(#valeurs) > #localisation,
  main:has(#valeurs) > .band-wrap {
    grid-column: 1;
    grid-row: auto;
  }

}

@media (max-width: 800px) {
  #valeurs .values { grid-template-columns: 1fr; }
}

.page-hero .lede { margin-top: 0.85rem; }

.page-hero h1 + .lede {
  color: var(--ink);
  font-size: 1.12rem;
  max-width: 34rem;
}

.page-hero .lede + .lede {
  margin-top: 0.4rem;
  font-size: 1rem;
  max-width: 34rem;
}

main:has(.lede-block) .page-hero .lede,
main:has(.lede-block) .page-hero .lede + .lede {
  max-width: none;
}

.lede-block {
  margin-top: 1.15rem;
  padding: 1.15rem 1.3rem 1.2rem;
  border: 2px solid var(--wine);
  border-radius: 16px;
  background: #fff;
}

.lede-block .lede,
.lede-block .lede + .lede {
  margin-top: 0.75rem;
}

main:has(.lede-block) .page-hero .eyebrow { display: none; }

main:has(.lede-block) .page-hero h1 {
  position: relative;
  z-index: 2;
  display: table;
  width: auto;
  max-width: none;
  margin: 0 0 -0.55em 1.35rem;
  padding: 0.2rem 0.7rem;
  background: #fff;
  line-height: 1.15;
  white-space: nowrap;
  text-align: left;
}

main:has(.lede-block) .lede-block {
  position: relative;
  z-index: 0;
  margin-top: 0;
  padding-top: 1.7rem;
}

.lede-block .lede:first-child {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.12rem;
}

.mission-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  margin-bottom: 0.35rem;
}

.mission-head .btn { flex: none; }

@media (min-width: 1080px) {
  main:has(.missions) .missions {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  main:has(.missions) .stack > div:has(.related) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }

  main:has(.missions) .stack > div:has(.related) > h2 { margin: 0; }

  main:has(.missions) .related { width: 100%; }

  main:has(.missions) .related a { border-left: 3px solid var(--wine); }

  main:has(.missions) .band-wrap { padding-top: 1.8rem; }
}

@media (max-width: 700px) {
  .mission-head {
    align-items: flex-start;
    flex-direction: column;
  }
}


.watermark { display: none; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.8rem;
}

.crumbs a { color: var(--teal-deep); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 0.15em; }

.stack { display: grid; gap: 1.6rem; }

.stack > div:has(.missions) {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.stack > div:has(.missions) .mission-head h2 { margin: 0; }

.missions {
  counter-reset: mission;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.missions li {
  counter-increment: mission;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding: 0.95rem 1.05rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.missions li:hover {
  transform: translateY(-4px);
  border-color: rgba(112, 42, 44, 0.35);
  box-shadow: 0 16px 32px rgba(42, 18, 20, 0.08);
}

.missions li::before {
  content: counter(mission, decimal-leading-zero);
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(112, 42, 44, 0.08);
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0;
}

@media (min-width: 801px) {
  .missions li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1rem;
}

.notice p, .disclaimer p { margin: 0; }

.disclaimer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table { width: 100%; border-collapse: collapse; }

th, td {
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 680;
}

tr:last-child td { border-bottom: 0; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.2rem 0 1rem;
}

.filters button {
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.filters button:hover { border-color: var(--wine); color: var(--wine); }

.filters button.is-active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.prose { max-width: 42rem; }
.prose h2 { margin: 1.8rem 0 0.5rem; font-size: 1.35rem; }
.prose p, .prose li { font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.15rem; }
.prose a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 0.15em; }

.faq { border-top: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  cursor: pointer;
  font-weight: 620;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--teal-deep);
  font-size: 1.3rem;
  line-height: 1;
}

.faq[open] summary::after { content: "-"; }

.faq p { margin: 0 0 0.9rem; color: var(--ink-soft); }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.field-full { grid-column: 1 / -1; }

.form label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
  font-weight: 620;
}

.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(112, 42, 44, 0.12);
}

.form textarea { min-height: 9rem; resize: vertical; }

.was-validated input:invalid,
.was-validated select:invalid,
.was-validated textarea:invalid { border-color: #8d2f2f; }

.form-status { margin: 0.6rem 0 0; color: var(--teal-deep); font-weight: 620; }

.form-status:not(:empty) { animation: status-in 0.5s var(--ease); }

@keyframes status-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.site-footer {
  margin-top: 0.5rem;
  padding: 2.8rem 0 1.2rem;
  background: #fff;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.site-footer .logo img { height: 3.6rem; }

.site-footer p,
.site-footer li { color: var(--ink-soft); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 0.9fr;
  gap: 2rem;
}

.footer-title {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 0.35rem; }
.site-footer a { transition: color 0.35s var(--ease); }
.site-footer a:hover { color: var(--wine); }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.footer-base p { margin: 0; }

.footer-ordres {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem 0 0;
}

.ordres-oec {
  height: 1.9rem;
  width: auto;
}

.ordres-cncc {
  height: 3rem;
  width: auto;
}

@media (min-width: 1081px) {
  .nav-check { display: none; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; margin-left: 0.45rem; }
  .header-cta { display: none; }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    margin: 0;
    padding: 0.8rem 1.1rem 2rem;
    background: var(--paper);
    border: 0;
    border-radius: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .nav-check:checked ~ .site-nav,
  .nav-check:checked ~ .site-nav .nav-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-check:checked ~ .nav-toggle .bar-a { transform: translateY(3.5px) rotate(45deg); }
  .nav-check:checked ~ .nav-toggle .bar-b { transform: translateY(-3.5px) rotate(-45deg); }

  .label-close { display: none; }
  .nav-check:checked ~ .nav-toggle .label-open { display: none; }
  .nav-check:checked ~ .nav-toggle .label-close { display: inline; }

  .nav-item .nav-panel,
  .nav-item:hover .nav-panel,
  .nav-item:focus-within .nav-panel {
    display: grid;
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: none;
    width: auto;
    box-shadow: none;
    padding: 0.1rem 0 0.4rem 0.7rem;
    background: transparent;
    border: 0;
    grid-template-columns: 1fr;
  }

  .site-nav > a.nav-cta { display: inline-flex; margin-top: 0.8rem; }

  .footer-grid, .values, .steps, .pub-grid, .expertise-index {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .hero-grid, .split, .founder, .location, .contact-grid,
  .related, .detail-grid, .missions, .form, .strip-grid,
  .values, .steps, .footer-grid,
  .points-grid, .pub-grid, .expertise-index {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 0; padding: calc(var(--header) + 1.4rem) 0 3.4rem; }

  .strip article, .strip article + article,
  .strip-grid > p, .strip-grid > p + p {
    padding: 0.7rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .strip article:first-child,
  .strip-grid > p:first-child { border-top: 0; }

  .band { flex-direction: column; align-items: flex-start; }
}

html.motion .hero-intro > *:not(h1),
html.motion .page-hero .container > *:not(h1),
html.motion .points-grid > article,
html.motion .section-head,
html.motion .split > *,
html.motion .expertise-index > li,
html.motion .missions > li,
html.motion .mission-head,
html.motion .stack > div > h2,
html.motion .value,
html.motion .step,
html.motion .pub-card,
html.motion .panel:not(:has([data-map])),
html.motion .founder,
html.motion .faq,
html.motion .band,
html.motion .aside-card,
html.motion .related a,
html.motion .contact-grid > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

html.motion .rise.is-in,
html.motion .hero-intro > .rise.is-in,
html.motion .page-hero .container > .rise.is-in {
  opacity: 1;
  transform: none;
}

html.motion .hero h1:not(.title-ready) { opacity: 0; }

html.motion .hero .title-ready .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.22em);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

html.motion .hero .title-ready.is-in .word {
  opacity: 1;
  transform: none;
}

html.motion:not(.motion-live) .hero-intro > *:not(h1),
html.motion:not(.motion-live) .page-hero .container > *:not(h1),
html.motion:not(.motion-live) .points-grid > article,
html.motion:not(.motion-live) .section-head,
html.motion:not(.motion-live) .split > *,
html.motion:not(.motion-live) .expertise-index > li,
html.motion:not(.motion-live) .missions > li,
html.motion:not(.motion-live) .mission-head,
html.motion:not(.motion-live) .stack > div > h2,
html.motion:not(.motion-live) .value,
html.motion:not(.motion-live) .step,
html.motion:not(.motion-live) .pub-card,
html.motion:not(.motion-live) .panel,
html.motion:not(.motion-live) .founder,
html.motion:not(.motion-live) .faq,
html.motion:not(.motion-live) .band,
html.motion:not(.motion-live) .aside-card,
html.motion:not(.motion-live) .related a,
html.motion:not(.motion-live) .contact-grid > *,
html.motion:not(.motion-live) .hero h1,
html.motion:not(.motion-live) .page-hero h1,
html.motion:not(.motion-live) .word {
  opacity: 1;
  transform: none;
  transition: none;
}

.values {
  display: grid;
  gap: 0.75rem;
  counter-reset: value;
}

.value {
  counter-increment: value;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: auto;
  padding: 1rem 1rem 1.05rem;
  border-radius: 16px;
}

.value::before {
  content: counter(value, decimal-leading-zero);
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(112, 42, 44, 0.08);
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0;
}

.value h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.value:hover,
html.motion .value.is-in:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(42, 18, 20, 0.08);
  border-color: rgba(112, 42, 44, 0.35);
}

@media (min-width: 1081px) {
  .values { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

html.motion .step.is-in:hover,
html.motion .points article.is-in:hover,
html.motion a.rise.is-in:hover,
html.motion .missions > li.rise.is-in:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media video { display: none; animation: none; }
  .btn,
  .btn::after,
  .missions li,
  .form-status:not(:empty) { animation: none; transition: none; }
  html.motion .hero-intro > *,
  html.motion .page-hero .container > *,
  html.motion .rise,
  html.motion .rise.is-in,
  html.motion .hero h1,
  html.motion .page-hero h1,
  html.motion .word {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}
