@font-face {
  font-family: 'Geomini';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/geomini-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geomini';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/geomini-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --white:        #FFFFFF;
  --mint:         #E4EFE7;
  --dark:         #093E2E;
  --green:        #1A936F;
  --green-bright: #9CF2B7;
  --gray:         #686868;
  --icon-dark:    #1C1B1F;

  --grad-green: linear-gradient(90deg, #093E2E 0%, #1A936F 100%);

  --maxw: 1600px;
  --pad:  32px;

  --fw-regular:  320;
  --fw-medium:   460;
  --fw-semibold: 580;
}

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

html { -webkit-text-size-adjust: 100%; background: var(--white); overscroll-behavior-y: none; }
body {
  margin: 0;
  background: var(--white);
  color: var(--dark);
  font-family: 'Geomini', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: var(--fw-regular);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,p,ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.icon { width: 24px; height: 24px; fill: currentColor; flex: none; }
.icon--dark { fill: var(--icon-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 50px;
  padding: 0 20px;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: var(--fw-medium);
  line-height: 1;
  white-space: nowrap;
  transition: filter .18s ease, transform .18s ease;
}
.btn:hover { filter: brightness(.94); }
.btn:active { transform: translateY(1px); }
.btn > span { display: inline-block; transform: translateY(-1px); }

.btn .icon { width: 16px; height: 12px; box-sizing: content-box; padding: 0 4px; }
.btn--dark   { background: var(--dark);        color: var(--green-bright); }
.btn--dark .icon   { fill: var(--green-bright); }
.btn--bright { background: var(--green-bright); color: var(--dark); }
.btn--bright .icon { fill: var(--icon-dark); }

.section-title {
  font-size: 46px;
  font-weight: var(--fw-medium);
  line-height: 55.2px;
  color: var(--dark);
}
.section-title--light { color: var(--white); }

.eyebrow {
  color: var(--green);
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 21.6px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-align: center;
}

.lead {
  font-size: 16px;
  font-weight: var(--fw-regular);
  line-height: 24px;
}
.bullets {
  font-size: 16px;
  font-weight: var(--fw-regular);
  line-height: 24px;
}
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: "•"; position: absolute; left: 6px; top: 0; }

.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 148px;
}
.header__logo img { height: 74px; width: auto; }

.header .btn .icon { transform: rotate(90deg); }

.hero {
  position: relative;
  height: 628px;
  overflow: hidden;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero__dark {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.48);
}

.hero__grad {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 100%);
}

.hero__circuit { position: absolute; pointer-events: none; max-width: none; }

.hero__circuit--top  { width: 459px; height: 437px; right: -66px;  top: -131px; transform: scaleX(-1); }
.hero__circuit--side { width: 577px; height: 317px; left: -368px; top: 380px; }

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 115px;
  padding-left: 199px;
}
.hero__title {
  font-size: 60px;
  font-weight: var(--fw-medium);
  line-height: 72px;
  color: var(--white);
}
.hero__line1 { display: block; max-width: 632px; }
.hero__line2 { display: block; color: var(--green-bright); }

.metier { padding-top: 80px; }
.metier__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.metier__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.metier__lead {

  max-width: 1120px;
  text-align: center;
  font-size: 32px;
  font-weight: var(--fw-medium);
  line-height: 42px;
  color: var(--dark);
}

.services,
.pointsforts { padding: 80px 0; }

.services__inner,
.pointsforts__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding-left: 150px;
  padding-right: var(--pad);
}
.services__text,
.pointsforts__text {
  width: 506px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.services__body { display: flex; flex-direction: column; gap: 16px; }

.services__media img,
.pointsforts__media img {
  width: 672px;
  height: 608px;
  object-fit: cover;
  border-radius: 0 100px 0 0;
}

.services__media img { object-position: center top; }

.savoirfaire {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: var(--grad-green);
  color: var(--white);
}
.sf__circuit { position: absolute; pointer-events: none; max-width: none; }
.sf__circuit--top  { width: 459px; height: 437px; left: -200px; top: -170px; }
.sf__circuit--side { width: 577px; height: 317px; right: -182px; top: 459px; transform: rotate(-90deg); }

.savoirfaire__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding-left: var(--pad);
  padding-right: 150px;
}
.savoirfaire__media img {
  width: 672px;
  height: 608px;
  object-fit: cover;
  border-radius: 100px 0 0 0;
}
.savoirfaire__text {
  width: 506px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--white);
}
.savoirfaire__body { display: flex; flex-direction: column; }
.savoirfaire__body .lead:first-of-type { margin-bottom: 24px; }

.partners { padding-bottom: 80px; overflow-x: hidden; }
.partners__title {
  color: var(--green);
  font-size: 24px;
  font-weight: var(--fw-medium);
  line-height: 28px;
  text-align: center;
  margin-bottom: 48px;
}

.partners__carousel {
  overflow: hidden;

  background: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.partners__track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;

  background: var(--white);
}
.partners__cell {

  --s: 1;
  flex: 0 0 auto;
  width: calc(176px * var(--s));
  height: calc(80px * var(--s));

  margin: 0 calc(40px * var(--s));
  display: grid;
  place-items: center;
}
@media (prefers-reduced-motion: reduce) {
  .partners__track { flex-wrap: wrap; justify-content: center; row-gap: 32px; }
}

.partners__cell img { object-fit: contain; filter: grayscale(1); opacity: .72; }
.logo-ecoxpert { max-width: calc(103px * var(--s)); max-height: calc(80px * var(--s)); }
.logo-jung     { width: calc(144px * var(--s)); height: calc(36px * var(--s)); }
.logo-legrand  { width: calc(176px * var(--s)); height: calc(37px * var(--s)); }
.logo-schneider { max-width: calc(160px * var(--s)); max-height: calc(64px * var(--s)); }
.logo-siemens  { width: calc(160px * var(--s)); height: calc(25px * var(--s)); }
.logo-knx      { width: calc(105px * var(--s)); height: calc(50px * var(--s)); }

.logo-hager    { max-width: calc(160px * var(--s)); max-height: calc(60px * var(--s)); }
.logo-wit      { max-width: calc(132px * var(--s)); max-height: calc(62px * var(--s)); }

.form-section {
  background: var(--mint);
  padding: 80px 0;
}
.form-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form-section__title { text-align: center; margin-bottom: 48px; }
.form {
  width: 906px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__row { display: flex; gap: 24px; }
.form__row--2 > .field { flex: 1; }
.field { display: flex; flex-direction: column; gap: 16px; }

.field:has(textarea) { gap: 24px; }
.field--full { flex: 1; }
.field label {
  font-size: 16px;
  font-weight: var(--fw-regular);
  line-height: 24px;
  color: var(--dark);
}
.req { color: var(--green); }

.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  font-weight: var(--fw-regular);
  line-height: 20px;
  color: var(--dark);
  background: var(--white);
  border: none;
  outline: none;
  transition: box-shadow .18s ease;
}
.field input {
  height: 50px;

  padding: 0 24px 3px;
  border-radius: 60px;
}
.field textarea {
  height: 200px;
  padding: 24px;
  border-radius: 16px;

  resize: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--gray); }
.field input:focus,
.field textarea:focus { box-shadow: 0 0 0 3px rgba(26,147,111,.25); }

.form__submit { margin-top: 32px; display: flex; justify-content: center; }

.footer {
  position: relative;
  overflow: hidden;
  background: var(--grad-green);
  padding: 64px 0;
}

.footer__circuit {
  position: absolute;
  width: 100px; height: 294px;

  left: max(343px, calc(50% - 457px)); top: 36px;
  pointer-events: none;
  max-width: none;
}
.footer__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__inner { --footer-col2: 544px; }
.footer__top {
  display: flex;
  align-items: center;
}
.footer__logo { height: 74px; width: 216px; }
.footer__find { margin-left: calc(var(--footer-col2) - 216px); }
.footer__contact { margin-left: auto; }
.footer__find {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer__label {
  color: var(--green-bright);
  font-size: 14px;
  font-weight: var(--fw-regular);
  line-height: 16.8px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.footer__addr {
  color: var(--mint);
  font-size: 14px;
  font-weight: var(--fw-regular);
  line-height: 20px;
}
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mint);
  font-size: 14px;
  line-height: 20px;
}
.footer__ic { display: inline-flex; }
.footer__ic .icon { width: 18px; height: 18px; fill: var(--green-bright); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-left: var(--footer-col2);
}
.footer__copy,
.footer__concept { color: var(--white); font-size: 14px; line-height: 20px; }
.footer__concept { display: flex; align-items: center; gap: 8px; }
.footer__hwc { display: inline-flex; align-items: center; gap: 4px; }

.footer__hwc img { height: 12px; width: auto; }
.footer__hwc img:first-child { height: 23px; }

@media (max-width: 1180px) {
  .hero__content { padding-left: var(--pad); }
  .services__inner,
  .pointsforts__inner,
  .savoirfaire__inner {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
  .services__text,
  .pointsforts__text,
  .savoirfaire__text { width: auto; flex: 1; }
  .services__media img,
  .pointsforts__media img,
  .savoirfaire__media img { width: 100%; height: 100%; }
}
@media (max-width: 1100px) {

  .services__inner,
  .pointsforts__inner,
  .savoirfaire__inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .services__media,
  .pointsforts__media { order: -1; }
  .services__media img,
  .pointsforts__media img,
  .savoirfaire__media img { height: auto; aspect-ratio: 672/608; }
}
@media (max-width: 900px) {
  .hero__title { font-size: 44px; line-height: 54px; }
  .hero__line1 { max-width: none; }
  .metier__lead { font-size: 26px; line-height: 34px; }
  .section-title { font-size: 36px; line-height: 44px; }

  .footer__top,
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__find,
  .footer__contact,
  .footer__bottom { margin-left: 0; }
}
@media (max-width: 720px) {
  :root { --pad: 20px; }
  .header__inner { gap: 10px; }
  .header__logo { flex-shrink: 0; }
  .header__logo img { height: 44px; width: auto; }
  .header .btn { flex-shrink: 0; height: 44px; padding: 0 16px; font-size: 14px; }
  .hero { height: auto; }

  .hero__content { padding: 92px 24px 64px; text-align: center; }
  .hero__title { font-size: 45px; line-height: 52px; }

  .hero__circuit--top { width: 120px; height: auto; right: 0; top: 0; }
  .hero__circuit--side { display: none; }

  .services__text,
  .pointsforts__text,
  .savoirfaire__text { gap: 16px; }

  .sf__circuit { display: none; }

  .form__row--2 { flex-direction: column; }
  .field,
  .field:has(textarea) { gap: 8px; }

  .partners__cell { --s: .675; }
  .partners__carousel {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  }

  .footer { padding-bottom: 36px; }
  .footer__circuit { display: none; }
  .footer__inner { text-align: center; }
  .footer__top { align-items: center; }
  .footer__find { align-items: center; }
  .footer__contact { align-items: center; }
  .footer__contact a { justify-content: center; }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
  }

  .footer__copy,
  .footer__concept { font-size: 12px; }
}
@media (max-width: 359px) {
  .header__logo img { height: 40px; }
  .header .btn { padding: 0 12px; font-size: 13px; }
  .header .btn .icon { display: none; }
}
