/* =========================================================
   SOLARTECH ENERGIES — Proposition de refonte homepage
   Système : grille 12 colonnes · marge 48 / gouttière 24
   Couleurs : marine #2B3C71 · marine profond #152556 · or #F1C261 (logo)
   ========================================================= */

:root {
  --navy: #2b3c71;
  --navy-deep: #152556;
  --navy-900: #0c1532;
  --gold: #f1c261;
  --gold-soft: #f6dba2;
  --ink: #111a3a;
  --muted: #4b5470;
  --paper: #f4f3ef;
  --paper-2: #eae8e1;
  --white: #ffffff;
  --line: rgba(17, 26, 58, .14);
  --line-strong: rgba(17, 26, 58, .28);
  --line-light: rgba(255, 255, 255, .16);

  --m: 48px;          /* marge latérale */
  --g: 24px;          /* gouttière */
  --header: 76px;
  --maxw: 1440px;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
b, strong { font-weight: 600; }
abbr[title] { text-decoration: none; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.pro :focus-visible, .contact__txt :focus-visible, .footer :focus-visible, .u-card--dark :focus-visible { outline-color: var(--gold); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Type scale ---------- */
.h2 {
  font-size: clamp(2.1rem, .9rem + 3.1vw, 3.75rem);
  line-height: 1.02;
  font-weight: 600;
  font-variation-settings: "wdth" 106;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(2rem, 1.1rem + 2.1vw, 3rem);
  line-height: 1.02;
  font-weight: 600;
  font-variation-settings: "wdth" 106;
  letter-spacing: -.03em;
}
.h3 span {
  display: block;
  margin-top: 14px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 400;
  font-variation-settings: "wdth" 100;
  letter-spacing: 0;
  color: var(--muted);
}

/* Section index : numéro + nom, posé dans la colonne de gauche */
.index { display: flex; gap: 12px; color: var(--muted); padding-top: .9em; }
.index span { color: var(--ink); font-weight: 500; }
.index--light, .index--light span { color: rgba(255,255,255,.72); }
.index--light span { color: var(--gold); }
.sec-head { margin-bottom: clamp(48px, 5vw, 80px); align-items: start; }
.sec-head .index { grid-column: 1 / 3; }
.sec-head .h2 { grid-column: 1 / 10; }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--gold);
  --fg: var(--ink);
  --fill: var(--navy-deep);
  --fill-fg: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 22px 0 26px;
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  font-size: 15px;
  font-weight: 560;
  letter-spacing: .01em;
  border: 0;
  cursor: pointer;
  transition: color .45s var(--ease), box-shadow .45s var(--ease);
}
/* Aplat qui monte depuis la base au survol */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fill);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn > span { position: relative; }
.btn__arrow {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  overflow: hidden;
}
.btn__arrow::before, .btn__arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M1 9h15M10.5 3.5 16 9l-5.5 5.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / 18px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M1 9h15M10.5 3.5 16 9l-5.5 5.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .5s var(--ease);
}
.btn__arrow::after { transform: translateX(-110%); }
.btn:hover, .btn:focus-visible { color: var(--fill-fg); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover .btn__arrow::before, .btn:focus-visible .btn__arrow::before { transform: translateX(110%); }
.btn:hover .btn__arrow::after, .btn:focus-visible .btn__arrow::after { transform: translateX(0); transition-delay: .08s; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; gap: 12px; padding: 0 16px 0 18px; font-size: 14px; }
.btn--sm .btn__arrow { width: 16px; height: 16px; }
.btn--sm .btn__arrow::before, .btn--sm .btn__arrow::after { -webkit-mask-size: 16px; mask-size: 16px; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --fill: var(--navy-deep); --fill-fg: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.btn--gold { --fill: var(--ink); }
.btn--block { display: flex; width: 100%; justify-content: space-between; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link::after { content: "→"; transition: transform .35s var(--ease); }
.link:hover { background-size: 0 1px; }
.link:hover::after { transform: translateX(5px); }
.link--light { color: #fff; }

/* ---------- Captions ---------- */
.cap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.3;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 12px;
}
.cap span + span::before { content: "/"; margin: 0 10px; opacity: .5; }
.cap--on {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px 14px;
  background: rgba(12, 21, 50, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(244, 243, 239, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__logo img { width: 222px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; }
.nav a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 20px; margin-left: 12px; }
.header__tel {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .02em;
  white-space: nowrap;
}
.header__tel:hover { color: var(--navy); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 49;
  background: var(--paper);
  padding: 24px var(--m) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__list li { border-bottom: 1px solid var(--line); }
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  font-size: 28px;
  font-weight: 600;
  font-variation-settings: "wdth" 106;
  letter-spacing: -.02em;
  text-decoration: none;
}
.menu__list small { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: .04em; }
.menu__foot { display: grid; gap: 14px; padding-top: 32px; }
.menu__tel { font-size: 26px; font-weight: 600; text-decoration: none; font-variation-settings: "wdth" 106; }
.menu__mail { color: var(--muted); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; }
.hero__grid {
  position: relative;
  height: calc(100svh - var(--header));
  min-height: 660px;
  max-height: 900px;
}
.hero__text {
  grid-column: 1 / 7;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(40px, 6.5vh, 72px) 0 40px;
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(2.5rem, 1.1rem + 3.15vw, 3.7rem);
  line-height: 1;
  font-weight: 620;
  font-variation-settings: "wdth" 104;
  letter-spacing: -.035em;
  color: var(--ink);
}
.hero__title .line { display: block; }
.hero__title .line:nth-child(2) { color: var(--navy); }
.hero__title .hl { background: linear-gradient(var(--gold), var(--gold)) 0 88% / 100% .2em no-repeat; }
.hero__lead {
  margin-top: 28px;
  max-width: 30ch;
  font-size: clamp(1.1rem, .95rem + .4vw, 1.3rem);
  line-height: 1.4;
  color: var(--muted);
}
.hero__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; margin-top: 36px; }
.hero__certs { margin-top: auto; padding-top: 40px; max-width: 520px; }
.hero__certs .mono { color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.hero__certs ul { display: flex; align-items: center; gap: 28px; padding-top: 16px; }
.hero__certs img { height: 34px; width: auto; }
.hero__certs li.dark img { height: 24px; }

.hero__photo {
  grid-column: 7 / -1;
  grid-row: 1;
  position: relative;
  margin-right: calc(-1 * (var(--m) + max(0px, (100vw - var(--maxw)) / 2)));
  margin-left: calc(var(--g) * 1.5);
  overflow: hidden;
  background: var(--paper-2);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__photo .cap--on { left: auto; right: var(--m); bottom: 28px; }
.hero__inset {
  position: absolute;
  z-index: 3;
  left: calc(var(--m) + (100% - 2 * var(--m) - 11 * var(--g)) / 12 * 6 + 6 * var(--g) - 40px);
  bottom: 40px;
  width: clamp(200px, 19vw, 290px);
  background: var(--paper);
  padding: 10px;
}
.hero__inset img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero__inset .cap { padding: 10px 2px 12px; justify-content: space-between; flex-wrap: nowrap; font-size: 10.5px; }
.hero__inset .cap span + span::before { content: none; }

/* =========================================================
   INTRO
   ========================================================= */
.intro { padding: clamp(96px, 11vw, 160px) 0 clamp(80px, 9vw, 128px); }
.intro__statement {
  grid-column: 1 / 11;
  font-size: clamp(1.65rem, .9rem + 2.05vw, 2.85rem);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -.022em;
  text-wrap: pretty;
}
.intro__statement em {
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(var(--gold), var(--gold)) 0 88% / 100% .2em no-repeat;
}
.intro__side { grid-column: 7 / 12; margin-top: 40px; display: grid; gap: 10px; color: var(--muted); max-width: 46ch; }
.intro__sign { color: var(--ink); font-weight: 600; }
.facts {
  grid-column: 1 / -1;
  margin-top: clamp(64px, 8vw, 112px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--g);
}
.facts > div { border-top: 1px solid var(--ink); padding-top: 18px; }
.facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd {
  margin-top: 10px;
  font-size: clamp(1.15rem, .9rem + .55vw, 1.45rem);
  line-height: 1.25;
  font-variation-settings: "wdth" 104;
  letter-spacing: -.01em;
  max-width: 18ch;
}
.facts b { color: var(--navy); }

/* =========================================================
   UNIVERS
   ========================================================= */
.univers { background: var(--white); padding: clamp(88px, 10vw, 144px) 0 clamp(96px, 11vw, 160px); }
.u-verb {
  position: relative;
  font-size: clamp(2.6rem, 1rem + 3.4vw, 4.25rem);
  line-height: .95;
  font-weight: 700;
  font-variation-settings: "wdth" 118;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.u-verb--sm { font-size: clamp(2.2rem, 1rem + 2.6vw, 3.4rem); }
.u-num { display: block; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; font-variation-settings: normal; }
.u-sub {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}
.u-lead { font-size: 20px; line-height: 1.35; font-variation-settings: "wdth" 102; letter-spacing: -.005em; }

.u-prod { align-items: end; }
.u-prod__img { grid-column: 1 / 9; position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.u-prod__img img { width: 100%; height: 100%; object-fit: cover; }
.u-prod__txt { grid-column: 9 / -1; padding-left: var(--g); }
.u-prod__txt > p:not(.u-verb) { margin-top: 28px; color: var(--muted); max-width: 36ch; }
.rows { margin-top: 32px; border-top: 1px solid var(--ink); }
.rows a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "t a" "s a";
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding .4s var(--ease), background-color .3s;
}
.rows a span { grid-area: t; font-size: 22px; font-weight: 600; font-variation-settings: "wdth" 104; letter-spacing: -.015em; }
.rows a small { grid-area: s; font-size: 14px; color: var(--muted); }
.rows a i { grid-area: a; font-style: normal; font-size: 22px; transition: transform .4s var(--ease); }
.rows a:hover { padding-left: 12px; background: var(--paper); }
.rows a:hover i { transform: translateX(-12px); }

.u-pair { margin-top: clamp(64px, 7vw, 104px); align-items: stretch; }
.u-card { grid-column: span 6; display: flex; flex-direction: column; }
.u-card--dark { background: var(--navy-deep); color: #fff; }
.u-card--light { background: var(--paper-2); color: var(--ink); }
.u-card__img { position: relative; flex: none; aspect-ratio: 16 / 10; overflow: hidden; background: #1a1a1a; }
.u-card__img img { width: 100%; height: 100%; object-fit: cover; }
.u-card__txt { flex: 1; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 48px); }
.u-card .u-lead { margin-top: 24px; min-height: 2.7em; }
/* Liste à hauteur fixe (5 lignes) : les notes démarrent au même niveau dans les deux blocs */
.u-card .ticks { min-height: calc(5 * (22px + 1.55 * 15.5px + 1px) + 1px); }
.u-card__link { margin-top: auto; align-self: flex-start; }
.u-card--dark .u-verb, .u-card--dark .u-note b { color: #fff; }
.u-card--dark .u-num { color: rgba(255,255,255,.6); }
.u-card--dark .u-sub { color: var(--gold); }
.u-card--dark .u-note { color: rgba(255,255,255,.72); }
.u-card--dark .ticks, .u-card--dark .ticks li { border-color: var(--line-light); }
.u-card--dark .ticks li { color: rgba(255,255,255,.86); }
.ticks { margin-top: 24px; border-top: 1px solid var(--line); }
.ticks li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.ticks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--gold); }
.u-note { margin: 24px 0 32px; font-size: 15px; color: var(--muted); }
.u-note b { color: var(--ink); }
.u-card--dark .link { color: #fff; }

/* =========================================================
   PARTICULIERS
   ========================================================= */
.part { background: var(--paper-2); padding: clamp(88px, 10vw, 144px) 0 clamp(96px, 10vw, 152px); }
.part__grid { grid-template-rows: auto auto; align-items: start; }
.part__txt { grid-column: 1 / 6; grid-row: 1 / 3; }
.part__txt > p { margin-top: 28px; color: var(--muted); max-width: 46ch; }
.points { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--g); margin: 40px 0 36px; }
.points li { border-top: 1px solid var(--line-strong); padding: 18px 0 26px; }
.points .mono { color: var(--navy); font-weight: 500; }
.points h4 { margin-top: 10px; font-size: 17px; line-height: 1.25; font-weight: 600; }
.points p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.part__main { grid-column: 7 / -1; grid-row: 1; position: relative; overflow: hidden; }
.part__main .cap--on { left: auto; right: 0; }
.part__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; }
.part__second {
  grid-column: 6 / 10;
  grid-row: 2;
  margin-top: -120px;
  position: relative;
  z-index: 2;
  background: var(--paper-2);
  padding: 12px 12px 0 0;
}
.part__second img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* =========================================================
   PROFESSIONNELS
   ========================================================= */
.pro { background: var(--navy-deep); color: #fff; padding: clamp(88px, 10vw, 144px) 0 clamp(88px, 10vw, 136px); }
.pro__grid { grid-template-rows: auto auto; align-items: start; }
.pro__main { grid-column: 1 / 8; grid-row: 1; position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.pro__main img { width: 100%; height: 100%; object-fit: cover; }
.pro__second { grid-column: 4 / 8; grid-row: 2; margin-top: var(--g); }
.pro__second img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pro .cap:not(.cap--on) { color: rgba(255,255,255,.62); }
.pro__txt { grid-column: 9 / -1; grid-row: 1 / 3; }
.pro .h3 span { color: rgba(255,255,255,.7); }
.pro__txt > p { margin-top: 28px; color: rgba(255,255,255,.76); }
.segments { margin: 36px 0 32px; border-top: 1px solid var(--line-light); }
.segments > div { padding: 18px 0 20px; border-bottom: 1px solid var(--line-light); }
.segments dt { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.segments dd { margin-top: 8px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.72); }
.segments dd b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }


/* =========================================================
   RÉALISATIONS
   ========================================================= */
.works { padding: clamp(96px, 11vw, 160px) 0 clamp(96px, 10vw, 144px); }
.works .sec-head .h2 { grid-column: 1 / 9; }
.works__intro { grid-column: 10 / -1; align-self: end; display: grid; gap: 18px; justify-items: start; }
.works__intro p { font-size: 15px; color: var(--muted); }

.pf-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); margin-bottom: clamp(40px, 4.5vw, 64px); }
.r1 { --h: clamp(240px, 38vw, 560px); }
.r2 { --h: clamp(220px, 29vw, 430px); }
.r3 { --h: clamp(220px, 33vw, 480px); }
.r4 { --h: clamp(220px, 27vw, 400px); }
.c-3 { grid-column: span 3; } .c-4 { grid-column: span 4; } .c-5 { grid-column: span 5; }
.c-6 { grid-column: span 6; } .c-8 { grid-column: span 8; }
.c-6.s-2 { grid-column: 2 / span 6; }
.pf-item { display: block; text-decoration: none; }
.pf-img { display: block; height: var(--h); overflow: hidden; background: var(--paper-2); }
.pf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.pf-cap {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  grid-template-areas: "n t k" "n s k";
  column-gap: 8px;
  padding-top: 14px;
  align-items: baseline;
}
.pf-cap b { grid-area: n; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); }
.pf-cap span:nth-of-type(1) { grid-area: t; font-size: 16px; font-weight: 600; font-variation-settings: "wdth" 104; letter-spacing: -.005em; }
.pf-cap span:nth-of-type(2) { grid-area: s; font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--muted); margin-top: 2px; }
.pf-cap i {
  grid-area: k;
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 7px;
  border: 1px solid var(--line-strong);
  align-self: start;
  transition: background-color .3s, color .3s, border-color .3s;
}
.pf-item:hover .pf-img img { transform: scale(1.045); }
.pf-item:hover .pf-cap i { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.pf-item:hover .pf-cap span:nth-of-type(1) { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.works__more { display: flex; justify-content: center; margin-top: 16px; }

/* =========================================================
   MÉTHODE
   ========================================================= */
.method { background: var(--white); padding: clamp(96px, 11vw, 160px) 0; }
.method__head { grid-column: 1 / 6; align-self: start; position: sticky; top: calc(var(--header) + 48px); }
.method__head .index { padding-top: 0; margin-bottom: 28px; }
.method__head .h2 { margin-bottom: 40px; max-width: 12ch; }
.steps {
  --p: 0;
  grid-column: 7 / -1;
  position: relative;
  padding-left: 48px;
}
.steps::before, .steps::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}
.steps::after {
  width: 3px;
  left: 3px;
  background: var(--gold);
  transform-origin: top;
  transform: scaleY(var(--p));
}
.step { position: relative; display: grid; grid-template-columns: 112px 1fr; padding: 4px 0 64px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -49px;
  top: 14px;
  width: 11px;
  height: 11px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  transition: background-color .4s, border-color .4s;
}
.step.is-on::before { background: var(--gold); border-color: var(--gold); }
.step__n {
  font-size: clamp(3rem, 1.6rem + 2.4vw, 4.6rem);
  line-height: .85;
  font-weight: 200;
  font-variation-settings: "wdth" 112;
  letter-spacing: -.04em;
  color: var(--line-strong);
  transition: color .6s var(--ease), font-weight .6s var(--ease);
}
.step.is-on .step__n { color: var(--navy); font-weight: 600; }
.step h3 { font-size: clamp(1.35rem, 1rem + .8vw, 1.75rem); line-height: 1.15; font-weight: 600; font-variation-settings: "wdth" 104; letter-spacing: -.02em; max-width: 22ch; }
.step p { margin-top: 12px; color: var(--muted); max-width: 46ch; }
.step__chips { display: flex; gap: 8px; margin-top: 18px; }
.step__chips li { padding: 6px 10px; background: var(--paper); }
.step__img { margin-top: 24px; max-width: 420px; }
.step__img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* =========================================================
   AVIS
   ========================================================= */
.reviews { background: var(--gold); padding: clamp(88px, 10vw, 136px) 0; }
.reviews__head { grid-column: 1 / 3; }
.reviews__head .index { padding-top: 6px; color: rgba(17,26,58,.7); }
.quote { grid-column: 1 / 9; min-height: 22em; display: flex; flex-direction: column; }
.quote blockquote p {
  font-size: clamp(1.35rem, 1rem + .9vw, 1.85rem);
  line-height: 1.32;
  font-weight: 450;
  font-variation-settings: "wdth" 100;
  letter-spacing: -.012em;
  text-indent: -.55em;
  text-wrap: pretty;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.quote.is-short blockquote p {
  font-size: clamp(2.2rem, 1rem + 3.4vw, 4.2rem);
  line-height: 1.04;
  font-weight: 600;
  font-variation-settings: "wdth" 106;
  letter-spacing: -.03em;
  text-indent: -.45em;
}
.quote blockquote p::before { content: "«\00a0"; }
.quote blockquote p::after { content: "\00a0»"; }
.quote.is-swapping blockquote p { opacity: 0; transform: translateY(8px); }
.quote figcaption { margin-top: auto; padding-top: 32px; color: rgba(17,26,58,.72); }
.reviews__side { grid-column: 10 / -1; display: flex; flex-direction: column; }
.reviews__count { padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.qlist li { border-bottom: 1px solid rgba(17,26,58,.22); }
.qlist button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 14px 0 14px 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(17,26,58,.72);
  cursor: pointer;
  transition: padding .35s var(--ease), color .2s;
}
.qlist button:hover { color: var(--ink); padding-left: 8px; }
.qlist button[aria-pressed="true"] { color: var(--ink); font-weight: 600; padding-left: 14px; box-shadow: inset 3px 0 0 var(--ink); }
.google { display: flex; align-items: center; gap: 14px; margin-top: 28px; text-decoration: none; font-weight: 600; font-size: 15px; }
.google img { width: 66px; height: auto; background: #fff; padding: 4px 6px; }
.google:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   CONFIANCE
   ========================================================= */
.trust { background: var(--white); padding: clamp(96px, 10vw, 144px) 0; }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.certs li { display: flex; flex-direction: column; padding: 28px 24px 30px; border-right: 1px solid var(--line); }
.certs li:first-child { padding-left: 0; }
.certs li:last-child { border-right: 0; }
.certs__logo { height: 92px; display: flex; align-items: center; margin-bottom: 24px; }
.certs__logo img { max-height: 70px; max-width: 170px; width: auto; }
.certs__logo--dark img { max-height: 40px; max-width: 200px; }
.certs .mono { color: var(--ink); font-weight: 500; }
.certs li > span:last-child { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

.partners { margin-top: clamp(80px, 9vw, 128px); align-items: center; }
.partners__title { grid-column: 1 / 4; font-size: 22px; line-height: 1.2; font-weight: 600; font-variation-settings: "wdth" 104; letter-spacing: -.015em; max-width: 13ch; }
.partners__list {
  grid-column: 4 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners__list li { height: 128px; display: flex; align-items: center; justify-content: center; padding: 20px; border-left: 1px solid var(--line); }
.partners__list img { max-height: 54px; max-width: 78%; width: auto; object-fit: contain; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--navy-deep); color: #fff; padding: clamp(88px, 10vw, 144px) 0; }
.contact__txt { grid-column: 1 / 6; }
.contact__txt .index { padding-top: 0; margin-bottom: 28px; }
.contact__title {
  font-size: clamp(2.6rem, 1rem + 4.2vw, 4.75rem);
  line-height: .98;
  font-weight: 640;
  font-variation-settings: "wdth" 106;
  letter-spacing: -.04em;
  max-width: 9ch;
}
.contact__lead { margin-top: 28px; color: rgba(255,255,255,.76); max-width: 40ch; }
.coords { margin-top: 48px; border-top: 1px solid var(--line-light); }
.coords li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.coords .mono { color: rgba(255,255,255,.55); }
.coords a { text-decoration: none; color: #fff; }
.coords a:hover { color: var(--gold); }
.coords__big { font-size: clamp(1.6rem, 1rem + 1.2vw, 2.2rem); font-weight: 600; font-variation-settings: "wdth" 108; letter-spacing: -.01em; }

.form { grid-column: 7 / -1; background: var(--paper); color: var(--ink); padding: clamp(28px, 3.4vw, 52px); display: grid; gap: 22px; align-self: start; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.form abbr { color: var(--navy); }
.form__need { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form__need legend { grid-column: 1 / -1; }
.choice { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line-strong); cursor: pointer; font-size: 14.5px; line-height: 1.3; transition: border-color .2s, box-shadow .2s; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy-deep); flex: none; }
.choice:has(input:checked) { border-color: var(--navy-deep); box-shadow: inset 0 0 0 1px var(--navy-deep); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-deep); box-shadow: 0 0 0 2px rgba(43,60,113,.25); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.form__err { grid-column: 1 / -1; color: #b3261e; font-size: 13.5px; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 6px; }
.form__demo { font-size: 13px; color: var(--muted); }
.form__msg { padding: 16px 18px; background: var(--white); border-left: 3px solid var(--gold); font-size: 15px; }
.form__msg a { font-weight: 600; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 80px 0 32px; font-size: 15px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__brand { grid-column: 1 / 3; }
.footer__brand img { width: 108px; }
.footer__addr { grid-column: 4 / 7; font-style: normal; line-height: 1.7; }
.footer__nav { grid-column: 7 / 9; }
.footer__nav li { padding: 2px 0; }
.footer__certs { grid-column: 10 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-content: start; justify-content: flex-end; }
.footer__certs img { height: 38px; width: auto; background: #fff; padding: 5px 8px; }
.footer__certs img:last-child { padding: 9px 8px; }
.footer__base { grid-column: 1 / -1; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13.5px; }
.footer__base ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__base .mono { color: rgba(255,255,255,.45); font-size: 11px; }

/* Mobile conversion bar */
.mbar { display: none; }

/* =========================================================
   MOTION
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .clip img { clip-path: inset(0 0 100% 0); transform: scale(1.08); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); }
.js .clip.in img { clip-path: inset(0 0 0 0); transform: none; }
.js .clip .cap--on { opacity: 0; transition: opacity .6s .7s; }
.js .clip.in .cap--on { opacity: 1; }
.js .pf-item:hover .clip.in img { transform: scale(1.045); transition: transform 1.1s var(--ease); }

.js .hero__title .line { opacity: 0; transform: translateY(.35em); animation: rise .9s var(--ease) forwards; }
.js .hero__title .line:nth-child(2) { animation-delay: .07s; }
.js .hero__title .line:nth-child(3) { animation-delay: .14s; }
.js .hero__title .line:nth-child(4) { animation-delay: .21s; }
.js .hero__lead, .js .hero__ctas, .js .hero__certs { opacity: 0; animation: fade 1s .35s var(--ease) forwards; }
.js .hero__photo img { animation: settle 1.8s var(--ease) both; }
.js .hero__inset { opacity: 0; animation: rise 1s .55s var(--ease) forwards; }
.js .hero__title .hl { background-size: 0 .2em; animation: underline .9s .7s var(--ease) forwards; }
@keyframes underline { to { background-size: 100% .2em; } }
@keyframes rise { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero__title .line, .js .hero__lead, .js .hero__ctas, .js .hero__certs, .js .hero__inset { opacity: 1; transform: none; }
  .js .clip img { clip-path: none; transform: none; }
  .js .clip .cap--on { opacity: 1; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {
  .header__tel { display: none; }
  .nav ul { gap: 22px; }
}

@media (max-width: 1100px) {
  :root { --m: 32px; --g: 20px; }
  .nav { display: none; }
  .burger { display: block; }
  .header__actions { margin-left: auto; }
  .header__tel { display: inline; }
  .hero__text { grid-column: 1 / 8; }
  .hero__photo { grid-column: 8 / -1; margin-left: 0; }
  .hero__inset { display: none; }
  .sec-head .index { grid-column: 1 / -1; padding: 0 0 18px; }
  .sec-head .h2, .works .sec-head .h2 { grid-column: 1 / 11; }
  .works__intro { grid-column: 1 / 9; margin-top: 28px; }
  .intro__statement { grid-column: 1 / -1; }
  .intro__side { grid-column: 5 / -1; }
  .reviews__head { grid-column: 1 / -1; margin-bottom: 28px; }
  .quote { grid-column: 1 / 9; }
  .reviews__side { grid-column: 9 / -1; }
  .partners__title { grid-column: 1 / -1; margin-bottom: 24px; max-width: none; }
  .partners__list { grid-column: 1 / -1; }
  .partners__list li:first-child { border-left: 0; }
}

@media (max-width: 960px) {
  .grid > *, .pf-row > * { grid-column: 1 / -1 !important; grid-row: auto !important; }

  .hero__grid { height: auto; max-height: none; min-height: 0; display: flex; flex-direction: column; }
  .hero__text { padding: 40px 0 0; }
  .hero__certs { order: 3; margin-top: 0; padding: 28px 0 40px; max-width: none; }
  .hero__photo { order: 2; margin: 40px calc(-1 * var(--m)) 0; aspect-ratio: 4 / 3; }
  .hero__photo .cap--on { right: auto; left: var(--m); bottom: 16px; }
  .hero__text { display: contents; }
  .hero__title { order: 0; padding-top: 40px; }
  .hero__lead { order: 0; }
  .hero__ctas { order: 1; }

  .intro__side { margin-top: 28px; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 32px; }

  .u-prod__txt { padding: 36px 0 0; }
  .u-prod__img { margin: 0 calc(-1 * var(--m)); }
  .u-pair { row-gap: var(--g); }

  .part__main { margin-top: 48px; }
  .part__main img { aspect-ratio: 4 / 3; }
  .part__second { margin: -64px 0 0 25%; width: 75%; }

  .pro__main { margin: 0 calc(-1 * var(--m)); }
  .pro__second { margin-top: var(--g); width: 70%; justify-self: end; }
  .pro__txt { margin-top: 48px; }

  .pf-row { row-gap: 40px; }
  .pf-img { height: auto; aspect-ratio: 4 / 3; }
  .r1 .c-8 .pf-img, .r3 .c-8 .pf-img { aspect-ratio: 16 / 10; }
  .r4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r4 .c-6 { grid-column: 1 / -1 !important; }
  .r4 .c-3 { grid-column: auto !important; }
  .r4 .c-3 .pf-img { aspect-ratio: 3 / 4; }

  .method__head { position: static; margin-bottom: 56px; }
  .method__head .h2 { max-width: 16ch; }

  .quote { min-height: 0; }
  .reviews__side { margin-top: 40px; }

  .certs { grid-template-columns: 1fr 1fr; }
  .certs li { padding: 24px 16px 28px; border-bottom: 1px solid var(--line); }
  .certs li:nth-child(odd) { padding-left: 0; }
  .certs li:nth-child(2n) { border-right: 0; }
  .partners__list { grid-template-columns: repeat(3, 1fr); }
  .partners__list li { border-bottom: 1px solid var(--line); }
  .partners__list li:nth-child(3n+1) { border-left: 0; }

  .contact__txt { margin-bottom: 48px; }
  .form { margin: 0 calc(-1 * var(--m)); }

  .footer__brand, .footer__addr, .footer__nav { margin-bottom: 32px; }
  .footer__certs { justify-content: flex-start; }

  .mbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    transform: translateY(110%);
    transition: transform .45s var(--ease);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--navy-deep);
  }
  .mbar.show { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; text-decoration: none; font-weight: 600; font-size: 15px; }
  .mbar__tel { background: var(--white); color: var(--ink); border-top: 1px solid var(--line); }
  .mbar__cta { background: var(--gold); color: var(--ink); }
  .footer { padding-bottom: 96px; }
}

@media (max-width: 600px) {
  :root { --m: 20px; --g: 16px; --header: 64px; }
  body { font-size: 16px; }
  .header__logo img { width: 176px; }
  .header__actions .btn, .header__tel { display: none; }
  .hero__title { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 2.75rem); padding-top: 28px; }
  .hero__title .line { display: inline; }
  .hero__title .line::after { content: " "; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero__ctas .btn { justify-content: space-between; }
  .hero__ctas .link { align-self: flex-start; }
  .hero__photo { margin-top: 32px; }
  .hero__certs ul { flex-wrap: wrap; gap: 18px 24px; }
  .hero__certs img { height: 30px; }

  .facts { grid-template-columns: 1fr; }
  .u-card { margin: 0 calc(-1 * var(--m)); }
  .points { grid-template-columns: 1fr; }


  .step { grid-template-columns: 1fr; }
  .step__n { margin-bottom: 14px; }
  .steps { padding-left: 32px; }
  .step::before { left: -33px; }

  .quote.is-short blockquote p { font-size: 2.1rem; }
  .certs li { padding: 20px 12px 24px; }
  .certs__logo { height: 72px; margin-bottom: 16px; }
  .certs__logo img { max-width: 130px; max-height: 56px; }
  .certs__logo--dark img { max-height: 28px; max-width: 140px; }
  .partners__list li { height: 96px; padding: 14px; }

  .form__need, .form__row { grid-template-columns: 1fr; }
  .r4 .c-3 .pf-cap { grid-template-columns: 28px minmax(0, 1fr); grid-template-areas: "n t" "n s"; }
  .r4 .c-3 .pf-cap i { display: none; }
  .form__foot .btn { width: 100%; justify-content: space-between; }
  .coords li { grid-template-columns: 1fr; gap: 4px; }
}
