/* ============================================================
   For Seven Invest — site vitrine
   Blanc, gris clair et bleu nuit, une seule couleur d'action.
   Grandes photographies, une seule famille de caracteres.
   ============================================================ */

:root {
  --night: #0d1720;
  --night-2: #17232e;
  --ink: #101418;
  --text: #39414a;
  --muted: #5f6872;
  --line: #e0ddd7;
  --line-dark: #2a3743;
  --on-dark: #b9c2cb;
  --bg: #ffffff;
  --bg-alt: #f2f1ee;
  --brand: #cf4512;
  --brand-dark: #ad380c;

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 84px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  scrollbar-color: #9aa3ac var(--bg-alt);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  caret-color: var(--brand);
}

::selection { background: var(--brand); color: #fff; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }

.sprite { display: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.skip:focus { left: 8px; }

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

/* --- Boutons et liens --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  font: 600 15px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-ghost[href^="tel"]:hover svg { transform: none; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--brand);
  padding-bottom: 4px;
}
.link svg { width: 18px; height: 18px; color: var(--brand); transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* --- En-tete --- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: background-color .3s, border-color .3s, color .3s;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { width: 40px; height: 40px; flex: none; color: var(--brand); }
.brand-name {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
}
.menu a {
  position: relative;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.menu a:not(.menu-tel)::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.menu a:not(.menu-tel):hover::after { transform: scaleX(1); }
.menu-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 30px;
  border-left: 1px solid var(--line);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.menu-tel svg { width: 18px; height: 18px; color: var(--brand); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  content: "";
  transition: transform .25s;
}
.menu-bars::before { transform: translateY(-6px); }
.menu-bars::after { transform: translateY(4.5px); }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(0) rotate(45deg); background: var(--ink); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-1.5px) rotate(-45deg); background: var(--ink); }

/* En-tete transparent au-dessus de la photo, tant qu'on n'a pas defile */
.js .header {
  position: fixed;
  left: 0;
  right: 0;
}
.js .header.is-top {
  background: transparent;
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
.js .header.is-top .brand { color: #fff; }
.js .header.is-top .menu-tel { border-color: rgba(255, 255, 255, .25); }
.js .header.is-top .menu-tel svg { color: #fff; }
.js .header.is-top .menu-toggle { border-color: rgba(255, 255, 255, .35); }

/* --- Accroche --- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 64px);
  background: var(--night);
  color: #fff;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}
.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 23, 32, .55) 0%, rgba(13, 23, 32, 0) 22%),
    linear-gradient(0deg, rgba(13, 23, 32, .92) 0%, rgba(13, 23, 32, .55) 45%, rgba(13, 23, 32, .1) 75%);
  content: "";
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(48px, 7vh, 88px);
}
.hero h1 {
  max-width: 13em;
  color: #fff;
  font-size: clamp(42px, 6.4vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}
.hero h1 .line { display: block; }
.hero-sub {
  max-width: 34em;
  margin-top: 28px;
  color: #dfe5ea;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero-foot {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero-trades {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.hero-trades li + li { border-left: 1px solid rgba(255, 255, 255, .2); }
.hero-trades a {
  display: block;
  padding: 22px 0 24px 20px;
  color: #dfe5ea;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.hero-trades li:first-child a { padding-left: 0; }
.hero-trades a:hover { color: #fff; }

/* Entree de l'accroche : un seul moment, le titre monte ligne par ligne */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
  .js .hero h1 .line > span {
    display: inline-block;
    animation: monte 1.1s var(--ease) both;
  }
  .js .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
  .js .hero-sub,
  .js .hero-actions { animation: apparait 1s var(--ease) .35s both; }
  .js .hero-img { animation: recule 2.4s var(--ease) both; }
}
@keyframes monte { from { transform: translateY(105%); } }
@keyframes apparait { from { opacity: 0; transform: translateY(16px); } }
@keyframes recule { from { transform: scale(1.06); } }

/* --- Sections --- */
.section { padding: clamp(80px, 10vw, 144px) 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(32px, 3.8vw, 54px); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.section-head p { max-width: 30em; color: var(--muted); font-size: 18px; }

/* L'entreprise */
.statement {
  max-width: 24em;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 42px) !important;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.statement em { font-style: normal; color: var(--brand); }

.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--ink);
}
.path {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 18px;
  padding: 36px clamp(24px, 4vw, 64px) 8px 0;
}
.path + .path {
  padding-left: clamp(24px, 4vw, 64px);
  border-left: 1px solid var(--line);
}
.path h3 { font-size: 26px; }
.path p { max-width: 34em; color: var(--muted); }
.path .link { margin-top: 8px; }

/* Metiers : liste a gauche, grande photo a droite */
.trades {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.trades-media {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  order: 2;
  aspect-ratio: 4 / 5;
  background: var(--night);
  overflow: hidden;
}
.trades-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .8s var(--ease);
}
.trades-media img.is-on { z-index: 1; clip-path: inset(0 0 0 0); }
.trades-media img.was-on { clip-path: inset(0 0 0 0); transition: none; }

.trade-list { border-top: 1px solid var(--ink); }
.trade { border-bottom: 1px solid #cfcac2; }
.trade h3 { font-size: inherit; }
.trade button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}
.trade button svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--brand);
  transition: transform .4s var(--ease);
}
.trade button:hover { color: var(--brand); }
.trade.is-open button svg { transform: rotate(45deg); }

.trade-panel {
  display: grid;
  grid-template-rows: 1fr;
  padding: 0 64px 30px 0;
}
.trade-inner { display: grid; gap: 18px; min-height: 0; overflow: hidden; }
.trade-panel p { max-width: 32em; color: var(--text); font-size: 18px; }
.trade-photo { display: none; }

.js .trade-panel {
  grid-template-rows: 0fr;
  padding-bottom: 0;
  visibility: hidden;
  transition: grid-template-rows .5s var(--ease), padding-bottom .5s var(--ease), visibility 0s .5s;
}
.js .trade.is-open .trade-panel {
  grid-template-rows: 1fr;
  padding-bottom: 30px;
  visibility: visible;
  transition-delay: 0s;
}

/* Qualifications */
.section-dark {
  background: var(--night);
  color: var(--on-dark);
}
.section-dark h2,
.section-dark h3 { color: #fff; }
.quals-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.quals-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.quals-intro h2 { margin-bottom: 28px; }
.quals-note {
  margin-top: 28px !important;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.quals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  border-top: 1px solid #fff;
}
.quals li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-dark);
  color: #eef1f4;
  font-size: 16px;
  line-height: 1.4;
}
.quals li::before {
  flex: none;
  width: 8px;
  height: 8px;
  background: #ff7a45;
  content: "";
  transform: translateY(-2px);
}

/* Methode */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 clamp(20px, 3vw, 48px);
  counter-reset: none;
}
.steps li {
  position: relative;
  padding-top: 64px;
}
.steps li::before {
  position: absolute;
  top: 21px;
  left: 0;
  right: calc(-1 * clamp(20px, 3vw, 48px));
  height: 1.5px;
  background: var(--line);
  content: "";
}
.steps li:last-child::before { right: 0; }
.step-n {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.steps li:last-child .step-n { background: var(--brand); }
.steps h3 { margin-bottom: 12px; font-size: 22px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Engagements : photo pleine hauteur et liste */
.commit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-alt);
}
.commit-media { margin: 0; min-height: 520px; }
.commit-media img { width: 100%; height: 100%; object-fit: cover; }
.commit-body {
  padding: clamp(64px, 8vw, 128px) var(--gutter) clamp(64px, 8vw, 128px) clamp(40px, 6vw, 104px);
  max-width: calc(var(--wrap) / 2 + 40px);
}
.commit-body h2 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 44px; }
.commitments > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px 24px;
  padding: 22px 0;
  border-top: 1px solid #cfcac2;
}
.commitments > div:last-child { border-bottom: 1px solid #cfcac2; }
.commitments dt { color: var(--ink); font-size: 19px; font-weight: 700; }
.commitments dd { color: var(--text); font-size: 16px; }

/* Bandeau */
.banner {
  position: relative;
  overflow: hidden;
  background: var(--night);
}
.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 23, 32, .82) 0%, rgba(13, 23, 32, .62) 50%, rgba(13, 23, 32, .42) 100%);
  content: "";
}
.banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  padding-top: clamp(88px, 11vw, 160px);
  padding-bottom: clamp(72px, 8vw, 112px);
}
.banner h2 {
  max-width: 13em;
  color: #fff;
  font-size: clamp(32px, 4.2vw, 60px);
  letter-spacing: -0.03em;
}
.banner-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.banner-actions .btn-ghost { font-variant-numeric: tabular-nums; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.contact-intro h2 { margin-bottom: 22px; }
.contact-intro > p { color: var(--muted); font-size: 18px; }
.coords {
  margin-top: 44px;
  border-top: 1px solid var(--ink);
}
.coords > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.coords dt { color: var(--muted); font-size: 15px; }
.coords dd { color: var(--ink); font-weight: 500; }
.coords a { text-decoration: none; }
.coords a:hover { color: var(--brand); text-decoration: underline; }

.form {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 52px);
  background: var(--bg-alt);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field { display: grid; gap: 8px; }
.field span { color: var(--ink); font-size: 14px; font-weight: 600; }
.field i { color: var(--brand); font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #c6c0b7;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: 16px/1.4 var(--font);
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none;
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23101418' stroke-width='1.75'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #6b747d; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #8d959d; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}
.form-foot p { color: var(--muted); font-size: 14px; }

/* --- Pied de page --- */
.footer {
  background: var(--night);
  color: var(--on-dark);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 56px;
}
.brand-light { color: #fff; }
.footer-brand p { max-width: 24em; margin-top: 20px; }
.footer h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.footer li + li { margin-top: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line-dark);
  font-size: 13.5px;
}

/* --- Pages simples (merci, 404) --- */
.simple-page .header { position: static; }
.simple {
  display: grid;
  justify-items: start;
  gap: 22px;
  min-height: calc(100vh - 160px);
  align-content: center;
  padding-top: 88px;
  padding-bottom: 88px;
}
.simple h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.03em; }
.simple p { color: var(--muted); font-size: 18px; }

/* --- Responsive --- */
@media (max-width: 1180px) {
  .menu { gap: 22px; }
  .menu-tel { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps li:nth-child(2)::before { right: 0; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(13, 23, 32, .35);
    color: var(--ink);
  }
  .menu.open { display: flex; }
  .menu a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .menu a:not(.menu-tel)::after { display: none; }
  .menu .menu-tel { display: flex; padding-left: 0; border-left: 0; border-bottom: 0; margin-top: 8px; }
  .menu .menu-tel svg { color: var(--brand) !important; }
  .js .header.is-top:has(.menu.open) { background: #fff; color: var(--ink); }
  .js .header.is-top:has(.menu.open) .brand { color: var(--ink); }

  .section-head { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .path { padding-right: 0; }
  .path + .path { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 28px; }

  .trades { grid-template-columns: 1fr; }
  .trades-media { display: none; }
  .trade-photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
  .trade-panel { padding-right: 0; }

  .quals-layout,
  .contact { grid-template-columns: 1fr; }
  .quals-intro { position: static; }

  .commit { grid-template-columns: 1fr; }
  .commit-media { min-height: 0; aspect-ratio: 16 / 10; }
  .commit-body { padding-left: var(--gutter); max-width: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero::after { background: linear-gradient(0deg, rgba(13, 23, 32, .94) 0%, rgba(13, 23, 32, .72) 55%, rgba(13, 23, 32, .4) 100%); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trades { grid-template-columns: 1fr 1fr; }
  .hero-trades li,
  .hero-trades li + li { border-left: 0; }
  .hero-trades li:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .2); }
  .hero-trades li:nth-child(n+3) a { border-top: 1px solid rgba(255, 255, 255, .2); }
  .hero-trades li:last-child { grid-column: 1 / -1; border-left: 0; }
  .hero-trades li:last-child a { padding-left: 0; }
  .hero-trades a,
  .hero-trades li:first-child a,
  .hero-trades li:nth-child(4) a { padding: 14px 0 15px; font-size: 14px; }
  .hero-trades li:nth-child(even) a { padding-left: 16px; }
  .trade button { padding: 22px 0; }
  .quals { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::before,
  .steps li:nth-child(2)::before { display: none; }
  .commitments > div { grid-template-columns: 1fr; }
  .banner-actions { width: 100%; }
  .banner-actions .btn { flex: 1 1 100%; }
  .row { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .coords > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
}

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

/* Pages simples : actions et coordonnees */
.simple-tel { padding-left: 0; border-left: 0; text-decoration: none; color: var(--ink); }
.simple-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 10px; }
.simple-coords { width: min(100%, 520px); margin-top: 40px; }

.field-error { color: #b3261e; font-size: 14px; font-weight: 500; }
.form-alert { margin: 0 0 4px; padding: 12px 14px; border-left: 3px solid #b3261e; background: #fbeceb; color: #7a1a14; font-size: 15px; font-weight: 500; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.simple-page .footer-legal { align-items: baseline; padding-top: 28px; border-top: 0; }

/* Zones de toucher confortables sur mobile */
@media (max-width: 640px) {
  .footer li + li { margin-top: 0; }
  .footer li a,
  .coords dd a { display: inline-block; padding: 12px 0; margin: -6px 0; }
  .footer li a { margin: 0; }
}
